From e0680b7ee67e41d97036b4c47f30b558b595ede3 Mon Sep 17 00:00:00 2001 From: Tanjim Hasan <34968601+tanjimhasan@users.noreply.github.com> Date: Mon, 1 Dec 2025 17:06:41 +0600 Subject: [PATCH 1/2] formgent integration code update --- assets/css/admin-main.css | 25037 ++++++++++++- assets/css/admin-main.rtl.css | 25037 ++++++++++++- assets/css/all-listings.css | 4759 +-- assets/css/all-listings.rtl.css | 4756 +-- assets/css/formgent-integration.css | 667 +- assets/css/formgent-integration.rtl.css | 665 +- assets/css/public-main.css | 4759 +-- assets/css/public-main.rtl.css | 4756 +-- assets/js/formgent-integration.js | 30578 ++++++++-------- .../components/EnquiriesComponent.js | 14 +- .../components/EnquiryDetailsModal.js | 82 +- .../formgent-integration/components/style.js | 129 +- .../utils/renderAnswerValue.js | 176 - .../listing-details/_details-content.scss | 14 + package.json | 1 + 15 files changed, 73079 insertions(+), 28351 deletions(-) delete mode 100644 assets/src/js/formgent-integration/utils/renderAnswerValue.js diff --git a/assets/css/admin-main.css b/assets/css/admin-main.css index 17c4511c0e..46ec4744dd 100644 --- a/assets/css/admin-main.css +++ b/assets/css/admin-main.css @@ -1,12 +1,15 @@ /*!******************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-4.use[1]!./node_modules/resolve-url-loader/index.js!./node_modules/postcss-loader/src/index.js??clonedRuleSet-4.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-4.use[4]!./assets/src/scss/layout/admin/admin-style.scss ***! \******************************************************************************************************************************************************************************************************************************************************************************************************/ +@import url(https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap); /*!**********************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-4.use[1]!./node_modules/resolve-url-loader/index.js!./node_modules/postcss-loader/src/index.js??clonedRuleSet-4.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-4.use[4]!./assets/src/scss/layout/admin/admin-style.scss (1) ***! \**********************************************************************************************************************************************************************************************************************************************************************************************************/ +@import url(https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap); /*!**********************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-4.use[1]!./node_modules/resolve-url-loader/index.js!./node_modules/postcss-loader/src/index.js??clonedRuleSet-4.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-4.use[4]!./assets/src/scss/layout/admin/admin-style.scss (2) ***! \**********************************************************************************************************************************************************************************************************************************************************************************************************/ +@import url(https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap); /*!**********************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-4.use[1]!./node_modules/resolve-url-loader/index.js!./node_modules/postcss-loader/src/index.js??clonedRuleSet-4.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-4.use[4]!./assets/src/scss/layout/admin/admin-style.scss (3) ***! \**********************************************************************************************************************************************************************************************************************************************************************************************************/ @@ -14,6 +17,7 @@ /*!**********************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-4.use[1]!./node_modules/resolve-url-loader/index.js!./node_modules/postcss-loader/src/index.js??clonedRuleSet-4.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-4.use[4]!./assets/src/scss/layout/admin/admin-style.scss (4) ***! \**********************************************************************************************************************************************************************************************************************************************************************************************************/ +/* typography */ #directiost-listing-fields_wrapper .directorist-show { display: block !important; } @@ -23,8 +27,8 @@ #directiost-listing-fields_wrapper { padding: 18px 20px; } -#directiost-listing-fields_wrapper a:active, -#directiost-listing-fields_wrapper a:focus { +#directiost-listing-fields_wrapper a:focus, +#directiost-listing-fields_wrapper a:active { -webkit-box-shadow: unset; box-shadow: unset; outline: none; @@ -88,7 +92,7 @@ -webkit-transition: 0.2s; transition: 0.2s; cursor: pointer; - color: #fff; + color: #ffffff; padding: 0; } #directiost-listing-fields_wrapper @@ -228,8 +232,8 @@ margin-top: auto; } #directiost-listing-fields_wrapper .extension_detail.ext_d > a, -#directiost-listing-fields_wrapper .extension_detail.ext_d div, -#directiost-listing-fields_wrapper .extension_detail.ext_d p { +#directiost-listing-fields_wrapper .extension_detail.ext_d p, +#directiost-listing-fields_wrapper .extension_detail.ext_d div { display: block; } #directiost-listing-fields_wrapper .extension_detail.ext_d > p { @@ -264,9 +268,9 @@ } #directiost-listing-fields_wrapper .attc_extension_wrapper .single_extension { margin-bottom: 30px; - background-color: #fff; - -webkit-box-shadow: 0 5px 10px #e1e7f7; - box-shadow: 0 5px 10px #e1e7f7; + background-color: #ffffff; + -webkit-box-shadow: 0px 5px 10px #e1e7f7; + box-shadow: 0px 5px 10px #e1e7f7; padding: 25px; } #directiost-listing-fields_wrapper @@ -293,7 +297,7 @@ .ext_title a:after { content: "(Coming Soon)"; - color: red; + color: #ff0000; font-size: 14px; } #directiost-listing-fields_wrapper @@ -343,8 +347,8 @@ #directiost-listing-fields_wrapper.atbd_help_support .wrap_right .postbox { background-color: #0073aa; border-radius: 3px; - -webkit-box-shadow: 0 10px 20px hsla(0, 0%, 40.4%, 0.27); - box-shadow: 0 10px 20px hsla(0, 0%, 40.4%, 0.27); + -webkit-box-shadow: 0 10px 20px rgba(103, 103, 103, 0.27); + box-shadow: 0 10px 20px rgba(103, 103, 103, 0.27); } #directiost-listing-fields_wrapper.atbd_help_support .wrap_right .postbox h3 { color: #fff; @@ -364,25 +368,38 @@ #directiost-listing-fields_wrapper ul.atbdp_pro_features li a:hover { color: #fff; } -#directiost-listing-fields_wrapper .atbdp-checkbox-list li label, -#directiost-listing-fields_wrapper .atbdp-radio-list li label { +#directiost-listing-fields_wrapper .atbdp-radio-list li label, +#directiost-listing-fields_wrapper .atbdp-checkbox-list li label { text-transform: capitalize; font-size: 13px; } -#directiost-listing-fields_wrapper .atbdp-checkbox-list li label input, -#directiost-listing-fields_wrapper .atbdp-radio-list li label input { +#directiost-listing-fields_wrapper .atbdp-radio-list li label input, +#directiost-listing-fields_wrapper .atbdp-checkbox-list li label input { margin-right: 7px; } -#directiost-listing-fields_wrapper .single_thm .btn_wrapper, #directiost-listing-fields_wrapper .single_thm .ext_title h4 { text-align: center; } +#directiost-listing-fields_wrapper .single_thm .btn_wrapper { + text-align: center; +} +#directiost-listing-fields_wrapper { + /*********************************************************** + ************************************************************ + css for Custom Field + ************************************************************* + **************************************************************/ +} #directiost-listing-fields_wrapper .postbox table.widefat { -webkit-box-shadow: none; box-shadow: none; background-color: #eff2f5; } -#directiost-listing-fields_wrapper #atbdp-field-details td, +#directiost-listing-fields_wrapper #atbdp-field-details td { + color: #555; + font-size: 17px; + width: 8%; +} #directiost-listing-fields_wrapper #atbdp-field-options td { color: #555; font-size: 17px; @@ -394,6 +411,10 @@ #directiost-listing-fields_wrapper .atbdp-tick-cross2 { margin-left: 25px; } +#directiost-listing-fields_wrapper { + /* + for shortable field*/ +} #directiost-listing-fields_wrapper .ui-sortable tr:hover { cursor: move; } @@ -407,6 +428,7 @@ #directiost-listing-fields_wrapper .business-hour label { margin-bottom: 0; } + #directorist.atbd_wrapper .form-group { margin-bottom: 30px; } @@ -439,13 +461,17 @@ position: relative; top: -2px; } + #directorist.atbd_wrapper #category_container .form-group { margin-bottom: 0; } -#directorist.atbd_wrapper .atbd_map_title, + #directorist.atbd_wrapper .g_address_wrap { margin-bottom: 15px; } +#directorist.atbd_wrapper .atbd_map_title { + margin-bottom: 15px; +} #directorist.atbd_wrapper .map_wrapper .map_drag_info { display: block; font-size: 12px; @@ -461,23 +487,28 @@ #directorist.atbd_wrapper #hide_if_no_manual_cor .form-group .form-group { margin-bottom: 20px; } -#directorist.atbd_wrapper .atbd_map_hide, +#directorist.atbd_wrapper .atbd_map_hide { + margin-bottom: 0; +} #directorist.atbd_wrapper .atbd_map_hide label { margin-bottom: 0; } #directorist.atbd_wrapper #atbdp-custom-fields-list { - margin: 13px 0 0; + margin: 13px 0 0 0; } + #_listing_video_gallery #directorist.atbd_wrapper .form-group { margin-bottom: 0; } + a { text-decoration: none; } -@media (min-width: 320px) and (max-width: 373px), - (min-width: 576px) and (max-width: 694px), + +@media (min-width: 1199px) and (max-width: 1510px), (min-width: 768px) and (max-width: 1187px), - (min-width: 1199px) and (max-width: 1510px) { + (min-width: 576px) and (max-width: 694px), + (min-width: 320px) and (max-width: 373px) { #directorist.atbd_wrapper .btn.demo, #directorist.atbd_wrapper .btn.get { display: block; @@ -487,20 +518,27 @@ a { margin-top: 10px; } } -#directorist.atbd_wrapper #addNewSocial, +#directorist.atbd_wrapper #addNewSocial { + margin-bottom: 15px; +} + #directorist.atbd_wrapper .atbdp_social_field_wrapper .form-group { margin-bottom: 15px; } + .atbdp_social_field_wrapper select.form-control { height: 35px !important; } + #atbdp-categories-image-wrapper img { width: 150px; } + .vp-wrap .vp-checkbox .field label { display: block; margin-right: 0; } + .vp-wrap .vp-section > h3 { color: #01b0ff; font-size: 15px; @@ -512,6 +550,7 @@ a { background-color: #f2f4f7; z-index: 1; } + #shortcode-updated .input label span { background-color: #008ec2; width: 160px; @@ -529,14 +568,17 @@ a { transform: translate(-50%, -50%); border-radius: 3px; } + #shortcode-updated + #success_msg { color: #4caf50; padding-left: 15px; } + .olControlAttribution { right: 10px !important; bottom: 10px !important; } + .g_address_wrap ul { margin-top: 15px !important; } @@ -548,6 +590,7 @@ a { .g_address_wrap ul li:last-child { margin-bottom: 0; } + .plupload-thumbs .thumb { float: none !important; max-width: 200px; @@ -556,6 +599,7 @@ a { display: -ms-flexbox; display: flex; } + #atbdp-categories-image-wrapper { position: relative; display: inline-block; @@ -585,9 +629,13 @@ a { transition: 0.2s ease; } #atbdp-categories-image-wrapper .remove_cat_img:hover { - background-color: red; + background-color: #ff0000; color: #fff; } + +.plupload-thumbs .thumb { + position: relative; +} .plupload-thumbs .thumb:hover .atbdp-thumb-actions { display: -webkit-box !important; display: -webkit-flex !important; @@ -604,9 +652,6 @@ a { left: 0; top: 0; margin-top: 0; -} -.plupload-thumbs .thumb .atbdp-thumb-actions, -.plupload-thumbs .thumb .atbdp-thumb-actions .thumbremovelink { -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; @@ -624,6 +669,14 @@ a { display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; border-radius: 50%; -webkit-transition: 0.3s ease; transition: 0.3s ease; @@ -635,13 +688,41 @@ a { .plupload-thumbs .thumb .atbdp-thumb-actions:before { border-radius: 5px; } + +.plupload-upload-uic { + width: 420px; + margin: 0 auto !important; + border: 1px dashed #dbdee9; + padding: 30px; + text-align: center; +} +.plupload-upload-uic .atbdp-dropbox-title { + font-weight: 500; + margin-bottom: 15px; + font-size: 15px; +} .plupload-upload-uic .atbdp_button { border: 1px solid #eff1f6; background-color: #f8f9fb; + font-size: 14px; + -webkit-box-shadow: none; + box-shadow: none; + line-height: 40px !important; + padding: 0 30px !important; + height: auto !important; + -webkit-transition: 0.3s ease; + transition: 0.3s ease; } .plupload-upload-uic .atbdp-dropbox-file-types { + margin-top: 10px; color: #9299b8; } + +@media (max-width: 575px) { + .plupload-upload-uic { + width: 100%; + } +} @media (max-width: 400px) { #_listing_contact_info #directorist.atbd_wrapper .form-check { padding-left: 40px; @@ -669,8 +750,12 @@ a { display: inline !important; } } -.atbd_tooltip[aria-label]:after, -.atbd_tooltip[aria-label]:before { +/* ATBD Tooltip */ +.atbd_tooltip { + position: relative; +} +.atbd_tooltip[aria-label]:before, +.atbd_tooltip[aria-label]:after { position: absolute !important; bottom: 100%; display: none; @@ -697,17 +782,19 @@ a { border-radius: 3px; color: #fff; } -.atbd_tooltip[aria-label]:hover:after, -.atbd_tooltip[aria-label]:hover:before { +.atbd_tooltip[aria-label]:hover:before, +.atbd_tooltip[aria-label]:hover:after { display: block; } + @-webkit-keyframes showTooltip { - 0% { + from { opacity: 0; } } + @keyframes showTooltip { - 0% { + from { opacity: 0; } } @@ -716,24 +803,27 @@ a { } .atbdp_shortcodes:after { content: "\f0c5"; - font-family: Font Awesome\5 Free; + font-family: "Font Awesome 5 Free"; color: #000; - font-weight: 400; - line-height: normal; + font-weight: normal; + line-height: initial; cursor: pointer; position: absolute; right: -20px; bottom: 0; z-index: 999; } + .directorist-find-latlan { display: inline-block; color: red; } + .business_time.column-business_time .atbdp-tick-cross2, .web-link.column-web-link .atbdp-tick-cross2 { padding-left: 25px; } + #atbdp-field-details .recurring_time_period { display: -webkit-box; display: -webkit-flex; @@ -750,8 +840,9 @@ a { #atbdp-field-details .recurring_time_period #recurring_period { margin-right: 8px; } + div#need_post_area { - padding: 10px 0 15px; + padding: 10px 0 15px 0; } div#need_post_area .atbd_listing_type_list { margin: 0 -7px; @@ -763,6 +854,7 @@ div#need_post_area label { div#need_post_area label input:checked + span { font-weight: 600; } + #pyn_service_budget label { display: -webkit-box !important; display: -webkit-flex !important; @@ -776,23 +868,27 @@ div#need_post_area label input:checked + span { #pyn_service_budget label #is_hourly { margin-right: 5px; } + #titlediv #title { padding: 3px 8px 7px; font-size: 26px; height: 40px; } -.password_notice, -.req_password_notice { + +.req_password_notice, +.password_notice { padding-left: 20px; padding-right: 20px; } -#danger_example, -#danout_example, + +/* hide button example image top upload fields */ #primary_example, +#secondary_example, +#success_example, +#danger_example, #priout_example, #prioutlight_example, -#secondary_example, -#success_example { +#danout_example { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -802,22 +898,23 @@ div#need_post_area label input:checked + span { -ms-flex-align: center; align-items: center; } -#danger_example .button, -#danger_example input[type="text"], -#danout_example .button, -#danout_example input[type="text"], -#primary_example .button, #primary_example input[type="text"], -#priout_example .button, -#priout_example input[type="text"], -#prioutlight_example .button, -#prioutlight_example input[type="text"], -#secondary_example .button, +#primary_example .button, #secondary_example input[type="text"], +#secondary_example .button, +#success_example input[type="text"], #success_example .button, -#success_example input[type="text"] { +#danger_example input[type="text"], +#danger_example .button, +#priout_example input[type="text"], +#priout_example .button, +#prioutlight_example input[type="text"], +#prioutlight_example .button, +#danout_example input[type="text"], +#danout_example .button { display: none !important; } + #directorist.atbd_wrapper .dbh-wrapper label { margin-bottom: 0 !important; } @@ -833,13 +930,17 @@ div#need_post_area label input:checked + span { padding-left: 15px; border-color: #ddd; } + span.atbdp-tick-cross { padding-left: 20px; } -.atbdp-timestamp-wrap input, -.atbdp-timestamp-wrap select { + +.atbdp-timestamp-wrap select, +.atbdp-timestamp-wrap input { margin-bottom: 5px !important; } + +/* csv styles */ .csv-action-btns { margin-top: 30px; } @@ -878,8 +979,9 @@ span.atbdp-tick-cross { border-color: #2c99ff; } .csv-action-btns a.btn-active span { - color: hsla(0, 0%, 100%, 0.8); + color: rgba(255, 255, 255, 0.8); } + .csv-action-steps ul { width: 700px; margin: 80px auto 0; @@ -896,13 +998,14 @@ span.atbdp-tick-cross { align-items: center; } .csv-action-steps ul li { + text-align: center; position: relative; text-align: center; width: 25%; } .csv-action-steps ul li:before { position: absolute; - content: url(../images/2043b2e371261d67d5b984bbeba0d4ff.png); + content: url(../js/../images/2043b2e371261d67d5b984bbeba0d4ff.png); left: 112px; top: 8px; width: 125px; @@ -946,7 +1049,7 @@ span.atbdp-tick-cross { color: #272b41; } .csv-action-steps ul li.done:before { - content: url(../images/8421bda85ddefddf637d87f7ff6a8337.png); + content: url(../js/../images/8421bda85ddefddf637d87f7ff6a8337.png); } .csv-action-steps ul li.done .step { background-color: #0fb73b; @@ -961,10 +1064,11 @@ span.atbdp-tick-cross { .csv-action-steps ul li.done .step-text { color: #272b41; } -.csv-action-steps ul li:last-child.done:before, -.csv-action-steps ul li:last-child:before { +.csv-action-steps ul li:last-child:before, +.csv-action-steps ul li:last-child.done:before { content: none; } + .csv-wrapper { margin-top: 20px; } @@ -981,7 +1085,7 @@ span.atbdp-tick-cross { border-bottom: 1px solid #f1f2f6; } .csv-wrapper form header h2 { - margin: 0 0 15px; + margin: 0 0 15px 0; font-size: 22px; font-weight: 500; } @@ -996,7 +1100,7 @@ span.atbdp-tick-cross { margin: 0; } .csv-wrapper form .form-content .directorist-importer-options h4 { - margin: 0 0 15px; + margin: 0 0 15px 0; font-size: 15px; } .csv-wrapper form .form-content .directorist-importer-options .csv-upload { @@ -1022,23 +1126,6 @@ span.atbdp-tick-cross { .csv-upload #upload + label { - cursor: pointer; -} -.csv-wrapper - form - .form-content - .directorist-importer-options - .csv-upload - #upload - + label, -.csv-wrapper - form - .form-content - .directorist-importer-options - .csv-upload - #upload - + label - .upload-btn { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -1047,6 +1134,7 @@ span.atbdp-tick-cross { -webkit-align-items: center; -ms-flex-align: center; align-items: center; + cursor: pointer; } .csv-wrapper form @@ -1057,6 +1145,14 @@ span.atbdp-tick-cross { + label .upload-btn { line-height: 40px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; @@ -1162,7 +1258,7 @@ span.atbdp-tick-cross { .form-content .atbdp-importer-mapping-table-wrapper .atbdp-importer-mapping-table { - border: 0; + border: 0 none; -webkit-box-shadow: none; box-shadow: none; margin-top: 25px; @@ -1173,14 +1269,14 @@ span.atbdp-tick-cross { .atbdp-importer-mapping-table-wrapper .atbdp-importer-mapping-table tr - td, + th, .csv-wrapper form .form-content .atbdp-importer-mapping-table-wrapper .atbdp-importer-mapping-table tr - th { + td { width: 50%; } .csv-wrapper @@ -1198,7 +1294,7 @@ span.atbdp-tick-cross { .atbdp-importer-mapping-table thead th { - border: 0; + border: 0 none; font-weight: 500; color: #272b41; } @@ -1283,14 +1379,14 @@ span.atbdp-tick-cross { .csv-wrapper form .atbdp-actions .button { background-color: #3e62f5; color: #fff; - border: 0; + border: 0 none; line-height: 44px; padding: 0 20px; border-radius: 5px; font-size: 15px; } -.csv-wrapper form .atbdp-actions .button:focus, -.csv-wrapper form .atbdp-actions .button:hover { +.csv-wrapper form .atbdp-actions .button:hover, +.csv-wrapper form .atbdp-actions .button:focus { opacity: 0.9; } .csv-wrapper .directorist-importer__importing header { @@ -1298,7 +1394,7 @@ span.atbdp-tick-cross { border-bottom: 1px solid #f1f2f6; } .csv-wrapper .directorist-importer__importing header h2 { - margin: 0 0 15px; + margin: 0 0 15px 0; font-size: 22px; font-weight: 500; } @@ -1419,7 +1515,7 @@ span.atbdp-tick-cross { .csv-wrapper .csv-import-done .atbdp-actions .button { background-color: #2c99ff; color: #fff; - border: 0; + border: 0 none; line-height: 44px; padding: 0 20px; border-radius: 5px; @@ -1444,16 +1540,18 @@ span.atbdp-tick-cross { .csv-wrapper .csv-center.csv-export .button-secondary { background-color: #2c99ff; color: #fff; - border: 0; + border: 0 none; line-height: 44px; padding: 0 20px; border-radius: 5px; font-weight: 500; font-size: 15px; } + .iris-border .iris-palette-container .iris-palette { padding: 0 !important; } + #csv_import .vp-input + span { background-color: #007cba; display: -webkit-box; @@ -1478,6 +1576,7 @@ span.atbdp-tick-cross { #csv_import .vp-input + span:after { content: "Run Importer"; } + .vp-wrap { display: -webkit-box; display: -webkit-flex; @@ -1491,18 +1590,23 @@ span.atbdp-tick-cross { -ms-flex-wrap: wrap; flex-wrap: wrap; } + .vp-documentation-panel #directorist.atbd_wrapper { padding: 4px 0; } + .wp-picker-container .wp-picker-input-wrap label { margin: 0 15px 10px; } + .wp-picker-holder .iris-picker-inner .iris-square { margin-right: 5%; } .wp-picker-holder .iris-picker-inner .iris-square .iris-strip { height: 180px !important; } + +/* form builder add listing form */ .postbox-container .postbox select[name="directory_type"] + .form-group { margin-top: 15px; } @@ -1519,13 +1623,13 @@ span.atbdp-tick-cross { .postbox-container .postbox .form-group #privacy_policy + label { margin-bottom: 0; } -.postbox-container .postbox .form-group input[type="date"], -.postbox-container .postbox .form-group input[type="email"], -.postbox-container .postbox .form-group input[type="number"], -.postbox-container .postbox .form-group input[type="tel"], .postbox-container .postbox .form-group input[type="text"], -.postbox-container .postbox .form-group input[type="time"], +.postbox-container .postbox .form-group input[type="tel"], .postbox-container .postbox .form-group input[type="url"], +.postbox-container .postbox .form-group input[type="number"], +.postbox-container .postbox .form-group input[type="date"], +.postbox-container .postbox .form-group input[type="time"], +.postbox-container .postbox .form-group input[type="email"], .postbox-container .postbox .form-group select.form-control { display: block; width: 100%; @@ -1536,23 +1640,23 @@ span.atbdp-tick-cross { .postbox-container .postbox .form-group - input[type="date"]::-webkit-input-placeholder, + input[type="text"]::-webkit-input-placeholder, .postbox-container .postbox .form-group - input[type="email"]::-webkit-input-placeholder, + input[type="tel"]::-webkit-input-placeholder, .postbox-container .postbox .form-group - input[type="number"]::-webkit-input-placeholder, + input[type="url"]::-webkit-input-placeholder, .postbox-container .postbox .form-group - input[type="tel"]::-webkit-input-placeholder, + input[type="number"]::-webkit-input-placeholder, .postbox-container .postbox .form-group - input[type="text"]::-webkit-input-placeholder, + input[type="date"]::-webkit-input-placeholder, .postbox-container .postbox .form-group @@ -1560,45 +1664,45 @@ span.atbdp-tick-cross { .postbox-container .postbox .form-group - input[type="url"]::-webkit-input-placeholder, + input[type="email"]::-webkit-input-placeholder, .postbox-container .postbox .form-group select.form-control::-webkit-input-placeholder { color: #868eae; } -.postbox-container .postbox .form-group input[type="date"]::-moz-placeholder, -.postbox-container .postbox .form-group input[type="email"]::-moz-placeholder, -.postbox-container .postbox .form-group input[type="number"]::-moz-placeholder, -.postbox-container .postbox .form-group input[type="tel"]::-moz-placeholder, .postbox-container .postbox .form-group input[type="text"]::-moz-placeholder, -.postbox-container .postbox .form-group input[type="time"]::-moz-placeholder, +.postbox-container .postbox .form-group input[type="tel"]::-moz-placeholder, .postbox-container .postbox .form-group input[type="url"]::-moz-placeholder, +.postbox-container .postbox .form-group input[type="number"]::-moz-placeholder, +.postbox-container .postbox .form-group input[type="date"]::-moz-placeholder, +.postbox-container .postbox .form-group input[type="time"]::-moz-placeholder, +.postbox-container .postbox .form-group input[type="email"]::-moz-placeholder, .postbox-container .postbox .form-group select.form-control::-moz-placeholder { color: #868eae; } .postbox-container .postbox .form-group - input[type="date"]:-ms-input-placeholder, + input[type="text"]:-ms-input-placeholder, +.postbox-container .postbox .form-group input[type="tel"]:-ms-input-placeholder, +.postbox-container .postbox .form-group input[type="url"]:-ms-input-placeholder, .postbox-container .postbox .form-group - input[type="email"]:-ms-input-placeholder, + input[type="number"]:-ms-input-placeholder, .postbox-container .postbox .form-group - input[type="number"]:-ms-input-placeholder, -.postbox-container .postbox .form-group input[type="tel"]:-ms-input-placeholder, + input[type="date"]:-ms-input-placeholder, .postbox-container .postbox .form-group - input[type="text"]:-ms-input-placeholder, + input[type="time"]:-ms-input-placeholder, .postbox-container .postbox .form-group - input[type="time"]:-ms-input-placeholder, -.postbox-container .postbox .form-group input[type="url"]:-ms-input-placeholder, + input[type="email"]:-ms-input-placeholder, .postbox-container .postbox .form-group @@ -1608,23 +1712,23 @@ span.atbdp-tick-cross { .postbox-container .postbox .form-group - input[type="date"]::-ms-input-placeholder, + input[type="text"]::-ms-input-placeholder, .postbox-container .postbox .form-group - input[type="email"]::-ms-input-placeholder, + input[type="tel"]::-ms-input-placeholder, .postbox-container .postbox .form-group - input[type="number"]::-ms-input-placeholder, + input[type="url"]::-ms-input-placeholder, .postbox-container .postbox .form-group - input[type="tel"]::-ms-input-placeholder, + input[type="number"]::-ms-input-placeholder, .postbox-container .postbox .form-group - input[type="text"]::-ms-input-placeholder, + input[type="date"]::-ms-input-placeholder, .postbox-container .postbox .form-group @@ -1632,27 +1736,27 @@ span.atbdp-tick-cross { .postbox-container .postbox .form-group - input[type="url"]::-ms-input-placeholder, + input[type="email"]::-ms-input-placeholder, .postbox-container .postbox .form-group select.form-control::-ms-input-placeholder { color: #868eae; } -.postbox-container .postbox .form-group input[type="date"]::placeholder, -.postbox-container .postbox .form-group input[type="email"]::placeholder, -.postbox-container .postbox .form-group input[type="number"]::placeholder, -.postbox-container .postbox .form-group input[type="tel"]::placeholder, .postbox-container .postbox .form-group input[type="text"]::placeholder, -.postbox-container .postbox .form-group input[type="time"]::placeholder, +.postbox-container .postbox .form-group input[type="tel"]::placeholder, .postbox-container .postbox .form-group input[type="url"]::placeholder, +.postbox-container .postbox .form-group input[type="number"]::placeholder, +.postbox-container .postbox .form-group input[type="date"]::placeholder, +.postbox-container .postbox .form-group input[type="time"]::placeholder, +.postbox-container .postbox .form-group input[type="email"]::placeholder, .postbox-container .postbox .form-group select.form-control::placeholder { color: #868eae; } .postbox-container .postbox .form-group textarea { display: block; width: 100%; - padding: 6px; + padding: 6px 6px; line-height: 1.5; border: 1px solid #eff1f6; height: 100px; @@ -1690,8 +1794,8 @@ span.atbdp-tick-cross { .postbox-container .postbox .form-group .atbdp_social_field_wrapper .col-md-2 { width: 5%; } -.postbox-container .postbox .form-group .atbdp_social_field_wrapper input, -.postbox-container .postbox .form-group .atbdp_social_field_wrapper select { +.postbox-container .postbox .form-group .atbdp_social_field_wrapper select, +.postbox-container .postbox .form-group .atbdp_social_field_wrapper input { width: 100%; border: 1px solid #eff1f6; height: 35px; @@ -1702,7 +1806,7 @@ span.atbdp-tick-cross { } .postbox-container .postbox .form-group .btn.btn-primary { background: var(--directorist-color-primary); - border: 0; + border: 0 none; color: #fff; } .postbox-container @@ -1718,9 +1822,12 @@ span.atbdp-tick-cross { .cor-wrap { margin-top: 15px; } + .theme-browser .theme .theme-name { height: auto; } + +/* System Status */ .atbds_wrapper { padding-right: 60px; } @@ -1750,19 +1857,24 @@ span.atbdp-tick-cross { margin: 30px 0 35px; color: #272b41; } + .atbds_content { margin-top: -8px; } + +/* Spacing */ .atbds_wrapper .pl-30 { padding-left: 30px; } .atbds_wrapper .pr-30 { padding-right: 30px; } + +/* atbds card */ .atbds_card.card { padding: 0; min-width: 100%; - border: 0; + border: 0 none; border-radius: 4px; -webkit-box-shadow: 0 5px 10px rgba(173, 180, 210, 0.1); box-shadow: 0 5px 10px rgba(173, 180, 210, 0.1); @@ -1816,11 +1928,11 @@ span.atbdp-tick-cross { .atbds_card .card-body .atbds_c-t-menu .nav-link:focus { outline: none; -webkit-box-shadow: - 0 0 0 0 #5b9dd9, - 0 0 0 0 rgba(30, 140, 190, 0); + 0 0 0 0px #5b9dd9, + 0 0 0px 0px rgba(30, 140, 190, 0); box-shadow: - 0 0 0 0 #5b9dd9, - 0 0 0 0 rgba(30, 140, 190, 0); + 0 0 0 0px #5b9dd9, + 0 0 0px 0px rgba(30, 140, 190, 0); } .atbds_card .card-body .atbds_c-t-menu .nav-link:after { position: absolute; @@ -1842,11 +1954,14 @@ span.atbdp-tick-cross { .atbds_card .card-body .atbds_c-t__details { padding: 20px 0; } -#atbds_r-viewing .atbds_card, -#atbds_support .atbds_card { + +#atbds_support .atbds_card, +#atbds_r-viewing .atbds_card { max-width: 900px; min-width: auto; } + +/* atbds Sidebar */ .atbds_sidebar ul { margin-bottom: 0; } @@ -1867,7 +1982,7 @@ span.atbdp-tick-cross { } .atbds_sidebar .nav-link:focus { outline: none; - border: 0; + border: 0 none; -webkit-box-shadow: 0 0; box-shadow: 0 0; } @@ -1892,33 +2007,40 @@ span.atbdp-tick-cross { } .atbds_sidebar a:focus { outline: none; - border: 0; + border: 0 none; -webkit-box-shadow: 0 0; box-shadow: 0 0; } + .atbds_text-center { text-align: center; } + .atbds_d-flex { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } -.atbds_flex-wrap, -.atbds_row { + +.atbds_flex-wrap { -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; } + .atbds_row { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; margin-right: -15px; margin-left: -15px; } + .atbds_col-4 { -webkit-box-flex: 0; -webkit-flex: 0 0 33.33333%; @@ -1930,6 +2052,8 @@ span.atbdp-tick-cross { padding-right: 1.05%; padding-left: 1.05%; } + +/* atbds System Table */ .atbd_tooltip { position: relative; cursor: pointer; @@ -1952,9 +2076,12 @@ span.atbdp-tick-cross { .atbd_tooltip .atbd_tooltip__text.show { display: inline-block; } + +/* atbds System Table */ .atbds_system-table-wrap { padding: 0 20px; } + .atbds_system-table { width: 100%; border-collapse: collapse; @@ -1987,13 +2114,17 @@ span.atbdp-tick-cross { .atbds_system-table tbody tr td .atbds_color-success { color: #00bc5e; } + .atbds_table-list li { margin-bottom: 8px; } + +/* atbds warnings */ .atbds_warnings { padding: 30px; min-height: 615px; } + .atbds_warnings__single { border-radius: 6px; padding: 30px 45px; @@ -2054,6 +2185,8 @@ span.atbdp-tick-cross { .atbds_warnings__single .atbds_warnigns__content .atbds_btnLink { margin-top: 30px; } + +/* atbds Buttons */ .atbds_btnLink { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -2071,6 +2204,7 @@ span.atbdp-tick-cross { .atbds_btnLink i { margin-left: 7px; } + .atbds_btn { font-size: 14px; font-weight: 500; @@ -2116,6 +2250,7 @@ span.atbdp-tick-cross { background-color: #fff; border-color: #e3e6ef; } + .atbds_btn.atbds_btnBordered { background-color: transparent; border: 1px solid; @@ -2124,18 +2259,21 @@ span.atbdp-tick-cross { color: #3e62f5; border-color: #3e62f5; } + .atbds_buttonGroup { margin: -5px; } .atbds_buttonGroup button { margin: 5px; } + +/* atbds Form Row */ .atbds_form-row:not(:last-child) { margin-bottom: 30px; } -.atbds_form-row input[type="email"], -.atbds_form-row input[type="text"], .atbds_form-row label, +.atbds_form-row input[type="text"], +.atbds_form-row input[type="email"], .atbds_form-row textarea { width: 100%; } @@ -2167,6 +2305,7 @@ span.atbdp-tick-cross { .atbds_form-row textarea { min-height: 200px; } + .atbds_customCheckbox input[type="checkbox"] { display: none; } @@ -2205,6 +2344,8 @@ span.atbdp-tick-cross { border-radius: 3px; content: ""; background-color: #fff; + border-width: 1px; + border-style: solid; border: 1px solid #c6d0dc; -webkit-transition: 0.3s ease; transition: 0.3s ease; @@ -2216,7 +2357,7 @@ span.atbdp-tick-cross { top: 2px; font-weight: 900; content: "\f00c"; - font-family: Font Awesome\5 Free; + font-family: "Font Awesome 5 Free"; display: block; opacity: 0; -webkit-transition: all 0.3s ease 0s; @@ -2232,9 +2373,10 @@ span.atbdp-tick-cross { opacity: 1; color: #fff; } + #listing_form_info { background: none; - border: 0; + border: 0 none; -webkit-box-shadow: none; box-shadow: none; } @@ -2244,7 +2386,7 @@ span.atbdp-tick-cross { #listing_form_info .atbd_content_module { border: 1px solid #e3e6ef; margin-bottom: 35px; - background-color: #fff; + background-color: #ffffff; text-align: left; border-radius: 3px; } @@ -2282,7 +2424,9 @@ span.atbdp-tick-cross { #listing_form_info .atbd_content_module .atbdb_content_module_contents - #hide_if_no_manual_cor, + #hide_if_no_manual_cor { + margin-top: 15px; +} #listing_form_info .atbd_content_module .atbdb_content_module_contents @@ -2298,27 +2442,32 @@ span.atbdp-tick-cross { #listing_form_info .directorist_loader { position: absolute; top: 0; - right: 0; + right: 0%; } + .atbd-booking-information .atbd_area_title { padding: 0 20px; } + .wp-list-table .page-title-action { background-color: #222; - border: 0; + border: 0 none; border-radius: 3px; font-size: 11px; position: relative; top: 1px; color: #fff; } + .atbd-listing-type-active-status { display: inline-block; color: #00ac17; margin-left: 10px; } + +/* atbds SupportForm */ .atbds_supportForm { - padding: 10px 50px 50px; + padding: 10px 50px 50px 50px; color: #5a5f7d; } .atbds_supportForm h1, @@ -2339,8 +2488,10 @@ span.atbdp-tick-cross { .atbds_supportForm .atbds_customCheckbox { margin-top: -14px; } + +/* atbds remoteViewingForm */ .atbds_remoteViewingForm { - padding: 10px 50px 50px; + padding: 10px 50px 50px 50px; } .atbds_remoteViewingForm p { font-size: 15px; @@ -2360,6 +2511,7 @@ span.atbdp-tick-cross { .atbds_remoteViewingForm .atbds_buttonGroup .atbds_btn { padding: 10.5px 33px; } + @media only screen and (max-width: 1599px) { .atbds_warnings__single { padding: 30px; @@ -2378,7 +2530,7 @@ span.atbdp-tick-cross { } @media only screen and (max-width: 1024px) { .atbds_warnings .atbds_row { - margin: 0; + margin: 0px; } .atbds_warnings .atbds_col-4 { -webkit-box-flex: 0; @@ -2400,7 +2552,7 @@ span.atbdp-tick-cross { padding: 30px; } .atbds_wrapper .atbds_row { - margin: 0; + margin: 0px; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-flow: column; @@ -2437,7 +2589,7 @@ span.atbdp-tick-cross { padding: 15px; } .atbds_supportForm { - padding: 10px 25px 25px; + padding: 10px 25px 25px 25px; } .atbds_customCheckbox input[type="checkbox"] + label { padding-left: 28px; @@ -2446,6 +2598,7 @@ span.atbdp-tick-cross { #atbdp-send-system-info .system_info_success { color: #00ac17; } + #atbds_r-viewing #atbdp-remote-response { padding: 20px 50px 0; color: #00ac17; @@ -2463,18 +2616,19 @@ span.atbdp-tick-cross { background-color: #3e62f5; color: #fff; } -.fa, -.vp-wrap .vp-menus ul.vp-menu-level-2 > li a i.fa { - font-family: - Font Awesome\5 Free, - Font Awesome\5 Brands; + +.vp-wrap .vp-menus ul.vp-menu-level-2 > li a i.fa, +.fa { + font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands"; } + .atbdb_content_module_contents .ez-media-uploader { text-align: center; } -.add_listing_form_wrapper #delete-custom-img, + +.add_listing_form_wrapper .upload-header, .add_listing_form_wrapper #listing_image_btn, -.add_listing_form_wrapper .upload-header { +.add_listing_form_wrapper #delete-custom-img { font-size: 15px; padding: 0 15.8px !important; display: -webkit-inline-box; @@ -2491,6 +2645,7 @@ span.atbdp-tick-cross { color: #fff; } .add_listing_form_wrapper .listing-img-container { + margin: 40px 0 20px; margin: -10px; text-align: center; } @@ -2513,7 +2668,7 @@ span.atbdp-tick-cross { -webkit-transition: 0.2s; transition: 0.2s; cursor: pointer; - color: #fff; + color: #ffffff; } .add_listing_form_wrapper .listing-img-container img { max-width: 100px; @@ -2542,6 +2697,7 @@ span.atbdp-tick-cross { .add_listing_form_wrapper #delete-custom-img.hidden { display: none; } + #announcment_submit .vp-input ~ span { display: -webkit-box; display: -webkit-flex; @@ -2566,6 +2722,9 @@ span.atbdp-tick-cross { #announcment_submit .vp-input ~ span:after { content: "Send"; } + +/* Announcment */ +/* ----------------------------- */ #announcement_submit .vp-input ~ span { display: -webkit-box; display: -webkit-flex; @@ -2593,45 +2752,61 @@ span.atbdp-tick-cross { #announcement_submit .label { visibility: hidden; } + .announcement-feedback { margin-bottom: 15px; } + +/* --------------[ Announcment End ]--------------- */ +/* Section */ .atbdp-section { display: block; } -.atbdp-accordion-toggle, -.atbdp-section-toggle { + +.atbdp-section-toggle, +.atbdp-accordion-toggle { cursor: pointer; } + .atbdp-section-header { display: block; } + #directorist.atbd_wrapper h3.atbdp-section-title { margin-bottom: 25px; } + .atbdp-section-content { padding: 10px; background-color: #fff; } + .atbdp-state-section-content { margin-bottom: 20px; padding: 25px 30px; } + .atbdp-state-vertical { padding: 8px 20px; } + .atbdp-themes-extension-license-activation-content { padding: 0; background-color: transparent; } + +/* Accordion */ .atbdp-license-accordion { margin: 30px 0; } + .atbdp-accordion-content { display: none; padding: 10px; background-color: #fff; } + +/* Card */ .atbdp-card-list { display: -webkit-box; display: -webkit-flex; @@ -2642,12 +2817,14 @@ span.atbdp-tick-cross { -ms-flex-wrap: wrap; flex-wrap: wrap; } + .atbdp-card-list__item { margin-bottom: 10px; width: 100%; max-width: 300px; padding: 0 15px; } + .atbdp-card { display: block; background-color: #fff; @@ -2656,21 +2833,31 @@ span.atbdp-tick-cross { padding: 20px; text-align: center; } + .atbdp-card-header { display: block; margin-bottom: 20px; } + .atbdp-card-body { display: block; } + #directorist.atbd_wrapper .atbdp-card-title, .atbdp-card-title { font-size: 19px; } + .atbdp-card-icon { + display: block; font-size: 60px; +} + +.atbdp-card-icon { display: block; } + +/* Form */ .atbdp-centered-box { display: -webkit-box; display: -webkit-flex; @@ -2689,6 +2876,7 @@ span.atbdp-tick-cross { flex-wrap: wrap; min-height: calc(100vh - 50px); } + .atbdp-form-container { margin: 0 auto; width: 100%; @@ -2699,44 +2887,60 @@ span.atbdp-tick-cross { box-shadow: 0 0 30px rgba(0, 0, 0, 0.1); background-color: #fff; } + .atbdp-license-form-container { -webkit-box-shadow: none; box-shadow: none; } -.atbdp-form-page, + +.atbdp-form-page { + width: 100%; +} + .atbdp-form-response-page { width: 100%; } + .atbdp-checklist-section { margin-top: 30px; text-align: left; } -.atbdp-form-body, + .atbdp-form-header { display: block; } + +.atbdp-form-body { + display: block; +} + .atbdp-form-footer { display: block; text-align: center; } + .atbdp-form-group { display: block; margin-bottom: 20px; } + .atbdp-form-group label { display: block; margin-bottom: 5px; - font-weight: 700; + font-weight: bold; } + input.atbdp-form-control { display: block; width: 100%; + border: none; height: 40px; border-radius: 4px; - border: 0; + border: 0 none; padding: 0 15px; background-color: #f4f5f7; } + .atbdp-form-feedback { margin: 10px 0; } @@ -2744,7 +2948,13 @@ input.atbdp-form-control { display: inline-block; margin-left: 10px; } -.et-auth-section-wrap, + +.et-auth-section-wrap { + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} .et-auth-section-wrap .atbdp-input-group-wrap { -webkit-box-align: center; -webkit-align-items: center; @@ -2754,25 +2964,30 @@ input.atbdp-form-control { .et-auth-section-wrap .atbdp-input-group-wrap .atbdp-form-control { min-width: 140px; } + .et-auth-section-wrap .atbdp-input-group-append { -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; } + .atbdp-form-actions { margin: 30px 0; text-align: center; } + .atbdp-icon { display: inline-block; } + .atbdp-icon-large { display: block; margin-bottom: 20px; font-size: 45px; text-align: center; } + .atbdp-form-alert { padding: 8px 15px; border-radius: 4px; @@ -2782,20 +2997,23 @@ input.atbdp-form-control { background: f2f2f2; } .atbdp-form-alert a { - color: hsla(0, 0%, 100%, 0.5); + color: rgba(255, 255, 255, 0.5); } .atbdp-form-alert a:hover { - color: hsla(0, 0%, 100%, 0.8); + color: rgba(255, 255, 255, 0.8); } + .atbdp-form-alert-success { color: #fff; background-color: #53b732; } + .atbdp-form-alert-danger, .atbdp-form-alert-error { color: #fff; background-color: #ff4343; } + .atbdp-btn { padding: 8px 20px; border: none; @@ -2803,50 +3021,66 @@ input.atbdp-form-control { min-height: 40px; cursor: pointer; } + .atbdp-btn-primary { color: #fff; background-color: #6495ed; } + +/* Utility */ .purchase-refresh-btn-wrapper { overflow: hidden; } + .atbdp-action-group { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } + .atbdp-hide { width: 0; overflow: hidden; } + .atbdp-d-none { display: none; } + .atbdp-px-5 { padding: 0 5px !important; } + .atbdp-mx-5 { margin: 0 5px !important; } + .atbdp-mb-0 { margin-bottom: 0 !important; } + .atbdp-text-center { text-align: center; } + .atbdp-text-success { color: #0fb73b; } + .atbdp-text-danger { color: #c81d1d; } + .atbdp-text-muted { - color: grey; + color: gray; } + +/* Tab Contents */ .atbdp-tab-nav-area { display: block; } + .atbdp-tab-nav-menu { display: -webkit-box; display: -webkit-flex; @@ -2858,6 +3092,7 @@ input.atbdp-form-control { padding: 0 10px; border-bottom: 1px solid #ccc; } + .atbdp-tab-nav-menu__item { display: block; position: relative; @@ -2867,66 +3102,88 @@ input.atbdp-form-control { border: 1px solid #ccc; border-bottom: none; } + .atbdp-tab-nav-menu__item.active { bottom: -1px; } + .atbdp-tab-nav-menu__link { display: block; padding: 10px 15px; text-decoration: none; color: #555; background-color: #e5e5e5; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } + .atbdp-tab-nav-menu__item.active .atbdp-tab-nav-menu__link { background-color: #f1f1f1; } + .atbdp-tab-nav-menu__link:hover { color: #555; background-color: #fff; } + .atbdp-tab-nav-menu__link:active, .atbdp-tab-nav-menu__link:focus { outline: none; -webkit-box-shadow: none; box-shadow: none; } -.atbdp-tab-content-area, + .atbdp-tab-nav-menu__item.active .atbdp-tab-nav-menu__link { display: block; } + +.atbdp-tab-content-area { + display: block; +} + .atbdp-tab-content { display: none; } + .atbdp-tab-content.active { display: block; } + +/* atbdp-counter-list */ #directorist.atbd_wrapper ul.atbdp-counter-list { padding: 0; margin: 0 -20px; -webkit-box-sizing: border-box; box-sizing: border-box; } + .atbdp-counter-list__item { display: inline-block; list-style: none; padding: 0 20px; } + .atbdp-counter-list__number { + display: block; font-size: 30px; line-height: normal; margin-bottom: 5px; + font-weight: 500; } -.atbdp-counter-list__label, -.atbdp-counter-list__number { + +.atbdp-counter-list__label { display: block; font-weight: 500; } -.atbdp-counter-list-vertical, + .atbdp-counter-list__actions { display: block; } + +.atbdp-counter-list-vertical { + display: block; +} + .atbdp-counter-list-vertical .atbdp-counter-list__item { display: -webkit-box; display: -webkit-flex; @@ -2964,15 +3221,18 @@ input.atbdp-form-control { .atbdp-counter-list-vertical .atbdp-counter-list__actions { margin-left: auto; } + .et-contents__tab-item { display: none; } .et-contents__tab-item .theme-card-wrapper .theme-card { width: 100%; } + .et-contents__tab-item.active { display: block; } + .et-wrapper { background-color: #fff; border-radius: 4px; @@ -3008,7 +3268,7 @@ input.atbdp-form-control { background-color: #f4f5f7; height: 40px; border-radius: 4px; - border: 0; + border: 0 none; padding: 0 15px 0 40px; min-width: 300px; } @@ -3063,7 +3323,7 @@ input.atbdp-form-control { min-width: 120px; } .et-wrapper .et-contents .ext-available:last-child .ext-table-responsive { - border-bottom: 0; + border-bottom: 0 none; padding-bottom: 0; } .et-wrapper .et-contents__tab-nav { @@ -3454,7 +3714,7 @@ input.atbdp-form-control { pointer-events: all; } .et-wrapper .et-contents .ext-wrapper .ext-installed-table { - padding: 15px 15px 0; + padding: 15px 15px 0 15px; margin-bottom: 30px; } .et-wrapper .et-contents .ext-wrapper .ext-available-table { @@ -3463,6 +3723,7 @@ input.atbdp-form-control { .et-wrapper .et-contents .ext-wrapper .ext-available-table h4 { margin-bottom: 20px !important; } + .et-header-title-area { display: -webkit-box; display: -webkit-flex; @@ -3489,6 +3750,7 @@ input.atbdp-form-control { align-items: flex-start; } } + .et-header-actions { margin: 0 10px; display: -webkit-inline-box; @@ -3518,8 +3780,8 @@ input.atbdp-form-control { margin-bottom: 10px; } } -.et-auth-section, -.et-auth-section-wrap { + +.et-auth-section { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -3529,20 +3791,37 @@ input.atbdp-form-control { flex-wrap: nowrap; overflow: hidden; } + .et-auth-section-wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; padding: 1px; -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; flex-grow: 1; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + overflow: hidden; } -.atbdp-input-group-append, + .atbdp-input-group-wrap { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } + +.atbdp-input-group-append { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + #directorist.atbd_wrapper .ext-action-btn { display: inline-block; line-height: 34px; @@ -3556,20 +3835,28 @@ input.atbdp-form-control { font-weight: 500; white-space: nowrap; } -#directorist.atbd_wrapper .ext-action-btn.ext-install-btn, #directorist.atbd_wrapper .ext-action-btn:hover { background-color: #3e62f5 !important; color: #fff !important; } +#directorist.atbd_wrapper .ext-action-btn.ext-install-btn { + background-color: #3e62f5 !important; + color: #fff !important; +} + .et-tab { display: none; } + .et-tab-active { display: block; } + +/* theme card */ .theme-card-wrapper { padding: 20px 30px 50px; } + .theme-card { background-color: #fff; -webkit-box-shadow: 0 5px 20px rgba(173, 180, 210, 0.3); @@ -3685,8 +3972,9 @@ input.atbdp-form-control { border-radius: 20px; padding: 0 20px; } + .available-themes-wrapper .available-themes { - padding: 12px 30px 30px; + padding: 12px 30px 30px 30px; margin: -15px; display: -webkit-box; display: -webkit-flex; @@ -3749,6 +4037,7 @@ input.atbdp-form-control { background-color: #3e62f5 !important; color: #fff !important; } + #directorist.atbd_wrapper .account-connect { padding: 30px 50px; background-color: #fff; @@ -3826,7 +4115,7 @@ input.atbdp-form-control { position: relative; display: block; width: 100%; - border: 0; + border: 0 none; background-color: #3e62f5; height: 50px; padding: 0 20px; @@ -3845,6 +4134,8 @@ input.atbdp-form-control { -webkit-transform: translateY(-50%); transform: translateY(-50%); } + +/* extension and themes column */ .extension-theme-wrapper { display: -webkit-box; display: -webkit-flex; @@ -3859,6 +4150,7 @@ input.atbdp-form-control { align-items: flex-start; margin: -25px; } + #directorist.atbd_wrapper .et-column { -webkit-box-flex: 1; -webkit-flex: 1; @@ -3880,6 +4172,7 @@ input.atbdp-form-control { color: #272b41; margin-bottom: 25px; } + #directorist.atbd_wrapper .et-card { background-color: #fff; border-radius: 6px; @@ -3909,13 +4202,13 @@ input.atbdp-form-control { flex-direction: column; } } -#directorist.atbd_wrapper .et-card__details, -#directorist.atbd_wrapper .et-card__image { +#directorist.atbd_wrapper .et-card__image, +#directorist.atbd_wrapper .et-card__details { padding: 10px; } @media only screen and (max-width: 1199px) { - #directorist.atbd_wrapper .et-card__details, - #directorist.atbd_wrapper .et-card__image { + #directorist.atbd_wrapper .et-card__image, + #directorist.atbd_wrapper .et-card__details { max-width: 100%; } } @@ -3978,13 +4271,18 @@ input.atbdp-form-control { background-color: rgba(255, 64, 140, 0.1); color: #ff408c; } + +/* atmodal */ +/* Modal Core Styles */ .atm-open { overflow: hidden; } + .atm-open .at-modal { overflow-x: hidden; overflow-y: auto; } + .at-modal { position: fixed; width: 100%; @@ -3997,6 +4295,7 @@ input.atbdp-form-control { overflow: hidden; outline: 0; } + .at-modal-content { position: relative; width: 500px; @@ -4020,6 +4319,7 @@ input.atbdp-form-control { min-height: calc(100% - 5rem); pointer-events: none; } + .atm-contents-inner { width: 100%; background-color: #fff; @@ -4027,29 +4327,36 @@ input.atbdp-form-control { border-radius: 3px; position: relative; } + .at-modal-content.at-modal-lg { width: 800px; } + .at-modal-content.at-modal-xl { width: 1140px; } + .at-modal-content.at-modal-sm { width: 300px; } + .at-modal.atm-fade { -webkit-transition: 0.3s ease; transition: 0.3s ease; } + .at-modal.atm-fade:not(.atm-show) { opacity: 0; visibility: hidden; } + .at-modal.atm-show .at-modal-content { opacity: 1; visibility: visible; -webkit-transition: 0.3s ease; transition: 0.3s ease; } + .at-modal .atm-contents-inner .at-modal-close { width: 32px; height: 32px; @@ -4080,39 +4387,49 @@ input.atbdp-form-control { justify-content: center; text-decoration: none; } + .at-modal .atm-contents-inner .close span { display: block; line-height: 0; } + #directorist.atbd_wrapper .modal-header { padding: 20px 30px; } + #directorist.atbd_wrapper .modal-header .modal-title { font-size: 25px; font-weight: 500; color: #151826; } + #directorist.atbd_wrapper .at-modal-close { background-color: #5a5f7d; color: #fff; font-size: 25px; } + #directorist.atbd_wrapper .at-modal-close span { position: relative; top: -2px; } + #directorist.atbd_wrapper .at-modal-close:hover { color: #fff; } + #directorist.atbd_wrapper .modal-body { padding: 25px 40px 30px; } + #directorist.atbd_wrapper .modal-body .update-list { margin-bottom: 25px; } + #directorist.atbd_wrapper .modal-body .update-list:last-child { margin-bottom: 0; } + #directorist.atbd_wrapper .modal-body .update-list .update-badge { line-height: 23px; border-radius: 3px; @@ -4124,34 +4441,40 @@ input.atbdp-form-control { display: inline-block; margin-bottom: 15px; } + #directorist.atbd_wrapper .modal-body .update-list .update-badge.update-badge--new { background-color: #00bb45; } + #directorist.atbd_wrapper .modal-body .update-list .update-badge.update-badge--fixed { background-color: #0090fd; } + #directorist.atbd_wrapper .modal-body .update-list .update-badge.update-badge--improved { background-color: #4353ff; } + #directorist.atbd_wrapper .modal-body .update-list .update-badge.update-badge--removed { background-color: #d72323; } + #directorist.atbd_wrapper .modal-body .update-list ul, #directorist.atbd_wrapper .modal-body .update-list ul li { margin: 0; } + #directorist.atbd_wrapper .modal-body .update-list ul li { margin-bottom: 12px; font-size: 16px; @@ -4159,9 +4482,11 @@ input.atbdp-form-control { padding-left: 20px; position: relative; } + #directorist.atbd_wrapper .modal-body .update-list ul li:last-child { margin-bottom: 0; } + #directorist.atbd_wrapper .modal-body .update-list ul li:before { position: absolute; content: ""; @@ -4172,35 +4497,80 @@ input.atbdp-form-control { left: 0; top: 5px; } + #directorist.atbd_wrapper .modal-body .update-list.update-list--new li:before { background-color: #00bb45; } + #directorist.atbd_wrapper .modal-body .update-list.update-list--fixed li:before { background-color: #0090fd; } + #directorist.atbd_wrapper .modal-body .update-list.update-list--improved li:before { background-color: #4353ff; } + #directorist.atbd_wrapper .modal-body .update-list.update-list--removed li:before { background-color: #d72323; } + #directorist.atbd_wrapper .modal-footer button { background-color: #3e62f5; border-color: #3e62f5; } + +/* Responsive CSS */ +/* Large devices (desktops, 992px and up) */ +@media (min-width: 992px) and (max-width: 1199.98px) { + .at-modal-content.at-modal-xl, + .at-modal-content.at-modal-lg, + .at-modal-content.at-modal-md, + .at-modal-content.at-modal-sm { + width: calc(100% - 60px); + } +} +/* Medium devices (tablets, 768px and up) */ +@media (min-width: 768px) and (max-width: 991.98px) { + .at-modal-content.at-modal-xl, + .at-modal-content.at-modal-lg, + .at-modal-content.at-modal-md, + .at-modal-content.at-modal-sm { + width: calc(100% - 60px); + } +} +/* Small devices (landscape phones, 576px and up) */ +@media (min-width: 576px) and (max-width: 767.98px) { + .at-modal-content.at-modal-xl, + .at-modal-content.at-modal-lg, + .at-modal-content.at-modal-md, + .at-modal-content.at-modal-sm { + width: calc(100% - 60px); + } +} +/* Extra small devices (portrait phones, less than 576px) */ +@media (max-width: 575.98px) { + .at-modal-content.at-modal-xl, + .at-modal-content.at-modal-lg, + .at-modal-content.at-modal-md, + .at-modal-content.at-modal-sm { + width: calc(100% - 30px); + } +} +/* Default WP Theme overwrite */ body.wp-admin { background-color: #f3f4f6; - font-family: Inter, sans-serif; + font-family: "Inter", sans-serif; } + .directorist_builder-header { display: -webkit-box; display: -webkit-flex; @@ -4219,8 +4589,8 @@ body.wp-admin { margin-top: -10px; background-color: #fff; padding: 0 24px; - -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); - box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); + -webkit-box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05); + box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05); } @media only screen and (max-width: 575px) { .directorist_builder-header { @@ -4303,6 +4673,7 @@ body.wp-admin { .directorist_builder-header .directorist_builder-links a i { font-size: 16px; } + .directorist_builder-body { margin-top: 20px; } @@ -4313,23 +4684,28 @@ body.wp-admin { margin: 0; color: #000; } + +.tabContentActive, .pstContentActive, .pstContentActive2, -.pstContentActive3, -.tabContentActive { +.pstContentActive3 { display: block !important; -webkit-animation: showTab 0.6s ease; animation: showTab 0.6s ease; } + .atbd_tab_inner, .pst_tab_inner, .pst_tab_inner-2, .pst_tab_inner-3 { display: none; } + +/* Directorist Membership Notice */ .atbdp-settings-manager .directorist_membership-notice { margin-bottom: 0; } + .directorist_membership-notice { position: relative; display: -webkit-box; @@ -4345,8 +4721,8 @@ body.wp-admin { -ms-flex-pack: justify; justify-content: space-between; background-color: #5441b9; - background: linear-gradient(45deg, #5441b9 1%, #b541d8); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#5441b9",endColorstr="#b541d8",GradientType=1); + background: linear-gradient(45deg, #5441b9 1%, #b541d8 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#5441b9", endColorstr="#b541d8", GradientType=1); padding: 20px; border-radius: 14px; margin-bottom: 30px; @@ -4448,7 +4824,9 @@ body.wp-admin { } @media only screen and (max-width: 475px) { .directorist_membership-notice .directorist_membership-notice__content img { - margin: 0 auto 24px; + margin-right: 0; + margin-bottom: 24px; + margin: 0 auto 24px auto; } } .directorist_membership-notice @@ -4461,7 +4839,7 @@ body.wp-admin { .directorist_membership-notice__text h4 { font-size: 24px; - font-weight: 700; + font-weight: bold; margin: 4px 0 8px; } @media only screen and (max-width: 1499px) { @@ -4489,7 +4867,7 @@ body.wp-admin { font-weight: 500; max-width: 350px; margin-bottom: 12px; - color: hsla(0, 0%, 100%, 0.5647058824); + color: rgba(255, 255, 255, 0.5647058824); } .directorist_membership-notice .directorist_membership-notice__content @@ -4504,12 +4882,12 @@ body.wp-admin { -ms-flex-align: center; align-items: center; font-size: 20px; - font-weight: 700; + font-weight: bold; min-height: 47px; line-height: 1.95; padding: 0 15px; border-radius: 6px; - color: #000; + color: #000000; -webkit-transition: 0.3s; transition: 0.3s; background-color: #3af4c2; @@ -4545,6 +4923,7 @@ body.wp-admin { min-height: 35px; } } + .directorist_membership-notice__list { display: -webkit-box; display: -webkit-flex; @@ -4639,6 +5018,7 @@ body.wp-admin { top: 0; } } + .directorist_membership-notice__action { margin-right: 25px; } @@ -4667,7 +5047,7 @@ body.wp-admin { -ms-flex-pack: center; justify-content: center; font-size: 18px; - font-weight: 700; + font-weight: bold; color: #000; min-height: 52px; border-radius: 8px; @@ -4691,6 +5071,7 @@ body.wp-admin { min-width: 115px; } } + .directorist_membership-notice-close { position: absolute; right: 20px; @@ -4723,6 +5104,7 @@ body.wp-admin { .directorist_membership-notice-close i { color: #b541d8; } + .directorist_builder__content { display: -webkit-box; display: -webkit-flex; @@ -4824,14 +5206,14 @@ body.wp-admin { .directorist_builder__content .directorist_builder__content__right .directorist_link-block.directorist_new-directory { - -webkit-box-shadow: 0 2px 4px 0 rgba(60, 41, 170, 0.12); - box-shadow: 0 2px 4px 0 rgba(60, 41, 170, 0.12); + -webkit-box-shadow: 0px 2px 4px 0px rgba(60, 41, 170, 0.12); + box-shadow: 0px 2px 4px 0px rgba(60, 41, 170, 0.12); } .directorist_builder__content .directorist_builder__content__right .directorist_link-block.directorist_link-block-primary { background-color: #3e62f5; - color: #fff; + color: #ffffff; -webkit-transition: background-color 0.3s ease; transition: background-color 0.3s ease; } @@ -4844,7 +5226,7 @@ body.wp-admin { .directorist_builder__content .directorist_builder__content__right .directorist_link-block.directorist_link-block-primary-outline { - background-color: #fff; + background-color: #ffffff; color: #3e62f5; } .directorist_builder__content @@ -4905,7 +5287,7 @@ body.wp-admin { .directorist_builder__content__right .directorist_btn-import .directorist_link-icon { - border: 0; + border: 0 none; } .directorist_builder__content .directorist_builder__content__right @@ -5044,7 +5426,7 @@ body.wp-admin { font-weight: 500; line-height: 18px; color: #4d5761; - background: #fff; + background: white; border-radius: 12px; border: 1px solid #e5e7eb; -webkit-transition: 0.3s ease; @@ -5205,7 +5587,7 @@ body.wp-admin { align-items: center; color: #113997; background: #d7e4ff; - font-family: Helvetica Neue; + font-family: "Helvetica Neue"; font-size: 14px; font-weight: 500; line-height: 24px; @@ -5408,7 +5790,7 @@ body.wp-admin { .directorist-type-actions .directorist_listing-actions .directorist_more-dropdown - .directorist_more-dropdown-toggle.active, + .directorist_more-dropdown-toggle:hover, .directorist_builder__content .directorist_builder__content__right .directorist_table @@ -5416,7 +5798,7 @@ body.wp-admin { .directorist-type-actions .directorist_listing-actions .directorist_more-dropdown - .directorist_more-dropdown-toggle:hover { + .directorist_more-dropdown-toggle.active { border-color: #3e63dd !important; } .directorist_builder__content @@ -5432,11 +5814,11 @@ body.wp-admin { border-radius: 8px; border: 1px solid #f3f4f6; -webkit-box-shadow: - 0 12px 16px -4px rgba(16, 24, 40, 0.08), - 0 4px 6px -2px rgba(16, 24, 40, 0.03); + 0px 12px 16px -4px rgba(16, 24, 40, 0.08), + 0px 4px 6px -2px rgba(16, 24, 40, 0.03); box-shadow: - 0 12px 16px -4px rgba(16, 24, 40, 0.08), - 0 4px 6px -2px rgba(16, 24, 40, 0.03); + 0px 12px 16px -4px rgba(16, 24, 40, 0.08), + 0px 4px 6px -2px rgba(16, 24, 40, 0.03); min-width: 208px; } .directorist_builder__content @@ -5522,6 +5904,7 @@ body.wp-admin { ul li > div { + margin-bottom: 0 !important; width: 100%; margin: 0 !important; padding: 0 8px !important; @@ -5757,6 +6140,8 @@ body.wp-admin { border-radius: 50%; background: #3e62f5; } + +/* Custom Tooltip */ .directorist-row-tooltip[data-tooltip] { position: relative; cursor: pointer; @@ -5770,17 +6155,17 @@ body.wp-admin { .directorist-row-tooltip[data-tooltip].directorist-type-slug-content:after { text-transform: none; } -.directorist-row-tooltip[data-tooltip].directorist-type-slug-content[data-flow="bottom"]:before { - -webkit-transform: translate(-50%); - transform: translate(-50%); +.directorist-row-tooltip[data-tooltip].directorist-type-slug-content[data-flow="bottom"]::before { + -webkit-transform: translate(-50%, 0); + transform: translate(-50%, 0); } -.directorist-row-tooltip[data-tooltip].directorist-type-slug-content[data-flow="bottom"]:after { +.directorist-row-tooltip[data-tooltip].directorist-type-slug-content[data-flow="bottom"]::after { left: -50px; -webkit-transform: unset; transform: unset; } -.directorist-row-tooltip[data-tooltip]:after, -.directorist-row-tooltip[data-tooltip]:before { +.directorist-row-tooltip[data-tooltip]:before, +.directorist-row-tooltip[data-tooltip]:after { line-height: normal; font-size: 13px; pointer-events: none; @@ -5798,7 +6183,7 @@ body.wp-admin { -webkit-transform: translateX(-50%); transform: translateX(-50%); border: 5px solid transparent; - border-bottom-color: #141921; + border-bottom: 5px solid #141921; } .directorist-row-tooltip[data-tooltip]:after { content: attr(data-tooltip); @@ -5807,7 +6192,7 @@ body.wp-admin { white-space: nowrap; border-radius: 6px; background: #141921; - color: #fff; + color: #ffffff; z-index: 99; padding: 10px 12px; -webkit-box-align: center; @@ -5820,78 +6205,79 @@ body.wp-admin { -webkit-transform: translateX(-50%); transform: translateX(-50%); } -.directorist-row-tooltip[data-tooltip]:hover:after, -.directorist-row-tooltip[data-tooltip]:hover:before { +.directorist-row-tooltip[data-tooltip]:hover:before, +.directorist-row-tooltip[data-tooltip]:hover:after { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; opacity: 1; } -.directorist-row-tooltip[data-tooltip]:not([data-flow]):before, -.directorist-row-tooltip[data-tooltip][data-flow="top"]:before { +.directorist-row-tooltip[data-tooltip]:not([data-flow])::before, +.directorist-row-tooltip[data-tooltip][data-flow="top"]::before { bottom: 100%; border-bottom-width: 0; border-top-color: #141921; } -.directorist-row-tooltip[data-tooltip]:not([data-flow]):after, -.directorist-row-tooltip[data-tooltip][data-flow="top"]:after { +.directorist-row-tooltip[data-tooltip]:not([data-flow])::after, +.directorist-row-tooltip[data-tooltip][data-flow="top"]::after { bottom: calc(100% + 5px); } -.directorist-row-tooltip[data-tooltip]:not([data-flow]):after, -.directorist-row-tooltip[data-tooltip]:not([data-flow]):before, -.directorist-row-tooltip[data-tooltip][data-flow="top"]:after, -.directorist-row-tooltip[data-tooltip][data-flow="top"]:before { +.directorist-row-tooltip[data-tooltip]:not([data-flow])::before, +.directorist-row-tooltip[data-tooltip]:not([data-flow])::after, +.directorist-row-tooltip[data-tooltip][data-flow="top"]::before, +.directorist-row-tooltip[data-tooltip][data-flow="top"]::after { left: 50%; -webkit-transform: translate(-50%, -4px); transform: translate(-50%, -4px); } -.directorist-row-tooltip[data-tooltip][data-flow="bottom"]:before { +.directorist-row-tooltip[data-tooltip][data-flow="bottom"]::before { top: 100%; border-top-width: 0; border-bottom-color: #141921; } -.directorist-row-tooltip[data-tooltip][data-flow="bottom"]:after { +.directorist-row-tooltip[data-tooltip][data-flow="bottom"]::after { top: calc(100% + 5px); } -.directorist-row-tooltip[data-tooltip][data-flow="bottom"]:after, -.directorist-row-tooltip[data-tooltip][data-flow="bottom"]:before { +.directorist-row-tooltip[data-tooltip][data-flow="bottom"]::before, +.directorist-row-tooltip[data-tooltip][data-flow="bottom"]::after { left: 50%; -webkit-transform: translate(-50%, 6px); transform: translate(-50%, 6px); } -.directorist-row-tooltip[data-tooltip][data-flow="left"]:before { +.directorist-row-tooltip[data-tooltip][data-flow="left"]::before { top: 50%; border-right-width: 0; border-left-color: #141921; - left: -5px; + left: calc(0em - 5px); -webkit-transform: translate(-6px, -50%); transform: translate(-6px, -50%); } -.directorist-row-tooltip[data-tooltip][data-flow="left"]:after { +.directorist-row-tooltip[data-tooltip][data-flow="left"]::after { top: 50%; right: calc(100% + 5px); -webkit-transform: translate(-6px, -50%); transform: translate(-6px, -50%); } -.directorist-row-tooltip[data-tooltip][data-flow="right"]:before { +.directorist-row-tooltip[data-tooltip][data-flow="right"]::before { top: 50%; border-left-width: 0; border-right-color: #141921; - right: -5px; + right: calc(0em - 5px); -webkit-transform: translate(6px, -50%); transform: translate(6px, -50%); } -.directorist-row-tooltip[data-tooltip][data-flow="right"]:after { +.directorist-row-tooltip[data-tooltip][data-flow="right"]::after { top: 50%; left: calc(100% + 5px); -webkit-transform: translate(6px, -50%); transform: translate(6px, -50%); } -.directorist-row-tooltip[data-tooltip][data-tooltip=""]:after, -.directorist-row-tooltip[data-tooltip][data-tooltip=""]:before { +.directorist-row-tooltip[data-tooltip][data-tooltip=""]::after, +.directorist-row-tooltip[data-tooltip][data-tooltip=""]::before { display: none !important; } + .directorist_listing-slug-text { min-width: 120px; display: inline-block; @@ -5905,8 +6291,8 @@ body.wp-admin { -webkit-transition: 0.3s ease; transition: 0.3s ease; } -.directorist_listing-slug-text--editable, -.directorist_listing-slug-text:hover { +.directorist_listing-slug-text:hover, +.directorist_listing-slug-text--editable { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -5920,8 +6306,8 @@ body.wp-admin { border-radius: 6px; background: #f3f4f6; } -.directorist_listing-slug-text--editable:focus, -.directorist_listing-slug-text:hover:focus { +.directorist_listing-slug-text:hover:focus, +.directorist_listing-slug-text--editable:focus { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -5942,21 +6328,22 @@ body.wp-admin { min-width: 90px; } } -.directorist-type-slug .directorist-count-notice, -.directorist-type-slug .directorist-slug-notice { + +.directorist-type-slug .directorist-slug-notice, +.directorist-type-slug .directorist-count-notice { margin: 6px 0 0; text-transform: math-auto; } -.directorist-type-slug .directorist-count-notice.directorist-slug-notice-error, -.directorist-type-slug .directorist-slug-notice.directorist-slug-notice-error { +.directorist-type-slug .directorist-slug-notice.directorist-slug-notice-error, +.directorist-type-slug .directorist-count-notice.directorist-slug-notice-error { color: #ef0000; } +.directorist-type-slug .directorist-slug-notice.directorist-slug-notice-success, .directorist-type-slug - .directorist-count-notice.directorist-slug-notice-success, -.directorist-type-slug - .directorist-slug-notice.directorist-slug-notice-success { + .directorist-count-notice.directorist-slug-notice-success { color: #00ac17; } + .directorist-type-slug-content { display: -webkit-box; display: -webkit-flex; @@ -5967,6 +6354,7 @@ body.wp-admin { -ms-flex-align: center; align-items: center; } + .directorist-listing-slug-edit-wrap { display: inline-block; position: relative; @@ -5975,7 +6363,7 @@ body.wp-admin { } @media only screen and (max-width: 1299px) { .directorist-listing-slug-edit-wrap { - position: static; + position: initial; } } .directorist-listing-slug-edit-wrap .directorist-listing-slug__edit, @@ -6006,7 +6394,7 @@ body.wp-admin { .directorist-listing-slug-edit-wrap .directorist_listing-slug-formText-add:before { content: "\f044"; - font-family: Font Awesome\5 Free; + font-family: "Font Awesome 5 Free"; font-weight: 400; font-size: 15px; color: #2c99ff; @@ -6046,7 +6434,7 @@ body.wp-admin { .directorist-listing-slug-edit-wrap .directorist_listing-slug-formText-add:before { content: "\f00c"; - font-family: Font Awesome\5 Free; + font-family: "Font Awesome 5 Free"; font-weight: 900; color: #fff; } @@ -6087,7 +6475,7 @@ body.wp-admin { .directorist-listing-slug-edit-wrap .directorist_listing-slug-formText-remove:before { content: "\f00d"; - font-family: Font Awesome\5 Free; + font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 15px; color: #fff; @@ -6125,6 +6513,7 @@ body.wp-admin { right: -40px; top: 5px; } + .directorist_custom-checkbox input { display: none; } @@ -6155,7 +6544,7 @@ body.wp-admin { left: 6px; top: 5px; font-weight: 900; - font-family: Font Awesome\5 Free; + font-family: "Font Awesome 5 Free"; content: "\f00c"; display: block; opacity: 0; @@ -6182,6 +6571,7 @@ body.wp-admin { opacity: 1; color: #fff; } + .directorist_builder__content .directorist_badge { display: inline-block; padding: 4px 6px; @@ -6193,18 +6583,20 @@ body.wp-admin { vertical-align: baseline; border-radius: 4px; margin-left: 6px; - border: 0; + border: 0 none; } .directorist_builder__content .directorist_badge.directorist_badge-primary { color: #fff; background-color: #3e62f5; } + .directorist_table-responsive { display: block !important; width: 100%; overflow-x: auto; overflow-y: visible; } + .cptm-delete-directory-modal .cptm-modal-header { padding-left: 20px; } @@ -6238,11 +6630,13 @@ body.wp-admin { color: #fff; background-color: #ff272a; } + .directorist_dropdown { border: 1px solid #d2d6db; border-radius: 8px; - -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); - box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); + position: relative; + -webkit-box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05); + box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05); } .directorist_dropdown.--open { border-color: #4d5761; @@ -6251,6 +6645,7 @@ body.wp-admin { content: "\eb56"; } .directorist_dropdown .directorist_dropdown-toggle { + text-decoration: none; color: #7a82a6; display: -webkit-box; display: -webkit-flex; @@ -6267,6 +6662,7 @@ body.wp-admin { padding: 10px 15px; width: auto !important; height: 100%; + position: relative; } .directorist_dropdown .directorist_dropdown-toggle:before { content: "\f347"; @@ -6281,24 +6677,36 @@ body.wp-admin { order: -1; } .directorist_dropdown .directorist_dropdown-option { + display: none; + position: absolute; + width: 100%; + left: 0; top: 44px; padding: 15px; + background-color: #fff; -webkit-box-shadow: 0 10px 40px rgba(134, 142, 174, 0.1882352941); box-shadow: 0 10px 40px rgba(134, 142, 174, 0.1882352941); border-radius: 5px; + z-index: 99999; -webkit-box-sizing: border-box; box-sizing: border-box; } .directorist_dropdown .directorist_dropdown-option ul li a { + font-size: 14px; + font-weight: 500; + text-decoration: none; + display: block; padding: 9px 10px; border-radius: 4px; color: #5a5f7d; } + .directorist_select .select2-container .select2-selection--single { padding: 0 20px; height: 38px; border: 1px solid #c6d0dc; } + .directorist_loader { position: relative; } @@ -6307,21 +6715,25 @@ body.wp-admin { content: ""; right: 10px; top: 31%; + border: 2px solid #dddddd; border-radius: 50%; - border: 2px solid #ddd; - border-top-color: #272b41; + border-top: 2px solid #272b41; width: 20px; height: 20px; -webkit-animation: atbd_spin 2s linear infinite; + /* Safari */ animation: atbd_spin 2s linear infinite; } + .directorist_disable { pointer-events: none; } + #publishing-action.directorist_disable input#publish { cursor: not-allowed; opacity: 0.3; } + .directorist_more-dropdown { position: relative; } @@ -6411,12 +6823,13 @@ body.wp-admin { opacity: 0.5; pointer-events: none; } + @-webkit-keyframes atbd_spin { 0% { -webkit-transform: rotate(0deg); } - to { - -webkit-transform: rotate(1turn); + 100% { + -webkit-transform: rotate(360deg); } } @keyframes atbd_spin { @@ -6424,9 +6837,9 @@ body.wp-admin { -webkit-transform: rotate(0deg); transform: rotate(0deg); } - to { - -webkit-transform: rotate(1turn); - transform: rotate(1turn); + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); } } .directorist-checkbox @@ -6435,13 +6848,25 @@ body.wp-admin { left: 5px !important; top: 5px !important; } + .directorist-form-group.directorist-faq-group { margin-bottom: 30px; } + .directory_types-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; margin: -8px; } -.directory_types-wrapper, .directory_types-wrapper .directory_type-group { display: -webkit-box; display: -webkit-flex; @@ -6454,8 +6879,6 @@ body.wp-admin { -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; -} -.directory_types-wrapper .directory_type-group { padding: 8px; } .directory_types-wrapper .directory_type-group label { @@ -6465,9 +6888,11 @@ body.wp-admin { position: relative; top: 2px; } + .csv-action-btns { padding-left: 15px; } + #atbdp_ie_download_sample { display: inline-block; padding: 0 20px; @@ -6480,24 +6905,29 @@ body.wp-admin { cursor: pointer; border: 1px solid #3e62f5; background-color: #3e62f5; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } #atbdp_ie_download_sample:hover { border-color: #264ef4; background: #264ef4; color: #fff; } + div#gmap { height: 400px; } + .cor-wrap, .lat_btn_wrap { margin-top: 15px; } + img.atbdp-file-info { max-width: 200px; } + +/* admin notice */ .directorist__notice_new { font-size: 13px; font-weight: 500; @@ -6513,8 +6943,9 @@ img.atbdp-file-info { font-weight: 700; } .directorist__notice_new + p { - margin-top: 0 !important; + margin-top: 0px !important; } + .directorist__notice_new_action a { color: #3e62f5; font-weight: 700; @@ -6527,8 +6958,8 @@ img.atbdp-file-info { padding: 8px 17px; border-radius: 5px; cursor: pointer; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; font-weight: 500; font-size: 15px; color: #fff; @@ -6538,6 +6969,7 @@ img.atbdp-file-info { .directorist__notice_new_action .directorist__notice_new__btn:hover { color: #fff; } + .add_listing_form_wrapper#gallery_upload { padding: 30px; text-align: center; @@ -6547,6 +6979,7 @@ img.atbdp-file-info { .add_listing_form_wrapper#gallery_upload .listing-prv-img-container { text-align: center; } + .directorist_select .select2.select2-container .select2-selection--single { border: 1px solid #8c8f94; min-height: 40px; @@ -6560,35 +6993,40 @@ img.atbdp-file-info { padding: 0 15px; } .directorist_select .select2.select2-container .select2-results__option i, -.directorist_select .select2.select2-container .select2-results__option span.fa, .directorist_select .select2.select2-container .select2-results__option - span.fab, + span.las, .directorist_select .select2.select2-container .select2-results__option - span.far, + span.lab, +.directorist_select .select2.select2-container .select2-results__option span.la, .directorist_select .select2.select2-container .select2-results__option span.fas, -.directorist_select .select2.select2-container .select2-results__option span.la, .directorist_select .select2.select2-container .select2-results__option - span.lab, + span.fab, .directorist_select .select2.select2-container .select2-results__option - span.las { + span.far, +.directorist_select + .select2.select2-container + .select2-results__option + span.fa { font-size: 16px; } + #style_settings__color_settings .cptm-field-wraper-type-wp-media-picker input[type="button"].cptm-btn { display: none; } + .cptm-create-directory-modal .cptm-modal { width: 100%; max-width: 680px; @@ -6637,8 +7075,8 @@ img.atbdp-file-info { .cptm-modal-action-link svg path { - -webkit-transition: fill 0.3s ease; - transition: fill 0.3s ease; + -webkit-transition: fill ease 0.3s; + transition: fill ease 0.3s; } .cptm-create-directory-modal .cptm-create-directory-modal__header @@ -6715,15 +7153,15 @@ img.atbdp-file-info { box-sizing: border-box; -webkit-box-shadow: none; box-shadow: none; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } .cptm-create-directory-modal .cptm-create-directory-modal__action - .cptm-create-directory-modal__action__single:focus, + .cptm-create-directory-modal__action__single:hover, .cptm-create-directory-modal .cptm-create-directory-modal__action - .cptm-create-directory-modal__action__single:hover { + .cptm-create-directory-modal__action__single:focus { background-color: #f0f3ff; border-color: #3e62f5; } @@ -6825,55 +7263,65 @@ img.atbdp-file-info { color: #3e62f5; background-color: #c0ccfc; } + .directorist-flex { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } + .directorist-flex-wrap { -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; } + .directorist-align-center { -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; } + .directorist-justify-content-center { -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; } + .directorist-justify-content-between { -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; } + .directorist-justify-content-around { -webkit-justify-content: space-around; -ms-flex-pack: distribute; justify-content: space-around; } + .directorist-justify-content-start { -webkit-box-pack: start; -webkit-justify-content: flex-start; -ms-flex-pack: start; justify-content: flex-start; } + .directorist-justify-content-end { -webkit-box-pack: end; -webkit-justify-content: flex-end; -ms-flex-pack: end; justify-content: flex-end; } + .directorist-display-none { display: none; } + .directorist-icon-mask:after { content: ""; display: block; @@ -6887,16 +7335,20 @@ img.atbdp-file-info { -webkit-mask-image: var(--directorist-icon); mask-image: var(--directorist-icon); } + .directorist-error__msg { color: var(--directorist-color-danger); font-size: 14px; } + .directorist-content-active .entry-content .directorist-search-contents { width: 100% !important; max-width: 100% !important; -webkit-box-sizing: border-box; box-sizing: border-box; } + +/* directorist module style */ .directorist-content-module { border: 1px solid var(--directorist-color-border); } @@ -7006,7 +7458,7 @@ img.atbdp-file-info { } .directorist-content-module__contents .directorist-form-description-field - .mce-top-part:before { + .mce-top-part::before { display: none; } .directorist-content-module__contents @@ -7034,13 +7486,13 @@ img.atbdp-file-info { .directorist-content-module__contents .directorist-form-description-field .mce-toolbar - .mce-btn-group - .mce-btn.mce-listbox, + .mce-btn + button, .directorist-content-module__contents .directorist-form-description-field .mce-toolbar - .mce-btn - button { + .mce-btn-group + .mce-btn.mce-listbox { background: transparent; } .directorist-content-module__contents @@ -7082,7 +7534,7 @@ img.atbdp-file-info { .directorist-content-module__contents .directorist-form-social-info-field .directorist-btn - i:after { + i::after { width: 16px; height: 16px; background-color: var(--directorist-color-btn); @@ -7096,7 +7548,7 @@ img.atbdp-file-info { .directorist-content-module__contents .directorist-form-social-info-field .directorist-btn:hover - i:after { + i::after { background-color: var(--directorist-color-white); } .directorist-content-module__contents @@ -7109,18 +7561,22 @@ img.atbdp-file-info { .directorist-checkbox__label { margin-left: 0; } + .directorist-content-active #directorist.atbd_wrapper { max-width: 100%; } .directorist-content-active #directorist.atbd_wrapper .atbd_header_bar { margin-bottom: 35px; } + #directorist-dashboard-preloader { display: none; } + .directorist-form-required { color: var(--directorist-color-danger); } + .directory_register_form_wrap .dgr_show_recaptcha { margin-bottom: 20px; } @@ -7133,6 +7589,7 @@ img.atbdp-file-info { .directory_register_form_wrap a { text-decoration: none; } + .atbd_login_btn_wrapper .directorist-btn { line-height: 2.55; padding-top: 0; @@ -7143,6 +7600,7 @@ img.atbdp-file-info { .directorist-checkbox__label { color: var(--directorist-color-primary); } + .atbdp_login_form_shortcode .directorist-form-group label { display: inline-block; margin-bottom: 5px; @@ -7150,6 +7608,7 @@ img.atbdp-file-info { .atbdp_login_form_shortcode a { text-decoration: none; } + .directory_register_form_wrap .directorist-form-group label { display: inline-block; margin-bottom: 5px; @@ -7159,6 +7618,7 @@ img.atbdp-file-info { padding-top: 0; padding-bottom: 0; } + .directorist-quick-login .directorist-form-actions { display: -webkit-box; display: -webkit-flex; @@ -7170,12 +7630,14 @@ img.atbdp-file-info { -ms-flex-align: center; align-items: center; } + .atbd_success_mesage > p i { top: 2px; margin-right: 5px; position: relative; display: inline-block; } + .directorist-loader { position: relative; } @@ -7184,17 +7646,20 @@ img.atbdp-file-info { content: ""; right: 20px; top: 31%; - border-top: 2px solid var(--directorist-color-white); - border-radius: 50%; border: 2px solid var(--directorist-color-white); - border-top-color: var(--directorist-color-primary); + border-radius: 50%; + border-top: 2px solid var(--directorist-color-primary); width: 20px; height: 20px; -webkit-animation: atbd_spin 2s linear infinite; animation: atbd_spin 2s linear infinite; } + .plupload-upload-uic { + width: 420px; + margin: 0 auto !important; border: 1px dashed var(--directorist-color-border-gray); + padding: 30px; } .plupload-upload-uic .atbdp-dropbox-title { font-weight: 500; @@ -7218,6 +7683,7 @@ img.atbdp-file-info { margin-top: 10px; color: var(--directorist-color-deep-gray); } + @media (max-width: 575px) { .plupload-upload-uic { width: 100%; @@ -7291,11 +7757,14 @@ img.atbdp-file-info { border-bottom: 1px dashed #e9e9e9; } .directorist-address-field .address_result li:last-child, +.directorist-form-address-field .address_result li:last-child { + border: none; +} .directorist-address-field .address_result li:last-child a, -.directorist-form-address-field .address_result li:last-child, .directorist-form-address-field .address_result li:last-child a { border: none; } + .pac-container { list-style: none; margin: 0; @@ -7359,16 +7828,21 @@ img.atbdp-file-info { mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; - -webkit-mask-image: url(../images/2823e3547c32a23392a06652e69a8a71.svg); - mask-image: url(../images/2823e3547c32a23392a06652e69a8a71.svg); + -webkit-mask-image: url(../js/../images/2823e3547c32a23392a06652e69a8a71.svg); + mask-image: url(../js/../images/2823e3547c32a23392a06652e69a8a71.svg); +} +.pac-container:after { + display: none; } -.pac-container:after, + p.status:empty { display: none; } + .gateway_list input[type="radio"] { margin-right: 5px; } + .directorist-checkout-form .directorist-container-fluid { -webkit-box-sizing: border-box; box-sizing: border-box; @@ -7376,6 +7850,7 @@ p.status:empty { .directorist-checkout-form ul { list-style-type: none; } + .directorist-select select { width: 100%; height: 40px; @@ -7386,15 +7861,18 @@ p.status:empty { .directorist-select select:focus { outline: 0; } + .directorist-content-active .select2-container--open .select2-dropdown--above { top: 0; border-color: var(--directorist-color-border); } + body.logged-in.directorist-content-active .select2-container--open .select2-dropdown--above { top: 32px; } + .directorist-content-active .select2-container--default .select2-dropdown { border: none; border-radius: 10px !important; @@ -7406,7 +7884,7 @@ body.logged-in.directorist-content-active .directorist-content-active .select2-container--default .select2-search--dropdown { - padding: 20px 20px 10px; + padding: 20px 20px 10px 20px; } .directorist-content-active .select2-container--default .select2-search__field { padding: 10px 18px !important; @@ -7609,6 +8087,7 @@ body.logged-in.directorist-content-active .directorist-icon-mask:after { background-color: var(--directorist-color-body) !important; } + .custom-checkbox input { display: none; } @@ -7642,7 +8121,7 @@ body.logged-in.directorist-content-active left: 5px; top: 5px; font-weight: 900; - font-family: Font Awesome\5 Free; + font-family: "Font Awesome 5 Free"; content: "\f00c"; display: block; opacity: 0; @@ -7684,16 +8163,193 @@ body.logged-in.directorist-content-active opacity: 1; color: var(--directorist-color-white); } + .directorist-table { display: table; width: 100%; } + +.reset-pseudo-link:visited, +.atbdp-nav-link:visited, +.cptm-modal-action-link:visited, +.cptm-header-action-link:visited, +.cptm-sub-nav__item-link:visited, +.cptm-link-light:visited, +.cptm-header-nav__list-item-link:visited, +.cptm-btn:visited, +.reset-pseudo-link:active, +.atbdp-nav-link:active, +.cptm-modal-action-link:active, +.cptm-header-action-link:active, +.cptm-sub-nav__item-link:active, +.cptm-link-light:active, +.cptm-header-nav__list-item-link:active, +.cptm-btn:active, +.reset-pseudo-link:focus, +.atbdp-nav-link:focus, +.cptm-modal-action-link:focus, +.cptm-header-action-link:focus, +.cptm-sub-nav__item-link:focus, +.cptm-link-light:focus, +.cptm-header-nav__list-item-link:focus, +.cptm-btn:focus { + outline: none; + -webkit-box-shadow: none; + box-shadow: none; +} + +.cptm-shortcodes { + max-height: 300px; + overflow: scroll; +} + +.directorist-center-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.directorist-center-content-inline { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; +} + +.directorist-center-content, +.directorist-center-content-inline { + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.directorist-text-right { + text-align: right; +} + +.directorist-text-center { + text-align: center; +} + +.directorist-text-left { + text-align: left; +} + +.directorist-mt-0 { + margin-top: 0 !important; +} + +.directorist-mt-5 { + margin-top: 5px !important; +} + +.directorist-mt-10 { + margin-top: 10px !important; +} + +.directorist-mt-15 { + margin-top: 15px !important; +} + +.directorist-mt-20 { + margin-top: 20px !important; +} + +.directorist-mt-30 { + margin-top: 30px !important; +} + +.directorist-mb-0 { + margin-bottom: 0 !important; +} + +.directorist-mb-35 { + margin-bottom: 35px !important; +} + +.directorist-mb-30 { + margin-bottom: 30px !important; +} + +.directorist-mb-25 { + margin-bottom: 25px !important; +} + +.directorist-mb-20 { + margin-bottom: 20px !important; +} + +.directorist-mb-n20 { + margin-bottom: -20px !important; +} + +.directorist-mb-10 { + margin-bottom: 10px !important; +} + +.directorist-mb-15 { + margin-bottom: 15px !important; +} + +.directorist-mb-20 { + margin-bottom: 20px !important; +} + +.directorist-mb-30 { + margin-bottom: 30px !important; +} + +.directorist-mb-35 { + margin-bottom: 35px !important; +} + +.directorist-mb-40 { + margin-bottom: 40px !important; +} + +.directorist-mb-50 { + margin-bottom: 50px !important; +} + +.directorist-mb-70 { + margin-bottom: 70px !important; +} + +.directorist-mb-80 { + margin-bottom: 80px !important; +} + +.directorist-pb-100 { + padding-bottom: 100px !important; +} + +.directorist-w-100 { + width: 100% !important; + max-width: 100% !important; +} + +/* typography */ body.stop-scrolling { height: 100%; overflow: hidden; } + .sweet-overlay { - background-color: #000; + background-color: black; -ms-filter: "alpha(opacity=40)"; background-color: rgba(var(--directorist-color-dark-rgb), 0.4); position: fixed; @@ -7704,14 +8360,10 @@ body.stop-scrolling { display: none; z-index: 10000; } + .sweet-alert { - background-color: #fff; - font-family: - Open Sans, - Helvetica Neue, - Helvetica, - Arial, - sans-serif; + background-color: white; + font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; width: 478px; padding: 17px; border-radius: 5px; @@ -7725,7 +8377,8 @@ body.stop-scrolling { display: none; z-index: 99999; } -@media (max-width: 540px) { + +@media all and (max-width: 540px) { .sweet-alert { width: auto; margin-left: 0; @@ -7737,31 +8390,34 @@ body.stop-scrolling { .sweet-alert h2 { color: #575757; font-size: 30px; + text-align: center; font-weight: 600; text-transform: none; + position: relative; margin: 25px 0; + padding: 0; line-height: 40px; display: block; } -.sweet-alert h2, -.sweet-alert p { - text-align: center; - position: relative; - padding: 0; -} + .sweet-alert p { color: #797979; font-size: 16px; + text-align: center; font-weight: 300; + position: relative; text-align: inherit; float: none; margin: 0; + padding: 0; line-height: normal; } + .sweet-alert fieldset { border: 0; position: relative; } + .sweet-alert .sa-error-container { background-color: #f1f1f1; margin-left: -17px; @@ -7779,6 +8435,7 @@ body.stop-scrolling { padding 0.15s, max-height 0.15s; } + .sweet-alert .sa-error-container.show { padding: 10px 0; max-height: 100px; @@ -7792,20 +8449,23 @@ body.stop-scrolling { padding 0.25s, max-height 0.25s; } + .sweet-alert .sa-error-container .icon { display: inline-block; width: 24px; height: 24px; border-radius: 50%; background-color: #ea7d7d; - color: #fff; + color: white; line-height: 24px; text-align: center; margin-right: 3px; } + .sweet-alert .sa-error-container p { display: inline-block; } + .sweet-alert .sa-input-error { position: absolute; top: 29px; @@ -7820,8 +8480,9 @@ body.stop-scrolling { -webkit-transition: all 0.1s; transition: all 0.1s; } -.sweet-alert .sa-input-error:after, -.sweet-alert .sa-input-error:before { + +.sweet-alert .sa-input-error::before, +.sweet-alert .sa-input-error::after { content: ""; width: 20px; height: 6px; @@ -7833,19 +8494,23 @@ body.stop-scrolling { left: 50%; margin-left: -9px; } -.sweet-alert .sa-input-error:before { + +.sweet-alert .sa-input-error::before { -webkit-transform: rotate(-45deg); transform: rotate(-45deg); } -.sweet-alert .sa-input-error:after { + +.sweet-alert .sa-input-error::after { -webkit-transform: rotate(45deg); transform: rotate(45deg); } + .sweet-alert .sa-input-error.show { opacity: 1; -webkit-transform: scale(1); transform: scale(1); } + .sweet-alert input { width: 100%; -webkit-box-sizing: border-box; @@ -7864,43 +8529,53 @@ body.stop-scrolling { -webkit-transition: all 0.3s; transition: all 0.3s; } + .sweet-alert input:focus { outline: 0; -webkit-box-shadow: 0 0 3px #c4e6f5; box-shadow: 0 0 3px #c4e6f5; border: 1px solid #b4dbed; } + .sweet-alert input:focus::-moz-placeholder { -moz-transition: opacity 0.3s 0.03s ease; - transition: opacity 0.3s ease 0.03s; + transition: opacity 0.3s 0.03s ease; opacity: 0.5; } + .sweet-alert input:focus:-ms-input-placeholder { -ms-transition: opacity 0.3s 0.03s ease; - transition: opacity 0.3s ease 0.03s; + transition: opacity 0.3s 0.03s ease; opacity: 0.5; } + .sweet-alert input:focus::-webkit-input-placeholder { - -webkit-transition: opacity 0.3s ease 0.03s; - transition: opacity 0.3s ease 0.03s; + -webkit-transition: opacity 0.3s 0.03s ease; + transition: opacity 0.3s 0.03s ease; opacity: 0.5; } + .sweet-alert input::-moz-placeholder { color: #bdbdbd; } + .sweet-alert input:-ms-input-placeholder { color: #bdbdbd; } + .sweet-alert input::-webkit-input-placeholder { color: #bdbdbd; } + .sweet-alert.show-input input { display: block; } + .sweet-alert .sa-confirm-button-container { display: inline-block; position: relative; } + .sweet-alert .la-ball-fall { position: absolute; left: 50%; @@ -7910,9 +8585,10 @@ body.stop-scrolling { opacity: 0; visibility: hidden; } + .sweet-alert button { background-color: #8cd4f5; - color: #fff; + color: white; border: 0; -webkit-box-shadow: none; box-shadow: none; @@ -7920,9 +8596,10 @@ body.stop-scrolling { font-weight: 500; border-radius: 5px; padding: 10px 32px; - margin: 26px 5px 0; + margin: 26px 5px 0 5px; cursor: pointer; } + .sweet-alert button:focus { outline: 0; -webkit-box-shadow: @@ -7932,21 +8609,27 @@ body.stop-scrolling { 0 0 2px rgba(128, 179, 235, 0.5), inset 0 0 0 1px rgba(var(--directorist-color-dark-rgb), 0.05); } + .sweet-alert button:hover { background-color: #7ecff4; } + .sweet-alert button:active { background-color: #5dc2f1; } + .sweet-alert button.cancel { background-color: #c1c1c1; } + .sweet-alert button.cancel:hover { background-color: #b9b9b9; } + .sweet-alert button.cancel:active { background-color: #a8a8a8; } + .sweet-alert button.cancel:focus { -webkit-box-shadow: rgba(197, 205, 211, 0.8) 0 0 2px, @@ -7955,33 +8638,40 @@ body.stop-scrolling { rgba(197, 205, 211, 0.8) 0 0 2px, rgba(var(--directorist-color-dark-rgb), 0.0470588) 0 0 0 1px inset !important; } + .sweet-alert button[disabled] { opacity: 0.6; cursor: default; } + .sweet-alert button.confirm[disabled] { color: transparent; } + .sweet-alert button.confirm[disabled] ~ .la-ball-fall { opacity: 1; visibility: visible; -webkit-transition-delay: 0; transition-delay: 0; } + .sweet-alert button::-moz-focus-inner { border: 0; } + .sweet-alert[data-has-cancel-button="false"] button { -webkit-box-shadow: none !important; box-shadow: none !important; } + .sweet-alert[data-has-confirm-button="false"][data-has-cancel-button="false"] { padding-bottom: 40px; } + .sweet-alert .sa-icon { width: 80px; height: 80px; - border: 4px solid grey; + border: 4px solid gray; border-radius: 40px; border-radius: 50%; margin: 20px auto; @@ -7990,13 +8680,16 @@ body.stop-scrolling { -webkit-box-sizing: content-box; box-sizing: content-box; } + .sweet-alert .sa-icon.sa-error { border-color: #f27474; } + .sweet-alert .sa-icon.sa-error .sa-x-mark { position: relative; display: block; } + .sweet-alert .sa-icon.sa-error .sa-line { position: absolute; height: 5px; @@ -8006,19 +8699,23 @@ body.stop-scrolling { top: 37px; border-radius: 2px; } + .sweet-alert .sa-icon.sa-error .sa-line.sa-left { -webkit-transform: rotate(45deg); transform: rotate(45deg); left: 17px; } + .sweet-alert .sa-icon.sa-error .sa-line.sa-right { -webkit-transform: rotate(-45deg); transform: rotate(-45deg); right: 16px; } + .sweet-alert .sa-icon.sa-warning { border-color: #f8bb86; } + .sweet-alert .sa-icon.sa-warning .sa-body { position: absolute; width: 5px; @@ -8029,6 +8726,7 @@ body.stop-scrolling { margin-left: -2px; background-color: #f8bb86; } + .sweet-alert .sa-icon.sa-warning .sa-dot { position: absolute; width: 7px; @@ -8039,10 +8737,12 @@ body.stop-scrolling { bottom: 10px; background-color: #f8bb86; } + .sweet-alert .sa-icon.sa-info { border-color: #c9dae1; } -.sweet-alert .sa-icon.sa-info:before { + +.sweet-alert .sa-icon.sa-info::before { content: ""; position: absolute; width: 5px; @@ -8053,7 +8753,8 @@ body.stop-scrolling { margin-left: -2px; background-color: #c9dae1; } -.sweet-alert .sa-icon.sa-info:after { + +.sweet-alert .sa-icon.sa-info::after { content: ""; position: absolute; width: 7px; @@ -8063,22 +8764,25 @@ body.stop-scrolling { top: 19px; background-color: #c9dae1; } + .sweet-alert .sa-icon.sa-success { border-color: #a5dc86; } -.sweet-alert .sa-icon.sa-success:after, -.sweet-alert .sa-icon.sa-success:before { + +.sweet-alert .sa-icon.sa-success::before, +.sweet-alert .sa-icon.sa-success::after { content: ""; border-radius: 40px; border-radius: 50%; position: absolute; width: 60px; height: 120px; - background: #fff; + background: white; -webkit-transform: rotate(45deg); transform: rotate(45deg); } -.sweet-alert .sa-icon.sa-success:before { + +.sweet-alert .sa-icon.sa-success::before { border-radius: 120px 0 0 120px; top: -7px; left: -33px; @@ -8087,7 +8791,8 @@ body.stop-scrolling { -webkit-transform-origin: 60px 60px; transform-origin: 60px 60px; } -.sweet-alert .sa-icon.sa-success:after { + +.sweet-alert .sa-icon.sa-success::after { border-radius: 0 120px 120px 0; top: -11px; left: 30px; @@ -8096,6 +8801,7 @@ body.stop-scrolling { -webkit-transform-origin: 0 60px; transform-origin: 0 60px; } + .sweet-alert .sa-icon.sa-success .sa-placeholder { width: 80px; height: 80px; @@ -8109,10 +8815,11 @@ body.stop-scrolling { top: -4px; z-index: 2; } + .sweet-alert .sa-icon.sa-success .sa-fix { width: 5px; height: 90px; - background-color: #fff; + background-color: white; position: absolute; left: 28px; top: 8px; @@ -8120,6 +8827,7 @@ body.stop-scrolling { -webkit-transform: rotate(-45deg); transform: rotate(-45deg); } + .sweet-alert .sa-icon.sa-success .sa-line { height: 5px; background-color: #a5dc86; @@ -8128,6 +8836,7 @@ body.stop-scrolling { position: absolute; z-index: 2; } + .sweet-alert .sa-icon.sa-success .sa-line.sa-tip { width: 25px; left: 14px; @@ -8135,6 +8844,7 @@ body.stop-scrolling { -webkit-transform: rotate(45deg); transform: rotate(45deg); } + .sweet-alert .sa-icon.sa-success .sa-line.sa-long { width: 47px; right: 8px; @@ -8142,13 +8852,15 @@ body.stop-scrolling { -webkit-transform: rotate(-45deg); transform: rotate(-45deg); } + .sweet-alert .sa-icon.sa-custom { background-size: contain; border-radius: 0; border: 0; - background-position: 50%; + background-position: center center; background-repeat: no-repeat; } + @-webkit-keyframes showSweetAlert { 0% { transform: scale(0.7); @@ -8162,7 +8874,7 @@ body.stop-scrolling { transform: scale(0.95); -webkit-transform: scale(0.95); } - to { + 100% { transform: scale(1); -webkit-transform: scale(1); } @@ -8180,7 +8892,7 @@ body.stop-scrolling { transform: scale(0.95); -webkit-transform: scale(0.95); } - to { + 100% { transform: scale(1); -webkit-transform: scale(1); } @@ -8190,7 +8902,7 @@ body.stop-scrolling { transform: scale(1); -webkit-transform: scale(1); } - to { + 100% { transform: scale(0.5); -webkit-transform: scale(0.5); } @@ -8200,7 +8912,7 @@ body.stop-scrolling { transform: scale(1); -webkit-transform: scale(1); } - to { + 100% { transform: scale(0.5); -webkit-transform: scale(0.5); } @@ -8209,7 +8921,7 @@ body.stop-scrolling { 0% { top: 0; } - to { + 100% { top: 50%; } } @@ -8217,7 +8929,7 @@ body.stop-scrolling { 0% { top: 0; } - to { + 100% { top: 50%; } } @@ -8225,7 +8937,7 @@ body.stop-scrolling { 0% { top: 50%; } - to { + 100% { top: 0; } } @@ -8233,7 +8945,7 @@ body.stop-scrolling { 0% { top: 50%; } - to { + 100% { top: 0; } } @@ -8241,7 +8953,7 @@ body.stop-scrolling { 0% { top: 70%; } - to { + 100% { top: 50%; } } @@ -8249,7 +8961,7 @@ body.stop-scrolling { 0% { top: 70%; } - to { + 100% { top: 50%; } } @@ -8257,7 +8969,7 @@ body.stop-scrolling { 0% { top: 50%; } - to { + 100% { top: 70%; } } @@ -8265,7 +8977,7 @@ body.stop-scrolling { 0% { top: 50%; } - to { + 100% { top: 70%; } } @@ -8273,34 +8985,42 @@ body.stop-scrolling { -webkit-animation: showSweetAlert 0.3s; animation: showSweetAlert 0.3s; } + .showSweetAlert[data-animation="none"] { -webkit-animation: none; animation: none; } + .showSweetAlert[data-animation="slide-from-top"] { -webkit-animation: slideFromTop 0.3s; animation: slideFromTop 0.3s; } + .showSweetAlert[data-animation="slide-from-bottom"] { -webkit-animation: slideFromBottom 0.3s; animation: slideFromBottom 0.3s; } + .hideSweetAlert[data-animation="pop"] { -webkit-animation: hideSweetAlert 0.2s; animation: hideSweetAlert 0.2s; } + .hideSweetAlert[data-animation="none"] { -webkit-animation: none; animation: none; } + .hideSweetAlert[data-animation="slide-from-top"] { -webkit-animation: slideToTop 0.4s; animation: slideToTop 0.4s; } + .hideSweetAlert[data-animation="slide-from-bottom"] { -webkit-animation: slideToBottom 0.3s; animation: slideToBottom 0.3s; } + @-webkit-keyframes animateSuccessTip { 0% { width: 0; @@ -8322,7 +9042,7 @@ body.stop-scrolling { left: 21px; top: 48px; } - to { + 100% { width: 25px; left: 14px; top: 45px; @@ -8349,7 +9069,7 @@ body.stop-scrolling { left: 21px; top: 48px; } - to { + 100% { width: 25px; left: 14px; top: 45px; @@ -8371,7 +9091,7 @@ body.stop-scrolling { right: 0; top: 35px; } - to { + 100% { width: 47px; right: 8px; top: 38px; @@ -8393,7 +9113,7 @@ body.stop-scrolling { right: 0; top: 35px; } - to { + 100% { width: 47px; right: 8px; top: 38px; @@ -8412,7 +9132,7 @@ body.stop-scrolling { transform: rotate(-405deg); -webkit-transform: rotate(-405deg); } - to { + 100% { transform: rotate(-405deg); -webkit-transform: rotate(-405deg); } @@ -8430,7 +9150,7 @@ body.stop-scrolling { transform: rotate(-405deg); -webkit-transform: rotate(-405deg); } - to { + 100% { transform: rotate(-405deg); -webkit-transform: rotate(-405deg); } @@ -8439,21 +9159,24 @@ body.stop-scrolling { -webkit-animation: animateSuccessTip 0.75s; animation: animateSuccessTip 0.75s; } + .animateSuccessLong { -webkit-animation: animateSuccessLong 0.75s; animation: animateSuccessLong 0.75s; } -.sa-icon.sa-success.animate:after { + +.sa-icon.sa-success.animate::after { -webkit-animation: rotatePlaceholder 4.25s ease-in; animation: rotatePlaceholder 4.25s ease-in; } + @-webkit-keyframes animateErrorIcon { 0% { transform: rotateX(100deg); -webkit-transform: rotateX(100deg); opacity: 0; } - to { + 100% { transform: rotateX(0); -webkit-transform: rotateX(0); opacity: 1; @@ -8465,7 +9188,7 @@ body.stop-scrolling { -webkit-transform: rotateX(100deg); opacity: 0; } - to { + 100% { transform: rotateX(0); -webkit-transform: rotateX(0); opacity: 1; @@ -8475,6 +9198,7 @@ body.stop-scrolling { -webkit-animation: animateErrorIcon 0.5s; animation: animateErrorIcon 0.5s; } + @-webkit-keyframes animateXMark { 0% { transform: scale(0.4); @@ -8493,7 +9217,7 @@ body.stop-scrolling { -webkit-transform: scale(1.15); margin-top: -6px; } - to { + 100% { transform: scale(1); -webkit-transform: scale(1); margin-top: 0; @@ -8518,7 +9242,7 @@ body.stop-scrolling { -webkit-transform: scale(1.15); margin-top: -6px; } - to { + 100% { transform: scale(1); -webkit-transform: scale(1); margin-top: 0; @@ -8529,11 +9253,12 @@ body.stop-scrolling { -webkit-animation: animateXMark 0.5s; animation: animateXMark 0.5s; } + @-webkit-keyframes pulseWarning { 0% { border-color: #f8d486; } - to { + 100% { border-color: #f8bb86; } } @@ -8541,7 +9266,7 @@ body.stop-scrolling { 0% { border-color: #f8d486; } - to { + 100% { border-color: #f8bb86; } } @@ -8549,11 +9274,12 @@ body.stop-scrolling { -webkit-animation: pulseWarning 0.75s infinite alternate; animation: pulseWarning 0.75s infinite alternate; } + @-webkit-keyframes pulseWarningIns { 0% { background-color: #f8d486; } - to { + 100% { background-color: #f8bb86; } } @@ -8561,7 +9287,7 @@ body.stop-scrolling { 0% { background-color: #f8d486; } - to { + 100% { background-color: #f8bb86; } } @@ -8569,14 +9295,15 @@ body.stop-scrolling { -webkit-animation: pulseWarningIns 0.75s infinite alternate; animation: pulseWarningIns 0.75s infinite alternate; } + @-webkit-keyframes rotate-loading { 0% { -webkit-transform: rotate(0); transform: rotate(0); } - to { - -webkit-transform: rotate(1turn); - transform: rotate(1turn); + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); } } @keyframes rotate-loading { @@ -8584,23 +9311,27 @@ body.stop-scrolling { -webkit-transform: rotate(0); transform: rotate(0); } - to { - -webkit-transform: rotate(1turn); - transform: rotate(1turn); + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); } } .sweet-alert .sa-icon.sa-error .sa-line.sa-left { -ms-transform: rotate(45deg) \9; } + .sweet-alert .sa-icon.sa-error .sa-line.sa-right { -ms-transform: rotate(-45deg) \9; } + .sweet-alert .sa-icon.sa-success { border-color: transparent\9; } + .sweet-alert .sa-icon.sa-success .sa-line.sa-tip { -ms-transform: rotate(45deg) \9; } + .sweet-alert .sa-icon.sa-success .sa-line.sa-long { -ms-transform: rotate(-45deg) \9; } @@ -8616,24 +9347,29 @@ body.stop-scrolling { -webkit-box-sizing: border-box; box-sizing: border-box; } + .la-ball-fall { display: block; font-size: 0; color: var(--directorist-color-white); } + .la-ball-fall.la-dark { color: #333; } + .la-ball-fall > div { display: inline-block; float: none; background-color: currentColor; - border: 0 solid; + border: 0 solid currentColor; } + .la-ball-fall { width: 54px; height: 18px; } + .la-ball-fall > div { width: 10px; height: 10px; @@ -8643,45 +9379,55 @@ body.stop-scrolling { -webkit-animation: ball-fall 1s ease-in-out infinite; animation: ball-fall 1s ease-in-out infinite; } -.la-ball-fall > div:first-child { - -webkit-animation-delay: -0.2s; - animation-delay: -0.2s; + +.la-ball-fall > div:nth-child(1) { + -webkit-animation-delay: -200ms; + animation-delay: -200ms; } + .la-ball-fall > div:nth-child(2) { - -webkit-animation-delay: -0.1s; - animation-delay: -0.1s; + -webkit-animation-delay: -100ms; + animation-delay: -100ms; } + .la-ball-fall > div:nth-child(3) { -webkit-animation-delay: 0; animation-delay: 0; } + .la-ball-fall.la-sm { width: 26px; height: 8px; } + .la-ball-fall.la-sm > div { width: 4px; height: 4px; margin: 2px; } + .la-ball-fall.la-2x { width: 108px; height: 36px; } + .la-ball-fall.la-2x > div { width: 20px; height: 20px; margin: 8px; } + .la-ball-fall.la-3x { width: 162px; height: 54px; } + .la-ball-fall.la-3x > div { width: 30px; height: 30px; margin: 12px; } + @-webkit-keyframes ball-fall { 0% { opacity: 0; @@ -8704,7 +9450,7 @@ body.stop-scrolling { 90% { opacity: 0.5; } - to { + 100% { opacity: 0; -webkit-transform: translateY(145%); transform: translateY(145%); @@ -8732,7 +9478,7 @@ body.stop-scrolling { 90% { opacity: 0.5; } - to { + 100% { opacity: 0; -webkit-transform: translateY(145%); transform: translateY(145%); @@ -8750,6 +9496,18 @@ body.stop-scrolling { margin-bottom: 15px; } .directorist-add-listing-types__single__link { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; @@ -8770,7 +9528,6 @@ body.stop-scrolling { -webkit-transition: background 0.2s ease; transition: background 0.2s ease; } -.directorist-add-listing-types__single__link, .directorist-add-listing-types__single__link .directorist-icon-mask { display: -webkit-box; display: -webkit-flex; @@ -8784,8 +9541,6 @@ body.stop-scrolling { -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; -} -.directorist-add-listing-types__single__link .directorist-icon-mask { height: 70px; width: 70px; background-color: var(--directorist-color-primary); @@ -8814,10 +9569,14 @@ body.stop-scrolling { .directorist-icon-mask:after { background-color: var(--directorist-color-primary); } +.directorist-add-listing-types__single__link { + /* Legacy Icon */ +} .directorist-add-listing-types__single__link > i:not(.directorist-icon-mask) { display: inline-block; margin-bottom: 10px; } + .directorist-add-listing-wrapper { display: -webkit-box; display: -webkit-flex; @@ -8826,6 +9585,7 @@ body.stop-scrolling { -webkit-box-sizing: border-box; box-sizing: border-box; } + .directorist-add-listing-form .directorist-content-module { -webkit-box-shadow: var(--directorist-box-shadow); box-shadow: var(--directorist-box-shadow); @@ -8846,19 +9606,20 @@ body.stop-scrolling { .directorist-add-listing-form__privacy a { color: var(--directorist-color-info); } -#directiost-listing-fields_wrapper .directorist-content-module, -.directorist-add-listing-form .directorist-content-module { + +.directorist-add-listing-form .directorist-content-module, +#directiost-listing-fields_wrapper .directorist-content-module { margin-bottom: 35px; border-radius: 12px; } @media (max-width: 991px) { - #directiost-listing-fields_wrapper .directorist-content-module, - .directorist-add-listing-form .directorist-content-module { + .directorist-add-listing-form .directorist-content-module, + #directiost-listing-fields_wrapper .directorist-content-module { margin-bottom: 20px; } } -#directiost-listing-fields_wrapper .directorist-content-module__title, -.directorist-add-listing-form .directorist-content-module__title { +.directorist-add-listing-form .directorist-content-module__title, +#directiost-listing-fields_wrapper .directorist-content-module__title { gap: 15px; min-height: 66px; -webkit-box-pack: start; @@ -8866,8 +9627,8 @@ body.stop-scrolling { -ms-flex-pack: start; justify-content: flex-start; } -#directiost-listing-fields_wrapper .directorist-content-module__title i, -.directorist-add-listing-form .directorist-content-module__title i { +.directorist-add-listing-form .directorist-content-module__title i, +#directiost-listing-fields_wrapper .directorist-content-module__title i { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -8884,33 +9645,33 @@ body.stop-scrolling { height: 36px; border-radius: 100%; } -#directiost-listing-fields_wrapper .directorist-content-module__title i:after, -.directorist-add-listing-form .directorist-content-module__title i:after { +.directorist-add-listing-form .directorist-content-module__title i:after, +#directiost-listing-fields_wrapper .directorist-content-module__title i:after { width: 16px; height: 16px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-address-field.atbdp-form-fade, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-address-field.atbdp-form-fade { padding: 0; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-address-field.atbdp-form-fade > input[name="address"], -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-address-field.atbdp-form-fade > input[name="address"] { padding-left: 10px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-address-field.atbdp-form-fade:before, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-address-field.atbdp-form-fade:before { width: 15px; @@ -8919,19 +9680,23 @@ body.stop-scrolling { right: 0; top: 46px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-address-field.atbdp-form-fade:after, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-address-field.atbdp-form-fade:after { height: 40px; top: 26px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module, +#directiost-listing-fields_wrapper .directorist-content-module { + /* social info */ +} +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields { display: -webkit-box; @@ -8948,19 +9713,19 @@ body.stop-scrolling { gap: 20px; margin: 0 0 25px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields:last-child, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields:last-child { margin: 0 0 40px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields .directorist-form-group, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields .directorist-form-group { @@ -8970,12 +9735,12 @@ body.stop-scrolling { flex: 1; margin: 0; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields .directorist-form-group select, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields .directorist-form-group @@ -8984,12 +9749,12 @@ body.stop-scrolling { font-weight: 500; color: var(--directorist-color-dark); } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields .directorist-form-group select.placeholder-item, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields .directorist-form-group @@ -8998,10 +9763,10 @@ body.stop-scrolling { font-weight: 400; color: var(--directorist-color-light-gray); } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input { display: -webkit-box; @@ -9015,10 +9780,10 @@ body.stop-scrolling { flex: 1; } @media screen and (max-width: 480px) { - #directiost-listing-fields_wrapper + .directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input, - .directorist-add-listing-form + #directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input { gap: 10px; @@ -9029,60 +9794,60 @@ body.stop-scrolling { flex-direction: column; } } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-webkit-input-placeholder, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-webkit-input-placeholder { font-weight: 400; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-moz-placeholder, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-moz-placeholder { font-weight: 400; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input:-ms-input-placeholder, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input:-ms-input-placeholder { font-weight: 400; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-ms-input-placeholder, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-ms-input-placeholder { font-weight: 400; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::placeholder, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::placeholder { font-weight: 400; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__remove, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove { display: -webkit-box; @@ -9102,40 +9867,41 @@ body.stop-scrolling { padding: 0; cursor: pointer; border-radius: 100%; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; background-color: var(--directorist-color-light) !important; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__remove - i:after, -.directorist-add-listing-form + i::after, +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove - i:after { + i::after { width: 12px; height: 12px; background-color: var(--directorist-color-light-gray); } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__remove:hover, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove:hover { background-color: var(--directorist-color-primary) !important; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__remove:hover - i:after, -.directorist-add-listing-form + i::after, +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove:hover - i:after { + i::after { background-color: var(--directorist-color-white); } + #directiost-listing-fields_wrapper .directorist-content-module { background-color: var(--directorist-color-white); border-radius: 0; @@ -9164,8 +9930,8 @@ body.stop-scrolling { #directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove - i:after { - background-color: grey; + i::after { + background-color: #808080; } #directiost-listing-fields_wrapper .directorist-content-module @@ -9175,7 +9941,7 @@ body.stop-scrolling { #directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove:hover - i:after { + i::after { background-color: var(--directorist-color-white); } #directiost-listing-fields_wrapper @@ -9234,16 +10000,16 @@ body.stop-scrolling { } #directiost-listing-fields_wrapper .directorist-content-module - .directorist-custom-field-select + .directorist-form-social-fields select.directorist-form-element, #directiost-listing-fields_wrapper .directorist-content-module - .directorist-form-group - .directorist-form-element.directory_pricing_field, + .directorist-custom-field-select + select.directorist-form-element, #directiost-listing-fields_wrapper .directorist-content-module - .directorist-form-social-fields - select.directorist-form-element { + .directorist-form-group + .directorist-form-element.directory_pricing_field { padding-top: 0; padding-bottom: 0; } @@ -9352,7 +10118,7 @@ body.stop-scrolling { height: 6px; border-radius: 50%; background-color: var(--directorist-color-primary); - border: 0; + border: 0 none; -webkit-mask-image: none; mask-image: none; z-index: 2; @@ -9416,8 +10182,8 @@ body.stop-scrolling { left: 5px; top: 5px; content: ""; - -webkit-mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); - mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); + -webkit-mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); + mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 10px; @@ -9441,10 +10207,10 @@ body.stop-scrolling { .directorist-content-module .plupload-upload-uic .plupload-browse-button-label - i:after { + i::after { width: 50px; height: 45px; - background-color: grey; + background-color: #808080; } #directiost-listing-fields_wrapper .directorist-content-module @@ -9467,7 +10233,7 @@ body.stop-scrolling { .directorist-content-module .directorist-form-social-info-field .directorist-btn - i:after { + i::after { background-color: var(--directorist-color-white); } #directiost-listing-fields_wrapper @@ -9476,6 +10242,11 @@ body.stop-scrolling { #gmap { border-radius: 0; } + +/* ========================== + add listing form fields +============================= */ +/* listing label */ .directorist-form-label { display: block; color: var(--directorist-color-dark); @@ -9483,14 +10254,17 @@ body.stop-scrolling { font-size: 14px; font-weight: 500; } -.directorist-custom-field-checkbox > .directorist-form-label, -.directorist-custom-field-file-upload > .directorist-form-label, + .directorist-custom-field-radio > .directorist-form-label, +.directorist-custom-field-checkbox > .directorist-form-label, +.directorist-form-social-info-field > .directorist-form-label, .directorist-form-image-upload-field > .directorist-form-label, -.directorist-form-pricing-field.price-type-both > .directorist-form-label, -.directorist-form-social-info-field > .directorist-form-label { +.directorist-custom-field-file-upload > .directorist-form-label, +.directorist-form-pricing-field.price-type-both > .directorist-form-label { margin-bottom: 18px; } + +/* listing type */ .directorist-form-listing-type { display: -webkit-box; display: -webkit-flex; @@ -9537,9 +10311,10 @@ body.stop-scrolling { + .directorist-radio__label { width: 100%; height: 100%; + padding: 25px; font-size: 14px; font-weight: 500; - padding: 25px 25px 25px 55px; + padding-left: 55px; border-radius: 12px; color: var(--directorist-color-body); border: 3px solid var(--directorist-color-border-gray); @@ -9554,7 +10329,7 @@ body.stop-scrolling { small { display: block; margin-top: 5px; - font-weight: 400; + font-weight: normal; color: var(--directorist-color-success); } .directorist-form-listing-type @@ -9580,6 +10355,8 @@ body.stop-scrolling { border-color: var(--directorist-color-primary); color: var(--directorist-color-primary); } + +/* Pricing */ .directorist-form-pricing-field__options { display: -webkit-box; display: -webkit-flex; @@ -9648,25 +10425,35 @@ body.stop-scrolling { .directorist-form-pricing-field .directorist-form-element { min-width: 100%; } + .price-type-price_range .directorist-form-pricing-field__options, .price-type-price_unit .directorist-form-pricing-field__options { margin: 0; } + +/* location */ .directorist-select-multi select { display: none; } + #directorist-location-select { z-index: 113 !important; } + +/* tags */ #directorist-tag-select { z-index: 112 !important; } + +/* categories */ #directorist-category-select { z-index: 111 !important; } + .directorist-form-group .select2-selection { border-color: #ececec; } + .directorist-form-group .select2-container--default .select2-selection { min-height: 40px; padding-right: 45px; @@ -9693,17 +10480,22 @@ body.stop-scrolling { .directorist-form-group .select2-container--default .select2-selection input { min-height: 26px; } + +/* hide contact owner */ .directorist-hide-owner-field.directorist-checkbox input[type="checkbox"] + .directorist-checkbox__label { font-size: 15px; font-weight: 700; } + +/* Map style */ .directorist-map-coordinate { margin-top: 20px; } + .directorist-map-coordinates { - padding: 0 0 15px; + padding: 0 0 15px 0; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -9731,12 +10523,14 @@ body.stop-scrolling { flex: 0 0 100% !important; max-width: 100% !important; } + .directorist-add-listing-form .directorist-content-module .directorist-map-coordinates .directorist-form-group:not(.directorist-map-coordinates__generate) { margin-bottom: 20px; } + .directorist-form-map-field__wrapper { margin-bottom: 10px; } @@ -9792,8 +10586,8 @@ body.stop-scrolling { border: 50px solid rgba(var(--directorist-color-dark-rgb), 0.2); opacity: 0; visibility: hidden; - -webkit-animation: atbd_scale 3s linear infinite alternate; - animation: atbd_scale 3s linear infinite alternate; + -webkit-animation: atbd_scale 3s linear alternate infinite; + animation: atbd_scale 3s linear alternate infinite; } .directorist-form-map-field__maps #gmap div[role="img"]:after { content: ""; @@ -9807,8 +10601,8 @@ body.stop-scrolling { mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; - -webkit-mask-image: url(../images/ed83bad2b8ea2a7680575ff079fc63af.svg); - mask-image: url(../images/ed83bad2b8ea2a7680575ff079fc63af.svg); + -webkit-mask-image: url(../js/../images/ed83bad2b8ea2a7680575ff079fc63af.svg); + mask-image: url(../js/../images/ed83bad2b8ea2a7680575ff079fc63af.svg); } .directorist-form-map-field__maps #gmap @@ -9821,10 +10615,10 @@ body.stop-scrolling { } .directorist-form-map-field__maps #gmap - div[role="img"].transit-wheelchair-icon:after, + div[role="img"].transit-wheelchair-icon:before, .directorist-form-map-field__maps #gmap - div[role="img"].transit-wheelchair-icon:before { + div[role="img"].transit-wheelchair-icon:after { display: none; } .directorist-form-map-field__maps #gmap div[role="img"]:hover:before { @@ -9871,13 +10665,15 @@ body.stop-scrolling { width: 16px; height: 16px; background-color: var(--directorist-color-marker-icon); - -webkit-mask-image: url(../images/ed83bad2b8ea2a7680575ff079fc63af.svg); - mask-image: url(../images/ed83bad2b8ea2a7680575ff079fc63af.svg); + -webkit-mask-image: url(../js/../images/ed83bad2b8ea2a7680575ff079fc63af.svg); + mask-image: url(../js/../images/ed83bad2b8ea2a7680575ff079fc63af.svg); } .directorist-form-map-field .atbd_map_shape:hover:before { opacity: 1; visibility: visible; } + +/* EZ Media Upload */ .directorist-form-image-upload-field .ez-media-uploader { text-align: center; border-radius: 12px; @@ -9923,7 +10719,7 @@ body.stop-scrolling { .ez-media-uploader .ezmu__media-picker-section .ezmu-icon-upload - i:after { + i::after { width: 90px; height: 80px; background-color: var(--directorist-color-border-gray); @@ -9967,8 +10763,8 @@ body.stop-scrolling { left: 17px; top: 13px; content: ""; - -webkit-mask-image: url(../images/82bc0acb0537c9331637ee2319728e40.svg); - mask-image: url(../images/82bc0acb0537c9331637ee2319728e40.svg); + -webkit-mask-image: url(../js/../images/82bc0acb0537c9331637ee2319728e40.svg); + mask-image: url(../js/../images/82bc0acb0537c9331637ee2319728e40.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 14px; @@ -10045,8 +10841,8 @@ body.stop-scrolling { mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; - -webkit-mask-image: url(../images/6af1e9612a6d7346e1366489fb9fac45.svg); - mask-image: url(../images/6af1e9612a6d7346e1366489fb9fac45.svg); + -webkit-mask-image: url(../js/../images/6af1e9612a6d7346e1366489fb9fac45.svg); + mask-image: url(../js/../images/6af1e9612a6d7346e1366489fb9fac45.svg); } .directorist-form-image-upload-field .ez-media-uploader @@ -10077,7 +10873,7 @@ body.stop-scrolling { .ez-media-uploader .ezmu__preview-section .ezmu__front-item__close-icon - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 12px; height: 12px; } @@ -10085,7 +10881,7 @@ body.stop-scrolling { .ez-media-uploader .ezmu__preview-section .ezmu__front-item__close-icon:hover - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .directorist-form-image-upload-field @@ -10111,6 +10907,7 @@ body.stop-scrolling { .directorist-form-image-upload-field .ezmu__info-list-item:empty { display: none; } + .directorist-add-listing-wrapper { max-width: 1000px !important; margin: 0 auto; @@ -10136,8 +10933,8 @@ body.stop-scrolling { background-color: rgba(var(--directorist-color-dark-rgb), 0.5); opacity: 0; visibility: visible; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } .directorist-add-listing-wrapper .ezmu__thumbnail-list-item:hover @@ -10215,7 +11012,11 @@ body.stop-scrolling { .directorist-add-listing-wrapper .ezmu__info-list .ezmu__info-list-item:before { width: 16px; height: 16px; - background-image: url(../images/83eed1a628ff52c2adf977f50ac7adb4.svg); + background-image: url(../js/../images/83eed1a628ff52c2adf977f50ac7adb4.svg); +} + +.directorist-add-listing-form { + /* form action */ } .directorist-add-listing-form__action { display: -webkit-box; @@ -10242,9 +11043,9 @@ body.stop-scrolling { .directorist-add-listing-form__action .directorist-form-submit__btn.atbd_loading:after { content: ""; - border-radius: 50%; border: 2px solid #f3f3f3; - border-top-color: #656a7a; + border-radius: 50%; + border-top: 2px solid #656a7a; width: 20px; height: 20px; -webkit-animation: rotate360 2s linear infinite; @@ -10271,8 +11072,8 @@ body.stop-scrolling { .directorist-add-listing-form__action #listing_notifier .atbdp_success { color: var(--directorist-color-success); } -.directorist-add-listing-form__action .directorist-checkbox, -.directorist-add-listing-form__action .directorist-form-group { +.directorist-add-listing-form__action .directorist-form-group, +.directorist-add-listing-form__action .directorist-checkbox { margin: 0; padding: 30px 40px 0; -webkit-box-align: start; @@ -10281,37 +11082,35 @@ body.stop-scrolling { align-items: flex-start; } @media only screen and (max-width: 576px) { - .directorist-add-listing-form__action .directorist-checkbox, - .directorist-add-listing-form__action .directorist-form-group { + .directorist-add-listing-form__action .directorist-form-group, + .directorist-add-listing-form__action .directorist-checkbox { padding: 30px 0 0; } .directorist-add-listing-form__action - .directorist-checkbox.directorist-form-privacy, + .directorist-form-group.directorist-form-privacy, .directorist-add-listing-form__action - .directorist-form-group.directorist-form-privacy { + .directorist-checkbox.directorist-form-privacy { padding: 30px 30px 0; } } @media only screen and (max-width: 480px) { - .directorist-add-listing-form__action .directorist-checkbox, - .directorist-add-listing-form__action .directorist-form-group { + .directorist-add-listing-form__action .directorist-form-group, + .directorist-add-listing-form__action .directorist-checkbox { padding: 30px 20px 0; } } -.directorist-add-listing-form__action .directorist-checkbox label, -.directorist-add-listing-form__action .directorist-form-group label { +.directorist-add-listing-form__action .directorist-form-group label, +.directorist-add-listing-form__action .directorist-checkbox label { font-size: 14px; font-weight: 500; margin: 0 0 10px; } -.directorist-add-listing-form__action .directorist-checkbox label a, -.directorist-add-listing-form__action .directorist-form-group label a { +.directorist-add-listing-form__action .directorist-form-group label a, +.directorist-add-listing-form__action .directorist-checkbox label a { color: var(--directorist-color-info); } -.directorist-add-listing-form__action .directorist-checkbox #guest_user_email, -.directorist-add-listing-form__action - .directorist-form-group - #guest_user_email { +.directorist-add-listing-form__action .directorist-form-group #guest_user_email, +.directorist-add-listing-form__action .directorist-checkbox #guest_user_email { margin: 0 0 10px; } .directorist-add-listing-form__action .directorist-form-required { @@ -10365,6 +11164,10 @@ body.stop-scrolling { .directorist-add-listing-form__publish__icon i:after { width: 25px; height: 25px; + } +} +@media only screen and (max-width: 480px) { + .directorist-add-listing-form__publish__icon i:after { width: 22px; height: 22px; } @@ -10397,14 +11200,19 @@ body.stop-scrolling { top: -25px; border: 50px solid rgba(var(--directorist-color-marker-shape-rgb), 0.2); } -.directorist-add-listing-form .atbd_map_shape .directorist-icon-mask:after { +.directorist-add-listing-form .atbd_map_shape .directorist-icon-mask::after { width: 16px; height: 16px; } + +/* Custom Fields */ +/* select */ .directorist-custom-field-select select.directorist-form-element { padding-top: 0; padding-bottom: 0; } + +/* file upload */ .plupload-upload-uic { width: 420px; margin: 0 auto !important; @@ -10421,6 +11229,8 @@ body.stop-scrolling { margin-top: 10px; color: #9299b8; } + +/* quick login */ .directorist-modal-container { display: none; margin: 0 !important; @@ -10433,9 +11243,11 @@ body.stop-scrolling { right: 0; z-index: 999999999999; } + .directorist-modal-container.show { display: block; } + .directorist-modal-wrap { display: -webkit-box; display: -webkit-flex; @@ -10460,6 +11272,7 @@ body.stop-scrolling { -ms-flex-pack: center; justify-content: center; } + .directorist-modals { display: block; width: 100%; @@ -10469,6 +11282,7 @@ body.stop-scrolling { border-radius: 8px; overflow: hidden; } + .directorist-modal-header { display: -webkit-box; display: -webkit-flex; @@ -10485,21 +11299,26 @@ body.stop-scrolling { align-items: center; border-bottom: 1px solid #e4e4e4; } + .directorist-modal-title-area { display: block; } + .directorist-modal-header .directorist-modal-title { margin-bottom: 0 !important; font-size: 24px; } + .directorist-modal-actions-area { display: block; padding: 0 10px; } + .directorist-modal-body { display: block; padding: 20px; } + .directorist-form-privacy { margin-bottom: 10px; font-size: 14px; @@ -10511,6 +11330,7 @@ body.stop-scrolling { + .directorist-checkbox__label:after { border-color: var(--directorist-color-body); } + .directorist-form-privacy, .directorist-form-terms { display: -webkit-box; @@ -10522,6 +11342,10 @@ body.stop-scrolling { .directorist-form-terms a { text-decoration: none; } + +/* ============================= + backend add listing form +================================*/ .add_listing_form_wrapper .hide-if-no-js { display: -webkit-box; display: -webkit-flex; @@ -10536,6 +11360,7 @@ body.stop-scrolling { -ms-flex-pack: center; justify-content: center; } + #listing_form_info .directorist-bh-wrap .directorist-select select { width: calc(100% - 1px); min-height: 42px; @@ -10543,6 +11368,7 @@ body.stop-scrolling { border-color: #ececec !important; padding: 0 10px; } + .directorist-map-field #floating-panel { margin-bottom: 20px; } @@ -10551,13 +11377,15 @@ body.stop-scrolling { border: 1px solid var(--directorist-color-danger); color: var(--directorist-color-white); } + #listing_form_info .atbd_content_module.atbd-booking-information .atbdb_content_module_contents { padding-top: 20px; } -.directorist-custom-field-checkbox, -.directorist-custom-field-radio { + +.directorist-custom-field-radio, +.directorist-custom-field-checkbox { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -10567,60 +11395,60 @@ body.stop-scrolling { -ms-flex-wrap: wrap; flex-wrap: wrap; } -.directorist-custom-field-checkbox .directorist-custom-field-btn-more, -.directorist-custom-field-checkbox .directorist-form-description, -.directorist-custom-field-checkbox .directorist-form-label, -.directorist-custom-field-radio .directorist-custom-field-btn-more, +.directorist-custom-field-radio .directorist-form-label, .directorist-custom-field-radio .directorist-form-description, -.directorist-custom-field-radio .directorist-form-label { +.directorist-custom-field-radio .directorist-custom-field-btn-more, +.directorist-custom-field-checkbox .directorist-form-label, +.directorist-custom-field-checkbox .directorist-form-description, +.directorist-custom-field-checkbox .directorist-custom-field-btn-more { width: 100%; -webkit-box-flex: 0; -webkit-flex: 0 0 100%; -ms-flex: 0 0 100%; flex: 0 0 100%; } -.directorist-custom-field-checkbox .directorist-checkbox, -.directorist-custom-field-checkbox .directorist-radio, .directorist-custom-field-radio .directorist-checkbox, -.directorist-custom-field-radio .directorist-radio { +.directorist-custom-field-radio .directorist-radio, +.directorist-custom-field-checkbox .directorist-checkbox, +.directorist-custom-field-checkbox .directorist-radio { -webkit-box-flex: 0; -webkit-flex: 0 0 49%; -ms-flex: 0 0 49%; flex: 0 0 49%; } @media only screen and (max-width: 767px) { - .directorist-custom-field-checkbox .directorist-checkbox, - .directorist-custom-field-checkbox .directorist-radio, .directorist-custom-field-radio .directorist-checkbox, - .directorist-custom-field-radio .directorist-radio { + .directorist-custom-field-radio .directorist-radio, + .directorist-custom-field-checkbox .directorist-checkbox, + .directorist-custom-field-checkbox .directorist-radio { -webkit-box-flex: 0; -webkit-flex: 0 0 100%; -ms-flex: 0 0 100%; flex: 0 0 100%; } } -.directorist-custom-field-checkbox .directorist-custom-field-btn-more, -.directorist-custom-field-radio .directorist-custom-field-btn-more { +.directorist-custom-field-radio .directorist-custom-field-btn-more, +.directorist-custom-field-checkbox .directorist-custom-field-btn-more { margin-top: 5px; } -.directorist-custom-field-checkbox .directorist-custom-field-btn-more:after, -.directorist-custom-field-radio .directorist-custom-field-btn-more:after { +.directorist-custom-field-radio .directorist-custom-field-btn-more:after, +.directorist-custom-field-checkbox .directorist-custom-field-btn-more:after { content: ""; display: inline-block; margin-left: 5px; - -webkit-mask-image: url(../images/05feea3d261c8b97573023a74fd26f03.svg); - mask-image: url(../images/05feea3d261c8b97573023a74fd26f03.svg); + -webkit-mask-image: url(../js/../images/05feea3d261c8b97573023a74fd26f03.svg); + mask-image: url(../js/../images/05feea3d261c8b97573023a74fd26f03.svg); width: 12px; height: 12px; background-color: var(--directorist-color-body); } +.directorist-custom-field-radio .directorist-custom-field-btn-more.active:after, .directorist-custom-field-checkbox - .directorist-custom-field-btn-more.active:after, -.directorist-custom-field-radio .directorist-custom-field-btn-more.active:after { - -webkit-mask-image: url(../images/c90867d23032298fc0ff1d456a6fdb30.svg); - mask-image: url(../images/c90867d23032298fc0ff1d456a6fdb30.svg); + -webkit-mask-image: url(../js/../images/c90867d23032298fc0ff1d456a6fdb30.svg); + mask-image: url(../js/../images/c90867d23032298fc0ff1d456a6fdb30.svg); } + .directorist-add-listing-form .select2-container--default .select2-selection @@ -10668,6 +11496,7 @@ body.stop-scrolling { li.select2-search--inline:first-child { width: inherit; } + .multistep-wizard { display: -webkit-box; display: -webkit-flex; @@ -10721,11 +11550,13 @@ body.stop-scrolling { width: 270px; min-height: 36px; padding: 7px 16px; + border: none; outline: none; cursor: pointer; font-size: 14px; font-weight: 400; border-radius: 8px; + border: 1px solid transparent; text-decoration: none !important; color: var(--directorist-color-light-gray); background-color: transparent; @@ -10788,8 +11619,8 @@ body.stop-scrolling { -webkit-transform: translateY(-50%); transform: translateY(-50%); content: ""; - -webkit-mask-image: url(../images/bbed57ce5c92c9a7aa71622e408b6a66.svg); - mask-image: url(../images/bbed57ce5c92c9a7aa71622e408b6a66.svg); + -webkit-mask-image: url(../js/../images/bbed57ce5c92c9a7aa71622e408b6a66.svg); + mask-image: url(../js/../images/bbed57ce5c92c9a7aa71622e408b6a66.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 12px; @@ -10818,19 +11649,21 @@ body.stop-scrolling { font-weight: 600; color: var(--directorist-color-primary); } -.multistep-wizard__nav__btn:focus:before, -.multistep-wizard__nav__btn:focus i:after { +.multistep-wizard__nav__btn:focus:before { + background-color: var(--directorist-color-primary); +} +.multistep-wizard__nav__btn:focus i::after { background-color: var(--directorist-color-primary); } .multistep-wizard__nav__btn.completed { color: var(--directorist-color-primary); } .multistep-wizard__nav__btn.completed:before { - -webkit-mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); - mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); + -webkit-mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); + mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); opacity: 1; } -.multistep-wizard__nav__btn.completed i:after { +.multistep-wizard__nav__btn.completed i::after { background-color: var(--directorist-color-primary); } @media only screen and (max-width: 991px) { @@ -10870,8 +11703,8 @@ body.stop-scrolling { -webkit-transform: translateY(-50%); transform: translateY(-50%); content: ""; - -webkit-mask-image: url(../images/20cfd7ae7ffa8fca3b8d48d7ab39da28.svg); - mask-image: url(../images/20cfd7ae7ffa8fca3b8d48d7ab39da28.svg); + -webkit-mask-image: url(../js/../images/20cfd7ae7ffa8fca3b8d48d7ab39da28.svg); + mask-image: url(../js/../images/20cfd7ae7ffa8fca3b8d48d7ab39da28.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 12px; @@ -10879,8 +11712,8 @@ body.stop-scrolling { background-color: var(--directorist-color-dark); } .multistep-wizard__single .directorist-content-module__title.opened:before { - -webkit-mask-image: url(../images/e9f5f62f416fee88e3f2d027b8b705da.svg); - mask-image: url(../images/e9f5f62f416fee88e3f2d027b8b705da.svg); + -webkit-mask-image: url(../js/../images/e9f5f62f416fee88e3f2d027b8b705da.svg); + mask-image: url(../js/../images/e9f5f62f416fee88e3f2d027b8b705da.svg); } .multistep-wizard__single .directorist-content-module__contents { height: 0; @@ -10980,22 +11813,22 @@ body.stop-scrolling { .multistep-wizard__btn.directorist-btn i:after { background-color: var(--directorist-color-body); } -.multistep-wizard__btn.directorist-btn:focus, -.multistep-wizard__btn.directorist-btn:hover { +.multistep-wizard__btn.directorist-btn:hover, +.multistep-wizard__btn.directorist-btn:focus { color: var(--directorist-color-white); background-color: var(--directorist-color-primary); } -.multistep-wizard__btn.directorist-btn:focus i:after, -.multistep-wizard__btn.directorist-btn:hover i:after { +.multistep-wizard__btn.directorist-btn:hover i:after, +.multistep-wizard__btn.directorist-btn:focus i:after { background-color: var(--directorist-color-white); } -.multistep-wizard__btn[disabled="disabled"], -.multistep-wizard__btn[disabled="true"] { +.multistep-wizard__btn[disabled="true"], +.multistep-wizard__btn[disabled="disabled"] { color: var(--directorist-color-light-gray); pointer-events: none; } -.multistep-wizard__btn[disabled="disabled"] i:after, -.multistep-wizard__btn[disabled="true"] i:after { +.multistep-wizard__btn[disabled="true"] i:after, +.multistep-wizard__btn[disabled="disabled"] i:after { background-color: var(--directorist-color-light-gray); } .multistep-wizard__btn i:after { @@ -11085,25 +11918,28 @@ body.stop-scrolling { width: 100%; height: 54px; } + .logged-in .multistep-wizard__nav.sticky { top: 32px; } + @-webkit-keyframes atbd_scale { 0% { -webkit-transform: scale(0.8); transform: scale(0.8); } - to { + 100% { -webkit-transform: scale(1); transform: scale(1); } } + @keyframes atbd_scale { 0% { -webkit-transform: scale(0.8); transform: scale(0.8); } - to { + 100% { -webkit-transform: scale(1); transform: scale(1); } @@ -11117,9 +11953,10 @@ body.stop-scrolling { padding: 0; border: none; } -#directorist_submit_privacy_policy:after { +#directorist_submit_privacy_policy::after { display: none; } + .upload-error { display: block !important; clear: both; @@ -11130,85 +11967,105 @@ body.stop-scrolling { border-radius: 3px; padding: 15px 20px; } + #upload-msg { display: block; clear: both; } + #content .category_grid_view li a.post_img { height: 65px; width: 90%; overflow: hidden; } + #content .category_grid_view li a.post_img img { margin: 0 auto; display: block; height: 65px; } + #content .category_list_view li a.post_img { height: 110px; width: 165px; overflow: hidden; } + #content .category_list_view li a.post_img img { margin: 0 auto; display: block; height: 110px; } + #sidebar .recent_comments li img.thumb { width: 40px; } + .post_img_tiny img { width: 35px; } + .single_post_blog img.alignleft { width: 96%; height: auto; } -.ecu_images, + +.ecu_images { + width: 100%; +} + .filelist { width: 100%; } + .filelist .file { padding: 5px; background-color: #ececec; - border: 1px solid #ccc; + border: solid 1px #ccc; margin-bottom: 4px; clear: both; text-align: left; } + .filelist .fileprogress { - width: 0; + width: 0%; height: 5px; background-color: #3385ff; } + #custom-filedropbox, .directorist-custom-field-file-upload__wrapper > div { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: start; -webkit-justify-content: flex-start; -ms-flex-pack: start; justify-content: flex-start; gap: 20px; } -#custom-filedropbox, -.directorist-custom-field-file-upload__wrapper > div, + .plupload-upload-uic { + width: 200px; + height: 150px; + padding: 0; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + gap: 15px; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -} -.plupload-upload-uic { - width: 200px; - height: 150px; - padding: 0; - gap: 15px; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; @@ -11229,7 +12086,7 @@ body.stop-scrolling { .plupload-upload-uic .plupload-browse-button-label { cursor: pointer; } -.plupload-upload-uic .plupload-browse-button-label i:after { +.plupload-upload-uic .plupload-browse-button-label i::after { width: 50px; height: 45px; background-color: var(--directorist-color-border-gray); @@ -11245,10 +12102,12 @@ body.stop-scrolling { height: 200px; } } + .plupload-thumbs { clear: both; overflow: hidden; } + .plupload-thumbs .thumb { position: relative; height: 150px; @@ -11262,7 +12121,7 @@ body.stop-scrolling { object-fit: cover; border-radius: 12px; } -.plupload-thumbs .thumb:hover .atbdp-thumb-actions:before { +.plupload-thumbs .thumb:hover .atbdp-thumb-actions::before { opacity: 1; visibility: visible; } @@ -11327,14 +12186,16 @@ body.stop-scrolling { opacity: 0; visibility: hidden; border-radius: 12px; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; background-color: rgba(var(--directorist-color-dark-rgb), 0.5); } + .plupload-thumbs .thumb.atbdp_file { border: none; width: auto; } + .atbdp-add-files .plupload-thumbs .thumb img, .plupload-thumbs .thumb i.atbdp-file-info { cursor: move; @@ -11342,11 +12203,13 @@ body.stop-scrolling { height: 100%; z-index: 1; } + .plupload-thumbs .thumb i.atbdp-file-info { font-size: 50px; padding-top: 10%; z-index: 1; } + .plupload-thumbs .thumb .thumbi { position: absolute; right: -10px; @@ -11354,107 +12217,133 @@ body.stop-scrolling { height: 18px; width: 18px; } + .plupload-thumbs .thumb .thumbi a { text-indent: -8000px; display: block; } -.plupload-thumbs .atbdp-caption-preview, -.plupload-thumbs .atbdp-title-preview { + +.plupload-thumbs .atbdp-title-preview, +.plupload-thumbs .atbdp-caption-preview { position: absolute; top: 10px; left: 5px; font-size: 10px; line-height: 10px; padding: 1px; - background: hsla(0, 0%, 100%, 0.5); + background: rgba(255, 255, 255, 0.5); z-index: 2; overflow: hidden; height: 10px; } + .plupload-thumbs .atbdp-caption-preview { top: auto; bottom: 10px; } -.leaflet-image-layer, -.leaflet-layer, -.leaflet-marker-icon, -.leaflet-marker-shadow, + +/* required styles */ .leaflet-pane, -.leaflet-pane > canvas, -.leaflet-pane > svg, .leaflet-tile, +.leaflet-marker-icon, +.leaflet-marker-shadow, .leaflet-tile-container, -.leaflet-zoom-box { +.leaflet-pane > svg, +.leaflet-pane > canvas, +.leaflet-zoom-box, +.leaflet-image-layer, +.leaflet-layer { position: absolute; left: 0; top: 0; } + .leaflet-container { overflow: hidden; } + +.leaflet-tile, .leaflet-marker-icon, -.leaflet-marker-shadow, -.leaflet-tile { +.leaflet-marker-shadow { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-user-drag: none; } + +/* Prevents IE11 from highlighting tiles in blue */ .leaflet-tile::-moz-selection { background: transparent; } .leaflet-tile::selection { background: transparent; } + +/* Safari renders non-retina tile on retina better with this, but Chrome is worse */ .leaflet-safari .leaflet-tile { image-rendering: -webkit-optimize-contrast; } + +/* hack that prevents hw layers "stretching" when loading new tiles */ .leaflet-safari .leaflet-tile-container { width: 1600px; height: 1600px; -webkit-transform-origin: 0 0; } + .leaflet-marker-icon, .leaflet-marker-shadow { display: block; } -.leaflet-container .leaflet-marker-pane img, + +/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */ +/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */ .leaflet-container .leaflet-overlay-pane svg, +.leaflet-container .leaflet-marker-pane img, .leaflet-container .leaflet-shadow-pane img, -.leaflet-container .leaflet-tile, .leaflet-container .leaflet-tile-pane img, -.leaflet-container img.leaflet-image-layer { +.leaflet-container img.leaflet-image-layer, +.leaflet-container .leaflet-tile { max-width: none !important; max-height: none !important; } + .leaflet-container.leaflet-touch-zoom { -ms-touch-action: pan-x pan-y; touch-action: pan-x pan-y; } + .leaflet-container.leaflet-touch-drag { -ms-touch-action: pinch-zoom; + /* Fallback for FF which doesn't support pinch-zoom */ touch-action: none; touch-action: pinch-zoom; } + .leaflet-container.leaflet-touch-drag.leaflet-touch-zoom { -ms-touch-action: none; touch-action: none; } + .leaflet-container { -webkit-tap-highlight-color: transparent; } + .leaflet-container a { -webkit-tap-highlight-color: rgba(145, 175, 186, 0.4); } + .leaflet-tile { -webkit-filter: inherit; filter: inherit; visibility: hidden; } + .leaflet-tile-loaded { visibility: inherit; } + .leaflet-zoom-box { width: 0; height: 0; @@ -11462,106 +12351,141 @@ body.stop-scrolling { box-sizing: border-box; z-index: 800; } + +/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */ .leaflet-overlay-pane svg { -moz-user-select: none; } + .leaflet-pane { z-index: 400; } + .leaflet-tile-pane { z-index: 200; } + .leaflet-overlay-pane { z-index: 400; } + .leaflet-shadow-pane { z-index: 500; } + .leaflet-marker-pane { z-index: 600; } + .leaflet-tooltip-pane { z-index: 650; } + .leaflet-popup-pane { z-index: 700; } + .leaflet-map-pane canvas { z-index: 100; } + .leaflet-map-pane svg { z-index: 200; } + .leaflet-vml-shape { width: 1px; height: 1px; } + .lvml { behavior: url(#default#VML); display: inline-block; position: absolute; } + +/* control positioning */ .leaflet-control { position: relative; z-index: 800; - pointer-events: visiblePainted; + pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */ pointer-events: auto; } -.leaflet-bottom, -.leaflet-top { + +.leaflet-top, +.leaflet-bottom { position: absolute; z-index: 1000; pointer-events: none; } + .leaflet-top { top: 0; } + .leaflet-right { right: 0; display: none; } + .leaflet-bottom { bottom: 0; } + .leaflet-left { left: 0; } + .leaflet-control { float: left; clear: both; } + .leaflet-right .leaflet-control { float: right; } + .leaflet-top .leaflet-control { margin-top: 10px; } + .leaflet-bottom .leaflet-control { margin-bottom: 10px; } + .leaflet-left .leaflet-control { margin-left: 10px; } + .leaflet-right .leaflet-control { margin-right: 10px; } + +/* zoom and fade animations */ .leaflet-fade-anim .leaflet-tile { will-change: opacity; } + .leaflet-fade-anim .leaflet-popup { opacity: 0; -webkit-transition: opacity 0.2s linear; transition: opacity 0.2s linear; } + .leaflet-fade-anim .leaflet-map-pane .leaflet-popup { opacity: 1; } + .leaflet-zoom-animated { -webkit-transform-origin: 0 0; transform-origin: 0 0; } + .leaflet-zoom-anim .leaflet-zoom-animated { will-change: transform; +} + +.leaflet-zoom-anim .leaflet-zoom-animated { -webkit-transition: -webkit-transform 0.25s cubic-bezier(0, 0, 0.25, 1); transition: -webkit-transform 0.25s cubic-bezier(0, 0, 0.25, 1); transition: transform 0.25s cubic-bezier(0, 0, 0.25, 1); @@ -11569,29 +12493,37 @@ body.stop-scrolling { transform 0.25s cubic-bezier(0, 0, 0.25, 1), -webkit-transform 0.25s cubic-bezier(0, 0, 0.25, 1); } -.leaflet-pan-anim .leaflet-tile, -.leaflet-zoom-anim .leaflet-tile { + +.leaflet-zoom-anim .leaflet-tile, +.leaflet-pan-anim .leaflet-tile { -webkit-transition: none; transition: none; } + .leaflet-zoom-anim .leaflet-zoom-hide { visibility: hidden; } + +/* cursors */ .leaflet-interactive { cursor: pointer; } + .leaflet-grab { cursor: -webkit-grab; cursor: grab; } + .leaflet-crosshair, .leaflet-crosshair .leaflet-interactive { cursor: crosshair; } -.leaflet-control, -.leaflet-popup-pane { + +.leaflet-popup-pane, +.leaflet-control { cursor: auto; } + .leaflet-dragging .leaflet-grab, .leaflet-dragging .leaflet-grab .leaflet-interactive, .leaflet-dragging .leaflet-marker-draggable { @@ -11599,47 +12531,60 @@ body.stop-scrolling { cursor: -webkit-grabbing; cursor: grabbing; } -.leaflet-image-layer, + +/* marker & overlays interactivity */ .leaflet-marker-icon, .leaflet-marker-shadow, +.leaflet-image-layer, .leaflet-pane > svg path, .leaflet-tile-container { pointer-events: none; } -.leaflet-image-layer.leaflet-interactive, + .leaflet-marker-icon.leaflet-interactive, +.leaflet-image-layer.leaflet-interactive, .leaflet-pane > svg path.leaflet-interactive, svg.leaflet-image-layer.leaflet-interactive path { - pointer-events: visiblePainted; + pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */ pointer-events: auto; } + +/* visual tweaks */ .leaflet-container { background-color: #ddd; outline: 0; } -.leaflet-container .map-listing-card-single__content a, -.leaflet-container a { + +.leaflet-container a, +.leaflet-container .map-listing-card-single__content a { color: #404040; } + .leaflet-container a.leaflet-active { outline: 2px solid #fa8b0c; } + .leaflet-zoom-box { border: 2px dotted var(--directorist-color-info); - background: hsla(0, 0%, 100%, 0.5); + background: rgba(255, 255, 255, 0.5); } + +/* general typography */ .leaflet-container { font: - 12px/1.5 Helvetica Neue, + 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif; } + +/* general toolbar styles */ .leaflet-bar { -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65); box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65); border-radius: 4px; } + .leaflet-bar a, .leaflet-bar a:hover { background-color: var(--directorist-color-white); @@ -11650,130 +12595,163 @@ svg.leaflet-image-layer.leaflet-interactive path { display: block; text-align: center; text-decoration: none; - color: #000; + color: black; } + .leaflet-bar a, .leaflet-control-layers-toggle { background-position: 50% 50%; background-repeat: no-repeat; display: block; } + .leaflet-bar a:hover { background-color: #f4f4f4; } + .leaflet-bar a:first-child { border-top-left-radius: 4px; border-top-right-radius: 4px; } + .leaflet-bar a:last-child { border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-bottom: none; } + .leaflet-bar a.leaflet-disabled { cursor: default; background-color: #f4f4f4; color: #bbb; } + .leaflet-touch .leaflet-bar a { width: 30px; height: 30px; line-height: 30px; } + .leaflet-touch .leaflet-bar a:first-child { border-top-left-radius: 2px; border-top-right-radius: 2px; } + .leaflet-touch .leaflet-bar a:last-child { border-bottom-left-radius: 2px; border-bottom-right-radius: 2px; } + +/* zoom control */ .leaflet-control-zoom-in, .leaflet-control-zoom-out { font: - 700 18px Lucida Console, + bold 18px "Lucida Console", Monaco, monospace; text-indent: 1px; } + .leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out { font-size: 22px; } + +/* layers control */ .leaflet-control-layers { -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4); box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4); background-color: var(--directorist-color-white); border-radius: 5px; } + .leaflet-control-layers-toggle { width: 36px; height: 36px; } + .leaflet-retina .leaflet-control-layers-toggle { background-size: 26px 26px; } + .leaflet-touch .leaflet-control-layers-toggle { width: 44px; height: 44px; } -.leaflet-control-layers-expanded .leaflet-control-layers-toggle, -.leaflet-control-layers .leaflet-control-layers-list { + +.leaflet-control-layers .leaflet-control-layers-list, +.leaflet-control-layers-expanded .leaflet-control-layers-toggle { display: none; } + .leaflet-control-layers-expanded .leaflet-control-layers-list { display: block; position: relative; } + .leaflet-control-layers-expanded { padding: 6px 10px 6px 6px; color: #333; background-color: var(--directorist-color-white); } + .leaflet-control-layers-scrollbar { overflow-y: scroll; overflow-x: hidden; padding-right: 5px; } + .leaflet-control-layers-selector { margin-top: 2px; position: relative; top: 1px; } + .leaflet-control-layers label { display: block; } + .leaflet-control-layers-separator { height: 0; border-top: 1px solid #ddd; margin: 5px -10px 5px -6px; } + +/* Default icon URLs */ +/* attribution and scale controls */ .leaflet-container .leaflet-control-attribution { background-color: var(--directorist-color-white); - background: hsla(0, 0%, 100%, 0.7); + background: rgba(255, 255, 255, 0.7); margin: 0; } + .leaflet-control-attribution, .leaflet-control-scale-line { padding: 0 5px; color: #333; } + .leaflet-control-attribution a { text-decoration: none; } + .leaflet-control-attribution a:hover { text-decoration: underline; } + .leaflet-container .leaflet-control-attribution, .leaflet-container .leaflet-control-scale { font-size: 11px; } + .leaflet-left .leaflet-control-scale { margin-left: 5px; } + .leaflet-bottom .leaflet-control-scale { margin-bottom: 5px; } + .leaflet-control-scale-line { border: 2px solid #777; border-top: none; @@ -11785,44 +12763,54 @@ svg.leaflet-image-layer.leaflet-interactive path { -webkit-box-sizing: border-box; box-sizing: border-box; background-color: var(--directorist-color-white); - background: hsla(0, 0%, 100%, 0.5); + background: rgba(255, 255, 255, 0.5); } + .leaflet-control-scale-line:not(:first-child) { border-top: 2px solid #777; border-bottom: none; margin-top: -2px; } + .leaflet-control-scale-line:not(:first-child):not(:last-child) { border-bottom: 2px solid #777; } -.leaflet-touch .leaflet-bar, + .leaflet-touch .leaflet-control-attribution, -.leaflet-touch .leaflet-control-layers { +.leaflet-touch .leaflet-control-layers, +.leaflet-touch .leaflet-bar { -webkit-box-shadow: none; box-shadow: none; } -.leaflet-touch .leaflet-bar, -.leaflet-touch .leaflet-control-layers { + +.leaflet-touch .leaflet-control-layers, +.leaflet-touch .leaflet-bar { border: 2px solid rgba(0, 0, 0, 0.2); background-clip: padding-box; } + +/* popup */ .leaflet-popup { position: absolute; text-align: center; margin-bottom: 20px; } + .leaflet-popup-content-wrapper { padding: 1px; text-align: left; border-radius: 10px; } + .leaflet-popup-content { margin: 13px 19px; line-height: 1.4; } + .leaflet-popup-content p { margin: 18px 0; } + .leaflet-popup-tip-container { width: 40px; height: 20px; @@ -11832,6 +12820,7 @@ svg.leaflet-image-layer.leaflet-interactive path { overflow: hidden; pointer-events: none; } + .leaflet-popup-tip { width: 17px; height: 17px; @@ -11840,13 +12829,15 @@ svg.leaflet-image-layer.leaflet-interactive path { -webkit-transform: rotate(45deg); transform: rotate(45deg); } + .leaflet-popup-content-wrapper, .leaflet-popup-tip { - background: #fff; + background: white; color: #333; -webkit-box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4); box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4); } + .leaflet-container a.leaflet-popup-close-button { position: absolute; top: 0; @@ -11862,45 +12853,54 @@ svg.leaflet-image-layer.leaflet-interactive path { sans-serif; color: #c3c3c3; text-decoration: none; - font-weight: 700; + font-weight: bold; background: transparent; } + .leaflet-container a.leaflet-popup-close-button:hover { color: #999; } + .leaflet-popup-scrolled { overflow: auto; border-bottom: 1px solid #ddd; border-top: 1px solid #ddd; } + .leaflet-oldie .leaflet-popup-content-wrapper { zoom: 1; } + .leaflet-oldie .leaflet-popup-tip { width: 24px; margin: 0 auto; -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)"; - filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678,M12=0.70710678,M21=-0.70710678,M22=0.70710678); + filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678); } + .leaflet-oldie .leaflet-popup-tip-container { margin-top: -1px; } -.leaflet-oldie .leaflet-control-layers, + .leaflet-oldie .leaflet-control-zoom, +.leaflet-oldie .leaflet-control-layers, .leaflet-oldie .leaflet-popup-content-wrapper, .leaflet-oldie .leaflet-popup-tip { border: 1px solid #999; } + +/* div icon */ .leaflet-div-icon { - border: 1px solid #666; -} -.leaflet-div-icon, -.leaflet-tooltip { background-color: var(--directorist-color-white); + border: 1px solid #666; } + +/* Tooltip */ +/* Base styles for the element that has a tooltip */ .leaflet-tooltip { position: absolute; padding: 6px; + background-color: var(--directorist-color-white); border: 1px solid var(--directorist-color-white); border-radius: 3px; color: #222; @@ -11913,63 +12913,77 @@ svg.leaflet-image-layer.leaflet-interactive path { -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); } + .leaflet-tooltip.leaflet-clickable { cursor: pointer; pointer-events: auto; } + +.leaflet-tooltip-top:before, .leaflet-tooltip-bottom:before, .leaflet-tooltip-left:before, -.leaflet-tooltip-right:before, -.leaflet-tooltip-top:before { +.leaflet-tooltip-right:before { position: absolute; pointer-events: none; border: 6px solid transparent; background: transparent; content: ""; } + +/* Directions */ .leaflet-tooltip-bottom { margin-top: 6px; } + .leaflet-tooltip-top { margin-top: -6px; } + .leaflet-tooltip-bottom:before, .leaflet-tooltip-top:before { left: 50%; margin-left: -6px; } + .leaflet-tooltip-top:before { bottom: 0; margin-bottom: -12px; border-top-color: var(--directorist-color-white); } + .leaflet-tooltip-bottom:before { top: 0; margin-top: -12px; margin-left: -6px; border-bottom-color: var(--directorist-color-white); } + .leaflet-tooltip-left { margin-left: -6px; } + .leaflet-tooltip-right { margin-left: 6px; } + .leaflet-tooltip-left:before, .leaflet-tooltip-right:before { top: 50%; margin-top: -6px; } + .leaflet-tooltip-left:before { right: 0; margin-right: -12px; border-left-color: var(--directorist-color-white); } + .leaflet-tooltip-right:before { left: 0; margin-left: -12px; border-right-color: var(--directorist-color-white); } + .directorist-content-active #map { position: relative; width: 100%; @@ -12000,7 +13014,7 @@ svg.leaflet-image-layer.leaflet-interactive path { background-color: var(--directorist-color-white); cursor: pointer; } -.directorist-content-active #gmap_full_screen_button i:after { +.directorist-content-active #gmap_full_screen_button i::after { width: 22px; height: 22px; -webkit-transition: all 0.3s ease-in-out; @@ -12021,7 +13035,7 @@ svg.leaflet-image-layer.leaflet-interactive path { margin-top: -20px; margin-left: -100px; background-color: var(--directorist-color-white); - background-color: hsla(0, 0%, 100%, 0.7); + background-color: rgba(255, 255, 255, 0.7); border-radius: 4px; padding: 2px; } @@ -12036,8 +13050,8 @@ svg.leaflet-image-layer.leaflet-interactive path { height: 50px !important; margin: 20px !important; border-radius: 10px !important; - -webkit-box-shadow: 0 2px 20px rgba(0, 0, 0, 0.26) !important; - box-shadow: 0 2px 20px rgba(0, 0, 0, 0.26) !important; + -webkit-box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.26) !important; + box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.26) !important; } .directorist-content-active .gmnoprint { border-radius: 5px; @@ -12062,16 +13076,21 @@ svg.leaflet-image-layer.leaflet-interactive path { .directorist-content-active .version-disabled { text-decoration: line-through; } + +/* For sortable field */ .ui-sortable tr:hover { cursor: move; } + .ui-sortable tr.alternate { background-color: #f9f9f9; } + .ui-sortable tr.ui-sortable-helper { background-color: #f9f9f9; border-top: 1px solid #dfdfdf; } + .directorist-form-group { position: relative; width: 100%; @@ -12131,12 +13150,14 @@ svg.leaflet-image-layer.leaflet-interactive path { -ms-flex-order: 2; order: 2; } + .directorist-advanced-filter__advanced__element .directorist-search-field.input-is-focused .directorist-form-group__with-prefix .directorist-search-field__input { padding-right: 0 !important; } + .directorist-form-group label { margin: 0; font-size: 14px; @@ -12172,6 +13193,7 @@ svg.leaflet-image-layer.leaflet-interactive path { margin-top: 10px; color: var(--directorist-color-deep-gray); } + .directorist-form-element.directorist-form-element-lg { height: 50px; } @@ -12186,6 +13208,7 @@ svg.leaflet-image-layer.leaflet-interactive path { height: 30px; line-height: 30px; } + .directorist-form-group.directorist-icon-left .directorist-input-icon { left: 0; } @@ -12227,12 +13250,15 @@ svg.leaflet-image-layer.leaflet-interactive path { margin-top: 0; } } + .directorist-label { margin-bottom: 0; } + input.directorist-toggle-input { display: none; } + .directorist-toggle-input-label { display: -webkit-box; display: -webkit-flex; @@ -12247,6 +13273,7 @@ input.directorist-toggle-input { -ms-flex-pack: justify; justify-content: space-between; } + span.directorist-toggle-input-label-text { -webkit-box-flex: 1; -webkit-flex-grow: 1; @@ -12254,63 +13281,72 @@ span.directorist-toggle-input-label-text { flex-grow: 1; padding-right: 10px; } + span.directorist-toggle-input-label-icon { position: relative; + display: inline-block; width: 50px; height: 25px; border-radius: 30px; background-color: #d9d9d9; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } -span.directorist-toggle-input-label-icon, -span.directorist-toggle-input-label-icon:after { - display: inline-block; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; -} -span.directorist-toggle-input-label-icon:after { + +span.directorist-toggle-input-label-icon::after { content: ""; position: absolute; + display: inline-block; width: 15px; height: 15px; border-radius: 50%; background-color: var(--directorist-color-white); top: 50%; - -webkit-transform: translateY(-50%); - transform: translateY(-50%); + -webkit-transform: translate(0, -50%); + transform: translate(0, -50%); + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } + input.directorist-toggle-input:checked + .directorist-toggle-input-label span.directorist-toggle-input-label-icon { background-color: #4353ff; } + input.directorist-toggle-input:not(:checked) + .directorist-toggle-input-label - span.directorist-toggle-input-label-icon:after { + span.directorist-toggle-input-label-icon::after { left: 5px; } + input.directorist-toggle-input:checked + .directorist-toggle-input-label - span.directorist-toggle-input-label-icon:after { + span.directorist-toggle-input-label-icon::after { left: calc(100% - 20px); } + .directorist-flex-content { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } + .directorist-flex-space-between { -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; } + .directorist-flex-grow-1 { -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; flex-grow: 1; } + .directorist-tab-navigation { padding: 0; margin: 0 -10px 20px; @@ -12327,6 +13363,7 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; } + .directorist-tab-navigation-list-item { position: relative; list-style: none; @@ -12347,7 +13384,7 @@ input.directorist-toggle-input:checked color: var(--directorist-color-white); background-color: var(--directorist-color-primary); } -.directorist-tab-navigation-list-item.--is-active:after { +.directorist-tab-navigation-list-item.--is-active::after { content: ""; position: absolute; left: 50%; @@ -12357,13 +13394,14 @@ input.directorist-toggle-input:checked border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 10px solid var(--directorist-color-primary); - -webkit-transform: translate(-50%); - transform: translate(-50%); + -webkit-transform: translate(-50%, 0); + transform: translate(-50%, 0); } .directorist-tab-navigation-list-item .directorist-tab-navigation-list-item-link { margin: -15px -20px; } + .directorist-tab-navigation-list-item-link { position: relative; display: block; @@ -12374,8 +13412,8 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-bg-light); } .directorist-tab-navigation-list-item-link:active, -.directorist-tab-navigation-list-item-link:focus, -.directorist-tab-navigation-list-item-link:visited { +.directorist-tab-navigation-list-item-link:visited, +.directorist-tab-navigation-list-item-link:focus { outline: none; -webkit-box-shadow: none; box-shadow: none; @@ -12386,7 +13424,7 @@ input.directorist-toggle-input:checked color: var(--directorist-color-white); background-color: var(--directorist-color-primary); } -.directorist-tab-navigation-list-item-link.--is-active:after { +.directorist-tab-navigation-list-item-link.--is-active::after { content: ""; position: absolute; left: 50%; @@ -12396,34 +13434,36 @@ input.directorist-toggle-input:checked border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 10px solid var(--directorist-color-primary); - -webkit-transform: translate(-50%); - transform: translate(-50%); + -webkit-transform: translate(-50%, 0); + transform: translate(-50%, 0); } + .directorist-tab-content { display: none; } .directorist-tab-content.--is-active { display: block; } + .directorist-headline-4 { - margin: 0 0 15px; + margin: 0 0 15px 0; font-size: 15px; - font-weight: 400; + font-weight: normal; } + .directorist-label-addon-prepend { margin-right: 10px; } + .--is-hidden { display: none; } + .directorist-flex-center { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -} -.directorist-btn, -.directorist-flex-center { -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; @@ -12433,11 +13473,21 @@ input.directorist-toggle-input:checked -ms-flex-pack: center; justify-content: center; } + +/* Directorist button styles */ .directorist-btn { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; gap: 5px; font-size: 14px; font-weight: 500; @@ -12459,8 +13509,8 @@ input.directorist-toggle-input:checked text-decoration: none; background-color: var(--directorist-color-primary); color: var(--directorist-color-white); - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; text-decoration: none !important; } .directorist-btn .directorist-icon-mask:after { @@ -12472,12 +13522,13 @@ input.directorist-toggle-input:checked .directorist-btn.directorist-btn--logout { line-height: 43px; } -.directorist-btn:focus, -.directorist-btn:hover { +.directorist-btn:hover, +.directorist-btn:focus { color: var(--directorist-color-white); outline: 0 !important; background-color: rgba(var(--directorist-color-primary-rgb), 0.8); } + .directorist-btn.directorist-btn-primary { background-color: var(--directorist-color-btn-primary-bg); color: var(--directorist-color-btn-primary); @@ -12599,6 +13650,7 @@ input.directorist-toggle-input:checked pointer-events: none; opacity: 0.75; } + .directorist-btn.directorist-btn-outline { background: transparent; border: 1px solid var(--directorist-color-border) !important; @@ -12689,6 +13741,7 @@ input.directorist-toggle-input:checked color: var(--directorist-color-white); background-color: var(--directorist-color-dark); } + .directorist-btn.directorist-btn-lg { min-height: 50px; } @@ -12710,26 +13763,29 @@ input.directorist-toggle-input:checked display: -ms-flexbox; display: flex; } + @-webkit-keyframes spin-centered { - 0% { + from { -webkit-transform: translateX(-50%) rotate(0deg); transform: translateX(-50%) rotate(0deg); } to { - -webkit-transform: translateX(-50%) rotate(1turn); - transform: translateX(-50%) rotate(1turn); + -webkit-transform: translateX(-50%) rotate(360deg); + transform: translateX(-50%) rotate(360deg); } } + @keyframes spin-centered { - 0% { + from { -webkit-transform: translateX(-50%) rotate(0deg); transform: translateX(-50%) rotate(0deg); } to { - -webkit-transform: translateX(-50%) rotate(1turn); - transform: translateX(-50%) rotate(1turn); + -webkit-transform: translateX(-50%) rotate(360deg); + transform: translateX(-50%) rotate(360deg); } } +/* Modal Core Styles */ .directorist-modal { position: fixed; width: 100%; @@ -12742,6 +13798,7 @@ input.directorist-toggle-input:checked overflow: auto; outline: 0; } + .directorist-modal__dialog { position: relative; width: 500px; @@ -12765,9 +13822,11 @@ input.directorist-toggle-input:checked min-height: calc(100% - 80px); pointer-events: none; } + .directorist-modal__dialog-lg { width: 900px; } + .directorist-modal__content { width: 100%; background-color: var(--directorist-color-white); @@ -12810,8 +13869,8 @@ input.directorist-toggle-input:checked line-height: 1.45; padding: 6px; text-decoration: none; - -webkit-transition: background-color 0.2s ease-in-out; - transition: background-color 0.2s ease-in-out; + -webkit-transition: 0.2s background-color ease-in-out; + transition: 0.2s background-color ease-in-out; background-color: var(--directorist-color-bg-light); } .directorist-modal__content @@ -12858,15 +13917,19 @@ input.directorist-toggle-input:checked .directorist-form-element { resize: none; } + .directorist-modal__dialog.directorist-modal--lg { width: 800px; } + .directorist-modal__dialog.directorist-modal--xl { width: 1140px; } + .directorist-modal__dialog.directorist-modal--sm { width: 300px; } + .directorist-modal.directorist-fade { -webkit-transition: 0.3s ease; transition: 0.3s ease; @@ -12874,16 +13937,19 @@ input.directorist-toggle-input:checked visibility: visible; z-index: 9999; } + .directorist-modal.directorist-fade:not(.directorist-show) { opacity: 0; visibility: hidden; } + .directorist-modal.directorist-show .directorist-modal__dialog { opacity: 1; visibility: visible; -webkit-transition: 0.3s ease; transition: 0.3s ease; } + .directorist-search-modal__overlay { position: fixed; top: 0; @@ -12903,8 +13969,8 @@ input.directorist-toggle-input:checked height: 100%; background: rgba(var(--directorist-color-dark-rgb), 0.5); opacity: 1; - -webkit-transition: all 0.4s ease; - transition: all 0.4s ease; + -webkit-transition: all ease 0.4s; + transition: all ease 0.4s; } .directorist-search-modal__contents { position: fixed; @@ -12920,8 +13986,8 @@ input.directorist-toggle-input:checked visibility: hidden; z-index: 9999; border-radius: 12px; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; background-color: var(--directorist-color-white); } @media only screen and (max-width: 575px) { @@ -13065,10 +14131,10 @@ input.directorist-toggle-input:checked .directorist-search-field__input.directorist-form-element[type="date"], .directorist-search-modal__contents__body .directorist-search-field - .directorist-search-field__input.directorist-form-element[type="number"], + .directorist-search-field__input.directorist-form-element[type="time"], .directorist-search-modal__contents__body .directorist-search-field - .directorist-search-field__input.directorist-form-element[type="time"] { + .directorist-search-field__input.directorist-form-element[type="number"] { padding-right: 0; } .directorist-search-modal__contents__body .directorist-search-field__btn { @@ -13084,7 +14150,7 @@ input.directorist-toggle-input:checked } .directorist-search-modal__contents__body .directorist-search-field__btn--clear - i:after { + i::after { width: 16px; height: 16px; background-color: #bcbcbc; @@ -13093,7 +14159,7 @@ input.directorist-toggle-input:checked } .directorist-search-modal__contents__body .directorist-search-field__btn--clear:hover - i:after { + i::after { background-color: var(--directorist-color-primary); } .directorist-search-modal__contents__body @@ -13105,7 +14171,9 @@ input.directorist-toggle-input:checked } .directorist-search-modal__contents__body .directorist-search-field.input-is-focused - .directorist-search-field__input[type="date"], + .directorist-search-field__input[type="date"] { + padding-right: 20px; +} .directorist-search-modal__contents__body .directorist-search-field.input-is-focused .directorist-search-field__input[type="time"] { @@ -13155,10 +14223,10 @@ input.directorist-toggle-input:checked } .directorist-search-modal__contents__body .directorist-search-field.input-is-focused - .directorist-search-field__input, + .directorist-select, .directorist-search-modal__contents__body .directorist-search-field.input-is-focused - .directorist-select { + .directorist-search-field__input { position: relative; bottom: -5px; } @@ -13224,7 +14292,7 @@ input.directorist-toggle-input:checked .directorist-search-field .directorist-filter-location-icon .directorist-icon-mask:after { - background-color: grey; + background-color: #808080; } .directorist-search-modal__contents__body .directorist-search-field @@ -13251,7 +14319,7 @@ input.directorist-toggle-input:checked .directorist-icon-mask:after { width: 12px; height: 12px; - background-color: grey; + background-color: #808080; } .directorist-search-modal__contents__body .directorist-search-form-dropdown { border-bottom: 1px solid var(--directorist-color-border); @@ -13362,14 +14430,14 @@ input.directorist-toggle-input:checked border: none; cursor: pointer; } -.directorist-search-modal__contents__btn i:after { +.directorist-search-modal__contents__btn i::after { width: 10px; height: 10px; - -webkit-transition: background-color 0.3s ease; - transition: background-color 0.3s ease; + -webkit-transition: background-color ease 0.3s; + transition: background-color ease 0.3s; background-color: var(--directorist-color-dark); } -.directorist-search-modal__contents__btn:hover i:after { +.directorist-search-modal__contents__btn:hover i::after { background-color: var(--directorist-color-danger); } @media only screen and (max-width: 575px) { @@ -13378,7 +14446,7 @@ input.directorist-toggle-input:checked height: auto; background: transparent; } - .directorist-search-modal__contents__btn i:after { + .directorist-search-modal__contents__btn i::after { width: 12px; height: 12px; } @@ -13441,8 +14509,8 @@ input.directorist-toggle-input:checked top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; width: 16px; height: 16px; -webkit-mask-position: center; @@ -13450,8 +14518,8 @@ input.directorist-toggle-input:checked -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; background-color: var(--directorist-color-body); - -webkit-mask-image: url(../images/9ddfe727fdcddbb985d69ce2e9a06358.svg); - mask-image: url(../images/9ddfe727fdcddbb985d69ce2e9a06358.svg); + -webkit-mask-image: url(../js/../images/9ddfe727fdcddbb985d69ce2e9a06358.svg); + mask-image: url(../js/../images/9ddfe727fdcddbb985d69ce2e9a06358.svg); } .directorist-search-modal--basic .directorist-search-form-action__modal__btn-search { @@ -13461,7 +14529,7 @@ input.directorist-toggle-input:checked } .directorist-search-modal--basic .directorist-search-form-action__modal__btn-search - i:after { + i::after { background-color: currentColor; } @media screen and (max-width: 575px) { @@ -13493,8 +14561,8 @@ input.directorist-toggle-input:checked mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; - -webkit-mask-image: url(../images/447c512963a6e865700c065e70bb46b7.svg); - mask-image: url(../images/447c512963a6e865700c065e70bb46b7.svg); + -webkit-mask-image: url(../js/../images/447c512963a6e865700c065e70bb46b7.svg); + mask-image: url(../js/../images/447c512963a6e865700c065e70bb46b7.svg); opacity: 0; } .directorist-search-modal--basic @@ -13558,11 +14626,11 @@ input.directorist-toggle-input:checked .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field - .directorist-search-field__input, + .directorist-select, .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field - .directorist-select { + .directorist-search-field__input { width: 100%; padding-right: 0; } @@ -13687,23 +14755,23 @@ input.directorist-toggle-input:checked .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field.input-is-focused:not(.input-has-noLabel) - .directorist-filter-location-icon + .directorist-select ~ .directorist-search-field__btn--clear, .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field.input-is-focused:not(.input-has-noLabel) - .directorist-select + .directorist-filter-location-icon ~ .directorist-search-field__btn--clear { right: 5px !important; } .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field.input-is-focused:not(.input-has-noLabel) - .directorist-search-field__input, + .directorist-select, .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field.input-is-focused:not(.input-has-noLabel) - .directorist-select { + .directorist-search-field__input { padding-right: 0; } .directorist-search-modal--basic @@ -13772,32 +14840,32 @@ input.directorist-toggle-input:checked } .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-has-value, + .directorist-search-field.input-is-focused, .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-is-focused { + .directorist-search-field.input-has-value { padding-right: 0; } .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-has-value + .directorist-search-field.input-is-focused .directorist-select, .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-is-focused + .directorist-search-field.input-has-value .directorist-select { width: 100%; } .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-has-value + .directorist-search-field.input-is-focused .directorist-select .select2-container .directorist-select2-addons-area .directorist-select2-dropdown-toggle, .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-is-focused + .directorist-search-field.input-has-value .directorist-select .select2-container .directorist-select2-addons-area @@ -13806,12 +14874,12 @@ input.directorist-toggle-input:checked } .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-has-value + .directorist-search-field.input-is-focused .directorist-select ~ .directorist-search-field__btn--clear, .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-is-focused + .directorist-search-field.input-has-value .directorist-select ~ .directorist-search-field__btn--clear { right: 20px !important; @@ -13829,10 +14897,10 @@ input.directorist-toggle-input:checked .directorist-search-modal--basic .open_now > label { display: none; } +.directorist-search-modal--basic .open_now .check-btn, .directorist-search-modal--basic .directorist-search-modal__input - .directorist-price-ranges, -.directorist-search-modal--basic .open_now .check-btn { + .directorist-price-ranges { padding: 10px 0; } .directorist-search-modal--basic @@ -13884,13 +14952,13 @@ input.directorist-toggle-input:checked display: -ms-flexbox; display: flex; } -.directorist-search-modal--basic .directorist-search-field-price_range > label, .directorist-search-modal--basic .directorist-search-field-pricing > label, +.directorist-search-modal--basic .directorist-search-field__number > label, +.directorist-search-modal--basic .directorist-search-field-text_range > label, +.directorist-search-modal--basic .directorist-search-field-price_range > label, .directorist-search-modal--basic .directorist-search-field-radius_search - > label, -.directorist-search-modal--basic .directorist-search-field-text_range > label, -.directorist-search-modal--basic .directorist-search-field__number > label { + > label { position: unset; -webkit-transform: unset; transform: unset; @@ -13964,8 +15032,10 @@ input.directorist-toggle-input:checked opacity: 1; } .directorist-search-modal--full .directorist-search-field-pricing > label, -.directorist-search-modal--full .directorist-search-field-radius_search > label, -.directorist-search-modal--full .directorist-search-field-text_range > label { +.directorist-search-modal--full .directorist-search-field-text_range > label, +.directorist-search-modal--full + .directorist-search-field-radius_search + > label { display: block; font-size: 16px; font-weight: 500; @@ -13984,8 +15054,8 @@ input.directorist-toggle-input:checked border-radius: 8px; min-height: 40px; margin: 0 0 15px; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } .directorist-search-modal__input .directorist-select { display: -webkit-inline-box; @@ -14000,32 +15070,32 @@ input.directorist-toggle-input:checked -ms-flex: 1; flex: 1; } +.directorist-search-modal__input .select2.select2-container .select2-selection, .directorist-search-modal__input .directorist-form-group .directorist-form-element, .directorist-search-modal__input .directorist-form-group - .directorist-form-element:focus, -.directorist-search-modal__input .select2.select2-container .select2-selection { - border: 0; + .directorist-form-element:focus { + border: 0 none; } .directorist-search-modal__input__btn { width: 0; padding: 0 10px; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } -.directorist-search-modal__input__btn .directorist-icon-mask:after { +.directorist-search-modal__input__btn .directorist-icon-mask::after { width: 14px; height: 14px; opacity: 0; visibility: hidden; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; background-color: var(--directorist-color-body); } .directorist-search-modal__input - .input-is-focused.directorist-search-query:after { + .input-is-focused.directorist-search-query::after { display: none; } .directorist-search-modal__input @@ -14231,7 +15301,7 @@ input.directorist-toggle-input:checked i:after { width: 12px; height: 12px; - background-color: grey; + background-color: #808080; } @media screen and (max-width: 575px) { .directorist-search-modal @@ -14285,11 +15355,11 @@ input.directorist-toggle-input:checked .directorist-search-modal .directorist-search-basic-dropdown .directorist-search-basic-dropdown-content - .directorist-checkbox-wrapper, + .directorist-radio-wrapper, .directorist-search-modal .directorist-search-basic-dropdown .directorist-search-basic-dropdown-content - .directorist-radio-wrapper { + .directorist-checkbox-wrapper { -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; @@ -14303,6 +15373,7 @@ input.directorist-toggle-input:checked .select2-selection__placeholder { color: var(--directorist-color-dark); } + .directorist-content-active.directorist-overlay-active { overflow: hidden; } @@ -14310,47 +15381,55 @@ input.directorist-toggle-input:checked .directorist-search-modal__input .select2.select2-container .select2-selection { - border: 0 !important; + border: 0 none !important; } + +/* Responsive CSS */ +/* Large devices (desktops, 992px and up) */ @media (min-width: 992px) and (max-width: 1199.98px) { + .at-modal-content.at-modal-xl, .at-modal-content.at-modal-lg, .at-modal-content.at-modal-md, - .at-modal-content.at-modal-sm, - .at-modal-content.at-modal-xl { + .at-modal-content.at-modal-sm { width: calc(100% - 60px); } } +/* Medium devices (tablets, 768px and up) */ @media (min-width: 768px) and (max-width: 991.98px) { + .at-modal-content.at-modal-xl, .at-modal-content.at-modal-lg, .at-modal-content.at-modal-md, - .at-modal-content.at-modal-sm, - .at-modal-content.at-modal-xl { + .at-modal-content.at-modal-sm { width: calc(100% - 60px); } } +/* Small devices (landscape phones, 576px and up) */ @media (min-width: 576px) and (max-width: 767.98px) { + .at-modal-content.at-modal-xl, .at-modal-content.at-modal-lg, .at-modal-content.at-modal-md, - .at-modal-content.at-modal-sm, - .at-modal-content.at-modal-xl { + .at-modal-content.at-modal-sm { width: calc(100% - 60px); } } +/* Extra small devices (portrait phones, less than 576px) */ @media (max-width: 575.98px) { + .at-modal-content.at-modal-xl, .at-modal-content.at-modal-lg, .at-modal-content.at-modal-md, - .at-modal-content.at-modal-sm, - .at-modal-content.at-modal-xl { + .at-modal-content.at-modal-sm { width: calc(100% - 30px); } } input:-webkit-autofill, -input:-webkit-autofill:active, +input:-webkit-autofill:hover, input:-webkit-autofill:focus, -input:-webkit-autofill:hover { +input:-webkit-autofill:active { -webkit-transition: background-color 5000s ease-in-out 0s !important; transition: background-color 5000s ease-in-out 0s !important; } + +/* Alerts style */ .directorist-alert { font-size: 15px; word-break: break-word; @@ -14385,9 +15464,9 @@ input:-webkit-autofill:hover { -ms-flex-align: start; align-items: flex-start; } -.directorist-alert__content i, +.directorist-alert__content span.la, .directorist-alert__content span.fa, -.directorist-alert__content span.la { +.directorist-alert__content i { margin-right: 12px; line-height: 1.65; } @@ -14400,7 +15479,7 @@ input:-webkit-autofill:hover { background: none !important; text-decoration: none; margin-left: auto !important; - border: 0; + border: 0 none; -webkit-box-shadow: none; box-shadow: none; line-height: 1.2; @@ -14417,8 +15496,8 @@ input:-webkit-autofill:hover { -ms-flex-pack: center; justify-content: center; } -.directorist-alert__close .fa, .directorist-alert__close .la, +.directorist-alert__close .fa, .directorist-alert__close i, .directorist-alert__close span { font-size: 16px; @@ -14432,6 +15511,7 @@ input:-webkit-autofill:hover { .directorist-alert a { text-decoration: none; } + .directorist-alert.directorist-alert-primary { background: rgba(var(--directorist-color-primary-rgb), 0.1); color: var(--directorist-color-primary); @@ -14470,6 +15550,7 @@ input:-webkit-autofill:hover { .directorist-alert--sm { padding: 10px 20px; } + .alert-danger { background: rgba(232, 0, 0, 0.3); } @@ -14481,6 +15562,8 @@ input:-webkit-autofill:hover { .alert-danger.directorist-register-error .directorist-alert__close { color: #e80000; } + +/* Add listing notice alert */ .directorist-single-listing-notice .directorist-alert__content { -webkit-box-pack: justify; -webkit-justify-content: space-between; @@ -14494,6 +15577,7 @@ input:-webkit-autofill:hover { .directorist-single-listing-notice .directorist-alert__content button span { font-size: 20px; } + .directorist-user-dashboard .directorist-container-fluid { -webkit-box-sizing: border-box; box-sizing: border-box; @@ -14502,6 +15586,7 @@ input:-webkit-autofill:hover { cursor: pointer; padding-right: 0; } + .directorist-badge { display: inline-block; font-size: 10px; @@ -14512,6 +15597,7 @@ input:-webkit-autofill:hover { text-transform: uppercase; border-radius: 5px; } + .directorist-badge.directorist-badge-primary { background-color: var(--directorist-color-primary); } @@ -14533,6 +15619,7 @@ input:-webkit-autofill:hover { .directorist-badge.directorist-badge-gray { background-color: #525768; } + .directorist-badge.directorist-badge-primary-transparent { color: var(--directorist-color-primary); background-color: rgba(var(--directorist-color-primary-rgb), 0.15); @@ -14561,6 +15648,7 @@ input:-webkit-autofill:hover { color: var(--directorist-color-gray); background-color: rgba(var(--directorist-color-gray-rgb), 0.15); } + .directorist-badge .directorist-badge-tooltip { position: absolute; top: -35px; @@ -14599,6 +15687,7 @@ input:-webkit-autofill:hover { opacity: 1; visibility: visible; } + .directorist-checkbox, .directorist-radio { display: -webkit-box; @@ -14793,6 +15882,7 @@ input:-webkit-autofill:hover { opacity: 1; visibility: visible; } + .directorist-checkbox input[type="checkbox"] + .directorist-checkbox__label:before { @@ -14800,8 +15890,8 @@ input:-webkit-autofill:hover { left: 5px; top: 5px; content: ""; - -webkit-mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); - mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); + -webkit-mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); + mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 10px; @@ -14821,6 +15911,7 @@ input:-webkit-autofill:hover { left: 3px; } } + .directorist-radio input[type="radio"] + .directorist-radio__label:before { position: absolute; left: 5px; @@ -14829,7 +15920,7 @@ input:-webkit-autofill:hover { height: 8px; border-radius: 50%; background-color: var(--directorist-color-white); - border: 0; + border: 0 none; opacity: 0; visibility: hidden; z-index: 2; @@ -14851,14 +15942,15 @@ input:-webkit-autofill:hover { .directorist-radio.directorist-radio-circle input[type="radio"] + .directorist-radio__label:before { - -webkit-mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); - mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); + -webkit-mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); + mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 10px; height: 10px; background-color: var(--directorist-color-white); } + .directorist-checkbox.directorist-checkbox-circle input[type="checkbox"] + .directorist-checkbox__label:after, @@ -14885,6 +15977,7 @@ input:-webkit-autofill:hover { + .directorist-radio__label:after { border-radius: 50%; } + .directorist-checkbox.directorist-checkbox-primary input[type="checkbox"]:checked + .directorist-checkbox__label:after, @@ -14945,6 +16038,7 @@ input:-webkit-autofill:hover { background-color: var(--directorist-color-primary); border-color: var(--directorist-color-primary); } + .directorist-radio.directorist-radio-primary input[type="radio"]:checked + .directorist-radio__label:after { @@ -14978,6 +16072,7 @@ input:-webkit-autofill:hover { + .directorist-radio__label:before { background-color: #3e62f5 !important; } + .directorist-checkbox-rating { gap: 20px; width: 100%; @@ -15013,6 +16108,7 @@ input:-webkit-autofill:hover { height: 14px; margin-top: 1px; } + .directorist-radio.directorist-radio-theme-admin input[type="radio"] + .directorist-radio__label:before { @@ -15040,6 +16136,7 @@ input:-webkit-autofill:hover { .directorist-radio.directorist-radio-theme-admin .directorist-radio__label { padding-left: 35px !important; } + .directorist-checkbox.directorist-checkbox-theme-admin input[type="checkbox"] + .directorist-checkbox__label:before { @@ -15070,6 +16167,7 @@ input:-webkit-autofill:hover { .directorist-checkbox__label { padding-left: 35px !important; } + .directorist-switch { position: relative; display: block; @@ -15156,31 +16254,33 @@ input:-webkit-autofill:hover { -webkit-transform 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; } + .directorist-switch.directorist-switch-primary .directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-primary); } .directorist-switch.directorist-switch-success.directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-success); } .directorist-switch.directorist-switch-secondary.directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-secondary); } .directorist-switch.directorist-switch-danger.directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-danger); } .directorist-switch.directorist-switch-warning.directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-warning); } .directorist-switch.directorist-switch-info.directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-info); } + .directorist-switch-Yn { font-size: 15px; padding: 3px; @@ -15208,7 +16308,6 @@ input:-webkit-autofill:hover { background-color: #3e62f5; color: var(--directorist-color-white); } -.directorist-switch-Yn input[type="checkbox"] .directorist-switch-yes, .directorist-switch-Yn input[type="checkbox"]:checked + span @@ -15216,6 +16315,10 @@ input:-webkit-autofill:hover { background-color: transparent; color: #9b9eaf; } +.directorist-switch-Yn input[type="checkbox"] .directorist-switch-yes { + background-color: transparent; + color: #9b9eaf; +} .directorist-switch-Yn input[type="checkbox"] + span + .directorist-switch-no { background-color: #fb6665; color: var(--directorist-color-white); @@ -15226,22 +16329,17 @@ input:-webkit-autofill:hover { .directorist-switch-Yn .directorist-switch-no { border-radius: 0 15px 15px 0; } + .select2-selection__arrow, .select2-selection__clear { display: none !important; } + .directorist-select2-addons-area { position: absolute; right: 5px; top: 50%; text-align: center; - cursor: pointer; - -webkit-transform: translateY(-50%); - transform: translateY(-50%); - z-index: 8; -} -.directorist-select2-addon, -.directorist-select2-addons-area { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -15254,67 +16352,18 @@ input:-webkit-autofill:hover { -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + cursor: pointer; + -webkit-transform: translate(0, -50%); + transform: translate(0, -50%); + z-index: 8; } + .directorist-select2-addon { padding: 0 5px; -} -.directorist-select2-dropdown-close, -.directorist-select2-dropdown-toggle { - height: auto; - width: 25px; -} -.directorist-select2-dropdown-close .directorist-icon-mask:after { - width: 15px; - height: 15px; -} -.directorist-select2-addon .directorist-icon-mask:after { - width: 13px; - height: 13px; -} -.icon-picker { - position: fixed; - background-color: rgba(0, 0, 0, 0.35); - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 9999; - visibility: hidden; - opacity: 0; - pointer-events: none; - -webkit-transition: - opacity 0.3s ease, - visibility 0.3s ease; - transition: - opacity 0.3s ease, - visibility 0.3s ease; -} -.icon-picker__inner { - width: 935px; - top: 50%; - left: 50%; - -webkit-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); - background: #fff; - height: 800px; - overflow: hidden; - border-radius: 6px; -} -.icon-picker__close, -.icon-picker__inner { - position: absolute; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -} -.icon-picker__close { - width: 34px; - height: 34px; - border-radius: 50%; - background-color: #5a5f7d; - color: #fff; - font-size: 12px; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; @@ -15323,279 +16372,75 @@ input:-webkit-autofill:hover { -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - right: 20px; - top: 23px; - z-index: 1; - -webkit-transition: 0.3s ease; - transition: 0.3s ease; -} -.icon-picker__close:hover { - color: #fff; - background-color: #222; -} -.icon-picker__sidebar { - width: 30%; - background-color: #eff0f3; - padding: 30px 20px; - -webkit-box-sizing: border-box; - box-sizing: border-box; -} -.icon-picker__content { - width: 70%; - overflow: auto; -} -.icon-picker__content .icons-group { - padding-top: 80px; -} -.icon-picker__content .icons-group h4 { - font-size: 16px; - font-weight: 500; - color: #272b41; - background-color: #fff; - padding: 33px 0 27px 20px; - border-bottom: 1px solid #e3e6ef; - margin: 0; - position: absolute; - left: 30%; - top: 0; - width: 70%; -} -.icon-picker__content .icons-group-icons { - padding: 17px 0 17px 17px; -} -.icon-picker__content .icons-group-icons .font-icon-btn { - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - margin: 5px 3px; - width: 70px; - height: 70px; - background-color: #f4f5f7; - border-radius: 5px; - font-size: 24px; - color: #868eae; - font-size: 18px !important; - border: 0; - -webkit-transition: 0.3s ease; - transition: 0.3s ease; -} -.icon-picker__content .icons-group-icons .font-icon-btn.cptm-btn-primary { - background-color: #3e62f5; - color: #fff; - font-size: 30px; - -webkit-box-shadow: 0 3px 10px rgba(39, 43, 65, 0.2); - box-shadow: 0 3px 10px rgba(39, 43, 65, 0.2); - border: 1px solid #e3e6ef; -} -.icon-picker__filter { - margin-bottom: 30px; -} -.icon-picker__filter label { - font-size: 14px; - font-weight: 500; - margin-bottom: 8px; - display: block; -} -.icon-picker__filter input, -.icon-picker__filter select { - color: #797d93; - font-size: 14px; - height: 44px; - border: 1px solid #e3e6ef; - border-radius: 4px; - padding: 0 15px; - width: 100%; -} -.icon-picker__filter input::-webkit-input-placeholder { - color: #797d93; -} -.icon-picker__filter input::-moz-placeholder { - color: #797d93; -} -.icon-picker__filter input:-ms-input-placeholder { - color: #797d93; -} -.icon-picker__filter input::-ms-input-placeholder { - color: #797d93; -} -.icon-picker__filter input::placeholder { - color: #797d93; -} -.icon-picker__filter select:focus, -.icon-picker__filter select:hover { - color: #797d93; -} -.icon-picker.icon-picker-visible { - visibility: visible; - opacity: 1; - pointer-events: auto; -} -.icon-picker__preview-icon { - font-size: 80px; - color: #272b41; - display: block !important; - text-align: center; -} -.icon-picker__preview-info { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - margin-top: 15px; -} -.icon-picker__done-btn { - display: block !important; - width: 100%; - margin: 35px 0 0 !important; -} -.directorist-type-icon-select label { - font-size: 14px; - font-weight: 500; - display: block; - margin-bottom: 10px; } -.icon-picker-selector { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - margin: 0 -10px; -} -.icon-picker-selector__icon { - position: relative; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - margin: 0 10px; -} -.icon-picker-selector__icon .directorist-selected-icon { - position: absolute; - left: 15px; - top: 50%; - -webkit-transform: translateY(-50%); - transform: translateY(-50%); -} -.icon-picker-selector__icon .cptm-form-control { - pointer-events: none; -} -.icon-picker-selector__icon__reset { - position: absolute; - right: 0; - top: 50%; - -webkit-transform: translateY(-50%); - transform: translateY(-50%); - cursor: pointer; - padding: 5px 15px; -} -.icon-picker-selector__btn { - margin: 0 10px; - height: 40px; - background-color: #dadce0; - border-radius: 4px; - border: 0; - font-weight: 500; - padding: 0 30px; - cursor: pointer; -} -.directorist-category-icon-picker { - margin-top: 10px; - width: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} -.directorist-category-icon-picker .icon-picker-selector { - width: 100%; -} -@media only screen and (max-width: 1441px) { - .icon-picker__inner { - width: 825px; - height: 660px; - } + +.directorist-select2-dropdown-toggle { + height: auto; + width: 25px; } -@media only screen and (max-width: 1199px) { - .icon-picker__inner { - width: 615px; - height: 500px; - } + +.directorist-select2-dropdown-close { + height: auto; + width: 25px; } -@media only screen and (max-width: 767px) { - .icon-picker__inner { - width: 500px; - height: 450px; - } +.directorist-select2-dropdown-close .directorist-icon-mask::after { + width: 15px; + height: 15px; } -@media only screen and (max-width: 575px) { - .icon-picker__inner { - display: block; - width: calc(100% - 30px); - overflow: scroll; - } - .icon-picker__content, - .icon-picker__sidebar { - width: auto; - } - .icon-picker__content .icons-group-icons .font-icon-btn { - width: 55px; - height: 55px; - font-size: 16px; - } + +.directorist-select2-addon .directorist-icon-mask::after { + width: 13px; + height: 13px; } -.atbdp-nav-link:active, -.atbdp-nav-link:focus, + +.reset-pseudo-link:visited, .atbdp-nav-link:visited, -.cptm-btn:active, -.cptm-btn:focus, -.cptm-btn:visited, -.cptm-header-action-link:active, -.cptm-header-action-link:focus, +.cptm-modal-action-link:visited, .cptm-header-action-link:visited, -.cptm-header-nav__list-item-link:active, -.cptm-header-nav__list-item-link:focus, -.cptm-header-nav__list-item-link:visited, -.cptm-link-light:active, -.cptm-link-light:focus, +.cptm-sub-nav__item-link:visited, .cptm-link-light:visited, +.cptm-header-nav__list-item-link:visited, +.cptm-btn:visited, +.reset-pseudo-link:active, +.atbdp-nav-link:active, .cptm-modal-action-link:active, -.cptm-modal-action-link:focus, -.cptm-modal-action-link:visited, +.cptm-header-action-link:active, .cptm-sub-nav__item-link:active, -.cptm-sub-nav__item-link:focus, -.cptm-sub-nav__item-link:visited, -.reset-pseudo-link:active, +.cptm-link-light:active, +.cptm-header-nav__list-item-link:active, +.cptm-btn:active, .reset-pseudo-link:focus, -.reset-pseudo-link:visited { +.atbdp-nav-link:focus, +.cptm-modal-action-link:focus, +.cptm-header-action-link:focus, +.cptm-sub-nav__item-link:focus, +.cptm-link-light:focus, +.cptm-header-nav__list-item-link:focus, +.cptm-btn:focus { outline: none; -webkit-box-shadow: none; box-shadow: none; } + .cptm-shortcodes { max-height: 300px; overflow: scroll; } + .directorist-center-content { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } + .directorist-center-content-inline { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; } + .directorist-center-content, .directorist-center-content-inline { -webkit-box-pack: center; @@ -15615,80 +16460,117 @@ input:-webkit-autofill:hover { -ms-flex-direction: column; flex-direction: column; } + .directorist-text-right { text-align: right; } + .directorist-text-center { text-align: center; } + .directorist-text-left { text-align: left; } + .directorist-mt-0 { margin-top: 0 !important; } + .directorist-mt-5 { margin-top: 5px !important; } + .directorist-mt-10 { margin-top: 10px !important; } + .directorist-mt-15 { margin-top: 15px !important; } + .directorist-mt-20 { margin-top: 20px !important; } + .directorist-mt-30 { margin-top: 30px !important; } + .directorist-mb-0 { margin-bottom: 0 !important; } + +.directorist-mb-35 { + margin-bottom: 35px !important; +} + +.directorist-mb-30 { + margin-bottom: 30px !important; +} + .directorist-mb-25 { margin-bottom: 25px !important; } + +.directorist-mb-20 { + margin-bottom: 20px !important; +} + .directorist-mb-n20 { margin-bottom: -20px !important; } + .directorist-mb-10 { margin-bottom: 10px !important; } + .directorist-mb-15 { margin-bottom: 15px !important; } + .directorist-mb-20 { margin-bottom: 20px !important; } + .directorist-mb-30 { margin-bottom: 30px !important; } + .directorist-mb-35 { margin-bottom: 35px !important; } + .directorist-mb-40 { margin-bottom: 40px !important; } + .directorist-mb-50 { margin-bottom: 50px !important; } + .directorist-mb-70 { margin-bottom: 70px !important; } + .directorist-mb-80 { margin-bottom: 80px !important; } + .directorist-pb-100 { padding-bottom: 100px !important; } + .directorist-w-100 { width: 100% !important; max-width: 100% !important; } + .directorist-draggable-list-item-wrapper { position: relative; height: 100%; } + .directorist-droppable-area-wrap { position: absolute; top: 0; @@ -15704,12 +16586,14 @@ input:-webkit-autofill:hover { flex-direction: column; margin-bottom: -20px; } + .directorist-droppable-area { -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; flex-grow: 1; } + .directorist-droppable-item-preview { height: 52px; background-color: rgba(44, 153, 255, 0.1); @@ -15717,10 +16601,16 @@ input:-webkit-autofill:hover { margin-right: 0; border-radius: 4px; } -.directorist-droppable-item-preview-after, + .directorist-droppable-item-preview-before { margin-bottom: 20px; } + +.directorist-droppable-item-preview-after { + margin-bottom: 20px; +} + +/* Create Directory Type */ .directorist-directory-type-top { display: -webkit-box; display: -webkit-flex; @@ -15739,7 +16629,7 @@ input:-webkit-autofill:hover { flex-wrap: wrap; gap: 15px 30px; padding: 0 20px; - background: #fff; + background: white; min-height: 60px; border-bottom: 1px solid #e5e7eb; position: fixed; @@ -15922,10 +16812,19595 @@ input:-webkit-autofill:hover { cursor: pointer; -webkit-box-sizing: border-box; box-sizing: border-box; - -webkit-box-shadow: 0 2px 4px 0 rgba(60, 41, 170, 0.1); - box-shadow: 0 2px 4px 0 rgba(60, 41, 170, 0.1); + -webkit-box-shadow: 0px 2px 4px 0px rgba(60, 41, 170, 0.1); + box-shadow: 0px 2px 4px 0px rgba(60, 41, 170, 0.1); + background-color: #3e62f5; + color: #ffffff; + font-size: 15px; + font-weight: 500; + line-height: normal; + -webkit-transition: background-color 0.3s ease; + transition: background-color 0.3s ease; +} +.directorist-directory-type-top-right .directorist-create-directory:hover { + background-color: #5a7aff; + border-color: #5a7aff; +} +.directorist-directory-type-top-right .cptm-btn { + margin: 0; +} + +.directorist-type-name { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 8px; + font-size: 15px; + font-weight: 600; + color: #141921; + line-height: 16px; +} +.directorist-type-name span { + font-size: 20px; + color: #747c89; +} + +.directorist-type-name-editable { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 8px; +} +.directorist-type-name-editable span { + font-size: 20px; + color: #747c89; +} +.directorist-type-name-editable span:hover { + color: #3e62f5; +} + +.directorist-directory-type-bottom { + position: fixed; + bottom: 0; + right: 20px; + width: calc(100% - 204px); + height: calc(100% - 115px); + overflow-y: auto; + z-index: 1; + background: white; + margin-top: 67px; + border-radius: 8px 8px 0 0; + border: 1px solid #e5e7eb; + -webkit-box-shadow: 0 4px 8px 0 rgba(16, 24, 40, 0.08); + box-shadow: 0 4px 8px 0 rgba(16, 24, 40, 0.08); +} +@media only screen and (max-width: 782px) { + .directorist-directory-type-bottom { + position: unset; + width: 100%; + height: auto; + overflow-y: visible; + margin-top: 20px; + } + .directorist-directory-type-bottom .atbdp-cptm-body { + margin: 0 20px 20px !important; + } +} +.directorist-directory-type-bottom .cptm-header-navigation { + position: fixed; + right: 20px; + top: 113px; + width: calc(100% - 202px); + background: #ffffff; + border: 1px solid #e5e7eb; + gap: 0 32px; + padding: 0 30px; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + border-radius: 8px 8px 0 0; + overflow-x: auto; + z-index: 100; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +@media only screen and (max-width: 1024px) { + .directorist-directory-type-bottom .cptm-header-navigation { + -webkit-box-pack: start; + -webkit-justify-content: flex-start; + -ms-flex-pack: start; + justify-content: flex-start; + } +} +@media only screen and (max-width: 782px) { + .directorist-directory-type-bottom .cptm-header-navigation { + position: unset; + width: 100%; + border: none; + } +} +.directorist-directory-type-bottom .atbdp-cptm-body { + position: relative; + margin-top: 72px; +} +@media only screen and (max-width: 600px) { + .directorist-directory-type-bottom .atbdp-cptm-body { + margin-top: 0; + } +} + +.wp-admin.folded .directorist-directory-type-top { + width: calc(100% - 78px); +} +@media only screen and (max-width: 782px) { + .wp-admin.folded .directorist-directory-type-top { + width: calc(100% - 40px); + } +} +.wp-admin.folded .directorist-directory-type-bottom { + width: calc(100% - 80px); +} +.wp-admin.folded .directorist-directory-type-bottom .cptm-header-navigation { + width: calc(100% - 78px); +} +@media only screen and (max-width: 782px) { + .wp-admin.folded + .directorist-directory-type-bottom + .cptm-header-navigation { + width: 100%; + border-width: 0 0 1px 0; + } +} + +.directorist-draggable-form-list-wrap { + margin-right: 50px; +} + +/* Body Header */ +.directorist-form-action { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; + margin-bottom: 26px; +} +.directorist-form-action__modal-btn { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + width: -webkit-max-content; + width: -moz-max-content; + width: max-content; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 6px; + width: 30px; + height: 30px; + border-radius: 6px; + border: 1px solid #e5e7eb; + background: transparent; + color: #4d5761; + text-align: center; + font-size: 12px; + font-style: normal; + font-weight: 500; + line-height: 14px; + letter-spacing: 0.12px; + -webkit-box-sizing: border-box; + box-sizing: border-box; + text-transform: capitalize; +} +.directorist-form-action__modal-btn svg { + width: 14px; + height: 14px; + color: inherit; +} +.directorist-form-action__modal-btn:hover { + color: #217aef; + background: #eff8ff; + border-color: #bee3ff; +} +.directorist-form-action__link { + margin-top: 2px; + font-size: 12px; + font-weight: 500; + color: #1b50b2; + line-height: 20px; + letter-spacing: 0.12px; + text-decoration: underline; +} +.directorist-form-action__view { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 6px; + width: 30px; + height: 30px; + border-radius: 6px; + border: 1px solid #e5e7eb; + background: transparent; + color: #4d5761; + text-align: center; + font-size: 12px; + font-style: normal; + font-weight: 500; + line-height: 14px; + letter-spacing: 0.12px; + text-transform: capitalize; +} +.directorist-form-action__view svg { + width: 14px; + height: 14px; + color: inherit; +} +.directorist-form-action__view:hover { + color: #217aef; + background: #eff8ff; + border-color: #bee3ff; +} +.directorist-form-action__view:focus { + outline: none; + -webkit-box-shadow: none; + box-shadow: none; +} + +.cptm-form-note { + margin-bottom: 30px; + padding: 30px; + background-color: #dcebfe; + border-radius: 4px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} +.cptm-form-note i { + font-size: 30px; + opacity: 0.2; + margin-right: 15px; +} +.cptm-form-note .cptm-form-note-title { + margin-top: 0; + color: #157cf6; +} +.cptm-form-note .cptm-form-note-content { + margin: 5px 0; +} +.cptm-form-note .cptm-form-note-content a { + color: #157cf6; +} + +#atbdp_cpt_options_metabox .inside { + margin: 0; + padding: 0; +} +#atbdp_cpt_options_metabox .postbox-header { + display: none; +} + +.atbdp-cpt-manager { + position: relative; + display: block; + color: #23282d; +} +.atbdp-cpt-manager.directorist-overlay-visible { + position: fixed; + z-index: 9; + width: calc(100% - 200px); +} +.atbdp-cpt-manager.directorist-overlay-visible .directorist-directory-type-top, +.atbdp-cpt-manager.directorist-overlay-visible + .directorist-directory-type-bottom + .cptm-header-navigation { + z-index: 1; +} +.atbdp-cpt-manager.directorist-overlay-visible .submission_form_fields { + z-index: 11; +} + +.atbdp-cptm-header { + display: block; +} +.atbdp-cptm-header .cptm-form-group .cptm-form-control { + height: 50px; + font-size: 20px; +} + +.atbdp-cptm-body { + display: block; +} + +.cptm-field-wraper-key-preview_image .cptm-btn { + margin: 0 10px; + height: 40px; + color: #23282d !important; + background-color: #dadce0 !important; + border-radius: 4px !important; + border: 0 none; + font-weight: 500; + padding: 0 30px; +} + +.atbdp-cptm-footer { + display: block; + padding: 24px 0 0; + margin: 0 50px 0 30px; + border-top: 1px solid #e5e7eb; +} +.atbdp-cptm-footer .atbdp-cptm-footer-preview { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + margin: 0 0 20px; +} +.atbdp-cptm-footer .atbdp-cptm-footer-preview .atbdp-cptm-footer-preview-label { + position: relative; + font-size: 14px; + font-weight: 500; + color: #4d5761; + cursor: pointer; +} +.atbdp-cptm-footer + .atbdp-cptm-footer-preview + .atbdp-cptm-footer-preview-label:before { + content: ""; + position: absolute; + right: 0; + top: 0; + width: 36px; + height: 20px; + border-radius: 30px; + background: #d2d6db; + border: 3px solid #d2d6db; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; +} +.atbdp-cptm-footer + .atbdp-cptm-footer-preview + .atbdp-cptm-footer-preview-label:after { + content: ""; + position: absolute; + right: 19px; + top: 3px; + width: 14px; + height: 14px; + background: #ffffff; + border-radius: 100%; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; +} +.atbdp-cptm-footer + .atbdp-cptm-footer-preview + .atbdp-cptm-footer-preview-toggle { + display: none; +} +.atbdp-cptm-footer + .atbdp-cptm-footer-preview + .atbdp-cptm-footer-preview-toggle:checked + ~ label:before { + background-color: #3e62f5; + border-color: #3e62f5; +} +.atbdp-cptm-footer + .atbdp-cptm-footer-preview + .atbdp-cptm-footer-preview-toggle:checked + ~ label:after { + right: 3px; +} +.atbdp-cptm-footer .atbdp-cptm-footer-preview .atbdp-cptm-footer-preview-desc { + font-size: 12px; + font-weight: 400; + color: #747c89; +} + +.atbdp-cptm-footer-actions { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-content: center; + -ms-flex-line-pack: center; + align-content: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.atbdp-cptm-footer-actions .cptm-btn { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 10px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 100%; + font-weight: 500; + font-size: 15px; + height: 48px; + padding: 0 30px; + margin: 0; +} +.atbdp-cptm-footer-actions .cptm-save-text { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.cptm-title-bar { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin: 0 -10px; + padding: 15px 10px; + background-color: #fff; +} + +.cptm-card-preview-widget .cptm-title-bar { + margin: 0; +} + +.cptm-title-bar-headings { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + padding: 10px; +} + +.cptm-title-bar-actions { + min-width: 100px; + max-width: 220px; + padding: 10px; +} + +.cptm-label-btn { + display: inline-block; +} + +.cptm-btn, +.cptm-btn.cptm-label-btn { + margin: 0 5px 10px; + display: inline-block; + text-align: center; + border: 1px solid transparent; + padding: 10px 20px; + border-radius: 5px; + cursor: pointer; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + vertical-align: top; +} +.cptm-btn:disabled, +.cptm-btn.cptm-label-btn:disabled { + cursor: not-allowed; + opacity: 0.5; +} + +.cptm-btn.cptm-label-btn { + display: inline-block; + vertical-align: top; +} +.cptm-btn.cptm-btn-rounded { + border-radius: 30px; +} +.cptm-btn.cptm-btn-primary { + color: #fff; + border-color: #3e62f5; + background-color: #3e62f5; +} +.cptm-btn.cptm-btn-primary:hover { + background-color: #345af4; +} +.cptm-btn.cptm-btn-secondery { + color: #3e62f5; + border-color: #3e62f5; + background-color: transparent; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 6px; + font-size: 15px !important; +} +.cptm-btn.cptm-btn-secondery:hover { + color: #fff; + background-color: #3e62f5; +} + +.cptm-file-input-wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-file-input-wrap .cptm-btn { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} + +.cptm-btn-box { + display: block; +} + +.cptm-form-builder-group-field-drop-area { + display: block; + padding: 14px 20px; + border-radius: 4px; + margin: 16px 0 0; + text-align: center; + font-size: 14px; + font-weight: 500; + color: #747c89; + background-color: #f9fafb; + font-style: italic; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + border: 1px dashed #d2d6db; + -webkit-box-shadow: 0 4px 8px 0 rgba(16, 24, 40, 0.08); + box-shadow: 0 4px 8px 0 rgba(16, 24, 40, 0.08); +} +.cptm-form-builder-group-field-drop-area:first-child { + margin-top: 0; +} +.cptm-form-builder-group-field-drop-area.drag-enter { + color: #3e62f5; + background-color: #d8e0fd; + border-color: #3e62f5; +} + +.cptm-form-builder-group-field-drop-area-label { + margin: 0; + pointer-events: none; +} + +.atbdp-cptm-status-feedback { + position: fixed; + top: 70px; + left: calc(50% + 150px); + -webkit-transform: translateX(-50%); + transform: translateX(-50%); + min-width: 300px; + z-index: 9999; +} +@media screen and (max-width: 960px) { + .atbdp-cptm-status-feedback { + left: calc(50% + 100px); + } +} +@media screen and (max-width: 782px) { + .atbdp-cptm-status-feedback { + left: 50%; + } +} + +.cptm-alert { + position: relative; + padding: 14px 24px 14px 52px; + font-size: 16px; + font-weight: 500; + line-height: 22px; + color: #053e29; + border-radius: 8px; + -webkit-box-shadow: 0 8px 16px rgba(16, 24, 40, 0.1); + box-shadow: 0 8px 16px rgba(16, 24, 40, 0.1); +} +.cptm-alert:before { + content: ""; + position: absolute; + top: 14px; + left: 24px; + font-size: 20px; + font-family: "Font Awesome 5 Free"; + font-weight: 900; +} + +.cptm-alert-success { + background-color: #ecfdf3; + border: 1px solid #14b570; +} +.cptm-alert-success:before { + content: "\f058"; + color: #14b570; +} + +.cptm-alert-error { + background-color: #f3d6d6; + border: 1px solid #c51616; +} +.cptm-alert-error:before { + content: "\f057"; + color: #c51616; +} + +.cptm-dropable-element { + position: relative; +} + +.cptm-dropable-base-element { + display: block; + position: relative; + padding: 0; + -webkit-transition: ease-in-out all 300ms; + transition: ease-in-out all 300ms; +} + +.cptm-dropable-area { + position: absolute; + left: 0; + right: 0; + top: 0; + bottom: 0; + z-index: 999; +} + +.cptm-dropable-placeholder { + padding: 0; + margin: 0; + height: 0; + border-radius: 4px; + overflow: hidden; + -webkit-transition: all ease-in-out 200ms; + transition: all ease-in-out 200ms; + background: RGBA(61, 98, 245, 0.45); +} +.cptm-dropable-placeholder.active { + padding: 10px 15px; + margin: 0; + height: 30px; +} + +.cptm-dropable-inside { + padding: 10px; +} + +.cptm-dropable-area-inside { + display: block; + height: 100%; +} + +.cptm-dropable-area-right { + display: block; +} + +.cptm-dropable-area-left { + display: block; +} + +.cptm-dropable-area-right, +.cptm-dropable-area-left { + display: block; + float: left; + width: 50%; + height: 100%; +} + +.cptm-dropable-area-top { + display: block; +} + +.cptm-dropable-area-bottom { + display: block; +} + +.cptm-dropable-area-top, +.cptm-dropable-area-bottom { + display: block; + width: 100%; + height: 50%; +} + +.cptm-header-navigation { + margin: 0; + padding: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +@media screen and (max-width: 480px) { + .cptm-header-navigation { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + } +} + +.cptm-header-nav__list-item { + margin: 0; + display: inline-block; + list-style: none; + text-align: center; + min-width: -webkit-fit-content; + min-width: -moz-fit-content; + min-width: fit-content; +} +@media (max-width: 480px) { + .cptm-header-nav__list-item { + width: 100%; + } +} + +.cptm-header-nav__list-item-link { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 8px; + text-decoration: none; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + position: relative; + color: #4d5761; + font-weight: 500; + padding: 24px 0; + position: relative; +} +@media only screen and (max-width: 480px) { + .cptm-header-nav__list-item-link { + padding: 16px 0; + } +} +.cptm-header-nav__list-item-link:before { + content: ""; + position: absolute; + bottom: 0; + left: 50%; + -webkit-transform: translateX(-50%); + transform: translateX(-50%); + width: calc(100% + 55px); + height: 3px; + background-color: transparent; + border-radius: 2px 2px 0 0; +} +.cptm-header-nav__list-item-link .cptm-header-nav__icon { + font-size: 24px; +} +.cptm-header-nav__list-item-link.active { + font-weight: 600; +} +.cptm-header-nav__list-item-link.active:before { + background-color: #3e62f5; +} +.cptm-header-nav__list-item-link.active .cptm-header-nav__icon, +.cptm-header-nav__list-item-link.active .cptm-header-nav__label { + color: #3e62f5; +} + +.cptm-header-nav__icon { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; +} +.cptm-header-nav__icon svg { + width: 24px; + height: 24px; +} + +.cptm-header-nav__label { + display: block; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + font-size: 14px; + font-weight: 500; +} + +.cptm-title-area { + margin-bottom: 20px; +} + +.submission-form .cptm-title-area { + width: 100%; +} + +.tab-general .cptm-title-area { + margin-left: 0; +} + +.cptm-link-light { + color: #fff; +} +.cptm-link-light:hover, +.cptm-link-light:focus, +.cptm-link-light:active { + color: #fff; +} + +.cptm-color-white { + color: #fff; +} + +.cptm-my-10 { + margin-top: 10px; + margin-bottom: 10px; +} + +.cptm-mb-60 { + margin-bottom: 60px; +} + +.cptm-mr-5 { + margin-right: 5px; +} + +.cptm-title { + margin: 0; + font-size: 19px; + font-weight: 600; + color: #141921; + line-height: 1.2; +} + +.cptm-des { + font-size: 14px; + font-weight: 400; + line-height: 22px; + color: #4d5761; + margin-top: 10px; +} + +.atbdp-cptm-tab-contents { + width: 100%; + display: block; + background-color: #fff; +} +.atbdp-cptm-tab-contents .listings_card_layout .cptm-tab-content-header { + margin-top: 92px; +} +@media only screen and (max-width: 782px) { + .atbdp-cptm-tab-contents .listings_card_layout .cptm-tab-content-header { + margin-top: 20px; + } +} +.atbdp-cptm-tab-contents .listings_card_layout .cptm-sub-navigation { + width: auto; + max-width: 658px; + margin: 0 auto; + gap: 16px; + padding: 0; + border-radius: 8px 8px 0 0; + border: 1px solid #e5e7eb; + background: #f9fafb; + border-bottom: none; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.atbdp-cptm-tab-contents + .listings_card_layout + .cptm-sub-navigation + .cptm-sub-nav__item-link { + height: 47px; + padding: 0 8px; + border: none; + border-radius: 0; + position: relative; +} +.atbdp-cptm-tab-contents + .listings_card_layout + .cptm-sub-navigation + .cptm-sub-nav__item-link:before { + content: ""; + position: absolute; + bottom: 0; + left: 0; + width: 100%; + height: 3px; + background: transparent; + border-radius: 2px 2px 0 0; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.atbdp-cptm-tab-contents + .listings_card_layout + .cptm-sub-navigation + .cptm-sub-nav__item-link:hover, +.atbdp-cptm-tab-contents + .listings_card_layout + .cptm-sub-navigation + .cptm-sub-nav__item-link.active { + color: #3e62f5; + background: transparent; +} +.atbdp-cptm-tab-contents + .listings_card_layout + .cptm-sub-navigation + .cptm-sub-nav__item-link:hover + svg + path, +.atbdp-cptm-tab-contents + .listings_card_layout + .cptm-sub-navigation + .cptm-sub-nav__item-link.active + svg + path { + stroke: #3e62f5; +} +.atbdp-cptm-tab-contents + .listings_card_layout + .cptm-sub-navigation + .cptm-sub-nav__item-link:hover:before, +.atbdp-cptm-tab-contents + .listings_card_layout + .cptm-sub-navigation + .cptm-sub-nav__item-link.active:before { + background: #3e62f5; +} + +.atbdp-cptm-tab-item { + display: none; +} +.atbdp-cptm-tab-item.active { + display: block; +} + +.cptm-tab-content-header { + position: relative; + background: transparent; + max-width: 100%; + margin: 82px auto 0; +} +@media only screen and (max-width: 782px) { + .cptm-tab-content-header { + margin-top: 0; + } +} +.cptm-tab-content-header .cptm-tab-content-header__action { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 10px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + position: absolute; + right: 32px; + top: 50%; + -webkit-transform: translateY(-50%); + transform: translateY(-50%); + z-index: 11; +} +@media only screen and (max-width: 991px) { + .cptm-tab-content-header .cptm-tab-content-header__action { + right: 25px; + } +} +@media only screen and (max-width: 782px) { + .cptm-tab-content-header .cptm-sub-navigation { + padding-right: 70px; + margin-top: 20px; + } + .cptm-tab-content-header .cptm-tab-content-header__action { + top: 0; + -webkit-transform: unset; + transform: unset; + } +} +@media only screen and (max-width: 480px) { + .cptm-tab-content-header .cptm-sub-navigation { + margin-top: 0; + } + .cptm-tab-content-header .cptm-tab-content-header__action { + right: 0; + } +} + +.cptm-tab-content-body { + display: block; +} + +.cptm-tab-content { + position: relative; + margin: 0 auto; + min-height: 500px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-tab-content.tab-wide { + max-width: 1080px; +} +.cptm-tab-content.tab-short-wide { + max-width: 600px; +} +.cptm-tab-content.tab-full-width { + max-width: 100%; +} +.cptm-tab-content.cptm-tab-content-general { + top: 32px; + padding: 32px 30px 0; + border: 1px solid #e5e7eb; + border-radius: 8px; + margin: 0 auto 70px; +} +@media only screen and (max-width: 960px) { + .cptm-tab-content.cptm-tab-content-general { + max-width: 100%; + margin: 0 20px 52px; + } +} +@media only screen and (max-width: 782px) { + .cptm-tab-content.cptm-tab-content-general { + margin: 0; + } +} +@media only screen and (max-width: 480px) { + .cptm-tab-content.cptm-tab-content-general { + top: 0; + } +} + +.cptm-short-wide { + max-width: 550px; + width: 100%; + margin-right: auto; + margin-left: auto; +} + +.cptm-tab-sub-content-item { + margin: 0 auto; + display: none; +} +.cptm-tab-sub-content-item.active { + display: block; +} + +.cptm-row { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin: 0 -15px; +} + +.cptm-col-5 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + width: calc(42.66% - 30px); + padding: 0 15px; +} +@media (max-width: 767px) { + .cptm-col-5 { + width: calc(100% - 30px); + margin-bottom: 30px; + } +} + +.cptm-col-6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + width: calc(50% - 30px); + padding: 0 15px; +} +@media (max-width: 767px) { + .cptm-col-6 { + width: calc(100% - 30px); + margin-bottom: 30px; + } +} + +.cptm-col-7 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + width: calc(57.33% - 30px); + padding: 0 15px; +} +@media (max-width: 767px) { + .cptm-col-7 { + width: calc(100% - 30px); + margin-bottom: 30px; + } +} + +.cptm-section { + position: relative; + margin-bottom: 50px; + z-index: 10; +} +.cptm-section.cptm-section--disabled .cptm-builder-section { + opacity: 0.6; + pointer-events: none; +} +.cptm-section.submission_form_fields + .cptm-form-builder-active-fields-container { + height: 100%; + padding-bottom: 400px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-section.single_listing_header { + border-top: 1px solid #e5e7eb; +} +.cptm-section.search_form_fields .directorist-form-action, +.cptm-section.submission_form_fields .directorist-form-action { + position: absolute; + right: 0; + top: 0; + margin: 0; +} +.cptm-section.preview_mode { + position: absolute; + right: 24px; + bottom: 18px; + width: calc(100% - 420px); + padding: 20px; + -webkit-box-sizing: border-box; + box-sizing: border-box; + z-index: 10; + background: #ffffff; + border: 1px solid #e5e7eb; + border-radius: 8px; + -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); + box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); +} +.cptm-section.preview_mode:before { + content: ""; + position: absolute; + top: 0; + left: 43px; + height: 1px; + width: calc(100% - 86px); + background-color: #f3f4f6; +} +@media only screen and (min-width: 1441px) { + .cptm-section.preview_mode { + width: calc(65% - 49px); + } +} +@media only screen and (max-width: 1024px) { + .cptm-section.preview_mode { + width: calc(100% - 49px); + } +} +@media only screen and (max-width: 480px) { + .cptm-section.preview_mode { + width: 100%; + position: unset; + margin-top: 20px; + } +} +.cptm-section.preview_mode .cptm-title-area { + display: none; +} +.cptm-section.preview_mode .cptm-input-toggle-wrap { + gap: 10px; + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; + -webkit-box-orient: horizontal; + -webkit-box-direction: reverse; + -webkit-flex-direction: row-reverse; + -ms-flex-direction: row-reverse; + flex-direction: row-reverse; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} +.cptm-section.preview_mode .directorist-footer-wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + gap: 12px; + padding: 10px 16px; + background-color: #f5f6f7; + border: 1px solid #e5e7eb; + border-radius: 6px; +} +@media only screen and (max-width: 575px) { + .cptm-section.preview_mode .directorist-footer-wrap { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-align: start; + -webkit-align-items: flex-start; + -ms-flex-align: start; + align-items: flex-start; + } +} +.cptm-section.preview_mode .directorist-footer-wrap .directorist-input-label { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + font-size: 14px; + font-weight: 500; + color: #141921; +} +.cptm-section.preview_mode .directorist-footer-wrap .directorist-input { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn { + position: relative; + margin: 0; + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + height: 32px; + font-size: 12px; + font-weight: 500; + color: #4d5761; + border-color: #e5e7eb; + background-color: #ffffff; + border-radius: 6px; +} +.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn .cptm-save-icon { + opacity: 0; + visibility: hidden; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; +} +.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn:before { + content: attr(data-info); + position: absolute; + top: calc(100% + 8px); + left: 50%; + -webkit-transform: translateX(-50%); + transform: translateX(-50%); + min-width: -webkit-max-content; + min-width: -moz-max-content; + min-width: max-content; + text-align: center; + color: #ffffff; + font-size: 13px; + font-weight: 500; + padding: 10px 12px; + border-radius: 6px; + background-color: #141921; + opacity: 0; + visibility: hidden; + -webkit-transition: + opacity 0.3s ease, + visibility 0.3s ease; + transition: + opacity 0.3s ease, + visibility 0.3s ease; +} +.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn:after { + content: ""; + position: absolute; + top: calc(100% + 2px); + left: 50%; + -webkit-transform: translateX(-50%); + transform: translateX(-50%); + border-bottom: 6px solid #141921; + border-left: 6px solid transparent; + border-right: 6px solid transparent; + opacity: 0; + visibility: hidden; + -webkit-transition: + opacity 0.3s ease, + visibility 0.3s ease; + transition: + opacity 0.3s ease, + visibility 0.3s ease; +} +.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn .cptm-save-icon { + font-size: 16px; +} +.cptm-section.preview_mode + .directorist-footer-wrap + .cptm-btn:hover + .cptm-save-icon { + opacity: 1; + visibility: visible; +} +.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn:hover:before, +.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn:hover:after { + opacity: 1; + visibility: visible; +} +.cptm-section.preview_mode .directorist-footer-wrap .cptm-form-group { + margin: 0; +} +.cptm-section.preview_mode + .directorist-footer-wrap + .cptm-form-group + .cptm-form-control { + height: 32px; + padding: 0 20px; + font-size: 12px; + font-weight: 500; + color: #4d5761; +} +.cptm-section.listings_card_grid_view .cptm-form-field-wrapper, +.cptm-section.listings_card_list_view .cptm-form-field-wrapper { + max-width: 658px; + margin: 0 auto; + padding: 24px; + margin-bottom: 32px; + border-radius: 0 0 8px 8px; + background: #ffffff; + border: 1px solid #e5e7eb; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +@media only screen and (max-width: 480px) { + .cptm-section.listings_card_grid_view .cptm-form-field-wrapper, + .cptm-section.listings_card_list_view .cptm-form-field-wrapper { + padding: 16px; + } +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-top-area, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-top-area { + max-width: 100%; + padding: 12px 20px; + margin-bottom: 16px; + background: #f3f4f6; + border: 1px solid #f3f4f6; + border-radius: 8px; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-top-area + .tab-field, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-top-area + .tab-field { + margin: 0; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-top-area-content, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-top-area-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 24px; +} +@media only screen and (max-width: 480px) { + .cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-top-area-content, + .cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-top-area-content { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + } +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-top-area-content + .cptm-card-layout-content, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-top-area-content + .cptm-card-layout-content { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-top-area-content + .cptm-card-layout-title, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-top-area-content + .cptm-card-layout-title { + font-size: 14px; + line-height: 19px; + font-weight: 500; + color: #141921; + margin: 0 0 4px; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-top-area-content + .cptm-card-layout-description, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-top-area-content + .cptm-card-layout-description { + font-size: 12px; + line-height: 16px; + font-weight: 400; + color: #4d5761; + margin: 0; +} +.cptm-section.listings_card_grid_view .cptm-form-field-wrapper .cptm-form-group, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-form-group { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-preview-widget, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-preview-widget { + max-width: unset; + padding: 0; + border-radius: 4px; + border: 1px solid #e5e7eb; + -webkit-box-shadow: 0 2px 8px 0 rgba(16, 24, 40, 0.08); + box-shadow: 0 2px 8px 0 rgba(16, 24, 40, 0.08); +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-preview-widget + .cptm-card-preview-widget-content, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-preview-widget + .cptm-card-preview-widget-content { + -webkit-box-shadow: unset; + box-shadow: unset; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-preview-widget + .cptm-listing-card-preview-header, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-preview-widget + .cptm-listing-card-preview-header { + position: relative; + height: 328px; + padding: 16px 16px 24px; + background: #e5e7eb; + border-radius: 4px 4px 0 0; + -webkit-box-shadow: unset; + box-shadow: unset; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-preview-widget + .cptm-listing-card-preview-header + .cptm-widget-preview-area, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-preview-widget + .cptm-listing-card-preview-header + .cptm-widget-preview-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-preview-widget + .cptm-listing-card-preview-header + .cptm-placeholder-block, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-preview-widget + .cptm-listing-card-preview-header + .cptm-placeholder-block { + padding-bottom: 32px; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-placeholder-block, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-placeholder-block { + max-width: 100%; + background: #f3f4f6; + border: 1px dashed #d2d6db; + border-radius: 4px; + min-height: 72px; + padding-bottom: 32px; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-placeholder-block + .cptm-widget-preview-container, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-placeholder-block + .cptm-widget-preview-container { + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-section.listings_card_grid_view .cptm-form-group-tab-list, +.cptm-section.listings_card_list_view .cptm-form-group-tab-list { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 12px; + padding: 0; + border: none; + background: transparent; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-item, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-item { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link { + position: relative; + height: unset; + padding: 8px 26px 8px 40px; + background: #ffffff; + border-radius: 4px; + border: 1px solid #e5e7eb; + -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); + box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link:before, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link:before { + content: ""; + position: absolute; + top: 50%; + left: 12px; + -webkit-transform: translateY(-50%); + transform: translateY(-50%); + width: 16px; + height: 16px; + border-radius: 50%; + border: 2px solid #a1a9b2; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-transition: border ease 0.3s; + transition: border ease 0.3s; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link + svg, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link + svg { + border: 1px solid #d2d6db; + border-radius: 4px; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active { + border-color: #3e62f5; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active:before, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active:before { + border: 5px solid #3e62f5; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active + svg, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active + svg { + border-color: #3e62f5; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active + svg + rect, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active + svg + rect { + fill: #3e62f5; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active + svg + rect:first-of-type, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active + svg + rect:first-of-type { + stroke: #3e62f5; + fill: #3e62f5; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active + svg + path, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active + svg + path { + fill: #fff; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .grid_view_without_thumbnail + .cptm-form-group-tab-link.active + svg + rect, +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .list_view_without_thumbnail + .cptm-form-group-tab-link.active + svg + rect, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .grid_view_without_thumbnail + .cptm-form-group-tab-link.active + svg + rect, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .list_view_without_thumbnail + .cptm-form-group-tab-link.active + svg + rect { + fill: #3e62f5; + stroke: unset; +} +.cptm-section.listings_card_grid_view .cptm-card-preview-widget { + -webkit-box-shadow: unset; + box-shadow: unset; +} +.cptm-section.listings_card_grid_view .cptm-card-preview-widget-content { + border-radius: 10px; + -webkit-box-shadow: 0 8px 16px 0 rgba(16, 24, 40, 0.1019607843); + box-shadow: 0 8px 16px 0 rgba(16, 24, 40, 0.1019607843); +} +.cptm-section.listings_card_list_view .cptm-card-top-area { + max-width: unset; +} +.cptm-section.listings_card_list_view .cptm-card-preview-thumbnail { + border-radius: 10px; +} +.cptm-section.new_listing_status { + z-index: 11; +} +.cptm-section:last-child { + margin-bottom: 0; +} + +.cptm-form-builder { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} +@media only screen and (max-width: 1024px) { + .cptm-form-builder { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 30px; + } + .cptm-form-builder .cptm-form-builder-sidebar { + max-width: 100%; + } +} +.cptm-form-builder.submission_form_fields .cptm-form-builder-content { + border-bottom: 25px solid #f3f4f6; +} +@media only screen and (max-width: 480px) { + .cptm-form-builder.submission_form_fields { + gap: 30px; + } + .cptm-form-builder.submission_form_fields .cptm-col-sticky { + position: unset; + border: none; + } + .cptm-form-builder.submission_form_fields + .cptm-col-sticky + .cptm-form-builder-sidebar-content { + padding: 0; + } + .cptm-form-builder.submission_form_fields + .cptm-col-sticky + .cptm-form-builder-active-fields-container { + padding-bottom: 0; + } +} +.cptm-form-builder.single_listings_contents { + border-top: 1px solid #e5e7eb; +} +@media only screen and (max-width: 480px) { + .cptm-form-builder.search_form_fields .cptm-col-sticky { + position: unset; + border: none; + } + .cptm-form-builder.search_form_fields + .cptm-col-sticky + .cptm-form-builder-sidebar-content { + padding: 0; + } + .cptm-form-builder.search_form_fields + .cptm-col-sticky + .cptm-form-builder-active-fields-container { + padding-bottom: 0; + } +} + +.cptm-form-builder-sidebar { + width: 100%; + max-width: 372px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +@media only screen and (min-width: 1441px) { + .cptm-form-builder-sidebar { + max-width: 35%; + } +} +.cptm-form-builder-sidebar .cptm-form-builder-action { + padding-bottom: 0; +} +@media only screen and (max-width: 480px) { + .cptm-form-builder-sidebar .cptm-form-builder-action { + padding: 20px 0; + } +} +.cptm-form-builder-sidebar .cptm-form-builder-sidebar-content { + padding: 12px 24px 24px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +.cptm-form-builder-content { + height: auto; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + background: #f3f4f6; + border-left: 1px solid #e5e7eb; +} +.cptm-form-builder-content .cptm-form-builder-action { + border-bottom: 1px solid #e5e7eb; +} +.cptm-form-builder-content .cptm-form-builder-active-fields { + padding: 24px; + background: #f3f4f6; + height: 100%; + min-height: calc(100vh - 225px); +} +@media only screen and (max-width: 1399px) { + .cptm-form-builder-content .cptm-form-builder-active-fields { + min-height: calc(100vh - 225px); + } +} + +.cptm-form-builder-action { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + padding: 18px 24px; + background: #ffffff; +} + +.cptm-form-builder-action-title { + font-size: 16px; + line-height: 24px; + font-weight: 500; + color: #141921; +} + +.cptm-form-builder-action-btn { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 8px; + padding: 0 12px; + color: #141921; + font-size: 14px; + line-height: 16px; + font-weight: 500; + height: 32px; + -webkit-box-sizing: border-box; + box-sizing: border-box; + border: 1px solid #d2d6db; + border-radius: 4px; +} + +.cptm-elements-settings + .cptm-form-builder-action-btn.directorist-row-tooltip[data-tooltip]:after, +.cptm-form-builder-sidebar + .cptm-form-builder-action-btn.directorist-row-tooltip[data-tooltip]:after { + width: 200px; + height: auto; + min-height: 34px; + white-space: unset; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +.cptm-form-builder-preset-fields:not(:last-child) { + margin-bottom: 40px; +} + +.cptm-form-builder-preset-fields-header-action-link { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + margin: 0 0 12px; +} +.cptm-form-builder-preset-fields-header-action-link + .cptm-form-builder-preset-fields-header-action-icon { + font-size: 20px; +} +.cptm-form-builder-preset-fields-header-action-link:focus { + outline: none; + -webkit-box-shadow: none; + box-shadow: none; +} + +.cptm-form-builder-preset-fields-header-action-text { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + font-size: 12px; + font-weight: 600; + color: #4d5761; +} + +.cptm-form-builder-preset-fields-header-action-link { + color: #747c89; +} + +.cptm-title-3 { + margin: 0; + color: #272b41; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + font-weight: 500; + font-size: 18px; +} + +.cptm-description-text { + margin: 5px 0 20px; + color: #5a5f7d; + font-size: 15px; +} + +.cptm-form-builder-active-fields { + display: block; + height: 100%; +} +.cptm-form-builder-active-fields.empty-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + text-align: center; + height: calc(100vh - 200px); + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-form-builder-active-fields.empty-content + .cptm-form-builder-active-fields-container { + height: auto; +} +.cptm-form-builder-active-fields.empty-content + .cptm-form-builder-active-fields-empty-text { + font-size: 18px; + line-height: 24px; + font-weight: 500; + font-style: italic; + color: #4d5761; + margin: 12px 0 0; +} +.cptm-form-builder-active-fields.empty-content + .cptm-form-builder-active-fields-footer { + text-align: center; +} +.cptm-form-builder-active-fields.empty-content + .cptm-form-builder-active-fields-footer + .cptm-btn { + margin: 10px auto; +} +.cptm-form-builder-active-fields .directorist-draggable-list-item-wrapper { + height: auto; + z-index: auto; +} +.cptm-form-builder-active-fields + .directorist-draggable-list-item-wrapper:hover { + z-index: 1; +} +.cptm-form-builder-active-fields .cptm-description-text + .cptm-btn { + border: 1px solid #3e62f5; + height: 43px; + background: rgba(62, 98, 245, 0.1); + color: #3e62f5; + font-size: 14px; + font-weight: 500; + margin: 0 0 22px; +} +.cptm-form-builder-active-fields + .cptm-description-text + + .cptm-btn.cptm-btn-primary { + background: #3e62f5; + color: #fff; +} + +.cptm-form-builder-active-fields-container { + position: relative; + margin: 0; + z-index: 1; +} + +.cptm-form-builder-active-fields-footer { + text-align: left; +} +@media only screen and (max-width: 991px) { + .cptm-form-builder-active-fields-footer { + text-align: left; + } +} +@media only screen and (max-width: 991px) { + .cptm-form-builder-active-fields-footer .cptm-btn { + margin-left: 0; + } +} +.cptm-form-builder-active-fields-footer .cptm-btn { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + height: 40px; + color: #3e62f5; + background: #ffffff; + border: 0 none; + margin: 16px 0 0; + font-size: 14px; + font-weight: 600; + border-radius: 4px; + border: 1px solid #3e62f5; + -webkit-box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08); + box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08); +} +.cptm-form-builder-active-fields-footer .cptm-btn span { + font-size: 16px; +} + +.cptm-form-builder-active-fields-group { + position: relative; + margin-bottom: 6px; + padding-bottom: 0; +} + +.cptm-form-builder-group-header-section { + position: relative; +} +.cptm-form-builder-group-header-section.expanded + .cptm-form-builder-group-header { + border-radius: 6px 6px 0 0; + background-color: #f9fafb; + border-bottom: none; +} +.cptm-form-builder-group-header-section.expanded + .cptm-form-builder-group-title-icon { + background-color: #d8e0fd; +} +.cptm-form-builder-group-header-section.locked + .cptm-form-builder-group-options-wrapper { + right: 12px; +} +.cptm-form-builder-group-header-section + .cptm-form-builder-group-options-wrapper { + position: absolute; + top: calc(100% - 12px); + right: 55px; + width: 100%; + max-width: 460px; + height: 100%; + z-index: 9; +} +.cptm-form-builder-group-header-section + .cptm-form-builder-group-options-wrapper + .cptm-form-builder-group-options { + padding: 0; + border: 1px solid #e5e7eb; + border-radius: 6px; + -webkit-box-shadow: 0 8px 16px rgba(16, 24, 40, 0.1); + box-shadow: 0 8px 16px rgba(16, 24, 40, 0.1); +} +.cptm-form-builder-group-header-section + .cptm-form-builder-group-options-wrapper + .cptm-form-builder-group-options + .cptm-form-builder-group-options-header { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + padding: 12px 16px; + border-bottom: 1px solid #e5e7eb; +} +.cptm-form-builder-group-header-section + .cptm-form-builder-group-options-wrapper + .cptm-form-builder-group-options + .cptm-form-builder-group-options-header-title { + font-size: 14px; + line-height: 16px; + font-weight: 600; + color: #2c3239; + margin: 0; +} +.cptm-form-builder-group-header-section + .cptm-form-builder-group-options-wrapper + .cptm-form-builder-group-options + .cptm-form-builder-group-options-header-close { + color: #2c3239; +} +.cptm-form-builder-group-header-section + .cptm-form-builder-group-options-wrapper + .cptm-form-builder-group-options + .cptm-form-builder-group-options-header-close + span { + font-size: 20px; +} +.cptm-form-builder-group-header-section + .cptm-form-builder-group-options-wrapper + .cptm-form-builder-group-options + .directorist-form-fields-area { + padding: 24px; +} + +.cptm-form-builder-group-header { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + border-radius: 6px; + background-color: #ffffff; + border: 1px solid #e5e7eb; + overflow: hidden; + -webkit-transition: border-radius ease 1s; + transition: border-radius ease 1s; +} + +.cptm-form-builder-group-header-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + padding: 12px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +div[draggable="true"].cptm-form-builder-group-header-content { + cursor: move; +} + +.cptm-form-builder-group-header-content__dropable-wrapper { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} + +.cptm-no-wrap { + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.cptm-card-top-area { + max-width: 450px; + margin: 0 auto; + margin-bottom: 10px; +} +.cptm-card-top-area > .form-group .cptm-form-control { + background: none; + border: 1px solid #c6d0dc; + height: 42px; +} +.cptm-card-top-area > .form-group .cptm-template-type-wrapper { + position: relative; +} +.cptm-card-top-area > .form-group .cptm-template-type-wrapper:before { + content: "\f110"; + position: absolute; + font-family: "LineAwesome"; + right: 20px; + top: 50%; + -webkit-transform: translateY(-50%); + transform: translateY(-50%); + pointer-events: none; +} + +.cptm-form-builder-group-header-content__dropable-placeholder { + margin-right: 15px; +} + +.cptm-form-builder-header-actions { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 8px; +} + +.cptm-form-builder-group-actions-dropdown-content.expanded { + position: absolute; + width: 200px; + top: 100%; + right: 0; + z-index: 9; +} +.cptm-form-builder-group-actions-dropdown-content.expanded + .cptm-form-builder-field-item-action-link { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + color: #d94a4a; + background: #ffffff; + padding: 10px 15px; + width: 100%; + height: 50px; + font-size: 14px; + font-weight: 500; + border-radius: 8px; + -webkit-box-sizing: border-box; + box-sizing: border-box; + border: 1px solid #e5e7eb; + -webkit-box-shadow: 0 12px 16px rgba(16, 24, 40, 0.08); + box-shadow: 0 12px 16px rgba(16, 24, 40, 0.08); + -webkit-transition: + background ease 0.3s, + color ease 0.3s, + border-color ease 0.3s; + transition: + background ease 0.3s, + color ease 0.3s, + border-color ease 0.3s; +} +.cptm-form-builder-group-actions-dropdown-content.expanded + .cptm-form-builder-field-item-action-link + span { + font-size: 20px; +} +.cptm-form-builder-group-actions-dropdown-content.expanded + .cptm-form-builder-field-item-action-link:hover { + color: #ffffff; + background: #d94a4a; + border-color: #d94a4a; +} + +.cptm-form-builder-group-actions { + display: block; + min-width: 34px; + margin-left: 15px; +} + +.cptm-form-builder-group-title { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 12px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + margin: 0; + font-size: 15px; + font-weight: 500; + color: #141921; +} +@media only screen and (max-width: 480px) { + .cptm-form-builder-group-title { + font-size: 13px; + } +} + +.cptm-form-builder-group-title-icon { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 40px; + height: 40px; + min-width: 40px; + min-height: 40px; + font-size: 20px; + color: #141921; + border-radius: 8px; + background-color: #f3f4f6; +} +@media only screen and (max-width: 480px) { + .cptm-form-builder-group-title-icon { + width: 32px; + height: 32px; + min-width: 32px; + min-height: 32px; + font-size: 18px; + } +} + +.cptm-form-builder-group-options { + background-color: #fff; + padding: 20px; + border-radius: 0 0 6px 6px; + border: 1px solid #e5e7eb; + border-top: none; + -webkit-box-shadow: 0 4px 8px rgba(16, 24, 40, 0.08); + box-shadow: 0 4px 8px rgba(16, 24, 40, 0.08); +} +.cptm-form-builder-group-options .directorist-form-fields-advanced { + padding: 0; + margin: 16px 0 0; + font-size: 13px; + font-weight: 500; + background: transparent; + border: none; + outline: none; + -webkit-box-shadow: none; + box-shadow: none; + color: #2e94fa; + text-decoration: underline; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; + cursor: pointer; +} +.cptm-form-builder-group-options .directorist-form-fields-advanced:hover { + color: #3e62f5; +} +.cptm-form-builder-group-options + .directorist-form-fields-area + .cptm-form-group:last-child { + margin-bottom: 0; +} +.cptm-form-builder-group-options + .cptm-form-builder-group-options__advanced-toggle { + font-size: 13px; + font-weight: 500; + color: #3e62f5; + background: transparent; + border: none; + padding: 0; + display: block; + margin-top: -7px; + cursor: pointer; +} + +.cptm-form-builder-group-fields { + display: block; + position: relative; + padding: 24px; + background-color: #fff; + border: 1px solid #e5e7eb; + border-top: none; + border-radius: 0 0 6px 6px; + -webkit-box-shadow: 0 4px 8px rgba(16, 24, 40, 0.08); + box-shadow: 0 4px 8px rgba(16, 24, 40, 0.08); +} + +.icon-picker-selector { + margin: 0; + padding: 3px 4px 3px 16px; + border: 1px solid #d2d6db; + border-radius: 8px; + -webkit-box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05); + box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05); +} +.icon-picker-selector .icon-picker-selector__icon { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + margin: 0; +} +.icon-picker-selector + .icon-picker-selector__icon + input[type="text"].cptm-form-control { + padding: 5px 20px; + min-height: 20px; + background-color: transparent; + outline: none; +} +.icon-picker-selector .icon-picker-selector__icon .directorist-selected-icon { + position: unset; + -webkit-transform: unset; + transform: unset; + font-size: 16px; +} +.icon-picker-selector + .icon-picker-selector__icon + .directorist-selected-icon:before { + margin-right: 6px; +} +.icon-picker-selector .icon-picker-selector__icon input { + height: 32px; + border: none !important; + padding-left: 0 !important; +} +.icon-picker-selector + .icon-picker-selector__icon + .icon-picker-selector__icon__reset { + font-size: 12px; + padding: 0 10px 0 0; +} +.icon-picker-selector .icon-picker-selector__btn { + margin: 0; + height: 32px; + padding: 0 15px; + font-size: 13px; + font-weight: 500; + color: #2c3239; + border-radius: 6px; + background-color: #e5e7eb; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; +} +.icon-picker-selector .icon-picker-selector__btn:hover { + background-color: #e3e6e9; +} + +.cptm-restricted-area { + position: absolute; + top: 0; + bottom: 0; + right: 0; + left: 0; + z-index: 999; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + padding: 10px; + text-align: center; + background: rgba(255, 255, 255, 0.8); +} + +.cptm-form-builder-group-field-item { + margin-bottom: 8px; + position: relative; +} +.cptm-form-builder-group-field-item .cptm-form-builder-group-field-item-drag { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 40px; + height: 48px; + font-size: 24px; + color: #747c89; + background-color: #f9fafb; + border-radius: 6px 0 0 6px; + cursor: move; +} +.cptm-form-builder-group-field-item + .cptm-form-builder-group-field-item-header-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + padding: 8px 12px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-form-builder-group-field-item.expanded + .cptm-form-builder-group-field-item-header { + border-radius: 6px 6px 0 0; + background-color: #f9fafb; + border-width: 1.5px; + border-color: #3e62f5; + border-bottom: none; +} + +.cptm-form-builder-group-field-item-actions { + display: block; + position: absolute; + right: -15px; + -webkit-transform: translate(34px, 7px); + transform: translate(34px, 7px); +} + +.cptm-form-builder-group-field-item-action-link { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + font-size: 14px; + background-color: #e3e6ef; + border-radius: 50%; + width: 34px; + height: 34px; + text-align: center; + color: #868eae; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} + +.action-trash:hover { + color: #e62626; + background-color: rgba(255, 0, 0, 0.15); +} + +.action-trash:hover { + background-color: #d7d7d7; +} +.action-trash:hover:hover { + color: #e62626; + background-color: rgba(255, 0, 0, 0.15); +} + +.cptm-form-builder-header-action-link { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 32px; + height: 32px; + font-size: 18px; + color: #747c89; + border: 1px solid #e5e7eb; + border-radius: 6px; + outline: none; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-form-builder-header-action-link:hover, +.cptm-form-builder-header-action-link:focus, +.cptm-form-builder-header-action-link:active { + color: #141921; + background-color: #f3f4f6; + border-color: #e5e7eb; + -webkit-box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05); + box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05); +} +@media only screen and (max-width: 480px) { + .cptm-form-builder-header-action-link { + width: 24px; + height: 24px; + font-size: 14px; + } +} +.cptm-form-builder-header-action-link.disabled { + color: #a1a9b2; + pointer-events: none; +} + +.cptm-form-builder-header-toggle-link { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 32px; + height: 32px; + font-size: 24px; + color: #747c89; + border: none !important; + -webkit-box-shadow: none !important; + box-shadow: none !important; + outline: none !important; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +@media only screen and (max-width: 480px) { + .cptm-form-builder-header-toggle-link { + width: 24px; + height: 24px; + font-size: 18px; + } +} +.cptm-form-builder-header-toggle-link.action-collapse-down { + color: #3e62f5; +} +.cptm-form-builder-header-toggle-link.disabled { + opacity: 0.5; + pointer-events: none; +} + +.action-collapse-up span { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + -webkit-transform: rotate(0); + transform: rotate(0); +} + +.action-collapse-down span { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + -webkit-transform: rotate(180deg); + transform: rotate(180deg); +} + +.cptm-form-builder-group-field-item-header { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + border-radius: 6px; + border: 1px solid #e5e7eb; + -webkit-transition: border-radius ease 1s; + transition: border-radius ease 1s; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + font-size: 14px; + line-height: 16px; + font-weight: 500; + color: #141921; + margin: 0; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-form-builder-group-field-item-label { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-form-builder-group-field-item-subtitle { + color: #747c89; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-form-builder-group-field-item-icon { + font-size: 20px; + color: #141921; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 12px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-icon-svg { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-icon-svg + svg { + width: 16px; + height: 16px; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-icon-svg + svg + path { + fill: #747c89; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-info-tooltip { + position: relative; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-info-tooltip:before { + content: attr(data-info); + position: absolute; + top: calc(100% + 8px); + left: 0; + min-width: 180px; + max-width: 180px; + text-align: center; + color: #ffffff; + font-size: 13px; + font-weight: 500; + padding: 10px 12px; + border-radius: 6px; + background-color: #141921; + opacity: 0; + visibility: hidden; + -webkit-transition: + opacity 0.3s ease, + visibility 0.3s ease; + transition: + opacity 0.3s ease, + visibility 0.3s ease; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-info-tooltip:after { + content: ""; + position: absolute; + top: calc(100% + 2px); + left: 4px; + border-bottom: 6px solid #141921; + border-left: 6px solid transparent; + border-right: 6px solid transparent; + opacity: 0; + visibility: hidden; + -webkit-transition: + opacity 0.3s ease, + visibility 0.3s ease; + transition: + opacity 0.3s ease, + visibility 0.3s ease; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-info-tooltip:hover:before, +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-info-tooltip:hover:after { + opacity: 1; + visibility: visible; + z-index: 1; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-info { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + font-size: 12px; + line-height: 14px; + font-weight: 400; + padding: 4px 8px; + color: #ca6f04; + background-color: #fdefce; + border-radius: 4px; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-info + .cptm-title-info-icon { + font-size: 16px; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-info + i { + font-size: 16px; + color: #4d5761; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-header-actions + .cptm-form-builder-header-action-link { + font-size: 18px; + color: #747c89; + border: none; + -webkit-box-shadow: none; + box-shadow: none; +} + +.cptm-form-builder-group-field-item-body { + padding: 24px; + border: 1.5px solid #3e62f5; + border-top-width: 1px; + border-radius: 0 0 6px 6px; +} + +.cptm-form-builder-group-item-drag { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 46px; + min-width: 46px; + height: 100%; + min-height: 64px; + font-size: 24px; + color: #747c89; + background-color: #f9fafb; + -webkit-box-flex: unset; + -webkit-flex-grow: unset; + -ms-flex-positive: unset; + flex-grow: unset; + cursor: move; +} +@media only screen and (max-width: 480px) { + .cptm-form-builder-group-item-drag { + width: 32px; + min-width: 32px; + font-size: 18px; + } +} + +.cptm-form-builder-field-list { + padding: 0; + margin: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-form-builder-field-list .directorist-draggable-list-item { + position: unset; +} + +.cptm-form-builder-field-list-item { + width: calc(50% - 4px); + padding: 12px; + margin: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + list-style: none; + background-color: #ffffff; + border: 1px solid #d2d6db; + border-radius: 4px; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; +} +.cptm-form-builder-field-list-item .directorist-draggable-list-item-slot { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} +.cptm-form-builder-field-list-item:hover { + background-color: #e5e7eb; + -webkit-box-shadow: 0 2px 4px rgba(16, 24, 40, 0.08); + box-shadow: 0 2px 4px rgba(16, 24, 40, 0.08); +} +.cptm-form-builder-field-list-item.clickable { + cursor: pointer; +} +.cptm-form-builder-field-list-item.disabled { + cursor: not-allowed; +} +@media (max-width: 400px) { + .cptm-form-builder-field-list-item { + width: calc(100% - 6px); + } +} + +li[class="cptm-form-builder-field-list-item"][draggable="true"] { + cursor: move; +} + +.cptm-form-builder-field-list-item { + position: relative; +} +.cptm-form-builder-field-list-item > pre { + position: absolute; + top: 3px; + right: 5px; + margin: 0; + font-size: 10px; + line-height: 12px; + color: #f80718; +} + +.cptm-form-builder-field-list-icon { + display: inline-block; + margin-right: 8px; + width: auto; + max-width: 20px; + font-size: 20px; + color: #141921; +} + +.cptm-form-builder-field-list-item-icon { + font-size: 14px; + margin-right: 1px; +} + +.cptm-form-builder-field-list-label, +.cptm-form-builder-field-list-item-label { + display: inline-block; + font-size: 13px; + font-weight: 500; + color: #141921; +} + +.cptm-option-card--draggable .cptm-form-builder-field-list { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 10px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 12px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + margin: 0; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item { + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + border-radius: 8px; + border-color: #e5e7eb; + background: transparent; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-content { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-drag { + cursor: move; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-edit, +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-action { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + color: #747c89; + border-radius: 6px; + cursor: pointer; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-edit.active, +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-edit:hover, +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-action.active, +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-action:hover { + color: #0e3bf2; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-action:hover { + color: #d94a4a; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container { + padding: 15px 0 22px 0; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-preview-wrapper { + margin-bottom: 20px; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-widget-options-wrap:not(:last-child) { + margin-bottom: 17px; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-form-group + .cptm-preview-radio-area + label { + margin-bottom: 12px; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-form-group + .cptm-radio-area + .cptm-radio-item:last-child + label { + margin-bottom: 0; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-form-group--color-picker + .atbdp-row { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-form-group--color-picker + .atbdp-row + .atbdp-col { + width: 100%; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-form-group--color-picker + .cptm-color-picker-wrap { + width: 100%; + padding: 6px; + border-radius: 8px; + border: 1px solid #d2d6db; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-form-group--color-picker + .cptm-color-picker-wrap + .cptm-color-picker { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + height: 20px; + width: 20px; + padding: 0; + border-radius: 6px; + border: 1px solid #e5e7eb; + overflow: hidden; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-form-group--color-picker + .cptm-color-picker-wrap + .cptm-color-picker + .icp__input { + width: 30px; + height: 30px; + margin: 0; +} +.cptm-option-card--draggable + .cptm-widget-options-container-draggable + .cptm-widget-options-container { + padding-left: 25px; +} + +.cptm-info-text-area { + margin-bottom: 10px; +} + +.cptm-info-text { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + font-size: 12px; + line-height: 14px; + font-weight: 400; + margin: 0; + padding: 0 8px; + height: 22px; + color: #4d5761; + border-radius: 4px; + background: #daeeff; +} + +.cptm-info-success { + color: #00b158; +} + +.cptm-mb-0 { + margin-bottom: 0 !important; +} + +.cptm-item-footer-drop-area { + position: absolute; + left: 0; + bottom: 0; + width: 100%; + height: 20px; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + -webkit-transform: translate(0, 100%); + transform: translate(0, 100%); + z-index: 5; +} +.cptm-item-footer-drop-area.drag-enter { + background-color: rgba(23, 135, 255, 0.3); +} +.cptm-item-footer-drop-area.cptm-group-item-drop-area { + height: 40px; +} + +.cptm-form-builder-group-field-item-drop-area { + height: 20px; + position: absolute; + bottom: -20px; + z-index: 5; + width: 100%; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-form-builder-group-field-item-drop-area.drag-enter { + background-color: rgba(23, 135, 255, 0.3); +} + +.cptm-checkbox-area, +.cptm-options-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + margin: 10px 0; + right: 0; + left: 0; +} + +.cptm-checkbox-area .cptm-checkbox-item:not(:last-child) { + margin-bottom: 10px; +} + +@media (max-width: 1300px) { + .cptm-checkbox-area, + .cptm-options-area { + position: static; + } +} +.cptm-checkbox-item, +.cptm-radio-item { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + margin-right: 20px; +} + +.cptm-tab-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-tab-area .cptm-tab-item input { + display: none; +} +.cptm-tab-area .cptm-tab-item input:checked + label { + color: #fff; + background-color: #3e62f5; +} +.cptm-tab-area .cptm-tab-item label { + margin: 0; + padding: 0 12px; + height: 32px; + line-height: 32px; + font-size: 14px; + font-weight: 500; + color: #747c89; + background: #e5e7eb; + cursor: pointer; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-tab-area .cptm-tab-item label:hover { + color: #fff; + background-color: #3e62f5; +} + +@media screen and (max-width: 782px) { + .enable_schema_markup .atbdp-label-icon-wrapper { + margin-bottom: 15px !important; + } +} + +.cptm-schema-tab-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-align: start; + -webkit-align-items: flex-start; + -ms-flex-align: start; + align-items: flex-start; + gap: 12px; +} +.cptm-schema-tab-label { + color: rgba(0, 6, 38, 0.9); + font-size: 15px; + font-style: normal; + font-weight: 600; + line-height: 16px; +} +.cptm-schema-tab-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 10px 20px; +} +@media screen and (max-width: 782px) { + .cptm-schema-tab-wrapper { + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + } +} +.cptm-schema-tab-wrapper input[type="radio"]:checked { + background-color: #3e62f5 !important; + border-color: #3e62f5 !important; +} +.cptm-schema-tab-wrapper input[type="radio"]:checked::before { + background-color: white !important; +} +.cptm-schema-tab-item { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding: 12px 16px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 6px; + border-radius: 8px; + border: 1px solid rgba(0, 17, 102, 0.1); + background-color: #fff; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +@media screen and (max-width: 782px) { + .cptm-schema-tab-item { + width: 100%; + } +} +.cptm-schema-tab-item input[type="radio"] { + -webkit-box-shadow: none; + box-shadow: none; +} +@media screen and (max-width: 782px) { + .cptm-schema-tab-item input[type="radio"] { + width: 16px; + height: 16px; + } + .cptm-schema-tab-item input[type="radio"]:checked:before { + width: 0.5rem; + height: 0.5rem; + margin: 3px 3px; + line-height: 1.14285714; + } +} +.cptm-schema-tab-item.active { + border-color: #3e62f5 !important; + background-color: #f0f3ff; +} +.cptm-schema-tab-item.active .cptm-schema-label-wrapper { + color: #3e62f5 !important; +} +.cptm-schema-multi-directory-disabled .cptm-schema-tab-item:last-child { + cursor: not-allowed; + opacity: 0.5; + pointer-events: none; +} +.cptm-schema-multi-directory-disabled + .cptm-schema-tab-item:last-child + .cptm-schema-label-badge { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; +} +.cptm-schema-label-wrapper { + color: rgba(0, 6, 38, 0.9) !important; + font-size: 14px !important; + font-style: normal; + font-weight: 600 !important; + line-height: 20px; + cursor: pointer; + margin: 0 !important; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-schema .cptm-schema-label { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 6px; +} +.cptm-schema-label-badge { + display: none; + height: 20px; + padding: 0px 8px; + border-radius: 4px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + background-color: #e3ecf2; + color: rgba(0, 8, 51, 0.65); + font-size: 12px; + font-style: normal; + font-weight: 500; + line-height: 16px; + letter-spacing: 0.12px; +} +.cptm-schema-label-description { + color: rgba(0, 8, 51, 0.65); + font-size: 12px !important; + font-style: normal; + font-weight: 400; + line-height: 18px; + margin-top: 2px; +} + +#listing_settings__listings_page .cptm-checkbox-item:not(:last-child) { + margin-bottom: 10px; +} + +input[type="checkbox"].cptm-checkbox { + display: none; +} +input[type="checkbox"].cptm-checkbox:checked + .cptm-checkbox-ui { + color: #3e62f5; +} +input[type="checkbox"].cptm-checkbox:checked + .cptm-checkbox-ui::before { + font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands"; + font-weight: 900; + color: #fff; + content: "\f00c"; + z-index: 22; +} +input[type="checkbox"].cptm-checkbox:checked + .cptm-checkbox-ui:after { + background-color: #00b158; + border-color: #00b158; + z-index: -1; +} + +input[type="radio"].cptm-radio { + margin-top: 1px; +} + +.cptm-form-range-wrap { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-form-range-wrap .cptm-form-range-bar { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} +.cptm-form-range-wrap .cptm-form-range-output { + width: 30px; +} +.cptm-form-range-wrap .cptm-form-range-output-text { + padding: 10px 20px; + background-color: #fff; +} + +.cptm-checkbox-ui { + display: inline-block; + min-width: 16px; + position: relative; + z-index: 1; + margin-right: 12px; +} +.cptm-checkbox-ui::before { + font-size: 10px; + line-height: 1; + font-weight: 900; + display: inline-block; + margin-left: 4px; +} +.cptm-checkbox-ui:after { + position: absolute; + left: 0; + top: 0; + width: 18px; + height: 18px; + border-radius: 4px; + border: 1px solid #c6d0dc; + content: ""; +} + +.cptm-vh { + overflow: hidden; + overflow-y: auto; + max-height: 100vh; +} + +.cptm-thumbnail { + max-width: 350px; + width: 100%; + height: auto; + margin-bottom: 20px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + background-color: #f2f2f2; +} +.cptm-thumbnail img { + display: block; + width: 100%; + height: auto; +} + +.cptm-thumbnail-placeholder { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; +} + +.cptm-thumbnail-placeholder-icon { + font-size: 40px; + color: #d2d6db; +} +.cptm-thumbnail-placeholder-icon svg { + width: 40px; + height: 40px; +} + +.cptm-thumbnail-img-wrap { + position: relative; +} + +.cptm-thumbnail-action { + display: inline-block; + position: absolute; + top: 0; + right: 0; + background-color: #c6c6c6; + padding: 5px 8px; + border-radius: 50%; + margin: 10px; + cursor: pointer; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} + +.cptm-sub-navigation { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + margin: 0 auto 10px; + padding: 3px 4px; + background: #e5e7eb; + border-radius: 6px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +@media only screen and (max-width: 480px) { + .cptm-sub-navigation { + padding: 10px; + } +} + +.cptm-sub-nav__item { + list-style: none; + margin: 0; +} + +.cptm-sub-nav__item-link { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 7px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + text-decoration: none; + height: 32px; + padding: 0 10px; + color: #4d5761; + font-size: 14px; + line-height: 14px; + font-weight: 500; + border-radius: 4px; + -webkit-transition: 0.3s ease; + transition: 0.3s ease; +} +.cptm-sub-nav__item-link .cptm-sub-nav__item-tooltip { + padding: 0 10px; + margin-right: -10px; + height: 32px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + background: transparent; + color: #4d5761; + border-radius: 0 4px 4px 0; +} +.cptm-sub-nav__item-link .cptm-sub-nav__item-tooltip svg path { + stroke: #4d5761; +} +.cptm-sub-nav__item-link .cptm-sub-nav__item-tooltip:hover { + background: #f9f9f9; +} +.cptm-sub-nav__item-link .cptm-sub-nav__item-icon { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + font-size: 24px; + color: #4d5761; +} +.cptm-sub-nav__item-link .cptm-sub-nav__item-icon svg { + width: 24px; + height: 24px; +} +.cptm-sub-nav__item-link .cptm-sub-nav__item-icon svg path { + stroke: #4d5761; +} +.cptm-sub-nav__item-link.active { + color: #141921; + background: #ffffff; +} +.cptm-sub-nav__item-link.active .cptm-sub-nav__item-icon svg path { + stroke: #141921; +} +.cptm-sub-nav__item-link.active .cptm-sub-nav__item-tooltip svg path { + stroke: #141921; +} +.cptm-sub-nav__item-link:hover:not(.active) { + color: #141921; + background: #ffffff; +} + +.cptm-builder-section { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + position: relative; +} +@media only screen and (max-width: 1199px) { + .cptm-builder-section { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + } +} + +.cptm-options-area { + width: 320px; + margin: 0; +} + +.cptm-option-card { + display: none; + opacity: 0; + position: relative; + border-radius: 5px; + text-align: left; + -webkit-transform-origin: center; + transform-origin: center; + background: #ffffff; + border-radius: 4px; + -webkit-box-shadow: 0 8px 16px 0 rgba(16, 24, 40, 0.1); + box-shadow: 0 8px 16px 0 rgba(16, 24, 40, 0.1); + -webkit-transition: all linear 300ms; + transition: all linear 300ms; + pointer-events: none; +} +.cptm-option-card:before { + content: ""; + border-bottom: 7px solid #ffffff; + border-left: 7px solid transparent; + border-right: 7px solid transparent; + position: absolute; + top: -6px; + right: 22px; +} +.cptm-option-card.cptm-animation-flip { + -webkit-transform: rotate3d(0, 1, 0, 45deg); + transform: rotate3d(0, 1, 0, 45deg); +} +.cptm-option-card.cptm-animation-slide-up { + -webkit-transform: translate(0, 30px); + transform: translate(0, 30px); +} +.cptm-option-card.active { + display: block; + opacity: 1; + pointer-events: all; +} +.cptm-option-card.active.cptm-animation-flip { + -webkit-transform: rotate3d(0, 0, 0, 0deg); + transform: rotate3d(0, 0, 0, 0deg); +} +.cptm-option-card.active.cptm-animation-slide-up { + -webkit-transform: translate(0, 0); + transform: translate(0, 0); +} + +.cptm-anchor-down { + display: block; + text-align: center; + position: relative; + top: -1px; +} +.cptm-anchor-down:after { + content: ""; + display: inline-block; + width: 0; + height: 0; + border-left: 15px solid transparent; + border-right: 15px solid transparent; + border-top: 15px solid #fff; +} + +.cptm-header-action-link { + display: inline-block; + padding: 0 10px; + text-decoration: none; + color: #2c3239; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-header-action-link:hover { + color: #1890ff; +} + +.cptm-option-card-header { + padding: 8px 16px; + border-bottom: 1px solid #e5e7eb; +} + +.cptm-option-card-header-title-section { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.cptm-option-card-header-title { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + margin: 0; + text-align: left; + font-size: 14px; + font-weight: 600; + line-height: 24px; + color: #141921; +} + +.cptm-header-action-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding: 0 0 0 10px; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.cptm-option-card-header-nav-section { + display: block; +} + +.cptm-option-card-header-nav { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + color: #fff; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + padding: 0; + margin: 0; + background-color: rgba(255, 255, 255, 0.15); +} + +.cptm-option-card-header-nav-item { + display: block; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + text-align: center; + padding: 8px 10px; + cursor: pointer; + margin-bottom: 0; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-option-card-header-nav-item.active { + background-color: rgba(255, 255, 255, 0.15); +} + +.cptm-option-card-body { + padding: 16px; + max-height: 500px; + overflow-y: auto; +} +.cptm-option-card-body .cptm-form-group:last-child { + margin-bottom: 0; +} +.cptm-option-card-body .cptm-input-toggle-wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 12px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-orient: horizontal; + -webkit-box-direction: reverse; + -webkit-flex-direction: row-reverse; + -ms-flex-direction: row-reverse; + flex-direction: row-reverse; + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-option-card-body .cptm-input-toggle-wrap .cptm-input-toggle-content { + -webkit-box-flex: unset; + -webkit-flex: unset; + -ms-flex: unset; + flex: unset; +} +.cptm-option-card-body + .cptm-input-toggle-wrap + .cptm-input-toggle-content + label { + font-size: 14px; + font-weight: 500; + line-height: 20px; + color: #141921; +} +.cptm-option-card-body .directorist-type-icon-select { + margin-bottom: 20px; +} +.cptm-option-card-body .directorist-type-icon-select .icon-picker-selector { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.cptm-widget-actions, +.cptm-widget-actions-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 100%; + position: absolute; + bottom: 0; + left: 50%; + -webkit-transform: translate(-50%, 3px); + transform: translate(-50%, 3px); + -webkit-transition: all ease-in-out 0.3s; + transition: all ease-in-out 0.3s; + z-index: 1; +} + +.cptm-widget-actions-wrap { + position: relative; + width: 100%; +} + +.cptm-widget-action-modal-container { + position: absolute; + left: 50%; + top: 0; + width: 330px; + -webkit-transform: translate(-50%, 20px); + transform: translate(-50%, 20px); + pointer-events: none; + -webkit-box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15); + box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15); + -webkit-transition: -webkit-transform 0.3s ease; + transition: -webkit-transform 0.3s ease; + transition: transform 0.3s ease; + transition: + transform 0.3s ease, + -webkit-transform 0.3s ease; + z-index: 2; +} +.cptm-widget-action-modal-container.active { + pointer-events: all; + -webkit-transform: translate(-50%, 10px); + transform: translate(-50%, 10px); +} +@media only screen and (max-width: 480px) { + .cptm-widget-action-modal-container { + max-width: 250px; + } +} + +.cptm-widget-insert-modal-container .cptm-option-card:before { + right: 50%; + -webkit-transform: translateX(50%); + transform: translateX(50%); +} + +.cptm-widget-option-modal-container .cptm-option-card:before { + right: unset; + left: 50%; + -webkit-transform: translateX(-50%); + transform: translateX(-50%); +} +.cptm-widget-option-modal-container .cptm-option-card { + margin: 0; +} +.cptm-widget-option-modal-container .cptm-option-card-header { + background-color: #fff; + border: 1px solid #e5e7eb; +} +.cptm-widget-option-modal-container .cptm-header-action-link { + color: #2c3239; +} +.cptm-widget-option-modal-container .cptm-header-action-link:hover { + color: #1890ff; +} +.cptm-widget-option-modal-container .cptm-option-card-body { + background-color: #fff; + border: 1px solid #e5e7eb; + border-top: none; + -webkit-box-shadow: none; + box-shadow: none; +} +.cptm-widget-option-modal-container .cptm-option-card-header-title-section, +.cptm-widget-option-modal-container .cptm-option-card-header-title { + color: #2c3239; +} + +.cptm-widget-actions-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; +} + +.cptm-widget-action-link { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 28px; + height: 28px; + border-radius: 50%; + font-size: 16px; + text-align: center; + text-decoration: none; + background-color: #fff; + border: 1px solid #3e62f5; + color: #3e62f5; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-widget-action-link:focus { + outline: none; + -webkit-box-shadow: 0 0 0 2px #b4c2f9; + box-shadow: 0 0 0 2px #b4c2f9; +} +.cptm-widget-action-link:hover { + background-color: #3e62f5; + color: #fff; +} +.cptm-widget-action-link:hover svg path { + fill: #fff; +} + +.cptm-widget-card-drop-prepend { + border-radius: 8px; +} + +.cptm-widget-card-drop-append { + display: block; + width: 100%; + height: 0; + border-radius: 8px; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + background-color: transparent; + border: 1px dashed transparent; +} +.cptm-widget-card-drop-append.dropable { + margin: 3px 0; + height: 10px; + border-color: cornflowerblue; +} +.cptm-widget-card-drop-append.drag-enter { + background-color: cornflowerblue; +} + +.cptm-widget-card-wrap { + visibility: visible; +} +.cptm-widget-card-wrap.cptm-widget-card-disabled { + opacity: 0.3; + pointer-events: none; +} +.cptm-widget-card-wrap.cptm-widget-card-disabled.cptm-widget-title-card-wrap { + opacity: 1; +} +.cptm-widget-card-wrap.cptm-widget-card-disabled.cptm-widget-title-card-wrap + .cptm-widget-title-block { + opacity: 0.3; +} +.cptm-widget-card-wrap.cptm-widget-card-disabled.cptm-widget-thumb-card-wrap { + opacity: 1; +} +.cptm-widget-card-wrap.cptm-widget-card-disabled.cptm-widget-thumb-card-wrap + .cptm-widget-label, +.cptm-widget-card-wrap.cptm-widget-card-disabled.cptm-widget-thumb-card-wrap + .cptm-widget-thumb-icon { + opacity: 0.3; + color: #4d5761; +} +.cptm-widget-card-wrap.cptm-widget-card-disabled.cptm-widget-thumb-card-wrap + .cptm-widget-card-disabled-badge { + margin-top: 10px; +} +.cptm-widget-card-wrap .cptm-widget-card-disabled-badge { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + gap: 4px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + font-size: 12px; + line-height: 14px; + font-weight: 500; + padding: 0 6px; + height: 18px; + color: #853d0e; + background: #fdefce; + border-radius: 4px; +} +.cptm-widget-card-wrap.cptm-widget-title-card-wrap { + position: relative; + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 12px; + background-color: #fff; + border: 1px solid #e5e7eb; + border-radius: 4px; +} +.cptm-widget-card-wrap.cptm-widget-title-card-wrap .cptm-widget-title-card { + padding: 0; + font-size: 19px; + font-weight: 600; + line-height: 25px; + color: #141921; +} +.cptm-widget-card-wrap.cptm-widget-title-card-wrap + .cptm-widget-card-options-area + .cptm-form-group { + margin: 0; +} +.cptm-widget-card-wrap.cptm-widget-title-card-wrap + .cptm-widget-card-options-area + .cptm-input-toggle-wrap { + gap: 10px; + -webkit-box-orient: horizontal; + -webkit-box-direction: reverse; + -webkit-flex-direction: row-reverse; + -ms-flex-direction: row-reverse; + flex-direction: row-reverse; +} +.cptm-widget-card-wrap.cptm-widget-title-card-wrap + .cptm-widget-card-options-area + .cptm-input-toggle-wrap + label { + padding: 0; + font-size: 14px; + font-weight: 500; + line-height: 1.15; + color: #141921; +} +.cptm-widget-card-wrap.cptm-widget-title-card-wrap .cptm-widget-badge-trash { + position: absolute; + right: 12px; + top: 50%; + -webkit-transform: translateY(-50%); + transform: translateY(-50%); + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 20px; + height: 20px; + font-size: 14px; + color: #d94a4a; + background: #ffffff; + border: 1px solid #d94a4a; + border-radius: 50%; + cursor: pointer; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-widget-card-wrap.cptm-widget-title-card-wrap + .cptm-widget-badge-trash:hover { + color: #ffffff; + background: #d94a4a; +} + +.cptm-widget-card-inline-wrap { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + vertical-align: top; +} +.cptm-widget-card-inline-wrap .cptm-widget-card-drop-append { + display: inline-block; + width: 0; + height: auto; +} +.cptm-widget-card-inline-wrap .cptm-widget-card-drop-append.dropable { + margin: 0 3px; + width: 10px; + max-width: 10px; +} + +.cptm-widget-badge { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + gap: 4px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + color: #141921; + border-radius: 5px; + font-size: 12px; + font-weight: 400; + background-color: #ffffff; + -webkit-transition: 0.3s ease; + transition: 0.3s ease; + position: relative; + height: 32px; + padding: 0 10px; + border-radius: 4px; + background: #ffffff; + border: 1px solid #e5e7eb; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-widget-badge .cptm-widget-badge-icon, +.cptm-widget-badge .cptm-widget-badge-trash { + font-size: 16px; + color: #141921; +} +.cptm-widget-badge .cptm-widget-badge-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + gap: 4px; + height: 100%; +} +.cptm-widget-badge .cptm-widget-badge-label { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + text-align: left; +} +.cptm-widget-badge .cptm-widget-badge-trash { + margin-left: 4px; + cursor: pointer; + -webkit-transition: color ease 0.3s; + transition: color ease 0.3s; +} +.cptm-widget-badge .cptm-widget-badge-trash:hover { + color: #3e62f5; +} +.cptm-widget-badge.cptm-widget-badge--icon { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + padding: 0; + width: 22px; + height: 22px; + min-height: unset; + border-radius: 100%; +} +.cptm-widget-badge.cptm-widget-badge--icon .cptm-widget-badge-icon { + font-size: 12px; +} + +.cptm-preview-area { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} + +.cptm-preview-wrapper { + display: -webkit-box !important; + display: -webkit-flex !important; + display: -ms-flexbox !important; + display: flex !important; + gap: 25px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} +.cptm-preview-wrapper .cptm-preview-radio-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + max-width: 300px; +} +.cptm-preview-wrapper .cptm-preview-area-archive img { + max-height: 100px; +} + +.cptm-preview-notice { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 16px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + max-width: 658px; + margin: 40px auto; + padding: 20px 24px; + background: #f3f4f6; + border-radius: 10px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-preview-notice.cptm-preview-notice--list { + max-width: unset; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} +.cptm-preview-notice .cptm-preview-notice-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-preview-notice .cptm-preview-notice-content .cptm-preview-notice-text { + font-size: 12px; + font-weight: 400; + color: #2c3239; + margin: 0; +} +.cptm-preview-notice + .cptm-preview-notice-content + .cptm-preview-notice-text + strong { + color: #141921; + font-weight: 600; +} +.cptm-preview-notice .cptm-preview-notice-action .cptm-preview-notice-btn { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + height: 34px; + padding: 0 16px; + font-size: 13px; + font-weight: 500; + border-radius: 8px; + color: #747c89; + background: #ffffff; + border: 1px solid #d2d6db; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; +} +.cptm-preview-notice + .cptm-preview-notice-action + .cptm-preview-notice-btn:hover { + color: #3e62f5; + border-color: #3e62f5; +} +.cptm-preview-notice + .cptm-preview-notice-action + .cptm-preview-notice-btn:hover + svg + path { + fill: #3e62f5; +} + +.cptm-widget-thumb .cptm-widget-thumb-icon { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} +.cptm-widget-thumb .cptm-widget-thumb-icon i { + font-size: 133px; + color: #a1a9b2; +} +.cptm-widget-thumb .cptm-widget-label { + font-size: 16px; + line-height: 18px; + font-weight: 400; + color: #141921; +} + +.cptm-placeholder-block-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + position: relative; +} +.cptm-placeholder-block-wrapper:last-child { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-placeholder-block-wrapper .cptm-placeholder-block { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.cptm-placeholder-block-wrapper + .cptm-placeholder-block:not(.cptm-listing-card-preview-body-placeholder) + .cptm-widget-preview-card { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + vertical-align: top; +} +.cptm-placeholder-block-wrapper .cptm-widget-card-status { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 32px; + height: 32px; + margin-top: 4px; + background: #f3f4f6; + border-radius: 8px; + cursor: pointer; +} +.cptm-placeholder-block-wrapper .cptm-widget-card-status span { + color: #747c89; +} +.cptm-placeholder-block-wrapper .cptm-widget-card-status.disabled { + background: #d2d6db; +} +.cptm-placeholder-block-wrapper .cptm-listing-card-preview-top-placeholder { + padding: 12px; + min-height: 62px; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-preview-container { + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-preview-container + .dndrop-draggable-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + height: auto; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-preview-container + .cptm-widget-preview-card, +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-preview-container + .dndrop-draggable-wrapper-listing_title { + -webkit-transform: unset !important; + transform: unset !important; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-preview-container + .dndrop-draggable-wrapper-listing_title.animated { + z-index: 99999; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-placeholder-label { + top: 50%; + left: 50%; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + font-size: 14px; + font-weight: 400; + color: #4d5761; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-preview-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-preview-card-listing_title { + -webkit-box-flex: 0; + -webkit-flex: 0 0 100%; + -ms-flex: 0 0 100%; + flex: 0 0 100%; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-card { + height: 32px; + padding: 0 10px; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-card.cptm-widget-title-card { + padding: 0; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-card + .cptm-widget-badge-trash { + margin-left: 8px; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-tagline-placeholder + .cptm-placeholder-label, +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-rating-placeholder + .cptm-placeholder-label { + left: 12px; + -webkit-transform: translate(0, -50%); + transform: translate(0, -50%); + font-size: 13px; + font-weight: 400; + color: #4d5761; +} +.cptm-placeholder-block-wrapper + .cptm-placeholder-block.disabled + .cptm-placeholder-label { + color: #4d5761; + font-weight: 400; +} +.cptm-placeholder-block-wrapper + .cptm-widget-preview-container + .dndrop-draggable-wrapper { + overflow: visible !important; +} +.cptm-placeholder-block-wrapper + .cptm-widget-preview-container + .dndrop-draggable-wrapper.is-dragging { + opacity: 0; +} + +.cptm-placeholder-block { + position: relative; + padding: 8px; + background: #a1a9b2; + border: 1px dashed #d2d6db; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + -webkit-box-sizing: border-box; + box-sizing: border-box; + border-radius: 4px; +} +.cptm-placeholder-block:hover, +.cptm-placeholder-block.drag-enter, +.cptm-placeholder-block.cptm-widget-picker-open { + border-color: rgb(255, 255, 255); +} +.cptm-placeholder-block:hover .cptm-widget-insert-area, +.cptm-placeholder-block.drag-enter .cptm-widget-insert-area, +.cptm-placeholder-block.cptm-widget-picker-open .cptm-widget-insert-area { + opacity: 1; + visibility: visible; +} +.cptm-placeholder-block.cptm-listing-card-author-avatar-placeholder { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; +} +.cptm-placeholder-block.cptm-widget-picker-open { + z-index: 100; +} + +.cptm-placeholder-label { + margin: 0; + text-align: center; + margin-bottom: 0; + text-align: center; + position: absolute; + left: 50%; + top: 50%; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + z-index: 0; + color: rgba(255, 255, 255, 0.4); + font-size: 14px; + font-weight: 500; +} +.cptm-placeholder-label.hide { + display: none; +} + +.cptm-listing-card-preview-footer .cptm-placeholder-label { + color: #868eae; +} + +.dndrop-ghost.dndrop-draggable-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + height: auto; +} +.dndrop-ghost.dndrop-draggable-wrapper + .cptm-form-builder-field-list-item-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 12px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + margin: 0; +} +.dndrop-ghost.dndrop-draggable-wrapper .cptm-form-builder-field-list-item { + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + border-radius: 8px; + border-color: #e5e7eb; + background: transparent; +} +.dndrop-ghost.dndrop-draggable-wrapper + .cptm-form-builder-field-list-item-content { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} + +.cptm-center-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + height: 100%; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-center-content.cptm-content-wide * { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} + +.cptm-mb-10 { + margin-bottom: 10px !important; +} + +.cptm-mb-12 { + margin-bottom: 12px !important; +} + +.cptm-mb-20 { + margin-bottom: 20px !important; +} + +.cptm-listing-card-body-header { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} + +.cptm-align-left { + text-align: left; +} + +.cptm-listing-card-body-header-left { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} + +.cptm-listing-card-body-header-right { + width: 100px; + margin-left: 10px; +} + +.cptm-card-preview-area-wrap { + max-width: 450px; + margin: 0 auto; +} + +.cptm-card-preview-widget { + max-width: 450px; + margin: 0 auto; + padding: 24px; + background-color: #fff; + border: 1.5px solid rgba(0, 17, 102, 0.1019607843); + border-top: none; + border-radius: 0 0 24px 24px; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-box-shadow: 0 8px 16px 0 rgba(16, 24, 40, 0.1019607843); + box-shadow: 0 8px 16px 0 rgba(16, 24, 40, 0.1019607843); +} +.cptm-card-preview-widget.cptm-card-list-view { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + max-width: 100%; + height: 100%; +} +@media only screen and (max-width: 480px) { + .cptm-card-preview-widget.cptm-card-list-view { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + } +} +.cptm-card-preview-widget.cptm-card-list-view .cptm-card-preview-thumbnail { + height: 100%; +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-listing-card-preview-header { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + height: 100% !important; + max-width: 184px; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-box-align: stretch; + -webkit-align-items: stretch; + -ms-flex-align: stretch; + align-items: stretch; + border-radius: 4px 0 0 4px !important; +} +@media only screen and (max-width: 480px) { + .cptm-card-preview-widget.cptm-card-list-view + .cptm-listing-card-preview-header { + max-width: 100%; + border-radius: 4px 4px 0 0 !important; + } + .cptm-card-preview-widget.cptm-card-list-view + .cptm-listing-card-preview-header + .cptm-card-preview-thumbnail { + min-height: 350px; + } +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-widget-option-modal-container { + top: unset; + bottom: 100%; +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-card-preview-top-right + .cptm-widget-option-modal-container, +.cptm-card-preview-widget.cptm-card-list-view + .cptm-card-placeholder-top-left + .cptm-widget-option-modal-container, +.cptm-card-preview-widget.cptm-card-list-view + .cptm-card-placeholder-top-right + .cptm-widget-option-modal-container { + bottom: unset; + top: 100%; +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-placeholder-author-thumb + img { + width: 22px; + height: 22px; + border-radius: 50%; +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-widget-preview-card-user_avatar + .cptm-widget-card-wrap { + min-width: 100px; +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-widget-preview-card-user_avatar + .cptm-widget-card { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + border-radius: 4px; + background: #ffffff; + border: 1px solid #e5e7eb; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-widget-preview-card-user_avatar + .cptm-placeholder-author-thumb { + width: 100%; + padding: 0 10px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 16px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-widget-preview-card-user_avatar + .cptm-placeholder-author-thumb + > svg { + width: 20px; + height: 20px; +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-widget-preview-card-user_avatar + .cptm-placeholder-author-thumb + .cptm-placeholder-author-thumb-trash { + position: unset; + -webkit-transform: unset; + transform: unset; + width: 20px; + height: 20px; + font-size: 12px; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-widget-card + .cptm-widget-card-disabled-badge { + display: none; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-preview-body { + padding-top: 62px; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-preview-body.has-avatar { + padding-top: 0; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-preview-body.has-avatar + .cptm-listing-card-author-avatar { + position: relative; + top: -14px; + -webkit-transform: unset; + transform: unset; + padding-bottom: 12px; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled { + width: 100%; + height: auto; + border: 1px dashed #d2d6db; + border-radius: 4px !important; + padding: 12px !important; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-box-pack: start; + -webkit-justify-content: flex-start; + -ms-flex-pack: start; + justify-content: flex-start; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-widget-preview-card { + width: 100%; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-widget-card-wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 24px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-placeholder-author-thumb { + width: 48px; + height: 48px; + padding: 0; + margin: 0; + background-color: #ffffff; + border-radius: 50%; + border: 1px dashed #d2d6db; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-placeholder-author-thumb + .cptm-placeholder-author-thumb-trash { + bottom: -12px; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-form-group { + margin: 0; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-preview-radio-area + > label { + display: none; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-preview-radio-area + .cptm-radio-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 20px; + -webkit-box-orient: horizontal; + -webkit-box-direction: reverse; + -webkit-flex-direction: row-reverse; + -ms-flex-direction: row-reverse; + flex-direction: row-reverse; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-preview-radio-area + .cptm-radio-area + .cptm-radio-item { + margin: 0; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-preview-radio-area + .cptm-radio-area + label { + margin: 0; + font-size: 12px; + font-weight: 500; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-preview-radio-area + .cptm-radio-area + input[type="radio"] { + margin: 0 6px 0 0; + background-color: #ffffff; + border: 2px solid #a1a9b2; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-preview-radio-area + .cptm-radio-area + input[type="radio"]:before { + display: none; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-preview-radio-area + .cptm-radio-area + input[type="radio"]:checked { + border: 5px solid #3e62f5; +} +.cptm-card-preview-widget.grid-view-without-thumbnail + .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-card-preview-widget.list-view-with-thumbnail + .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-card-preview-widget.list-view-with-thumbnail + .dndrop-draggable-wrapper-listing_title, +.cptm-card-preview-widget.list-view-with-thumbnail + .cptm-widget-preview-card-listing_title { + width: 100%; +} +.cptm-card-preview-widget.list-view-with-thumbnail + .cptm-card-preview-top-right { + width: 140px; +} +.cptm-card-preview-widget.list-view-with-thumbnail + .cptm-card-placeholder-top + .cptm-card-placeholder-top-left { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.cptm-card-preview-widget.list-view-with-thumbnail + .cptm-card-placeholder-top + .cptm-card-placeholder-top-right { + width: 127px; +} +@media only screen and (max-width: 480px) { + .cptm-card-preview-widget.list-view-with-thumbnail + .cptm-card-placeholder-top + .cptm-card-placeholder-top-right { + width: auto; + } +} +.cptm-card-preview-widget.list-view-with-thumbnail + .cptm-listing-card-preview-footer + .cptm-placeholder-block { + padding-bottom: 32px; +} +.cptm-card-preview-widget.list-view-with-thumbnail + .cptm-listing-card-preview-footer + .cptm-widget-card-wrap { + padding: 0; +} +.cptm-card-preview-widget .cptm-options-area { + position: absolute; + top: 38px; + left: unset; + right: 30px; + z-index: 100; +} + +.cptm-field-wraper-key-single_listing_header .cptm-card-preview-area-wrap, +.cptm-field-wraper-key-single_listing_header .cptm-card-preview-widget { + max-width: 750px; +} + +.cptm-listing-card-content { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} + +.cptm-card-preview-thumbnail { + position: relative; + height: 100%; +} + +.cptm-card-preview-thumbnail-placeholer { + height: 100%; +} + +.cptm-card-preview-thumbnail-placeholder { + height: 100%; + text-align: center; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.cptm-listing-card-preview-quick-info-placeholder { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} + +.cptm-card-preview-thumbnail-bg { + position: absolute; + left: 50%; + top: 50%; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + font-size: 72px; + color: #7b7d8b; +} + +.cptm-card-preview-thumbnail-bg span { + color: rgba(255, 255, 255, 0.1); +} + +.cptm-card-preview-bottom-right-placeholder { + display: block; + text-align: right; +} + +.cptm-listing-card-preview-body { + display: block; + padding: 16px; + position: relative; +} + +.cptm-listing-card-author-avatar { + z-index: 1; + position: absolute; + left: 0; + top: 0; + -webkit-transform: translate(16px, -14px); + transform: translate(16px, -14px); + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-listing-card-author-avatar .cptm-placeholder-block { + height: 64px; + width: 64px; + padding: 8px !important; + margin: 0 !important; + min-height: unset !important; + border-radius: 50% !important; + border: 1px dashed #a1a9b2; +} +.cptm-listing-card-author-avatar + .cptm-placeholder-block + .cptm-placeholder-label { + font-size: 14px; + line-height: 1.15; + font-weight: 500; + color: #141921; + background: transparent; + padding: 0; + border-radius: 0; + top: 8px; + -webkit-transform: translate(-50%, 0); + transform: translate(-50%, 0); +} + +.cptm-placeholder-author-thumb { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin: 0; +} +.cptm-placeholder-author-thumb img { + width: 32px; + height: 32px; + border-radius: 50%; + -o-object-fit: cover; + object-fit: cover; + background-color: transparent; + border: 2px solid #fff; +} +.cptm-placeholder-author-thumb .cptm-placeholder-author-thumb-trash { + position: absolute; + bottom: -18px; + left: 50%; + -webkit-transform: translateX(-50%); + transform: translateX(-50%); + width: 22px; + height: 22px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + font-size: 14px; + color: #d94a4a; + background: #ffffff; + border: 1px solid #d94a4a; + border-radius: 50%; + -webkit-box-sizing: border-box; + box-sizing: border-box; + cursor: pointer; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; +} +.cptm-placeholder-author-thumb .cptm-placeholder-author-thumb-trash:hover { + color: #ffffff; + background: #d94a4a; +} + +.cptm-widget-title-card { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + padding: 6px 10px; + text-align: left; + font-size: 16px; + line-height: 22px; + font-weight: 600; + color: #141921; +} + +.cptm-widget-tagline-card { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + padding: 6px 10px; + text-align: left; + font-size: 13px; + font-weight: 400; + color: #4d5761; +} + +.cptm-has-widget-control { + position: relative; +} +.cptm-has-widget-control:hover .cptm-widget-control-wrap { + visibility: visible; + pointer-events: all; + opacity: 1; +} + +.cptm-form-group-row { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} + +.cptm-form-group-col { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-basis: 50%; + -ms-flex-preferred-size: 50%; + flex-basis: 50%; +} + +.cptm-form-group-info { + font-size: 12px; + font-weight: 400; + color: #747c89; + margin: 0; +} + +.cptm-widget-actions-tools { + position: absolute; + width: 75px; + background-color: #2c99ff; + left: 50%; + -webkit-transform: translateX(-50%); + transform: translateX(-50%); + top: -40px; + padding: 5px; + border: 3px solid #2c99ff; + border-radius: 1px 1px 0 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + visibility: hidden; + opacity: 0; + pointer-events: none; + -webkit-transition: 0.3s ease; + transition: 0.3s ease; + z-index: 9999; +} +.cptm-widget-actions-tools a { + padding: 0 6px; + font-size: 12px; + color: #fff; +} + +.cptm-widget-control-wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + visibility: hidden; + opacity: 0; + position: absolute; + left: 0; + right: 0; + width: 100%; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + top: 1px; + pointer-events: none; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + z-index: 99; +} + +.cptm-widget-control { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding-bottom: 10px; + -webkit-transform: translate(0%, -100%); + transform: translate(0%, -100%); +} +.cptm-widget-control::after { + content: ""; + display: inline-block; + margin: 0 auto; + border-left: 10px solid transparent; + border-right: 10px solid transparent; + border-top: 10px solid #3e62f5; + position: absolute; + bottom: 2px; + left: 50%; + -webkit-transform: translate(-50%, 0); + transform: translate(-50%, 0); + z-index: -1; +} +.cptm-widget-control .cptm-widget-control-action:first-child { + border-top-left-radius: 5px; + border-bottom-left-radius: 5px; +} +.cptm-widget-control .cptm-widget-control-action:last-child { + border-top-right-radius: 5px; + border-bottom-right-radius: 5px; +} + +.hide { + display: none; +} + +.cptm-widget-control-action { + display: inline-block; + padding: 5px 8px; + color: #fff; + font-size: 12px; + cursor: pointer; + background-color: #3e62f5; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-widget-control-action:hover { + background-color: #0e3bf2; +} + +.cptm-card-preview-top-left { + width: calc(50% - 4px); + position: absolute; + top: 0; + left: 0; +} + +.cptm-card-preview-top-left-placeholder { + display: block; + text-align: left; +} +.cptm-card-preview-top-left-placeholder .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.cptm-card-preview-top-right { + position: absolute; + right: 0; + top: 0; + width: calc(50% - 4px); +} +.cptm-card-preview-top-right .cptm-widget-preview-area { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-card-preview-top-right + .cptm-widget-preview-area + .cptm-widget-preview-container { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-card-preview-top-right .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.cptm-card-preview-top-right-placeholder { + text-align: right; +} +.cptm-card-preview-top-right-placeholder .cptm-widget-preview-area { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-card-preview-top-right-placeholder + .cptm-widget-preview-area + .cptm-widget-preview-container { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-card-preview-top-right-placeholder .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.cptm-card-preview-bottom-left { + position: absolute; + width: calc(50% - 4px); + bottom: 0; + left: 0; +} +.cptm-card-preview-bottom-left .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-card-preview-bottom-left .cptm-widget-option-modal-container { + top: unset; + bottom: 20px; +} +.cptm-card-preview-bottom-left + .cptm-widget-option-modal-container + .cptm-option-card:before { + top: unset; + bottom: -6px; +} + +.cptm-card-preview-bottom-left-placeholder { + display: block; + text-align: left; +} + +.cptm-card-preview-bottom-right { + position: absolute; + bottom: 0; + right: 0; + width: calc(50% - 4px); +} +.cptm-card-preview-bottom-right .cptm-widget-preview-area { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-card-preview-bottom-right + .cptm-widget-preview-area + .cptm-widget-preview-container { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-card-preview-bottom-right .cptm-widget-option-modal-container { + top: unset; + bottom: 20px; +} +.cptm-card-preview-bottom-right + .cptm-widget-option-modal-container + .cptm-option-card:before { + top: unset; + bottom: -6px; + border-bottom: unset; + border-top: 7px solid #ffffff; +} + +.cptm-card-preview-body .cptm-widget-option-modal-container, +.cptm-card-preview-badges .cptm-widget-option-modal-container { + left: unset; + -webkit-transform: unset; + transform: unset; + right: calc(100% + 57px); +} + +.grid-view-without-thumbnail .cptm-input-toggle { + width: 28px; + height: 16px; +} +.grid-view-without-thumbnail .cptm-input-toggle:after { + width: 12px; + height: 12px; + margin: 2px; +} +.grid-view-without-thumbnail .cptm-input-toggle.active::after { + -webkit-transform: translateX(calc(-100% - 4px)); + transform: translateX(calc(-100% - 4px)); +} +.grid-view-without-thumbnail .cptm-card-preview-widget-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 12px; + padding: 20px; +} +@media only screen and (max-width: 480px) { + .grid-view-without-thumbnail .cptm-card-preview-widget-content { + -webkit-box-sizing: border-box; + box-sizing: border-box; + } +} +.grid-view-without-thumbnail .cptm-card-placeholder-top { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 12px; +} +@media only screen and (max-width: 480px) { + .grid-view-without-thumbnail .cptm-card-placeholder-top { + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + } + .grid-view-without-thumbnail + .cptm-card-placeholder-top + .cptm-listing-card-quick-actions { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + width: 100%; + } +} +.grid-view-without-thumbnail + .cptm-card-placeholder-top + .cptm-listing-card-quick-actions + .cptm-placeholder-block { + padding-bottom: 32px !important; +} +.grid-view-without-thumbnail + .cptm-card-placeholder-top + .cptm-widget-preview-card-listing_title + .cptm-widget-badge-trash { + right: 0; +} +.grid-view-without-thumbnail .cptm-listing-card-preview-body { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 12px; + padding: 0; +} +.grid-view-without-thumbnail + .cptm-listing-card-preview-body + .cptm-placeholder-block { + min-height: 48px !important; +} +.grid-view-without-thumbnail + .cptm-listing-card-preview-body + .cptm-listing-card-preview-body-placeholder { + min-height: 160px !important; +} +.grid-view-without-thumbnail .cptm-listing-card-preview-footer { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + padding: 0; +} +.grid-view-without-thumbnail .cptm-listing-card-author-avatar { + position: unset; + -webkit-transform: unset; + transform: unset; +} +.grid-view-without-thumbnail + .cptm-listing-card-author-avatar + .cptm-placeholder-block-wrapper { + -webkit-box-pack: start; + -webkit-justify-content: flex-start; + -ms-flex-pack: start; + justify-content: flex-start; +} +.grid-view-without-thumbnail + .cptm-listing-card-author-avatar + .cptm-listing-card-author-avatar-placeholder { + -webkit-box-flex: unset; + -webkit-flex: unset; + -ms-flex: unset; + flex: unset; +} +.grid-view-without-thumbnail .cptm-listing-card-quick-actions { + width: 135px; +} +.grid-view-without-thumbnail .cptm-listing-card-title { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.grid-view-without-thumbnail + .cptm-listing-card-title + .cptm-widget-preview-card-listing_title { + width: 100%; +} +.grid-view-without-thumbnail + .cptm-listing-card-title + .cptm-widget-preview-card-listing_title + .cptm-widget-title-card-wrap { + padding: 0; + border: none; + -webkit-box-shadow: none; + box-shadow: none; + background: transparent; +} +.grid-view-without-thumbnail + .cptm-listing-card-title + .cptm-widget-preview-card-listing_title + .cptm-widget-title-card-wrap + .cptm-widget-title-card { + font-size: 14px; + line-height: 19px; + font-weight: 600; +} +.grid-view-without-thumbnail + .cptm-listing-card-title + .cptm-widget-preview-area { + padding: 8px; + background: #fff; + border-radius: 4px; + border: 1px solid #e5e7eb; + -webkit-box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05); + box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05); +} + +.list-view-without-thumbnail .cptm-card-preview-widget-content { + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 12px; + padding: 20px; +} +@media only screen and (max-width: 480px) { + .list-view-without-thumbnail .cptm-card-preview-widget-content { + -webkit-box-sizing: border-box; + box-sizing: border-box; + } +} +.list-view-without-thumbnail .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.list-view-without-thumbnail + .cptm-widget-preview-container.dndrop-container.horizontal { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} +.list-view-without-thumbnail .cptm-listing-card-preview-top { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.list-view-without-thumbnail + .cptm-listing-card-preview-top + .cptm-placeholder-block { + min-height: 60px !important; +} +.list-view-without-thumbnail + .cptm-listing-card-preview-top + .cptm-listing-card-preview-top-left { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.list-view-without-thumbnail + .cptm-listing-card-preview-top + .cptm-listing-card-preview-top-left + .dndrop-draggable-wrapper-listing_title { + -webkit-box-flex: 0; + -webkit-flex: 0 0 100%; + -ms-flex: 0 0 100%; + flex: 0 0 100%; +} +.list-view-without-thumbnail + .cptm-listing-card-preview-top + .cptm-listing-card-preview-top-left + .cptm-widget-preview-card-listing_title { + width: 100%; +} +.list-view-without-thumbnail + .cptm-listing-card-preview-top + .cptm-listing-card-preview-top-right { + width: 127px; +} +@media only screen and (max-width: 480px) { + .list-view-without-thumbnail + .cptm-listing-card-preview-top + .cptm-listing-card-preview-top-right { + width: auto; + } +} +.list-view-without-thumbnail .cptm-listing-card-preview-body { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 12px; + padding: 0; +} +.list-view-without-thumbnail .cptm-listing-card-preview-footer { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + padding: 0; +} + +.cptm-card-placeholder-top { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 12px; +} +@media only screen and (max-width: 480px) { + .cptm-card-placeholder-top { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + } +} + +.cptm-listing-card-preview-footer { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 22px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + padding: 0 16px 24px; +} +.cptm-listing-card-preview-footer .cptm-widget-preview-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-listing-card-preview-footer .cptm-widget-preview-area .cptm-widget-card { + font-size: 12px; + font-weight: 400; + gap: 4px; + width: 100%; + height: 32px; +} +.cptm-listing-card-preview-footer + .cptm-widget-preview-area + .cptm-widget-badge-icon { + font-size: 16px; + color: #141921; +} +.cptm-listing-card-preview-footer + .cptm-widget-preview-area + .cptm-widget-badge-trash { + font-size: 16px; + color: #141921; +} +.cptm-listing-card-preview-footer + .cptm-widget-preview-area + .cptm-widget-preview-card { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.cptm-listing-card-preview-footer .cptm-placeholder-block-wrapper { + height: 100%; +} + +.cptm-card-preview-footer-left { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} + +.cptm-card-preview-footer-right { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} + +.cptm-listing-card-preview-body-placeholder { + padding: 12px 12px 32px; + min-height: 160px !important; + border-color: #a1a9b2; +} +.cptm-listing-card-preview-body-placeholder .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} +.cptm-listing-card-preview-body-placeholder .cptm-placeholder-label { + color: #141921; +} +.cptm-listing-card-preview-body-placeholder .cptm-widget-preview-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} +.cptm-listing-card-preview-body-placeholder .cptm-widget-preview-card { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + padding: 0 12px; + color: #141921; + background: #ffffff; + height: 42px; + font-size: 14px; + line-height: 1.15; + font-weight: 500; + border-radius: 4px; + border: 1px solid #e5e7eb; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-listing-card-preview-body-placeholder .cptm-widget-preview-card.active, +.cptm-listing-card-preview-body-placeholder .cptm-widget-preview-card:hover { + background: #f3f4f6; + border-color: #d2d6db; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card.active + .cptm-list-item-actions, +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card:hover + .cptm-list-item-actions { + opacity: 1; + visibility: visible; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card.active + .cptm-list-item-edit { + background: #e5e7eb; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-widget-card-wrap { + width: 100%; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-list-item-icon { + font-size: 20px; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-list-item { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-list-item-content { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-list-item-actions { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + opacity: 0; + visibility: hidden; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-list-item-actions + .cptm-list-item-action { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 32px; + height: 32px; + border-radius: 100%; + cursor: pointer; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-list-item-actions + .cptm-list-item-action + span { + font-size: 20px; + color: #141921; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-list-item-actions + .cptm-list-item-action:hover, +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-list-item-actions + .cptm-list-item-action.active { + background: #e5e7eb; +} + +.cptm-listing-card-preview-footer-left-placeholder { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + border-color: #c6d0dc; + text-align: left; +} +.cptm-listing-card-preview-footer-left-placeholder:hover, +.cptm-listing-card-preview-footer-left-placeholder.drag-enter { + border-color: #1e1e1e; +} +.cptm-listing-card-preview-footer-left-placeholder + .cptm-widget-preview-container { + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} +.cptm-listing-card-preview-footer-left-placeholder + .cptm-widget-preview-container + .cptm-widget-preview-card { + width: 100%; +} + +.cptm-listing-card-preview-footer-right-placeholder { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + border-color: #c6d0dc; + text-align: right; +} +.cptm-listing-card-preview-footer-right-placeholder:hover, +.cptm-listing-card-preview-footer-right-placeholder.drag-enter { + border-color: #1e1e1e; +} +.cptm-listing-card-preview-footer-right-placeholder + .cptm-widget-preview-container { + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} +.cptm-listing-card-preview-footer-right-placeholder + .cptm-widget-preview-container + .cptm-widget-preview-card { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-listing-card-preview-footer-right-placeholder .cptm-widget-preview-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} + +.cptm-widget-preview-area .cptm-widget-preview-card { + position: relative; +} +.cptm-widget-preview-area + .cptm-widget-preview-card + .cptm-widget-preview-card-actions { + position: absolute; + bottom: 100%; + left: 50%; + -webkit-transform: translate(-50%, -7px); + transform: translate(-50%, -7px); + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + padding: 6px 12px; + background: #ffffff; + border-radius: 4px; + border: 1px solid #e5e7eb; + -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); + box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + z-index: 1; +} +.cptm-widget-preview-area + .cptm-widget-preview-card + .cptm-widget-preview-card-actions:before { + content: ""; + border-top: 7px solid #ffffff; + border-left: 7px solid transparent; + border-right: 7px solid transparent; + position: absolute; + bottom: -7px; + left: 50%; + -webkit-transform: translateX(-50%); + transform: translateX(-50%); +} +.cptm-widget-preview-area + .cptm-widget-preview-card + .cptm-widget-preview-card-actions + .cptm-widget-action-link { + width: auto; + height: auto; + border: none; + background: transparent; + color: #141921; + cursor: pointer; +} +.cptm-widget-preview-area + .cptm-widget-preview-card + .cptm-widget-preview-card-actions + .cptm-widget-action-link:hover, +.cptm-widget-preview-area + .cptm-widget-preview-card + .cptm-widget-preview-card-actions + .cptm-widget-action-link:focus { + background: transparent; + color: #3e62f5; +} +.cptm-widget-preview-area + .cptm-widget-preview-card + .cptm-widget-preview-card-actions + .widget-drag-handle:hover { + color: #3e62f5; +} + +.widget-drag-handle { + cursor: move; +} + +.cptm-card-light.cptm-placeholder-block { + border-color: #d2d6db; + background: #f9fafb; +} +.cptm-card-light.cptm-placeholder-block:hover, +.cptm-card-light.cptm-placeholder-block.drag-enter { + border-color: #1e1e1e; +} +.cptm-card-light .cptm-placeholder-label { + color: #23282d; +} +.cptm-card-light .cptm-widget-badge { + color: #969db8; + background-color: #eff0f3; +} + +.cptm-card-dark-light .cptm-placeholder-label { + padding: 5px 12px; + color: #888; + border-radius: 30px; + background-color: #fff; +} +.cptm-card-dark-light .cptm-widget-badge { + background-color: rgba(0, 0, 0, 0.8); +} + +.cptm-widgets-container { + overflow: hidden; + border: 1px solid rgba(0, 0, 0, 0.1); + background-color: #fff; +} + +.cptm-widgets-header { + display: block; +} + +.cptm-widget-nav { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin: 0; +} + +.cptm-widget-nav-item { + display: inline-block; + margin: 0; + padding: 12px 10px; + cursor: pointer; + -webkit-flex-basis: 33.3333333333%; + -ms-flex-preferred-size: 33.3333333333%; + flex-basis: 33.3333333333%; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + text-align: center; + -webkit-box-sizing: border-box; + box-sizing: border-box; + cursor: pointer; + color: #8a8a8a; + border-right: 1px solid #e3e1e1; + background-color: #f2f2f2; +} +.cptm-widget-nav-item:last-child { + border-right: none; +} +.cptm-widget-nav-item:hover { + color: #2b2b2b; +} +.cptm-widget-nav-item.active { + font-weight: bold; + color: #2b2b2b; + background-color: #fff; +} + +.cptm-widgets-body { + padding: 10px; + max-height: 450px; + overflow: hidden; + overflow-y: auto; +} + +.cptm-widgets-list { + display: block; + margin: 0; +} + +.cptm-widgets-list-item { + display: block; +} + +.widget-group-title { + margin: 0 0 5px; + font-size: 16px; + color: #bbb; +} + +.cptm-widgets-sub-list { + display: block; + margin: 0; +} + +.cptm-widgets-sub-list-item { + display: block; + padding: 10px 15px; + background-color: #eee; + border-radius: 5px; + margin-bottom: 10px; + cursor: move; +} + +.widget-icon { + display: inline-block; + margin-right: 5px; +} + +.widget-label { + display: inline-block; +} + +.cptm-form-group { + display: block; + margin-bottom: 20px; +} +.cptm-form-group label { + display: block; + font-size: 14px; + font-weight: 600; + color: #141921; + margin-bottom: 8px; +} +.cptm-form-group .cptm-form-control { + max-width: 100%; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-form-group.cptm-form-content { + text-align: center; + margin-bottom: 0; +} +.cptm-form-group.cptm-form-content .cptm-form-content-select { + text-align: left; +} +.cptm-form-group.cptm-form-content .cptm-form-content-title { + font-size: 16px; + line-height: 22px; + font-weight: 600; + color: #191b23; + margin: 0 0 8px; +} +.cptm-form-group.cptm-form-content .cptm-form-content-desc { + font-size: 12px; + line-height: 18px; + font-weight: 400; + color: #747c89; + margin: 0; +} +.cptm-form-group.cptm-form-content .cptm-form-content-icon { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + font-size: 40px; + margin: 0 0 12px; +} +.cptm-form-group.cptm-form-content .cptm-form-content-btn { + position: relative; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + height: 30px; + font-size: 12px; + line-height: 14px; + font-weight: 500; + margin: 8px auto 0; + color: #3e62f5; + background: transparent; + border: none; + outline: none; + -webkit-box-shadow: none; + box-shadow: none; + cursor: pointer; +} +.cptm-form-group.cptm-form-content .cptm-form-content-btn:before { + content: ""; + position: absolute; + width: 0; + height: 1px; + left: 0; + bottom: 8px; + background-color: #3e62f5; + -webkit-transition: width ease-in-out 300ms; + transition: width ease-in-out 300ms; +} +.cptm-form-group.cptm-form-content .cptm-form-content-btn:hover:before, +.cptm-form-group.cptm-form-content .cptm-form-content-btn:focus:before { + width: 100%; +} +.cptm-form-group.cptm-form-content .cptm-form-content-btn.cptm-btn-disabled { + pointer-events: none; +} +.cptm-form-group.cptm-form-content + .cptm-form-content-btn.cptm-btn-disabled:before { + display: none; +} +.cptm-form-group.cptm-form-content .cptm-form-content-btn.cptm-form-loader { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + color: #747c89; + height: auto; +} +.cptm-form-group.cptm-form-content + .cptm-form-content-btn.cptm-form-loader:before { + display: none; +} +.cptm-form-group.cptm-form-content + .cptm-form-content-btn.cptm-form-loader:hover, +.cptm-form-group.cptm-form-content + .cptm-form-content-btn.cptm-form-loader:focus { + color: #3e62f5; +} +.cptm-form-group.cptm-form-content + .cptm-form-content-btn + .cptm-form-content-btn-icon { + font-size: 14px; +} +.cptm-form-group.cptm-form-content + .cptm-form-content-btn + .cptm-form-content-btn-loader { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; +} +.cptm-form-group.cptm-form-content + .cptm-form-content-btn + .cptm-form-content-btn-loader + i { + font-size: 15px; +} +.cptm-form-group.tab-field .cptm-preview-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 0; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} +.cptm-form-group.cpt-has-error .cptm-form-control { + border: 1px solid rgb(192, 51, 51); +} + +.cptm-form-group-tab-list { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + margin: 0; + padding: 6px; + list-style: none; + background: #fff; + border: 1px solid #e5e7eb; + border-radius: 100px; +} +.cptm-form-group-tab-list .cptm-form-group-tab-item { + margin: 0; +} +.cptm-form-group-tab-list .cptm-form-group-tab-link { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + height: 26px; + padding: 0 16px; + border-radius: 100px; + margin: 0; + cursor: pointer; + background-color: #ffffff; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + color: #4d5761; + font-weight: 500; + text-decoration: none; + -webkit-box-shadow: none; + box-shadow: none; + outline: none; +} +.cptm-form-group-tab-list .cptm-form-group-tab-link:hover { + color: #3e62f5; +} +.cptm-form-group-tab-list .cptm-form-group-tab-link.active { + background-color: #d8e0fd; + color: #3e62f5; +} + +.cptm-preview-image-upload { + width: 350px; + max-width: 100%; + height: 224px; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + border-radius: 10px; + position: relative; + overflow: hidden; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) { + border: 2px dashed #d2d6db; + background: #f9fafb; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail { + max-width: 100%; + width: 100%; + height: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail + .cptm-thumbnail-action { + display: none; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail + .cptm-thumbnail-img-wrap + img { + width: 40px; + height: 40px; + -o-object-fit: cover; + object-fit: cover; + border-radius: 4px; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail + .cptm-upload-btn { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + padding: 8px 12px; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 6px; + border-radius: 8px; + background: #141921; + color: #fff; + text-align: center; + font-size: 13px; + font-weight: 500; + line-height: 14px; + margin-top: 20px; + margin-bottom: 12px; + cursor: pointer; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail + .cptm-upload-btn + input { + background-color: transparent; + border: none; + -webkit-box-shadow: none; + box-shadow: none; + color: white; + padding: 0; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail + .cptm-upload-btn + i { + font-size: 14px; + color: inherit; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail + .directorist-row-tooltip[data-tooltip]:before, +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail + .directorist-row-tooltip[data-tooltip]:after { + opacity: 0; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail + .cptm-thumbnail-drag-text { + color: #747c89; + font-size: 14px; + font-weight: 400; + line-height: 16px; + text-transform: capitalize; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show { + margin-bottom: 0; + height: 100%; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show .cptm-thumbnail { + position: relative; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .cptm-thumbnail:after { + content: ""; + position: absolute; + width: 100%; + height: 100%; + top: 0; + left: 0; + background: -webkit-gradient( + linear, + left top, + left bottom, + from(rgba(0, 0, 0, 0.6)), + color-stop(35.42%, rgba(0, 0, 0, 0)) + ); + background: linear-gradient( + 180deg, + rgba(0, 0, 0, 0.6) 0%, + rgba(0, 0, 0, 0) 35.42% + ); + z-index: 1; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .cptm-thumbnail + .action-trash + ~ .cptm-upload-btn { + right: 52px; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .cptm-thumbnail-action { + margin: 0; + background-color: white; + width: 32px; + height: 32px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + padding: 0; + top: 12px; + right: 12px; + border-radius: 8px; + font-size: 16px; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .cptm-thumbnail-drag-text { + display: none; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show .cptm-upload-btn { + position: absolute; + top: 12px; + right: 12px; + max-width: 32px !important; + width: 32px; + max-height: 32px; + height: 32px; + background-color: white; + padding: 0; + border-radius: 8px; + margin: 10px; + cursor: pointer; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + margin: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + z-index: 2; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .cptm-upload-btn + input { + display: none; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .cptm-upload-btn + i::before { + content: "\ea57"; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .directorist-row-tooltip[data-tooltip]:after { + background-color: white; + color: #141921; + opacity: 1; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .directorist-row-tooltip[data-tooltip][data-flow="bottom"]::before { + border-bottom-color: white; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .cptm-thumbnail-action { + z-index: 2; +} + +.cptm-form-group-feedback { + display: block; +} + +.cptm-form-alert { + padding: 0 0 10px; + color: #06d6a0; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-form-alert.cptm-error { + color: #c82424; +} + +.cptm-input-toggle-wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-input-toggle-wrap label { + padding-right: 10px; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + margin-bottom: 0; +} +.cptm-input-toggle-wrap .cptm-input-toggle-content { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} + +.cptm-input-toggle { + display: inline-block; + position: relative; + width: 36px; + height: 20px; + background-color: #d9d9d9; + border-radius: 30px; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + cursor: pointer; +} +.cptm-input-toggle::after { + content: ""; + display: inline-block; + width: 14px; + height: calc(100% - 6px); + background-color: #fff; + border-radius: 50%; + position: absolute; + top: 0; + left: 0; + margin: 3px 4px; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-input-toggle.active { + background-color: #3e62f5; +} +.cptm-input-toggle.active::after { + left: 100%; + -webkit-transform: translateX(calc(-100% - 8px)); + transform: translateX(calc(-100% - 8px)); +} + +.cptm-multi-option-group { + display: block; + margin-bottom: 20px; +} +.cptm-multi-option-group .cptm-btn { + margin: 0; +} + +.cptm-multi-option-label { + display: block; +} + +.cptm-multi-option-group-section-draft { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin: -8px; +} +.cptm-multi-option-group-section-draft .cptm-form-group { + margin: 0 8px 20px; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.cptm-multi-option-group-section-draft .cptm-form-group .cptm-form-control { + width: 100%; +} +.cptm-multi-option-group-section-draft .cptm-form-group.cpt-has-error { + position: relative; +} +.cptm-multi-option-group-section-draft p { + margin: 28px 8px 20px; +} + +.cptm-label { + display: block; + margin-bottom: 10px; + font-weight: 500; +} + +.form-repeater__container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 8px; +} +.form-repeater__group { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 16px; + position: relative; +} +.form-repeater__group.sortable-chosen .form-repeater__input { + background: #e1e4e8 !important; + border: 1px solid #d1d5db !important; + -webkit-box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.01) !important; + box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.01) !important; +} +.form-repeater__remove-btn, +.form-repeater__drag-btn { + color: #4d5761; + background: transparent; + border: none; + -webkit-box-shadow: none; + box-shadow: none; + outline: none; + padding: 0; + margin: 0; + -webkit-transition: all 0.3s ease; + transition: all 0.3s ease; +} +.form-repeater__remove-btn:disabled, +.form-repeater__drag-btn:disabled { + cursor: not-allowed; + opacity: 0.6; +} +.form-repeater__remove-btn svg, +.form-repeater__drag-btn svg { + width: 12px; + height: 12px; +} +.form-repeater__remove-btn i, +.form-repeater__drag-btn i { + font-size: 16px; + margin: 0; + padding: 0; +} +.form-repeater__drag-btn { + cursor: move; + position: absolute; + left: 0; +} +.form-repeater__remove-btn { + cursor: pointer; + position: absolute; + right: 0; +} +.form-repeater__remove-btn:hover { + color: #c83a3a; +} +.form-repeater__input { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + height: 40px; + padding: 5px 16px; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + border-radius: 8px; + border: 1px solid var(--Gray-200, #e5e7eb); + background: white; + -webkit-box-shadow: 0px 1px 2px 0px + var(--Colors-Effects-Shadows-shadow-xs, rgba(16, 24, 40, 0.05)); + box-shadow: 0px 1px 2px 0px + var(--Colors-Effects-Shadows-shadow-xs, rgba(16, 24, 40, 0.05)); + color: #2c3239; + outline: none; + -webkit-transition: all 0.3s ease; + transition: all 0.3s ease; + margin: 0 32px; + overflow: hidden; + -ms-text-overflow: ellipsis; + text-overflow: ellipsis; +} +.form-repeater__input-value-added { + background: var(--Gray-50, #f9fafb); + border-color: #e5e7eb; +} +.form-repeater__input:focus { + background: var(--Gray-50, #f9fafb); + border-color: #3e62f5; +} +.form-repeater__input::-webkit-input-placeholder { + color: var(--Gray-500, #747c89); + font-size: 14px; + font-style: normal; + font-weight: 400; + line-height: 16.24px; +} +.form-repeater__input::-moz-placeholder { + color: var(--Gray-500, #747c89); + font-size: 14px; + font-style: normal; + font-weight: 400; + line-height: 16.24px; +} +.form-repeater__input:-ms-input-placeholder { + color: var(--Gray-500, #747c89); + font-size: 14px; + font-style: normal; + font-weight: 400; + line-height: 16.24px; +} +.form-repeater__input::-ms-input-placeholder { + color: var(--Gray-500, #747c89); + font-size: 14px; + font-style: normal; + font-weight: 400; + line-height: 16.24px; +} +.form-repeater__input::placeholder { + color: var(--Gray-500, #747c89); + font-size: 14px; + font-style: normal; + font-weight: 400; + line-height: 16.24px; +} +.form-repeater__add-group-btn { + font-size: 12px; + font-weight: 600; + color: #2e94fa; + background: transparent; + border: none; + padding: 0; + text-decoration: none; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 6px; + cursor: pointer; + letter-spacing: 0.12px; + margin: 17px 32px 0; + padding: 0; +} +.form-repeater__add-group-btn:disabled { + cursor: not-allowed; + opacity: 0.6; +} +.form-repeater__add-group-btn svg { + width: 16px; + height: 16px; +} +.form-repeater__add-group-btn i { + font-size: 16px; +} + +/* Style the video popup */ +.cptm-modal-overlay { + position: fixed; + top: 0; + right: 0; + width: calc(100% - 160px); + height: 100%; + background: rgba(0, 0, 0, 0.8); + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + z-index: 999999; +} +@media (max-width: 960px) { + .cptm-modal-overlay { + width: 100%; + } +} +.cptm-modal-overlay .cptm-modal-container { + display: block; + height: auto; + position: absolute; + top: 50%; + left: 50%; + right: unset; + bottom: unset; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + overflow: visible; +} +@media (max-width: 767px) { + .cptm-modal-overlay .cptm-modal-container iframe { + width: 400px; + height: 225px; + } +} +@media (max-width: 575px) { + .cptm-modal-overlay .cptm-modal-container iframe { + width: 300px; + height: 175px; + } +} + +.cptm-modal-content { + position: relative; +} +.cptm-modal-content .cptm-modal-video video { + width: 100%; + max-width: 500px; +} +.cptm-modal-content .cptm-modal-image .cptm-modal-image__img { + max-height: calc(100vh - 200px); +} +.cptm-modal-content .cptm-modal-preview { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 24px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + height: auto; + width: 724px; + max-height: calc(100vh - 200px); + background: #fff; + padding: 30px 70px; + border-radius: 16px; +} +.cptm-modal-content .cptm-modal-preview .cptm-modal-preview__group { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 30px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-modal-content .cptm-modal-preview .cptm-modal-preview__item { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 10px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-modal-content .cptm-modal-preview .cptm-modal-preview__btn { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 6px; + padding: 0 16px; + height: 40px; + color: #000; + background: #ededed; + border: 1px solid #ededed; + border-radius: 8px; +} +.cptm-modal-content + .cptm-modal-preview + .cptm-modal-preview__btn + .cptm-modal-preview__btn__icon { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-modal-content .cptm-modal-content__close-btn { + position: absolute; + top: 0; + right: -42px; + width: 36px; + height: 36px; + color: #000; + background: #fff; + font-size: 15px; + border: none; + border-radius: 100%; + cursor: pointer; +} + +.close-btn { + position: absolute; + top: 40px; + right: 40px; + background: transparent; + border: none; + font-size: 18px; + cursor: pointer; + color: #ffffff; +} + +.cptm-form-control, +select.cptm-form-control, +input[type="date"].cptm-form-control, +input[type="datetime-local"].cptm-form-control, +input[type="datetime"].cptm-form-control, +input[type="email"].cptm-form-control, +input[type="month"].cptm-form-control, +input[type="number"].cptm-form-control, +input[type="password"].cptm-form-control, +input[type="search"].cptm-form-control, +input[type="tel"].cptm-form-control, +input[type="text"].cptm-form-control, +input[type="time"].cptm-form-control, +input[type="url"].cptm-form-control, +input[type="week"].cptm-form-control input[type="text"].cptm-form-control { + display: block; + width: 100%; + max-width: 100%; + padding: 10px 20px; + font-size: 14px; + color: #5a5f7d; + text-align: left; + border-radius: 4px; + -webkit-box-shadow: none; + box-shadow: none; + font-weight: 400; + margin: 0; + line-height: 18px; + height: auto; + min-height: 30px; + background-color: #f4f5f7; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; +} +.cptm-form-control:hover, +.cptm-form-control:focus, +select.cptm-form-control:hover, +select.cptm-form-control:focus, +input[type="date"].cptm-form-control:hover, +input[type="date"].cptm-form-control:focus, +input[type="datetime-local"].cptm-form-control:hover, +input[type="datetime-local"].cptm-form-control:focus, +input[type="datetime"].cptm-form-control:hover, +input[type="datetime"].cptm-form-control:focus, +input[type="email"].cptm-form-control:hover, +input[type="email"].cptm-form-control:focus, +input[type="month"].cptm-form-control:hover, +input[type="month"].cptm-form-control:focus, +input[type="number"].cptm-form-control:hover, +input[type="number"].cptm-form-control:focus, +input[type="password"].cptm-form-control:hover, +input[type="password"].cptm-form-control:focus, +input[type="search"].cptm-form-control:hover, +input[type="search"].cptm-form-control:focus, +input[type="tel"].cptm-form-control:hover, +input[type="tel"].cptm-form-control:focus, +input[type="text"].cptm-form-control:hover, +input[type="text"].cptm-form-control:focus, +input[type="time"].cptm-form-control:hover, +input[type="time"].cptm-form-control:focus, +input[type="url"].cptm-form-control:hover, +input[type="url"].cptm-form-control:focus, +input[type="week"].cptm-form-control input[type="text"].cptm-form-control:hover, +input[type="week"].cptm-form-control + input[type="text"].cptm-form-control:focus { + color: #23282d; + border-color: #3e62f5; +} + +select.cptm-form-control, +input[type="date"].cptm-form-control, +input[type="datetime-local"].cptm-form-control, +input[type="datetime"].cptm-form-control, +input[type="email"].cptm-form-control, +input[type="month"].cptm-form-control, +input[type="number"].cptm-form-control, +input[type="password"].cptm-form-control, +input[type="search"].cptm-form-control, +input[type="tel"].cptm-form-control, +input[type="text"].cptm-form-control, +input[type="time"].cptm-form-control, +input[type="url"].cptm-form-control, +input[type="week"].cptm-form-control, +input[type="text"].cptm-form-control { + padding: 10px 20px; + font-size: 12px; + color: #4d5761; + background: #ffffff; + text-align: left; + border: 0 none; + border-radius: 8px; + border: 1px solid #d2d6db; + -webkit-box-shadow: none; + box-shadow: none; + width: 100%; + font-weight: 400; + margin: 0; + line-height: 18px; + height: auto; + min-height: 30px; +} +select.cptm-form-control:hover, +input[type="date"].cptm-form-control:hover, +input[type="datetime-local"].cptm-form-control:hover, +input[type="datetime"].cptm-form-control:hover, +input[type="email"].cptm-form-control:hover, +input[type="month"].cptm-form-control:hover, +input[type="number"].cptm-form-control:hover, +input[type="password"].cptm-form-control:hover, +input[type="search"].cptm-form-control:hover, +input[type="tel"].cptm-form-control:hover, +input[type="text"].cptm-form-control:hover, +input[type="time"].cptm-form-control:hover, +input[type="url"].cptm-form-control:hover, +input[type="week"].cptm-form-control:hover, +input[type="text"].cptm-form-control:hover { + color: #23282d; +} +select.cptm-form-control.cptm-form-control-light, +input[type="date"].cptm-form-control.cptm-form-control-light, +input[type="datetime-local"].cptm-form-control.cptm-form-control-light, +input[type="datetime"].cptm-form-control.cptm-form-control-light, +input[type="email"].cptm-form-control.cptm-form-control-light, +input[type="month"].cptm-form-control.cptm-form-control-light, +input[type="number"].cptm-form-control.cptm-form-control-light, +input[type="password"].cptm-form-control.cptm-form-control-light, +input[type="search"].cptm-form-control.cptm-form-control-light, +input[type="tel"].cptm-form-control.cptm-form-control-light, +input[type="text"].cptm-form-control.cptm-form-control-light, +input[type="time"].cptm-form-control.cptm-form-control-light, +input[type="url"].cptm-form-control.cptm-form-control-light, +input[type="week"].cptm-form-control.cptm-form-control-light, +input[type="text"].cptm-form-control.cptm-form-control-light { + border: 1px solid #ccc; + background-color: #fff; +} + +.tab-general .cptm-title-area, +.tab-other .cptm-title-area { + margin-left: 0; +} +.tab-general .cptm-form-group .cptm-form-control, +.tab-other .cptm-form-group .cptm-form-control { + background-color: #fff; + border: 1px solid #e3e6ef; +} + +.tab-preview_image .cptm-title-area, +.tab-packages .cptm-title-area, +.tab-other .cptm-title-area { + margin-left: 0; +} +.tab-preview_image .cptm-title-area p, +.tab-packages .cptm-title-area p, +.tab-other .cptm-title-area p { + font-size: 15px; + color: #5a5f7d; +} + +.cptm-modal-container { + display: none; + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + overflow: auto; + z-index: 999999; + height: 100vh; +} +.cptm-modal-container.active { + display: block; +} + +.cptm-modal-wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding: 20px; + height: 100%; + min-height: calc(100% - 40px); + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + background-color: rgba(0, 0, 0, 0.5); +} + +.cptm-modal { + display: block; + margin: 0 auto; + padding: 10px; + width: 100%; + max-width: 300px; + border-radius: 5px; + background-color: #fff; +} + +.cptm-modal-header { + position: relative; + padding: 15px 30px 15px 15px; + margin: -10px; + margin-bottom: 10px; + border-bottom: 1px solid #e3e3e3; +} + +.cptm-modal-header-title { + text-align: left; + margin: 0; +} + +.cptm-modal-actions { + display: block; + margin: 0 -5px; + position: absolute; + right: 10px; + top: 10px; + text-align: right; +} + +.cptm-modal-action-link { + margin: 0 5px; + text-decoration: none; + height: 25px; + display: inline-block; + width: 25px; + text-align: center; + line-height: 25px; + border-radius: 50%; + color: #2b2b2b; + font-size: 18px; +} + +.cptm-modal-confirmation-title { + margin: 30px auto; + font-size: 20px; + text-align: center; +} + +.cptm-section-alert-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + min-height: 200px; +} + +.cptm-section-alert-content { + text-align: center; + padding: 10px; +} + +.cptm-section-alert-icon { + margin-bottom: 20px; + width: 100px; + height: 100px; + font-size: 45px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + border-radius: 50%; + color: darkgray; + background-color: #f2f2f2; +} +.cptm-section-alert-icon.cptm-alert-success { + color: #fff; + background-color: #14cc60; +} +.cptm-section-alert-icon.cptm-alert-error { + color: #fff; + background-color: #cc1433; +} + +.cptm-color-picker-wrap { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; +} + +.cptm-color-picker-label { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + margin-left: 10px; +} + +.cptm-wdget-title { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} + +.atbdp-flex-align-center { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.cptm-px-5 { + padding: 0 5px; +} + +.cptm-text-gray { + color: #c1c1c1; +} + +.cptm-text-right { + text-align: right !important; +} + +.cptm-text-center { + text-align: center !important; +} + +.cptm-text-left { + text-align: left !important; +} + +.cptm-d-block { + display: block !important; +} + +.cptm-d-inline { + display: inline-block !important; +} + +.cptm-d-inline-flex { + display: -webkit-inline-box !important; + display: -webkit-inline-flex !important; + display: -ms-inline-flexbox !important; + display: inline-flex !important; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} + +.cptm-d-none { + display: none !important; +} + +.cptm-p-20 { + padding: 20px; +} + +.cptm-color-picker { + display: inline-block; + padding: 5px 5px 2px 5px; + border-radius: 30px; + border: 1px solid #d4d4d4; +} + +input[type="radio"]:checked::before { + background-color: #3e62f5; +} + +@media (max-width: 767px) { + input[type="checkbox"], + input[type="radio"] { + width: 15px; + height: 15px; + } +} + +.cptm-preview-placeholder { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + padding: 70px 30px 70px 54px; + background: #f9fafb; +} +@media (max-width: 1199px) { + .cptm-preview-placeholder { + margin-right: 0; + } +} +@media only screen and (max-width: 480px) { + .cptm-preview-placeholder { + border: none; + max-width: 100%; + padding: 0; + margin: 0; + background: transparent; + } +} +.cptm-preview-placeholder__card { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 20px; + padding: 20px; + background: #ffffff; + border-radius: 6px; + border: 1.5px solid #e5e7eb; + -webkit-box-shadow: 0 10px 18px 0 rgba(16, 24, 40, 0.1); + box-shadow: 0 10px 18px 0 rgba(16, 24, 40, 0.1); +} +.cptm-preview-placeholder__card__item { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + padding: 12px; + border-radius: 4px; +} +.cptm-preview-placeholder__card__item--top { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 30px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + border: 1.5px dashed #d2d6db; +} +.cptm-preview-placeholder__card__item--top + .cptm-preview-placeholder__card__content { + -webkit-box-align: start; + -webkit-align-items: flex-start; + -ms-flex-align: start; + align-items: flex-start; +} +.cptm-preview-placeholder__card__item--top + .cptm-preview-placeholder__card__box { + -webkit-box-flex: unset; + -webkit-flex: unset; + -ms-flex: unset; + flex: unset; + min-width: auto; + background: unset; + border: none; + padding: 0; +} +.cptm-preview-placeholder__card__item--top .cptm-placeholder-block-wrapper { + -webkit-box-flex: unset; + -webkit-flex: unset; + -ms-flex: unset; + flex: unset; +} +.cptm-preview-placeholder__card__item--bottom + .cptm-preview-placeholder__card__box + .cptm-widget-card-wrap + .cptm-widget-badge { + font-size: 12px; + line-height: 18px; + color: #1f2937; + min-height: 32px; + background-color: #ffffff; + border-radius: 6px; + border: 1.15px solid #e5e7eb; +} +.cptm-preview-placeholder__card__item .dndrop-draggable-wrapper.dragging { + opacity: 0; +} +.cptm-preview-placeholder__card__item .cptm-widget-actions-tools-wrap:before { + display: none; +} +.cptm-preview-placeholder__card__box { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + min-width: 150px; + z-index: unset; +} +.cptm-preview-placeholder__card__box .cptm-placeholder-label { + color: #868eae; + font-size: 14px; + font-weight: 500; +} +.cptm-preview-placeholder__card__box .cptm-widget-preview-area { + gap: 8px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; +} +.cptm-preview-placeholder__card__box + .cptm-widget-preview-area + .cptm-widget-badge { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + margin: 0; + min-height: 35px; + padding: 0 13px; + border-radius: 4px; + font-size: 15px; + line-height: 18px; + font-weight: 500; + color: #383f47; + background-color: #e5e7eb; +} +@media only screen and (max-width: 480px) { + .cptm-preview-placeholder__card__box + .cptm-widget-preview-area + .cptm-widget-badge { + font-size: 12px; + line-height: 15px; + } +} +.cptm-preview-placeholder__card__box .cptm-widget-title-card-wrap { + padding: 0; + background: transparent; + border: none; + border-radius: 0; + -webkit-box-shadow: none; + box-shadow: none; +} +.cptm-preview-placeholder__card__box + .cptm-widget-title-card-wrap + .cptm-widget-title-card { + font-size: 22px; +} +@media only screen and (max-width: 480px) { + .cptm-preview-placeholder__card__box + .cptm-widget-title-card-wrap + .cptm-widget-title-card { + font-size: 18px; + } +} +.cptm-preview-placeholder__card__box.listing-title-placeholder { + padding: 13px 8px; +} +.cptm-preview-placeholder__card__content { + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 20px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} +.cptm-preview-placeholder__card__btn { + width: 100%; + height: 66px; + border: none; + border-radius: 6px; + cursor: pointer; + color: #5a5f7d; + font-size: 13px; + font-weight: 500; + margin-top: 20px; +} +.cptm-preview-placeholder__card__btn .icon { + width: 26px; + height: 26px; + line-height: 26px; + background-color: #fff; + border-radius: 100%; + -webkit-margin-end: 7px; + margin-inline-end: 7px; +} +.cptm-preview-placeholder__card .slider-placeholder { + padding: 8px; + border-radius: 4px; + border: 1.5px dashed #d2d6db; +} +.cptm-preview-placeholder__card .slider-placeholder .cptm-widget-preview-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + padding: 50px; + text-align: center; + height: 240px; + background: #e5e7eb; + border-radius: 10px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +@media only screen and (max-width: 480px) { + .cptm-preview-placeholder__card + .slider-placeholder + .cptm-widget-preview-area { + padding: 30px; + } + .cptm-preview-placeholder__card + .slider-placeholder + .cptm-widget-preview-area + .cptm-widget-thumb-icon { + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + } + .cptm-preview-placeholder__card + .slider-placeholder + .cptm-widget-preview-area + .cptm-widget-thumb-icon + svg { + height: 100px; + width: 100px; + } +} +.cptm-preview-placeholder__card + .slider-placeholder + .cptm-widget-preview-area + .cptm-widget-label { + margin-top: 10px; +} +.cptm-preview-placeholder__card .dndrop-container.vertical { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 20px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + margin-bottom: 20px; + border: 1px solid #e5e7eb; + border-radius: 8px; + padding: 16px; +} +.cptm-preview-placeholder__card + .dndrop-container.vertical + > .dndrop-draggable-wrapper { + overflow: visible; +} +.cptm-preview-placeholder__card .draggable-item { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 20px; + -webkit-box-align: start; + -webkit-align-items: flex-start; + -ms-flex-align: start; + align-items: flex-start; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + margin-right: 8px; +} +.cptm-preview-placeholder__card .draggable-item .cptm-drag-element { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 20px; + height: 20px; + font-size: 20px; + color: #747c89; + margin-top: 15px; + background: transparent; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; + cursor: move; +} +.cptm-preview-placeholder__card .draggable-item .cptm-drag-element:hover { + color: #1e1e1e; +} +.cptm-preview-placeholder--settings-closed { + max-width: 700px; + margin: 0 auto; +} +@media (max-width: 1199px) { + .cptm-preview-placeholder--settings-closed { + max-width: 100%; + } +} + +.atbdp-sidebar-nav-area { + display: block; +} + +.atbdp-sidebar-nav { + display: block; + margin: 0; + background-color: #f6f6f6; +} + +.atbdp-nav-link { + display: block; + padding: 15px; + text-decoration: none; + color: #2b2b2b; +} + +.atbdp-nav-icon { + display: inline-block; + margin-right: 10px; +} + +.atbdp-nav-label { + display: inline-block; +} + +.atbdp-sidebar-nav-item { + display: block; + margin: 0; +} +.atbdp-sidebar-nav-item .atbdp-nav-link { + display: block; +} +.atbdp-sidebar-nav-item .atbdp-nav-icon { + display: inline-block; +} +.atbdp-sidebar-nav-item .atbdp-nav-label { + display: inline-block; +} +.atbdp-sidebar-nav-item.active { + display: block; + background-color: #fff; +} +.atbdp-sidebar-nav-item.active .atbdp-sidebar-subnav { + display: block; +} +.atbdp-sidebar-nav-item.active .atbdp-nav-link { + display: block; +} +.atbdp-sidebar-nav-item.active .atbdp-nav-icon { + display: inline-block; +} +.atbdp-sidebar-nav-item.active .atbdp-nav-label { + display: inline-block; +} + +.atbdp-sidebar-subnav { + display: block; + margin: 0; + margin-left: 28px; + display: none; +} + +.atbdp-sidebar-subnav-item { + display: block; + margin: 0; +} +.atbdp-sidebar-subnav-item .atbdp-nav-link { + color: #686d88; +} +.atbdp-sidebar-subnav-item .atbdp-nav-icon { + display: inline-block; +} +.atbdp-sidebar-subnav-item .atbdp-nav-label { + display: inline-block; +} +.atbdp-sidebar-subnav-item.active { + display: block; + margin: 0; +} +.atbdp-sidebar-subnav-item.active .atbdp-nav-link { + display: block; +} +.atbdp-sidebar-subnav-item.active .atbdp-nav-icon { + display: inline-block; +} +.atbdp-sidebar-subnav-item.active .atbdp-nav-label { + display: inline-block; +} + +.atbdp-row { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin: 0 -15px; +} + +.atbdp-col { + padding: 0 15px; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +.atbdp-col-3 { + -webkit-flex-basis: 25%; + -ms-flex-preferred-size: 25%; + flex-basis: 25%; + width: 25%; +} + +.atbdp-col-4 { + -webkit-flex-basis: 33.3333333333%; + -ms-flex-preferred-size: 33.3333333333%; + flex-basis: 33.3333333333%; + width: 33.3333333333%; +} + +.atbdp-col-8 { + -webkit-flex-basis: 66.6666666667%; + -ms-flex-preferred-size: 66.6666666667%; + flex-basis: 66.6666666667%; + width: 66.6666666667%; +} + +.shrink { + max-width: 300px; +} + +.directorist_dropdown { + position: relative; +} +.directorist_dropdown .directorist_dropdown-toggle { + position: relative; + text-decoration: none; + display: block; + width: 100%; + max-height: 38px; + font-size: 12px; + font-weight: 400; + background-color: transparent; + color: #4d5761; + padding: 12px 15px; + line-height: 1; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.directorist_dropdown .directorist_dropdown-toggle:focus { + outline: 0 none; + -webkit-box-shadow: 0 0; + box-shadow: 0 0; +} +.directorist_dropdown .directorist_dropdown-toggle:before { + font-family: unicons-line; + font-weight: 400; + font-size: 20px; + content: "\eb3a"; + color: #747c89; + position: absolute; + top: 50%; + right: 0; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + height: 20px; +} +.directorist_dropdown .directorist_dropdown-option { + display: none; + position: absolute; + width: 100%; + max-height: 350px; + left: 0; + top: 39px; + padding: 12px 8px; + background-color: #fff; + -webkit-box-shadow: + 0 12px 16px -4px rgba(16, 24, 40, 0.08), + 0px 4px 6px -2px rgba(16, 24, 40, 0.03); + box-shadow: + 0 12px 16px -4px rgba(16, 24, 40, 0.08), + 0px 4px 6px -2px rgba(16, 24, 40, 0.03); + border: 1px solid #e5e7eb; + border-radius: 8px; + z-index: 99999; + overflow-y: auto; +} +.directorist_dropdown .directorist_dropdown-option.--show { + display: block !important; +} +.directorist_dropdown .directorist_dropdown-option ul { + margin: 0; + padding: 0; +} +.directorist_dropdown .directorist_dropdown-option ul:empty { + position: relative; + height: 50px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; +} +.directorist_dropdown .directorist_dropdown-option ul:empty:before { + content: "No Items Found"; +} +.directorist_dropdown .directorist_dropdown-option ul li { + margin-bottom: 0; +} +.directorist_dropdown .directorist_dropdown-option ul li a { + font-size: 14px; + font-weight: 500; + text-decoration: none; + display: block; + padding: 9px 15px; + border-radius: 8px; + color: #4d5761; + -webkit-transition: 0.3s; + transition: 0.3s; +} +.directorist_dropdown .directorist_dropdown-option ul li a:hover, +.directorist_dropdown .directorist_dropdown-option ul li a.active:hover { + color: #fff; + background-color: #3e62f5; +} +.directorist_dropdown .directorist_dropdown-option ul li a.active { + color: #3e62f5; + background-color: #f0f3ff; +} + +.cptm-form-group .directorist_dropdown-option { + max-height: 240px; +} + +.cptm-import-directory-modal .cptm-file-input-wrap { + margin: 16px -5px 0 -5px; +} +.cptm-import-directory-modal .cptm-info-text { + padding: 4px 8px; + height: auto; + line-height: 1.5; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-import-directory-modal .cptm-info-text > b { + margin-right: 4px; +} + +/* Sticky fields */ +.cptm-col-sticky { + position: -webkit-sticky; + position: sticky; + top: 60px; + height: 100%; + max-height: calc(100vh - 212px); + overflow: auto; + scrollbar-width: 6px; + scrollbar-color: #d2d6db #f3f4f6; +} + +.cptm-widget-trash-confirmation-modal-overlay { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0.5); + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + z-index: 999999; +} +.cptm-widget-trash-confirmation-modal-overlay + .cptm-widget-trash-confirmation-modal { + background: #fff; + padding: 30px 25px; + border-radius: 8px; + text-align: center; +} +.cptm-widget-trash-confirmation-modal-overlay + .cptm-widget-trash-confirmation-modal + h2 { + font-size: 16px; + font-weight: 500; + margin: 0 0 18px; +} +.cptm-widget-trash-confirmation-modal-overlay + .cptm-widget-trash-confirmation-modal + p { + margin: 0 0 20px; + font-size: 14px; + max-width: 400px; +} +.cptm-widget-trash-confirmation-modal-overlay button { + border: 0 none; + -webkit-box-shadow: none; + box-shadow: none; + background: rgb(197, 22, 22); + padding: 10px 15px; + border-radius: 6px; + color: #fff; + font-size: 14px; + font-weight: 500; + margin: 5px; + cursor: pointer; + -webkit-transition: 0.3s ease; + transition: 0.3s ease; +} +.cptm-widget-trash-confirmation-modal-overlay button:hover { + background: #ba1230; +} +.cptm-widget-trash-confirmation-modal-overlay + button.cptm-widget-trash-confirmation-modal-action-btn__cancel { + background: #f1f2f6; + color: #7a8289; +} +.cptm-widget-trash-confirmation-modal-overlay + button.cptm-widget-trash-confirmation-modal-action-btn__cancel:hover { + background: #dee0e4; +} + +.cptm-field-group-container .cptm-field-group-container__label { + font-size: 15px; + font-weight: 500; + color: #272b41; + display: inline-block; +} +@media only screen and (max-width: 767px) { + .cptm-field-group-container .cptm-field-group-container__label { + margin-bottom: 15px; + } +} + +.cptm-container-group-fields { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 26px; +} +@media only screen and (max-width: 1300px) { + .cptm-container-group-fields { + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + } +} +@media only screen and (max-width: 1300px) { + .cptm-container-group-fields .cptm-form-group:not(:last-child) { + margin-bottom: 0; + } +} +@media only screen and (max-width: 991px) { + .cptm-container-group-fields .cptm-form-group { + width: 100%; + } +} +.cptm-container-group-fields .highlight-field { + padding: 0; +} +.cptm-container-group-fields .atbdp-row { + margin: 0; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + gap: 10px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-container-group-fields .atbdp-row .atbdp-col { + -webkit-box-flex: 0 !important; + -webkit-flex: none !important; + -ms-flex: none !important; + flex: none !important; + width: auto; + padding: 0; +} +.cptm-container-group-fields .atbdp-row .atbdp-col input { + max-width: 100px !important; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +@media only screen and (max-width: 991px) { + .cptm-container-group-fields .atbdp-row .atbdp-col input { + max-width: none !important; + } +} +@media only screen and (max-width: 767px) { + .cptm-container-group-fields .atbdp-row .atbdp-col input { + max-width: 150px !important; + } +} +.cptm-container-group-fields .atbdp-row .atbdp-col label { + margin: 0; + font-size: 14px !important; + font-weight: normal; +} +@media only screen and (max-width: 1300px) { + .cptm-container-group-fields .atbdp-row .atbdp-col label { + min-width: 50px; + } +} +.cptm-container-group-fields .atbdp-row .atbdp-col .directorist_dropdown { + width: 95px; +} +.cptm-container-group-fields + .atbdp-row + .atbdp-col + .directorist_dropdown + .directorist_dropdown-toggle:before { + position: relative; + top: -3px; +} +@media only screen and (max-width: 991px) { + .cptm-container-group-fields .atbdp-row .atbdp-col .directorist_dropdown { + width: calc(100% - 2px); + } +} +@media only screen and (max-width: 767px) { + .cptm-container-group-fields .atbdp-row .atbdp-col .directorist_dropdown { + width: 150px; + } +} +@media only screen and (max-width: 991px) { + .cptm-container-group-fields .atbdp-row .atbdp-col.atbdp-col-8 { + -webkit-box-flex: 1 !important; + -webkit-flex: auto !important; + -ms-flex: auto !important; + flex: auto !important; + } +} +@media only screen and (max-width: 767px) { + .cptm-container-group-fields .atbdp-row .atbdp-col.atbdp-col-4 { + width: auto !important; + } +} + +.cptm-elements-settings { + width: 100%; + max-width: 372px; + padding: 0 20px; + scrollbar-width: 6px; + border-right: 1px solid #e5e7eb; + scrollbar-color: #d2d6db #f3f4f6; +} +@media only screen and (max-width: 1199px) { + .cptm-elements-settings { + max-width: 100%; + } +} +@media only screen and (max-width: 782px) { + .cptm-elements-settings { + -webkit-box-sizing: border-box; + box-sizing: border-box; + } +} +@media only screen and (max-width: 480px) { + .cptm-elements-settings { + border: none; + padding: 0; + } +} +.cptm-elements-settings__header { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 20px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + padding: 18px 0 8px; +} +.cptm-elements-settings__header__title { + font-size: 16px; + line-height: 24px; + font-weight: 500; + color: #141921; + margin: 0; +} +.cptm-elements-settings__group { + padding: 20px 0; + border-bottom: 1px solid #e5e7eb; +} +.cptm-elements-settings__group .dndrop-draggable-wrapper { + position: relative; + overflow: visible !important; +} +.cptm-elements-settings__group .dndrop-draggable-wrapper.dragging { + opacity: 0; +} +.cptm-elements-settings__group:last-child { + border-bottom: none; +} +.cptm-elements-settings__group__title { + display: block; + font-size: 12px; + font-weight: 500; + letter-spacing: 0.48px; + color: #747c89; + margin-bottom: 15px; +} +.cptm-elements-settings__group__single { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 16px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + padding: 12px; + border-radius: 4px; + background: #f3f4f6; +} +.cptm-elements-settings__group__single:hover { + border-color: #3e62f5; +} +.cptm-elements-settings__group__single .drag-icon { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + font-size: 16px; + color: #747c89; + background: transparent; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; + cursor: move; +} +.cptm-elements-settings__group__single .drag-icon:hover { + color: #1e1e1e; +} +.cptm-elements-settings__group__single__label { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + font-size: 14px; + font-weight: 500; + color: #383f47; +} +.cptm-elements-settings__group__single__label__icon { + color: #4d5761; + font-size: 24px; +} +@media only screen and (max-width: 480px) { + .cptm-elements-settings__group__single__label__icon { + font-size: 20px; + } +} +.cptm-elements-settings__group__single__action { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + gap: 12px; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-elements-settings__group__single__edit { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + cursor: pointer; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-elements-settings__group__single__edit__icon { + font-size: 20px; + color: #4d5761; +} +.cptm-elements-settings__group__single__edit--disabled { + opacity: 0.4; + pointer-events: none; +} +.cptm-elements-settings__group__single__switch label { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + width: 32px; + height: 18px; + cursor: pointer; +} +.cptm-elements-settings__group__single__switch label::before { + content: ""; + position: absolute; + width: 100%; + height: 100%; + background-color: #d2d6db; + border-radius: 30px; + -webkit-transition: all 0.3s; + transition: all 0.3s; +} +.cptm-elements-settings__group__single__switch label::after { + content: ""; + position: absolute; + top: 3px; + left: 3px; + width: 12px; + height: 12px; + background-color: #ffffff; + border-radius: 50%; + -webkit-transition: all 0.3s; + transition: all 0.3s; +} +.cptm-elements-settings__group__single__switch input[type="checkbox"] { + display: none; +} +.cptm-elements-settings__group__single__switch + input[type="checkbox"]:checked + + label::before { + background-color: #3e62f5; +} +.cptm-elements-settings__group__single__switch + input[type="checkbox"]:checked + + label::after { + -webkit-transform: translateX(14px); + transform: translateX(14px); +} +.cptm-elements-settings__group__single--disabled { + opacity: 0.4; + pointer-events: none; +} +.cptm-elements-settings__group__options { + position: absolute; + width: 100%; + top: 42px; + left: 0; + z-index: 1; + padding-bottom: 20px; +} +.cptm-elements-settings__group__options .cptm-option-card { + margin: 0; + background: #fff; + -webkit-box-shadow: 0 6px 8px 2px rgba(16, 24, 40, 0.1019607843); + box-shadow: 0 6px 8px 2px rgba(16, 24, 40, 0.1019607843); +} +.cptm-elements-settings__group__options .cptm-option-card:before { + right: 60px; +} +.cptm-elements-settings__group__options + .cptm-option-card + .cptm-option-card-header { + padding: 0; + border-radius: 8px 8px 0 0; + background: transparent; +} +.cptm-elements-settings__group__options + .cptm-option-card + .cptm-option-card-header + .cptm-option-card-header-title-section { + padding: 16px; + min-height: auto; +} +.cptm-elements-settings__group__options + .cptm-option-card + .cptm-option-card-header + .cptm-option-card-header-title-section + .cptm-option-card-header-title { + font-size: 14px; + font-weight: 500; + color: #2c3239; + margin: 0; +} +.cptm-elements-settings__group__options + .cptm-option-card + .cptm-option-card-header + .cptm-option-card-header-title-section + .cptm-header-action-link { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 18px; + height: 18px; + padding: 0; + color: #4d5761; +} +.cptm-elements-settings__group__options + .cptm-option-card + .cptm-option-card-body { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 16px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 16px; + background: transparent; + border-top: 1px solid #e5e7eb; + border-radius: 0 0 8px 8px; + -webkit-box-shadow: none; + box-shadow: none; +} +.cptm-elements-settings__group__options + .cptm-option-card + .cptm-option-card-body + .cptm-form-group { + margin-bottom: 0; +} +.cptm-elements-settings__group__options + .cptm-option-card + .cptm-option-card-body + .cptm-form-group + label { + font-size: 13px; + font-weight: 500; +} +.cptm-elements-settings__group .dndrop-container .dndrop-draggable-wrapper { + margin-bottom: 8px; +} +.cptm-elements-settings__group + .dndrop-container + .dndrop-draggable-wrapper:last-child { + margin-bottom: 0; +} + +.reset-pseudo-link:visited, +.cptm-btn:visited, +.cptm-header-nav__list-item-link:visited, +.cptm-link-light:visited, +.cptm-sub-nav__item-link:visited, +.cptm-header-action-link:visited, +.cptm-modal-action-link:visited, +.atbdp-nav-link:visited, +.reset-pseudo-link:active, +.cptm-btn:active, +.cptm-header-nav__list-item-link:active, +.cptm-link-light:active, +.cptm-sub-nav__item-link:active, +.cptm-header-action-link:active, +.cptm-modal-action-link:active, +.atbdp-nav-link:active, +.reset-pseudo-link:focus, +.cptm-btn:focus, +.cptm-header-nav__list-item-link:focus, +.cptm-link-light:focus, +.cptm-sub-nav__item-link:focus, +.cptm-header-action-link:focus, +.cptm-modal-action-link:focus, +.atbdp-nav-link:focus { + outline: none; + -webkit-box-shadow: none; + box-shadow: none; +} + +.cptm-shortcodes { + max-height: 300px; + overflow: scroll; +} + +.directorist-center-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.directorist-center-content-inline { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; +} + +.directorist-center-content, +.directorist-center-content-inline { + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.directorist-text-right { + text-align: right; +} + +.directorist-text-center { + text-align: center; +} + +.directorist-text-left { + text-align: left; +} + +.directorist-mt-0 { + margin-top: 0 !important; +} + +.directorist-mt-5 { + margin-top: 5px !important; +} + +.directorist-mt-10 { + margin-top: 10px !important; +} + +.directorist-mt-15 { + margin-top: 15px !important; +} + +.directorist-mt-20 { + margin-top: 20px !important; +} + +.directorist-mt-30 { + margin-top: 30px !important; +} + +.directorist-mb-0 { + margin-bottom: 0 !important; +} + +.directorist-mb-35 { + margin-bottom: 35px !important; +} + +.directorist-mb-30 { + margin-bottom: 30px !important; +} + +.directorist-mb-25 { + margin-bottom: 25px !important; +} + +.directorist-mb-20 { + margin-bottom: 20px !important; +} + +.directorist-mb-n20 { + margin-bottom: -20px !important; +} + +.directorist-mb-10 { + margin-bottom: 10px !important; +} + +.directorist-mb-15 { + margin-bottom: 15px !important; +} + +.directorist-mb-20 { + margin-bottom: 20px !important; +} + +.directorist-mb-30 { + margin-bottom: 30px !important; +} + +.directorist-mb-35 { + margin-bottom: 35px !important; +} + +.directorist-mb-40 { + margin-bottom: 40px !important; +} + +.directorist-mb-50 { + margin-bottom: 50px !important; +} + +.directorist-mb-70 { + margin-bottom: 70px !important; +} + +.directorist-mb-80 { + margin-bottom: 80px !important; +} + +.directorist-pb-100 { + padding-bottom: 100px !important; +} + +.directorist-w-100 { + width: 100% !important; + max-width: 100% !important; +} + +.directorist-draggable-list-item-wrapper { + position: relative; + height: 100%; +} + +.directorist-droppable-area-wrap { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 888888888; + display: none; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + margin-bottom: -20px; +} + +.directorist-droppable-area { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} + +.directorist-droppable-item-preview { + height: 52px; + background-color: rgba(44, 153, 255, 0.1); + margin-bottom: 20px; + margin-right: 0; + border-radius: 4px; +} + +.directorist-droppable-item-preview-before { + margin-bottom: 20px; +} + +.directorist-droppable-item-preview-after { + margin-bottom: 20px; +} + +/* Create Directory Type */ +.directorist-directory-type-top { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + gap: 15px 30px; + padding: 0 20px; + background: white; + min-height: 60px; + border-bottom: 1px solid #e5e7eb; + position: fixed; + right: 0; + top: 32px; + width: calc(100% - 200px); + z-index: 9999; +} +.directorist-directory-type-top:before { + content: ""; + position: absolute; + top: -10px; + left: 0; + height: 10px; + width: 100%; + background-color: #f3f4f6; +} +@media only screen and (max-width: 782px) { + .directorist-directory-type-top { + position: relative; + width: calc(100% + 20px); + top: -10px; + left: -10px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-sizing: border-box; + box-sizing: border-box; + } +} +@media only screen and (max-width: 480px) { + .directorist-directory-type-top { + padding: 10px 30px; + } +} +.directorist-directory-type-top-left { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 10px 24px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +@media only screen and (max-width: 767px) { + .directorist-directory-type-top-left { + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + } +} +.directorist-directory-type-top-left .cptm-form-group { + margin-bottom: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 10px; +} +.directorist-directory-type-top-left + .cptm-form-group + .cptm-form-group-feedback { + white-space: nowrap; +} +.directorist-directory-type-top-left .cptm-form-group .cptm-form-control { + height: 36px; + border-radius: 8px; + background: #e5e7eb; + max-width: 150px; + padding: 10px 16px; + font-size: 14px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} +.directorist-directory-type-top-left + .cptm-form-group + .cptm-form-control::-webkit-input-placeholder { + color: #4d5761; + font-size: 14px; + font-style: normal; + font-weight: 500; + line-height: 16.24px; +} +.directorist-directory-type-top-left + .cptm-form-group + .cptm-form-control::-moz-placeholder { + color: #4d5761; + font-size: 14px; + font-style: normal; + font-weight: 500; + line-height: 16.24px; +} +.directorist-directory-type-top-left + .cptm-form-group + .cptm-form-control:-ms-input-placeholder { + color: #4d5761; + font-size: 14px; + font-style: normal; + font-weight: 500; + line-height: 16.24px; +} +.directorist-directory-type-top-left + .cptm-form-group + .cptm-form-control::-ms-input-placeholder { + color: #4d5761; + font-size: 14px; + font-style: normal; + font-weight: 500; + line-height: 16.24px; +} +.directorist-directory-type-top-left + .cptm-form-group + .cptm-form-control::placeholder { + color: #4d5761; + font-size: 14px; + font-style: normal; + font-weight: 500; + line-height: 16.24px; +} +.directorist-directory-type-top-left + .cptm-form-group + .cptm-form-group-feedback + .cptm-form-alert { + padding: 0; +} +.directorist-directory-type-top-left .directorist-back-directory { + color: #4d5761; + font-size: 14px; + font-style: normal; + font-weight: 500; + line-height: normal; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 8px; +} +.directorist-directory-type-top-left .directorist-back-directory svg { + width: 14px; + height: 14px; + color: inherit; +} +.directorist-directory-type-top-left .directorist-back-directory:hover { + color: #3e62f5; +} +.directorist-directory-type-top-right .directorist-create-directory { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + border-radius: 8px; + text-decoration: none; + padding: 0 24px; + height: 40px; + border: 1px solid #3e62f5; + cursor: pointer; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-box-shadow: 0px 2px 4px 0px rgba(60, 41, 170, 0.1); + box-shadow: 0px 2px 4px 0px rgba(60, 41, 170, 0.1); + background-color: #3e62f5; + color: #ffffff; + font-size: 15px; + font-weight: 500; + line-height: normal; + -webkit-transition: background-color 0.3s ease; + transition: background-color 0.3s ease; +} +.directorist-directory-type-top-right .directorist-create-directory:hover { + background-color: #5a7aff; + border-color: #5a7aff; +} +.directorist-directory-type-top-right .cptm-btn { + margin: 0; +} + +.directorist-type-name { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 8px; + font-size: 15px; + font-weight: 600; + color: #141921; + line-height: 16px; +} +.directorist-type-name span { + font-size: 20px; + color: #747c89; +} + +.directorist-type-name-editable { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 8px; +} +.directorist-type-name-editable span { + font-size: 20px; + color: #747c89; +} +.directorist-type-name-editable span:hover { + color: #3e62f5; +} + +.directorist-directory-type-bottom { + position: fixed; + bottom: 0; + right: 20px; + width: calc(100% - 204px); + height: calc(100% - 115px); + overflow-y: auto; + z-index: 1; + background: white; + margin-top: 67px; + border-radius: 8px 8px 0 0; + border: 1px solid #e5e7eb; + -webkit-box-shadow: 0 4px 8px 0 rgba(16, 24, 40, 0.08); + box-shadow: 0 4px 8px 0 rgba(16, 24, 40, 0.08); +} +@media only screen and (max-width: 782px) { + .directorist-directory-type-bottom { + position: unset; + width: 100%; + height: auto; + overflow-y: visible; + margin-top: 20px; + } + .directorist-directory-type-bottom .atbdp-cptm-body { + margin: 0 20px 20px !important; + } +} +.directorist-directory-type-bottom .cptm-header-navigation { + position: fixed; + right: 20px; + top: 113px; + width: calc(100% - 202px); + background: #ffffff; + border: 1px solid #e5e7eb; + gap: 0 32px; + padding: 0 30px; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + border-radius: 8px 8px 0 0; + overflow-x: auto; + z-index: 100; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +@media only screen and (max-width: 1024px) { + .directorist-directory-type-bottom .cptm-header-navigation { + -webkit-box-pack: start; + -webkit-justify-content: flex-start; + -ms-flex-pack: start; + justify-content: flex-start; + } +} +@media only screen and (max-width: 782px) { + .directorist-directory-type-bottom .cptm-header-navigation { + position: unset; + width: 100%; + border: none; + } +} +.directorist-directory-type-bottom .atbdp-cptm-body { + position: relative; + margin-top: 72px; +} +@media only screen and (max-width: 600px) { + .directorist-directory-type-bottom .atbdp-cptm-body { + margin-top: 0; + } +} + +.wp-admin.folded .directorist-directory-type-top { + width: calc(100% - 78px); +} +@media only screen and (max-width: 782px) { + .wp-admin.folded .directorist-directory-type-top { + width: calc(100% - 40px); + } +} +.wp-admin.folded .directorist-directory-type-bottom { + width: calc(100% - 80px); +} +.wp-admin.folded .directorist-directory-type-bottom .cptm-header-navigation { + width: calc(100% - 78px); +} +@media only screen and (max-width: 782px) { + .wp-admin.folded + .directorist-directory-type-bottom + .cptm-header-navigation { + width: 100%; + border-width: 0 0 1px 0; + } +} + +.directorist-draggable-form-list-wrap { + margin-right: 50px; +} + +/* Body Header */ +.directorist-form-action { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; + margin-bottom: 26px; +} +.directorist-form-action__modal-btn { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + width: -webkit-max-content; + width: -moz-max-content; + width: max-content; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 6px; + width: 30px; + height: 30px; + border-radius: 6px; + border: 1px solid #e5e7eb; + background: transparent; + color: #4d5761; + text-align: center; + font-size: 12px; + font-style: normal; + font-weight: 500; + line-height: 14px; + letter-spacing: 0.12px; + -webkit-box-sizing: border-box; + box-sizing: border-box; + text-transform: capitalize; +} +.directorist-form-action__modal-btn svg { + width: 14px; + height: 14px; + color: inherit; +} +.directorist-form-action__modal-btn:hover { + color: #217aef; + background: #eff8ff; + border-color: #bee3ff; +} +.directorist-form-action__link { + margin-top: 2px; + font-size: 12px; + font-weight: 500; + color: #1b50b2; + line-height: 20px; + letter-spacing: 0.12px; + text-decoration: underline; +} +.directorist-form-action__view { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 6px; + width: 30px; + height: 30px; + border-radius: 6px; + border: 1px solid #e5e7eb; + background: transparent; + color: #4d5761; + text-align: center; + font-size: 12px; + font-style: normal; + font-weight: 500; + line-height: 14px; + letter-spacing: 0.12px; + text-transform: capitalize; +} +.directorist-form-action__view svg { + width: 14px; + height: 14px; + color: inherit; +} +.directorist-form-action__view:hover { + color: #217aef; + background: #eff8ff; + border-color: #bee3ff; +} +.directorist-form-action__view:focus { + outline: none; + -webkit-box-shadow: none; + box-shadow: none; +} + +.cptm-form-note { + margin-bottom: 30px; + padding: 30px; + background-color: #dcebfe; + border-radius: 4px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} +.cptm-form-note i { + font-size: 30px; + opacity: 0.2; + margin-right: 15px; +} +.cptm-form-note .cptm-form-note-title { + margin-top: 0; + color: #157cf6; +} +.cptm-form-note .cptm-form-note-content { + margin: 5px 0; +} +.cptm-form-note .cptm-form-note-content a { + color: #157cf6; +} + +#atbdp_cpt_options_metabox .inside { + margin: 0; + padding: 0; +} +#atbdp_cpt_options_metabox .postbox-header { + display: none; +} + +.atbdp-cpt-manager { + position: relative; + display: block; + color: #23282d; +} +.atbdp-cpt-manager.directorist-overlay-visible { + position: fixed; + z-index: 9; + width: calc(100% - 200px); +} +.atbdp-cpt-manager.directorist-overlay-visible .directorist-directory-type-top, +.atbdp-cpt-manager.directorist-overlay-visible + .directorist-directory-type-bottom + .cptm-header-navigation { + z-index: 1; +} +.atbdp-cpt-manager.directorist-overlay-visible .submission_form_fields { + z-index: 11; +} + +.atbdp-cptm-header { + display: block; +} +.atbdp-cptm-header .cptm-form-group .cptm-form-control { + height: 50px; + font-size: 20px; +} + +.atbdp-cptm-body { + display: block; +} + +.cptm-field-wraper-key-preview_image .cptm-btn { + margin: 0 10px; + height: 40px; + color: #23282d !important; + background-color: #dadce0 !important; + border-radius: 4px !important; + border: 0 none; + font-weight: 500; + padding: 0 30px; +} + +.atbdp-cptm-footer { + display: block; + padding: 24px 0 0; + margin: 0 50px 0 30px; + border-top: 1px solid #e5e7eb; +} +.atbdp-cptm-footer .atbdp-cptm-footer-preview { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + margin: 0 0 20px; +} +.atbdp-cptm-footer .atbdp-cptm-footer-preview .atbdp-cptm-footer-preview-label { + position: relative; + font-size: 14px; + font-weight: 500; + color: #4d5761; + cursor: pointer; +} +.atbdp-cptm-footer + .atbdp-cptm-footer-preview + .atbdp-cptm-footer-preview-label:before { + content: ""; + position: absolute; + right: 0; + top: 0; + width: 36px; + height: 20px; + border-radius: 30px; + background: #d2d6db; + border: 3px solid #d2d6db; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; +} +.atbdp-cptm-footer + .atbdp-cptm-footer-preview + .atbdp-cptm-footer-preview-label:after { + content: ""; + position: absolute; + right: 19px; + top: 3px; + width: 14px; + height: 14px; + background: #ffffff; + border-radius: 100%; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; +} +.atbdp-cptm-footer + .atbdp-cptm-footer-preview + .atbdp-cptm-footer-preview-toggle { + display: none; +} +.atbdp-cptm-footer + .atbdp-cptm-footer-preview + .atbdp-cptm-footer-preview-toggle:checked + ~ label:before { + background-color: #3e62f5; + border-color: #3e62f5; +} +.atbdp-cptm-footer + .atbdp-cptm-footer-preview + .atbdp-cptm-footer-preview-toggle:checked + ~ label:after { + right: 3px; +} +.atbdp-cptm-footer .atbdp-cptm-footer-preview .atbdp-cptm-footer-preview-desc { + font-size: 12px; + font-weight: 400; + color: #747c89; +} + +.atbdp-cptm-footer-actions { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-content: center; + -ms-flex-line-pack: center; + align-content: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.atbdp-cptm-footer-actions .cptm-btn { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 10px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 100%; + font-weight: 500; + font-size: 15px; + height: 48px; + padding: 0 30px; + margin: 0; +} +.atbdp-cptm-footer-actions .cptm-save-text { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.cptm-title-bar { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin: 0 -10px; + padding: 15px 10px; + background-color: #fff; +} + +.cptm-card-preview-widget .cptm-title-bar { + margin: 0; +} + +.cptm-title-bar-headings { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + padding: 10px; +} + +.cptm-title-bar-actions { + min-width: 100px; + max-width: 220px; + padding: 10px; +} + +.cptm-label-btn { + display: inline-block; +} + +.cptm-btn, +.cptm-btn.cptm-label-btn { + margin: 0 5px 10px; + display: inline-block; + text-align: center; + border: 1px solid transparent; + padding: 10px 20px; + border-radius: 5px; + cursor: pointer; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + vertical-align: top; +} +.cptm-btn:disabled, +.cptm-btn.cptm-label-btn:disabled { + cursor: not-allowed; + opacity: 0.5; +} + +.cptm-btn.cptm-label-btn { + display: inline-block; + vertical-align: top; +} +.cptm-btn.cptm-btn-rounded { + border-radius: 30px; +} +.cptm-btn.cptm-btn-primary { + color: #fff; + border-color: #3e62f5; + background-color: #3e62f5; +} +.cptm-btn.cptm-btn-primary:hover { + background-color: #345af4; +} +.cptm-btn.cptm-btn-secondery { + color: #3e62f5; + border-color: #3e62f5; + background-color: transparent; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 6px; + font-size: 15px !important; +} +.cptm-btn.cptm-btn-secondery:hover { + color: #fff; + background-color: #3e62f5; +} + +.cptm-file-input-wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-file-input-wrap .cptm-btn { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} + +.cptm-btn-box { + display: block; +} + +.cptm-form-builder-group-field-drop-area { + display: block; + padding: 14px 20px; + border-radius: 4px; + margin: 16px 0 0; + text-align: center; + font-size: 14px; + font-weight: 500; + color: #747c89; + background-color: #f9fafb; + font-style: italic; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + border: 1px dashed #d2d6db; + -webkit-box-shadow: 0 4px 8px 0 rgba(16, 24, 40, 0.08); + box-shadow: 0 4px 8px 0 rgba(16, 24, 40, 0.08); +} +.cptm-form-builder-group-field-drop-area:first-child { + margin-top: 0; +} +.cptm-form-builder-group-field-drop-area.drag-enter { + color: #3e62f5; + background-color: #d8e0fd; + border-color: #3e62f5; +} + +.cptm-form-builder-group-field-drop-area-label { + margin: 0; + pointer-events: none; +} + +.atbdp-cptm-status-feedback { + position: fixed; + top: 70px; + left: calc(50% + 150px); + -webkit-transform: translateX(-50%); + transform: translateX(-50%); + min-width: 300px; + z-index: 9999; +} +@media screen and (max-width: 960px) { + .atbdp-cptm-status-feedback { + left: calc(50% + 100px); + } +} +@media screen and (max-width: 782px) { + .atbdp-cptm-status-feedback { + left: 50%; + } +} + +.cptm-alert { + position: relative; + padding: 14px 24px 14px 52px; + font-size: 16px; + font-weight: 500; + line-height: 22px; + color: #053e29; + border-radius: 8px; + -webkit-box-shadow: 0 8px 16px rgba(16, 24, 40, 0.1); + box-shadow: 0 8px 16px rgba(16, 24, 40, 0.1); +} +.cptm-alert:before { + content: ""; + position: absolute; + top: 14px; + left: 24px; + font-size: 20px; + font-family: "Font Awesome 5 Free"; + font-weight: 900; +} + +.cptm-alert-success { + background-color: #ecfdf3; + border: 1px solid #14b570; +} +.cptm-alert-success:before { + content: "\f058"; + color: #14b570; +} + +.cptm-alert-error { + background-color: #f3d6d6; + border: 1px solid #c51616; +} +.cptm-alert-error:before { + content: "\f057"; + color: #c51616; +} + +.cptm-dropable-element { + position: relative; +} + +.cptm-dropable-base-element { + display: block; + position: relative; + padding: 0; + -webkit-transition: ease-in-out all 300ms; + transition: ease-in-out all 300ms; +} + +.cptm-dropable-area { + position: absolute; + left: 0; + right: 0; + top: 0; + bottom: 0; + z-index: 999; +} + +.cptm-dropable-placeholder { + padding: 0; + margin: 0; + height: 0; + border-radius: 4px; + overflow: hidden; + -webkit-transition: all ease-in-out 200ms; + transition: all ease-in-out 200ms; + background: RGBA(61, 98, 245, 0.45); +} +.cptm-dropable-placeholder.active { + padding: 10px 15px; + margin: 0; + height: 30px; +} + +.cptm-dropable-inside { + padding: 10px; +} + +.cptm-dropable-area-inside { + display: block; + height: 100%; +} + +.cptm-dropable-area-right { + display: block; +} + +.cptm-dropable-area-left { + display: block; +} + +.cptm-dropable-area-right, +.cptm-dropable-area-left { + display: block; + float: left; + width: 50%; + height: 100%; +} + +.cptm-dropable-area-top { + display: block; +} + +.cptm-dropable-area-bottom { + display: block; +} + +.cptm-dropable-area-top, +.cptm-dropable-area-bottom { + display: block; + width: 100%; + height: 50%; +} + +.cptm-header-navigation { + margin: 0; + padding: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +@media screen and (max-width: 480px) { + .cptm-header-navigation { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + } +} + +.cptm-header-nav__list-item { + margin: 0; + display: inline-block; + list-style: none; + text-align: center; + min-width: -webkit-fit-content; + min-width: -moz-fit-content; + min-width: fit-content; +} +@media (max-width: 480px) { + .cptm-header-nav__list-item { + width: 100%; + } +} + +.cptm-header-nav__list-item-link { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 8px; + text-decoration: none; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + position: relative; + color: #4d5761; + font-weight: 500; + padding: 24px 0; + position: relative; +} +@media only screen and (max-width: 480px) { + .cptm-header-nav__list-item-link { + padding: 16px 0; + } +} +.cptm-header-nav__list-item-link:before { + content: ""; + position: absolute; + bottom: 0; + left: 50%; + -webkit-transform: translateX(-50%); + transform: translateX(-50%); + width: calc(100% + 55px); + height: 3px; + background-color: transparent; + border-radius: 2px 2px 0 0; +} +.cptm-header-nav__list-item-link .cptm-header-nav__icon { + font-size: 24px; +} +.cptm-header-nav__list-item-link.active { + font-weight: 600; +} +.cptm-header-nav__list-item-link.active:before { + background-color: #3e62f5; +} +.cptm-header-nav__list-item-link.active .cptm-header-nav__icon, +.cptm-header-nav__list-item-link.active .cptm-header-nav__label { + color: #3e62f5; +} + +.cptm-header-nav__icon { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; +} +.cptm-header-nav__icon svg { + width: 24px; + height: 24px; +} + +.cptm-header-nav__label { + display: block; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + font-size: 14px; + font-weight: 500; +} + +.cptm-title-area { + margin-bottom: 20px; +} + +.submission-form .cptm-title-area { + width: 100%; +} + +.tab-general .cptm-title-area { + margin-left: 0; +} + +.cptm-link-light { + color: #fff; +} +.cptm-link-light:hover, +.cptm-link-light:focus, +.cptm-link-light:active { + color: #fff; +} + +.cptm-color-white { + color: #fff; +} + +.cptm-my-10 { + margin-top: 10px; + margin-bottom: 10px; +} + +.cptm-mb-60 { + margin-bottom: 60px; +} + +.cptm-mr-5 { + margin-right: 5px; +} + +.cptm-title { + margin: 0; + font-size: 19px; + font-weight: 600; + color: #141921; + line-height: 1.2; +} + +.cptm-des { + font-size: 14px; + font-weight: 400; + line-height: 22px; + color: #4d5761; + margin-top: 10px; +} + +.atbdp-cptm-tab-contents { + width: 100%; + display: block; + background-color: #fff; +} +.atbdp-cptm-tab-contents .listings_card_layout .cptm-tab-content-header { + margin-top: 92px; +} +@media only screen and (max-width: 782px) { + .atbdp-cptm-tab-contents .listings_card_layout .cptm-tab-content-header { + margin-top: 20px; + } +} +.atbdp-cptm-tab-contents .listings_card_layout .cptm-sub-navigation { + width: auto; + max-width: 658px; + margin: 0 auto; + gap: 16px; + padding: 0; + border-radius: 8px 8px 0 0; + border: 1px solid #e5e7eb; + background: #f9fafb; + border-bottom: none; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.atbdp-cptm-tab-contents + .listings_card_layout + .cptm-sub-navigation + .cptm-sub-nav__item-link { + height: 47px; + padding: 0 8px; + border: none; + border-radius: 0; + position: relative; +} +.atbdp-cptm-tab-contents + .listings_card_layout + .cptm-sub-navigation + .cptm-sub-nav__item-link:before { + content: ""; + position: absolute; + bottom: 0; + left: 0; + width: 100%; + height: 3px; + background: transparent; + border-radius: 2px 2px 0 0; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.atbdp-cptm-tab-contents + .listings_card_layout + .cptm-sub-navigation + .cptm-sub-nav__item-link:hover, +.atbdp-cptm-tab-contents + .listings_card_layout + .cptm-sub-navigation + .cptm-sub-nav__item-link.active { + color: #3e62f5; + background: transparent; +} +.atbdp-cptm-tab-contents + .listings_card_layout + .cptm-sub-navigation + .cptm-sub-nav__item-link:hover + svg + path, +.atbdp-cptm-tab-contents + .listings_card_layout + .cptm-sub-navigation + .cptm-sub-nav__item-link.active + svg + path { + stroke: #3e62f5; +} +.atbdp-cptm-tab-contents + .listings_card_layout + .cptm-sub-navigation + .cptm-sub-nav__item-link:hover:before, +.atbdp-cptm-tab-contents + .listings_card_layout + .cptm-sub-navigation + .cptm-sub-nav__item-link.active:before { + background: #3e62f5; +} + +.atbdp-cptm-tab-item { + display: none; +} +.atbdp-cptm-tab-item.active { + display: block; +} + +.cptm-tab-content-header { + position: relative; + background: transparent; + max-width: 100%; + margin: 82px auto 0; +} +@media only screen and (max-width: 782px) { + .cptm-tab-content-header { + margin-top: 0; + } +} +.cptm-tab-content-header .cptm-tab-content-header__action { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 10px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + position: absolute; + right: 32px; + top: 50%; + -webkit-transform: translateY(-50%); + transform: translateY(-50%); + z-index: 11; +} +@media only screen and (max-width: 991px) { + .cptm-tab-content-header .cptm-tab-content-header__action { + right: 25px; + } +} +@media only screen and (max-width: 782px) { + .cptm-tab-content-header .cptm-sub-navigation { + padding-right: 70px; + margin-top: 20px; + } + .cptm-tab-content-header .cptm-tab-content-header__action { + top: 0; + -webkit-transform: unset; + transform: unset; + } +} +@media only screen and (max-width: 480px) { + .cptm-tab-content-header .cptm-sub-navigation { + margin-top: 0; + } + .cptm-tab-content-header .cptm-tab-content-header__action { + right: 0; + } +} + +.cptm-tab-content-body { + display: block; +} + +.cptm-tab-content { + position: relative; + margin: 0 auto; + min-height: 500px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-tab-content.tab-wide { + max-width: 1080px; +} +.cptm-tab-content.tab-short-wide { + max-width: 600px; +} +.cptm-tab-content.tab-full-width { + max-width: 100%; +} +.cptm-tab-content.cptm-tab-content-general { + top: 32px; + padding: 32px 30px 0; + border: 1px solid #e5e7eb; + border-radius: 8px; + margin: 0 auto 70px; +} +@media only screen and (max-width: 960px) { + .cptm-tab-content.cptm-tab-content-general { + max-width: 100%; + margin: 0 20px 52px; + } +} +@media only screen and (max-width: 782px) { + .cptm-tab-content.cptm-tab-content-general { + margin: 0; + } +} +@media only screen and (max-width: 480px) { + .cptm-tab-content.cptm-tab-content-general { + top: 0; + } +} + +.cptm-short-wide { + max-width: 550px; + width: 100%; + margin-right: auto; + margin-left: auto; +} + +.cptm-tab-sub-content-item { + margin: 0 auto; + display: none; +} +.cptm-tab-sub-content-item.active { + display: block; +} + +.cptm-row { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin: 0 -15px; +} + +.cptm-col-5 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + width: calc(42.66% - 30px); + padding: 0 15px; +} +@media (max-width: 767px) { + .cptm-col-5 { + width: calc(100% - 30px); + margin-bottom: 30px; + } +} + +.cptm-col-6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + width: calc(50% - 30px); + padding: 0 15px; +} +@media (max-width: 767px) { + .cptm-col-6 { + width: calc(100% - 30px); + margin-bottom: 30px; + } +} + +.cptm-col-7 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + width: calc(57.33% - 30px); + padding: 0 15px; +} +@media (max-width: 767px) { + .cptm-col-7 { + width: calc(100% - 30px); + margin-bottom: 30px; + } +} + +.cptm-section { + position: relative; + margin-bottom: 50px; + z-index: 10; +} +.cptm-section.cptm-section--disabled .cptm-builder-section { + opacity: 0.6; + pointer-events: none; +} +.cptm-section.submission_form_fields + .cptm-form-builder-active-fields-container { + height: 100%; + padding-bottom: 400px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-section.single_listing_header { + border-top: 1px solid #e5e7eb; +} +.cptm-section.search_form_fields .directorist-form-action, +.cptm-section.submission_form_fields .directorist-form-action { + position: absolute; + right: 0; + top: 0; + margin: 0; +} +.cptm-section.preview_mode { + position: absolute; + right: 24px; + bottom: 18px; + width: calc(100% - 420px); + padding: 20px; + -webkit-box-sizing: border-box; + box-sizing: border-box; + z-index: 10; + background: #ffffff; + border: 1px solid #e5e7eb; + border-radius: 8px; + -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); + box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); +} +.cptm-section.preview_mode:before { + content: ""; + position: absolute; + top: 0; + left: 43px; + height: 1px; + width: calc(100% - 86px); + background-color: #f3f4f6; +} +@media only screen and (min-width: 1441px) { + .cptm-section.preview_mode { + width: calc(65% - 49px); + } +} +@media only screen and (max-width: 1024px) { + .cptm-section.preview_mode { + width: calc(100% - 49px); + } +} +@media only screen and (max-width: 480px) { + .cptm-section.preview_mode { + width: 100%; + position: unset; + margin-top: 20px; + } +} +.cptm-section.preview_mode .cptm-title-area { + display: none; +} +.cptm-section.preview_mode .cptm-input-toggle-wrap { + gap: 10px; + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; + -webkit-box-orient: horizontal; + -webkit-box-direction: reverse; + -webkit-flex-direction: row-reverse; + -ms-flex-direction: row-reverse; + flex-direction: row-reverse; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} +.cptm-section.preview_mode .directorist-footer-wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + gap: 12px; + padding: 10px 16px; + background-color: #f5f6f7; + border: 1px solid #e5e7eb; + border-radius: 6px; +} +@media only screen and (max-width: 575px) { + .cptm-section.preview_mode .directorist-footer-wrap { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-align: start; + -webkit-align-items: flex-start; + -ms-flex-align: start; + align-items: flex-start; + } +} +.cptm-section.preview_mode .directorist-footer-wrap .directorist-input-label { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + font-size: 14px; + font-weight: 500; + color: #141921; +} +.cptm-section.preview_mode .directorist-footer-wrap .directorist-input { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn { + position: relative; + margin: 0; + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + height: 32px; + font-size: 12px; + font-weight: 500; + color: #4d5761; + border-color: #e5e7eb; + background-color: #ffffff; + border-radius: 6px; +} +.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn .cptm-save-icon { + opacity: 0; + visibility: hidden; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; +} +.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn:before { + content: attr(data-info); + position: absolute; + top: calc(100% + 8px); + left: 50%; + -webkit-transform: translateX(-50%); + transform: translateX(-50%); + min-width: -webkit-max-content; + min-width: -moz-max-content; + min-width: max-content; + text-align: center; + color: #ffffff; + font-size: 13px; + font-weight: 500; + padding: 10px 12px; + border-radius: 6px; + background-color: #141921; + opacity: 0; + visibility: hidden; + -webkit-transition: + opacity 0.3s ease, + visibility 0.3s ease; + transition: + opacity 0.3s ease, + visibility 0.3s ease; +} +.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn:after { + content: ""; + position: absolute; + top: calc(100% + 2px); + left: 50%; + -webkit-transform: translateX(-50%); + transform: translateX(-50%); + border-bottom: 6px solid #141921; + border-left: 6px solid transparent; + border-right: 6px solid transparent; + opacity: 0; + visibility: hidden; + -webkit-transition: + opacity 0.3s ease, + visibility 0.3s ease; + transition: + opacity 0.3s ease, + visibility 0.3s ease; +} +.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn .cptm-save-icon { + font-size: 16px; +} +.cptm-section.preview_mode + .directorist-footer-wrap + .cptm-btn:hover + .cptm-save-icon { + opacity: 1; + visibility: visible; +} +.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn:hover:before, +.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn:hover:after { + opacity: 1; + visibility: visible; +} +.cptm-section.preview_mode .directorist-footer-wrap .cptm-form-group { + margin: 0; +} +.cptm-section.preview_mode + .directorist-footer-wrap + .cptm-form-group + .cptm-form-control { + height: 32px; + padding: 0 20px; + font-size: 12px; + font-weight: 500; + color: #4d5761; +} +.cptm-section.listings_card_grid_view .cptm-form-field-wrapper, +.cptm-section.listings_card_list_view .cptm-form-field-wrapper { + max-width: 658px; + margin: 0 auto; + padding: 24px; + margin-bottom: 32px; + border-radius: 0 0 8px 8px; + background: #ffffff; + border: 1px solid #e5e7eb; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +@media only screen and (max-width: 480px) { + .cptm-section.listings_card_grid_view .cptm-form-field-wrapper, + .cptm-section.listings_card_list_view .cptm-form-field-wrapper { + padding: 16px; + } +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-top-area, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-top-area { + max-width: 100%; + padding: 12px 20px; + margin-bottom: 16px; + background: #f3f4f6; + border: 1px solid #f3f4f6; + border-radius: 8px; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-top-area + .tab-field, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-top-area + .tab-field { + margin: 0; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-top-area-content, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-top-area-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 24px; +} +@media only screen and (max-width: 480px) { + .cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-top-area-content, + .cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-top-area-content { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + } +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-top-area-content + .cptm-card-layout-content, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-top-area-content + .cptm-card-layout-content { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-top-area-content + .cptm-card-layout-title, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-top-area-content + .cptm-card-layout-title { + font-size: 14px; + line-height: 19px; + font-weight: 500; + color: #141921; + margin: 0 0 4px; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-top-area-content + .cptm-card-layout-description, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-top-area-content + .cptm-card-layout-description { + font-size: 12px; + line-height: 16px; + font-weight: 400; + color: #4d5761; + margin: 0; +} +.cptm-section.listings_card_grid_view .cptm-form-field-wrapper .cptm-form-group, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-form-group { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-preview-widget, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-preview-widget { + max-width: unset; + padding: 0; + border-radius: 4px; + border: 1px solid #e5e7eb; + -webkit-box-shadow: 0 2px 8px 0 rgba(16, 24, 40, 0.08); + box-shadow: 0 2px 8px 0 rgba(16, 24, 40, 0.08); +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-preview-widget + .cptm-card-preview-widget-content, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-preview-widget + .cptm-card-preview-widget-content { + -webkit-box-shadow: unset; + box-shadow: unset; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-preview-widget + .cptm-listing-card-preview-header, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-preview-widget + .cptm-listing-card-preview-header { + position: relative; + height: 328px; + padding: 16px 16px 24px; + background: #e5e7eb; + border-radius: 4px 4px 0 0; + -webkit-box-shadow: unset; + box-shadow: unset; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-preview-widget + .cptm-listing-card-preview-header + .cptm-widget-preview-area, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-preview-widget + .cptm-listing-card-preview-header + .cptm-widget-preview-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-preview-widget + .cptm-listing-card-preview-header + .cptm-placeholder-block, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-preview-widget + .cptm-listing-card-preview-header + .cptm-placeholder-block { + padding-bottom: 32px; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-placeholder-block, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-placeholder-block { + max-width: 100%; + background: #f3f4f6; + border: 1px dashed #d2d6db; + border-radius: 4px; + min-height: 72px; + padding-bottom: 32px; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-placeholder-block + .cptm-widget-preview-container, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-placeholder-block + .cptm-widget-preview-container { + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-section.listings_card_grid_view .cptm-form-group-tab-list, +.cptm-section.listings_card_list_view .cptm-form-group-tab-list { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 12px; + padding: 0; + border: none; + background: transparent; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-item, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-item { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link { + position: relative; + height: unset; + padding: 8px 26px 8px 40px; + background: #ffffff; + border-radius: 4px; + border: 1px solid #e5e7eb; + -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); + box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link:before, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link:before { + content: ""; + position: absolute; + top: 50%; + left: 12px; + -webkit-transform: translateY(-50%); + transform: translateY(-50%); + width: 16px; + height: 16px; + border-radius: 50%; + border: 2px solid #a1a9b2; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-transition: border ease 0.3s; + transition: border ease 0.3s; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link + svg, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link + svg { + border: 1px solid #d2d6db; + border-radius: 4px; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active { + border-color: #3e62f5; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active:before, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active:before { + border: 5px solid #3e62f5; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active + svg, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active + svg { + border-color: #3e62f5; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active + svg + rect, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active + svg + rect { + fill: #3e62f5; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active + svg + rect:first-of-type, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active + svg + rect:first-of-type { + stroke: #3e62f5; + fill: #3e62f5; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active + svg + path, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active + svg + path { + fill: #fff; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .grid_view_without_thumbnail + .cptm-form-group-tab-link.active + svg + rect, +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .list_view_without_thumbnail + .cptm-form-group-tab-link.active + svg + rect, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .grid_view_without_thumbnail + .cptm-form-group-tab-link.active + svg + rect, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .list_view_without_thumbnail + .cptm-form-group-tab-link.active + svg + rect { + fill: #3e62f5; + stroke: unset; +} +.cptm-section.listings_card_grid_view .cptm-card-preview-widget { + -webkit-box-shadow: unset; + box-shadow: unset; +} +.cptm-section.listings_card_grid_view .cptm-card-preview-widget-content { + border-radius: 10px; + -webkit-box-shadow: 0 8px 16px 0 rgba(16, 24, 40, 0.1019607843); + box-shadow: 0 8px 16px 0 rgba(16, 24, 40, 0.1019607843); +} +.cptm-section.listings_card_list_view .cptm-card-top-area { + max-width: unset; +} +.cptm-section.listings_card_list_view .cptm-card-preview-thumbnail { + border-radius: 10px; +} +.cptm-section.new_listing_status { + z-index: 11; +} +.cptm-section:last-child { + margin-bottom: 0; +} + +.cptm-form-builder { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} +@media only screen and (max-width: 1024px) { + .cptm-form-builder { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 30px; + } + .cptm-form-builder .cptm-form-builder-sidebar { + max-width: 100%; + } +} +.cptm-form-builder.submission_form_fields .cptm-form-builder-content { + border-bottom: 25px solid #f3f4f6; +} +@media only screen and (max-width: 480px) { + .cptm-form-builder.submission_form_fields { + gap: 30px; + } + .cptm-form-builder.submission_form_fields .cptm-col-sticky { + position: unset; + border: none; + } + .cptm-form-builder.submission_form_fields + .cptm-col-sticky + .cptm-form-builder-sidebar-content { + padding: 0; + } + .cptm-form-builder.submission_form_fields + .cptm-col-sticky + .cptm-form-builder-active-fields-container { + padding-bottom: 0; + } +} +.cptm-form-builder.single_listings_contents { + border-top: 1px solid #e5e7eb; +} +@media only screen and (max-width: 480px) { + .cptm-form-builder.search_form_fields .cptm-col-sticky { + position: unset; + border: none; + } + .cptm-form-builder.search_form_fields + .cptm-col-sticky + .cptm-form-builder-sidebar-content { + padding: 0; + } + .cptm-form-builder.search_form_fields + .cptm-col-sticky + .cptm-form-builder-active-fields-container { + padding-bottom: 0; + } +} + +.cptm-form-builder-sidebar { + width: 100%; + max-width: 372px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +@media only screen and (min-width: 1441px) { + .cptm-form-builder-sidebar { + max-width: 35%; + } +} +.cptm-form-builder-sidebar .cptm-form-builder-action { + padding-bottom: 0; +} +@media only screen and (max-width: 480px) { + .cptm-form-builder-sidebar .cptm-form-builder-action { + padding: 20px 0; + } +} +.cptm-form-builder-sidebar .cptm-form-builder-sidebar-content { + padding: 12px 24px 24px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +.cptm-form-builder-content { + height: auto; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + background: #f3f4f6; + border-left: 1px solid #e5e7eb; +} +.cptm-form-builder-content .cptm-form-builder-action { + border-bottom: 1px solid #e5e7eb; +} +.cptm-form-builder-content .cptm-form-builder-active-fields { + padding: 24px; + background: #f3f4f6; + height: 100%; + min-height: calc(100vh - 225px); +} +@media only screen and (max-width: 1399px) { + .cptm-form-builder-content .cptm-form-builder-active-fields { + min-height: calc(100vh - 225px); + } +} + +.cptm-form-builder-action { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + padding: 18px 24px; + background: #ffffff; +} + +.cptm-form-builder-action-title { + font-size: 16px; + line-height: 24px; + font-weight: 500; + color: #141921; +} + +.cptm-form-builder-action-btn { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 8px; + padding: 0 12px; + color: #141921; + font-size: 14px; + line-height: 16px; + font-weight: 500; + height: 32px; + -webkit-box-sizing: border-box; + box-sizing: border-box; + border: 1px solid #d2d6db; + border-radius: 4px; +} + +.cptm-elements-settings + .cptm-form-builder-action-btn.directorist-row-tooltip[data-tooltip]:after, +.cptm-form-builder-sidebar + .cptm-form-builder-action-btn.directorist-row-tooltip[data-tooltip]:after { + width: 200px; + height: auto; + min-height: 34px; + white-space: unset; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +.cptm-form-builder-preset-fields:not(:last-child) { + margin-bottom: 40px; +} + +.cptm-form-builder-preset-fields-header-action-link { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + margin: 0 0 12px; +} +.cptm-form-builder-preset-fields-header-action-link + .cptm-form-builder-preset-fields-header-action-icon { + font-size: 20px; +} +.cptm-form-builder-preset-fields-header-action-link:focus { + outline: none; + -webkit-box-shadow: none; + box-shadow: none; +} + +.cptm-form-builder-preset-fields-header-action-text { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + font-size: 12px; + font-weight: 600; + color: #4d5761; +} + +.cptm-form-builder-preset-fields-header-action-link { + color: #747c89; +} + +.cptm-title-3 { + margin: 0; + color: #272b41; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + font-weight: 500; + font-size: 18px; +} + +.cptm-description-text { + margin: 5px 0 20px; + color: #5a5f7d; + font-size: 15px; +} + +.cptm-form-builder-active-fields { + display: block; + height: 100%; +} +.cptm-form-builder-active-fields.empty-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + text-align: center; + height: calc(100vh - 200px); + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-form-builder-active-fields.empty-content + .cptm-form-builder-active-fields-container { + height: auto; +} +.cptm-form-builder-active-fields.empty-content + .cptm-form-builder-active-fields-empty-text { + font-size: 18px; + line-height: 24px; + font-weight: 500; + font-style: italic; + color: #4d5761; + margin: 12px 0 0; +} +.cptm-form-builder-active-fields.empty-content + .cptm-form-builder-active-fields-footer { + text-align: center; +} +.cptm-form-builder-active-fields.empty-content + .cptm-form-builder-active-fields-footer + .cptm-btn { + margin: 10px auto; +} +.cptm-form-builder-active-fields .directorist-draggable-list-item-wrapper { + height: auto; + z-index: auto; +} +.cptm-form-builder-active-fields + .directorist-draggable-list-item-wrapper:hover { + z-index: 1; +} +.cptm-form-builder-active-fields .cptm-description-text + .cptm-btn { + border: 1px solid #3e62f5; + height: 43px; + background: rgba(62, 98, 245, 0.1); + color: #3e62f5; + font-size: 14px; + font-weight: 500; + margin: 0 0 22px; +} +.cptm-form-builder-active-fields + .cptm-description-text + + .cptm-btn.cptm-btn-primary { + background: #3e62f5; + color: #fff; +} + +.cptm-form-builder-active-fields-container { + position: relative; + margin: 0; + z-index: 1; +} + +.cptm-form-builder-active-fields-footer { + text-align: left; +} +@media only screen and (max-width: 991px) { + .cptm-form-builder-active-fields-footer { + text-align: left; + } +} +@media only screen and (max-width: 991px) { + .cptm-form-builder-active-fields-footer .cptm-btn { + margin-left: 0; + } +} +.cptm-form-builder-active-fields-footer .cptm-btn { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + height: 40px; + color: #3e62f5; + background: #ffffff; + border: 0 none; + margin: 16px 0 0; + font-size: 14px; + font-weight: 600; + border-radius: 4px; + border: 1px solid #3e62f5; + -webkit-box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08); + box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08); +} +.cptm-form-builder-active-fields-footer .cptm-btn span { + font-size: 16px; +} + +.cptm-form-builder-active-fields-group { + position: relative; + margin-bottom: 6px; + padding-bottom: 0; +} + +.cptm-form-builder-group-header-section { + position: relative; +} +.cptm-form-builder-group-header-section.expanded + .cptm-form-builder-group-header { + border-radius: 6px 6px 0 0; + background-color: #f9fafb; + border-bottom: none; +} +.cptm-form-builder-group-header-section.expanded + .cptm-form-builder-group-title-icon { + background-color: #d8e0fd; +} +.cptm-form-builder-group-header-section.locked + .cptm-form-builder-group-options-wrapper { + right: 12px; +} +.cptm-form-builder-group-header-section + .cptm-form-builder-group-options-wrapper { + position: absolute; + top: calc(100% - 12px); + right: 55px; + width: 100%; + max-width: 460px; + height: 100%; + z-index: 9; +} +.cptm-form-builder-group-header-section + .cptm-form-builder-group-options-wrapper + .cptm-form-builder-group-options { + padding: 0; + border: 1px solid #e5e7eb; + border-radius: 6px; + -webkit-box-shadow: 0 8px 16px rgba(16, 24, 40, 0.1); + box-shadow: 0 8px 16px rgba(16, 24, 40, 0.1); +} +.cptm-form-builder-group-header-section + .cptm-form-builder-group-options-wrapper + .cptm-form-builder-group-options + .cptm-form-builder-group-options-header { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + padding: 12px 16px; + border-bottom: 1px solid #e5e7eb; +} +.cptm-form-builder-group-header-section + .cptm-form-builder-group-options-wrapper + .cptm-form-builder-group-options + .cptm-form-builder-group-options-header-title { + font-size: 14px; + line-height: 16px; + font-weight: 600; + color: #2c3239; + margin: 0; +} +.cptm-form-builder-group-header-section + .cptm-form-builder-group-options-wrapper + .cptm-form-builder-group-options + .cptm-form-builder-group-options-header-close { + color: #2c3239; +} +.cptm-form-builder-group-header-section + .cptm-form-builder-group-options-wrapper + .cptm-form-builder-group-options + .cptm-form-builder-group-options-header-close + span { + font-size: 20px; +} +.cptm-form-builder-group-header-section + .cptm-form-builder-group-options-wrapper + .cptm-form-builder-group-options + .directorist-form-fields-area { + padding: 24px; +} + +.cptm-form-builder-group-header { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + border-radius: 6px; + background-color: #ffffff; + border: 1px solid #e5e7eb; + overflow: hidden; + -webkit-transition: border-radius ease 1s; + transition: border-radius ease 1s; +} + +.cptm-form-builder-group-header-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + padding: 12px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +div[draggable="true"].cptm-form-builder-group-header-content { + cursor: move; +} + +.cptm-form-builder-group-header-content__dropable-wrapper { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} + +.cptm-no-wrap { + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.cptm-card-top-area { + max-width: 450px; + margin: 0 auto; + margin-bottom: 10px; +} +.cptm-card-top-area > .form-group .cptm-form-control { + background: none; + border: 1px solid #c6d0dc; + height: 42px; +} +.cptm-card-top-area > .form-group .cptm-template-type-wrapper { + position: relative; +} +.cptm-card-top-area > .form-group .cptm-template-type-wrapper:before { + content: "\f110"; + position: absolute; + font-family: "LineAwesome"; + right: 20px; + top: 50%; + -webkit-transform: translateY(-50%); + transform: translateY(-50%); + pointer-events: none; +} + +.cptm-form-builder-group-header-content__dropable-placeholder { + margin-right: 15px; +} + +.cptm-form-builder-header-actions { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 8px; +} + +.cptm-form-builder-group-actions-dropdown-content.expanded { + position: absolute; + width: 200px; + top: 100%; + right: 0; + z-index: 9; +} +.cptm-form-builder-group-actions-dropdown-content.expanded + .cptm-form-builder-field-item-action-link { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + color: #d94a4a; + background: #ffffff; + padding: 10px 15px; + width: 100%; + height: 50px; + font-size: 14px; + font-weight: 500; + border-radius: 8px; + -webkit-box-sizing: border-box; + box-sizing: border-box; + border: 1px solid #e5e7eb; + -webkit-box-shadow: 0 12px 16px rgba(16, 24, 40, 0.08); + box-shadow: 0 12px 16px rgba(16, 24, 40, 0.08); + -webkit-transition: + background ease 0.3s, + color ease 0.3s, + border-color ease 0.3s; + transition: + background ease 0.3s, + color ease 0.3s, + border-color ease 0.3s; +} +.cptm-form-builder-group-actions-dropdown-content.expanded + .cptm-form-builder-field-item-action-link + span { + font-size: 20px; +} +.cptm-form-builder-group-actions-dropdown-content.expanded + .cptm-form-builder-field-item-action-link:hover { + color: #ffffff; + background: #d94a4a; + border-color: #d94a4a; +} + +.cptm-form-builder-group-actions { + display: block; + min-width: 34px; + margin-left: 15px; +} + +.cptm-form-builder-group-title { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 12px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + margin: 0; + font-size: 15px; + font-weight: 500; + color: #141921; +} +@media only screen and (max-width: 480px) { + .cptm-form-builder-group-title { + font-size: 13px; + } +} + +.cptm-form-builder-group-title-icon { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 40px; + height: 40px; + min-width: 40px; + min-height: 40px; + font-size: 20px; + color: #141921; + border-radius: 8px; + background-color: #f3f4f6; +} +@media only screen and (max-width: 480px) { + .cptm-form-builder-group-title-icon { + width: 32px; + height: 32px; + min-width: 32px; + min-height: 32px; + font-size: 18px; + } +} + +.cptm-form-builder-group-options { + background-color: #fff; + padding: 20px; + border-radius: 0 0 6px 6px; + border: 1px solid #e5e7eb; + border-top: none; + -webkit-box-shadow: 0 4px 8px rgba(16, 24, 40, 0.08); + box-shadow: 0 4px 8px rgba(16, 24, 40, 0.08); +} +.cptm-form-builder-group-options .directorist-form-fields-advanced { + padding: 0; + margin: 16px 0 0; + font-size: 13px; + font-weight: 500; + background: transparent; + border: none; + outline: none; + -webkit-box-shadow: none; + box-shadow: none; + color: #2e94fa; + text-decoration: underline; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; + cursor: pointer; +} +.cptm-form-builder-group-options .directorist-form-fields-advanced:hover { + color: #3e62f5; +} +.cptm-form-builder-group-options + .directorist-form-fields-area + .cptm-form-group:last-child { + margin-bottom: 0; +} +.cptm-form-builder-group-options + .cptm-form-builder-group-options__advanced-toggle { + font-size: 13px; + font-weight: 500; + color: #3e62f5; + background: transparent; + border: none; + padding: 0; + display: block; + margin-top: -7px; + cursor: pointer; +} + +.cptm-form-builder-group-fields { + display: block; + position: relative; + padding: 24px; + background-color: #fff; + border: 1px solid #e5e7eb; + border-top: none; + border-radius: 0 0 6px 6px; + -webkit-box-shadow: 0 4px 8px rgba(16, 24, 40, 0.08); + box-shadow: 0 4px 8px rgba(16, 24, 40, 0.08); +} + +.icon-picker-selector { + margin: 0; + padding: 3px 4px 3px 16px; + border: 1px solid #d2d6db; + border-radius: 8px; + -webkit-box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05); + box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05); +} +.icon-picker-selector .icon-picker-selector__icon { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + margin: 0; +} +.icon-picker-selector + .icon-picker-selector__icon + input[type="text"].cptm-form-control { + padding: 5px 20px; + min-height: 20px; + background-color: transparent; + outline: none; +} +.icon-picker-selector .icon-picker-selector__icon .directorist-selected-icon { + position: unset; + -webkit-transform: unset; + transform: unset; + font-size: 16px; +} +.icon-picker-selector + .icon-picker-selector__icon + .directorist-selected-icon:before { + margin-right: 6px; +} +.icon-picker-selector .icon-picker-selector__icon input { + height: 32px; + border: none !important; + padding-left: 0 !important; +} +.icon-picker-selector + .icon-picker-selector__icon + .icon-picker-selector__icon__reset { + font-size: 12px; + padding: 0 10px 0 0; +} +.icon-picker-selector .icon-picker-selector__btn { + margin: 0; + height: 32px; + padding: 0 15px; + font-size: 13px; + font-weight: 500; + color: #2c3239; + border-radius: 6px; + background-color: #e5e7eb; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; +} +.icon-picker-selector .icon-picker-selector__btn:hover { + background-color: #e3e6e9; +} + +.cptm-restricted-area { + position: absolute; + top: 0; + bottom: 0; + right: 0; + left: 0; + z-index: 999; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + padding: 10px; + text-align: center; + background: rgba(255, 255, 255, 0.8); +} + +.cptm-form-builder-group-field-item { + margin-bottom: 8px; + position: relative; +} +.cptm-form-builder-group-field-item .cptm-form-builder-group-field-item-drag { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 40px; + height: 48px; + font-size: 24px; + color: #747c89; + background-color: #f9fafb; + border-radius: 6px 0 0 6px; + cursor: move; +} +.cptm-form-builder-group-field-item + .cptm-form-builder-group-field-item-header-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + padding: 8px 12px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-form-builder-group-field-item.expanded + .cptm-form-builder-group-field-item-header { + border-radius: 6px 6px 0 0; + background-color: #f9fafb; + border-width: 1.5px; + border-color: #3e62f5; + border-bottom: none; +} + +.cptm-form-builder-group-field-item-actions { + display: block; + position: absolute; + right: -15px; + -webkit-transform: translate(34px, 7px); + transform: translate(34px, 7px); +} + +.cptm-form-builder-group-field-item-action-link { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + font-size: 14px; + background-color: #e3e6ef; + border-radius: 50%; + width: 34px; + height: 34px; + text-align: center; + color: #868eae; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} + +.action-trash:hover { + color: #e62626; + background-color: rgba(255, 0, 0, 0.15); +} + +.action-trash:hover { + background-color: #d7d7d7; +} +.action-trash:hover:hover { + color: #e62626; + background-color: rgba(255, 0, 0, 0.15); +} + +.cptm-form-builder-header-action-link { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 32px; + height: 32px; + font-size: 18px; + color: #747c89; + border: 1px solid #e5e7eb; + border-radius: 6px; + outline: none; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-form-builder-header-action-link:hover, +.cptm-form-builder-header-action-link:focus, +.cptm-form-builder-header-action-link:active { + color: #141921; + background-color: #f3f4f6; + border-color: #e5e7eb; + -webkit-box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05); + box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05); +} +@media only screen and (max-width: 480px) { + .cptm-form-builder-header-action-link { + width: 24px; + height: 24px; + font-size: 14px; + } +} +.cptm-form-builder-header-action-link.disabled { + color: #a1a9b2; + pointer-events: none; +} + +.cptm-form-builder-header-toggle-link { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 32px; + height: 32px; + font-size: 24px; + color: #747c89; + border: none !important; + -webkit-box-shadow: none !important; + box-shadow: none !important; + outline: none !important; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +@media only screen and (max-width: 480px) { + .cptm-form-builder-header-toggle-link { + width: 24px; + height: 24px; + font-size: 18px; + } +} +.cptm-form-builder-header-toggle-link.action-collapse-down { + color: #3e62f5; +} +.cptm-form-builder-header-toggle-link.disabled { + opacity: 0.5; + pointer-events: none; +} + +.action-collapse-up span { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + -webkit-transform: rotate(0); + transform: rotate(0); +} + +.action-collapse-down span { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + -webkit-transform: rotate(180deg); + transform: rotate(180deg); +} + +.cptm-form-builder-group-field-item-header { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + border-radius: 6px; + border: 1px solid #e5e7eb; + -webkit-transition: border-radius ease 1s; + transition: border-radius ease 1s; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + font-size: 14px; + line-height: 16px; + font-weight: 500; + color: #141921; + margin: 0; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-form-builder-group-field-item-label { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-form-builder-group-field-item-subtitle { + color: #747c89; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-form-builder-group-field-item-icon { + font-size: 20px; + color: #141921; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 12px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-icon-svg { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-icon-svg + svg { + width: 16px; + height: 16px; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-icon-svg + svg + path { + fill: #747c89; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-info-tooltip { + position: relative; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-info-tooltip:before { + content: attr(data-info); + position: absolute; + top: calc(100% + 8px); + left: 0; + min-width: 180px; + max-width: 180px; + text-align: center; + color: #ffffff; + font-size: 13px; + font-weight: 500; + padding: 10px 12px; + border-radius: 6px; + background-color: #141921; + opacity: 0; + visibility: hidden; + -webkit-transition: + opacity 0.3s ease, + visibility 0.3s ease; + transition: + opacity 0.3s ease, + visibility 0.3s ease; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-info-tooltip:after { + content: ""; + position: absolute; + top: calc(100% + 2px); + left: 4px; + border-bottom: 6px solid #141921; + border-left: 6px solid transparent; + border-right: 6px solid transparent; + opacity: 0; + visibility: hidden; + -webkit-transition: + opacity 0.3s ease, + visibility 0.3s ease; + transition: + opacity 0.3s ease, + visibility 0.3s ease; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-info-tooltip:hover:before, +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-info-tooltip:hover:after { + opacity: 1; + visibility: visible; + z-index: 1; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-info { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + font-size: 12px; + line-height: 14px; + font-weight: 400; + padding: 4px 8px; + color: #ca6f04; + background-color: #fdefce; + border-radius: 4px; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-info + .cptm-title-info-icon { + font-size: 16px; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-info + i { + font-size: 16px; + color: #4d5761; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-header-actions + .cptm-form-builder-header-action-link { + font-size: 18px; + color: #747c89; + border: none; + -webkit-box-shadow: none; + box-shadow: none; +} + +.cptm-form-builder-group-field-item-body { + padding: 24px; + border: 1.5px solid #3e62f5; + border-top-width: 1px; + border-radius: 0 0 6px 6px; +} + +.cptm-form-builder-group-item-drag { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 46px; + min-width: 46px; + height: 100%; + min-height: 64px; + font-size: 24px; + color: #747c89; + background-color: #f9fafb; + -webkit-box-flex: unset; + -webkit-flex-grow: unset; + -ms-flex-positive: unset; + flex-grow: unset; + cursor: move; +} +@media only screen and (max-width: 480px) { + .cptm-form-builder-group-item-drag { + width: 32px; + min-width: 32px; + font-size: 18px; + } +} + +.cptm-form-builder-field-list { + padding: 0; + margin: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-form-builder-field-list .directorist-draggable-list-item { + position: unset; +} + +.cptm-form-builder-field-list-item { + width: calc(50% - 4px); + padding: 12px; + margin: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + list-style: none; + background-color: #ffffff; + border: 1px solid #d2d6db; + border-radius: 4px; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; +} +.cptm-form-builder-field-list-item .directorist-draggable-list-item-slot { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} +.cptm-form-builder-field-list-item:hover { + background-color: #e5e7eb; + -webkit-box-shadow: 0 2px 4px rgba(16, 24, 40, 0.08); + box-shadow: 0 2px 4px rgba(16, 24, 40, 0.08); +} +.cptm-form-builder-field-list-item.clickable { + cursor: pointer; +} +.cptm-form-builder-field-list-item.disabled { + cursor: not-allowed; +} +@media (max-width: 400px) { + .cptm-form-builder-field-list-item { + width: calc(100% - 6px); + } +} + +li[class="cptm-form-builder-field-list-item"][draggable="true"] { + cursor: move; +} + +.cptm-form-builder-field-list-item { + position: relative; +} +.cptm-form-builder-field-list-item > pre { + position: absolute; + top: 3px; + right: 5px; + margin: 0; + font-size: 10px; + line-height: 12px; + color: #f80718; +} + +.cptm-form-builder-field-list-icon { + display: inline-block; + margin-right: 8px; + width: auto; + max-width: 20px; + font-size: 20px; + color: #141921; +} + +.cptm-form-builder-field-list-item-icon { + font-size: 14px; + margin-right: 1px; +} + +.cptm-form-builder-field-list-label, +.cptm-form-builder-field-list-item-label { + display: inline-block; + font-size: 13px; + font-weight: 500; + color: #141921; +} + +.cptm-option-card--draggable .cptm-form-builder-field-list { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 10px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 12px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + margin: 0; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item { + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + border-radius: 8px; + border-color: #e5e7eb; + background: transparent; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-content { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-drag { + cursor: move; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-edit, +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-action { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + color: #747c89; + border-radius: 6px; + cursor: pointer; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-edit.active, +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-edit:hover, +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-action.active, +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-action:hover { + color: #0e3bf2; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-action:hover { + color: #d94a4a; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container { + padding: 15px 0 22px 0; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-preview-wrapper { + margin-bottom: 20px; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-widget-options-wrap:not(:last-child) { + margin-bottom: 17px; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-form-group + .cptm-preview-radio-area + label { + margin-bottom: 12px; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-form-group + .cptm-radio-area + .cptm-radio-item:last-child + label { + margin-bottom: 0; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-form-group--color-picker + .atbdp-row { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-form-group--color-picker + .atbdp-row + .atbdp-col { + width: 100%; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-form-group--color-picker + .cptm-color-picker-wrap { + width: 100%; + padding: 6px; + border-radius: 8px; + border: 1px solid #d2d6db; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-form-group--color-picker + .cptm-color-picker-wrap + .cptm-color-picker { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + height: 20px; + width: 20px; + padding: 0; + border-radius: 6px; + border: 1px solid #e5e7eb; + overflow: hidden; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-form-group--color-picker + .cptm-color-picker-wrap + .cptm-color-picker + .icp__input { + width: 30px; + height: 30px; + margin: 0; +} +.cptm-option-card--draggable + .cptm-widget-options-container-draggable + .cptm-widget-options-container { + padding-left: 25px; +} + +.cptm-info-text-area { + margin-bottom: 10px; +} + +.cptm-info-text { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + font-size: 12px; + line-height: 14px; + font-weight: 400; + margin: 0; + padding: 0 8px; + height: 22px; + color: #4d5761; + border-radius: 4px; + background: #daeeff; +} + +.cptm-info-success { + color: #00b158; +} + +.cptm-mb-0 { + margin-bottom: 0 !important; +} + +.cptm-item-footer-drop-area { + position: absolute; + left: 0; + bottom: 0; + width: 100%; + height: 20px; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + -webkit-transform: translate(0, 100%); + transform: translate(0, 100%); + z-index: 5; +} +.cptm-item-footer-drop-area.drag-enter { + background-color: rgba(23, 135, 255, 0.3); +} +.cptm-item-footer-drop-area.cptm-group-item-drop-area { + height: 40px; +} + +.cptm-form-builder-group-field-item-drop-area { + height: 20px; + position: absolute; + bottom: -20px; + z-index: 5; + width: 100%; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-form-builder-group-field-item-drop-area.drag-enter { + background-color: rgba(23, 135, 255, 0.3); +} + +.cptm-checkbox-area, +.cptm-options-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + margin: 10px 0; + right: 0; + left: 0; +} + +.cptm-checkbox-area .cptm-checkbox-item:not(:last-child) { + margin-bottom: 10px; +} + +@media (max-width: 1300px) { + .cptm-checkbox-area, + .cptm-options-area { + position: static; + } +} +.cptm-checkbox-item, +.cptm-radio-item { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + margin-right: 20px; +} + +.cptm-tab-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-tab-area .cptm-tab-item input { + display: none; +} +.cptm-tab-area .cptm-tab-item input:checked + label { + color: #fff; + background-color: #3e62f5; +} +.cptm-tab-area .cptm-tab-item label { + margin: 0; + padding: 0 12px; + height: 32px; + line-height: 32px; + font-size: 14px; + font-weight: 500; + color: #747c89; + background: #e5e7eb; + cursor: pointer; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-tab-area .cptm-tab-item label:hover { + color: #fff; + background-color: #3e62f5; +} + +@media screen and (max-width: 782px) { + .enable_schema_markup .atbdp-label-icon-wrapper { + margin-bottom: 15px !important; + } +} + +.cptm-schema-tab-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-align: start; + -webkit-align-items: flex-start; + -ms-flex-align: start; + align-items: flex-start; + gap: 12px; +} +.cptm-schema-tab-label { + color: rgba(0, 6, 38, 0.9); + font-size: 15px; + font-style: normal; + font-weight: 600; + line-height: 16px; +} +.cptm-schema-tab-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 10px 20px; +} +@media screen and (max-width: 782px) { + .cptm-schema-tab-wrapper { + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + } +} +.cptm-schema-tab-wrapper input[type="radio"]:checked { + background-color: #3e62f5 !important; + border-color: #3e62f5 !important; +} +.cptm-schema-tab-wrapper input[type="radio"]:checked::before { + background-color: white !important; +} +.cptm-schema-tab-item { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding: 12px 16px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 6px; + border-radius: 8px; + border: 1px solid rgba(0, 17, 102, 0.1); + background-color: #fff; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +@media screen and (max-width: 782px) { + .cptm-schema-tab-item { + width: 100%; + } +} +.cptm-schema-tab-item input[type="radio"] { + -webkit-box-shadow: none; + box-shadow: none; +} +@media screen and (max-width: 782px) { + .cptm-schema-tab-item input[type="radio"] { + width: 16px; + height: 16px; + } + .cptm-schema-tab-item input[type="radio"]:checked:before { + width: 0.5rem; + height: 0.5rem; + margin: 3px 3px; + line-height: 1.14285714; + } +} +.cptm-schema-tab-item.active { + border-color: #3e62f5 !important; + background-color: #f0f3ff; +} +.cptm-schema-tab-item.active .cptm-schema-label-wrapper { + color: #3e62f5 !important; +} +.cptm-schema-multi-directory-disabled .cptm-schema-tab-item:last-child { + cursor: not-allowed; + opacity: 0.5; + pointer-events: none; +} +.cptm-schema-multi-directory-disabled + .cptm-schema-tab-item:last-child + .cptm-schema-label-badge { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; +} +.cptm-schema-label-wrapper { + color: rgba(0, 6, 38, 0.9) !important; + font-size: 14px !important; + font-style: normal; + font-weight: 600 !important; + line-height: 20px; + cursor: pointer; + margin: 0 !important; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-schema .cptm-schema-label { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 6px; +} +.cptm-schema-label-badge { + display: none; + height: 20px; + padding: 0px 8px; + border-radius: 4px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + background-color: #e3ecf2; + color: rgba(0, 8, 51, 0.65); + font-size: 12px; + font-style: normal; + font-weight: 500; + line-height: 16px; + letter-spacing: 0.12px; +} +.cptm-schema-label-description { + color: rgba(0, 8, 51, 0.65); + font-size: 12px !important; + font-style: normal; + font-weight: 400; + line-height: 18px; + margin-top: 2px; +} + +#listing_settings__listings_page .cptm-checkbox-item:not(:last-child) { + margin-bottom: 10px; +} + +input[type="checkbox"].cptm-checkbox { + display: none; +} +input[type="checkbox"].cptm-checkbox:checked + .cptm-checkbox-ui { + color: #3e62f5; +} +input[type="checkbox"].cptm-checkbox:checked + .cptm-checkbox-ui::before { + font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands"; + font-weight: 900; + color: #fff; + content: "\f00c"; + z-index: 22; +} +input[type="checkbox"].cptm-checkbox:checked + .cptm-checkbox-ui:after { + background-color: #00b158; + border-color: #00b158; + z-index: -1; +} + +input[type="radio"].cptm-radio { + margin-top: 1px; +} + +.cptm-form-range-wrap { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-form-range-wrap .cptm-form-range-bar { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} +.cptm-form-range-wrap .cptm-form-range-output { + width: 30px; +} +.cptm-form-range-wrap .cptm-form-range-output-text { + padding: 10px 20px; + background-color: #fff; +} + +.cptm-checkbox-ui { + display: inline-block; + min-width: 16px; + position: relative; + z-index: 1; + margin-right: 12px; +} +.cptm-checkbox-ui::before { + font-size: 10px; + line-height: 1; + font-weight: 900; + display: inline-block; + margin-left: 4px; +} +.cptm-checkbox-ui:after { + position: absolute; + left: 0; + top: 0; + width: 18px; + height: 18px; + border-radius: 4px; + border: 1px solid #c6d0dc; + content: ""; +} + +.cptm-vh { + overflow: hidden; + overflow-y: auto; + max-height: 100vh; +} + +.cptm-thumbnail { + max-width: 350px; + width: 100%; + height: auto; + margin-bottom: 20px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + background-color: #f2f2f2; +} +.cptm-thumbnail img { + display: block; + width: 100%; + height: auto; +} + +.cptm-thumbnail-placeholder { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; +} + +.cptm-thumbnail-placeholder-icon { + font-size: 40px; + color: #d2d6db; +} +.cptm-thumbnail-placeholder-icon svg { + width: 40px; + height: 40px; +} + +.cptm-thumbnail-img-wrap { + position: relative; +} + +.cptm-thumbnail-action { + display: inline-block; + position: absolute; + top: 0; + right: 0; + background-color: #c6c6c6; + padding: 5px 8px; + border-radius: 50%; + margin: 10px; + cursor: pointer; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} + +.cptm-sub-navigation { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + margin: 0 auto 10px; + padding: 3px 4px; + background: #e5e7eb; + border-radius: 6px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +@media only screen and (max-width: 480px) { + .cptm-sub-navigation { + padding: 10px; + } +} + +.cptm-sub-nav__item { + list-style: none; + margin: 0; +} + +.cptm-sub-nav__item-link { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 7px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + text-decoration: none; + height: 32px; + padding: 0 10px; + color: #4d5761; + font-size: 14px; + line-height: 14px; + font-weight: 500; + border-radius: 4px; + -webkit-transition: 0.3s ease; + transition: 0.3s ease; +} +.cptm-sub-nav__item-link .cptm-sub-nav__item-tooltip { + padding: 0 10px; + margin-right: -10px; + height: 32px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + background: transparent; + color: #4d5761; + border-radius: 0 4px 4px 0; +} +.cptm-sub-nav__item-link .cptm-sub-nav__item-tooltip svg path { + stroke: #4d5761; +} +.cptm-sub-nav__item-link .cptm-sub-nav__item-tooltip:hover { + background: #f9f9f9; +} +.cptm-sub-nav__item-link .cptm-sub-nav__item-icon { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + font-size: 24px; + color: #4d5761; +} +.cptm-sub-nav__item-link .cptm-sub-nav__item-icon svg { + width: 24px; + height: 24px; +} +.cptm-sub-nav__item-link .cptm-sub-nav__item-icon svg path { + stroke: #4d5761; +} +.cptm-sub-nav__item-link.active { + color: #141921; + background: #ffffff; +} +.cptm-sub-nav__item-link.active .cptm-sub-nav__item-icon svg path { + stroke: #141921; +} +.cptm-sub-nav__item-link.active .cptm-sub-nav__item-tooltip svg path { + stroke: #141921; +} +.cptm-sub-nav__item-link:hover:not(.active) { + color: #141921; + background: #ffffff; +} + +.cptm-builder-section { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + position: relative; +} +@media only screen and (max-width: 1199px) { + .cptm-builder-section { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + } +} + +.cptm-options-area { + width: 320px; + margin: 0; +} + +.cptm-option-card { + display: none; + opacity: 0; + position: relative; + border-radius: 5px; + text-align: left; + -webkit-transform-origin: center; + transform-origin: center; + background: #ffffff; + border-radius: 4px; + -webkit-box-shadow: 0 8px 16px 0 rgba(16, 24, 40, 0.1); + box-shadow: 0 8px 16px 0 rgba(16, 24, 40, 0.1); + -webkit-transition: all linear 300ms; + transition: all linear 300ms; + pointer-events: none; +} +.cptm-option-card:before { + content: ""; + border-bottom: 7px solid #ffffff; + border-left: 7px solid transparent; + border-right: 7px solid transparent; + position: absolute; + top: -6px; + right: 22px; +} +.cptm-option-card.cptm-animation-flip { + -webkit-transform: rotate3d(0, 1, 0, 45deg); + transform: rotate3d(0, 1, 0, 45deg); +} +.cptm-option-card.cptm-animation-slide-up { + -webkit-transform: translate(0, 30px); + transform: translate(0, 30px); +} +.cptm-option-card.active { + display: block; + opacity: 1; + pointer-events: all; +} +.cptm-option-card.active.cptm-animation-flip { + -webkit-transform: rotate3d(0, 0, 0, 0deg); + transform: rotate3d(0, 0, 0, 0deg); +} +.cptm-option-card.active.cptm-animation-slide-up { + -webkit-transform: translate(0, 0); + transform: translate(0, 0); +} + +.cptm-anchor-down { + display: block; + text-align: center; + position: relative; + top: -1px; +} +.cptm-anchor-down:after { + content: ""; + display: inline-block; + width: 0; + height: 0; + border-left: 15px solid transparent; + border-right: 15px solid transparent; + border-top: 15px solid #fff; +} + +.cptm-header-action-link { + display: inline-block; + padding: 0 10px; + text-decoration: none; + color: #2c3239; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-header-action-link:hover { + color: #1890ff; +} + +.cptm-option-card-header { + padding: 8px 16px; + border-bottom: 1px solid #e5e7eb; +} + +.cptm-option-card-header-title-section { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.cptm-option-card-header-title { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + margin: 0; + text-align: left; + font-size: 14px; + font-weight: 600; + line-height: 24px; + color: #141921; +} + +.cptm-header-action-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding: 0 0 0 10px; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.cptm-option-card-header-nav-section { + display: block; +} + +.cptm-option-card-header-nav { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + color: #fff; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + padding: 0; + margin: 0; + background-color: rgba(255, 255, 255, 0.15); +} + +.cptm-option-card-header-nav-item { + display: block; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + text-align: center; + padding: 8px 10px; + cursor: pointer; + margin-bottom: 0; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-option-card-header-nav-item.active { + background-color: rgba(255, 255, 255, 0.15); +} + +.cptm-option-card-body { + padding: 16px; + max-height: 500px; + overflow-y: auto; +} +.cptm-option-card-body .cptm-form-group:last-child { + margin-bottom: 0; +} +.cptm-option-card-body .cptm-input-toggle-wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 12px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-orient: horizontal; + -webkit-box-direction: reverse; + -webkit-flex-direction: row-reverse; + -ms-flex-direction: row-reverse; + flex-direction: row-reverse; + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-option-card-body .cptm-input-toggle-wrap .cptm-input-toggle-content { + -webkit-box-flex: unset; + -webkit-flex: unset; + -ms-flex: unset; + flex: unset; +} +.cptm-option-card-body + .cptm-input-toggle-wrap + .cptm-input-toggle-content + label { + font-size: 14px; + font-weight: 500; + line-height: 20px; + color: #141921; +} +.cptm-option-card-body .directorist-type-icon-select { + margin-bottom: 20px; +} +.cptm-option-card-body .directorist-type-icon-select .icon-picker-selector { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.cptm-widget-actions, +.cptm-widget-actions-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 100%; + position: absolute; + bottom: 0; + left: 50%; + -webkit-transform: translate(-50%, 3px); + transform: translate(-50%, 3px); + -webkit-transition: all ease-in-out 0.3s; + transition: all ease-in-out 0.3s; + z-index: 1; +} + +.cptm-widget-actions-wrap { + position: relative; + width: 100%; +} + +.cptm-widget-action-modal-container { + position: absolute; + left: 50%; + top: 0; + width: 330px; + -webkit-transform: translate(-50%, 20px); + transform: translate(-50%, 20px); + pointer-events: none; + -webkit-box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15); + box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15); + -webkit-transition: -webkit-transform 0.3s ease; + transition: -webkit-transform 0.3s ease; + transition: transform 0.3s ease; + transition: + transform 0.3s ease, + -webkit-transform 0.3s ease; + z-index: 2; +} +.cptm-widget-action-modal-container.active { + pointer-events: all; + -webkit-transform: translate(-50%, 10px); + transform: translate(-50%, 10px); +} +@media only screen and (max-width: 480px) { + .cptm-widget-action-modal-container { + max-width: 250px; + } +} + +.cptm-widget-insert-modal-container .cptm-option-card:before { + right: 50%; + -webkit-transform: translateX(50%); + transform: translateX(50%); +} + +.cptm-widget-option-modal-container .cptm-option-card:before { + right: unset; + left: 50%; + -webkit-transform: translateX(-50%); + transform: translateX(-50%); +} +.cptm-widget-option-modal-container .cptm-option-card { + margin: 0; +} +.cptm-widget-option-modal-container .cptm-option-card-header { + background-color: #fff; + border: 1px solid #e5e7eb; +} +.cptm-widget-option-modal-container .cptm-header-action-link { + color: #2c3239; +} +.cptm-widget-option-modal-container .cptm-header-action-link:hover { + color: #1890ff; +} +.cptm-widget-option-modal-container .cptm-option-card-body { + background-color: #fff; + border: 1px solid #e5e7eb; + border-top: none; + -webkit-box-shadow: none; + box-shadow: none; +} +.cptm-widget-option-modal-container .cptm-option-card-header-title-section, +.cptm-widget-option-modal-container .cptm-option-card-header-title { + color: #2c3239; +} + +.cptm-widget-actions-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; +} + +.cptm-widget-action-link { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 28px; + height: 28px; + border-radius: 50%; + font-size: 16px; + text-align: center; + text-decoration: none; + background-color: #fff; + border: 1px solid #3e62f5; + color: #3e62f5; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-widget-action-link:focus { + outline: none; + -webkit-box-shadow: 0 0 0 2px #b4c2f9; + box-shadow: 0 0 0 2px #b4c2f9; +} +.cptm-widget-action-link:hover { + background-color: #3e62f5; + color: #fff; +} +.cptm-widget-action-link:hover svg path { + fill: #fff; +} + +.cptm-widget-card-drop-prepend { + border-radius: 8px; +} + +.cptm-widget-card-drop-append { + display: block; + width: 100%; + height: 0; + border-radius: 8px; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + background-color: transparent; + border: 1px dashed transparent; +} +.cptm-widget-card-drop-append.dropable { + margin: 3px 0; + height: 10px; + border-color: cornflowerblue; +} +.cptm-widget-card-drop-append.drag-enter { + background-color: cornflowerblue; +} + +.cptm-widget-card-wrap { + visibility: visible; +} +.cptm-widget-card-wrap.cptm-widget-card-disabled { + opacity: 0.3; + pointer-events: none; +} +.cptm-widget-card-wrap.cptm-widget-card-disabled.cptm-widget-title-card-wrap { + opacity: 1; +} +.cptm-widget-card-wrap.cptm-widget-card-disabled.cptm-widget-title-card-wrap + .cptm-widget-title-block { + opacity: 0.3; +} +.cptm-widget-card-wrap.cptm-widget-card-disabled.cptm-widget-thumb-card-wrap { + opacity: 1; +} +.cptm-widget-card-wrap.cptm-widget-card-disabled.cptm-widget-thumb-card-wrap + .cptm-widget-label, +.cptm-widget-card-wrap.cptm-widget-card-disabled.cptm-widget-thumb-card-wrap + .cptm-widget-thumb-icon { + opacity: 0.3; + color: #4d5761; +} +.cptm-widget-card-wrap.cptm-widget-card-disabled.cptm-widget-thumb-card-wrap + .cptm-widget-card-disabled-badge { + margin-top: 10px; +} +.cptm-widget-card-wrap .cptm-widget-card-disabled-badge { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + gap: 4px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + font-size: 12px; + line-height: 14px; + font-weight: 500; + padding: 0 6px; + height: 18px; + color: #853d0e; + background: #fdefce; + border-radius: 4px; +} +.cptm-widget-card-wrap.cptm-widget-title-card-wrap { + position: relative; + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 12px; + background-color: #fff; + border: 1px solid #e5e7eb; + border-radius: 4px; +} +.cptm-widget-card-wrap.cptm-widget-title-card-wrap .cptm-widget-title-card { + padding: 0; + font-size: 19px; + font-weight: 600; + line-height: 25px; + color: #141921; +} +.cptm-widget-card-wrap.cptm-widget-title-card-wrap + .cptm-widget-card-options-area + .cptm-form-group { + margin: 0; +} +.cptm-widget-card-wrap.cptm-widget-title-card-wrap + .cptm-widget-card-options-area + .cptm-input-toggle-wrap { + gap: 10px; + -webkit-box-orient: horizontal; + -webkit-box-direction: reverse; + -webkit-flex-direction: row-reverse; + -ms-flex-direction: row-reverse; + flex-direction: row-reverse; +} +.cptm-widget-card-wrap.cptm-widget-title-card-wrap + .cptm-widget-card-options-area + .cptm-input-toggle-wrap + label { + padding: 0; + font-size: 14px; + font-weight: 500; + line-height: 1.15; + color: #141921; +} +.cptm-widget-card-wrap.cptm-widget-title-card-wrap .cptm-widget-badge-trash { + position: absolute; + right: 12px; + top: 50%; + -webkit-transform: translateY(-50%); + transform: translateY(-50%); + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 20px; + height: 20px; + font-size: 14px; + color: #d94a4a; + background: #ffffff; + border: 1px solid #d94a4a; + border-radius: 50%; + cursor: pointer; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-widget-card-wrap.cptm-widget-title-card-wrap + .cptm-widget-badge-trash:hover { + color: #ffffff; + background: #d94a4a; +} + +.cptm-widget-card-inline-wrap { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + vertical-align: top; +} +.cptm-widget-card-inline-wrap .cptm-widget-card-drop-append { + display: inline-block; + width: 0; + height: auto; +} +.cptm-widget-card-inline-wrap .cptm-widget-card-drop-append.dropable { + margin: 0 3px; + width: 10px; + max-width: 10px; +} + +.cptm-widget-badge { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + gap: 4px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + color: #141921; + border-radius: 5px; + font-size: 12px; + font-weight: 400; + background-color: #ffffff; + -webkit-transition: 0.3s ease; + transition: 0.3s ease; + position: relative; + height: 32px; + padding: 0 10px; + border-radius: 4px; + background: #ffffff; + border: 1px solid #e5e7eb; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-widget-badge .cptm-widget-badge-icon, +.cptm-widget-badge .cptm-widget-badge-trash { + font-size: 16px; + color: #141921; +} +.cptm-widget-badge .cptm-widget-badge-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + gap: 4px; + height: 100%; +} +.cptm-widget-badge .cptm-widget-badge-label { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + text-align: left; +} +.cptm-widget-badge .cptm-widget-badge-trash { + margin-left: 4px; + cursor: pointer; + -webkit-transition: color ease 0.3s; + transition: color ease 0.3s; +} +.cptm-widget-badge .cptm-widget-badge-trash:hover { + color: #3e62f5; +} +.cptm-widget-badge.cptm-widget-badge--icon { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + padding: 0; + width: 22px; + height: 22px; + min-height: unset; + border-radius: 100%; +} +.cptm-widget-badge.cptm-widget-badge--icon .cptm-widget-badge-icon { + font-size: 12px; +} + +.cptm-preview-area { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} + +.cptm-preview-wrapper { + display: -webkit-box !important; + display: -webkit-flex !important; + display: -ms-flexbox !important; + display: flex !important; + gap: 25px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} +.cptm-preview-wrapper .cptm-preview-radio-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + max-width: 300px; +} +.cptm-preview-wrapper .cptm-preview-area-archive img { + max-height: 100px; +} + +.cptm-preview-notice { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 16px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + max-width: 658px; + margin: 40px auto; + padding: 20px 24px; + background: #f3f4f6; + border-radius: 10px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-preview-notice.cptm-preview-notice--list { + max-width: unset; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} +.cptm-preview-notice .cptm-preview-notice-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-preview-notice .cptm-preview-notice-content .cptm-preview-notice-text { + font-size: 12px; + font-weight: 400; + color: #2c3239; + margin: 0; +} +.cptm-preview-notice + .cptm-preview-notice-content + .cptm-preview-notice-text + strong { + color: #141921; + font-weight: 600; +} +.cptm-preview-notice .cptm-preview-notice-action .cptm-preview-notice-btn { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + height: 34px; + padding: 0 16px; + font-size: 13px; + font-weight: 500; + border-radius: 8px; + color: #747c89; + background: #ffffff; + border: 1px solid #d2d6db; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; +} +.cptm-preview-notice + .cptm-preview-notice-action + .cptm-preview-notice-btn:hover { + color: #3e62f5; + border-color: #3e62f5; +} +.cptm-preview-notice + .cptm-preview-notice-action + .cptm-preview-notice-btn:hover + svg + path { + fill: #3e62f5; +} + +.cptm-widget-thumb .cptm-widget-thumb-icon { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} +.cptm-widget-thumb .cptm-widget-thumb-icon i { + font-size: 133px; + color: #a1a9b2; +} +.cptm-widget-thumb .cptm-widget-label { + font-size: 16px; + line-height: 18px; + font-weight: 400; + color: #141921; +} + +.cptm-placeholder-block-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + position: relative; +} +.cptm-placeholder-block-wrapper:last-child { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-placeholder-block-wrapper .cptm-placeholder-block { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.cptm-placeholder-block-wrapper + .cptm-placeholder-block:not(.cptm-listing-card-preview-body-placeholder) + .cptm-widget-preview-card { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + vertical-align: top; +} +.cptm-placeholder-block-wrapper .cptm-widget-card-status { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 32px; + height: 32px; + margin-top: 4px; + background: #f3f4f6; + border-radius: 8px; + cursor: pointer; +} +.cptm-placeholder-block-wrapper .cptm-widget-card-status span { + color: #747c89; +} +.cptm-placeholder-block-wrapper .cptm-widget-card-status.disabled { + background: #d2d6db; +} +.cptm-placeholder-block-wrapper .cptm-listing-card-preview-top-placeholder { + padding: 12px; + min-height: 62px; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-preview-container { + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-preview-container + .dndrop-draggable-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + height: auto; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-preview-container + .cptm-widget-preview-card, +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-preview-container + .dndrop-draggable-wrapper-listing_title { + -webkit-transform: unset !important; + transform: unset !important; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-preview-container + .dndrop-draggable-wrapper-listing_title.animated { + z-index: 99999; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-placeholder-label { + top: 50%; + left: 50%; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + font-size: 14px; + font-weight: 400; + color: #4d5761; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-preview-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-preview-card-listing_title { + -webkit-box-flex: 0; + -webkit-flex: 0 0 100%; + -ms-flex: 0 0 100%; + flex: 0 0 100%; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-card { + height: 32px; + padding: 0 10px; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-card.cptm-widget-title-card { + padding: 0; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-card + .cptm-widget-badge-trash { + margin-left: 8px; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-tagline-placeholder + .cptm-placeholder-label, +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-rating-placeholder + .cptm-placeholder-label { + left: 12px; + -webkit-transform: translate(0, -50%); + transform: translate(0, -50%); + font-size: 13px; + font-weight: 400; + color: #4d5761; +} +.cptm-placeholder-block-wrapper + .cptm-placeholder-block.disabled + .cptm-placeholder-label { + color: #4d5761; + font-weight: 400; +} +.cptm-placeholder-block-wrapper + .cptm-widget-preview-container + .dndrop-draggable-wrapper { + overflow: visible !important; +} +.cptm-placeholder-block-wrapper + .cptm-widget-preview-container + .dndrop-draggable-wrapper.is-dragging { + opacity: 0; +} + +.cptm-placeholder-block { + position: relative; + padding: 8px; + background: #a1a9b2; + border: 1px dashed #d2d6db; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + -webkit-box-sizing: border-box; + box-sizing: border-box; + border-radius: 4px; +} +.cptm-placeholder-block:hover, +.cptm-placeholder-block.drag-enter, +.cptm-placeholder-block.cptm-widget-picker-open { + border-color: rgb(255, 255, 255); +} +.cptm-placeholder-block:hover .cptm-widget-insert-area, +.cptm-placeholder-block.drag-enter .cptm-widget-insert-area, +.cptm-placeholder-block.cptm-widget-picker-open .cptm-widget-insert-area { + opacity: 1; + visibility: visible; +} +.cptm-placeholder-block.cptm-listing-card-author-avatar-placeholder { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; +} +.cptm-placeholder-block.cptm-widget-picker-open { + z-index: 100; +} + +.cptm-placeholder-label { + margin: 0; + text-align: center; + margin-bottom: 0; + text-align: center; + position: absolute; + left: 50%; + top: 50%; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + z-index: 0; + color: rgba(255, 255, 255, 0.4); + font-size: 14px; + font-weight: 500; +} +.cptm-placeholder-label.hide { + display: none; +} + +.cptm-listing-card-preview-footer .cptm-placeholder-label { + color: #868eae; +} + +.dndrop-ghost.dndrop-draggable-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + height: auto; +} +.dndrop-ghost.dndrop-draggable-wrapper + .cptm-form-builder-field-list-item-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 12px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + margin: 0; +} +.dndrop-ghost.dndrop-draggable-wrapper .cptm-form-builder-field-list-item { + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + border-radius: 8px; + border-color: #e5e7eb; + background: transparent; +} +.dndrop-ghost.dndrop-draggable-wrapper + .cptm-form-builder-field-list-item-content { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} + +.cptm-center-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + height: 100%; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-center-content.cptm-content-wide * { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} + +.cptm-mb-10 { + margin-bottom: 10px !important; +} + +.cptm-mb-12 { + margin-bottom: 12px !important; +} + +.cptm-mb-20 { + margin-bottom: 20px !important; +} + +.cptm-listing-card-body-header { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} + +.cptm-align-left { + text-align: left; +} + +.cptm-listing-card-body-header-left { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} + +.cptm-listing-card-body-header-right { + width: 100px; + margin-left: 10px; +} + +.cptm-card-preview-area-wrap { + max-width: 450px; + margin: 0 auto; +} + +.cptm-card-preview-widget { + max-width: 450px; + margin: 0 auto; + padding: 24px; + background-color: #fff; + border: 1.5px solid rgba(0, 17, 102, 0.1019607843); + border-top: none; + border-radius: 0 0 24px 24px; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-box-shadow: 0 8px 16px 0 rgba(16, 24, 40, 0.1019607843); + box-shadow: 0 8px 16px 0 rgba(16, 24, 40, 0.1019607843); +} +.cptm-card-preview-widget.cptm-card-list-view { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + max-width: 100%; + height: 100%; +} +@media only screen and (max-width: 480px) { + .cptm-card-preview-widget.cptm-card-list-view { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + } +} +.cptm-card-preview-widget.cptm-card-list-view .cptm-card-preview-thumbnail { + height: 100%; +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-listing-card-preview-header { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + height: 100% !important; + max-width: 184px; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-box-align: stretch; + -webkit-align-items: stretch; + -ms-flex-align: stretch; + align-items: stretch; + border-radius: 4px 0 0 4px !important; +} +@media only screen and (max-width: 480px) { + .cptm-card-preview-widget.cptm-card-list-view + .cptm-listing-card-preview-header { + max-width: 100%; + border-radius: 4px 4px 0 0 !important; + } + .cptm-card-preview-widget.cptm-card-list-view + .cptm-listing-card-preview-header + .cptm-card-preview-thumbnail { + min-height: 350px; + } +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-widget-option-modal-container { + top: unset; + bottom: 100%; +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-card-preview-top-right + .cptm-widget-option-modal-container, +.cptm-card-preview-widget.cptm-card-list-view + .cptm-card-placeholder-top-left + .cptm-widget-option-modal-container, +.cptm-card-preview-widget.cptm-card-list-view + .cptm-card-placeholder-top-right + .cptm-widget-option-modal-container { + bottom: unset; + top: 100%; +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-placeholder-author-thumb + img { + width: 22px; + height: 22px; + border-radius: 50%; +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-widget-preview-card-user_avatar + .cptm-widget-card-wrap { + min-width: 100px; +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-widget-preview-card-user_avatar + .cptm-widget-card { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + border-radius: 4px; + background: #ffffff; + border: 1px solid #e5e7eb; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-widget-preview-card-user_avatar + .cptm-placeholder-author-thumb { + width: 100%; + padding: 0 10px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 16px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-widget-preview-card-user_avatar + .cptm-placeholder-author-thumb + > svg { + width: 20px; + height: 20px; +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-widget-preview-card-user_avatar + .cptm-placeholder-author-thumb + .cptm-placeholder-author-thumb-trash { + position: unset; + -webkit-transform: unset; + transform: unset; + width: 20px; + height: 20px; + font-size: 12px; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-widget-card + .cptm-widget-card-disabled-badge { + display: none; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-preview-body { + padding-top: 62px; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-preview-body.has-avatar { + padding-top: 0; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-preview-body.has-avatar + .cptm-listing-card-author-avatar { + position: relative; + top: -14px; + -webkit-transform: unset; + transform: unset; + padding-bottom: 12px; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled { + width: 100%; + height: auto; + border: 1px dashed #d2d6db; + border-radius: 4px !important; + padding: 12px !important; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-box-pack: start; + -webkit-justify-content: flex-start; + -ms-flex-pack: start; + justify-content: flex-start; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-widget-preview-card { + width: 100%; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-widget-card-wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 24px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-placeholder-author-thumb { + width: 48px; + height: 48px; + padding: 0; + margin: 0; + background-color: #ffffff; + border-radius: 50%; + border: 1px dashed #d2d6db; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-placeholder-author-thumb + .cptm-placeholder-author-thumb-trash { + bottom: -12px; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-form-group { + margin: 0; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-preview-radio-area + > label { + display: none; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-preview-radio-area + .cptm-radio-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 20px; + -webkit-box-orient: horizontal; + -webkit-box-direction: reverse; + -webkit-flex-direction: row-reverse; + -ms-flex-direction: row-reverse; + flex-direction: row-reverse; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-preview-radio-area + .cptm-radio-area + .cptm-radio-item { + margin: 0; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-preview-radio-area + .cptm-radio-area + label { + margin: 0; + font-size: 12px; + font-weight: 500; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-preview-radio-area + .cptm-radio-area + input[type="radio"] { + margin: 0 6px 0 0; + background-color: #ffffff; + border: 2px solid #a1a9b2; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-preview-radio-area + .cptm-radio-area + input[type="radio"]:before { + display: none; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-preview-radio-area + .cptm-radio-area + input[type="radio"]:checked { + border: 5px solid #3e62f5; +} +.cptm-card-preview-widget.grid-view-without-thumbnail + .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-card-preview-widget.list-view-with-thumbnail + .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-card-preview-widget.list-view-with-thumbnail + .dndrop-draggable-wrapper-listing_title, +.cptm-card-preview-widget.list-view-with-thumbnail + .cptm-widget-preview-card-listing_title { + width: 100%; +} +.cptm-card-preview-widget.list-view-with-thumbnail + .cptm-card-preview-top-right { + width: 140px; +} +.cptm-card-preview-widget.list-view-with-thumbnail + .cptm-card-placeholder-top + .cptm-card-placeholder-top-left { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.cptm-card-preview-widget.list-view-with-thumbnail + .cptm-card-placeholder-top + .cptm-card-placeholder-top-right { + width: 127px; +} +@media only screen and (max-width: 480px) { + .cptm-card-preview-widget.list-view-with-thumbnail + .cptm-card-placeholder-top + .cptm-card-placeholder-top-right { + width: auto; + } +} +.cptm-card-preview-widget.list-view-with-thumbnail + .cptm-listing-card-preview-footer + .cptm-placeholder-block { + padding-bottom: 32px; +} +.cptm-card-preview-widget.list-view-with-thumbnail + .cptm-listing-card-preview-footer + .cptm-widget-card-wrap { + padding: 0; +} +.cptm-card-preview-widget .cptm-options-area { + position: absolute; + top: 38px; + left: unset; + right: 30px; + z-index: 100; +} + +.cptm-field-wraper-key-single_listing_header .cptm-card-preview-area-wrap, +.cptm-field-wraper-key-single_listing_header .cptm-card-preview-widget { + max-width: 750px; +} + +.cptm-listing-card-content { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} + +.cptm-card-preview-thumbnail { + position: relative; + height: 100%; +} + +.cptm-card-preview-thumbnail-placeholer { + height: 100%; +} + +.cptm-card-preview-thumbnail-placeholder { + height: 100%; + text-align: center; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.cptm-listing-card-preview-quick-info-placeholder { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} + +.cptm-card-preview-thumbnail-bg { + position: absolute; + left: 50%; + top: 50%; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + font-size: 72px; + color: #7b7d8b; +} + +.cptm-card-preview-thumbnail-bg span { + color: rgba(255, 255, 255, 0.1); +} + +.cptm-card-preview-bottom-right-placeholder { + display: block; + text-align: right; +} + +.cptm-listing-card-preview-body { + display: block; + padding: 16px; + position: relative; +} + +.cptm-listing-card-author-avatar { + z-index: 1; + position: absolute; + left: 0; + top: 0; + -webkit-transform: translate(16px, -14px); + transform: translate(16px, -14px); + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-listing-card-author-avatar .cptm-placeholder-block { + height: 64px; + width: 64px; + padding: 8px !important; + margin: 0 !important; + min-height: unset !important; + border-radius: 50% !important; + border: 1px dashed #a1a9b2; +} +.cptm-listing-card-author-avatar + .cptm-placeholder-block + .cptm-placeholder-label { + font-size: 14px; + line-height: 1.15; + font-weight: 500; + color: #141921; + background: transparent; + padding: 0; + border-radius: 0; + top: 8px; + -webkit-transform: translate(-50%, 0); + transform: translate(-50%, 0); +} + +.cptm-placeholder-author-thumb { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin: 0; +} +.cptm-placeholder-author-thumb img { + width: 32px; + height: 32px; + border-radius: 50%; + -o-object-fit: cover; + object-fit: cover; + background-color: transparent; + border: 2px solid #fff; +} +.cptm-placeholder-author-thumb .cptm-placeholder-author-thumb-trash { + position: absolute; + bottom: -18px; + left: 50%; + -webkit-transform: translateX(-50%); + transform: translateX(-50%); + width: 22px; + height: 22px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + font-size: 14px; + color: #d94a4a; + background: #ffffff; + border: 1px solid #d94a4a; + border-radius: 50%; + -webkit-box-sizing: border-box; + box-sizing: border-box; + cursor: pointer; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; +} +.cptm-placeholder-author-thumb .cptm-placeholder-author-thumb-trash:hover { + color: #ffffff; + background: #d94a4a; +} + +.cptm-widget-title-card { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + padding: 6px 10px; + text-align: left; + font-size: 16px; + line-height: 22px; + font-weight: 600; + color: #141921; +} + +.cptm-widget-tagline-card { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + padding: 6px 10px; + text-align: left; + font-size: 13px; + font-weight: 400; + color: #4d5761; +} + +.cptm-has-widget-control { + position: relative; +} +.cptm-has-widget-control:hover .cptm-widget-control-wrap { + visibility: visible; + pointer-events: all; + opacity: 1; +} + +.cptm-form-group-row { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} + +.cptm-form-group-col { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-basis: 50%; + -ms-flex-preferred-size: 50%; + flex-basis: 50%; +} + +.cptm-form-group-info { + font-size: 12px; + font-weight: 400; + color: #747c89; + margin: 0; +} + +.cptm-widget-actions-tools { + position: absolute; + width: 75px; + background-color: #2c99ff; + left: 50%; + -webkit-transform: translateX(-50%); + transform: translateX(-50%); + top: -40px; + padding: 5px; + border: 3px solid #2c99ff; + border-radius: 1px 1px 0 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + visibility: hidden; + opacity: 0; + pointer-events: none; + -webkit-transition: 0.3s ease; + transition: 0.3s ease; + z-index: 9999; +} +.cptm-widget-actions-tools a { + padding: 0 6px; + font-size: 12px; + color: #fff; +} + +.cptm-widget-control-wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + visibility: hidden; + opacity: 0; + position: absolute; + left: 0; + right: 0; + width: 100%; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + top: 1px; + pointer-events: none; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + z-index: 99; +} + +.cptm-widget-control { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding-bottom: 10px; + -webkit-transform: translate(0%, -100%); + transform: translate(0%, -100%); +} +.cptm-widget-control::after { + content: ""; + display: inline-block; + margin: 0 auto; + border-left: 10px solid transparent; + border-right: 10px solid transparent; + border-top: 10px solid #3e62f5; + position: absolute; + bottom: 2px; + left: 50%; + -webkit-transform: translate(-50%, 0); + transform: translate(-50%, 0); + z-index: -1; +} +.cptm-widget-control .cptm-widget-control-action:first-child { + border-top-left-radius: 5px; + border-bottom-left-radius: 5px; +} +.cptm-widget-control .cptm-widget-control-action:last-child { + border-top-right-radius: 5px; + border-bottom-right-radius: 5px; +} + +.hide { + display: none; +} + +.cptm-widget-control-action { + display: inline-block; + padding: 5px 8px; + color: #fff; + font-size: 12px; + cursor: pointer; + background-color: #3e62f5; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-widget-control-action:hover { + background-color: #0e3bf2; +} + +.cptm-card-preview-top-left { + width: calc(50% - 4px); + position: absolute; + top: 0; + left: 0; +} + +.cptm-card-preview-top-left-placeholder { + display: block; + text-align: left; +} +.cptm-card-preview-top-left-placeholder .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.cptm-card-preview-top-right { + position: absolute; + right: 0; + top: 0; + width: calc(50% - 4px); +} +.cptm-card-preview-top-right .cptm-widget-preview-area { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-card-preview-top-right + .cptm-widget-preview-area + .cptm-widget-preview-container { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-card-preview-top-right .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.cptm-card-preview-top-right-placeholder { + text-align: right; +} +.cptm-card-preview-top-right-placeholder .cptm-widget-preview-area { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-card-preview-top-right-placeholder + .cptm-widget-preview-area + .cptm-widget-preview-container { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-card-preview-top-right-placeholder .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.cptm-card-preview-bottom-left { + position: absolute; + width: calc(50% - 4px); + bottom: 0; + left: 0; +} +.cptm-card-preview-bottom-left .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-card-preview-bottom-left .cptm-widget-option-modal-container { + top: unset; + bottom: 20px; +} +.cptm-card-preview-bottom-left + .cptm-widget-option-modal-container + .cptm-option-card:before { + top: unset; + bottom: -6px; +} + +.cptm-card-preview-bottom-left-placeholder { + display: block; + text-align: left; +} + +.cptm-card-preview-bottom-right { + position: absolute; + bottom: 0; + right: 0; + width: calc(50% - 4px); +} +.cptm-card-preview-bottom-right .cptm-widget-preview-area { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-card-preview-bottom-right + .cptm-widget-preview-area + .cptm-widget-preview-container { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-card-preview-bottom-right .cptm-widget-option-modal-container { + top: unset; + bottom: 20px; +} +.cptm-card-preview-bottom-right + .cptm-widget-option-modal-container + .cptm-option-card:before { + top: unset; + bottom: -6px; + border-bottom: unset; + border-top: 7px solid #ffffff; +} + +.cptm-card-preview-body .cptm-widget-option-modal-container, +.cptm-card-preview-badges .cptm-widget-option-modal-container { + left: unset; + -webkit-transform: unset; + transform: unset; + right: calc(100% + 57px); +} + +.grid-view-without-thumbnail .cptm-input-toggle { + width: 28px; + height: 16px; +} +.grid-view-without-thumbnail .cptm-input-toggle:after { + width: 12px; + height: 12px; + margin: 2px; +} +.grid-view-without-thumbnail .cptm-input-toggle.active::after { + -webkit-transform: translateX(calc(-100% - 4px)); + transform: translateX(calc(-100% - 4px)); +} +.grid-view-without-thumbnail .cptm-card-preview-widget-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 12px; + padding: 20px; +} +@media only screen and (max-width: 480px) { + .grid-view-without-thumbnail .cptm-card-preview-widget-content { + -webkit-box-sizing: border-box; + box-sizing: border-box; + } +} +.grid-view-without-thumbnail .cptm-card-placeholder-top { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 12px; +} +@media only screen and (max-width: 480px) { + .grid-view-without-thumbnail .cptm-card-placeholder-top { + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + } + .grid-view-without-thumbnail + .cptm-card-placeholder-top + .cptm-listing-card-quick-actions { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + width: 100%; + } +} +.grid-view-without-thumbnail + .cptm-card-placeholder-top + .cptm-listing-card-quick-actions + .cptm-placeholder-block { + padding-bottom: 32px !important; +} +.grid-view-without-thumbnail + .cptm-card-placeholder-top + .cptm-widget-preview-card-listing_title + .cptm-widget-badge-trash { + right: 0; +} +.grid-view-without-thumbnail .cptm-listing-card-preview-body { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 12px; + padding: 0; +} +.grid-view-without-thumbnail + .cptm-listing-card-preview-body + .cptm-placeholder-block { + min-height: 48px !important; +} +.grid-view-without-thumbnail + .cptm-listing-card-preview-body + .cptm-listing-card-preview-body-placeholder { + min-height: 160px !important; +} +.grid-view-without-thumbnail .cptm-listing-card-preview-footer { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + padding: 0; +} +.grid-view-without-thumbnail .cptm-listing-card-author-avatar { + position: unset; + -webkit-transform: unset; + transform: unset; +} +.grid-view-without-thumbnail + .cptm-listing-card-author-avatar + .cptm-placeholder-block-wrapper { + -webkit-box-pack: start; + -webkit-justify-content: flex-start; + -ms-flex-pack: start; + justify-content: flex-start; +} +.grid-view-without-thumbnail + .cptm-listing-card-author-avatar + .cptm-listing-card-author-avatar-placeholder { + -webkit-box-flex: unset; + -webkit-flex: unset; + -ms-flex: unset; + flex: unset; +} +.grid-view-without-thumbnail .cptm-listing-card-quick-actions { + width: 135px; +} +.grid-view-without-thumbnail .cptm-listing-card-title { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.grid-view-without-thumbnail + .cptm-listing-card-title + .cptm-widget-preview-card-listing_title { + width: 100%; +} +.grid-view-without-thumbnail + .cptm-listing-card-title + .cptm-widget-preview-card-listing_title + .cptm-widget-title-card-wrap { + padding: 0; + border: none; + -webkit-box-shadow: none; + box-shadow: none; + background: transparent; +} +.grid-view-without-thumbnail + .cptm-listing-card-title + .cptm-widget-preview-card-listing_title + .cptm-widget-title-card-wrap + .cptm-widget-title-card { + font-size: 14px; + line-height: 19px; + font-weight: 600; +} +.grid-view-without-thumbnail + .cptm-listing-card-title + .cptm-widget-preview-area { + padding: 8px; + background: #fff; + border-radius: 4px; + border: 1px solid #e5e7eb; + -webkit-box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05); + box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05); +} + +.list-view-without-thumbnail .cptm-card-preview-widget-content { + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 12px; + padding: 20px; +} +@media only screen and (max-width: 480px) { + .list-view-without-thumbnail .cptm-card-preview-widget-content { + -webkit-box-sizing: border-box; + box-sizing: border-box; + } +} +.list-view-without-thumbnail .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.list-view-without-thumbnail + .cptm-widget-preview-container.dndrop-container.horizontal { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} +.list-view-without-thumbnail .cptm-listing-card-preview-top { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.list-view-without-thumbnail + .cptm-listing-card-preview-top + .cptm-placeholder-block { + min-height: 60px !important; +} +.list-view-without-thumbnail + .cptm-listing-card-preview-top + .cptm-listing-card-preview-top-left { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.list-view-without-thumbnail + .cptm-listing-card-preview-top + .cptm-listing-card-preview-top-left + .dndrop-draggable-wrapper-listing_title { + -webkit-box-flex: 0; + -webkit-flex: 0 0 100%; + -ms-flex: 0 0 100%; + flex: 0 0 100%; +} +.list-view-without-thumbnail + .cptm-listing-card-preview-top + .cptm-listing-card-preview-top-left + .cptm-widget-preview-card-listing_title { + width: 100%; +} +.list-view-without-thumbnail + .cptm-listing-card-preview-top + .cptm-listing-card-preview-top-right { + width: 127px; +} +@media only screen and (max-width: 480px) { + .list-view-without-thumbnail + .cptm-listing-card-preview-top + .cptm-listing-card-preview-top-right { + width: auto; + } +} +.list-view-without-thumbnail .cptm-listing-card-preview-body { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 12px; + padding: 0; +} +.list-view-without-thumbnail .cptm-listing-card-preview-footer { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + padding: 0; +} + +.cptm-card-placeholder-top { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 12px; +} +@media only screen and (max-width: 480px) { + .cptm-card-placeholder-top { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + } +} + +.cptm-listing-card-preview-footer { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 22px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + padding: 0 16px 24px; +} +.cptm-listing-card-preview-footer .cptm-widget-preview-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-listing-card-preview-footer .cptm-widget-preview-area .cptm-widget-card { + font-size: 12px; + font-weight: 400; + gap: 4px; + width: 100%; + height: 32px; +} +.cptm-listing-card-preview-footer + .cptm-widget-preview-area + .cptm-widget-badge-icon { + font-size: 16px; + color: #141921; +} +.cptm-listing-card-preview-footer + .cptm-widget-preview-area + .cptm-widget-badge-trash { + font-size: 16px; + color: #141921; +} +.cptm-listing-card-preview-footer + .cptm-widget-preview-area + .cptm-widget-preview-card { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.cptm-listing-card-preview-footer .cptm-placeholder-block-wrapper { + height: 100%; +} + +.cptm-card-preview-footer-left { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} + +.cptm-card-preview-footer-right { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} + +.cptm-listing-card-preview-body-placeholder { + padding: 12px 12px 32px; + min-height: 160px !important; + border-color: #a1a9b2; +} +.cptm-listing-card-preview-body-placeholder .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} +.cptm-listing-card-preview-body-placeholder .cptm-placeholder-label { + color: #141921; +} +.cptm-listing-card-preview-body-placeholder .cptm-widget-preview-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} +.cptm-listing-card-preview-body-placeholder .cptm-widget-preview-card { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + padding: 0 12px; + color: #141921; + background: #ffffff; + height: 42px; + font-size: 14px; + line-height: 1.15; + font-weight: 500; + border-radius: 4px; + border: 1px solid #e5e7eb; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-listing-card-preview-body-placeholder .cptm-widget-preview-card.active, +.cptm-listing-card-preview-body-placeholder .cptm-widget-preview-card:hover { + background: #f3f4f6; + border-color: #d2d6db; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card.active + .cptm-list-item-actions, +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card:hover + .cptm-list-item-actions { + opacity: 1; + visibility: visible; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card.active + .cptm-list-item-edit { + background: #e5e7eb; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-widget-card-wrap { + width: 100%; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-list-item-icon { + font-size: 20px; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-list-item { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-list-item-content { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-list-item-actions { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + opacity: 0; + visibility: hidden; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-list-item-actions + .cptm-list-item-action { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 32px; + height: 32px; + border-radius: 100%; + cursor: pointer; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-list-item-actions + .cptm-list-item-action + span { + font-size: 20px; + color: #141921; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-list-item-actions + .cptm-list-item-action:hover, +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-list-item-actions + .cptm-list-item-action.active { + background: #e5e7eb; +} + +.cptm-listing-card-preview-footer-left-placeholder { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + border-color: #c6d0dc; + text-align: left; +} +.cptm-listing-card-preview-footer-left-placeholder:hover, +.cptm-listing-card-preview-footer-left-placeholder.drag-enter { + border-color: #1e1e1e; +} +.cptm-listing-card-preview-footer-left-placeholder + .cptm-widget-preview-container { + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} +.cptm-listing-card-preview-footer-left-placeholder + .cptm-widget-preview-container + .cptm-widget-preview-card { + width: 100%; +} + +.cptm-listing-card-preview-footer-right-placeholder { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + border-color: #c6d0dc; + text-align: right; +} +.cptm-listing-card-preview-footer-right-placeholder:hover, +.cptm-listing-card-preview-footer-right-placeholder.drag-enter { + border-color: #1e1e1e; +} +.cptm-listing-card-preview-footer-right-placeholder + .cptm-widget-preview-container { + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} +.cptm-listing-card-preview-footer-right-placeholder + .cptm-widget-preview-container + .cptm-widget-preview-card { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-listing-card-preview-footer-right-placeholder .cptm-widget-preview-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} + +.cptm-widget-preview-area .cptm-widget-preview-card { + position: relative; +} +.cptm-widget-preview-area + .cptm-widget-preview-card + .cptm-widget-preview-card-actions { + position: absolute; + bottom: 100%; + left: 50%; + -webkit-transform: translate(-50%, -7px); + transform: translate(-50%, -7px); + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + padding: 6px 12px; + background: #ffffff; + border-radius: 4px; + border: 1px solid #e5e7eb; + -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); + box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + z-index: 1; +} +.cptm-widget-preview-area + .cptm-widget-preview-card + .cptm-widget-preview-card-actions:before { + content: ""; + border-top: 7px solid #ffffff; + border-left: 7px solid transparent; + border-right: 7px solid transparent; + position: absolute; + bottom: -7px; + left: 50%; + -webkit-transform: translateX(-50%); + transform: translateX(-50%); +} +.cptm-widget-preview-area + .cptm-widget-preview-card + .cptm-widget-preview-card-actions + .cptm-widget-action-link { + width: auto; + height: auto; + border: none; + background: transparent; + color: #141921; + cursor: pointer; +} +.cptm-widget-preview-area + .cptm-widget-preview-card + .cptm-widget-preview-card-actions + .cptm-widget-action-link:hover, +.cptm-widget-preview-area + .cptm-widget-preview-card + .cptm-widget-preview-card-actions + .cptm-widget-action-link:focus { + background: transparent; + color: #3e62f5; +} +.cptm-widget-preview-area + .cptm-widget-preview-card + .cptm-widget-preview-card-actions + .widget-drag-handle:hover { + color: #3e62f5; +} + +.widget-drag-handle { + cursor: move; +} + +.cptm-card-light.cptm-placeholder-block { + border-color: #d2d6db; + background: #f9fafb; +} +.cptm-card-light.cptm-placeholder-block:hover, +.cptm-card-light.cptm-placeholder-block.drag-enter { + border-color: #1e1e1e; +} +.cptm-card-light .cptm-placeholder-label { + color: #23282d; +} +.cptm-card-light .cptm-widget-badge { + color: #969db8; + background-color: #eff0f3; +} + +.cptm-card-dark-light .cptm-placeholder-label { + padding: 5px 12px; + color: #888; + border-radius: 30px; + background-color: #fff; +} +.cptm-card-dark-light .cptm-widget-badge { + background-color: rgba(0, 0, 0, 0.8); +} + +.cptm-widgets-container { + overflow: hidden; + border: 1px solid rgba(0, 0, 0, 0.1); + background-color: #fff; +} + +.cptm-widgets-header { + display: block; +} + +.cptm-widget-nav { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin: 0; +} + +.cptm-widget-nav-item { + display: inline-block; + margin: 0; + padding: 12px 10px; + cursor: pointer; + -webkit-flex-basis: 33.3333333333%; + -ms-flex-preferred-size: 33.3333333333%; + flex-basis: 33.3333333333%; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + text-align: center; + -webkit-box-sizing: border-box; + box-sizing: border-box; + cursor: pointer; + color: #8a8a8a; + border-right: 1px solid #e3e1e1; + background-color: #f2f2f2; +} +.cptm-widget-nav-item:last-child { + border-right: none; +} +.cptm-widget-nav-item:hover { + color: #2b2b2b; +} +.cptm-widget-nav-item.active { + font-weight: bold; + color: #2b2b2b; + background-color: #fff; +} + +.cptm-widgets-body { + padding: 10px; + max-height: 450px; + overflow: hidden; + overflow-y: auto; +} + +.cptm-widgets-list { + display: block; + margin: 0; +} + +.cptm-widgets-list-item { + display: block; +} + +.widget-group-title { + margin: 0 0 5px; + font-size: 16px; + color: #bbb; +} + +.cptm-widgets-sub-list { + display: block; + margin: 0; +} + +.cptm-widgets-sub-list-item { + display: block; + padding: 10px 15px; + background-color: #eee; + border-radius: 5px; + margin-bottom: 10px; + cursor: move; +} + +.widget-icon { + display: inline-block; + margin-right: 5px; +} + +.widget-label { + display: inline-block; +} + +.cptm-form-group { + display: block; + margin-bottom: 20px; +} +.cptm-form-group label { + display: block; + font-size: 14px; + font-weight: 600; + color: #141921; + margin-bottom: 8px; +} +.cptm-form-group .cptm-form-control { + max-width: 100%; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-form-group.cptm-form-content { + text-align: center; + margin-bottom: 0; +} +.cptm-form-group.cptm-form-content .cptm-form-content-select { + text-align: left; +} +.cptm-form-group.cptm-form-content .cptm-form-content-title { + font-size: 16px; + line-height: 22px; + font-weight: 600; + color: #191b23; + margin: 0 0 8px; +} +.cptm-form-group.cptm-form-content .cptm-form-content-desc { + font-size: 12px; + line-height: 18px; + font-weight: 400; + color: #747c89; + margin: 0; +} +.cptm-form-group.cptm-form-content .cptm-form-content-icon { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + font-size: 40px; + margin: 0 0 12px; +} +.cptm-form-group.cptm-form-content .cptm-form-content-btn { + position: relative; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + height: 30px; + font-size: 12px; + line-height: 14px; + font-weight: 500; + margin: 8px auto 0; + color: #3e62f5; + background: transparent; + border: none; + outline: none; + -webkit-box-shadow: none; + box-shadow: none; + cursor: pointer; +} +.cptm-form-group.cptm-form-content .cptm-form-content-btn:before { + content: ""; + position: absolute; + width: 0; + height: 1px; + left: 0; + bottom: 8px; + background-color: #3e62f5; + -webkit-transition: width ease-in-out 300ms; + transition: width ease-in-out 300ms; +} +.cptm-form-group.cptm-form-content .cptm-form-content-btn:hover:before, +.cptm-form-group.cptm-form-content .cptm-form-content-btn:focus:before { + width: 100%; +} +.cptm-form-group.cptm-form-content .cptm-form-content-btn.cptm-btn-disabled { + pointer-events: none; +} +.cptm-form-group.cptm-form-content + .cptm-form-content-btn.cptm-btn-disabled:before { + display: none; +} +.cptm-form-group.cptm-form-content .cptm-form-content-btn.cptm-form-loader { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + color: #747c89; + height: auto; +} +.cptm-form-group.cptm-form-content + .cptm-form-content-btn.cptm-form-loader:before { + display: none; +} +.cptm-form-group.cptm-form-content + .cptm-form-content-btn.cptm-form-loader:hover, +.cptm-form-group.cptm-form-content + .cptm-form-content-btn.cptm-form-loader:focus { + color: #3e62f5; +} +.cptm-form-group.cptm-form-content + .cptm-form-content-btn + .cptm-form-content-btn-icon { + font-size: 14px; +} +.cptm-form-group.cptm-form-content + .cptm-form-content-btn + .cptm-form-content-btn-loader { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; +} +.cptm-form-group.cptm-form-content + .cptm-form-content-btn + .cptm-form-content-btn-loader + i { + font-size: 15px; +} +.cptm-form-group.tab-field .cptm-preview-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 0; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} +.cptm-form-group.cpt-has-error .cptm-form-control { + border: 1px solid rgb(192, 51, 51); +} + +.cptm-form-group-tab-list { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + margin: 0; + padding: 6px; + list-style: none; + background: #fff; + border: 1px solid #e5e7eb; + border-radius: 100px; +} +.cptm-form-group-tab-list .cptm-form-group-tab-item { + margin: 0; +} +.cptm-form-group-tab-list .cptm-form-group-tab-link { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + height: 26px; + padding: 0 16px; + border-radius: 100px; + margin: 0; + cursor: pointer; + background-color: #ffffff; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + color: #4d5761; + font-weight: 500; + text-decoration: none; + -webkit-box-shadow: none; + box-shadow: none; + outline: none; +} +.cptm-form-group-tab-list .cptm-form-group-tab-link:hover { + color: #3e62f5; +} +.cptm-form-group-tab-list .cptm-form-group-tab-link.active { + background-color: #d8e0fd; + color: #3e62f5; +} + +.cptm-preview-image-upload { + width: 350px; + max-width: 100%; + height: 224px; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + border-radius: 10px; + position: relative; + overflow: hidden; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) { + border: 2px dashed #d2d6db; + background: #f9fafb; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail { + max-width: 100%; + width: 100%; + height: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail + .cptm-thumbnail-action { + display: none; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail + .cptm-thumbnail-img-wrap + img { + width: 40px; + height: 40px; + -o-object-fit: cover; + object-fit: cover; + border-radius: 4px; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail + .cptm-upload-btn { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + padding: 8px 12px; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 6px; + border-radius: 8px; + background: #141921; + color: #fff; + text-align: center; + font-size: 13px; + font-weight: 500; + line-height: 14px; + margin-top: 20px; + margin-bottom: 12px; + cursor: pointer; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail + .cptm-upload-btn + input { + background-color: transparent; + border: none; + -webkit-box-shadow: none; + box-shadow: none; + color: white; + padding: 0; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail + .cptm-upload-btn + i { + font-size: 14px; + color: inherit; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail + .directorist-row-tooltip[data-tooltip]:before, +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail + .directorist-row-tooltip[data-tooltip]:after { + opacity: 0; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail + .cptm-thumbnail-drag-text { + color: #747c89; + font-size: 14px; + font-weight: 400; + line-height: 16px; + text-transform: capitalize; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show { + margin-bottom: 0; + height: 100%; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show .cptm-thumbnail { + position: relative; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .cptm-thumbnail:after { + content: ""; + position: absolute; + width: 100%; + height: 100%; + top: 0; + left: 0; + background: -webkit-gradient( + linear, + left top, + left bottom, + from(rgba(0, 0, 0, 0.6)), + color-stop(35.42%, rgba(0, 0, 0, 0)) + ); + background: linear-gradient( + 180deg, + rgba(0, 0, 0, 0.6) 0%, + rgba(0, 0, 0, 0) 35.42% + ); + z-index: 1; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .cptm-thumbnail + .action-trash + ~ .cptm-upload-btn { + right: 52px; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .cptm-thumbnail-action { + margin: 0; + background-color: white; + width: 32px; + height: 32px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + padding: 0; + top: 12px; + right: 12px; + border-radius: 8px; + font-size: 16px; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .cptm-thumbnail-drag-text { + display: none; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show .cptm-upload-btn { + position: absolute; + top: 12px; + right: 12px; + max-width: 32px !important; + width: 32px; + max-height: 32px; + height: 32px; + background-color: white; + padding: 0; + border-radius: 8px; + margin: 10px; + cursor: pointer; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + margin: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + z-index: 2; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .cptm-upload-btn + input { + display: none; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .cptm-upload-btn + i::before { + content: "\ea57"; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .directorist-row-tooltip[data-tooltip]:after { + background-color: white; + color: #141921; + opacity: 1; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .directorist-row-tooltip[data-tooltip][data-flow="bottom"]::before { + border-bottom-color: white; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .cptm-thumbnail-action { + z-index: 2; +} + +.cptm-form-group-feedback { + display: block; +} + +.cptm-form-alert { + padding: 0 0 10px; + color: #06d6a0; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-form-alert.cptm-error { + color: #c82424; +} + +.cptm-input-toggle-wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-input-toggle-wrap label { + padding-right: 10px; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + margin-bottom: 0; +} +.cptm-input-toggle-wrap .cptm-input-toggle-content { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} + +.cptm-input-toggle { + display: inline-block; + position: relative; + width: 36px; + height: 20px; + background-color: #d9d9d9; + border-radius: 30px; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + cursor: pointer; +} +.cptm-input-toggle::after { + content: ""; + display: inline-block; + width: 14px; + height: calc(100% - 6px); + background-color: #fff; + border-radius: 50%; + position: absolute; + top: 0; + left: 0; + margin: 3px 4px; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-input-toggle.active { + background-color: #3e62f5; +} +.cptm-input-toggle.active::after { + left: 100%; + -webkit-transform: translateX(calc(-100% - 8px)); + transform: translateX(calc(-100% - 8px)); +} + +.cptm-multi-option-group { + display: block; + margin-bottom: 20px; +} +.cptm-multi-option-group .cptm-btn { + margin: 0; +} + +.cptm-multi-option-label { + display: block; +} + +.cptm-multi-option-group-section-draft { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin: -8px; +} +.cptm-multi-option-group-section-draft .cptm-form-group { + margin: 0 8px 20px; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.cptm-multi-option-group-section-draft .cptm-form-group .cptm-form-control { + width: 100%; +} +.cptm-multi-option-group-section-draft .cptm-form-group.cpt-has-error { + position: relative; +} +.cptm-multi-option-group-section-draft p { + margin: 28px 8px 20px; +} + +.cptm-label { + display: block; + margin-bottom: 10px; + font-weight: 500; +} + +.form-repeater__container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 8px; +} +.form-repeater__group { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 16px; + position: relative; +} +.form-repeater__group.sortable-chosen .form-repeater__input { + background: #e1e4e8 !important; + border: 1px solid #d1d5db !important; + -webkit-box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.01) !important; + box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.01) !important; +} +.form-repeater__remove-btn, +.form-repeater__drag-btn { + color: #4d5761; + background: transparent; + border: none; + -webkit-box-shadow: none; + box-shadow: none; + outline: none; + padding: 0; + margin: 0; + -webkit-transition: all 0.3s ease; + transition: all 0.3s ease; +} +.form-repeater__remove-btn:disabled, +.form-repeater__drag-btn:disabled { + cursor: not-allowed; + opacity: 0.6; +} +.form-repeater__remove-btn svg, +.form-repeater__drag-btn svg { + width: 12px; + height: 12px; +} +.form-repeater__remove-btn i, +.form-repeater__drag-btn i { + font-size: 16px; + margin: 0; + padding: 0; +} +.form-repeater__drag-btn { + cursor: move; + position: absolute; + left: 0; +} +.form-repeater__remove-btn { + cursor: pointer; + position: absolute; + right: 0; +} +.form-repeater__remove-btn:hover { + color: #c83a3a; +} +.form-repeater__input { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + height: 40px; + padding: 5px 16px; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + border-radius: 8px; + border: 1px solid var(--Gray-200, #e5e7eb); + background: white; + -webkit-box-shadow: 0px 1px 2px 0px + var(--Colors-Effects-Shadows-shadow-xs, rgba(16, 24, 40, 0.05)); + box-shadow: 0px 1px 2px 0px + var(--Colors-Effects-Shadows-shadow-xs, rgba(16, 24, 40, 0.05)); + color: #2c3239; + outline: none; + -webkit-transition: all 0.3s ease; + transition: all 0.3s ease; + margin: 0 32px; + overflow: hidden; + -ms-text-overflow: ellipsis; + text-overflow: ellipsis; +} +.form-repeater__input-value-added { + background: var(--Gray-50, #f9fafb); + border-color: #e5e7eb; +} +.form-repeater__input:focus { + background: var(--Gray-50, #f9fafb); + border-color: #3e62f5; +} +.form-repeater__input::-webkit-input-placeholder { + color: var(--Gray-500, #747c89); + font-size: 14px; + font-style: normal; + font-weight: 400; + line-height: 16.24px; +} +.form-repeater__input::-moz-placeholder { + color: var(--Gray-500, #747c89); + font-size: 14px; + font-style: normal; + font-weight: 400; + line-height: 16.24px; +} +.form-repeater__input:-ms-input-placeholder { + color: var(--Gray-500, #747c89); + font-size: 14px; + font-style: normal; + font-weight: 400; + line-height: 16.24px; +} +.form-repeater__input::-ms-input-placeholder { + color: var(--Gray-500, #747c89); + font-size: 14px; + font-style: normal; + font-weight: 400; + line-height: 16.24px; +} +.form-repeater__input::placeholder { + color: var(--Gray-500, #747c89); + font-size: 14px; + font-style: normal; + font-weight: 400; + line-height: 16.24px; +} +.form-repeater__add-group-btn { + font-size: 12px; + font-weight: 600; + color: #2e94fa; + background: transparent; + border: none; + padding: 0; + text-decoration: none; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 6px; + cursor: pointer; + letter-spacing: 0.12px; + margin: 17px 32px 0; + padding: 0; +} +.form-repeater__add-group-btn:disabled { + cursor: not-allowed; + opacity: 0.6; +} +.form-repeater__add-group-btn svg { + width: 16px; + height: 16px; +} +.form-repeater__add-group-btn i { + font-size: 16px; +} + +/* Style the video popup */ +.cptm-modal-overlay { + position: fixed; + top: 0; + right: 0; + width: calc(100% - 160px); + height: 100%; + background: rgba(0, 0, 0, 0.8); + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + z-index: 999999; +} +@media (max-width: 960px) { + .cptm-modal-overlay { + width: 100%; + } +} +.cptm-modal-overlay .cptm-modal-container { + display: block; + height: auto; + position: absolute; + top: 50%; + left: 50%; + right: unset; + bottom: unset; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + overflow: visible; +} +@media (max-width: 767px) { + .cptm-modal-overlay .cptm-modal-container iframe { + width: 400px; + height: 225px; + } +} +@media (max-width: 575px) { + .cptm-modal-overlay .cptm-modal-container iframe { + width: 300px; + height: 175px; + } +} + +.cptm-modal-content { + position: relative; +} +.cptm-modal-content .cptm-modal-video video { + width: 100%; + max-width: 500px; +} +.cptm-modal-content .cptm-modal-image .cptm-modal-image__img { + max-height: calc(100vh - 200px); +} +.cptm-modal-content .cptm-modal-preview { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 24px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + height: auto; + width: 724px; + max-height: calc(100vh - 200px); + background: #fff; + padding: 30px 70px; + border-radius: 16px; +} +.cptm-modal-content .cptm-modal-preview .cptm-modal-preview__group { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 30px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-modal-content .cptm-modal-preview .cptm-modal-preview__item { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 10px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-modal-content .cptm-modal-preview .cptm-modal-preview__btn { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 6px; + padding: 0 16px; + height: 40px; + color: #000; + background: #ededed; + border: 1px solid #ededed; + border-radius: 8px; +} +.cptm-modal-content + .cptm-modal-preview + .cptm-modal-preview__btn + .cptm-modal-preview__btn__icon { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-modal-content .cptm-modal-content__close-btn { + position: absolute; + top: 0; + right: -42px; + width: 36px; + height: 36px; + color: #000; + background: #fff; + font-size: 15px; + border: none; + border-radius: 100%; + cursor: pointer; +} + +.close-btn { + position: absolute; + top: 40px; + right: 40px; + background: transparent; + border: none; + font-size: 18px; + cursor: pointer; + color: #ffffff; +} + +.cptm-form-control, +select.cptm-form-control, +input[type="date"].cptm-form-control, +input[type="datetime-local"].cptm-form-control, +input[type="datetime"].cptm-form-control, +input[type="email"].cptm-form-control, +input[type="month"].cptm-form-control, +input[type="number"].cptm-form-control, +input[type="password"].cptm-form-control, +input[type="search"].cptm-form-control, +input[type="tel"].cptm-form-control, +input[type="text"].cptm-form-control, +input[type="time"].cptm-form-control, +input[type="url"].cptm-form-control, +input[type="week"].cptm-form-control input[type="text"].cptm-form-control { + display: block; + width: 100%; + max-width: 100%; + padding: 10px 20px; + font-size: 14px; + color: #5a5f7d; + text-align: left; + border-radius: 4px; + -webkit-box-shadow: none; + box-shadow: none; + font-weight: 400; + margin: 0; + line-height: 18px; + height: auto; + min-height: 30px; + background-color: #f4f5f7; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; +} +.cptm-form-control:hover, +.cptm-form-control:focus, +select.cptm-form-control:hover, +select.cptm-form-control:focus, +input[type="date"].cptm-form-control:hover, +input[type="date"].cptm-form-control:focus, +input[type="datetime-local"].cptm-form-control:hover, +input[type="datetime-local"].cptm-form-control:focus, +input[type="datetime"].cptm-form-control:hover, +input[type="datetime"].cptm-form-control:focus, +input[type="email"].cptm-form-control:hover, +input[type="email"].cptm-form-control:focus, +input[type="month"].cptm-form-control:hover, +input[type="month"].cptm-form-control:focus, +input[type="number"].cptm-form-control:hover, +input[type="number"].cptm-form-control:focus, +input[type="password"].cptm-form-control:hover, +input[type="password"].cptm-form-control:focus, +input[type="search"].cptm-form-control:hover, +input[type="search"].cptm-form-control:focus, +input[type="tel"].cptm-form-control:hover, +input[type="tel"].cptm-form-control:focus, +input[type="text"].cptm-form-control:hover, +input[type="text"].cptm-form-control:focus, +input[type="time"].cptm-form-control:hover, +input[type="time"].cptm-form-control:focus, +input[type="url"].cptm-form-control:hover, +input[type="url"].cptm-form-control:focus, +input[type="week"].cptm-form-control input[type="text"].cptm-form-control:hover, +input[type="week"].cptm-form-control + input[type="text"].cptm-form-control:focus { + color: #23282d; + border-color: #3e62f5; +} + +select.cptm-form-control, +input[type="date"].cptm-form-control, +input[type="datetime-local"].cptm-form-control, +input[type="datetime"].cptm-form-control, +input[type="email"].cptm-form-control, +input[type="month"].cptm-form-control, +input[type="number"].cptm-form-control, +input[type="password"].cptm-form-control, +input[type="search"].cptm-form-control, +input[type="tel"].cptm-form-control, +input[type="text"].cptm-form-control, +input[type="time"].cptm-form-control, +input[type="url"].cptm-form-control, +input[type="week"].cptm-form-control, +input[type="text"].cptm-form-control { + padding: 10px 20px; + font-size: 12px; + color: #4d5761; + background: #ffffff; + text-align: left; + border: 0 none; + border-radius: 8px; + border: 1px solid #d2d6db; + -webkit-box-shadow: none; + box-shadow: none; + width: 100%; + font-weight: 400; + margin: 0; + line-height: 18px; + height: auto; + min-height: 30px; +} +select.cptm-form-control:hover, +input[type="date"].cptm-form-control:hover, +input[type="datetime-local"].cptm-form-control:hover, +input[type="datetime"].cptm-form-control:hover, +input[type="email"].cptm-form-control:hover, +input[type="month"].cptm-form-control:hover, +input[type="number"].cptm-form-control:hover, +input[type="password"].cptm-form-control:hover, +input[type="search"].cptm-form-control:hover, +input[type="tel"].cptm-form-control:hover, +input[type="text"].cptm-form-control:hover, +input[type="time"].cptm-form-control:hover, +input[type="url"].cptm-form-control:hover, +input[type="week"].cptm-form-control:hover, +input[type="text"].cptm-form-control:hover { + color: #23282d; +} +select.cptm-form-control.cptm-form-control-light, +input[type="date"].cptm-form-control.cptm-form-control-light, +input[type="datetime-local"].cptm-form-control.cptm-form-control-light, +input[type="datetime"].cptm-form-control.cptm-form-control-light, +input[type="email"].cptm-form-control.cptm-form-control-light, +input[type="month"].cptm-form-control.cptm-form-control-light, +input[type="number"].cptm-form-control.cptm-form-control-light, +input[type="password"].cptm-form-control.cptm-form-control-light, +input[type="search"].cptm-form-control.cptm-form-control-light, +input[type="tel"].cptm-form-control.cptm-form-control-light, +input[type="text"].cptm-form-control.cptm-form-control-light, +input[type="time"].cptm-form-control.cptm-form-control-light, +input[type="url"].cptm-form-control.cptm-form-control-light, +input[type="week"].cptm-form-control.cptm-form-control-light, +input[type="text"].cptm-form-control.cptm-form-control-light { + border: 1px solid #ccc; + background-color: #fff; +} + +.tab-general .cptm-title-area, +.tab-other .cptm-title-area { + margin-left: 0; +} +.tab-general .cptm-form-group .cptm-form-control, +.tab-other .cptm-form-group .cptm-form-control { + background-color: #fff; + border: 1px solid #e3e6ef; +} + +.tab-preview_image .cptm-title-area, +.tab-packages .cptm-title-area, +.tab-other .cptm-title-area { + margin-left: 0; +} +.tab-preview_image .cptm-title-area p, +.tab-packages .cptm-title-area p, +.tab-other .cptm-title-area p { + font-size: 15px; + color: #5a5f7d; +} + +.cptm-modal-container { + display: none; + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + overflow: auto; + z-index: 999999; + height: 100vh; +} +.cptm-modal-container.active { + display: block; +} + +.cptm-modal-wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding: 20px; + height: 100%; + min-height: calc(100% - 40px); + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + background-color: rgba(0, 0, 0, 0.5); +} + +.cptm-modal { + display: block; + margin: 0 auto; + padding: 10px; + width: 100%; + max-width: 300px; + border-radius: 5px; + background-color: #fff; +} + +.cptm-modal-header { + position: relative; + padding: 15px 30px 15px 15px; + margin: -10px; + margin-bottom: 10px; + border-bottom: 1px solid #e3e3e3; +} + +.cptm-modal-header-title { + text-align: left; + margin: 0; +} + +.cptm-modal-actions { + display: block; + margin: 0 -5px; + position: absolute; + right: 10px; + top: 10px; + text-align: right; +} + +.cptm-modal-action-link { + margin: 0 5px; + text-decoration: none; + height: 25px; + display: inline-block; + width: 25px; + text-align: center; + line-height: 25px; + border-radius: 50%; + color: #2b2b2b; + font-size: 18px; +} + +.cptm-modal-confirmation-title { + margin: 30px auto; + font-size: 20px; + text-align: center; +} + +.cptm-section-alert-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + min-height: 200px; +} + +.cptm-section-alert-content { + text-align: center; + padding: 10px; +} + +.cptm-section-alert-icon { + margin-bottom: 20px; + width: 100px; + height: 100px; + font-size: 45px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + border-radius: 50%; + color: darkgray; + background-color: #f2f2f2; +} +.cptm-section-alert-icon.cptm-alert-success { + color: #fff; + background-color: #14cc60; +} +.cptm-section-alert-icon.cptm-alert-error { + color: #fff; + background-color: #cc1433; +} + +.cptm-color-picker-wrap { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; +} + +.cptm-color-picker-label { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + margin-left: 10px; +} + +.cptm-wdget-title { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} + +.atbdp-flex-align-center { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.cptm-px-5 { + padding: 0 5px; +} + +.cptm-text-gray { + color: #c1c1c1; +} + +.cptm-text-right { + text-align: right !important; +} + +.cptm-text-center { + text-align: center !important; +} + +.cptm-text-left { + text-align: left !important; +} + +.cptm-d-block { + display: block !important; +} + +.cptm-d-inline { + display: inline-block !important; +} + +.cptm-d-inline-flex { + display: -webkit-inline-box !important; + display: -webkit-inline-flex !important; + display: -ms-inline-flexbox !important; + display: inline-flex !important; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} + +.cptm-d-none { + display: none !important; +} + +.cptm-p-20 { + padding: 20px; +} + +.cptm-color-picker { + display: inline-block; + padding: 5px 5px 2px 5px; + border-radius: 30px; + border: 1px solid #d4d4d4; +} + +input[type="radio"]:checked::before { + background-color: #3e62f5; +} + +@media (max-width: 767px) { + input[type="checkbox"], + input[type="radio"] { + width: 15px; + height: 15px; + } +} + +.cptm-preview-placeholder { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + padding: 70px 30px 70px 54px; + background: #f9fafb; +} +@media (max-width: 1199px) { + .cptm-preview-placeholder { + margin-right: 0; + } +} +@media only screen and (max-width: 480px) { + .cptm-preview-placeholder { + border: none; + max-width: 100%; + padding: 0; + margin: 0; + background: transparent; + } +} +.cptm-preview-placeholder__card { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 20px; + padding: 20px; + background: #ffffff; + border-radius: 6px; + border: 1.5px solid #e5e7eb; + -webkit-box-shadow: 0 10px 18px 0 rgba(16, 24, 40, 0.1); + box-shadow: 0 10px 18px 0 rgba(16, 24, 40, 0.1); +} +.cptm-preview-placeholder__card__item { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + padding: 12px; + border-radius: 4px; +} +.cptm-preview-placeholder__card__item--top { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 30px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + border: 1.5px dashed #d2d6db; +} +.cptm-preview-placeholder__card__item--top + .cptm-preview-placeholder__card__content { + -webkit-box-align: start; + -webkit-align-items: flex-start; + -ms-flex-align: start; + align-items: flex-start; +} +.cptm-preview-placeholder__card__item--top + .cptm-preview-placeholder__card__box { + -webkit-box-flex: unset; + -webkit-flex: unset; + -ms-flex: unset; + flex: unset; + min-width: auto; + background: unset; + border: none; + padding: 0; +} +.cptm-preview-placeholder__card__item--top .cptm-placeholder-block-wrapper { + -webkit-box-flex: unset; + -webkit-flex: unset; + -ms-flex: unset; + flex: unset; +} +.cptm-preview-placeholder__card__item--bottom + .cptm-preview-placeholder__card__box + .cptm-widget-card-wrap + .cptm-widget-badge { + font-size: 12px; + line-height: 18px; + color: #1f2937; + min-height: 32px; + background-color: #ffffff; + border-radius: 6px; + border: 1.15px solid #e5e7eb; +} +.cptm-preview-placeholder__card__item .dndrop-draggable-wrapper.dragging { + opacity: 0; +} +.cptm-preview-placeholder__card__item .cptm-widget-actions-tools-wrap:before { + display: none; +} +.cptm-preview-placeholder__card__box { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + min-width: 150px; + z-index: unset; +} +.cptm-preview-placeholder__card__box .cptm-placeholder-label { + color: #868eae; + font-size: 14px; + font-weight: 500; +} +.cptm-preview-placeholder__card__box .cptm-widget-preview-area { + gap: 8px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; +} +.cptm-preview-placeholder__card__box + .cptm-widget-preview-area + .cptm-widget-badge { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + margin: 0; + min-height: 35px; + padding: 0 13px; + border-radius: 4px; + font-size: 15px; + line-height: 18px; + font-weight: 500; + color: #383f47; + background-color: #e5e7eb; +} +@media only screen and (max-width: 480px) { + .cptm-preview-placeholder__card__box + .cptm-widget-preview-area + .cptm-widget-badge { + font-size: 12px; + line-height: 15px; + } +} +.cptm-preview-placeholder__card__box .cptm-widget-title-card-wrap { + padding: 0; + background: transparent; + border: none; + border-radius: 0; + -webkit-box-shadow: none; + box-shadow: none; +} +.cptm-preview-placeholder__card__box + .cptm-widget-title-card-wrap + .cptm-widget-title-card { + font-size: 22px; +} +@media only screen and (max-width: 480px) { + .cptm-preview-placeholder__card__box + .cptm-widget-title-card-wrap + .cptm-widget-title-card { + font-size: 18px; + } +} +.cptm-preview-placeholder__card__box.listing-title-placeholder { + padding: 13px 8px; +} +.cptm-preview-placeholder__card__content { + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 20px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} +.cptm-preview-placeholder__card__btn { + width: 100%; + height: 66px; + border: none; + border-radius: 6px; + cursor: pointer; + color: #5a5f7d; + font-size: 13px; + font-weight: 500; + margin-top: 20px; +} +.cptm-preview-placeholder__card__btn .icon { + width: 26px; + height: 26px; + line-height: 26px; + background-color: #fff; + border-radius: 100%; + -webkit-margin-end: 7px; + margin-inline-end: 7px; +} +.cptm-preview-placeholder__card .slider-placeholder { + padding: 8px; + border-radius: 4px; + border: 1.5px dashed #d2d6db; +} +.cptm-preview-placeholder__card .slider-placeholder .cptm-widget-preview-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + padding: 50px; + text-align: center; + height: 240px; + background: #e5e7eb; + border-radius: 10px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +@media only screen and (max-width: 480px) { + .cptm-preview-placeholder__card + .slider-placeholder + .cptm-widget-preview-area { + padding: 30px; + } + .cptm-preview-placeholder__card + .slider-placeholder + .cptm-widget-preview-area + .cptm-widget-thumb-icon { + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + } + .cptm-preview-placeholder__card + .slider-placeholder + .cptm-widget-preview-area + .cptm-widget-thumb-icon + svg { + height: 100px; + width: 100px; + } +} +.cptm-preview-placeholder__card + .slider-placeholder + .cptm-widget-preview-area + .cptm-widget-label { + margin-top: 10px; +} +.cptm-preview-placeholder__card .dndrop-container.vertical { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 20px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + margin-bottom: 20px; + border: 1px solid #e5e7eb; + border-radius: 8px; + padding: 16px; +} +.cptm-preview-placeholder__card + .dndrop-container.vertical + > .dndrop-draggable-wrapper { + overflow: visible; +} +.cptm-preview-placeholder__card .draggable-item { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 20px; + -webkit-box-align: start; + -webkit-align-items: flex-start; + -ms-flex-align: start; + align-items: flex-start; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + margin-right: 8px; +} +.cptm-preview-placeholder__card .draggable-item .cptm-drag-element { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 20px; + height: 20px; + font-size: 20px; + color: #747c89; + margin-top: 15px; + background: transparent; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; + cursor: move; +} +.cptm-preview-placeholder__card .draggable-item .cptm-drag-element:hover { + color: #1e1e1e; +} +.cptm-preview-placeholder--settings-closed { + max-width: 700px; + margin: 0 auto; +} +@media (max-width: 1199px) { + .cptm-preview-placeholder--settings-closed { + max-width: 100%; + } +} + +.atbdp-sidebar-nav-area { + display: block; +} + +.atbdp-sidebar-nav { + display: block; + margin: 0; + background-color: #f6f6f6; +} + +.atbdp-nav-link { + display: block; + padding: 15px; + text-decoration: none; + color: #2b2b2b; +} + +.atbdp-nav-icon { + display: inline-block; + margin-right: 10px; +} + +.atbdp-nav-label { + display: inline-block; +} + +.atbdp-sidebar-nav-item { + display: block; + margin: 0; +} +.atbdp-sidebar-nav-item .atbdp-nav-link { + display: block; +} +.atbdp-sidebar-nav-item .atbdp-nav-icon { + display: inline-block; +} +.atbdp-sidebar-nav-item .atbdp-nav-label { + display: inline-block; +} +.atbdp-sidebar-nav-item.active { + display: block; + background-color: #fff; +} +.atbdp-sidebar-nav-item.active .atbdp-sidebar-subnav { + display: block; +} +.atbdp-sidebar-nav-item.active .atbdp-nav-link { + display: block; +} +.atbdp-sidebar-nav-item.active .atbdp-nav-icon { + display: inline-block; +} +.atbdp-sidebar-nav-item.active .atbdp-nav-label { + display: inline-block; +} + +.atbdp-sidebar-subnav { + display: block; + margin: 0; + margin-left: 28px; + display: none; +} + +.atbdp-sidebar-subnav-item { + display: block; + margin: 0; +} +.atbdp-sidebar-subnav-item .atbdp-nav-link { + color: #686d88; +} +.atbdp-sidebar-subnav-item .atbdp-nav-icon { + display: inline-block; +} +.atbdp-sidebar-subnav-item .atbdp-nav-label { + display: inline-block; +} +.atbdp-sidebar-subnav-item.active { + display: block; + margin: 0; +} +.atbdp-sidebar-subnav-item.active .atbdp-nav-link { + display: block; +} +.atbdp-sidebar-subnav-item.active .atbdp-nav-icon { + display: inline-block; +} +.atbdp-sidebar-subnav-item.active .atbdp-nav-label { + display: inline-block; +} + +.atbdp-row { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin: 0 -15px; +} + +.atbdp-col { + padding: 0 15px; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +.atbdp-col-3 { + -webkit-flex-basis: 25%; + -ms-flex-preferred-size: 25%; + flex-basis: 25%; + width: 25%; +} + +.atbdp-col-4 { + -webkit-flex-basis: 33.3333333333%; + -ms-flex-preferred-size: 33.3333333333%; + flex-basis: 33.3333333333%; + width: 33.3333333333%; +} + +.atbdp-col-8 { + -webkit-flex-basis: 66.6666666667%; + -ms-flex-preferred-size: 66.6666666667%; + flex-basis: 66.6666666667%; + width: 66.6666666667%; +} + +.shrink { + max-width: 300px; +} + +.directorist_dropdown { + position: relative; +} +.directorist_dropdown .directorist_dropdown-toggle { + position: relative; + text-decoration: none; + display: block; + width: 100%; + max-height: 38px; + font-size: 12px; + font-weight: 400; + background-color: transparent; + color: #4d5761; + padding: 12px 15px; + line-height: 1; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.directorist_dropdown .directorist_dropdown-toggle:focus { + outline: 0 none; + -webkit-box-shadow: 0 0; + box-shadow: 0 0; +} +.directorist_dropdown .directorist_dropdown-toggle:before { + font-family: unicons-line; + font-weight: 400; + font-size: 20px; + content: "\eb3a"; + color: #747c89; + position: absolute; + top: 50%; + right: 0; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + height: 20px; +} +.directorist_dropdown .directorist_dropdown-option { + display: none; + position: absolute; + width: 100%; + max-height: 350px; + left: 0; + top: 39px; + padding: 12px 8px; + background-color: #fff; + -webkit-box-shadow: + 0 12px 16px -4px rgba(16, 24, 40, 0.08), + 0px 4px 6px -2px rgba(16, 24, 40, 0.03); + box-shadow: + 0 12px 16px -4px rgba(16, 24, 40, 0.08), + 0px 4px 6px -2px rgba(16, 24, 40, 0.03); + border: 1px solid #e5e7eb; + border-radius: 8px; + z-index: 99999; + overflow-y: auto; +} +.directorist_dropdown .directorist_dropdown-option.--show { + display: block !important; +} +.directorist_dropdown .directorist_dropdown-option ul { + margin: 0; + padding: 0; +} +.directorist_dropdown .directorist_dropdown-option ul:empty { + position: relative; + height: 50px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; +} +.directorist_dropdown .directorist_dropdown-option ul:empty:before { + content: "No Items Found"; +} +.directorist_dropdown .directorist_dropdown-option ul li { + margin-bottom: 0; +} +.directorist_dropdown .directorist_dropdown-option ul li a { + font-size: 14px; + font-weight: 500; + text-decoration: none; + display: block; + padding: 9px 15px; + border-radius: 8px; + color: #4d5761; + -webkit-transition: 0.3s; + transition: 0.3s; +} +.directorist_dropdown .directorist_dropdown-option ul li a:hover, +.directorist_dropdown .directorist_dropdown-option ul li a.active:hover { + color: #fff; + background-color: #3e62f5; +} +.directorist_dropdown .directorist_dropdown-option ul li a.active { + color: #3e62f5; + background-color: #f0f3ff; +} + +.cptm-form-group .directorist_dropdown-option { + max-height: 240px; +} + +.cptm-import-directory-modal .cptm-file-input-wrap { + margin: 16px -5px 0 -5px; +} +.cptm-import-directory-modal .cptm-info-text { + padding: 4px 8px; + height: auto; + line-height: 1.5; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-import-directory-modal .cptm-info-text > b { + margin-right: 4px; +} + +/* Sticky fields */ +.cptm-col-sticky { + position: -webkit-sticky; + position: sticky; + top: 60px; + height: 100%; + max-height: calc(100vh - 212px); + overflow: auto; + scrollbar-width: 6px; + scrollbar-color: #d2d6db #f3f4f6; +} + +.cptm-widget-trash-confirmation-modal-overlay { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0.5); + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + z-index: 999999; +} +.cptm-widget-trash-confirmation-modal-overlay + .cptm-widget-trash-confirmation-modal { + background: #fff; + padding: 30px 25px; + border-radius: 8px; + text-align: center; +} +.cptm-widget-trash-confirmation-modal-overlay + .cptm-widget-trash-confirmation-modal + h2 { + font-size: 16px; + font-weight: 500; + margin: 0 0 18px; +} +.cptm-widget-trash-confirmation-modal-overlay + .cptm-widget-trash-confirmation-modal + p { + margin: 0 0 20px; + font-size: 14px; + max-width: 400px; +} +.cptm-widget-trash-confirmation-modal-overlay button { + border: 0 none; + -webkit-box-shadow: none; + box-shadow: none; + background: rgb(197, 22, 22); + padding: 10px 15px; + border-radius: 6px; + color: #fff; + font-size: 14px; + font-weight: 500; + margin: 5px; + cursor: pointer; + -webkit-transition: 0.3s ease; + transition: 0.3s ease; +} +.cptm-widget-trash-confirmation-modal-overlay button:hover { + background: #ba1230; +} +.cptm-widget-trash-confirmation-modal-overlay + button.cptm-widget-trash-confirmation-modal-action-btn__cancel { + background: #f1f2f6; + color: #7a8289; +} +.cptm-widget-trash-confirmation-modal-overlay + button.cptm-widget-trash-confirmation-modal-action-btn__cancel:hover { + background: #dee0e4; +} + +.cptm-field-group-container .cptm-field-group-container__label { + font-size: 15px; + font-weight: 500; + color: #272b41; + display: inline-block; +} +@media only screen and (max-width: 767px) { + .cptm-field-group-container .cptm-field-group-container__label { + margin-bottom: 15px; + } +} + +.cptm-container-group-fields { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 26px; +} +@media only screen and (max-width: 1300px) { + .cptm-container-group-fields { + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + } +} +@media only screen and (max-width: 1300px) { + .cptm-container-group-fields .cptm-form-group:not(:last-child) { + margin-bottom: 0; + } +} +@media only screen and (max-width: 991px) { + .cptm-container-group-fields .cptm-form-group { + width: 100%; + } +} +.cptm-container-group-fields .highlight-field { + padding: 0; +} +.cptm-container-group-fields .atbdp-row { + margin: 0; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + gap: 10px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-container-group-fields .atbdp-row .atbdp-col { + -webkit-box-flex: 0 !important; + -webkit-flex: none !important; + -ms-flex: none !important; + flex: none !important; + width: auto; + padding: 0; +} +.cptm-container-group-fields .atbdp-row .atbdp-col input { + max-width: 100px !important; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +@media only screen and (max-width: 991px) { + .cptm-container-group-fields .atbdp-row .atbdp-col input { + max-width: none !important; + } +} +@media only screen and (max-width: 767px) { + .cptm-container-group-fields .atbdp-row .atbdp-col input { + max-width: 150px !important; + } +} +.cptm-container-group-fields .atbdp-row .atbdp-col label { + margin: 0; + font-size: 14px !important; + font-weight: normal; +} +@media only screen and (max-width: 1300px) { + .cptm-container-group-fields .atbdp-row .atbdp-col label { + min-width: 50px; + } +} +.cptm-container-group-fields .atbdp-row .atbdp-col .directorist_dropdown { + width: 95px; +} +.cptm-container-group-fields + .atbdp-row + .atbdp-col + .directorist_dropdown + .directorist_dropdown-toggle:before { + position: relative; + top: -3px; +} +@media only screen and (max-width: 991px) { + .cptm-container-group-fields .atbdp-row .atbdp-col .directorist_dropdown { + width: calc(100% - 2px); + } +} +@media only screen and (max-width: 767px) { + .cptm-container-group-fields .atbdp-row .atbdp-col .directorist_dropdown { + width: 150px; + } +} +@media only screen and (max-width: 991px) { + .cptm-container-group-fields .atbdp-row .atbdp-col.atbdp-col-8 { + -webkit-box-flex: 1 !important; + -webkit-flex: auto !important; + -ms-flex: auto !important; + flex: auto !important; + } +} +@media only screen and (max-width: 767px) { + .cptm-container-group-fields .atbdp-row .atbdp-col.atbdp-col-4 { + width: auto !important; + } +} + +.cptm-elements-settings { + width: 100%; + max-width: 372px; + padding: 0 20px; + scrollbar-width: 6px; + border-right: 1px solid #e5e7eb; + scrollbar-color: #d2d6db #f3f4f6; +} +@media only screen and (max-width: 1199px) { + .cptm-elements-settings { + max-width: 100%; + } +} +@media only screen and (max-width: 782px) { + .cptm-elements-settings { + -webkit-box-sizing: border-box; + box-sizing: border-box; + } +} +@media only screen and (max-width: 480px) { + .cptm-elements-settings { + border: none; + padding: 0; + } +} +.cptm-elements-settings__header { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 20px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + padding: 18px 0 8px; +} +.cptm-elements-settings__header__title { + font-size: 16px; + line-height: 24px; + font-weight: 500; + color: #141921; + margin: 0; +} +.cptm-elements-settings__group { + padding: 20px 0; + border-bottom: 1px solid #e5e7eb; +} +.cptm-elements-settings__group .dndrop-draggable-wrapper { + position: relative; + overflow: visible !important; +} +.cptm-elements-settings__group .dndrop-draggable-wrapper.dragging { + opacity: 0; +} +.cptm-elements-settings__group:last-child { + border-bottom: none; +} +.cptm-elements-settings__group__title { + display: block; + font-size: 12px; + font-weight: 500; + letter-spacing: 0.48px; + color: #747c89; + margin-bottom: 15px; +} +.cptm-elements-settings__group__single { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 16px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + padding: 12px; + border-radius: 4px; + background: #f3f4f6; +} +.cptm-elements-settings__group__single:hover { + border-color: #3e62f5; +} +.cptm-elements-settings__group__single .drag-icon { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + font-size: 16px; + color: #747c89; + background: transparent; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; + cursor: move; +} +.cptm-elements-settings__group__single .drag-icon:hover { + color: #1e1e1e; +} +.cptm-elements-settings__group__single__label { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + font-size: 14px; + font-weight: 500; + color: #383f47; +} +.cptm-elements-settings__group__single__label__icon { + color: #4d5761; + font-size: 24px; +} +@media only screen and (max-width: 480px) { + .cptm-elements-settings__group__single__label__icon { + font-size: 20px; + } +} +.cptm-elements-settings__group__single__action { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + gap: 12px; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-elements-settings__group__single__edit { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + cursor: pointer; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-elements-settings__group__single__edit__icon { + font-size: 20px; + color: #4d5761; +} +.cptm-elements-settings__group__single__edit--disabled { + opacity: 0.4; + pointer-events: none; +} +.cptm-elements-settings__group__single__switch label { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + width: 32px; + height: 18px; + cursor: pointer; +} +.cptm-elements-settings__group__single__switch label::before { + content: ""; + position: absolute; + width: 100%; + height: 100%; + background-color: #d2d6db; + border-radius: 30px; + -webkit-transition: all 0.3s; + transition: all 0.3s; +} +.cptm-elements-settings__group__single__switch label::after { + content: ""; + position: absolute; + top: 3px; + left: 3px; + width: 12px; + height: 12px; + background-color: #ffffff; + border-radius: 50%; + -webkit-transition: all 0.3s; + transition: all 0.3s; +} +.cptm-elements-settings__group__single__switch input[type="checkbox"] { + display: none; +} +.cptm-elements-settings__group__single__switch + input[type="checkbox"]:checked + + label::before { + background-color: #3e62f5; +} +.cptm-elements-settings__group__single__switch + input[type="checkbox"]:checked + + label::after { + -webkit-transform: translateX(14px); + transform: translateX(14px); +} +.cptm-elements-settings__group__single--disabled { + opacity: 0.4; + pointer-events: none; +} +.cptm-elements-settings__group__options { + position: absolute; + width: 100%; + top: 42px; + left: 0; + z-index: 1; + padding-bottom: 20px; +} +.cptm-elements-settings__group__options .cptm-option-card { + margin: 0; + background: #fff; + -webkit-box-shadow: 0 6px 8px 2px rgba(16, 24, 40, 0.1019607843); + box-shadow: 0 6px 8px 2px rgba(16, 24, 40, 0.1019607843); +} +.cptm-elements-settings__group__options .cptm-option-card:before { + right: 60px; +} +.cptm-elements-settings__group__options + .cptm-option-card + .cptm-option-card-header { + padding: 0; + border-radius: 8px 8px 0 0; + background: transparent; +} +.cptm-elements-settings__group__options + .cptm-option-card + .cptm-option-card-header + .cptm-option-card-header-title-section { + padding: 16px; + min-height: auto; +} +.cptm-elements-settings__group__options + .cptm-option-card + .cptm-option-card-header + .cptm-option-card-header-title-section + .cptm-option-card-header-title { + font-size: 14px; + font-weight: 500; + color: #2c3239; + margin: 0; +} +.cptm-elements-settings__group__options + .cptm-option-card + .cptm-option-card-header + .cptm-option-card-header-title-section + .cptm-header-action-link { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 18px; + height: 18px; + padding: 0; + color: #4d5761; +} +.cptm-elements-settings__group__options + .cptm-option-card + .cptm-option-card-body { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 16px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 16px; + background: transparent; + border-top: 1px solid #e5e7eb; + border-radius: 0 0 8px 8px; + -webkit-box-shadow: none; + box-shadow: none; +} +.cptm-elements-settings__group__options + .cptm-option-card + .cptm-option-card-body + .cptm-form-group { + margin-bottom: 0; +} +.cptm-elements-settings__group__options + .cptm-option-card + .cptm-option-card-body + .cptm-form-group + label { + font-size: 13px; + font-weight: 500; +} +.cptm-elements-settings__group .dndrop-container .dndrop-draggable-wrapper { + margin-bottom: 8px; +} +.cptm-elements-settings__group + .dndrop-container + .dndrop-draggable-wrapper:last-child { + margin-bottom: 0; +} + +.cptm-theme-butterfly .cptm-info-text { + text-align: left; + margin: 0; +} + +.icon-picker { + position: fixed; + background-color: rgba(0, 0, 0, 0.35); + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 9999; + visibility: hidden; + opacity: 0; + pointer-events: none; + -webkit-transition: + opacity 0.3s ease, + visibility 0.3s ease; + transition: + opacity 0.3s ease, + visibility 0.3s ease; +} +.icon-picker__inner { + width: 935px; + position: absolute; + top: 50%; + left: 50%; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + background: white; + height: 800px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + overflow: hidden; + border-radius: 6px; +} +.icon-picker__close { + width: 34px; + height: 34px; + border-radius: 50%; + background-color: #5a5f7d; + color: #fff; + font-size: 12px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + position: absolute; + right: 20px; + top: 23px; + z-index: 1; + -webkit-transition: 0.3s ease; + transition: 0.3s ease; +} +.icon-picker__close:hover { + color: #fff; + background-color: #222; +} +.icon-picker__sidebar { + width: 30%; + background-color: #eff0f3; + padding: 30px 20px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.icon-picker__content { + width: 70%; + overflow: auto; +} +.icon-picker__content .icons-group { + padding-top: 80px; +} +.icon-picker__content .icons-group h4 { + font-size: 16px; + font-weight: 500; + color: #272b41; + background-color: #ffffff; + padding: 33px 0 27px 20px; + border-bottom: 1px solid #e3e6ef; + margin: 0; + position: absolute; + left: 30%; + top: 0; + width: 70%; +} +.icon-picker__content .icons-group-icons { + padding: 17px 0 17px 17px; +} +.icon-picker__content .icons-group-icons .font-icon-btn { + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + margin: 5px 3px; + width: 70px; + height: 70px; + background-color: #f4f5f7; + border-radius: 5px; + font-size: 24px; + color: #868eae; + font-size: 18px !important; + border: 0 none; + -webkit-transition: 0.3s ease; + transition: 0.3s ease; +} +.icon-picker__content .icons-group-icons .font-icon-btn.cptm-btn-primary { background-color: #3e62f5; color: #fff; + font-size: 30px; + -webkit-box-shadow: 0 3px 10px rgba(39, 43, 65, 0.2); + box-shadow: 0 3px 10px rgba(39, 43, 65, 0.2); + border: 1px solid #e3e6ef; +} +.icon-picker__filter { + margin-bottom: 30px; +} +.icon-picker__filter label { + font-size: 14px; + font-weight: 500; + margin-bottom: 8px; + display: block; +} +.icon-picker__filter input, +.icon-picker__filter select { + color: #797d93; + font-size: 14px; + height: 44px; + border: 1px solid #e3e6ef; + border-radius: 4px; + padding: 0 15px; + width: 100%; +} +.icon-picker__filter input::-webkit-input-placeholder { + color: #797d93; +} +.icon-picker__filter input::-moz-placeholder { + color: #797d93; +} +.icon-picker__filter input:-ms-input-placeholder { + color: #797d93; +} +.icon-picker__filter input::-ms-input-placeholder { + color: #797d93; +} +.icon-picker__filter input::placeholder { + color: #797d93; +} +.icon-picker__filter select:hover, +.icon-picker__filter select:focus { + color: #797d93; +} +.icon-picker.icon-picker-visible { + visibility: visible; + opacity: 1; + pointer-events: auto; +} +.icon-picker__preview-icon { + font-size: 80px; + color: #272b41; + display: block !important; + text-align: center; +} +.icon-picker__preview-info { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + margin-top: 15px; +} +.icon-picker__done-btn { + display: block !important; + width: 100%; + margin: 35px 0 0 0 !important; +} + +.directorist-type-icon-select label { + font-size: 14px; + font-weight: 500; + display: block; + margin-bottom: 10px; +} + +.icon-picker-selector { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + margin: 0 -10px; +} +.icon-picker-selector__icon { + position: relative; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + margin: 0 10px; +} +.icon-picker-selector__icon .directorist-selected-icon { + position: absolute; + left: 15px; + top: 50%; + -webkit-transform: translateY(-50%); + transform: translateY(-50%); +} +.icon-picker-selector__icon .cptm-form-control { + pointer-events: none; +} +.icon-picker-selector__icon__reset { + position: absolute; + right: 0; + top: 50%; + -webkit-transform: translateY(-50%); + transform: translateY(-50%); + cursor: pointer; + padding: 5px 15px; +} +.icon-picker-selector__btn { + margin: 0 10px; + height: 40px; + background-color: #dadce0; + border-radius: 4px; + border: 0 none; + font-weight: 500; + padding: 0 30px; + cursor: pointer; +} + +.directorist-category-icon-picker { + margin-top: 10px; + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} +.directorist-category-icon-picker .icon-picker-selector { + width: 100%; +} + +/* Responsive fix */ +@media only screen and (max-width: 1441px) { + .icon-picker__inner { + width: 825px; + height: 660px; + } +} +@media only screen and (max-width: 1199px) { + .icon-picker__inner { + width: 615px; + height: 500px; + } +} +@media only screen and (max-width: 767px) { + .icon-picker__inner { + width: 500px; + height: 450px; + } +} +@media only screen and (max-width: 575px) { + .icon-picker__inner { + display: block; + width: calc(100% - 30px); + overflow: scroll; + } + .icon-picker__sidebar, + .icon-picker__content { + width: auto; + } + .icon-picker__content .icons-group-icons .font-icon-btn { + width: 55px; + height: 55px; + font-size: 16px; + } +} +.reset-pseudo-link:visited, +.cptm-btn:visited, +.cptm-header-nav__list-item-link:visited, +.cptm-link-light:visited, +.cptm-sub-nav__item-link:visited, +.cptm-header-action-link:visited, +.cptm-modal-action-link:visited, +.atbdp-nav-link:visited, +.reset-pseudo-link:active, +.cptm-btn:active, +.cptm-header-nav__list-item-link:active, +.cptm-link-light:active, +.cptm-sub-nav__item-link:active, +.cptm-header-action-link:active, +.cptm-modal-action-link:active, +.atbdp-nav-link:active, +.reset-pseudo-link:focus, +.cptm-btn:focus, +.cptm-header-nav__list-item-link:focus, +.cptm-link-light:focus, +.cptm-sub-nav__item-link:focus, +.cptm-header-action-link:focus, +.cptm-modal-action-link:focus, +.atbdp-nav-link:focus { + outline: none; + -webkit-box-shadow: none; + box-shadow: none; +} + +.cptm-shortcodes { + max-height: 300px; + overflow: scroll; +} + +.directorist-center-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.directorist-center-content-inline { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; +} + +.directorist-center-content, +.directorist-center-content-inline { + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.directorist-text-right { + text-align: right; +} + +.directorist-text-center { + text-align: center; +} + +.directorist-text-left { + text-align: left; +} + +.directorist-mt-0 { + margin-top: 0 !important; +} + +.directorist-mt-5 { + margin-top: 5px !important; +} + +.directorist-mt-10 { + margin-top: 10px !important; +} + +.directorist-mt-15 { + margin-top: 15px !important; +} + +.directorist-mt-20 { + margin-top: 20px !important; +} + +.directorist-mt-30 { + margin-top: 30px !important; +} + +.directorist-mb-0 { + margin-bottom: 0 !important; +} + +.directorist-mb-35 { + margin-bottom: 35px !important; +} + +.directorist-mb-30 { + margin-bottom: 30px !important; +} + +.directorist-mb-25 { + margin-bottom: 25px !important; +} + +.directorist-mb-20 { + margin-bottom: 20px !important; +} + +.directorist-mb-n20 { + margin-bottom: -20px !important; +} + +.directorist-mb-10 { + margin-bottom: 10px !important; +} + +.directorist-mb-15 { + margin-bottom: 15px !important; +} + +.directorist-mb-20 { + margin-bottom: 20px !important; +} + +.directorist-mb-30 { + margin-bottom: 30px !important; +} + +.directorist-mb-35 { + margin-bottom: 35px !important; +} + +.directorist-mb-40 { + margin-bottom: 40px !important; +} + +.directorist-mb-50 { + margin-bottom: 50px !important; +} + +.directorist-mb-70 { + margin-bottom: 70px !important; +} + +.directorist-mb-80 { + margin-bottom: 80px !important; +} + +.directorist-pb-100 { + padding-bottom: 100px !important; +} + +.directorist-w-100 { + width: 100% !important; + max-width: 100% !important; +} + +.directorist-draggable-list-item-wrapper { + position: relative; + height: 100%; +} + +.directorist-droppable-area-wrap { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 888888888; + display: none; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + margin-bottom: -20px; +} + +.directorist-droppable-area { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} + +.directorist-droppable-item-preview { + height: 52px; + background-color: rgba(44, 153, 255, 0.1); + margin-bottom: 20px; + margin-right: 0; + border-radius: 4px; +} + +.directorist-droppable-item-preview-before { + margin-bottom: 20px; +} + +.directorist-droppable-item-preview-after { + margin-bottom: 20px; +} + +/* Create Directory Type */ +.directorist-directory-type-top { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + gap: 15px 30px; + padding: 0 20px; + background: white; + min-height: 60px; + border-bottom: 1px solid #e5e7eb; + position: fixed; + right: 0; + top: 32px; + width: calc(100% - 200px); + z-index: 9999; +} +.directorist-directory-type-top:before { + content: ""; + position: absolute; + top: -10px; + left: 0; + height: 10px; + width: 100%; + background-color: #f3f4f6; +} +@media only screen and (max-width: 782px) { + .directorist-directory-type-top { + position: relative; + width: calc(100% + 20px); + top: -10px; + left: -10px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-sizing: border-box; + box-sizing: border-box; + } +} +@media only screen and (max-width: 480px) { + .directorist-directory-type-top { + padding: 10px 30px; + } +} +.directorist-directory-type-top-left { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 10px 24px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +@media only screen and (max-width: 767px) { + .directorist-directory-type-top-left { + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + } +} +.directorist-directory-type-top-left .cptm-form-group { + margin-bottom: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 10px; +} +.directorist-directory-type-top-left + .cptm-form-group + .cptm-form-group-feedback { + white-space: nowrap; +} +.directorist-directory-type-top-left .cptm-form-group .cptm-form-control { + height: 36px; + border-radius: 8px; + background: #e5e7eb; + max-width: 150px; + padding: 10px 16px; + font-size: 14px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} +.directorist-directory-type-top-left + .cptm-form-group + .cptm-form-control::-webkit-input-placeholder { + color: #4d5761; + font-size: 14px; + font-style: normal; + font-weight: 500; + line-height: 16.24px; +} +.directorist-directory-type-top-left + .cptm-form-group + .cptm-form-control::-moz-placeholder { + color: #4d5761; + font-size: 14px; + font-style: normal; + font-weight: 500; + line-height: 16.24px; +} +.directorist-directory-type-top-left + .cptm-form-group + .cptm-form-control:-ms-input-placeholder { + color: #4d5761; + font-size: 14px; + font-style: normal; + font-weight: 500; + line-height: 16.24px; +} +.directorist-directory-type-top-left + .cptm-form-group + .cptm-form-control::-ms-input-placeholder { + color: #4d5761; + font-size: 14px; + font-style: normal; + font-weight: 500; + line-height: 16.24px; +} +.directorist-directory-type-top-left + .cptm-form-group + .cptm-form-control::placeholder { + color: #4d5761; + font-size: 14px; + font-style: normal; + font-weight: 500; + line-height: 16.24px; +} +.directorist-directory-type-top-left + .cptm-form-group + .cptm-form-group-feedback + .cptm-form-alert { + padding: 0; +} +.directorist-directory-type-top-left .directorist-back-directory { + color: #4d5761; + font-size: 14px; + font-style: normal; + font-weight: 500; + line-height: normal; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 8px; +} +.directorist-directory-type-top-left .directorist-back-directory svg { + width: 14px; + height: 14px; + color: inherit; +} +.directorist-directory-type-top-left .directorist-back-directory:hover { + color: #3e62f5; +} +.directorist-directory-type-top-right .directorist-create-directory { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + border-radius: 8px; + text-decoration: none; + padding: 0 24px; + height: 40px; + border: 1px solid #3e62f5; + cursor: pointer; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-box-shadow: 0px 2px 4px 0px rgba(60, 41, 170, 0.1); + box-shadow: 0px 2px 4px 0px rgba(60, 41, 170, 0.1); + background-color: #3e62f5; + color: #ffffff; font-size: 15px; font-weight: 500; line-height: normal; @@ -15939,6 +36414,7 @@ input:-webkit-autofill:hover { .directorist-directory-type-top-right .cptm-btn { margin: 0; } + .directorist-type-name { display: -webkit-box; display: -webkit-flex; @@ -15958,6 +36434,7 @@ input:-webkit-autofill:hover { font-size: 20px; color: #747c89; } + .directorist-type-name-editable { display: -webkit-box; display: -webkit-flex; @@ -15976,6 +36453,7 @@ input:-webkit-autofill:hover { .directorist-type-name-editable span:hover { color: #3e62f5; } + .directorist-directory-type-bottom { position: fixed; bottom: 0; @@ -15984,7 +36462,7 @@ input:-webkit-autofill:hover { height: calc(100% - 115px); overflow-y: auto; z-index: 1; - background: #fff; + background: white; margin-top: 67px; border-radius: 8px 8px 0 0; border: 1px solid #e5e7eb; @@ -16008,7 +36486,7 @@ input:-webkit-autofill:hover { right: 20px; top: 113px; width: calc(100% - 202px); - background: #fff; + background: #ffffff; border: 1px solid #e5e7eb; gap: 0 32px; padding: 0 30px; @@ -16045,6 +36523,7 @@ input:-webkit-autofill:hover { margin-top: 0; } } + .wp-admin.folded .directorist-directory-type-top { width: calc(100% - 78px); } @@ -16064,31 +36543,31 @@ input:-webkit-autofill:hover { .directorist-directory-type-bottom .cptm-header-navigation { width: 100%; - border-width: 0 0 1px; + border-width: 0 0 1px 0; } } + .directorist-draggable-form-list-wrap { margin-right: 50px; } + +/* Body Header */ .directorist-form-action { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: end; -webkit-justify-content: flex-end; -ms-flex-pack: end; justify-content: flex-end; margin-bottom: 26px; } -.directorist-form-action, -.directorist-form-action__modal-btn { - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; -} .directorist-form-action__modal-btn { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -16101,6 +36580,10 @@ input:-webkit-autofill:hover { -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; gap: 6px; width: 30px; height: 30px; @@ -16180,6 +36663,7 @@ input:-webkit-autofill:hover { -webkit-box-shadow: none; box-shadow: none; } + .cptm-form-note { margin-bottom: 30px; padding: 30px; @@ -16205,6 +36689,7 @@ input:-webkit-autofill:hover { .cptm-form-note .cptm-form-note-content a { color: #157cf6; } + #atbdp_cpt_options_metabox .inside { margin: 0; padding: 0; @@ -16212,6 +36697,7 @@ input:-webkit-autofill:hover { #atbdp_cpt_options_metabox .postbox-header { display: none; } + .atbdp-cpt-manager { position: relative; display: block; @@ -16222,15 +36708,16 @@ input:-webkit-autofill:hover { z-index: 9; width: calc(100% - 200px); } +.atbdp-cpt-manager.directorist-overlay-visible .directorist-directory-type-top, .atbdp-cpt-manager.directorist-overlay-visible .directorist-directory-type-bottom - .cptm-header-navigation, -.atbdp-cpt-manager.directorist-overlay-visible .directorist-directory-type-top { + .cptm-header-navigation { z-index: 1; } .atbdp-cpt-manager.directorist-overlay-visible .submission_form_fields { z-index: 11; } + .atbdp-cptm-header { display: block; } @@ -16238,19 +36725,22 @@ input:-webkit-autofill:hover { height: 50px; font-size: 20px; } + .atbdp-cptm-body { display: block; } + .cptm-field-wraper-key-preview_image .cptm-btn { margin: 0 10px; height: 40px; color: #23282d !important; background-color: #dadce0 !important; border-radius: 4px !important; - border: 0; + border: 0 none; font-weight: 500; padding: 0 30px; } + .atbdp-cptm-footer { display: block; padding: 24px 0 0; @@ -16291,8 +36781,8 @@ input:-webkit-autofill:hover { border: 3px solid #d2d6db; -webkit-box-sizing: border-box; box-sizing: border-box; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } .atbdp-cptm-footer .atbdp-cptm-footer-preview @@ -16303,10 +36793,10 @@ input:-webkit-autofill:hover { top: 3px; width: 14px; height: 14px; - background: #fff; + background: #ffffff; border-radius: 100%; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } .atbdp-cptm-footer .atbdp-cptm-footer-preview @@ -16331,6 +36821,7 @@ input:-webkit-autofill:hover { font-weight: 400; color: #747c89; } + .atbdp-cptm-footer-actions { display: -webkit-box; display: -webkit-flex; @@ -16348,7 +36839,19 @@ input:-webkit-autofill:hover { flex-wrap: wrap; } .atbdp-cptm-footer-actions .cptm-btn { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; gap: 10px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; width: 100%; font-weight: 500; font-size: 15px; @@ -16356,24 +36859,22 @@ input:-webkit-autofill:hover { padding: 0 30px; margin: 0; } -.atbdp-cptm-footer-actions .cptm-btn, .atbdp-cptm-footer-actions .cptm-save-text { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; + gap: 8px; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; } -.atbdp-cptm-footer-actions .cptm-save-text { - gap: 8px; -} + .cptm-title-bar { display: -webkit-box; display: -webkit-flex; @@ -16386,9 +36887,11 @@ input:-webkit-autofill:hover { padding: 15px 10px; background-color: #fff; } + .cptm-card-preview-widget .cptm-title-bar { margin: 0; } + .cptm-title-bar-headings { -webkit-box-flex: 1; -webkit-flex-grow: 1; @@ -16396,14 +36899,17 @@ input:-webkit-autofill:hover { flex-grow: 1; padding: 10px; } + .cptm-title-bar-actions { min-width: 100px; max-width: 220px; padding: 10px; } + .cptm-label-btn { display: inline-block; } + .cptm-btn, .cptm-btn.cptm-label-btn { margin: 0 5px 10px; @@ -16413,15 +36919,16 @@ input:-webkit-autofill:hover { padding: 10px 20px; border-radius: 5px; cursor: pointer; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; vertical-align: top; } -.cptm-btn.cptm-label-btn:disabled, -.cptm-btn:disabled { +.cptm-btn:disabled, +.cptm-btn.cptm-label-btn:disabled { cursor: not-allowed; opacity: 0.5; } + .cptm-btn.cptm-label-btn { display: inline-block; vertical-align: top; @@ -16456,6 +36963,7 @@ input:-webkit-autofill:hover { color: #fff; background-color: #3e62f5; } + .cptm-file-input-wrap { display: -webkit-box; display: -webkit-flex; @@ -16471,9 +36979,11 @@ input:-webkit-autofill:hover { -ms-flex-positive: 1; flex-grow: 1; } + .cptm-btn-box { display: block; } + .cptm-form-builder-group-field-drop-area { display: block; padding: 14px 20px; @@ -16485,8 +36995,8 @@ input:-webkit-autofill:hover { color: #747c89; background-color: #f9fafb; font-style: italic; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; border: 1px dashed #d2d6db; -webkit-box-shadow: 0 4px 8px 0 rgba(16, 24, 40, 0.08); box-shadow: 0 4px 8px 0 rgba(16, 24, 40, 0.08); @@ -16499,10 +37009,12 @@ input:-webkit-autofill:hover { background-color: #d8e0fd; border-color: #3e62f5; } + .cptm-form-builder-group-field-drop-area-label { margin: 0; pointer-events: none; } + .atbdp-cptm-status-feedback { position: fixed; top: 70px; @@ -16522,6 +37034,7 @@ input:-webkit-autofill:hover { left: 50%; } } + .cptm-alert { position: relative; padding: 14px 24px 14px 52px; @@ -16539,9 +37052,10 @@ input:-webkit-autofill:hover { top: 14px; left: 24px; font-size: 20px; - font-family: Font Awesome\5 Free; + font-family: "Font Awesome 5 Free"; font-weight: 900; } + .cptm-alert-success { background-color: #ecfdf3; border: 1px solid #14b570; @@ -16550,6 +37064,7 @@ input:-webkit-autofill:hover { content: "\f058"; color: #14b570; } + .cptm-alert-error { background-color: #f3d6d6; border: 1px solid #c51616; @@ -16558,16 +37073,19 @@ input:-webkit-autofill:hover { content: "\f057"; color: #c51616; } + .cptm-dropable-element { position: relative; } + .cptm-dropable-base-element { display: block; position: relative; padding: 0; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: ease-in-out all 300ms; + transition: ease-in-out all 300ms; } + .cptm-dropable-area { position: absolute; left: 0; @@ -16576,49 +37094,63 @@ input:-webkit-autofill:hover { bottom: 0; z-index: 999; } + .cptm-dropable-placeholder { padding: 0; margin: 0; height: 0; border-radius: 4px; overflow: hidden; - -webkit-transition: all 0.2s ease-in-out; - transition: all 0.2s ease-in-out; - background: rgba(61, 98, 245, 0.45); + -webkit-transition: all ease-in-out 200ms; + transition: all ease-in-out 200ms; + background: RGBA(61, 98, 245, 0.45); } .cptm-dropable-placeholder.active { padding: 10px 15px; margin: 0; height: 30px; } + .cptm-dropable-inside { padding: 10px; } + .cptm-dropable-area-inside { display: block; height: 100%; } -.cptm-dropable-area-left, + .cptm-dropable-area-right { display: block; } -.cptm-dropable-area-left, -.cptm-dropable-area-right { + +.cptm-dropable-area-left { + display: block; +} + +.cptm-dropable-area-right, +.cptm-dropable-area-left { display: block; float: left; width: 50%; height: 100%; } -.cptm-dropable-area-bottom, + .cptm-dropable-area-top { display: block; } -.cptm-dropable-area-bottom, -.cptm-dropable-area-top { + +.cptm-dropable-area-bottom { + display: block; +} + +.cptm-dropable-area-top, +.cptm-dropable-area-bottom { display: block; width: 100%; height: 50%; } + .cptm-header-navigation { margin: 0; padding: 0; @@ -16647,6 +37179,7 @@ input:-webkit-autofill:hover { flex-direction: column; } } + .cptm-header-nav__list-item { margin: 0; display: inline-block; @@ -16661,6 +37194,7 @@ input:-webkit-autofill:hover { width: 100%; } } + .cptm-header-nav__list-item-link { display: -webkit-box; display: -webkit-flex; @@ -16672,8 +37206,9 @@ input:-webkit-autofill:hover { align-items: center; gap: 8px; text-decoration: none; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + position: relative; color: #4d5761; font-weight: 500; padding: 24px 0; @@ -16709,6 +37244,7 @@ input:-webkit-autofill:hover { .cptm-header-nav__list-item-link.active .cptm-header-nav__label { color: #3e62f5; } + .cptm-header-nav__icon { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -16727,39 +37263,53 @@ input:-webkit-autofill:hover { width: 24px; height: 24px; } + .cptm-header-nav__label { display: block; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; font-size: 14px; font-weight: 500; } + .cptm-title-area { margin-bottom: 20px; } + .submission-form .cptm-title-area { width: 100%; } + .tab-general .cptm-title-area { margin-left: 0; } -.cptm-color-white, -.cptm-link-light, -.cptm-link-light:active, + +.cptm-link-light { + color: #fff; +} +.cptm-link-light:hover, .cptm-link-light:focus, -.cptm-link-light:hover { +.cptm-link-light:active { color: #fff; } + +.cptm-color-white { + color: #fff; +} + .cptm-my-10 { margin-top: 10px; margin-bottom: 10px; } + .cptm-mb-60 { margin-bottom: 60px; } + .cptm-mr-5 { margin-right: 5px; } + .cptm-title { margin: 0; font-size: 19px; @@ -16767,6 +37317,7 @@ input:-webkit-autofill:hover { color: #141921; line-height: 1.2; } + .cptm-des { font-size: 14px; font-weight: 400; @@ -16774,6 +37325,7 @@ input:-webkit-autofill:hover { color: #4d5761; margin-top: 10px; } + .atbdp-cptm-tab-contents { width: 100%; display: block; @@ -16794,8 +37346,8 @@ input:-webkit-autofill:hover { gap: 16px; padding: 0; border-radius: 8px 8px 0 0; - background: #f9fafb; border: 1px solid #e5e7eb; + background: #f9fafb; border-bottom: none; -webkit-box-sizing: border-box; box-sizing: border-box; @@ -16822,30 +37374,30 @@ input:-webkit-autofill:hover { height: 3px; background: transparent; border-radius: 2px 2px 0 0; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .atbdp-cptm-tab-contents .listings_card_layout .cptm-sub-navigation - .cptm-sub-nav__item-link.active, + .cptm-sub-nav__item-link:hover, .atbdp-cptm-tab-contents .listings_card_layout .cptm-sub-navigation - .cptm-sub-nav__item-link:hover { + .cptm-sub-nav__item-link.active { color: #3e62f5; background: transparent; } .atbdp-cptm-tab-contents .listings_card_layout .cptm-sub-navigation - .cptm-sub-nav__item-link.active + .cptm-sub-nav__item-link:hover svg path, .atbdp-cptm-tab-contents .listings_card_layout .cptm-sub-navigation - .cptm-sub-nav__item-link:hover + .cptm-sub-nav__item-link.active svg path { stroke: #3e62f5; @@ -16853,19 +37405,21 @@ input:-webkit-autofill:hover { .atbdp-cptm-tab-contents .listings_card_layout .cptm-sub-navigation - .cptm-sub-nav__item-link.active:before, + .cptm-sub-nav__item-link:hover:before, .atbdp-cptm-tab-contents .listings_card_layout .cptm-sub-navigation - .cptm-sub-nav__item-link:hover:before { + .cptm-sub-nav__item-link.active:before { background: #3e62f5; } + .atbdp-cptm-tab-item { display: none; } .atbdp-cptm-tab-item.active { display: block; } + .cptm-tab-content-header { position: relative; background: transparent; @@ -16918,9 +37472,11 @@ input:-webkit-autofill:hover { right: 0; } } + .cptm-tab-content-body { display: block; } + .cptm-tab-content { position: relative; margin: 0 auto; @@ -16960,12 +37516,14 @@ input:-webkit-autofill:hover { top: 0; } } + .cptm-short-wide { max-width: 550px; width: 100%; margin-right: auto; margin-left: auto; } + .cptm-tab-sub-content-item { margin: 0 auto; display: none; @@ -16973,6 +37531,7 @@ input:-webkit-autofill:hover { .cptm-tab-sub-content-item.active { display: block; } + .cptm-row { display: -webkit-box; display: -webkit-flex; @@ -16983,6 +37542,7 @@ input:-webkit-autofill:hover { flex-wrap: wrap; margin: 0 -15px; } + .cptm-col-5 { -webkit-box-flex: 1; -webkit-flex-grow: 1; @@ -16997,6 +37557,7 @@ input:-webkit-autofill:hover { margin-bottom: 30px; } } + .cptm-col-6 { -webkit-box-flex: 1; -webkit-flex-grow: 1; @@ -17011,6 +37572,7 @@ input:-webkit-autofill:hover { margin-bottom: 30px; } } + .cptm-col-7 { -webkit-box-flex: 1; -webkit-flex-grow: 1; @@ -17025,6 +37587,7 @@ input:-webkit-autofill:hover { margin-bottom: 30px; } } + .cptm-section { position: relative; margin-bottom: 50px; @@ -17060,7 +37623,7 @@ input:-webkit-autofill:hover { -webkit-box-sizing: border-box; box-sizing: border-box; z-index: 10; - background: #fff; + background: #ffffff; border: 1px solid #e5e7eb; border-radius: 8px; -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); @@ -17180,35 +37743,32 @@ input:-webkit-autofill:hover { font-weight: 500; color: #4d5761; border-color: #e5e7eb; - background-color: #fff; + background-color: #ffffff; border-radius: 6px; } .cptm-section.preview_mode .directorist-footer-wrap .cptm-btn .cptm-save-icon { opacity: 0; visibility: hidden; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } .cptm-section.preview_mode .directorist-footer-wrap .cptm-btn:before { content: attr(data-info); + position: absolute; top: calc(100% + 8px); + left: 50%; + -webkit-transform: translateX(-50%); + transform: translateX(-50%); min-width: -webkit-max-content; min-width: -moz-max-content; min-width: max-content; text-align: center; - color: #fff; + color: #ffffff; font-size: 13px; font-weight: 500; padding: 10px 12px; border-radius: 6px; background-color: #141921; -} -.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn:after, -.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn:before { - position: absolute; - left: 50%; - -webkit-transform: translateX(-50%); - transform: translateX(-50%); opacity: 0; visibility: hidden; -webkit-transition: @@ -17220,10 +37780,22 @@ input:-webkit-autofill:hover { } .cptm-section.preview_mode .directorist-footer-wrap .cptm-btn:after { content: ""; + position: absolute; top: calc(100% + 2px); + left: 50%; + -webkit-transform: translateX(-50%); + transform: translateX(-50%); border-bottom: 6px solid #141921; border-left: 6px solid transparent; border-right: 6px solid transparent; + opacity: 0; + visibility: hidden; + -webkit-transition: + opacity 0.3s ease, + visibility 0.3s ease; + transition: + opacity 0.3s ease, + visibility 0.3s ease; } .cptm-section.preview_mode .directorist-footer-wrap .cptm-btn .cptm-save-icon { font-size: 16px; @@ -17231,9 +37803,12 @@ input:-webkit-autofill:hover { .cptm-section.preview_mode .directorist-footer-wrap .cptm-btn:hover - .cptm-save-icon, -.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn:hover:after, -.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn:hover:before { + .cptm-save-icon { + opacity: 1; + visibility: visible; +} +.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn:hover:before, +.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn:hover:after { opacity: 1; visibility: visible; } @@ -17253,10 +37828,11 @@ input:-webkit-autofill:hover { .cptm-section.listings_card_grid_view .cptm-form-field-wrapper, .cptm-section.listings_card_list_view .cptm-form-field-wrapper { max-width: 658px; + margin: 0 auto; padding: 24px; - margin: 0 auto 32px; + margin-bottom: 32px; border-radius: 0 0 8px 8px; - background: #fff; + background: #ffffff; border: 1px solid #e5e7eb; -webkit-box-sizing: border-box; box-sizing: border-box; @@ -17497,7 +38073,7 @@ input:-webkit-autofill:hover { position: relative; height: unset; padding: 8px 26px 8px 40px; - background: #fff; + background: #ffffff; border-radius: 4px; border: 1px solid #e5e7eb; -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); @@ -17521,8 +38097,8 @@ input:-webkit-autofill:hover { border: 2px solid #a1a9b2; -webkit-box-sizing: border-box; box-sizing: border-box; - -webkit-transition: border 0.3s ease; - transition: border 0.3s ease; + -webkit-transition: border ease 0.3s; + transition: border ease 0.3s; } .cptm-section.listings_card_grid_view .cptm-form-group-tab-list @@ -17646,6 +38222,7 @@ input:-webkit-autofill:hover { .cptm-section:last-child { margin-bottom: 0; } + .cptm-form-builder { display: -webkit-box; display: -webkit-flex; @@ -17706,6 +38283,7 @@ input:-webkit-autofill:hover { padding-bottom: 0; } } + .cptm-form-builder-sidebar { width: 100%; max-width: 372px; @@ -17730,6 +38308,7 @@ input:-webkit-autofill:hover { -webkit-box-sizing: border-box; box-sizing: border-box; } + .cptm-form-builder-content { height: auto; -webkit-box-flex: 1; @@ -17753,6 +38332,7 @@ input:-webkit-autofill:hover { min-height: calc(100vh - 225px); } } + .cptm-form-builder-action { display: -webkit-box; display: -webkit-flex; @@ -17767,14 +38347,16 @@ input:-webkit-autofill:hover { -ms-flex-align: center; align-items: center; padding: 18px 24px; - background: #fff; + background: #ffffff; } + .cptm-form-builder-action-title { font-size: 16px; line-height: 24px; font-weight: 500; color: #141921; } + .cptm-form-builder-action-btn { display: -webkit-box; display: -webkit-flex; @@ -17796,6 +38378,7 @@ input:-webkit-autofill:hover { border: 1px solid #d2d6db; border-radius: 4px; } + .cptm-elements-settings .cptm-form-builder-action-btn.directorist-row-tooltip[data-tooltip]:after, .cptm-form-builder-sidebar @@ -17807,9 +38390,11 @@ input:-webkit-autofill:hover { -webkit-box-sizing: border-box; box-sizing: border-box; } + .cptm-form-builder-preset-fields:not(:last-child) { margin-bottom: 40px; } + .cptm-form-builder-preset-fields-header-action-link { display: -webkit-box; display: -webkit-flex; @@ -17827,6 +38412,7 @@ input:-webkit-autofill:hover { -webkit-box-shadow: none; box-shadow: none; } + .cptm-form-builder-preset-fields-header-action-text { -webkit-box-flex: 1; -webkit-flex: 1; @@ -17836,9 +38422,11 @@ input:-webkit-autofill:hover { font-weight: 600; color: #4d5761; } + .cptm-form-builder-preset-fields-header-action-link { color: #747c89; } + .cptm-title-3 { margin: 0; color: #272b41; @@ -17849,11 +38437,13 @@ input:-webkit-autofill:hover { font-weight: 500; font-size: 18px; } + .cptm-description-text { margin: 5px 0 20px; color: #5a5f7d; font-size: 15px; } + .cptm-form-builder-active-fields { display: block; height: 100%; @@ -17921,11 +38511,13 @@ input:-webkit-autofill:hover { background: #3e62f5; color: #fff; } + .cptm-form-builder-active-fields-container { position: relative; margin: 0; z-index: 1; } + .cptm-form-builder-active-fields-footer { text-align: left; } @@ -17947,7 +38539,8 @@ input:-webkit-autofill:hover { gap: 8px; height: 40px; color: #3e62f5; - background: #fff; + background: #ffffff; + border: 0 none; margin: 16px 0 0; font-size: 14px; font-weight: 600; @@ -17959,11 +38552,13 @@ input:-webkit-autofill:hover { .cptm-form-builder-active-fields-footer .cptm-btn span { font-size: 16px; } + .cptm-form-builder-active-fields-group { position: relative; margin-bottom: 6px; padding-bottom: 0; } + .cptm-form-builder-group-header-section { position: relative; } @@ -18049,27 +38644,34 @@ input:-webkit-autofill:hover { .directorist-form-fields-area { padding: 24px; } + .cptm-form-builder-group-header { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; border-radius: 6px; - background-color: #fff; + background-color: #ffffff; border: 1px solid #e5e7eb; overflow: hidden; - -webkit-transition: border-radius 1s ease; - transition: border-radius 1s ease; + -webkit-transition: border-radius ease 1s; + transition: border-radius ease 1s; } -.cptm-form-builder-group-header, + .cptm-form-builder-group-header-content { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + gap: 8px; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -} -.cptm-form-builder-group-header-content { - gap: 8px; -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; @@ -18078,23 +38680,28 @@ input:-webkit-autofill:hover { -webkit-box-sizing: border-box; box-sizing: border-box; } + div[draggable="true"].cptm-form-builder-group-header-content { cursor: move; } + .cptm-form-builder-group-header-content__dropable-wrapper { -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; flex-grow: 1; } + .cptm-no-wrap { -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; } + .cptm-card-top-area { max-width: 450px; - margin: 0 auto 10px; + margin: 0 auto; + margin-bottom: 10px; } .cptm-card-top-area > .form-group .cptm-form-control { background: none; @@ -18107,16 +38714,18 @@ div[draggable="true"].cptm-form-builder-group-header-content { .cptm-card-top-area > .form-group .cptm-template-type-wrapper:before { content: "\f110"; position: absolute; - font-family: LineAwesome; + font-family: "LineAwesome"; right: 20px; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); pointer-events: none; } + .cptm-form-builder-group-header-content__dropable-placeholder { margin-right: 15px; } + .cptm-form-builder-header-actions { display: -webkit-box; display: -webkit-flex; @@ -18128,6 +38737,7 @@ div[draggable="true"].cptm-form-builder-group-header-content { align-items: center; gap: 8px; } + .cptm-form-builder-group-actions-dropdown-content.expanded { position: absolute; width: 200px; @@ -18147,7 +38757,7 @@ div[draggable="true"].cptm-form-builder-group-header-content { -ms-flex-align: center; align-items: center; color: #d94a4a; - background: #fff; + background: #ffffff; padding: 10px 15px; width: 100%; height: 50px; @@ -18160,13 +38770,13 @@ div[draggable="true"].cptm-form-builder-group-header-content { -webkit-box-shadow: 0 12px 16px rgba(16, 24, 40, 0.08); box-shadow: 0 12px 16px rgba(16, 24, 40, 0.08); -webkit-transition: - background 0.3s ease, - color 0.3s ease, - border-color 0.3s ease; + background ease 0.3s, + color ease 0.3s, + border-color ease 0.3s; transition: - background 0.3s ease, - color 0.3s ease, - border-color 0.3s ease; + background ease 0.3s, + color ease 0.3s, + border-color ease 0.3s; } .cptm-form-builder-group-actions-dropdown-content.expanded .cptm-form-builder-field-item-action-link @@ -18175,15 +38785,17 @@ div[draggable="true"].cptm-form-builder-group-header-content { } .cptm-form-builder-group-actions-dropdown-content.expanded .cptm-form-builder-field-item-action-link:hover { - color: #fff; + color: #ffffff; background: #d94a4a; border-color: #d94a4a; } + .cptm-form-builder-group-actions { display: block; min-width: 34px; margin-left: 15px; } + .cptm-form-builder-group-title { display: -webkit-box; display: -webkit-flex; @@ -18208,6 +38820,7 @@ div[draggable="true"].cptm-form-builder-group-header-content { font-size: 13px; } } + .cptm-form-builder-group-title-icon { display: -webkit-box; display: -webkit-flex; @@ -18239,6 +38852,7 @@ div[draggable="true"].cptm-form-builder-group-header-content { font-size: 18px; } } + .cptm-form-builder-group-options { background-color: #fff; padding: 20px; @@ -18260,8 +38874,8 @@ div[draggable="true"].cptm-form-builder-group-header-content { box-shadow: none; color: #2e94fa; text-decoration: underline; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; cursor: pointer; } .cptm-form-builder-group-options .directorist-form-fields-advanced:hover { @@ -18284,6 +38898,7 @@ div[draggable="true"].cptm-form-builder-group-header-content { margin-top: -7px; cursor: pointer; } + .cptm-form-builder-group-fields { display: block; position: relative; @@ -18295,13 +38910,14 @@ div[draggable="true"].cptm-form-builder-group-header-content { -webkit-box-shadow: 0 4px 8px rgba(16, 24, 40, 0.08); box-shadow: 0 4px 8px rgba(16, 24, 40, 0.08); } + .icon-picker-selector { margin: 0; padding: 3px 4px 3px 16px; border: 1px solid #d2d6db; border-radius: 8px; - -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); - box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); + -webkit-box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05); + box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05); } .icon-picker-selector .icon-picker-selector__icon { display: -webkit-box; @@ -18353,12 +38969,13 @@ div[draggable="true"].cptm-form-builder-group-header-content { color: #2c3239; border-radius: 6px; background-color: #e5e7eb; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } .icon-picker-selector .icon-picker-selector__btn:hover { background-color: #e3e6e9; } + .cptm-restricted-area { position: absolute; top: 0; @@ -18380,13 +38997,22 @@ div[draggable="true"].cptm-form-builder-group-header-content { align-items: center; padding: 10px; text-align: center; - background: hsla(0, 0%, 100%, 0.8); + background: rgba(255, 255, 255, 0.8); } + .cptm-form-builder-group-field-item { margin-bottom: 8px; position: relative; } .cptm-form-builder-group-field-item .cptm-form-builder-group-field-item-drag { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; @@ -18399,21 +39025,17 @@ div[draggable="true"].cptm-form-builder-group-header-content { border-radius: 6px 0 0 6px; cursor: move; } -.cptm-form-builder-group-field-item .cptm-form-builder-group-field-item-drag, .cptm-form-builder-group-field-item .cptm-form-builder-group-field-item-header-content { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + gap: 8px; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -} -.cptm-form-builder-group-field-item - .cptm-form-builder-group-field-item-header-content { - gap: 8px; -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; @@ -18430,6 +39052,7 @@ div[draggable="true"].cptm-form-builder-group-header-content { border-color: #3e62f5; border-bottom: none; } + .cptm-form-builder-group-field-item-actions { display: block; position: absolute; @@ -18437,6 +39060,7 @@ div[draggable="true"].cptm-form-builder-group-header-content { -webkit-transform: translate(34px, 7px); transform: translate(34px, 7px); } + .cptm-form-builder-group-field-item-action-link { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -18457,18 +39081,23 @@ div[draggable="true"].cptm-form-builder-group-header-content { height: 34px; text-align: center; color: #868eae; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } + .action-trash:hover { color: #e62626; background-color: rgba(255, 0, 0, 0.15); +} + +.action-trash:hover { background-color: #d7d7d7; } .action-trash:hover:hover { color: #e62626; background-color: rgba(255, 0, 0, 0.15); } + .cptm-form-builder-header-action-link { display: -webkit-box; display: -webkit-flex; @@ -18489,12 +39118,12 @@ div[draggable="true"].cptm-form-builder-group-header-content { border: 1px solid #e5e7eb; border-radius: 6px; outline: none; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } -.cptm-form-builder-header-action-link:active, +.cptm-form-builder-header-action-link:hover, .cptm-form-builder-header-action-link:focus, -.cptm-form-builder-header-action-link:hover { +.cptm-form-builder-header-action-link:active { color: #141921; background-color: #f3f4f6; border-color: #e5e7eb; @@ -18512,6 +39141,7 @@ div[draggable="true"].cptm-form-builder-group-header-content { color: #a1a9b2; pointer-events: none; } + .cptm-form-builder-header-toggle-link { display: -webkit-box; display: -webkit-flex; @@ -18533,8 +39163,8 @@ div[draggable="true"].cptm-form-builder-group-header-content { -webkit-box-shadow: none !important; box-shadow: none !important; outline: none !important; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } @media only screen and (max-width: 480px) { .cptm-form-builder-header-toggle-link { @@ -18550,23 +39180,29 @@ div[draggable="true"].cptm-form-builder-group-header-content { opacity: 0.5; pointer-events: none; } + .action-collapse-up span { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; -webkit-transform: rotate(0); transform: rotate(0); } -.action-collapse-down span, -.action-collapse-up span { + +.action-collapse-down span { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; -} -.action-collapse-down span { + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; -webkit-transform: rotate(180deg); transform: rotate(180deg); } + .cptm-form-builder-group-field-item-header { display: -webkit-box; display: -webkit-flex; @@ -18578,8 +39214,8 @@ div[draggable="true"].cptm-form-builder-group-header-content { align-items: center; border-radius: 6px; border: 1px solid #e5e7eb; - -webkit-transition: border-radius 1s ease; - transition: border-radius 1s ease; + -webkit-transition: border-radius ease 1s; + transition: border-radius ease 1s; } .cptm-form-builder-group-field-item-header .cptm-form-builder-group-field-item-title { @@ -18587,14 +39223,21 @@ div[draggable="true"].cptm-form-builder-group-header-content { -webkit-flex: 1; -ms-flex: 1; flex: 1; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; font-size: 14px; line-height: 16px; font-weight: 500; color: #141921; margin: 0; } -.cptm-form-builder-group-field-item-header - .cptm-form-builder-group-field-item-title, .cptm-form-builder-group-field-item-header .cptm-form-builder-group-field-item-title .cptm-form-builder-group-field-item-label { @@ -18677,7 +39320,7 @@ div[draggable="true"].cptm-form-builder-group-header-content { min-width: 180px; max-width: 180px; text-align: center; - color: #fff; + color: #ffffff; font-size: 13px; font-weight: 500; padding: 10px 12px; @@ -18713,10 +39356,10 @@ div[draggable="true"].cptm-form-builder-group-header-content { } .cptm-form-builder-group-field-item-header .cptm-form-builder-group-field-item-title - .cptm-title-info-tooltip:hover:after, + .cptm-title-info-tooltip:hover:before, .cptm-form-builder-group-field-item-header .cptm-form-builder-group-field-item-title - .cptm-title-info-tooltip:hover:before { + .cptm-title-info-tooltip:hover:after { opacity: 1; visibility: visible; z-index: 1; @@ -18763,12 +39406,14 @@ div[draggable="true"].cptm-form-builder-group-header-content { -webkit-box-shadow: none; box-shadow: none; } + .cptm-form-builder-group-field-item-body { padding: 24px; border: 1.5px solid #3e62f5; border-top-width: 1px; border-radius: 0 0 6px 6px; } + .cptm-form-builder-group-item-drag { display: -webkit-box; display: -webkit-flex; @@ -18802,6 +39447,7 @@ div[draggable="true"].cptm-form-builder-group-header-content { font-size: 18px; } } + .cptm-form-builder-field-list { padding: 0; margin: 0; @@ -18817,10 +39463,15 @@ div[draggable="true"].cptm-form-builder-group-header-content { .cptm-form-builder-field-list .directorist-draggable-list-item { position: unset; } + .cptm-form-builder-field-list-item { width: calc(50% - 4px); padding: 12px; margin: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; @@ -18829,15 +39480,14 @@ div[draggable="true"].cptm-form-builder-group-header-content { -ms-flex-wrap: wrap; flex-wrap: wrap; list-style: none; - background-color: #fff; + background-color: #ffffff; border: 1px solid #d2d6db; border-radius: 4px; -webkit-box-sizing: border-box; box-sizing: border-box; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } -.cptm-form-builder-field-list-item, .cptm-form-builder-field-list-item .directorist-draggable-list-item-slot { display: -webkit-box; display: -webkit-flex; @@ -18860,9 +39510,11 @@ div[draggable="true"].cptm-form-builder-group-header-content { width: calc(100% - 6px); } } + li[class="cptm-form-builder-field-list-item"][draggable="true"] { cursor: move; } + .cptm-form-builder-field-list-item { position: relative; } @@ -18875,6 +39527,7 @@ li[class="cptm-form-builder-field-list-item"][draggable="true"] { line-height: 12px; color: #f80718; } + .cptm-form-builder-field-list-icon { display: inline-block; margin-right: 8px; @@ -18883,17 +39536,20 @@ li[class="cptm-form-builder-field-list-item"][draggable="true"] { font-size: 20px; color: #141921; } + .cptm-form-builder-field-list-item-icon { font-size: 14px; margin-right: 1px; } -.cptm-form-builder-field-list-item-label, -.cptm-form-builder-field-list-label { + +.cptm-form-builder-field-list-label, +.cptm-form-builder-field-list-item-label { display: inline-block; font-size: 13px; font-weight: 500; color: #141921; } + .cptm-option-card--draggable .cptm-form-builder-field-list { display: -webkit-box; display: -webkit-flex; @@ -18952,10 +39608,10 @@ li[class="cptm-form-builder-field-list-item"][draggable="true"] { } .cptm-option-card--draggable .cptm-form-builder-field-list - .cptm-form-builder-field-list-item-action, + .cptm-form-builder-field-list-item-edit, .cptm-option-card--draggable .cptm-form-builder-field-list - .cptm-form-builder-field-list-item-edit { + .cptm-form-builder-field-list-item-action { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -18971,21 +39627,21 @@ li[class="cptm-form-builder-field-list-item"][draggable="true"] { color: #747c89; border-radius: 6px; cursor: pointer; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .cptm-option-card--draggable .cptm-form-builder-field-list - .cptm-form-builder-field-list-item-action.active, + .cptm-form-builder-field-list-item-edit.active, .cptm-option-card--draggable .cptm-form-builder-field-list - .cptm-form-builder-field-list-item-action:hover, + .cptm-form-builder-field-list-item-edit:hover, .cptm-option-card--draggable .cptm-form-builder-field-list - .cptm-form-builder-field-list-item-edit.active, + .cptm-form-builder-field-list-item-action.active, .cptm-option-card--draggable .cptm-form-builder-field-list - .cptm-form-builder-field-list-item-edit:hover { + .cptm-form-builder-field-list-item-action:hover { color: #0e3bf2; } .cptm-option-card--draggable @@ -18996,7 +39652,7 @@ li[class="cptm-form-builder-field-list-item"][draggable="true"] { .cptm-option-card--draggable .cptm-form-builder-field-list .cptm-widget-options-container { - padding: 15px 0 22px; + padding: 15px 0 22px 0; } .cptm-option-card--draggable .cptm-form-builder-field-list @@ -19099,9 +39755,11 @@ li[class="cptm-form-builder-field-list-item"][draggable="true"] { .cptm-widget-options-container { padding-left: 25px; } + .cptm-info-text-area { margin-bottom: 10px; } + .cptm-info-text { display: -webkit-box; display: -webkit-flex; @@ -19121,22 +39779,25 @@ li[class="cptm-form-builder-field-list-item"][draggable="true"] { border-radius: 4px; background: #daeeff; } + .cptm-info-success { color: #00b158; } + .cptm-mb-0 { margin-bottom: 0 !important; } + .cptm-item-footer-drop-area { position: absolute; left: 0; bottom: 0; width: 100%; height: 20px; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; - -webkit-transform: translateY(100%); - transform: translateY(100%); + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + -webkit-transform: translate(0, 100%); + transform: translate(0, 100%); z-index: 5; } .cptm-item-footer-drop-area.drag-enter { @@ -19145,18 +39806,20 @@ li[class="cptm-form-builder-field-list-item"][draggable="true"] { .cptm-item-footer-drop-area.cptm-group-item-drop-area { height: 40px; } + .cptm-form-builder-group-field-item-drop-area { height: 20px; position: absolute; bottom: -20px; z-index: 5; width: 100%; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .cptm-form-builder-group-field-item-drop-area.drag-enter { background-color: rgba(23, 135, 255, 0.3); } + .cptm-checkbox-area, .cptm-options-area { display: -webkit-box; @@ -19172,9 +39835,11 @@ li[class="cptm-form-builder-field-list-item"][draggable="true"] { right: 0; left: 0; } + .cptm-checkbox-area .cptm-checkbox-item:not(:last-child) { margin-bottom: 10px; } + @media (max-width: 1300px) { .cptm-checkbox-area, .cptm-options-area { @@ -19183,17 +39848,18 @@ li[class="cptm-form-builder-field-list-item"][draggable="true"] { } .cptm-checkbox-item, .cptm-radio-item { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; margin-right: 20px; } -.cptm-checkbox-item, -.cptm-radio-item, + .cptm-tab-area { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -} -.cptm-tab-area { -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; @@ -19215,18 +39881,20 @@ li[class="cptm-form-builder-field-list-item"][draggable="true"] { color: #747c89; background: #e5e7eb; cursor: pointer; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .cptm-tab-area .cptm-tab-item label:hover { color: #fff; background-color: #3e62f5; } + @media screen and (max-width: 782px) { .enable_schema_markup .atbdp-label-icon-wrapper { margin-bottom: 15px !important; } } + .cptm-schema-tab-area { display: -webkit-box; display: -webkit-flex; @@ -19268,8 +39936,8 @@ li[class="cptm-form-builder-field-list-item"][draggable="true"] { background-color: #3e62f5 !important; border-color: #3e62f5 !important; } -.cptm-schema-tab-wrapper input[type="radio"]:checked:before { - background-color: #fff !important; +.cptm-schema-tab-wrapper input[type="radio"]:checked::before { + background-color: white !important; } .cptm-schema-tab-item { display: -webkit-box; @@ -19285,8 +39953,8 @@ li[class="cptm-form-builder-field-list-item"][draggable="true"] { border-radius: 8px; border: 1px solid rgba(0, 17, 102, 0.1); background-color: #fff; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } @media screen and (max-width: 782px) { .cptm-schema-tab-item { @@ -19305,7 +39973,7 @@ li[class="cptm-form-builder-field-list-item"][draggable="true"] { .cptm-schema-tab-item input[type="radio"]:checked:before { width: 0.5rem; height: 0.5rem; - margin: 3px; + margin: 3px 3px; line-height: 1.14285714; } } @@ -19337,28 +40005,29 @@ li[class="cptm-form-builder-field-list-item"][draggable="true"] { line-height: 20px; cursor: pointer; margin: 0 !important; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .cptm-schema .cptm-schema-label { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 6px; -} -.cptm-schema-label-badge, -.cptm-schema .cptm-schema-label { -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; + gap: 6px; } .cptm-schema-label-badge { display: none; height: 20px; - padding: 0 8px; + padding: 0px 8px; border-radius: 4px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; background-color: #e3ecf2; color: rgba(0, 8, 51, 0.65); font-size: 12px; @@ -19375,19 +40044,19 @@ li[class="cptm-form-builder-field-list-item"][draggable="true"] { line-height: 18px; margin-top: 2px; } + #listing_settings__listings_page .cptm-checkbox-item:not(:last-child) { margin-bottom: 10px; } + input[type="checkbox"].cptm-checkbox { display: none; } input[type="checkbox"].cptm-checkbox:checked + .cptm-checkbox-ui { color: #3e62f5; } -input[type="checkbox"].cptm-checkbox:checked + .cptm-checkbox-ui:before { - font-family: - Font Awesome\5 Free, - Font Awesome\5 Brands; +input[type="checkbox"].cptm-checkbox:checked + .cptm-checkbox-ui::before { + font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands"; font-weight: 900; color: #fff; content: "\f00c"; @@ -19398,9 +40067,11 @@ input[type="checkbox"].cptm-checkbox:checked + .cptm-checkbox-ui:after { border-color: #00b158; z-index: -1; } + input[type="radio"].cptm-radio { margin-top: 1px; } + .cptm-form-range-wrap { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -19423,6 +40094,7 @@ input[type="radio"].cptm-radio { padding: 10px 20px; background-color: #fff; } + .cptm-checkbox-ui { display: inline-block; min-width: 16px; @@ -19430,7 +40102,7 @@ input[type="radio"].cptm-radio { z-index: 1; margin-right: 12px; } -.cptm-checkbox-ui:before { +.cptm-checkbox-ui::before { font-size: 10px; line-height: 1; font-weight: 900; @@ -19447,11 +40119,13 @@ input[type="radio"].cptm-radio { border: 1px solid #c6d0dc; content: ""; } + .cptm-vh { overflow: hidden; overflow-y: auto; max-height: 100vh; } + .cptm-thumbnail { max-width: 350px; width: 100%; @@ -19472,6 +40146,7 @@ input[type="radio"].cptm-radio { width: 100%; height: auto; } + .cptm-thumbnail-placeholder { display: -webkit-box; display: -webkit-flex; @@ -19486,6 +40161,7 @@ input[type="radio"].cptm-radio { -ms-flex-pack: center; justify-content: center; } + .cptm-thumbnail-placeholder-icon { font-size: 40px; color: #d2d6db; @@ -19494,9 +40170,11 @@ input[type="radio"].cptm-radio { width: 40px; height: 40px; } + .cptm-thumbnail-img-wrap { position: relative; } + .cptm-thumbnail-action { display: inline-block; position: absolute; @@ -19507,9 +40185,10 @@ input[type="radio"].cptm-radio { border-radius: 50%; margin: 10px; cursor: pointer; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } + .cptm-sub-navigation { display: -webkit-box; display: -webkit-flex; @@ -19542,13 +40221,26 @@ input[type="radio"].cptm-radio { padding: 10px; } } + .cptm-sub-nav__item { list-style: none; margin: 0; } + .cptm-sub-nav__item-link { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; gap: 7px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; text-decoration: none; + height: 32px; + padding: 0 10px; + color: #4d5761; font-size: 14px; line-height: 14px; font-weight: 500; @@ -19556,8 +40248,10 @@ input[type="radio"].cptm-radio { -webkit-transition: 0.3s ease; transition: 0.3s ease; } -.cptm-sub-nav__item-link, .cptm-sub-nav__item-link .cptm-sub-nav__item-tooltip { + padding: 0 10px; + margin-right: -10px; + height: 32px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -19566,17 +40260,12 @@ input[type="radio"].cptm-radio { -webkit-align-items: center; -ms-flex-align: center; align-items: center; - height: 32px; - padding: 0 10px; - color: #4d5761; -} -.cptm-sub-nav__item-link .cptm-sub-nav__item-tooltip { - margin-right: -10px; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; background: transparent; + color: #4d5761; border-radius: 0 4px 4px 0; } .cptm-sub-nav__item-link .cptm-sub-nav__item-tooltip svg path { @@ -19606,16 +40295,19 @@ input[type="radio"].cptm-radio { } .cptm-sub-nav__item-link.active { color: #141921; - background: #fff; + background: #ffffff; +} +.cptm-sub-nav__item-link.active .cptm-sub-nav__item-icon svg path { + stroke: #141921; } -.cptm-sub-nav__item-link.active .cptm-sub-nav__item-icon svg path, .cptm-sub-nav__item-link.active .cptm-sub-nav__item-tooltip svg path { stroke: #141921; } .cptm-sub-nav__item-link:hover:not(.active) { color: #141921; - background: #fff; + background: #ffffff; } + .cptm-builder-section { display: -webkit-box; display: -webkit-flex; @@ -19635,10 +40327,12 @@ input[type="radio"].cptm-radio { flex-direction: column; } } + .cptm-options-area { width: 320px; margin: 0; } + .cptm-option-card { display: none; opacity: 0; @@ -19647,17 +40341,17 @@ input[type="radio"].cptm-radio { text-align: left; -webkit-transform-origin: center; transform-origin: center; - background: #fff; + background: #ffffff; border-radius: 4px; -webkit-box-shadow: 0 8px 16px 0 rgba(16, 24, 40, 0.1); box-shadow: 0 8px 16px 0 rgba(16, 24, 40, 0.1); - -webkit-transition: all 0.3s linear; - transition: all 0.3s linear; + -webkit-transition: all linear 300ms; + transition: all linear 300ms; pointer-events: none; } .cptm-option-card:before { content: ""; - border-bottom: 7px solid #fff; + border-bottom: 7px solid #ffffff; border-left: 7px solid transparent; border-right: 7px solid transparent; position: absolute; @@ -19665,12 +40359,12 @@ input[type="radio"].cptm-radio { right: 22px; } .cptm-option-card.cptm-animation-flip { - -webkit-transform: rotateY(45deg); - transform: rotateY(45deg); + -webkit-transform: rotate3d(0, 1, 0, 45deg); + transform: rotate3d(0, 1, 0, 45deg); } .cptm-option-card.cptm-animation-slide-up { - -webkit-transform: translateY(30px); - transform: translateY(30px); + -webkit-transform: translate(0, 30px); + transform: translate(0, 30px); } .cptm-option-card.active { display: block; @@ -19682,9 +40376,10 @@ input[type="radio"].cptm-radio { transform: rotate3d(0, 0, 0, 0deg); } .cptm-option-card.active.cptm-animation-slide-up { - -webkit-transform: translate(0); - transform: translate(0); + -webkit-transform: translate(0, 0); + transform: translate(0, 0); } + .cptm-anchor-down { display: block; text-align: center; @@ -19700,21 +40395,24 @@ input[type="radio"].cptm-radio { border-right: 15px solid transparent; border-top: 15px solid #fff; } + .cptm-header-action-link { display: inline-block; padding: 0 10px; text-decoration: none; color: #2c3239; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .cptm-header-action-link:hover { color: #1890ff; } + .cptm-option-card-header { padding: 8px 16px; border-bottom: 1px solid #e5e7eb; } + .cptm-option-card-header-title-section { display: -webkit-box; display: -webkit-flex; @@ -19726,6 +40424,7 @@ input[type="radio"].cptm-radio { -ms-flex-align: center; align-items: center; } + .cptm-option-card-header-title { -webkit-box-flex: 1; -webkit-flex-grow: 1; @@ -19738,6 +40437,7 @@ input[type="radio"].cptm-radio { line-height: 24px; color: #141921; } + .cptm-header-action-area { display: -webkit-box; display: -webkit-flex; @@ -19753,9 +40453,11 @@ input[type="radio"].cptm-radio { -ms-flex-align: center; align-items: center; } + .cptm-option-card-header-nav-section { display: block; } + .cptm-option-card-header-nav { display: -webkit-box; display: -webkit-flex; @@ -19767,8 +40469,9 @@ input[type="radio"].cptm-radio { flex-wrap: wrap; padding: 0; margin: 0; - background-color: hsla(0, 0%, 100%, 0.15); + background-color: rgba(255, 255, 255, 0.15); } + .cptm-option-card-header-nav-item { display: block; -webkit-box-flex: 1; @@ -19779,12 +40482,13 @@ input[type="radio"].cptm-radio { padding: 8px 10px; cursor: pointer; margin-bottom: 0; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .cptm-option-card-header-nav-item.active { - background-color: hsla(0, 0%, 100%, 0.15); + background-color: rgba(255, 255, 255, 0.15); } + .cptm-option-card-body { padding: 16px; max-height: 500px; @@ -19831,16 +40535,19 @@ input[type="radio"].cptm-radio { .cptm-option-card-body .directorist-type-icon-select { margin-bottom: 20px; } -.cptm-option-card-body .directorist-type-icon-select .icon-picker-selector, -.cptm-widget-actions, -.cptm-widget-actions-area { +.cptm-option-card-body .directorist-type-icon-select .icon-picker-selector { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } + .cptm-widget-actions, .cptm-widget-actions-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; gap: 4px; -webkit-box-align: center; -webkit-align-items: center; @@ -19856,14 +40563,16 @@ input[type="radio"].cptm-radio { left: 50%; -webkit-transform: translate(-50%, 3px); transform: translate(-50%, 3px); - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 0.3s; + transition: all ease-in-out 0.3s; z-index: 1; } + .cptm-widget-actions-wrap { position: relative; width: 100%; } + .cptm-widget-action-modal-container { position: absolute; left: 50%; @@ -19892,11 +40601,13 @@ input[type="radio"].cptm-radio { max-width: 250px; } } + .cptm-widget-insert-modal-container .cptm-option-card:before { right: 50%; -webkit-transform: translateX(50%); transform: translateX(50%); } + .cptm-widget-option-modal-container .cptm-option-card:before { right: unset; left: 50%; @@ -19923,19 +40634,17 @@ input[type="radio"].cptm-radio { -webkit-box-shadow: none; box-shadow: none; } -.cptm-widget-option-modal-container .cptm-option-card-header-title, -.cptm-widget-option-modal-container .cptm-option-card-header-title-section { +.cptm-widget-option-modal-container .cptm-option-card-header-title-section, +.cptm-widget-option-modal-container .cptm-option-card-header-title { color: #2c3239; } + .cptm-widget-actions-area { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; gap: 4px; -} -.cptm-widget-action-link, -.cptm-widget-actions-area { -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; @@ -19945,11 +40654,20 @@ input[type="radio"].cptm-radio { -ms-flex-pack: center; justify-content: center; } + .cptm-widget-action-link { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; width: 28px; height: 28px; border-radius: 50%; @@ -19961,8 +40679,8 @@ input[type="radio"].cptm-radio { color: #3e62f5; -webkit-box-sizing: border-box; box-sizing: border-box; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .cptm-widget-action-link:focus { outline: none; @@ -19976,27 +40694,30 @@ input[type="radio"].cptm-radio { .cptm-widget-action-link:hover svg path { fill: #fff; } + .cptm-widget-card-drop-prepend { border-radius: 8px; } + .cptm-widget-card-drop-append { display: block; width: 100%; height: 0; border-radius: 8px; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; background-color: transparent; border: 1px dashed transparent; } .cptm-widget-card-drop-append.dropable { margin: 3px 0; height: 10px; - border-color: #6495ed; + border-color: cornflowerblue; } .cptm-widget-card-drop-append.drag-enter { - background-color: #6495ed; + background-color: cornflowerblue; } + .cptm-widget-card-wrap { visibility: visible; } @@ -20116,18 +40837,19 @@ input[type="radio"].cptm-radio { height: 20px; font-size: 14px; color: #d94a4a; - background: #fff; + background: #ffffff; border: 1px solid #d94a4a; border-radius: 50%; cursor: pointer; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .cptm-widget-card-wrap.cptm-widget-title-card-wrap .cptm-widget-badge-trash:hover { - color: #fff; + color: #ffffff; background: #d94a4a; } + .cptm-widget-card-inline-wrap { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -20145,6 +40867,7 @@ input[type="radio"].cptm-radio { width: 10px; max-width: 10px; } + .cptm-widget-badge { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -20159,14 +40882,14 @@ input[type="radio"].cptm-radio { border-radius: 5px; font-size: 12px; font-weight: 400; - background-color: #fff; + background-color: #ffffff; -webkit-transition: 0.3s ease; transition: 0.3s ease; position: relative; height: 32px; padding: 0 10px; border-radius: 4px; - background: #fff; + background: #ffffff; border: 1px solid #e5e7eb; -webkit-box-sizing: border-box; box-sizing: border-box; @@ -20202,8 +40925,8 @@ input[type="radio"].cptm-radio { .cptm-widget-badge .cptm-widget-badge-trash { margin-left: 4px; cursor: pointer; - -webkit-transition: color 0.3s ease; - transition: color 0.3s ease; + -webkit-transition: color ease 0.3s; + transition: color ease 0.3s; } .cptm-widget-badge .cptm-widget-badge-trash:hover { color: #3e62f5; @@ -20230,12 +40953,14 @@ input[type="radio"].cptm-radio { .cptm-widget-badge.cptm-widget-badge--icon .cptm-widget-badge-icon { font-size: 12px; } + .cptm-preview-area { -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; flex-grow: 1; } + .cptm-preview-wrapper { display: -webkit-box !important; display: -webkit-flex !important; @@ -20270,6 +40995,7 @@ input[type="radio"].cptm-radio { .cptm-preview-wrapper .cptm-preview-area-archive img { max-height: 100px; } + .cptm-preview-notice { display: -webkit-box; display: -webkit-flex; @@ -20342,10 +41068,10 @@ input[type="radio"].cptm-radio { font-weight: 500; border-radius: 8px; color: #747c89; - background: #fff; + background: #ffffff; border: 1px solid #d2d6db; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } .cptm-preview-notice .cptm-preview-notice-action @@ -20360,6 +41086,7 @@ input[type="radio"].cptm-radio { path { fill: #3e62f5; } + .cptm-widget-thumb .cptm-widget-thumb-icon { display: -webkit-box; display: -webkit-flex; @@ -20376,6 +41103,7 @@ input[type="radio"].cptm-radio { font-weight: 400; color: #141921; } + .cptm-placeholder-block-wrapper { display: -webkit-box; display: -webkit-flex; @@ -20529,14 +41257,14 @@ input[type="radio"].cptm-radio { margin-left: 8px; } .cptm-placeholder-block-wrapper - .cptm-listing-card-preview-rating-placeholder + .cptm-listing-card-preview-tagline-placeholder .cptm-placeholder-label, .cptm-placeholder-block-wrapper - .cptm-listing-card-preview-tagline-placeholder + .cptm-listing-card-preview-rating-placeholder .cptm-placeholder-label { left: 12px; - -webkit-transform: translateY(-50%); - transform: translateY(-50%); + -webkit-transform: translate(0, -50%); + transform: translate(0, -50%); font-size: 13px; font-weight: 400; color: #4d5761; @@ -20557,25 +41285,26 @@ input[type="radio"].cptm-radio { .dndrop-draggable-wrapper.is-dragging { opacity: 0; } + .cptm-placeholder-block { position: relative; padding: 8px; background: #a1a9b2; border: 1px dashed #d2d6db; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; -webkit-box-sizing: border-box; box-sizing: border-box; border-radius: 4px; } -.cptm-placeholder-block.cptm-widget-picker-open, +.cptm-placeholder-block:hover, .cptm-placeholder-block.drag-enter, -.cptm-placeholder-block:hover { - border-color: #fff; +.cptm-placeholder-block.cptm-widget-picker-open { + border-color: rgb(255, 255, 255); } -.cptm-placeholder-block.cptm-widget-picker-open .cptm-widget-insert-area, +.cptm-placeholder-block:hover .cptm-widget-insert-area, .cptm-placeholder-block.drag-enter .cptm-widget-insert-area, -.cptm-placeholder-block:hover .cptm-widget-insert-area { +.cptm-placeholder-block.cptm-widget-picker-open .cptm-widget-insert-area { opacity: 1; visibility: visible; } @@ -20596,25 +41325,30 @@ input[type="radio"].cptm-radio { .cptm-placeholder-block.cptm-widget-picker-open { z-index: 100; } + .cptm-placeholder-label { margin: 0; text-align: center; + margin-bottom: 0; + text-align: center; position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); z-index: 0; - color: hsla(0, 0%, 100%, 0.4); + color: rgba(255, 255, 255, 0.4); font-size: 14px; font-weight: 500; } .cptm-placeholder-label.hide { display: none; } + .cptm-listing-card-preview-footer .cptm-placeholder-label { color: #868eae; } + .dndrop-ghost.dndrop-draggable-wrapper { display: -webkit-box; display: -webkit-flex; @@ -20657,6 +41391,7 @@ input[type="radio"].cptm-radio { -ms-flex: 1; flex: 1; } + .cptm-center-content { display: -webkit-box; display: -webkit-flex; @@ -20681,15 +41416,19 @@ input[type="radio"].cptm-radio { -ms-flex-positive: 1; flex-grow: 1; } + .cptm-mb-10 { margin-bottom: 10px !important; } + .cptm-mb-12 { margin-bottom: 12px !important; } + .cptm-mb-20 { margin-bottom: 20px !important; } + .cptm-listing-card-body-header { display: -webkit-box; display: -webkit-flex; @@ -20699,25 +41438,31 @@ input[type="radio"].cptm-radio { -ms-flex-wrap: wrap; flex-wrap: wrap; } + .cptm-align-left { text-align: left; } + .cptm-listing-card-body-header-left { -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; flex-grow: 1; } + .cptm-listing-card-body-header-right { width: 100px; margin-left: 10px; } -.cptm-card-preview-area-wrap, -.cptm-card-preview-widget { + +.cptm-card-preview-area-wrap { max-width: 450px; margin: 0 auto; } + .cptm-card-preview-widget { + max-width: 450px; + margin: 0 auto; padding: 24px; background-color: #fff; border: 1.5px solid rgba(0, 17, 102, 0.1019607843); @@ -20785,13 +41530,13 @@ input[type="radio"].cptm-radio { bottom: 100%; } .cptm-card-preview-widget.cptm-card-list-view - .cptm-card-placeholder-top-left + .cptm-card-preview-top-right .cptm-widget-option-modal-container, .cptm-card-preview-widget.cptm-card-list-view - .cptm-card-placeholder-top-right + .cptm-card-placeholder-top-left .cptm-widget-option-modal-container, .cptm-card-preview-widget.cptm-card-list-view - .cptm-card-preview-top-right + .cptm-card-placeholder-top-right .cptm-widget-option-modal-container { bottom: unset; top: 100%; @@ -20820,7 +41565,7 @@ input[type="radio"].cptm-radio { -ms-flex-align: center; align-items: center; border-radius: 4px; - background: #fff; + background: #ffffff; border: 1px solid #e5e7eb; -webkit-box-sizing: border-box; box-sizing: border-box; @@ -20926,7 +41671,7 @@ input[type="radio"].cptm-radio { height: 48px; padding: 0; margin: 0; - background-color: #fff; + background-color: #ffffff; border-radius: 50%; border: 1px dashed #d2d6db; -webkit-box-sizing: border-box; @@ -20986,7 +41731,7 @@ input[type="radio"].cptm-radio { .cptm-radio-area input[type="radio"] { margin: 0 6px 0 0; - background-color: #fff; + background-color: #ffffff; border: 2px solid #a1a9b2; } .cptm-card-preview-widget.grid-view-with-thumbnail @@ -21004,7 +41749,16 @@ input[type="radio"].cptm-radio { border: 5px solid #3e62f5; } .cptm-card-preview-widget.grid-view-without-thumbnail - .cptm-widget-preview-container, + .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} .cptm-card-preview-widget.list-view-with-thumbnail .cptm-widget-preview-container { display: -webkit-box; @@ -21017,9 +41771,9 @@ input[type="radio"].cptm-radio { flex-wrap: wrap; } .cptm-card-preview-widget.list-view-with-thumbnail - .cptm-widget-preview-card-listing_title, + .dndrop-draggable-wrapper-listing_title, .cptm-card-preview-widget.list-view-with-thumbnail - .dndrop-draggable-wrapper-listing_title { + .cptm-widget-preview-card-listing_title { width: 100%; } .cptm-card-preview-widget.list-view-with-thumbnail @@ -21063,23 +41817,28 @@ input[type="radio"].cptm-radio { right: 30px; z-index: 100; } + .cptm-field-wraper-key-single_listing_header .cptm-card-preview-area-wrap, .cptm-field-wraper-key-single_listing_header .cptm-card-preview-widget { max-width: 750px; } + .cptm-listing-card-content { -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; } + .cptm-card-preview-thumbnail { position: relative; height: 100%; } + .cptm-card-preview-thumbnail-placeholer { height: 100%; } + .cptm-card-preview-thumbnail-placeholder { height: 100%; text-align: center; @@ -21099,12 +41858,14 @@ input[type="radio"].cptm-radio { -ms-flex-align: center; align-items: center; } + .cptm-listing-card-preview-quick-info-placeholder { -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; flex-grow: 1; } + .cptm-card-preview-thumbnail-bg { position: absolute; left: 50%; @@ -21114,18 +41875,22 @@ input[type="radio"].cptm-radio { font-size: 72px; color: #7b7d8b; } + .cptm-card-preview-thumbnail-bg span { - color: hsla(0, 0%, 100%, 0.1); + color: rgba(255, 255, 255, 0.1); } + .cptm-card-preview-bottom-right-placeholder { display: block; text-align: right; } + .cptm-listing-card-preview-body { display: block; padding: 16px; position: relative; } + .cptm-listing-card-author-avatar { z-index: 1; position: absolute; @@ -21156,9 +41921,10 @@ input[type="radio"].cptm-radio { padding: 0; border-radius: 0; top: 8px; - -webkit-transform: translate(-50%); - transform: translate(-50%); + -webkit-transform: translate(-50%, 0); + transform: translate(-50%, 0); } + .cptm-placeholder-author-thumb { position: relative; display: -webkit-box; @@ -21209,27 +41975,35 @@ input[type="radio"].cptm-radio { justify-content: center; font-size: 14px; color: #d94a4a; - background: #fff; + background: #ffffff; border: 1px solid #d94a4a; border-radius: 50%; -webkit-box-sizing: border-box; box-sizing: border-box; cursor: pointer; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } .cptm-placeholder-author-thumb .cptm-placeholder-author-thumb-trash:hover { - color: #fff; + color: #ffffff; background: #d94a4a; } + .cptm-widget-title-card { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + padding: 6px 10px; + text-align: left; font-size: 16px; line-height: 22px; font-weight: 600; color: #141921; } -.cptm-widget-tagline-card, -.cptm-widget-title-card { + +.cptm-widget-tagline-card { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -21237,12 +42011,11 @@ input[type="radio"].cptm-radio { gap: 8px; padding: 6px 10px; text-align: left; -} -.cptm-widget-tagline-card { font-size: 13px; font-weight: 400; color: #4d5761; } + .cptm-has-widget-control { position: relative; } @@ -21251,6 +42024,7 @@ input[type="radio"].cptm-radio { pointer-events: all; opacity: 1; } + .cptm-form-group-row { display: -webkit-box; display: -webkit-flex; @@ -21260,6 +42034,7 @@ input[type="radio"].cptm-radio { -ms-flex-wrap: wrap; flex-wrap: wrap; } + .cptm-form-group-col { -webkit-box-flex: 1; -webkit-flex-grow: 1; @@ -21269,12 +42044,14 @@ input[type="radio"].cptm-radio { -ms-flex-preferred-size: 50%; flex-basis: 50%; } + .cptm-form-group-info { font-size: 12px; font-weight: 400; color: #747c89; margin: 0; } + .cptm-widget-actions-tools { position: absolute; width: 75px; @@ -21310,7 +42087,12 @@ input[type="radio"].cptm-radio { font-size: 12px; color: #fff; } + .cptm-widget-control-wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; visibility: hidden; opacity: 0; position: absolute; @@ -21327,23 +42109,21 @@ input[type="radio"].cptm-radio { align-items: center; top: 1px; pointer-events: none; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; z-index: 99; } -.cptm-widget-control, -.cptm-widget-control-wrap { + +.cptm-widget-control { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -} -.cptm-widget-control { padding-bottom: 10px; - -webkit-transform: translateY(-100%); - transform: translateY(-100%); + -webkit-transform: translate(0%, -100%); + transform: translate(0%, -100%); } -.cptm-widget-control:after { +.cptm-widget-control::after { content: ""; display: inline-block; margin: 0 auto; @@ -21353,8 +42133,8 @@ input[type="radio"].cptm-radio { position: absolute; bottom: 2px; left: 50%; - -webkit-transform: translate(-50%); - transform: translate(-50%); + -webkit-transform: translate(-50%, 0); + transform: translate(-50%, 0); z-index: -1; } .cptm-widget-control .cptm-widget-control-action:first-child { @@ -21365,9 +42145,11 @@ input[type="radio"].cptm-radio { border-top-right-radius: 5px; border-bottom-right-radius: 5px; } + .hide { display: none; } + .cptm-widget-control-action { display: inline-block; padding: 5px 8px; @@ -21375,18 +42157,20 @@ input[type="radio"].cptm-radio { font-size: 12px; cursor: pointer; background-color: #3e62f5; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .cptm-widget-control-action:hover { background-color: #0e3bf2; } + .cptm-card-preview-top-left { width: calc(50% - 4px); position: absolute; top: 0; left: 0; } + .cptm-card-preview-top-left-placeholder { display: block; text-align: left; @@ -21402,13 +42186,19 @@ input[type="radio"].cptm-radio { -ms-flex-align: center; align-items: center; } + .cptm-card-preview-top-right { position: absolute; right: 0; top: 0; width: calc(50% - 4px); } -.cptm-card-preview-top-right .cptm-widget-preview-area, +.cptm-card-preview-top-right .cptm-widget-preview-area { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} .cptm-card-preview-top-right .cptm-widget-preview-area .cptm-widget-preview-container { @@ -21428,10 +42218,16 @@ input[type="radio"].cptm-radio { -ms-flex-align: center; align-items: center; } + .cptm-card-preview-top-right-placeholder { text-align: right; } -.cptm-card-preview-top-right-placeholder .cptm-widget-preview-area, +.cptm-card-preview-top-right-placeholder .cptm-widget-preview-area { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} .cptm-card-preview-top-right-placeholder .cptm-widget-preview-area .cptm-widget-preview-container { @@ -21451,6 +42247,7 @@ input[type="radio"].cptm-radio { -ms-flex-align: center; align-items: center; } + .cptm-card-preview-bottom-left { position: absolute; width: calc(50% - 4px); @@ -21478,17 +42275,24 @@ input[type="radio"].cptm-radio { top: unset; bottom: -6px; } + .cptm-card-preview-bottom-left-placeholder { display: block; text-align: left; } + .cptm-card-preview-bottom-right { position: absolute; bottom: 0; right: 0; width: calc(50% - 4px); } -.cptm-card-preview-bottom-right .cptm-widget-preview-area, +.cptm-card-preview-bottom-right .cptm-widget-preview-area { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} .cptm-card-preview-bottom-right .cptm-widget-preview-area .cptm-widget-preview-container { @@ -21507,15 +42311,17 @@ input[type="radio"].cptm-radio { top: unset; bottom: -6px; border-bottom: unset; - border-top: 7px solid #fff; + border-top: 7px solid #ffffff; } -.cptm-card-preview-badges .cptm-widget-option-modal-container, -.cptm-card-preview-body .cptm-widget-option-modal-container { + +.cptm-card-preview-body .cptm-widget-option-modal-container, +.cptm-card-preview-badges .cptm-widget-option-modal-container { left: unset; -webkit-transform: unset; transform: unset; right: calc(100% + 57px); } + .grid-view-without-thumbnail .cptm-input-toggle { width: 28px; height: 16px; @@ -21525,7 +42331,7 @@ input[type="radio"].cptm-radio { height: 12px; margin: 2px; } -.grid-view-without-thumbnail .cptm-input-toggle.active:after { +.grid-view-without-thumbnail .cptm-input-toggle.active::after { -webkit-transform: translateX(calc(-100% - 4px)); transform: translateX(calc(-100% - 4px)); } @@ -21678,6 +42484,7 @@ input[type="radio"].cptm-radio { -webkit-box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05); box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05); } + .list-view-without-thumbnail .cptm-card-preview-widget-content { width: 100%; display: -webkit-box; @@ -21699,13 +42506,15 @@ input[type="radio"].cptm-radio { } } .list-view-without-thumbnail .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; gap: 8px; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; } -.list-view-without-thumbnail .cptm-listing-card-preview-top, -.list-view-without-thumbnail .cptm-widget-preview-container, .list-view-without-thumbnail .cptm-widget-preview-container.dndrop-container.horizontal { display: -webkit-box; @@ -21714,6 +42523,10 @@ input[type="radio"].cptm-radio { display: flex; } .list-view-without-thumbnail .cptm-listing-card-preview-top { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; gap: 8px; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; @@ -21780,6 +42593,7 @@ input[type="radio"].cptm-radio { gap: 8px; padding: 0; } + .cptm-card-placeholder-top { display: -webkit-box; display: -webkit-flex; @@ -21796,26 +42610,31 @@ input[type="radio"].cptm-radio { flex-direction: column; } } + .cptm-listing-card-preview-footer { - gap: 22px; - padding: 0 16px 24px; -} -.cptm-listing-card-preview-footer, -.cptm-listing-card-preview-footer .cptm-widget-preview-area { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + gap: 22px; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; + padding: 0 16px 24px; } .cptm-listing-card-preview-footer .cptm-widget-preview-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; gap: 6px; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; } .cptm-listing-card-preview-footer .cptm-widget-preview-area .cptm-widget-card { font-size: 12px; @@ -21826,7 +42645,10 @@ input[type="radio"].cptm-radio { } .cptm-listing-card-preview-footer .cptm-widget-preview-area - .cptm-widget-badge-icon, + .cptm-widget-badge-icon { + font-size: 16px; + color: #141921; +} .cptm-listing-card-preview-footer .cptm-widget-preview-area .cptm-widget-badge-trash { @@ -21844,13 +42666,21 @@ input[type="radio"].cptm-radio { .cptm-listing-card-preview-footer .cptm-placeholder-block-wrapper { height: 100%; } -.cptm-card-preview-footer-left, + +.cptm-card-preview-footer-left { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} + .cptm-card-preview-footer-right { -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; } + .cptm-listing-card-preview-body-placeholder { padding: 12px 12px 32px; min-height: 160px !important; @@ -21895,7 +42725,7 @@ input[type="radio"].cptm-radio { align-items: center; padding: 0 12px; color: #141921; - background: #fff; + background: #ffffff; height: 42px; font-size: 14px; line-height: 1.15; @@ -21904,8 +42734,8 @@ input[type="radio"].cptm-radio { border: 1px solid #e5e7eb; -webkit-box-sizing: border-box; box-sizing: border-box; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .cptm-listing-card-preview-body-placeholder .cptm-widget-preview-card.active, .cptm-listing-card-preview-body-placeholder .cptm-widget-preview-card:hover { @@ -21979,8 +42809,8 @@ input[type="radio"].cptm-radio { align-items: center; opacity: 0; visibility: hidden; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .cptm-listing-card-preview-body-placeholder .cptm-widget-preview-card @@ -22002,8 +42832,8 @@ input[type="radio"].cptm-radio { height: 32px; border-radius: 100%; cursor: pointer; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .cptm-listing-card-preview-body-placeholder .cptm-widget-preview-card @@ -22016,13 +42846,14 @@ input[type="radio"].cptm-radio { .cptm-listing-card-preview-body-placeholder .cptm-widget-preview-card .cptm-list-item-actions - .cptm-list-item-action.active, + .cptm-list-item-action:hover, .cptm-listing-card-preview-body-placeholder .cptm-widget-preview-card .cptm-list-item-actions - .cptm-list-item-action:hover { + .cptm-list-item-action.active { background: #e5e7eb; } + .cptm-listing-card-preview-footer-left-placeholder { -webkit-box-flex: 1; -webkit-flex-grow: 1; @@ -22031,8 +42862,8 @@ input[type="radio"].cptm-radio { border-color: #c6d0dc; text-align: left; } -.cptm-listing-card-preview-footer-left-placeholder.drag-enter, -.cptm-listing-card-preview-footer-left-placeholder:hover { +.cptm-listing-card-preview-footer-left-placeholder:hover, +.cptm-listing-card-preview-footer-left-placeholder.drag-enter { border-color: #1e1e1e; } .cptm-listing-card-preview-footer-left-placeholder @@ -22054,6 +42885,7 @@ input[type="radio"].cptm-radio { .cptm-widget-preview-card { width: 100%; } + .cptm-listing-card-preview-footer-right-placeholder { -webkit-box-flex: 1; -webkit-flex-grow: 1; @@ -22062,8 +42894,8 @@ input[type="radio"].cptm-radio { border-color: #c6d0dc; text-align: right; } -.cptm-listing-card-preview-footer-right-placeholder.drag-enter, -.cptm-listing-card-preview-footer-right-placeholder:hover { +.cptm-listing-card-preview-footer-right-placeholder:hover, +.cptm-listing-card-preview-footer-right-placeholder.drag-enter { border-color: #1e1e1e; } .cptm-listing-card-preview-footer-right-placeholder @@ -22080,7 +42912,6 @@ input[type="radio"].cptm-radio { -ms-flex-direction: column; flex-direction: column; } -.cptm-listing-card-preview-footer-right-placeholder .cptm-widget-preview-area, .cptm-listing-card-preview-footer-right-placeholder .cptm-widget-preview-container .cptm-widget-preview-card { @@ -22095,6 +42926,10 @@ input[type="radio"].cptm-radio { display: -ms-flexbox; display: flex; gap: 6px; + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; @@ -22103,6 +42938,7 @@ input[type="radio"].cptm-radio { -ms-flex-wrap: wrap; flex-wrap: wrap; } + .cptm-widget-preview-area .cptm-widget-preview-card { position: relative; } @@ -22128,22 +42964,22 @@ input[type="radio"].cptm-radio { -ms-flex-pack: center; justify-content: center; padding: 6px 12px; - background: #fff; + background: #ffffff; border-radius: 4px; border: 1px solid #e5e7eb; -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); -webkit-box-sizing: border-box; box-sizing: border-box; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; z-index: 1; } .cptm-widget-preview-area .cptm-widget-preview-card .cptm-widget-preview-card-actions:before { content: ""; - border-top: 7px solid #fff; + border-top: 7px solid #ffffff; border-left: 7px solid transparent; border-right: 7px solid transparent; position: absolute; @@ -22166,11 +43002,11 @@ input[type="radio"].cptm-radio { .cptm-widget-preview-area .cptm-widget-preview-card .cptm-widget-preview-card-actions - .cptm-widget-action-link:focus, + .cptm-widget-action-link:hover, .cptm-widget-preview-area .cptm-widget-preview-card .cptm-widget-preview-card-actions - .cptm-widget-action-link:hover { + .cptm-widget-action-link:focus { background: transparent; color: #3e62f5; } @@ -22180,15 +43016,17 @@ input[type="radio"].cptm-radio { .widget-drag-handle:hover { color: #3e62f5; } + .widget-drag-handle { cursor: move; } + .cptm-card-light.cptm-placeholder-block { border-color: #d2d6db; background: #f9fafb; } -.cptm-card-light.cptm-placeholder-block.drag-enter, -.cptm-card-light.cptm-placeholder-block:hover { +.cptm-card-light.cptm-placeholder-block:hover, +.cptm-card-light.cptm-placeholder-block.drag-enter { border-color: #1e1e1e; } .cptm-card-light .cptm-placeholder-label { @@ -22198,6 +43036,7 @@ input[type="radio"].cptm-radio { color: #969db8; background-color: #eff0f3; } + .cptm-card-dark-light .cptm-placeholder-label { padding: 5px 12px; color: #888; @@ -22207,14 +43046,17 @@ input[type="radio"].cptm-radio { .cptm-card-dark-light .cptm-widget-badge { background-color: rgba(0, 0, 0, 0.8); } + .cptm-widgets-container { overflow: hidden; border: 1px solid rgba(0, 0, 0, 0.1); background-color: #fff; } + .cptm-widgets-header { display: block; } + .cptm-widget-nav { display: -webkit-box; display: -webkit-flex; @@ -22225,10 +43067,12 @@ input[type="radio"].cptm-radio { flex-wrap: wrap; margin: 0; } + .cptm-widget-nav-item { display: inline-block; margin: 0; padding: 12px 10px; + cursor: pointer; -webkit-flex-basis: 33.3333333333%; -ms-flex-preferred-size: 33.3333333333%; flex-basis: 33.3333333333%; @@ -22251,32 +43095,38 @@ input[type="radio"].cptm-radio { color: #2b2b2b; } .cptm-widget-nav-item.active { - font-weight: 700; + font-weight: bold; color: #2b2b2b; background-color: #fff; } + .cptm-widgets-body { padding: 10px; max-height: 450px; overflow: hidden; overflow-y: auto; } + .cptm-widgets-list { display: block; margin: 0; } + .cptm-widgets-list-item { display: block; } + .widget-group-title { margin: 0 0 5px; font-size: 16px; color: #bbb; } + .cptm-widgets-sub-list { display: block; margin: 0; } + .cptm-widgets-sub-list-item { display: block; padding: 10px 15px; @@ -22285,13 +43135,16 @@ input[type="radio"].cptm-radio { margin-bottom: 10px; cursor: move; } + .widget-icon { + display: inline-block; margin-right: 5px; } -.widget-icon, + .widget-label { display: inline-block; } + .cptm-form-group { display: block; margin-bottom: 20px; @@ -22329,11 +43182,6 @@ input[type="radio"].cptm-radio { color: #747c89; margin: 0; } -.cptm-form-group.cptm-form-content .cptm-form-content-icon { - font-size: 40px; - margin: 0 0 12px; -} -.cptm-form-group.cptm-form-content .cptm-form-content-btn, .cptm-form-group.cptm-form-content .cptm-form-content-icon { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -22347,10 +43195,24 @@ input[type="radio"].cptm-radio { -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + font-size: 40px; + margin: 0 0 12px; } .cptm-form-group.cptm-form-content .cptm-form-content-btn { position: relative; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; height: 30px; font-size: 12px; line-height: 14px; @@ -22372,11 +43234,11 @@ input[type="radio"].cptm-radio { left: 0; bottom: 8px; background-color: #3e62f5; - -webkit-transition: width 0.3s ease-in-out; - transition: width 0.3s ease-in-out; + -webkit-transition: width ease-in-out 300ms; + transition: width ease-in-out 300ms; } -.cptm-form-group.cptm-form-content .cptm-form-content-btn:focus:before, -.cptm-form-group.cptm-form-content .cptm-form-content-btn:hover:before { +.cptm-form-group.cptm-form-content .cptm-form-content-btn:hover:before, +.cptm-form-group.cptm-form-content .cptm-form-content-btn:focus:before { width: 100%; } .cptm-form-group.cptm-form-content .cptm-form-content-btn.cptm-btn-disabled { @@ -22399,9 +43261,9 @@ input[type="radio"].cptm-radio { display: none; } .cptm-form-group.cptm-form-content - .cptm-form-content-btn.cptm-form-loader:focus, + .cptm-form-content-btn.cptm-form-loader:hover, .cptm-form-group.cptm-form-content - .cptm-form-content-btn.cptm-form-loader:hover { + .cptm-form-content-btn.cptm-form-loader:focus { color: #3e62f5; } .cptm-form-group.cptm-form-content @@ -22445,8 +43307,9 @@ input[type="radio"].cptm-radio { flex-direction: column; } .cptm-form-group.cpt-has-error .cptm-form-control { - border: 1px solid #c03333; + border: 1px solid rgb(192, 51, 51); } + .cptm-form-group-tab-list { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -22487,9 +43350,9 @@ input[type="radio"].cptm-radio { border-radius: 100px; margin: 0; cursor: pointer; - background-color: #fff; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + background-color: #ffffff; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; color: #4d5761; font-weight: 500; text-decoration: none; @@ -22504,6 +43367,7 @@ input[type="radio"].cptm-radio { background-color: #d8e0fd; color: #3e62f5; } + .cptm-preview-image-upload { width: 350px; max-width: 100%; @@ -22593,7 +43457,7 @@ input[type="radio"].cptm-radio { border: none; -webkit-box-shadow: none; box-shadow: none; - color: #fff; + color: white; padding: 0; } .cptm-preview-image-upload:not(.cptm-preview-image-upload--show) @@ -22605,10 +43469,10 @@ input[type="radio"].cptm-radio { } .cptm-preview-image-upload:not(.cptm-preview-image-upload--show) .cptm-thumbnail - .directorist-row-tooltip[data-tooltip]:after, + .directorist-row-tooltip[data-tooltip]:before, .cptm-preview-image-upload:not(.cptm-preview-image-upload--show) .cptm-thumbnail - .directorist-row-tooltip[data-tooltip]:before { + .directorist-row-tooltip[data-tooltip]:after { opacity: 0; } .cptm-preview-image-upload:not(.cptm-preview-image-upload--show) @@ -22640,9 +43504,13 @@ input[type="radio"].cptm-radio { left top, left bottom, from(rgba(0, 0, 0, 0.6)), - color-stop(35.42%, transparent) + color-stop(35.42%, rgba(0, 0, 0, 0)) + ); + background: linear-gradient( + 180deg, + rgba(0, 0, 0, 0.6) 0%, + rgba(0, 0, 0, 0) 35.42% ); - background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 35.42%); z-index: 1; } .cptm-preview-image-upload.cptm-preview-image-upload--show @@ -22654,7 +43522,7 @@ input[type="radio"].cptm-radio { .cptm-preview-image-upload.cptm-preview-image-upload--show .cptm-thumbnail-action { margin: 0; - background-color: #fff; + background-color: white; width: 32px; height: 32px; display: -webkit-box; @@ -22687,12 +43555,13 @@ input[type="radio"].cptm-radio { width: 32px; max-height: 32px; height: 32px; - background-color: #fff; + background-color: white; padding: 0; border-radius: 8px; + margin: 10px; cursor: pointer; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; margin: 0; display: -webkit-box; display: -webkit-flex; @@ -22717,35 +43586,38 @@ input[type="radio"].cptm-radio { } .cptm-preview-image-upload.cptm-preview-image-upload--show .cptm-upload-btn - i:before { + i::before { content: "\ea57"; } .cptm-preview-image-upload.cptm-preview-image-upload--show .directorist-row-tooltip[data-tooltip]:after { - background-color: #fff; + background-color: white; color: #141921; opacity: 1; } .cptm-preview-image-upload.cptm-preview-image-upload--show - .directorist-row-tooltip[data-tooltip][data-flow="bottom"]:before { - border-bottom-color: #fff; + .directorist-row-tooltip[data-tooltip][data-flow="bottom"]::before { + border-bottom-color: white; } .cptm-preview-image-upload.cptm-preview-image-upload--show .cptm-thumbnail-action { z-index: 2; } + .cptm-form-group-feedback { display: block; } + .cptm-form-alert { padding: 0 0 10px; color: #06d6a0; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .cptm-form-alert.cptm-error { color: #c82424; } + .cptm-input-toggle-wrap { display: -webkit-box; display: -webkit-flex; @@ -22773,22 +43645,21 @@ input[type="radio"].cptm-radio { -ms-flex: 1; flex: 1; } + .cptm-input-toggle { + display: inline-block; position: relative; width: 36px; height: 20px; background-color: #d9d9d9; border-radius: 30px; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; cursor: pointer; } -.cptm-input-toggle, -.cptm-input-toggle:after { - display: inline-block; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; -} -.cptm-input-toggle:after { +.cptm-input-toggle::after { content: ""; + display: inline-block; width: 14px; height: calc(100% - 6px); background-color: #fff; @@ -22797,15 +43668,18 @@ input[type="radio"].cptm-radio { top: 0; left: 0; margin: 3px 4px; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .cptm-input-toggle.active { background-color: #3e62f5; } -.cptm-input-toggle.active:after { +.cptm-input-toggle.active::after { left: 100%; -webkit-transform: translateX(calc(-100% - 8px)); transform: translateX(calc(-100% - 8px)); } + .cptm-multi-option-group { display: block; margin-bottom: 20px; @@ -22813,9 +43687,11 @@ input[type="radio"].cptm-radio { .cptm-multi-option-group .cptm-btn { margin: 0; } + .cptm-multi-option-label { display: block; } + .cptm-multi-option-group-section-draft { display: -webkit-box; display: -webkit-flex; @@ -22842,12 +43718,18 @@ input[type="radio"].cptm-radio { .cptm-multi-option-group-section-draft p { margin: 28px 8px 20px; } + .cptm-label { display: block; margin-bottom: 10px; font-weight: 500; } + .form-repeater__container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; @@ -22855,14 +43737,11 @@ input[type="radio"].cptm-radio { flex-direction: column; gap: 8px; } -.form-repeater__container, .form-repeater__group { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -} -.form-repeater__group { -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; @@ -22873,11 +43752,11 @@ input[type="radio"].cptm-radio { .form-repeater__group.sortable-chosen .form-repeater__input { background: #e1e4e8 !important; border: 1px solid #d1d5db !important; - -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.01) !important; - box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.01) !important; + -webkit-box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.01) !important; + box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.01) !important; } -.form-repeater__drag-btn, -.form-repeater__remove-btn { +.form-repeater__remove-btn, +.form-repeater__drag-btn { color: #4d5761; background: transparent; border: none; @@ -22889,18 +43768,18 @@ input[type="radio"].cptm-radio { -webkit-transition: all 0.3s ease; transition: all 0.3s ease; } -.form-repeater__drag-btn:disabled, -.form-repeater__remove-btn:disabled { +.form-repeater__remove-btn:disabled, +.form-repeater__drag-btn:disabled { cursor: not-allowed; opacity: 0.6; } -.form-repeater__drag-btn svg, -.form-repeater__remove-btn svg { +.form-repeater__remove-btn svg, +.form-repeater__drag-btn svg { width: 12px; height: 12px; } -.form-repeater__drag-btn i, -.form-repeater__remove-btn i { +.form-repeater__remove-btn i, +.form-repeater__drag-btn i { font-size: 16px; margin: 0; padding: 0; @@ -22930,10 +43809,10 @@ input[type="radio"].cptm-radio { flex-shrink: 0; border-radius: 8px; border: 1px solid var(--Gray-200, #e5e7eb); - background: #fff; - -webkit-box-shadow: 0 1px 2px 0 + background: white; + -webkit-box-shadow: 0px 1px 2px 0px var(--Colors-Effects-Shadows-shadow-xs, rgba(16, 24, 40, 0.05)); - box-shadow: 0 1px 2px 0 + box-shadow: 0px 1px 2px 0px var(--Colors-Effects-Shadows-shadow-xs, rgba(16, 24, 40, 0.05)); color: #2c3239; outline: none; @@ -22993,6 +43872,7 @@ input[type="radio"].cptm-radio { color: #2e94fa; background: transparent; border: none; + padding: 0; text-decoration: none; display: -webkit-box; display: -webkit-flex; @@ -23019,6 +43899,8 @@ input[type="radio"].cptm-radio { .form-repeater__add-group-btn i { font-size: 16px; } + +/* Style the video popup */ .cptm-modal-overlay { position: fixed; top: 0; @@ -23069,6 +43951,7 @@ input[type="radio"].cptm-radio { height: 175px; } } + .cptm-modal-content { position: relative; } @@ -23098,30 +43981,47 @@ input[type="radio"].cptm-radio { border-radius: 16px; } .cptm-modal-content .cptm-modal-preview .cptm-modal-preview__group { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; gap: 30px; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; } -.cptm-modal-content .cptm-modal-preview .cptm-modal-preview__group, .cptm-modal-content .cptm-modal-preview .cptm-modal-preview__item { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + gap: 10px; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -} -.cptm-modal-content .cptm-modal-preview .cptm-modal-preview__item { - gap: 10px; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; } .cptm-modal-content .cptm-modal-preview .cptm-modal-preview__btn { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; gap: 6px; padding: 0 16px; height: 40px; @@ -23130,7 +44030,6 @@ input[type="radio"].cptm-radio { border: 1px solid #ededed; border-radius: 8px; } -.cptm-modal-content .cptm-modal-preview .cptm-modal-preview__btn, .cptm-modal-content .cptm-modal-preview .cptm-modal-preview__btn @@ -23161,6 +44060,7 @@ input[type="radio"].cptm-radio { border-radius: 100%; cursor: pointer; } + .close-btn { position: absolute; top: 40px; @@ -23169,9 +44069,11 @@ input[type="radio"].cptm-radio { border: none; font-size: 18px; cursor: pointer; - color: #fff; + color: #ffffff; } + .cptm-form-control, +select.cptm-form-control, input[type="date"].cptm-form-control, input[type="datetime-local"].cptm-form-control, input[type="datetime"].cptm-form-control, @@ -23184,8 +44086,7 @@ input[type="tel"].cptm-form-control, input[type="text"].cptm-form-control, input[type="time"].cptm-form-control, input[type="url"].cptm-form-control, -input[type="week"].cptm-form-control input[type="text"].cptm-form-control, -select.cptm-form-control { +input[type="week"].cptm-form-control input[type="text"].cptm-form-control { display: block; width: 100%; max-width: 100%; @@ -23202,42 +44103,45 @@ select.cptm-form-control { height: auto; min-height: 30px; background-color: #f4f5f7; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } -.cptm-form-control:focus, .cptm-form-control:hover, -input[type="date"].cptm-form-control:focus, +.cptm-form-control:focus, +select.cptm-form-control:hover, +select.cptm-form-control:focus, input[type="date"].cptm-form-control:hover, -input[type="datetime-local"].cptm-form-control:focus, +input[type="date"].cptm-form-control:focus, input[type="datetime-local"].cptm-form-control:hover, -input[type="datetime"].cptm-form-control:focus, +input[type="datetime-local"].cptm-form-control:focus, input[type="datetime"].cptm-form-control:hover, -input[type="email"].cptm-form-control:focus, +input[type="datetime"].cptm-form-control:focus, input[type="email"].cptm-form-control:hover, -input[type="month"].cptm-form-control:focus, +input[type="email"].cptm-form-control:focus, input[type="month"].cptm-form-control:hover, -input[type="number"].cptm-form-control:focus, +input[type="month"].cptm-form-control:focus, input[type="number"].cptm-form-control:hover, -input[type="password"].cptm-form-control:focus, +input[type="number"].cptm-form-control:focus, input[type="password"].cptm-form-control:hover, -input[type="search"].cptm-form-control:focus, +input[type="password"].cptm-form-control:focus, input[type="search"].cptm-form-control:hover, -input[type="tel"].cptm-form-control:focus, +input[type="search"].cptm-form-control:focus, input[type="tel"].cptm-form-control:hover, -input[type="text"].cptm-form-control:focus, +input[type="tel"].cptm-form-control:focus, input[type="text"].cptm-form-control:hover, -input[type="time"].cptm-form-control:focus, +input[type="text"].cptm-form-control:focus, input[type="time"].cptm-form-control:hover, -input[type="url"].cptm-form-control:focus, +input[type="time"].cptm-form-control:focus, input[type="url"].cptm-form-control:hover, -input[type="week"].cptm-form-control input[type="text"].cptm-form-control:focus, +input[type="url"].cptm-form-control:focus, input[type="week"].cptm-form-control input[type="text"].cptm-form-control:hover, -select.cptm-form-control:focus, -select.cptm-form-control:hover { +input[type="week"].cptm-form-control + input[type="text"].cptm-form-control:focus { color: #23282d; border-color: #3e62f5; } + +select.cptm-form-control, input[type="date"].cptm-form-control, input[type="datetime-local"].cptm-form-control, input[type="datetime"].cptm-form-control, @@ -23251,12 +44155,13 @@ input[type="text"].cptm-form-control, input[type="time"].cptm-form-control, input[type="url"].cptm-form-control, input[type="week"].cptm-form-control, -select.cptm-form-control { +input[type="text"].cptm-form-control { padding: 10px 20px; font-size: 12px; color: #4d5761; - background: #fff; + background: #ffffff; text-align: left; + border: 0 none; border-radius: 8px; border: 1px solid #d2d6db; -webkit-box-shadow: none; @@ -23268,6 +44173,7 @@ select.cptm-form-control { height: auto; min-height: 30px; } +select.cptm-form-control:hover, input[type="date"].cptm-form-control:hover, input[type="datetime-local"].cptm-form-control:hover, input[type="datetime"].cptm-form-control:hover, @@ -23281,9 +44187,10 @@ input[type="text"].cptm-form-control:hover, input[type="time"].cptm-form-control:hover, input[type="url"].cptm-form-control:hover, input[type="week"].cptm-form-control:hover, -select.cptm-form-control:hover { +input[type="text"].cptm-form-control:hover { color: #23282d; } +select.cptm-form-control.cptm-form-control-light, input[type="date"].cptm-form-control.cptm-form-control-light, input[type="datetime-local"].cptm-form-control.cptm-form-control-light, input[type="datetime"].cptm-form-control.cptm-form-control-light, @@ -23297,10 +44204,11 @@ input[type="text"].cptm-form-control.cptm-form-control-light, input[type="time"].cptm-form-control.cptm-form-control-light, input[type="url"].cptm-form-control.cptm-form-control-light, input[type="week"].cptm-form-control.cptm-form-control-light, -select.cptm-form-control.cptm-form-control-light { +input[type="text"].cptm-form-control.cptm-form-control-light { border: 1px solid #ccc; background-color: #fff; } + .tab-general .cptm-title-area, .tab-other .cptm-title-area { margin-left: 0; @@ -23310,17 +44218,19 @@ select.cptm-form-control.cptm-form-control-light { background-color: #fff; border: 1px solid #e3e6ef; } -.tab-other .cptm-title-area, + +.tab-preview_image .cptm-title-area, .tab-packages .cptm-title-area, -.tab-preview_image .cptm-title-area { +.tab-other .cptm-title-area { margin-left: 0; } -.tab-other .cptm-title-area p, +.tab-preview_image .cptm-title-area p, .tab-packages .cptm-title-area p, -.tab-preview_image .cptm-title-area p { +.tab-other .cptm-title-area p { font-size: 15px; color: #5a5f7d; } + .cptm-modal-container { display: none; position: fixed; @@ -23335,6 +44245,7 @@ select.cptm-form-control.cptm-form-control-light { .cptm-modal-container.active { display: block; } + .cptm-modal-wrap { display: -webkit-box; display: -webkit-flex; @@ -23351,10 +44262,11 @@ select.cptm-form-control.cptm-form-control-light { -webkit-align-items: center; -ms-flex-align: center; align-items: center; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; background-color: rgba(0, 0, 0, 0.5); } + .cptm-modal { display: block; margin: 0 auto; @@ -23364,16 +44276,20 @@ select.cptm-form-control.cptm-form-control-light { border-radius: 5px; background-color: #fff; } + .cptm-modal-header { position: relative; padding: 15px 30px 15px 15px; - margin: -10px -10px 10px; + margin: -10px; + margin-bottom: 10px; border-bottom: 1px solid #e3e3e3; } + .cptm-modal-header-title { text-align: left; margin: 0; } + .cptm-modal-actions { display: block; margin: 0 -5px; @@ -23382,6 +44298,7 @@ select.cptm-form-control.cptm-form-control-light { top: 10px; text-align: right; } + .cptm-modal-action-link { margin: 0 5px; text-decoration: none; @@ -23394,11 +44311,13 @@ select.cptm-form-control.cptm-form-control-light { color: #2b2b2b; font-size: 18px; } + .cptm-modal-confirmation-title { margin: 30px auto; font-size: 20px; text-align: center; } + .cptm-section-alert-area { display: -webkit-box; display: -webkit-flex; @@ -23419,10 +44338,12 @@ select.cptm-form-control.cptm-form-control-light { align-items: center; min-height: 200px; } + .cptm-section-alert-content { text-align: center; padding: 10px; } + .cptm-section-alert-icon { margin-bottom: 20px; width: 100px; @@ -23444,7 +44365,7 @@ select.cptm-form-control.cptm-form-control-light { -ms-flex-wrap: wrap; flex-wrap: wrap; border-radius: 50%; - color: #a9a9a9; + color: darkgray; background-color: #f2f2f2; } .cptm-section-alert-icon.cptm-alert-success { @@ -23455,32 +44376,37 @@ select.cptm-form-control.cptm-form-control-light { color: #fff; background-color: #cc1433; } + .cptm-color-picker-wrap { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; } + .cptm-color-picker-label { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; margin-left: 10px; } -.cptm-color-picker-label, + .cptm-wdget-title { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -} -.cptm-wdget-title { -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; } + .atbdp-flex-align-center { display: -webkit-box; display: -webkit-flex; @@ -23491,27 +44417,35 @@ select.cptm-form-control.cptm-form-control-light { -ms-flex-align: center; align-items: center; } + .cptm-px-5 { padding: 0 5px; } + .cptm-text-gray { color: #c1c1c1; } + .cptm-text-right { text-align: right !important; } + .cptm-text-center { text-align: center !important; } + .cptm-text-left { text-align: left !important; } + .cptm-d-block { display: block !important; } + .cptm-d-inline { display: inline-block !important; } + .cptm-d-inline-flex { display: -webkit-inline-box !important; display: -webkit-inline-flex !important; @@ -23521,21 +44455,26 @@ select.cptm-form-control.cptm-form-control-light { -ms-flex-wrap: wrap; flex-wrap: wrap; } + .cptm-d-none { display: none !important; } + .cptm-p-20 { padding: 20px; } + .cptm-color-picker { display: inline-block; - padding: 5px 5px 2px; + padding: 5px 5px 2px 5px; border-radius: 30px; border: 1px solid #d4d4d4; } -input[type="radio"]:checked:before { + +input[type="radio"]:checked::before { background-color: #3e62f5; } + @media (max-width: 767px) { input[type="checkbox"], input[type="radio"] { @@ -23543,6 +44482,7 @@ input[type="radio"]:checked:before { height: 15px; } } + .cptm-preview-placeholder { -webkit-box-flex: 1; -webkit-flex: 1; @@ -23577,7 +44517,7 @@ input[type="radio"]:checked:before { flex-direction: column; gap: 20px; padding: 20px; - background: #fff; + background: #ffffff; border-radius: 6px; border: 1.5px solid #e5e7eb; -webkit-box-shadow: 0 10px 18px 0 rgba(16, 24, 40, 0.1); @@ -23635,7 +44575,7 @@ input[type="radio"]:checked:before { line-height: 18px; color: #1f2937; min-height: 32px; - background-color: #fff; + background-color: #ffffff; border-radius: 6px; border: 1.15px solid #e5e7eb; } @@ -23870,8 +44810,8 @@ input[type="radio"]:checked:before { color: #747c89; margin-top: 15px; background: transparent; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; cursor: move; } .cptm-preview-placeholder__card .draggable-item .cptm-drag-element:hover { @@ -23886,27 +44826,33 @@ input[type="radio"]:checked:before { max-width: 100%; } } + .atbdp-sidebar-nav-area { display: block; } + .atbdp-sidebar-nav { display: block; margin: 0; background-color: #f6f6f6; } + .atbdp-nav-link { display: block; padding: 15px; text-decoration: none; color: #2b2b2b; } + .atbdp-nav-icon { + display: inline-block; margin-right: 10px; } -.atbdp-nav-icon, + .atbdp-nav-label { display: inline-block; } + .atbdp-sidebar-nav-item { display: block; margin: 0; @@ -23914,7 +44860,9 @@ input[type="radio"]:checked:before { .atbdp-sidebar-nav-item .atbdp-nav-link { display: block; } -.atbdp-sidebar-nav-item .atbdp-nav-icon, +.atbdp-sidebar-nav-item .atbdp-nav-icon { + display: inline-block; +} .atbdp-sidebar-nav-item .atbdp-nav-label { display: inline-block; } @@ -23922,19 +44870,26 @@ input[type="radio"]:checked:before { display: block; background-color: #fff; } -.atbdp-sidebar-nav-item.active .atbdp-nav-link, .atbdp-sidebar-nav-item.active .atbdp-sidebar-subnav { display: block; } -.atbdp-sidebar-nav-item.active .atbdp-nav-icon, +.atbdp-sidebar-nav-item.active .atbdp-nav-link { + display: block; +} +.atbdp-sidebar-nav-item.active .atbdp-nav-icon { + display: inline-block; +} .atbdp-sidebar-nav-item.active .atbdp-nav-label { display: inline-block; } + .atbdp-sidebar-subnav { display: block; - margin: 0 0 0 28px; + margin: 0; + margin-left: 28px; display: none; } + .atbdp-sidebar-subnav-item { display: block; margin: 0; @@ -23942,7 +44897,9 @@ input[type="radio"]:checked:before { .atbdp-sidebar-subnav-item .atbdp-nav-link { color: #686d88; } -.atbdp-sidebar-subnav-item .atbdp-nav-icon, +.atbdp-sidebar-subnav-item .atbdp-nav-icon { + display: inline-block; +} .atbdp-sidebar-subnav-item .atbdp-nav-label { display: inline-block; } @@ -23953,10 +44910,13 @@ input[type="radio"]:checked:before { .atbdp-sidebar-subnav-item.active .atbdp-nav-link { display: block; } -.atbdp-sidebar-subnav-item.active .atbdp-nav-icon, +.atbdp-sidebar-subnav-item.active .atbdp-nav-icon { + display: inline-block; +} .atbdp-sidebar-subnav-item.active .atbdp-nav-label { display: inline-block; } + .atbdp-row { display: -webkit-box; display: -webkit-flex; @@ -23967,6 +44927,7 @@ input[type="radio"]:checked:before { flex-wrap: wrap; margin: 0 -15px; } + .atbdp-col { padding: 0 15px; -webkit-box-flex: 1; @@ -23976,27 +44937,32 @@ input[type="radio"]:checked:before { -webkit-box-sizing: border-box; box-sizing: border-box; } + .atbdp-col-3 { -webkit-flex-basis: 25%; -ms-flex-preferred-size: 25%; flex-basis: 25%; width: 25%; } + .atbdp-col-4 { -webkit-flex-basis: 33.3333333333%; -ms-flex-preferred-size: 33.3333333333%; flex-basis: 33.3333333333%; width: 33.3333333333%; } + .atbdp-col-8 { -webkit-flex-basis: 66.6666666667%; -ms-flex-preferred-size: 66.6666666667%; flex-basis: 66.6666666667%; width: 66.6666666667%; } + .shrink { max-width: 300px; } + .directorist_dropdown { position: relative; } @@ -24044,10 +45010,10 @@ input[type="radio"]:checked:before { background-color: #fff; -webkit-box-shadow: 0 12px 16px -4px rgba(16, 24, 40, 0.08), - 0 4px 6px -2px rgba(16, 24, 40, 0.03); + 0px 4px 6px -2px rgba(16, 24, 40, 0.03); box-shadow: 0 12px 16px -4px rgba(16, 24, 40, 0.08), - 0 4px 6px -2px rgba(16, 24, 40, 0.03); + 0px 4px 6px -2px rgba(16, 24, 40, 0.03); border: 1px solid #e5e7eb; border-radius: 8px; z-index: 99999; @@ -24093,8 +45059,8 @@ input[type="radio"]:checked:before { -webkit-transition: 0.3s; transition: 0.3s; } -.directorist_dropdown .directorist_dropdown-option ul li a.active:hover, -.directorist_dropdown .directorist_dropdown-option ul li a:hover { +.directorist_dropdown .directorist_dropdown-option ul li a:hover, +.directorist_dropdown .directorist_dropdown-option ul li a.active:hover { color: #fff; background-color: #3e62f5; } @@ -24102,11 +45068,13 @@ input[type="radio"]:checked:before { color: #3e62f5; background-color: #f0f3ff; } + .cptm-form-group .directorist_dropdown-option { max-height: 240px; } + .cptm-import-directory-modal .cptm-file-input-wrap { - margin: 16px -5px 0; + margin: 16px -5px 0 -5px; } .cptm-import-directory-modal .cptm-info-text { padding: 4px 8px; @@ -24118,6 +45086,8 @@ input[type="radio"]:checked:before { .cptm-import-directory-modal .cptm-info-text > b { margin-right: 4px; } + +/* Sticky fields */ .cptm-col-sticky { position: -webkit-sticky; position: sticky; @@ -24128,6 +45098,7 @@ input[type="radio"]:checked:before { scrollbar-width: 6px; scrollbar-color: #d2d6db #f3f4f6; } + .cptm-widget-trash-confirmation-modal-overlay { position: fixed; top: 0; @@ -24171,10 +45142,10 @@ input[type="radio"]:checked:before { max-width: 400px; } .cptm-widget-trash-confirmation-modal-overlay button { - border: 0; + border: 0 none; -webkit-box-shadow: none; box-shadow: none; - background: #c51616; + background: rgb(197, 22, 22); padding: 10px 15px; border-radius: 6px; color: #fff; @@ -24197,6 +45168,7 @@ input[type="radio"]:checked:before { button.cptm-widget-trash-confirmation-modal-action-btn__cancel:hover { background: #dee0e4; } + .cptm-field-group-container .cptm-field-group-container__label { font-size: 15px; font-weight: 500; @@ -24208,6 +45180,7 @@ input[type="radio"]:checked:before { margin-bottom: 15px; } } + .cptm-container-group-fields { display: -webkit-box; display: -webkit-flex; @@ -24276,7 +45249,7 @@ input[type="radio"]:checked:before { .cptm-container-group-fields .atbdp-row .atbdp-col label { margin: 0; font-size: 14px !important; - font-weight: 400; + font-weight: normal; } @media only screen and (max-width: 1300px) { .cptm-container-group-fields .atbdp-row .atbdp-col label { @@ -24317,6 +45290,7 @@ input[type="radio"]:checked:before { width: auto !important; } } + .cptm-elements-settings { width: 100%; max-width: 372px; @@ -24420,8 +45394,8 @@ input[type="radio"]:checked:before { font-size: 16px; color: #747c89; background: transparent; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; cursor: move; } .cptm-elements-settings__group__single .drag-icon:hover { @@ -24460,23 +45434,24 @@ input[type="radio"]:checked:before { -webkit-flex: 1; -ms-flex: 1; flex: 1; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; -} -.cptm-elements-settings__group__single__action, -.cptm-elements-settings__group__single__edit { -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; } .cptm-elements-settings__group__single__edit { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; @@ -24503,7 +45478,7 @@ input[type="radio"]:checked:before { height: 18px; cursor: pointer; } -.cptm-elements-settings__group__single__switch label:before { +.cptm-elements-settings__group__single__switch label::before { content: ""; position: absolute; width: 100%; @@ -24513,14 +45488,14 @@ input[type="radio"]:checked:before { -webkit-transition: all 0.3s; transition: all 0.3s; } -.cptm-elements-settings__group__single__switch label:after { +.cptm-elements-settings__group__single__switch label::after { content: ""; position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; - background-color: #fff; + background-color: #ffffff; border-radius: 50%; -webkit-transition: all 0.3s; transition: all 0.3s; @@ -24530,12 +45505,12 @@ input[type="radio"]:checked:before { } .cptm-elements-settings__group__single__switch input[type="checkbox"]:checked - + label:before { + + label::before { background-color: #3e62f5; } .cptm-elements-settings__group__single__switch input[type="checkbox"]:checked - + label:after { + + label::after { -webkit-transform: translateX(14px); transform: translateX(14px); } @@ -24648,10 +45623,12 @@ input[type="radio"]:checked:before { .dndrop-draggable-wrapper:last-child { margin-bottom: 0; } + .cptm-theme-butterfly .cptm-info-text { text-align: left; margin: 0; } + .atbdp-settings-panel .cptm-form-group { margin-bottom: 35px; } @@ -24687,17 +45664,17 @@ input[type="radio"]:checked:before { margin-bottom: 0; } .atbdp-settings-panel .cptm-section .cptm-title-area.directorist-no-header { - border-bottom: 0; + border-bottom: 0 none; margin-bottom: 0; padding-bottom: 0; } .atbdp-settings-panel .cptm-section .cptm-title-area .cptm-title { font-size: 20px; font-weight: 500; - color: #000; + color: #000000; } .atbdp-settings-panel .cptm-section .cptm-form-fields { - padding: 20px 25px 0; + padding: 20px 25px 0 25px; } .atbdp-settings-panel .cptm-section .cptm-form-fields .cptm-form-group label { font-size: 15px; @@ -24776,6 +45753,8 @@ input[type="radio"]:checked:before { .atbdp-settings-panel #style_settings__color_settings .cptm-section { z-index: unset; } + +/* settings panel css */ .atbdp-settings-manager .directorist_builder-header { margin-bottom: 30px; } @@ -24797,8 +45776,9 @@ input[type="radio"]:checked:before { .atbdp-settings-manager .atbdp-settings-manager__top .directorist_builder-links { + margin: 0; padding: 0; - margin: 10px 0 0; + margin-top: 10px; } .atbdp-settings-manager .atbdp-settings-manager__top @@ -24853,7 +45833,7 @@ input[type="radio"]:checked:before { display: block; } } -.directorist_vertical-align-m, + .directorist_vertical-align-m .directorist_item { display: -webkit-box; display: -webkit-flex; @@ -24861,11 +45841,16 @@ input[type="radio"]:checked:before { display: flex; } .directorist_vertical-align-m { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; } + .atbdp-settings-manager .atbdp-tab-sub-contents .directorist_btn-start { font-size: 14px; font-weight: 500; @@ -24877,6 +45862,7 @@ input[type="radio"]:checked:before { margin-bottom: 0; margin-left: 20px; } + @media only screen and (max-width: 767px) { .atbdp-settings-manager .settings-contents @@ -24899,6 +45885,7 @@ input[type="radio"]:checked:before { .directorist_dropdown-toggle { line-height: 0.8; } + .directorist_settings-trigger { display: inline-block; cursor: pointer; @@ -24912,14 +45899,17 @@ input[type="radio"]:checked:before { .directorist_settings-trigger span:not(:last-child) { margin-bottom: 4px; } + .settings-wrapper { width: 100%; margin: 0 auto; } + .atbdp-settings-panel { max-width: 1200px; margin: 0 !important; } + .setting-top-bar { background-color: #272b41; padding: 15px 20px; @@ -25002,7 +45992,7 @@ input[type="radio"]:checked:before { text-decoration: none; font-size: 14px; font-weight: 400; - color: hsla(0, 0%, 100%, 0.3137254902); + color: rgba(255, 255, 255, 0.3137254902); } .setting-top-bar .directorist_setting-panel__pages @@ -25013,8 +46003,8 @@ input[type="radio"]:checked:before { .setting-top-bar .directorist_setting-panel__pages li - .directorist_setting-panel__pages--link.active:before { - color: hsla(0, 0%, 100%, 0.3137254902); + .directorist_setting-panel__pages--link.active::before { + color: rgba(255, 255, 255, 0.3137254902); } .setting-top-bar .directorist_setting-panel__pages @@ -25029,11 +46019,9 @@ input[type="radio"]:checked:before { li + li .directorist_setting-panel__pages--link:before { - font-family: - Font Awesome\5 Free, - Font Awesome\5 Brands; + font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands"; content: "\f105"; - margin: 0 2px 0 5px; + margin: 0px 2px 0 5px; font-weight: 900; position: relative; top: 1px; @@ -25057,6 +46045,7 @@ input[type="radio"]:checked:before { color: #fff; background-color: #3e62f5; } + .setting-top-bar__search-actions { display: -webkit-box; display: -webkit-flex; @@ -25076,6 +46065,7 @@ input[type="radio"]:checked:before { margin-left: 0 !important; } } + .setting-response-feedback { display: -webkit-box; display: -webkit-flex; @@ -25088,10 +46078,12 @@ input[type="radio"]:checked:before { align-items: center; color: #fff; } + .setting-search-suggestions { position: relative; z-index: 999; } + .search-suggestions-list { margin: 5px auto 0; position: absolute; @@ -25101,25 +46093,29 @@ input[type="radio"]:checked:before { box-shadow: 0 0 3px #ccc; background-color: #fff; } + .search-suggestions-list--list-item { list-style: none; } + .search-suggestions-list--link { display: block; padding: 10px 15px; text-decoration: none; - -webkit-transition: all 0.2s ease-in-out; - transition: all 0.2s ease-in-out; + -webkit-transition: all ease-in-out 200ms; + transition: all ease-in-out 200ms; } .search-suggestions-list--link:hover { background-color: #f2f2f2; } + .setting-body { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } + .settings-contents { -webkit-box-flex: 1; -webkit-flex-grow: 1; @@ -25128,13 +46124,14 @@ input[type="radio"]:checked:before { padding: 20px 20px 0; background-color: #fff; } + .setting-search-field__input { height: 40px; padding: 0 16px !important; - border: 0 !important; - background-color: hsla(0, 0%, 100%, 0.031372549) !important; + border: 0 none !important; + background-color: rgba(255, 255, 255, 0.031372549) !important; border-radius: 4px; - color: hsla(0, 0%, 100%, 0.3137254902) !important; + color: rgba(255, 255, 255, 0.3137254902) !important; width: 250px; max-width: 250px; font-size: 14px; @@ -25144,6 +46141,7 @@ input[type="radio"]:checked:before { -webkit-box-shadow: 0 0 !important; box-shadow: 0 0 !important; } + .settings-save-btn { display: inline-block; padding: 0 20px; @@ -25156,8 +46154,8 @@ input[type="radio"]:checked:before { cursor: pointer; border: 1px solid #3e62f5; background-color: #3e62f5; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .settings-save-btn:focus { color: #fff; @@ -25172,6 +46170,7 @@ input[type="radio"]:checked:before { opacity: 0.8; cursor: not-allowed; } + .setting-left-sibebar { min-width: 250px; max-width: 250px; @@ -25195,9 +46194,10 @@ input[type="radio"]:checked:before { } } .setting-left-sibebar.active { - -webkit-transform: translateX(0); - transform: translateX(0); + -webkit-transform: translateX(0px); + transform: translateX(0px); } + .directorist_settings-panel-shade { position: fixed; width: 100%; @@ -25214,28 +46214,35 @@ input[type="radio"]:checked:before { opacity: 1; visibility: visible; } + .settings-nav { margin: 0; padding: 0; list-style-type: none; } + .settings-nav li { list-style: none; } + .settings-nav a { text-decoration: none; } + .settings-nav__item.active { background-color: #fff; } + .settings-nav__item ul { padding-left: 0; background-color: #fff; display: none; } + .settings-nav__item.active ul { display: block; } + .settings-nav__item__link { line-height: 50px; padding: 0 25px; @@ -25253,12 +46260,15 @@ input[type="radio"]:checked:before { -ms-flex-align: center; align-items: center; } + .settings-nav__item__link:hover { background-color: #fff; } + .settings-nav__item.active .settings-nav__item__link { color: #3e62f5; } + .settings-nav__item__icon { display: inline-block; width: 32px; @@ -25290,6 +46300,10 @@ input[type="radio"]:checked:before { .settings-nav__item__icon i.directorist_wordpress { color: #0073aa; } + +/* .settings-nav__item ul li { + margin-bottom: 25px; +} */ .settings-nav__item ul li a { line-height: 25px; padding: 10px 25px 10px 58px; @@ -25309,21 +46323,27 @@ input[type="radio"]:checked:before { box-shadow: 0 0; outline: 0 none; } + .settings-nav__item ul li a.active { color: #3e62f5; + background-color: #fff; + -webkit-box-shadow: 0 5px 20px rgba(161, 168, 198, 0.2); + box-shadow: 0 5px 20px rgba(161, 168, 198, 0.2); border-left-color: #3e62f5; } -.settings-nav__item ul li a.active, + .settings-nav__item ul li a:hover { background-color: #fff; -webkit-box-shadow: 0 5px 20px rgba(161, 168, 198, 0.2); box-shadow: 0 5px 20px rgba(161, 168, 198, 0.2); } + span.drop-toggle-caret { width: 10px; height: 5px; margin-left: auto; } + span.drop-toggle-caret:before { position: absolute; content: ""; @@ -25331,23 +46351,26 @@ span.drop-toggle-caret:before { border-right: 5px solid transparent; border-top: 5px solid #868eae; } + .settings-nav__item.active .settings-nav__item__link span.drop-toggle-caret:before { border-top: 0; border-bottom: 5px solid #3e62f5; } + .highlight-field { padding: 10px; border: 2px solid #3e62f5; } + .settings-footer { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; margin: 0 -20px; - padding: 15px; + padding: 15px 15px 15px; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; @@ -25360,6 +46383,7 @@ span.drop-toggle-caret:before { .settings-footer .setting-response-feedback { color: #272b41; } + .settings-footer-actions { display: -webkit-box; display: -webkit-flex; @@ -25370,15 +46394,24 @@ span.drop-toggle-caret:before { flex-wrap: wrap; color: #272b41; } + .atbdp-settings-panel .cptm-form-control, .atbdp-settings-panel .directorist_dropdown { max-width: 500px !important; } -#import_export .cptm-menu-title, -#page_settings .cptm-menu-title, + +#page_settings .cptm-menu-title { + display: none; +} + #personalization .cptm-menu-title { display: none; } + +#import_export .cptm-menu-title { + display: none; +} + .directorist-extensions > td > div { margin: -2px 35px 10px; border: 1px solid #e3e6ef; @@ -25388,23 +46421,27 @@ span.drop-toggle-caret:before { -webkit-transition: 0.3s ease; transition: 0.3s ease; } + .ext-more { position: absolute; left: 0; bottom: 20px; + width: 100%; text-align: center; z-index: 2; } -.directorist-extensions table, -.ext-more { + +.directorist-extensions table { width: 100%; } + .ext-height-fix { height: 250px !important; overflow: hidden; -webkit-transition: 0.3s ease; transition: 0.3s ease; } + .ext-height-fix:before { position: absolute; content: ""; @@ -25414,29 +46451,33 @@ span.drop-toggle-caret:before { linear, left top, left bottom, - from(hsla(0, 0%, 100%, 0)), - color-stop(hsla(0, 0%, 100%, 0.94)), + from(rgba(255, 255, 255, 0)), + color-stop(rgba(255, 255, 255, 0.94)), to(#fff) ); background: linear-gradient( - hsla(0, 0%, 100%, 0), - hsla(0, 0%, 100%, 0.94), + rgba(255, 255, 255, 0), + rgba(255, 255, 255, 0.94), #fff ); left: 0; bottom: 0; } + .ext-more-link { color: #090e2a; font-size: 14px; font-weight: 500; } + .directorist-setup-wizard-vh-none { height: auto; } + .directorist-setup-wizard-wrapper { padding: 100px 0; } + .atbdp-setup-content { font-family: Arial; width: 700px; @@ -25447,18 +46488,22 @@ span.drop-toggle-caret:before { background-color: #fff; overflow: hidden; } + .atbdp-setup-content .atbdp-c-header { padding: 32px 40px 23px; border-bottom: 1px solid #f1f2f6; } + .atbdp-setup-content .atbdp-c-header h1 { font-size: 28px; font-weight: 600; margin: 0; } + .atbdp-setup-content .atbdp-c-body { padding: 30px 40px 50px; } + .atbdp-setup-content .atbdp-c-logo { text-align: center; margin-bottom: 40px; @@ -25466,18 +46511,22 @@ span.drop-toggle-caret:before { .atbdp-setup-content .atbdp-c-logo img { width: 200px; } + .atbdp-setup-content .atbdp-c-body p { font-size: 16px; line-height: 26px; color: #5a5f7d; } + .atbdp-setup-content .atbdp-c-body .atbdp-c-intro-title { font-size: 26px; font-weight: 500; } + .wintro-text { margin-top: 100px; } + .atbdp-setup-content .atbdp-c-footer { background-color: #f4f5f7; padding: 20px 40px; @@ -25490,9 +46539,11 @@ span.drop-toggle-caret:before { -ms-flex-pack: end; justify-content: flex-end; } + .atbdp-setup-content .atbdp-c-footer p { margin: 0; } + .wbtn { padding: 0 20px; line-height: 48px; @@ -25505,12 +46556,14 @@ span.drop-toggle-caret:before { background-color: #fff; cursor: pointer; } + .wbtn-primary { background-color: #4353ff; border-color: #4353ff; color: #fff; margin-left: 6px; } + .w-skip-link { color: #5a5f7d; font-size: 15px; @@ -25518,6 +46571,7 @@ span.drop-toggle-caret:before { display: inline-block; text-decoration: none; } + .w-form-group { display: -webkit-box; display: -webkit-flex; @@ -25536,22 +46590,29 @@ span.drop-toggle-caret:before { align-items: center; margin-bottom: 25px; } + .w-form-group:last-child { margin-bottom: 0; } + .w-form-group label { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; font-size: 15px; font-weight: 500; } -.w-form-group div, -.w-form-group label { + +.w-form-group div { -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; } -.w-form-group input[type="text"], -.w-form-group select { + +.w-form-group select, +.w-form-group input[type="text"] { width: 100%; height: 42px; border-radius: 4px; @@ -25561,16 +46622,19 @@ span.drop-toggle-caret:before { box-sizing: border-box; cursor: pointer; } + .atbdp-sw-gmap-key small { display: block; margin-top: 4px; color: #9299b8; } + .w-toggle-switch { position: relative; width: 48px; height: 26px; } + .w-toggle-switch .w-switch { -webkit-appearance: none; -moz-appearance: none; @@ -25585,12 +46649,14 @@ span.drop-toggle-caret:before { width: 0; cursor: pointer; } -.w-toggle-switch .w-switch:after, -.w-toggle-switch .w-switch:before { + +.w-toggle-switch .w-switch:before, +.w-toggle-switch .w-switch:after { content: ""; font-size: 15px; position: absolute; } + .w-toggle-switch .w-switch:before { border-radius: 19px; background-color: #c8cadf; @@ -25601,14 +46667,15 @@ span.drop-toggle-caret:before { transition: background-color 0.25s ease-out 0.1s; width: 48px; } + .w-toggle-switch .w-switch:after { -webkit-box-shadow: 0 0 4px rgba(146, 155, 177, 0.15); box-shadow: 0 0 4px rgba(146, 155, 177, 0.15); border-radius: 50%; background-color: #fefefe; height: 18px; - -webkit-transform: translate(0); - transform: translate(0); + -webkit-transform: translate(0, 0); + transform: translate(0, 0); -webkit-transition: -webkit-transform 0.25s ease-out 0.1s; transition: -webkit-transform 0.25s ease-out 0.1s; transition: transform 0.25s ease-out 0.1s; @@ -25618,16 +46685,20 @@ span.drop-toggle-caret:before { width: 18px; top: 1px; } + .w-toggle-switch .w-switch:checked:after { - -webkit-transform: translate(20px); - transform: translate(20px); + -webkit-transform: translate(20px, 0); + transform: translate(20px, 0); } + .w-toggle-switch .w-switch:checked:before { background-color: #4353ff; } + .w-input-group { position: relative; } + .w-input-group span { position: absolute; left: 1px; @@ -25647,9 +46718,11 @@ span.drop-toggle-caret:before { background-color: #eff0f3; border-radius: 4px 0 0 4px; } + .w-input-group input { padding-left: 58px !important; } + .wicon-done { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -25671,20 +46744,24 @@ span.drop-toggle-caret:before { color: #fff; margin-bottom: 10px; } + .wsteps-done { margin-top: 30px; text-align: center; } + .wsteps-done h2 { font-size: 24px; font-weight: 500; margin-bottom: 50px; } + .wbtn-outline-primary { border-color: #4353ff; color: #4353ff; margin-left: 6px; } + .atbdp-c-footer-center { -webkit-box-pack: center !important; -webkit-justify-content: center !important; @@ -25692,18 +46769,24 @@ span.drop-toggle-caret:before { justify-content: center !important; padding: 30px !important; } + .atbdp-c-footer-center a { color: #2c99ff; } + .atbdp-none { display: none; } + .directorist-importer__importing { position: relative; } + .directorist-importer__importing h2 { margin-top: 0; } + +/* progressbar style */ .directorist-importer__importing progress { border-radius: 15px; width: 100%; @@ -25711,9 +46794,11 @@ span.drop-toggle-caret:before { overflow: hidden; position: relative; } + .directorist-importer__importing .directorist-importer-wrapper { position: relative; } + .directorist-importer__importing .directorist-importer-wrapper .directorist-importer-length { @@ -25723,6 +46808,7 @@ span.drop-toggle-caret:before { top: 0; overflow: hidden; } + .directorist-importer__importing .directorist-importer-wrapper .directorist-importer-length:before { @@ -25737,28 +46823,30 @@ span.drop-toggle-caret:before { left top, right top, from(transparent), - color-stop(hsla(0, 0%, 100%, 0.25)), + color-stop(rgba(255, 255, 255, 0.25)), to(transparent) ); background: linear-gradient( - 90deg, + to right, transparent, - hsla(0, 0%, 100%, 0.25), + rgba(255, 255, 255, 0.25), transparent ); -webkit-animation: slideRight 2s linear infinite; animation: slideRight 2s linear infinite; } + @-webkit-keyframes slideRight { - 0% { + from { left: 0; } to { left: 100%; } } + @keyframes slideRight { - 0% { + from { left: 0; } to { @@ -25769,68 +46857,78 @@ span.drop-toggle-caret:before { background-color: #e8f0f8; border-radius: 15px; } + .directorist-importer__importing progress::-webkit-progress-value { background-color: #2c99ff; } + .directorist-importer__importing progress::-moz-progress-bar { background-color: #e8f0f8; border-radius: 15px; border: none; box-shadow: none; } + .directorist-importer__importing progress[value]::-moz-progress-bar { background-color: #2c99ff; } + .directorist-importer__importing span.importer-notice { display: block; color: #5a5f7d; font-size: 15px; padding-bottom: 13px; } + .directorist-importer__importing span.importer-details { display: block; color: #5a5f7d; font-size: 15px; padding-top: 13px; } + .directorist-importer__importing .spinner.is-active { width: 15px; height: 15px; border-radius: 50%; + border: 3px solid #ddd; position: absolute; right: 20px; top: 26px; background: transparent; - border: 3px solid #ddd; border-right-color: #4353ff; -webkit-animation: swRotate 2s linear infinite; animation: swRotate 2s linear infinite; } + @-webkit-keyframes swRotate { 0% { -webkit-transform: rotate(0); transform: rotate(0); } - to { - -webkit-transform: rotate(1turn); - transform: rotate(1turn); + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); } } + @keyframes swRotate { 0% { -webkit-transform: rotate(0); transform: rotate(0); } - to { - -webkit-transform: rotate(1turn); - transform: rotate(1turn); + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); } } +/* custom select */ .w-form-group .select2-container--default .select2-selection--single { height: 40px; border: 1px solid #c6d0dc; border-radius: 4px; } + .w-form-group .select2-container--default .select2-selection--single @@ -25839,6 +46937,7 @@ span.drop-toggle-caret:before { line-height: 38px; padding: 0 15px; } + .w-form-group .select2-container--default .select2-selection--single @@ -25846,18 +46945,22 @@ span.drop-toggle-caret:before { height: 38px; right: 5px; } + .w-form-group span.select2-selection.select2-selection--single:focus { outline: 0; } + .select2-dropdown { border: 1px solid #c6d0dc !important; - border-top: 0 !important; + border-top: 0 none !important; } + .directorist-content-active .select2-container--default .select2-results__option[aria-selected="true"] { background-color: #eee !important; } + .directorist-content-active .select2-container--default .select2-results__option--highlighted, @@ -25866,28 +46969,31 @@ span.drop-toggle-caret:before { .select2-results__option[aria-selected="true"].select2-results__option--highlighted { background-color: #4353ff !important; } + .btn-hide { display: none; } + .directorist-setup-wizard { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-align: start; -webkit-align-items: flex-start; -ms-flex-align: start; align-items: flex-start; height: auto; margin: 0; - font-family: Inter; + font-family: "Inter"; } -.directorist-setup-wizard, .directorist-setup-wizard__wrapper { + height: 100%; + min-height: 100vh; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -} -.directorist-setup-wizard__wrapper { - height: 100%; - min-height: 100vh; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; @@ -25898,27 +47004,28 @@ span.drop-toggle-caret:before { background-color: #f4f5f7; } .directorist-setup-wizard__header { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; gap: 30px; + -webkit-box-align: center; + -webkit-align-items: center; -ms-flex-align: center; + align-items: center; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; - background-color: #fff; + background-color: #ffffff; -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); } -.directorist-setup-wizard__header, .directorist-setup-wizard__header__step { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - align-items: center; -} -.directorist-setup-wizard__header__step { -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; @@ -25931,7 +47038,10 @@ span.drop-toggle-caret:before { -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; + -webkit-box-align: center; + -webkit-align-items: center; -ms-flex-align: center; + align-items: center; } @media (max-width: 767px) { .directorist-setup-wizard__header__step { @@ -25982,8 +47092,8 @@ span.drop-toggle-caret:before { height: 12px; background-color: #ebebeb; } -.directorist-setup-wizard__header__step .atbdp-setup-steps li.active:after, -.directorist-setup-wizard__header__step .atbdp-setup-steps li.done:after { +.directorist-setup-wizard__header__step .atbdp-setup-steps li.done:after, +.directorist-setup-wizard__header__step .atbdp-setup-steps li.active:after { background-color: #4353ff; } .directorist-setup-wizard__logo { @@ -26055,7 +47165,7 @@ span.drop-toggle-caret:before { -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; - background-color: #fff; + background-color: #ffffff; -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); } @@ -26084,6 +47194,7 @@ span.drop-toggle-caret:before { border-radius: 8px; font-size: 15px; background-color: #4353ff; + border-color: #4353ff; color: #fff; border: none; cursor: pointer; @@ -26150,7 +47261,7 @@ span.drop-toggle-caret:before { width: 20px; height: 20px; border-radius: 50%; - border: 2px solid #fff; + border: 2px solid #ffffff; border-top-color: #4353ff; position: absolute; top: 12px; @@ -26277,7 +47388,7 @@ span.drop-toggle-caret:before { width: 100%; max-width: 720px; margin: 0 auto; - background-color: #fff; + background-color: #ffffff; border-radius: 8px; -webkit-box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05); box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05); @@ -26390,7 +47501,7 @@ span.drop-toggle-caret:before { } .directorist-setup-wizard__content__import__single label:after { content: ""; - background-image: url(../images/52912e13371376d03cbd266752b1fe5e.svg); + background-image: url(../js/../images/52912e13371376d03cbd266752b1fe5e.svg); background-repeat: no-repeat; width: 9px; height: 7px; @@ -26425,13 +47536,19 @@ span.drop-toggle-caret:before { text-align: center; } .directorist-setup-wizard__content__btns { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; gap: 15px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; } -.directorist-setup-wizard__content__btns, .directorist-setup-wizard__content__pricing__checkbox { display: -webkit-box; display: -webkit-flex; @@ -26440,8 +47557,6 @@ span.drop-toggle-caret:before { -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; -} -.directorist-setup-wizard__content__pricing__checkbox { gap: 20px; -webkit-box-pack: justify; -webkit-justify-content: space-between; @@ -26495,7 +47610,7 @@ span.drop-toggle-caret:before { input[type="checkbox"]:checked ~ label:after { right: 5px; - background-color: #fff; + background-color: #ffffff; } .directorist-setup-wizard__content__pricing__checkbox input[type="checkbox"]:checked @@ -26607,7 +47722,7 @@ span.drop-toggle-caret:before { input[type="checkbox"]:checked ~ label:after { right: 5px; - background-color: #fff; + background-color: #ffffff; } .directorist-setup-wizard__content__gateway__checkbox .enable-warning { -webkit-box-flex: 0; @@ -26634,8 +47749,8 @@ span.drop-toggle-caret:before { font-size: 14px; font-weight: 500; color: #484848; - -webkit-transition: color eases 0.3s; - transition: color eases 0.3s; + -webkit-transition: color 0.3s eases; + transition: color 0.3s eases; } .directorist-setup-wizard__content__notice:hover { color: #4353ff; @@ -26652,7 +47767,9 @@ span.drop-toggle-caret:before { gap: 10px; } @media (max-width: 480px) { - .directorist-setup-wizard__checkbox, + .directorist-setup-wizard__checkbox { + width: 100%; + } .directorist-setup-wizard__checkbox label { width: 100%; } @@ -26682,7 +47799,7 @@ span.drop-toggle-caret:before { } .directorist-setup-wizard__checkbox label:before { content: ""; - background-image: url(../images/ce51f4953f209124fb4786d7d5946493.svg); + background-image: url(../js/../images/ce51f4953f209124fb4786d7d5946493.svg); background-repeat: no-repeat; width: 16px; height: 16px; @@ -26703,7 +47820,7 @@ span.drop-toggle-caret:before { } .directorist-setup-wizard__checkbox input[type="checkbox"]:checked - ~ label:before { + ~ label::before { opacity: 1; } .directorist-setup-wizard__checkbox input[type="checkbox"]:disabled ~ label { @@ -26806,7 +47923,7 @@ span.drop-toggle-caret:before { max-width: 720px; margin: 0 auto; padding: 30px 40px 40px; - background-color: #fff; + background-color: #ffffff; border-radius: 8px; -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); @@ -26846,7 +47963,7 @@ span.drop-toggle-caret:before { } .directorist-setup-wizard__box__content__form:before { content: ""; - background-image: url(../images/2b491f8827936e353fbe598bfae84852.svg); + background-image: url(../js/../images/2b491f8827936e353fbe598bfae84852.svg); background-repeat: no-repeat; width: 14px; height: 14px; @@ -26855,7 +47972,7 @@ span.drop-toggle-caret:before { top: 14px; } .directorist-setup-wizard__box__content__form .address_result { - background-color: #fff; + background-color: #ffffff; -webkit-box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); } @@ -26871,7 +47988,8 @@ span.drop-toggle-caret:before { width: 100%; height: 44px; border-radius: 8px; - padding: 0 60px 0 40px; + padding: 0 40px; + padding-right: 60px; outline: none; background-color: #ebebeb; border: 1px solid #ebebeb; @@ -26884,7 +48002,7 @@ span.drop-toggle-caret:before { top: 14px; } .directorist-setup-wizard__box__content__input--clear - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 16px; height: 16px; background-color: #484848; @@ -26895,7 +48013,7 @@ span.drop-toggle-caret:before { top: 14px; } .directorist-setup-wizard__box__content__location-icon - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 16px; height: 16px; background-color: #484848; @@ -26908,7 +48026,7 @@ span.drop-toggle-caret:before { border-radius: 8px; } .directorist-setup-wizard__map .leaflet-touch .leaflet-bar a { - background: #fff; + background: #ffffff; } .directorist-setup-wizard__map .leaflet-marker-icon @@ -26916,8 +48034,8 @@ span.drop-toggle-caret:before { width: 30px; height: 30px; background-color: #e23636; - -webkit-mask-image: url(../images/2823e3547c32a23392a06652e69a8a71.svg); - mask-image: url(../images/2823e3547c32a23392a06652e69a8a71.svg); + -webkit-mask-image: url(../js/../images/2823e3547c32a23392a06652e69a8a71.svg); + mask-image: url(../js/../images/2823e3547c32a23392a06652e69a8a71.svg); } .directorist-setup-wizard__notice { position: absolute; @@ -26930,19 +48048,254 @@ span.drop-toggle-caret:before { font-style: italic; color: #f80718; } + @-webkit-keyframes spin { - 0% { + from { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + to { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} + +@keyframes spin { + from { -webkit-transform: rotate(0deg); transform: rotate(0deg); } to { - -webkit-transform: rotate(1turn); - transform: rotate(1turn); + -webkit-transform: rotate(360deg); + transform: rotate(360deg); } } +/* data Progressing */ .directorist-setup-wizard__step .directorist-setup-wizard__content.hidden { display: none; } + +.middle-content.middle-content-import { + background: white; + padding: 40px; + -webkit-box-shadow: + 0px 4px 6px -2px rgba(0, 0, 0, 0.05), + 0px 10px 15px -3px rgba(0, 0, 0, 0.1); + box-shadow: + 0px 4px 6px -2px rgba(0, 0, 0, 0.05), + 0px 10px 15px -3px rgba(0, 0, 0, 0.1); + width: 600px; + border-radius: 8px; +} +.middle-content.hidden { + display: none; +} + +.directorist-import-progress-info-text { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-align-content: center; + -ms-flex-line-pack: center; + align-content: center; + grid-gap: 10px; +} + +.directorist-import-progress, +.directorist-import-error { + margin-top: 25px; +} +.directorist-import-progress .directorist-import-progress-bar-wrap, +.directorist-import-error .directorist-import-progress-bar-wrap { + position: relative; + overflow: hidden; +} +.directorist-import-progress .import-progress-gap span, +.directorist-import-error .import-progress-gap span { + background: white; + height: 6px; + position: absolute; + width: 10px; + top: -1px; +} +.directorist-import-progress .import-progress-gap span:nth-child(1), +.directorist-import-error .import-progress-gap span:nth-child(1) { + left: calc(25% - 10px); +} +.directorist-import-progress .import-progress-gap span:nth-child(2), +.directorist-import-error .import-progress-gap span:nth-child(2) { + left: calc(50% - 10px); +} +.directorist-import-progress .import-progress-gap span:nth-child(3), +.directorist-import-error .import-progress-gap span:nth-child(3) { + left: calc(75% - 10px); +} +.directorist-import-progress .directorist-import-progress-bar-bg, +.directorist-import-error .directorist-import-progress-bar-bg { + height: 4px; + background: #e5e7eb; + width: 100%; + position: relative; +} +.directorist-import-progress + .directorist-import-progress-bar-bg + .directorist-import-progress-bar, +.directorist-import-error + .directorist-import-progress-bar-bg + .directorist-import-progress-bar { + position: absolute; + left: 0; + top: 0; + background: #2563eb; + -webkit-transition: all 1s; + transition: all 1s; + width: 0%; + height: 100%; +} +.directorist-import-progress + .directorist-import-progress-bar-bg + .directorist-import-progress-bar.import-done, +.directorist-import-error + .directorist-import-progress-bar-bg + .directorist-import-progress-bar.import-done { + background: #38c172; +} +.directorist-import-progress .directorist-import-progress-info, +.directorist-import-error .directorist-import-progress-info { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + margin-top: 15px; + margin-bottom: 15px; +} + +.directorist-import-error .directorist-import-error-box { + overflow-y: scroll; +} +.directorist-import-error .directorist-import-progress-bar-bg { + width: 100%; + margin-bottom: 15px; +} +.directorist-import-error + .directorist-import-progress-bar-bg + .directorist-import-progress-bar { + background: #2563eb; +} + +.directorist-import-process-step-bottom { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} +.directorist-import-process-step-bottom img { + width: 335px; + text-align: center; + display: inline-block; + padding: 20px 10px 0; +} + +.import-done-congrats { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.import-done-congrats span { + margin-left: 17px; +} + +.import-done-section { + margin-top: 60px; +} +.import-done-section .tweet-import-success .tweet-text { + background: #ffffff; + border: 1px solid rgba(34, 101, 235, 0.1); + border-radius: 4px; + padding: 14px 21px 14px 21px; +} +.import-done-section .tweet-import-success .twitter-btn-wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 7px; + right: 30px; + position: absolute; + margin-top: 8px; + text-decoration: none; +} +.import-done-section .import-done-text { + margin-top: 60px; +} +.import-done-section .import-done-text .import-done-counter { + text-align: left; +} +.import-done-section .import-done-text .import-done-button { + margin-top: 25px; +} + +.directorist-import-done-inner, +.import-done-counter, +.import-done-section { + display: none; +} + +.import-done .import-status-string, +.import-done .directorist-import-text-inner { + display: none; +} +.import-done .import-done-counter, +.import-done .directorist-import-done-inner, +.import-done .import-done-section { + display: block; +} + +.import-progress-warning { + position: relative; + top: 10px; + font-size: 15px; + font-weight: 500; + color: #e91e63; + display: block; + text-align: center; +} + .directorist-create-directory { display: -webkit-box; display: -webkit-flex; @@ -26953,7 +48306,7 @@ span.drop-toggle-caret:before { -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; - font-family: Inter; + font-family: "Inter"; margin-left: -20px; } .directorist-create-directory * { @@ -26978,31 +48331,35 @@ span.drop-toggle-caret:before { margin: 50px 0; } .directorist-create-directory__header { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; gap: 30px; + -webkit-box-align: center; + -webkit-align-items: center; -ms-flex-align: center; + align-items: center; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; - background-color: #fff; + background-color: #ffffff; padding: 12px 32px; border-bottom: 1px solid #e5e7eb; } -.directorist-create-directory__header, .directorist-create-directory__logo { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - align-items: center; -} -.directorist-create-directory__logo { -webkit-align-self: stretch; -ms-flex-item-align: stretch; align-self: stretch; + -webkit-box-align: center; + -webkit-align-items: center; -ms-flex-align: center; + align-items: center; padding: 15px 25px; border-right: 1px solid #e7e7e7; } @@ -27111,7 +48468,7 @@ span.drop-toggle-caret:before { -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; - background-color: #fff; + background-color: #ffffff; -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); } @@ -27140,6 +48497,7 @@ span.drop-toggle-caret:before { border-radius: 8px; font-size: 15px; background-color: #4353ff; + border-color: #4353ff; color: #fff; border: none; cursor: pointer; @@ -27150,8 +48508,8 @@ span.drop-toggle-caret:before { .directorist-create-directory__btn:hover { opacity: 0.85; } -.directorist-create-directory__btn.disabled, -.directorist-create-directory__btn:disabled { +.directorist-create-directory__btn:disabled, +.directorist-create-directory__btn.disabled { opacity: 0.5; pointer-events: none; cursor: not-allowed; @@ -27184,8 +48542,8 @@ span.drop-toggle-caret:before { font-weight: 600; background-color: #3e62f5; border-color: #3e62f5; - -webkit-box-shadow: 0 1px 2px 0 rgba(27, 36, 44, 0.12); - box-shadow: 0 1px 2px 0 rgba(27, 36, 44, 0.12); + -webkit-box-shadow: 0px 1px 2px 0px rgba(27, 36, 44, 0.12); + box-shadow: 0px 1px 2px 0px rgba(27, 36, 44, 0.12); } .directorist-create-directory__btn.loading { position: relative; @@ -27209,7 +48567,7 @@ span.drop-toggle-caret:before { width: 20px; height: 20px; border-radius: 50%; - border: 2px solid #fff; + border: 2px solid #ffffff; border-top-color: #4353ff; position: absolute; top: 10px; @@ -27250,9 +48608,9 @@ span.drop-toggle-caret:before { animation: spin 2s linear infinite; } .directorist-create-directory__next - .directorist_regenerate_fields.loading:after, + .directorist_regenerate_fields.loading:before, .directorist-create-directory__next - .directorist_regenerate_fields.loading:before { + .directorist_regenerate_fields.loading:after { display: none; } @media (max-width: 375px) { @@ -27260,8 +48618,7 @@ span.drop-toggle-caret:before { gap: 15px; } } -.directorist-create-directory__back, -.directorist-create-directory__back__btn { +.directorist-create-directory__back { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -27269,17 +48626,22 @@ span.drop-toggle-caret:before { gap: 8px; } .directorist-create-directory__back__btn { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; + gap: 8px; color: #141921; font-size: 14px; font-weight: 500; line-height: 20px; } -.directorist-create-directory__back__btn img, -.directorist-create-directory__back__btn svg { +.directorist-create-directory__back__btn svg, +.directorist-create-directory__back__btn img { width: 20px; height: 20px; } @@ -27352,8 +48714,8 @@ span.drop-toggle-caret:before { height: 8px; background-color: #d2d6db; } -.directorist-create-directory__step .atbdp-setup-steps li.active:after, -.directorist-create-directory__step .atbdp-setup-steps li.done:after { +.directorist-create-directory__step .atbdp-setup-steps li.done:after, +.directorist-create-directory__step .atbdp-setup-steps li.active:after { background-color: #6e89f7; } .directorist-create-directory__step .step-count { @@ -27365,13 +48727,13 @@ span.drop-toggle-caret:before { .directorist-create-directory__content { border-radius: 10px; border: 1px solid #e5e7eb; - background-color: #fff; + background-color: white; -webkit-box-shadow: - 0 3px 2px -1px rgba(27, 36, 44, 0.02), - 0 15px 24px -6px rgba(27, 36, 44, 0.08); + 0px 3px 2px -1px rgba(27, 36, 44, 0.02), + 0px 15px 24px -6px rgba(27, 36, 44, 0.08); box-shadow: - 0 3px 2px -1px rgba(27, 36, 44, 0.02), - 0 15px 24px -6px rgba(27, 36, 44, 0.08); + 0px 3px 2px -1px rgba(27, 36, 44, 0.02), + 0px 15px 24px -6px rgba(27, 36, 44, 0.08); max-width: 622px; min-width: 622px; overflow: auto; @@ -27420,7 +48782,7 @@ span.drop-toggle-caret:before { padding: 32px; width: 100%; margin: 0 auto; - background-color: #fff; + background-color: #ffffff; border-radius: 8px; -webkit-box-sizing: border-box; box-sizing: border-box; @@ -27473,7 +48835,7 @@ span.drop-toggle-caret:before { align-self: stretch; border-radius: 8px; border: 1px solid #d2d6db; - background-color: #fff; + background-color: white; color: #747c89; text-overflow: ellipsis; white-space: nowrap; @@ -27497,7 +48859,7 @@ span.drop-toggle-caret:before { overflow: auto; } .directorist-create-directory__content__input.form-control.--textarea:focus { - background-color: #fff; + background-color: white; } .directorist-create-directory__content__input.form-control.--icon-none { padding: 7px 16px; @@ -27556,8 +48918,8 @@ span.drop-toggle-caret:before { .directorist-create-directory__content__input.form-control:hover { color: #141921; border-color: #3e62f5; - -webkit-box-shadow: 0 0 0 3px rgba(103, 146, 244, 0.3); - box-shadow: 0 0 0 3px rgba(103, 146, 244, 0.3); + -webkit-box-shadow: 0px 0px 0px 3px rgba(103, 146, 244, 0.3); + box-shadow: 0px 0px 0px 3px rgba(103, 146, 244, 0.3); } .directorist-create-directory__content__input[name="directory-location"]::-webkit-search-cancel-button { position: relative; @@ -27567,14 +48929,14 @@ span.drop-toggle-caret:before { width: 20px; background: #d1d1d7; -webkit-appearance: none; - -webkit-mask-image: url(../images/fbe9a71fb4cca6c00727edfa817798b2.svg); - mask-image: url(../images/fbe9a71fb4cca6c00727edfa817798b2.svg); + -webkit-mask-image: url(../js/../images/fbe9a71fb4cca6c00727edfa817798b2.svg); + mask-image: url(../js/../images/fbe9a71fb4cca6c00727edfa817798b2.svg); } .directorist-create-directory__content__input.empty, .directorist-create-directory__content__input.max-char-reached { border-color: #ff0808 !important; - -webkit-box-shadow: 0 0 3px 3px rgba(212, 15, 15, 0.3) !important; - box-shadow: 0 0 3px 3px rgba(212, 15, 15, 0.3) !important; + -webkit-box-shadow: 0px 0px 3px 3px rgba(212, 15, 15, 0.3) !important; + box-shadow: 0px 0px 3px 3px rgba(212, 15, 15, 0.3) !important; } .directorist-create-directory__content__input ~ .character-count { width: 100%; @@ -27615,6 +48977,14 @@ span.drop-toggle-caret:before { .directorist-create-directory__content__input-group.--options .--options-wrapper { width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; @@ -27624,9 +48994,7 @@ span.drop-toggle-caret:before { flex-wrap: wrap; gap: 15px 10px; } -.directorist-create-directory__content__input-group.--options .--options-left, -.directorist-create-directory__content__input-group.--options - .--options-wrapper { +.directorist-create-directory__content__input-group.--options .--options-left { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -27635,8 +49003,6 @@ span.drop-toggle-caret:before { -webkit-align-items: center; -ms-flex-align: center; align-items: center; -} -.directorist-create-directory__content__input-group.--options .--options-left { gap: 8px; overflow: hidden; color: #747c89; @@ -27663,7 +49029,7 @@ span.drop-toggle-caret:before { display: -webkit-flex; display: -ms-flexbox; display: flex; - padding: 0 8px; + padding: 0px 8px; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; @@ -27700,8 +49066,8 @@ span.drop-toggle-caret:before { left: 20px; pointer-events: none; } -.directorist-create-directory__content__input-icon img, -.directorist-create-directory__content__input-icon svg { +.directorist-create-directory__content__input-icon svg, +.directorist-create-directory__content__input-icon img { width: 20px; height: 20px; -webkit-transition: 0.3s; @@ -27725,46 +49091,43 @@ span.drop-toggle-caret:before { border-top: 1px solid #e5e7eb; } .directorist-create-directory__content__btns { - gap: 15px; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; -} -.directorist-create-directory__content__btns, -.directorist-create-directory__content__notice { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + gap: 15px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; } .directorist-create-directory__content__notice { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; gap: 5px; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; font-size: 14px; font-weight: 500; color: #484848; - -webkit-transition: color eases 0.3s; - transition: color eases 0.3s; + -webkit-transition: color 0.3s eases; + transition: color 0.3s eases; } .directorist-create-directory__content__notice:hover { color: #4353ff; } .directorist-create-directory__generate { - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -} -.directorist-create-directory__generate, -.directorist-create-directory__generate .directory-img { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -27773,13 +49136,30 @@ span.drop-toggle-caret:before { -webkit-align-items: center; -ms-flex-align: center; align-items: center; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; } .directorist-create-directory__generate .directory-img { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; padding: 4px; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; } .directorist-create-directory__generate .directory-img @@ -27854,7 +49234,9 @@ span.drop-toggle-caret:before { gap: 10px; } @media (max-width: 480px) { - .directorist-create-directory__checkbox, + .directorist-create-directory__checkbox { + width: 100%; + } .directorist-create-directory__checkbox label { width: 100%; } @@ -27911,14 +49293,14 @@ span.drop-toggle-caret:before { .directorist-create-directory__checkbox input[type="checkbox"] { display: none; } -.directorist-create-directory__checkbox input[type="checkbox"]:focus ~ label, -.directorist-create-directory__checkbox input[type="checkbox"]:hover ~ label { +.directorist-create-directory__checkbox input[type="checkbox"]:hover ~ label, +.directorist-create-directory__checkbox input[type="checkbox"]:focus ~ label { color: #383f47; background-color: #e5e7eb; border-color: #e5e7eb; } .directorist-create-directory__checkbox input[type="checkbox"]:checked ~ label { - color: #fff; + color: #ffffff; background-color: #6e89f7; border-color: #6e89f7; } @@ -27934,14 +49316,14 @@ span.drop-toggle-caret:before { .directorist-create-directory__checkbox input[type="radio"] { display: none; } -.directorist-create-directory__checkbox input[type="radio"]:focus ~ label, -.directorist-create-directory__checkbox input[type="radio"]:hover ~ label { +.directorist-create-directory__checkbox input[type="radio"]:hover ~ label, +.directorist-create-directory__checkbox input[type="radio"]:focus ~ label { color: #383f47; background-color: #e5e7eb; border-color: #e5e7eb; } .directorist-create-directory__checkbox input[type="radio"]:checked ~ label { - color: #fff; + color: #ffffff; background-color: #6e89f7; border-color: #6e89f7; } @@ -27991,9 +49373,87 @@ span.drop-toggle-caret:before { font-weight: 400; color: #787878; } +.directorist-create-directory__go-pro { + margin-top: 20px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding: 8px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-align-self: stretch; + -ms-flex-item-align: stretch; + align-self: stretch; + border-radius: 6px; + border: 1px solid #9eb0fa; + background: #f0f3ff; +} +.directorist-create-directory__go-pro-title { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding: 8px; + -webkit-box-align: start; + -webkit-align-items: flex-start; + -ms-flex-align: start; + align-items: flex-start; + gap: 10px; + color: #4d5761; + font-size: 14px; + font-weight: 400; + line-height: 20px; +} +.directorist-create-directory__go-pro-title svg { + padding: 4px 8px; + width: 32px; + max-height: 16px; + color: #3e62f5; +} .directorist-create-directory__go-pro-button a { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + width: 146px; + height: 32px; + padding: 0px 16px; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 8px; + color: #141921; + font-size: 12px; + font-weight: 600; + line-height: 19px; + text-transform: capitalize; + border-radius: 6px; + border: 1px solid #d2d6db; + background: #f0f3ff; + -webkit-box-shadow: 0px 1px 2px 0px rgba(27, 36, 44, 0.12); + box-shadow: 0px 1px 2px 0px rgba(27, 36, 44, 0.12); -webkit-box-sizing: border-box; box-sizing: border-box; + -webkit-transition: opacity 0.3s ease; + transition: opacity 0.3s ease; +} +.directorist-create-directory__go-pro-button a:hover { + background-color: #3e62f5; + border-color: #3e62f5; + color: white; + opacity: 0.85; } .directorist-create-directory__counter { width: 100%; @@ -28028,7 +49488,7 @@ span.drop-toggle-caret:before { max-width: 720px; margin: 0 auto; padding: 30px 40px 40px; - background-color: #fff; + background-color: #ffffff; border-radius: 8px; -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); @@ -28068,7 +49528,7 @@ span.drop-toggle-caret:before { } .directorist-create-directory__box__content__form:before { content: ""; - background-image: url(../images/2b491f8827936e353fbe598bfae84852.svg); + background-image: url(../js/../images/2b491f8827936e353fbe598bfae84852.svg); background-repeat: no-repeat; width: 14px; height: 14px; @@ -28077,7 +49537,7 @@ span.drop-toggle-caret:before { top: 14px; } .directorist-create-directory__box__content__form .address_result { - background-color: #fff; + background-color: #ffffff; -webkit-box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); } @@ -28093,7 +49553,8 @@ span.drop-toggle-caret:before { width: 100%; height: 44px; border-radius: 8px; - padding: 0 60px 0 40px; + padding: 0 40px; + padding-right: 60px; outline: none; background-color: #ebebeb; border: 1px solid #ebebeb; @@ -28106,7 +49567,7 @@ span.drop-toggle-caret:before { top: 14px; } .directorist-create-directory__box__content__input--clear - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 16px; height: 16px; background-color: #484848; @@ -28117,7 +49578,7 @@ span.drop-toggle-caret:before { top: 14px; } .directorist-create-directory__box__content__location-icon - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 16px; height: 16px; background-color: #484848; @@ -28130,7 +49591,7 @@ span.drop-toggle-caret:before { border-radius: 8px; } .directorist-create-directory__map .leaflet-touch .leaflet-bar a { - background: #fff; + background: #ffffff; } .directorist-create-directory__notice { position: absolute; @@ -28143,6 +49604,7 @@ span.drop-toggle-caret:before { font-style: italic; color: #f80718; } + .directorist-box { display: -webkit-box; display: -webkit-flex; @@ -28193,11 +49655,11 @@ span.drop-toggle-caret:before { -webkit-transition: 0.3s; transition: 0.3s; } -.directorist-box__input-wrapper:focus, -.directorist-box__input-wrapper:hover { +.directorist-box__input-wrapper:hover, +.directorist-box__input-wrapper:focus { border: 1px solid #3e62f5; - -webkit-box-shadow: 0 0 0 3px rgba(103, 146, 244, 0.3); - box-shadow: 0 0 0 3px rgba(103, 146, 244, 0.3); + -webkit-box-shadow: 0px 0px 0px 3px rgba(103, 146, 244, 0.3); + box-shadow: 0px 0px 0px 3px rgba(103, 146, 244, 0.3); } .directorist-box__input[type="text"] { padding: 0 8px; @@ -28296,10 +49758,20 @@ span.drop-toggle-caret:before { margin: 0; } .directorist-box__tagList li:not(:only-child, :last-child) { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; height: 24px; padding: 0 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 8px; border-radius: 4px; background: #f3f4f6; + margin: 0; text-transform: capitalize; color: #4d5761; font-size: 12px; @@ -28307,8 +49779,7 @@ span.drop-toggle-caret:before { line-height: 16px; letter-spacing: 0.12px; } -.directorist-box__recommended-list, -.directorist-box__tagList li:not(:only-child, :last-child) { +.directorist-box__recommended-list { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -28317,14 +49788,12 @@ span.drop-toggle-caret:before { -webkit-align-items: center; -ms-flex-align: center; align-items: center; - gap: 8px; - margin: 0; -} -.directorist-box__recommended-list { -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; + gap: 8px; padding: 0; + margin: 0; } .directorist-box__recommended-list.recommend-disable { opacity: 0.5; @@ -28362,15 +49831,26 @@ span.drop-toggle-caret:before { color: #383f47; background-color: #e5e7eb; } -.directorist-box__recommended-list li.disabled, +.directorist-box__recommended-list li.disabled { + display: none; +} .directorist-box__recommended-list li.free-disabled { display: none; } .directorist-box__recommended-list li.free-disabled:hover { background-color: #cfd8dc; } + .directorist-box-options__wrapper { width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; @@ -28381,8 +49861,7 @@ span.drop-toggle-caret:before { gap: 15px 10px; margin-top: 12px; } -.directorist-box-options__left, -.directorist-box-options__wrapper { +.directorist-box-options__left { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -28391,8 +49870,6 @@ span.drop-toggle-caret:before { -webkit-align-items: center; -ms-flex-align: center; align-items: center; -} -.directorist-box-options__left { gap: 8px; overflow: hidden; color: #747c89; @@ -28419,7 +49896,15 @@ span.drop-toggle-caret:before { .directorist-box-options__hit-button { border-radius: 4px; background: #e5e7eb; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; padding: 0 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; gap: 6px; overflow: hidden; color: #141921; @@ -28428,24 +49913,22 @@ span.drop-toggle-caret:before { font-weight: 400; line-height: 24px; } -.directorist-box-options__hit-button, + .directorist-create-directory__go-pro { + margin-top: 20px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; -} -.directorist-create-directory__go-pro { - margin-top: 20px; padding: 8px; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-align-self: stretch; -ms-flex-item-align: stretch; align-self: stretch; @@ -28500,26 +49983,29 @@ span.drop-toggle-caret:before { border-radius: 6px; border: 1px solid #d2d6db; background: #f0f3ff; - -webkit-box-shadow: 0 1px 2px 0 rgba(27, 36, 44, 0.12); - box-shadow: 0 1px 2px 0 rgba(27, 36, 44, 0.12); + -webkit-box-shadow: 0px 1px 2px 0px rgba(27, 36, 44, 0.12); + box-shadow: 0px 1px 2px 0px rgba(27, 36, 44, 0.12); -webkit-transition: opacity 0.3s ease; transition: opacity 0.3s ease; } .directorist-create-directory__go-pro-button a:hover { background-color: #3e62f5; border-color: #3e62f5; - color: #fff; + color: white; opacity: 0.85; } + .directory-generate-btn { margin-bottom: 20px; } .directory-generate-btn__content { + border-radius: 6px; border-radius: 8px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + padding: 12.5px 61px 12.5px 64px; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; @@ -28531,11 +50017,11 @@ span.drop-toggle-caret:before { border: 1px solid #e5e7eb; background: #fff; -webkit-box-shadow: - 0 16px 24px -6px rgba(27, 36, 44, 0.16), - 0 2px 2px -1px rgba(27, 36, 44, 0.04); + 0px 16px 24px -6px rgba(27, 36, 44, 0.16), + 0px 2px 2px -1px rgba(27, 36, 44, 0.04); box-shadow: - 0 16px 24px -6px rgba(27, 36, 44, 0.16), - 0 2px 2px -1px rgba(27, 36, 44, 0.04); + 0px 16px 24px -6px rgba(27, 36, 44, 0.16), + 0px 2px 2px -1px rgba(27, 36, 44, 0.04); gap: 8px; color: #141921; font-size: 12px; @@ -28543,7 +50029,7 @@ span.drop-toggle-caret:before { line-height: 20px; position: relative; padding: 10px; - margin: 0 2px 3px; + margin: 0 2px 3px 2px; border-radius: 6px; } .directory-generate-btn--bg { @@ -28570,15 +50056,22 @@ span.drop-toggle-caret:before { .directory-generate-btn__wrapper { position: relative; width: 347px; - background-color: #fff; + background-color: white; border-radius: 5px; - margin: 0 auto 20px; + margin: 0 auto; + margin-bottom: 20px; } + .directory-generate-progress-list { margin-top: 34px; } .directory-generate-progress-list ul { + margin: 0; padding: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; @@ -28590,15 +50083,12 @@ span.drop-toggle-caret:before { align-items: center; gap: 18px; } -.directory-generate-progress-list ul, .directory-generate-progress-list ul li { margin: 0; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -} -.directory-generate-progress-list ul li { -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; @@ -28630,8 +50120,8 @@ span.drop-toggle-caret:before { background-color: #3e62f5; border: 1px solid #3e62f5; color: #fff !important; - -webkit-box-shadow: 0 1px 2px 0 rgba(27, 36, 44, 0.12); - box-shadow: 0 1px 2px 0 rgba(27, 36, 44, 0.12); + -webkit-box-shadow: 0px 1px 2px 0px rgba(27, 36, 44, 0.12); + box-shadow: 0px 1px 2px 0px rgba(27, 36, 44, 0.12); height: 40px; border-radius: 8px; display: -webkit-box; @@ -28658,8 +50148,9 @@ span.drop-toggle-caret:before { opacity: 0.5; pointer-events: none; } + .directorist-ai-generate-box { - background-color: #fff; + background-color: white; padding: 32px; } .directorist-ai-generate-box__header { @@ -28701,17 +50192,31 @@ span.drop-toggle-caret:before { margin: 0; } .directorist-ai-generate-box__items { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; padding: 24px; border-radius: 8px; background: #f3f4f6; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-align: start; + -webkit-align-items: flex-start; + -ms-flex-align: start; + align-items: flex-start; gap: 8px; + -webkit-align-self: stretch; -ms-flex-item-align: stretch; + align-self: stretch; margin: 0; max-height: 540px; overflow-y: auto; } -.directorist-ai-generate-box__item, -.directorist-ai-generate-box__items { +.directorist-ai-generate-box__item { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -28721,26 +50226,25 @@ span.drop-toggle-caret:before { -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; - -webkit-box-align: start; - -webkit-align-items: flex-start; - -ms-flex-align: start; - align-items: flex-start; - -webkit-align-self: stretch; - align-self: stretch; -} -.directorist-ai-generate-box__item { -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + -webkit-box-align: start; + -webkit-align-items: flex-start; + -ms-flex-align: start; + align-items: flex-start; gap: 10px; + -webkit-align-self: stretch; -ms-flex-item-align: stretch; + align-self: stretch; } .directorist-ai-generate-box__item.pinned .directorist-ai-generate-dropdown__pin-icon svg { color: #3e62f5; } + .directorist-ai-generate-dropdown { border: 1px solid #e5e7eb; border-radius: 8px; @@ -28798,7 +50302,7 @@ span.drop-toggle-caret:before { display: -webkit-flex; display: -ms-flexbox; display: flex; - padding: 0 12px 0 6px; + padding: 0px 12px 0px 6px; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; @@ -28838,7 +50342,7 @@ span.drop-toggle-caret:before { display: -webkit-flex; display: -ms-flexbox; display: flex; - padding: 0 12px 0 24px; + padding: 0px 12px 0px 24px; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; @@ -28862,7 +50366,7 @@ span.drop-toggle-caret:before { font-style: normal; font-weight: 500; line-height: 13.92px; - margin: 4px 0 0; + margin: 4px 0 0 0; } .directorist-ai-generate-dropdown__content { display: none; @@ -28874,8 +50378,8 @@ span.drop-toggle-caret:before { font-weight: 500; line-height: 13.92px; } -.directorist-ai-generate-dropdown__content--expanded, -.directorist-ai-generate-dropdown__content[aria-expanded="true"] { +.directorist-ai-generate-dropdown__content[aria-expanded="true"], +.directorist-ai-generate-dropdown__content--expanded { display: block; } .directorist-ai-generate-dropdown__header-icon { @@ -28893,6 +50397,7 @@ span.drop-toggle-caret:before { width: 20px; height: 20px; } + .directorist-ai-location-field__title { color: #4d5761; font-family: Inter; @@ -28950,6 +50455,7 @@ span.drop-toggle-caret:before { width: 20px; height: 20px; } + .directorist-ai-checkbox-field__label { color: #4d5761; font-size: 14px; @@ -29012,6 +50518,7 @@ span.drop-toggle-caret:before { flex-direction: column; gap: 24px; } + .directorist-ai-keyword-field__label { color: #4d5761; font-size: 14px; @@ -29047,10 +50554,10 @@ span.drop-toggle-caret:before { height: 32px; } .directorist-ai-keyword-field__list-item.--px-8 { - padding: 0 8px; + padding: 0px 8px; } .directorist-ai-keyword-field__list-item.--px-12 { - padding: 0 12px; + padding: 0px 12px; } .directorist-ai-keyword-field__list-item { display: -webkit-box; @@ -29087,35 +50594,39 @@ span.drop-toggle-caret:before { flex-direction: column; gap: 24px; } + @keyframes spin { - 0% { + from { -webkit-transform: rotate(0deg); transform: rotate(0deg); } to { - -webkit-transform: rotate(1turn); - transform: rotate(1turn); + -webkit-transform: rotate(360deg); + transform: rotate(360deg); } } +/* data Progressing */ .directorist-create-directory__step .directorist-create-directory__content.hidden { display: none; } + .middle-content.middle-content-import { - background: #fff; + background: white; padding: 40px; -webkit-box-shadow: - 0 4px 6px -2px rgba(0, 0, 0, 0.05), - 0 10px 15px -3px rgba(0, 0, 0, 0.1); + 0px 4px 6px -2px rgba(0, 0, 0, 0.05), + 0px 10px 15px -3px rgba(0, 0, 0, 0.1); box-shadow: - 0 4px 6px -2px rgba(0, 0, 0, 0.05), - 0 10px 15px -3px rgba(0, 0, 0, 0.1); + 0px 4px 6px -2px rgba(0, 0, 0, 0.05), + 0px 10px 15px -3px rgba(0, 0, 0, 0.1); width: 600px; border-radius: 8px; } .middle-content.hidden { display: none; } + .directorist-import-progress-info-text { display: -webkit-box; display: -webkit-flex; @@ -29130,46 +50641,47 @@ span.drop-toggle-caret:before { align-content: center; grid-gap: 10px; } -.directorist-import-error, -.directorist-import-progress { + +.directorist-import-progress, +.directorist-import-error { margin-top: 25px; } -.directorist-import-error .directorist-import-progress-bar-wrap, -.directorist-import-progress .directorist-import-progress-bar-wrap { +.directorist-import-progress .directorist-import-progress-bar-wrap, +.directorist-import-error .directorist-import-progress-bar-wrap { position: relative; overflow: hidden; } -.directorist-import-error .import-progress-gap span, -.directorist-import-progress .import-progress-gap span { - background: #fff; +.directorist-import-progress .import-progress-gap span, +.directorist-import-error .import-progress-gap span { + background: white; height: 6px; position: absolute; width: 10px; top: -1px; } -.directorist-import-error .import-progress-gap span:first-child, -.directorist-import-progress .import-progress-gap span:first-child { +.directorist-import-progress .import-progress-gap span:nth-child(1), +.directorist-import-error .import-progress-gap span:nth-child(1) { left: calc(25% - 10px); } -.directorist-import-error .import-progress-gap span:nth-child(2), -.directorist-import-progress .import-progress-gap span:nth-child(2) { +.directorist-import-progress .import-progress-gap span:nth-child(2), +.directorist-import-error .import-progress-gap span:nth-child(2) { left: calc(50% - 10px); } -.directorist-import-error .import-progress-gap span:nth-child(3), -.directorist-import-progress .import-progress-gap span:nth-child(3) { +.directorist-import-progress .import-progress-gap span:nth-child(3), +.directorist-import-error .import-progress-gap span:nth-child(3) { left: calc(75% - 10px); } -.directorist-import-error .directorist-import-progress-bar-bg, -.directorist-import-progress .directorist-import-progress-bar-bg { +.directorist-import-progress .directorist-import-progress-bar-bg, +.directorist-import-error .directorist-import-progress-bar-bg { height: 4px; background: #e5e7eb; width: 100%; position: relative; } -.directorist-import-error +.directorist-import-progress .directorist-import-progress-bar-bg .directorist-import-progress-bar, -.directorist-import-progress +.directorist-import-error .directorist-import-progress-bar-bg .directorist-import-progress-bar { position: absolute; @@ -29178,19 +50690,19 @@ span.drop-toggle-caret:before { background: #2563eb; -webkit-transition: all 1s; transition: all 1s; - width: 0; + width: 0%; height: 100%; } -.directorist-import-error +.directorist-import-progress .directorist-import-progress-bar-bg .directorist-import-progress-bar.import-done, -.directorist-import-progress +.directorist-import-error .directorist-import-progress-bar-bg .directorist-import-progress-bar.import-done { background: #38c172; } -.directorist-import-error .directorist-import-progress-info, -.directorist-import-progress .directorist-import-progress-info { +.directorist-import-progress .directorist-import-progress-info, +.directorist-import-error .directorist-import-progress-info { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -29206,6 +50718,7 @@ span.drop-toggle-caret:before { margin-top: 15px; margin-bottom: 15px; } + .directorist-import-error .directorist-import-error-box { overflow-y: scroll; } @@ -29218,6 +50731,7 @@ span.drop-toggle-caret:before { .directorist-import-progress-bar { background: #2563eb; } + .directorist-import-process-step-bottom { display: -webkit-box; display: -webkit-flex; @@ -29243,6 +50757,7 @@ span.drop-toggle-caret:before { display: inline-block; padding: 20px 10px 0; } + .import-done-congrats { display: -webkit-box; display: -webkit-flex; @@ -29256,14 +50771,15 @@ span.drop-toggle-caret:before { .import-done-congrats span { margin-left: 17px; } + .import-done-section { margin-top: 60px; } .import-done-section .tweet-import-success .tweet-text { - background: #fff; + background: #ffffff; border: 1px solid rgba(34, 101, 235, 0.1); border-radius: 4px; - padding: 14px 21px; + padding: 14px 21px 14px 21px; } .import-done-section .tweet-import-success .twitter-btn-wrap { display: -webkit-box; @@ -29289,18 +50805,23 @@ span.drop-toggle-caret:before { .import-done-section .import-done-text .import-done-button { margin-top: 25px; } + .directorist-import-done-inner, .import-done-counter, -.import-done-section, -.import-done .directorist-import-text-inner, -.import-done .import-status-string { +.import-done-section { + display: none; +} + +.import-done .import-status-string, +.import-done .directorist-import-text-inner { display: none; } -.import-done .directorist-import-done-inner, .import-done .import-done-counter, +.import-done .directorist-import-done-inner, .import-done .import-done-section { display: block; } + .import-progress-warning { position: relative; top: 10px; @@ -29310,3 +50831,5 @@ span.drop-toggle-caret:before { display: block; text-align: center; } + +/*# sourceMappingURL=admin-main.css.map*/ diff --git a/assets/css/admin-main.rtl.css b/assets/css/admin-main.rtl.css index 8cd8a05203..5edce13bdf 100644 --- a/assets/css/admin-main.rtl.css +++ b/assets/css/admin-main.rtl.css @@ -1,12 +1,15 @@ /*!******************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-4.use[1]!./node_modules/resolve-url-loader/index.js!./node_modules/postcss-loader/src/index.js??clonedRuleSet-4.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-4.use[4]!./assets/src/scss/layout/admin/admin-style.scss ***! \******************************************************************************************************************************************************************************************************************************************************************************************************/ +@import url(https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap); /*!**********************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-4.use[1]!./node_modules/resolve-url-loader/index.js!./node_modules/postcss-loader/src/index.js??clonedRuleSet-4.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-4.use[4]!./assets/src/scss/layout/admin/admin-style.scss (1) ***! \**********************************************************************************************************************************************************************************************************************************************************************************************************/ +@import url(https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap); /*!**********************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-4.use[1]!./node_modules/resolve-url-loader/index.js!./node_modules/postcss-loader/src/index.js??clonedRuleSet-4.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-4.use[4]!./assets/src/scss/layout/admin/admin-style.scss (2) ***! \**********************************************************************************************************************************************************************************************************************************************************************************************************/ +@import url(https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap); /*!**********************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-4.use[1]!./node_modules/resolve-url-loader/index.js!./node_modules/postcss-loader/src/index.js??clonedRuleSet-4.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-4.use[4]!./assets/src/scss/layout/admin/admin-style.scss (3) ***! \**********************************************************************************************************************************************************************************************************************************************************************************************************/ @@ -14,6 +17,7 @@ /*!**********************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-4.use[1]!./node_modules/resolve-url-loader/index.js!./node_modules/postcss-loader/src/index.js??clonedRuleSet-4.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-4.use[4]!./assets/src/scss/layout/admin/admin-style.scss (4) ***! \**********************************************************************************************************************************************************************************************************************************************************************************************************/ +/* typography */ #directiost-listing-fields_wrapper .directorist-show { display: block !important; } @@ -23,8 +27,8 @@ #directiost-listing-fields_wrapper { padding: 18px 20px; } -#directiost-listing-fields_wrapper a:active, -#directiost-listing-fields_wrapper a:focus { +#directiost-listing-fields_wrapper a:focus, +#directiost-listing-fields_wrapper a:active { -webkit-box-shadow: unset; box-shadow: unset; outline: none; @@ -88,7 +92,7 @@ -webkit-transition: 0.2s; transition: 0.2s; cursor: pointer; - color: #fff; + color: #ffffff; padding: 0; } #directiost-listing-fields_wrapper @@ -228,8 +232,8 @@ margin-top: auto; } #directiost-listing-fields_wrapper .extension_detail.ext_d > a, -#directiost-listing-fields_wrapper .extension_detail.ext_d div, -#directiost-listing-fields_wrapper .extension_detail.ext_d p { +#directiost-listing-fields_wrapper .extension_detail.ext_d p, +#directiost-listing-fields_wrapper .extension_detail.ext_d div { display: block; } #directiost-listing-fields_wrapper .extension_detail.ext_d > p { @@ -264,9 +268,9 @@ } #directiost-listing-fields_wrapper .attc_extension_wrapper .single_extension { margin-bottom: 30px; - background-color: #fff; - -webkit-box-shadow: 0 5px 10px #e1e7f7; - box-shadow: 0 5px 10px #e1e7f7; + background-color: #ffffff; + -webkit-box-shadow: 0px 5px 10px #e1e7f7; + box-shadow: 0px 5px 10px #e1e7f7; padding: 25px; } #directiost-listing-fields_wrapper @@ -293,7 +297,7 @@ .ext_title a:after { content: "(Coming Soon)"; - color: red; + color: #ff0000; font-size: 14px; } #directiost-listing-fields_wrapper @@ -343,8 +347,8 @@ #directiost-listing-fields_wrapper.atbd_help_support .wrap_right .postbox { background-color: #0073aa; border-radius: 3px; - -webkit-box-shadow: 0 10px 20px hsla(0, 0%, 40.4%, 0.27); - box-shadow: 0 10px 20px hsla(0, 0%, 40.4%, 0.27); + -webkit-box-shadow: 0 10px 20px rgba(103, 103, 103, 0.27); + box-shadow: 0 10px 20px rgba(103, 103, 103, 0.27); } #directiost-listing-fields_wrapper.atbd_help_support .wrap_right .postbox h3 { color: #fff; @@ -364,25 +368,38 @@ #directiost-listing-fields_wrapper ul.atbdp_pro_features li a:hover { color: #fff; } -#directiost-listing-fields_wrapper .atbdp-checkbox-list li label, -#directiost-listing-fields_wrapper .atbdp-radio-list li label { +#directiost-listing-fields_wrapper .atbdp-radio-list li label, +#directiost-listing-fields_wrapper .atbdp-checkbox-list li label { text-transform: capitalize; font-size: 13px; } -#directiost-listing-fields_wrapper .atbdp-checkbox-list li label input, -#directiost-listing-fields_wrapper .atbdp-radio-list li label input { +#directiost-listing-fields_wrapper .atbdp-radio-list li label input, +#directiost-listing-fields_wrapper .atbdp-checkbox-list li label input { margin-left: 7px; } -#directiost-listing-fields_wrapper .single_thm .btn_wrapper, #directiost-listing-fields_wrapper .single_thm .ext_title h4 { text-align: center; } +#directiost-listing-fields_wrapper .single_thm .btn_wrapper { + text-align: center; +} +#directiost-listing-fields_wrapper { + /*********************************************************** + ************************************************************ + css for Custom Field + ************************************************************* + **************************************************************/ +} #directiost-listing-fields_wrapper .postbox table.widefat { -webkit-box-shadow: none; box-shadow: none; background-color: #eff2f5; } -#directiost-listing-fields_wrapper #atbdp-field-details td, +#directiost-listing-fields_wrapper #atbdp-field-details td { + color: #555; + font-size: 17px; + width: 8%; +} #directiost-listing-fields_wrapper #atbdp-field-options td { color: #555; font-size: 17px; @@ -394,6 +411,10 @@ #directiost-listing-fields_wrapper .atbdp-tick-cross2 { margin-right: 25px; } +#directiost-listing-fields_wrapper { + /* + for shortable field*/ +} #directiost-listing-fields_wrapper .ui-sortable tr:hover { cursor: move; } @@ -407,6 +428,7 @@ #directiost-listing-fields_wrapper .business-hour label { margin-bottom: 0; } + #directorist.atbd_wrapper .form-group { margin-bottom: 30px; } @@ -439,13 +461,17 @@ position: relative; top: -2px; } + #directorist.atbd_wrapper #category_container .form-group { margin-bottom: 0; } -#directorist.atbd_wrapper .atbd_map_title, + #directorist.atbd_wrapper .g_address_wrap { margin-bottom: 15px; } +#directorist.atbd_wrapper .atbd_map_title { + margin-bottom: 15px; +} #directorist.atbd_wrapper .map_wrapper .map_drag_info { display: block; font-size: 12px; @@ -461,23 +487,28 @@ #directorist.atbd_wrapper #hide_if_no_manual_cor .form-group .form-group { margin-bottom: 20px; } -#directorist.atbd_wrapper .atbd_map_hide, +#directorist.atbd_wrapper .atbd_map_hide { + margin-bottom: 0; +} #directorist.atbd_wrapper .atbd_map_hide label { margin-bottom: 0; } #directorist.atbd_wrapper #atbdp-custom-fields-list { - margin: 13px 0 0; + margin: 13px 0 0 0; } + #_listing_video_gallery #directorist.atbd_wrapper .form-group { margin-bottom: 0; } + a { text-decoration: none; } -@media (min-width: 320px) and (max-width: 373px), - (min-width: 576px) and (max-width: 694px), + +@media (min-width: 1199px) and (max-width: 1510px), (min-width: 768px) and (max-width: 1187px), - (min-width: 1199px) and (max-width: 1510px) { + (min-width: 576px) and (max-width: 694px), + (min-width: 320px) and (max-width: 373px) { #directorist.atbd_wrapper .btn.demo, #directorist.atbd_wrapper .btn.get { display: block; @@ -487,20 +518,27 @@ a { margin-top: 10px; } } -#directorist.atbd_wrapper #addNewSocial, +#directorist.atbd_wrapper #addNewSocial { + margin-bottom: 15px; +} + #directorist.atbd_wrapper .atbdp_social_field_wrapper .form-group { margin-bottom: 15px; } + .atbdp_social_field_wrapper select.form-control { height: 35px !important; } + #atbdp-categories-image-wrapper img { width: 150px; } + .vp-wrap .vp-checkbox .field label { display: block; margin-left: 0; } + .vp-wrap .vp-section > h3 { color: #01b0ff; font-size: 15px; @@ -512,6 +550,7 @@ a { background-color: #f2f4f7; z-index: 1; } + #shortcode-updated .input label span { background-color: #008ec2; width: 160px; @@ -529,14 +568,17 @@ a { transform: translate(50%, -50%); border-radius: 3px; } + #shortcode-updated + #success_msg { color: #4caf50; padding-right: 15px; } + .olControlAttribution { left: 10px !important; bottom: 10px !important; } + .g_address_wrap ul { margin-top: 15px !important; } @@ -548,6 +590,7 @@ a { .g_address_wrap ul li:last-child { margin-bottom: 0; } + .plupload-thumbs .thumb { float: none !important; max-width: 200px; @@ -556,6 +599,7 @@ a { display: -ms-flexbox; display: flex; } + #atbdp-categories-image-wrapper { position: relative; display: inline-block; @@ -585,9 +629,13 @@ a { transition: 0.2s ease; } #atbdp-categories-image-wrapper .remove_cat_img:hover { - background-color: red; + background-color: #ff0000; color: #fff; } + +.plupload-thumbs .thumb { + position: relative; +} .plupload-thumbs .thumb:hover .atbdp-thumb-actions { display: -webkit-box !important; display: -webkit-flex !important; @@ -604,9 +652,6 @@ a { right: 0; top: 0; margin-top: 0; -} -.plupload-thumbs .thumb .atbdp-thumb-actions, -.plupload-thumbs .thumb .atbdp-thumb-actions .thumbremovelink { -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; @@ -624,6 +669,14 @@ a { display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; border-radius: 50%; -webkit-transition: 0.3s ease; transition: 0.3s ease; @@ -635,13 +688,41 @@ a { .plupload-thumbs .thumb .atbdp-thumb-actions:before { border-radius: 5px; } + +.plupload-upload-uic { + width: 420px; + margin: 0 auto !important; + border: 1px dashed #dbdee9; + padding: 30px; + text-align: center; +} +.plupload-upload-uic .atbdp-dropbox-title { + font-weight: 500; + margin-bottom: 15px; + font-size: 15px; +} .plupload-upload-uic .atbdp_button { border: 1px solid #eff1f6; background-color: #f8f9fb; + font-size: 14px; + -webkit-box-shadow: none; + box-shadow: none; + line-height: 40px !important; + padding: 0 30px !important; + height: auto !important; + -webkit-transition: 0.3s ease; + transition: 0.3s ease; } .plupload-upload-uic .atbdp-dropbox-file-types { + margin-top: 10px; color: #9299b8; } + +@media (max-width: 575px) { + .plupload-upload-uic { + width: 100%; + } +} @media (max-width: 400px) { #_listing_contact_info #directorist.atbd_wrapper .form-check { padding-right: 40px; @@ -669,8 +750,12 @@ a { display: inline !important; } } -.atbd_tooltip[aria-label]:after, -.atbd_tooltip[aria-label]:before { +/* ATBD Tooltip */ +.atbd_tooltip { + position: relative; +} +.atbd_tooltip[aria-label]:before, +.atbd_tooltip[aria-label]:after { position: absolute !important; bottom: 100%; display: none; @@ -697,17 +782,19 @@ a { border-radius: 3px; color: #fff; } -.atbd_tooltip[aria-label]:hover:after, -.atbd_tooltip[aria-label]:hover:before { +.atbd_tooltip[aria-label]:hover:before, +.atbd_tooltip[aria-label]:hover:after { display: block; } + @-webkit-keyframes showTooltip { - 0% { + from { opacity: 0; } } + @keyframes showTooltip { - 0% { + from { opacity: 0; } } @@ -716,24 +803,27 @@ a { } .atbdp_shortcodes:after { content: "\f0c5"; - font-family: Font Awesome\5 Free; + font-family: "Font Awesome 5 Free"; color: #000; - font-weight: 400; - line-height: normal; + font-weight: normal; + line-height: initial; cursor: pointer; position: absolute; left: -20px; bottom: 0; z-index: 999; } + .directorist-find-latlan { display: inline-block; color: red; } + .business_time.column-business_time .atbdp-tick-cross2, .web-link.column-web-link .atbdp-tick-cross2 { padding-right: 25px; } + #atbdp-field-details .recurring_time_period { display: -webkit-box; display: -webkit-flex; @@ -750,8 +840,9 @@ a { #atbdp-field-details .recurring_time_period #recurring_period { margin-left: 8px; } + div#need_post_area { - padding: 10px 0 15px; + padding: 10px 0 15px 0; } div#need_post_area .atbd_listing_type_list { margin: 0 -7px; @@ -763,6 +854,7 @@ div#need_post_area label { div#need_post_area label input:checked + span { font-weight: 600; } + #pyn_service_budget label { display: -webkit-box !important; display: -webkit-flex !important; @@ -776,23 +868,27 @@ div#need_post_area label input:checked + span { #pyn_service_budget label #is_hourly { margin-left: 5px; } + #titlediv #title { padding: 3px 8px 7px; font-size: 26px; height: 40px; } -.password_notice, -.req_password_notice { + +.req_password_notice, +.password_notice { padding-right: 20px; padding-left: 20px; } -#danger_example, -#danout_example, + +/* hide button example image top upload fields */ #primary_example, +#secondary_example, +#success_example, +#danger_example, #priout_example, #prioutlight_example, -#secondary_example, -#success_example { +#danout_example { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -802,22 +898,23 @@ div#need_post_area label input:checked + span { -ms-flex-align: center; align-items: center; } -#danger_example .button, -#danger_example input[type="text"], -#danout_example .button, -#danout_example input[type="text"], -#primary_example .button, #primary_example input[type="text"], -#priout_example .button, -#priout_example input[type="text"], -#prioutlight_example .button, -#prioutlight_example input[type="text"], -#secondary_example .button, +#primary_example .button, #secondary_example input[type="text"], +#secondary_example .button, +#success_example input[type="text"], #success_example .button, -#success_example input[type="text"] { +#danger_example input[type="text"], +#danger_example .button, +#priout_example input[type="text"], +#priout_example .button, +#prioutlight_example input[type="text"], +#prioutlight_example .button, +#danout_example input[type="text"], +#danout_example .button { display: none !important; } + #directorist.atbd_wrapper .dbh-wrapper label { margin-bottom: 0 !important; } @@ -833,13 +930,17 @@ div#need_post_area label input:checked + span { padding-right: 15px; border-color: #ddd; } + span.atbdp-tick-cross { padding-right: 20px; } -.atbdp-timestamp-wrap input, -.atbdp-timestamp-wrap select { + +.atbdp-timestamp-wrap select, +.atbdp-timestamp-wrap input { margin-bottom: 5px !important; } + +/* csv styles */ .csv-action-btns { margin-top: 30px; } @@ -878,8 +979,9 @@ span.atbdp-tick-cross { border-color: #2c99ff; } .csv-action-btns a.btn-active span { - color: hsla(0, 0%, 100%, 0.8); + color: rgba(255, 255, 255, 0.8); } + .csv-action-steps ul { width: 700px; margin: 80px auto 0; @@ -896,13 +998,14 @@ span.atbdp-tick-cross { align-items: center; } .csv-action-steps ul li { + text-align: center; position: relative; text-align: center; width: 25%; } .csv-action-steps ul li:before { position: absolute; - content: url(../images/2043b2e371261d67d5b984bbeba0d4ff.png); + content: url(../js/../images/2043b2e371261d67d5b984bbeba0d4ff.png); right: 112px; top: 8px; width: 125px; @@ -946,7 +1049,7 @@ span.atbdp-tick-cross { color: #272b41; } .csv-action-steps ul li.done:before { - content: url(../images/8421bda85ddefddf637d87f7ff6a8337.png); + content: url(../js/../images/8421bda85ddefddf637d87f7ff6a8337.png); } .csv-action-steps ul li.done .step { background-color: #0fb73b; @@ -961,10 +1064,11 @@ span.atbdp-tick-cross { .csv-action-steps ul li.done .step-text { color: #272b41; } -.csv-action-steps ul li:last-child.done:before, -.csv-action-steps ul li:last-child:before { +.csv-action-steps ul li:last-child:before, +.csv-action-steps ul li:last-child.done:before { content: none; } + .csv-wrapper { margin-top: 20px; } @@ -981,7 +1085,7 @@ span.atbdp-tick-cross { border-bottom: 1px solid #f1f2f6; } .csv-wrapper form header h2 { - margin: 0 0 15px; + margin: 0 0 15px 0; font-size: 22px; font-weight: 500; } @@ -996,7 +1100,7 @@ span.atbdp-tick-cross { margin: 0; } .csv-wrapper form .form-content .directorist-importer-options h4 { - margin: 0 0 15px; + margin: 0 0 15px 0; font-size: 15px; } .csv-wrapper form .form-content .directorist-importer-options .csv-upload { @@ -1022,23 +1126,6 @@ span.atbdp-tick-cross { .csv-upload #upload + label { - cursor: pointer; -} -.csv-wrapper - form - .form-content - .directorist-importer-options - .csv-upload - #upload - + label, -.csv-wrapper - form - .form-content - .directorist-importer-options - .csv-upload - #upload - + label - .upload-btn { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -1047,6 +1134,7 @@ span.atbdp-tick-cross { -webkit-align-items: center; -ms-flex-align: center; align-items: center; + cursor: pointer; } .csv-wrapper form @@ -1057,6 +1145,14 @@ span.atbdp-tick-cross { + label .upload-btn { line-height: 40px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; @@ -1162,7 +1258,7 @@ span.atbdp-tick-cross { .form-content .atbdp-importer-mapping-table-wrapper .atbdp-importer-mapping-table { - border: 0; + border: 0 none; -webkit-box-shadow: none; box-shadow: none; margin-top: 25px; @@ -1173,14 +1269,14 @@ span.atbdp-tick-cross { .atbdp-importer-mapping-table-wrapper .atbdp-importer-mapping-table tr - td, + th, .csv-wrapper form .form-content .atbdp-importer-mapping-table-wrapper .atbdp-importer-mapping-table tr - th { + td { width: 50%; } .csv-wrapper @@ -1198,7 +1294,7 @@ span.atbdp-tick-cross { .atbdp-importer-mapping-table thead th { - border: 0; + border: 0 none; font-weight: 500; color: #272b41; } @@ -1283,14 +1379,14 @@ span.atbdp-tick-cross { .csv-wrapper form .atbdp-actions .button { background-color: #3e62f5; color: #fff; - border: 0; + border: 0 none; line-height: 44px; padding: 0 20px; border-radius: 5px; font-size: 15px; } -.csv-wrapper form .atbdp-actions .button:focus, -.csv-wrapper form .atbdp-actions .button:hover { +.csv-wrapper form .atbdp-actions .button:hover, +.csv-wrapper form .atbdp-actions .button:focus { opacity: 0.9; } .csv-wrapper .directorist-importer__importing header { @@ -1298,7 +1394,7 @@ span.atbdp-tick-cross { border-bottom: 1px solid #f1f2f6; } .csv-wrapper .directorist-importer__importing header h2 { - margin: 0 0 15px; + margin: 0 0 15px 0; font-size: 22px; font-weight: 500; } @@ -1419,7 +1515,7 @@ span.atbdp-tick-cross { .csv-wrapper .csv-import-done .atbdp-actions .button { background-color: #2c99ff; color: #fff; - border: 0; + border: 0 none; line-height: 44px; padding: 0 20px; border-radius: 5px; @@ -1444,16 +1540,18 @@ span.atbdp-tick-cross { .csv-wrapper .csv-center.csv-export .button-secondary { background-color: #2c99ff; color: #fff; - border: 0; + border: 0 none; line-height: 44px; padding: 0 20px; border-radius: 5px; font-weight: 500; font-size: 15px; } + .iris-border .iris-palette-container .iris-palette { padding: 0 !important; } + #csv_import .vp-input + span { background-color: #007cba; display: -webkit-box; @@ -1478,6 +1576,7 @@ span.atbdp-tick-cross { #csv_import .vp-input + span:after { content: "Run Importer"; } + .vp-wrap { display: -webkit-box; display: -webkit-flex; @@ -1491,18 +1590,23 @@ span.atbdp-tick-cross { -ms-flex-wrap: wrap; flex-wrap: wrap; } + .vp-documentation-panel #directorist.atbd_wrapper { padding: 4px 0; } + .wp-picker-container .wp-picker-input-wrap label { margin: 0 15px 10px; } + .wp-picker-holder .iris-picker-inner .iris-square { margin-left: 5%; } .wp-picker-holder .iris-picker-inner .iris-square .iris-strip { height: 180px !important; } + +/* form builder add listing form */ .postbox-container .postbox select[name="directory_type"] + .form-group { margin-top: 15px; } @@ -1519,13 +1623,13 @@ span.atbdp-tick-cross { .postbox-container .postbox .form-group #privacy_policy + label { margin-bottom: 0; } -.postbox-container .postbox .form-group input[type="date"], -.postbox-container .postbox .form-group input[type="email"], -.postbox-container .postbox .form-group input[type="number"], -.postbox-container .postbox .form-group input[type="tel"], .postbox-container .postbox .form-group input[type="text"], -.postbox-container .postbox .form-group input[type="time"], +.postbox-container .postbox .form-group input[type="tel"], .postbox-container .postbox .form-group input[type="url"], +.postbox-container .postbox .form-group input[type="number"], +.postbox-container .postbox .form-group input[type="date"], +.postbox-container .postbox .form-group input[type="time"], +.postbox-container .postbox .form-group input[type="email"], .postbox-container .postbox .form-group select.form-control { display: block; width: 100%; @@ -1536,23 +1640,23 @@ span.atbdp-tick-cross { .postbox-container .postbox .form-group - input[type="date"]::-webkit-input-placeholder, + input[type="text"]::-webkit-input-placeholder, .postbox-container .postbox .form-group - input[type="email"]::-webkit-input-placeholder, + input[type="tel"]::-webkit-input-placeholder, .postbox-container .postbox .form-group - input[type="number"]::-webkit-input-placeholder, + input[type="url"]::-webkit-input-placeholder, .postbox-container .postbox .form-group - input[type="tel"]::-webkit-input-placeholder, + input[type="number"]::-webkit-input-placeholder, .postbox-container .postbox .form-group - input[type="text"]::-webkit-input-placeholder, + input[type="date"]::-webkit-input-placeholder, .postbox-container .postbox .form-group @@ -1560,45 +1664,45 @@ span.atbdp-tick-cross { .postbox-container .postbox .form-group - input[type="url"]::-webkit-input-placeholder, + input[type="email"]::-webkit-input-placeholder, .postbox-container .postbox .form-group select.form-control::-webkit-input-placeholder { color: #868eae; } -.postbox-container .postbox .form-group input[type="date"]::-moz-placeholder, -.postbox-container .postbox .form-group input[type="email"]::-moz-placeholder, -.postbox-container .postbox .form-group input[type="number"]::-moz-placeholder, -.postbox-container .postbox .form-group input[type="tel"]::-moz-placeholder, .postbox-container .postbox .form-group input[type="text"]::-moz-placeholder, -.postbox-container .postbox .form-group input[type="time"]::-moz-placeholder, +.postbox-container .postbox .form-group input[type="tel"]::-moz-placeholder, .postbox-container .postbox .form-group input[type="url"]::-moz-placeholder, +.postbox-container .postbox .form-group input[type="number"]::-moz-placeholder, +.postbox-container .postbox .form-group input[type="date"]::-moz-placeholder, +.postbox-container .postbox .form-group input[type="time"]::-moz-placeholder, +.postbox-container .postbox .form-group input[type="email"]::-moz-placeholder, .postbox-container .postbox .form-group select.form-control::-moz-placeholder { color: #868eae; } .postbox-container .postbox .form-group - input[type="date"]:-ms-input-placeholder, + input[type="text"]:-ms-input-placeholder, +.postbox-container .postbox .form-group input[type="tel"]:-ms-input-placeholder, +.postbox-container .postbox .form-group input[type="url"]:-ms-input-placeholder, .postbox-container .postbox .form-group - input[type="email"]:-ms-input-placeholder, + input[type="number"]:-ms-input-placeholder, .postbox-container .postbox .form-group - input[type="number"]:-ms-input-placeholder, -.postbox-container .postbox .form-group input[type="tel"]:-ms-input-placeholder, + input[type="date"]:-ms-input-placeholder, .postbox-container .postbox .form-group - input[type="text"]:-ms-input-placeholder, + input[type="time"]:-ms-input-placeholder, .postbox-container .postbox .form-group - input[type="time"]:-ms-input-placeholder, -.postbox-container .postbox .form-group input[type="url"]:-ms-input-placeholder, + input[type="email"]:-ms-input-placeholder, .postbox-container .postbox .form-group @@ -1608,23 +1712,23 @@ span.atbdp-tick-cross { .postbox-container .postbox .form-group - input[type="date"]::-ms-input-placeholder, + input[type="text"]::-ms-input-placeholder, .postbox-container .postbox .form-group - input[type="email"]::-ms-input-placeholder, + input[type="tel"]::-ms-input-placeholder, .postbox-container .postbox .form-group - input[type="number"]::-ms-input-placeholder, + input[type="url"]::-ms-input-placeholder, .postbox-container .postbox .form-group - input[type="tel"]::-ms-input-placeholder, + input[type="number"]::-ms-input-placeholder, .postbox-container .postbox .form-group - input[type="text"]::-ms-input-placeholder, + input[type="date"]::-ms-input-placeholder, .postbox-container .postbox .form-group @@ -1632,27 +1736,27 @@ span.atbdp-tick-cross { .postbox-container .postbox .form-group - input[type="url"]::-ms-input-placeholder, + input[type="email"]::-ms-input-placeholder, .postbox-container .postbox .form-group select.form-control::-ms-input-placeholder { color: #868eae; } -.postbox-container .postbox .form-group input[type="date"]::placeholder, -.postbox-container .postbox .form-group input[type="email"]::placeholder, -.postbox-container .postbox .form-group input[type="number"]::placeholder, -.postbox-container .postbox .form-group input[type="tel"]::placeholder, .postbox-container .postbox .form-group input[type="text"]::placeholder, -.postbox-container .postbox .form-group input[type="time"]::placeholder, +.postbox-container .postbox .form-group input[type="tel"]::placeholder, .postbox-container .postbox .form-group input[type="url"]::placeholder, +.postbox-container .postbox .form-group input[type="number"]::placeholder, +.postbox-container .postbox .form-group input[type="date"]::placeholder, +.postbox-container .postbox .form-group input[type="time"]::placeholder, +.postbox-container .postbox .form-group input[type="email"]::placeholder, .postbox-container .postbox .form-group select.form-control::placeholder { color: #868eae; } .postbox-container .postbox .form-group textarea { display: block; width: 100%; - padding: 6px; + padding: 6px 6px; line-height: 1.5; border: 1px solid #eff1f6; height: 100px; @@ -1690,8 +1794,8 @@ span.atbdp-tick-cross { .postbox-container .postbox .form-group .atbdp_social_field_wrapper .col-md-2 { width: 5%; } -.postbox-container .postbox .form-group .atbdp_social_field_wrapper input, -.postbox-container .postbox .form-group .atbdp_social_field_wrapper select { +.postbox-container .postbox .form-group .atbdp_social_field_wrapper select, +.postbox-container .postbox .form-group .atbdp_social_field_wrapper input { width: 100%; border: 1px solid #eff1f6; height: 35px; @@ -1702,7 +1806,7 @@ span.atbdp-tick-cross { } .postbox-container .postbox .form-group .btn.btn-primary { background: var(--directorist-color-primary); - border: 0; + border: 0 none; color: #fff; } .postbox-container @@ -1718,9 +1822,12 @@ span.atbdp-tick-cross { .cor-wrap { margin-top: 15px; } + .theme-browser .theme .theme-name { height: auto; } + +/* System Status */ .atbds_wrapper { padding-left: 60px; } @@ -1750,19 +1857,24 @@ span.atbdp-tick-cross { margin: 30px 0 35px; color: #272b41; } + .atbds_content { margin-top: -8px; } + +/* Spacing */ .atbds_wrapper .pl-30 { padding-right: 30px; } .atbds_wrapper .pr-30 { padding-left: 30px; } + +/* atbds card */ .atbds_card.card { padding: 0; min-width: 100%; - border: 0; + border: 0 none; border-radius: 4px; -webkit-box-shadow: 0 5px 10px rgba(173, 180, 210, 0.1); box-shadow: 0 5px 10px rgba(173, 180, 210, 0.1); @@ -1816,11 +1928,11 @@ span.atbdp-tick-cross { .atbds_card .card-body .atbds_c-t-menu .nav-link:focus { outline: none; -webkit-box-shadow: - 0 0 0 0 #5b9dd9, - 0 0 0 0 rgba(30, 140, 190, 0); + 0 0 0 0px #5b9dd9, + 0 0 0px 0px rgba(30, 140, 190, 0); box-shadow: - 0 0 0 0 #5b9dd9, - 0 0 0 0 rgba(30, 140, 190, 0); + 0 0 0 0px #5b9dd9, + 0 0 0px 0px rgba(30, 140, 190, 0); } .atbds_card .card-body .atbds_c-t-menu .nav-link:after { position: absolute; @@ -1842,11 +1954,14 @@ span.atbdp-tick-cross { .atbds_card .card-body .atbds_c-t__details { padding: 20px 0; } -#atbds_r-viewing .atbds_card, -#atbds_support .atbds_card { + +#atbds_support .atbds_card, +#atbds_r-viewing .atbds_card { max-width: 900px; min-width: auto; } + +/* atbds Sidebar */ .atbds_sidebar ul { margin-bottom: 0; } @@ -1867,7 +1982,7 @@ span.atbdp-tick-cross { } .atbds_sidebar .nav-link:focus { outline: none; - border: 0; + border: 0 none; -webkit-box-shadow: 0 0; box-shadow: 0 0; } @@ -1892,33 +2007,40 @@ span.atbdp-tick-cross { } .atbds_sidebar a:focus { outline: none; - border: 0; + border: 0 none; -webkit-box-shadow: 0 0; box-shadow: 0 0; } + .atbds_text-center { text-align: center; } + .atbds_d-flex { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } -.atbds_flex-wrap, -.atbds_row { + +.atbds_flex-wrap { -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; } + .atbds_row { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; margin-left: -15px; margin-right: -15px; } + .atbds_col-4 { -webkit-box-flex: 0; -webkit-flex: 0 0 33.33333%; @@ -1930,6 +2052,8 @@ span.atbdp-tick-cross { padding-left: 1.05%; padding-right: 1.05%; } + +/* atbds System Table */ .atbd_tooltip { position: relative; cursor: pointer; @@ -1952,9 +2076,12 @@ span.atbdp-tick-cross { .atbd_tooltip .atbd_tooltip__text.show { display: inline-block; } + +/* atbds System Table */ .atbds_system-table-wrap { padding: 0 20px; } + .atbds_system-table { width: 100%; border-collapse: collapse; @@ -1987,13 +2114,17 @@ span.atbdp-tick-cross { .atbds_system-table tbody tr td .atbds_color-success { color: #00bc5e; } + .atbds_table-list li { margin-bottom: 8px; } + +/* atbds warnings */ .atbds_warnings { padding: 30px; min-height: 615px; } + .atbds_warnings__single { border-radius: 6px; padding: 30px 45px; @@ -2054,6 +2185,8 @@ span.atbdp-tick-cross { .atbds_warnings__single .atbds_warnigns__content .atbds_btnLink { margin-top: 30px; } + +/* atbds Buttons */ .atbds_btnLink { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -2071,6 +2204,7 @@ span.atbdp-tick-cross { .atbds_btnLink i { margin-right: 7px; } + .atbds_btn { font-size: 14px; font-weight: 500; @@ -2116,6 +2250,7 @@ span.atbdp-tick-cross { background-color: #fff; border-color: #e3e6ef; } + .atbds_btn.atbds_btnBordered { background-color: transparent; border: 1px solid; @@ -2124,18 +2259,21 @@ span.atbdp-tick-cross { color: #3e62f5; border-color: #3e62f5; } + .atbds_buttonGroup { margin: -5px; } .atbds_buttonGroup button { margin: 5px; } + +/* atbds Form Row */ .atbds_form-row:not(:last-child) { margin-bottom: 30px; } -.atbds_form-row input[type="email"], -.atbds_form-row input[type="text"], .atbds_form-row label, +.atbds_form-row input[type="text"], +.atbds_form-row input[type="email"], .atbds_form-row textarea { width: 100%; } @@ -2167,6 +2305,7 @@ span.atbdp-tick-cross { .atbds_form-row textarea { min-height: 200px; } + .atbds_customCheckbox input[type="checkbox"] { display: none; } @@ -2205,6 +2344,8 @@ span.atbdp-tick-cross { border-radius: 3px; content: ""; background-color: #fff; + border-width: 1px; + border-style: solid; border: 1px solid #c6d0dc; -webkit-transition: 0.3s ease; transition: 0.3s ease; @@ -2216,7 +2357,7 @@ span.atbdp-tick-cross { top: 2px; font-weight: 900; content: "\f00c"; - font-family: Font Awesome\5 Free; + font-family: "Font Awesome 5 Free"; display: block; opacity: 0; -webkit-transition: all 0.3s ease 0s; @@ -2232,9 +2373,10 @@ span.atbdp-tick-cross { opacity: 1; color: #fff; } + #listing_form_info { background: none; - border: 0; + border: 0 none; -webkit-box-shadow: none; box-shadow: none; } @@ -2244,7 +2386,7 @@ span.atbdp-tick-cross { #listing_form_info .atbd_content_module { border: 1px solid #e3e6ef; margin-bottom: 35px; - background-color: #fff; + background-color: #ffffff; text-align: right; border-radius: 3px; } @@ -2282,7 +2424,9 @@ span.atbdp-tick-cross { #listing_form_info .atbd_content_module .atbdb_content_module_contents - #hide_if_no_manual_cor, + #hide_if_no_manual_cor { + margin-top: 15px; +} #listing_form_info .atbd_content_module .atbdb_content_module_contents @@ -2298,27 +2442,32 @@ span.atbdp-tick-cross { #listing_form_info .directorist_loader { position: absolute; top: 0; - left: 0; + left: 0%; } + .atbd-booking-information .atbd_area_title { padding: 0 20px; } + .wp-list-table .page-title-action { background-color: #222; - border: 0; + border: 0 none; border-radius: 3px; font-size: 11px; position: relative; top: 1px; color: #fff; } + .atbd-listing-type-active-status { display: inline-block; color: #00ac17; margin-right: 10px; } + +/* atbds SupportForm */ .atbds_supportForm { - padding: 10px 50px 50px; + padding: 10px 50px 50px 50px; color: #5a5f7d; } .atbds_supportForm h1, @@ -2339,8 +2488,10 @@ span.atbdp-tick-cross { .atbds_supportForm .atbds_customCheckbox { margin-top: -14px; } + +/* atbds remoteViewingForm */ .atbds_remoteViewingForm { - padding: 10px 50px 50px; + padding: 10px 50px 50px 50px; } .atbds_remoteViewingForm p { font-size: 15px; @@ -2360,6 +2511,7 @@ span.atbdp-tick-cross { .atbds_remoteViewingForm .atbds_buttonGroup .atbds_btn { padding: 10.5px 33px; } + @media only screen and (max-width: 1599px) { .atbds_warnings__single { padding: 30px; @@ -2378,7 +2530,7 @@ span.atbdp-tick-cross { } @media only screen and (max-width: 1024px) { .atbds_warnings .atbds_row { - margin: 0; + margin: 0px; } .atbds_warnings .atbds_col-4 { -webkit-box-flex: 0; @@ -2400,7 +2552,7 @@ span.atbdp-tick-cross { padding: 30px; } .atbds_wrapper .atbds_row { - margin: 0; + margin: 0px; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-flow: column; @@ -2437,7 +2589,7 @@ span.atbdp-tick-cross { padding: 15px; } .atbds_supportForm { - padding: 10px 25px 25px; + padding: 10px 25px 25px 25px; } .atbds_customCheckbox input[type="checkbox"] + label { padding-right: 28px; @@ -2446,6 +2598,7 @@ span.atbdp-tick-cross { #atbdp-send-system-info .system_info_success { color: #00ac17; } + #atbds_r-viewing #atbdp-remote-response { padding: 20px 50px 0; color: #00ac17; @@ -2463,18 +2616,19 @@ span.atbdp-tick-cross { background-color: #3e62f5; color: #fff; } -.fa, -.vp-wrap .vp-menus ul.vp-menu-level-2 > li a i.fa { - font-family: - Font Awesome\5 Free, - Font Awesome\5 Brands; + +.vp-wrap .vp-menus ul.vp-menu-level-2 > li a i.fa, +.fa { + font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands"; } + .atbdb_content_module_contents .ez-media-uploader { text-align: center; } -.add_listing_form_wrapper #delete-custom-img, + +.add_listing_form_wrapper .upload-header, .add_listing_form_wrapper #listing_image_btn, -.add_listing_form_wrapper .upload-header { +.add_listing_form_wrapper #delete-custom-img { font-size: 15px; padding: 0 15.8px !important; display: -webkit-inline-box; @@ -2491,6 +2645,7 @@ span.atbdp-tick-cross { color: #fff; } .add_listing_form_wrapper .listing-img-container { + margin: 40px 0 20px; margin: -10px; text-align: center; } @@ -2513,7 +2668,7 @@ span.atbdp-tick-cross { -webkit-transition: 0.2s; transition: 0.2s; cursor: pointer; - color: #fff; + color: #ffffff; } .add_listing_form_wrapper .listing-img-container img { max-width: 100px; @@ -2542,6 +2697,7 @@ span.atbdp-tick-cross { .add_listing_form_wrapper #delete-custom-img.hidden { display: none; } + #announcment_submit .vp-input ~ span { display: -webkit-box; display: -webkit-flex; @@ -2566,6 +2722,9 @@ span.atbdp-tick-cross { #announcment_submit .vp-input ~ span:after { content: "Send"; } + +/* Announcment */ +/* ----------------------------- */ #announcement_submit .vp-input ~ span { display: -webkit-box; display: -webkit-flex; @@ -2593,45 +2752,61 @@ span.atbdp-tick-cross { #announcement_submit .label { visibility: hidden; } + .announcement-feedback { margin-bottom: 15px; } + +/* --------------[ Announcment End ]--------------- */ +/* Section */ .atbdp-section { display: block; } -.atbdp-accordion-toggle, -.atbdp-section-toggle { + +.atbdp-section-toggle, +.atbdp-accordion-toggle { cursor: pointer; } + .atbdp-section-header { display: block; } + #directorist.atbd_wrapper h3.atbdp-section-title { margin-bottom: 25px; } + .atbdp-section-content { padding: 10px; background-color: #fff; } + .atbdp-state-section-content { margin-bottom: 20px; padding: 25px 30px; } + .atbdp-state-vertical { padding: 8px 20px; } + .atbdp-themes-extension-license-activation-content { padding: 0; background-color: transparent; } + +/* Accordion */ .atbdp-license-accordion { margin: 30px 0; } + .atbdp-accordion-content { display: none; padding: 10px; background-color: #fff; } + +/* Card */ .atbdp-card-list { display: -webkit-box; display: -webkit-flex; @@ -2642,12 +2817,14 @@ span.atbdp-tick-cross { -ms-flex-wrap: wrap; flex-wrap: wrap; } + .atbdp-card-list__item { margin-bottom: 10px; width: 100%; max-width: 300px; padding: 0 15px; } + .atbdp-card { display: block; background-color: #fff; @@ -2656,21 +2833,31 @@ span.atbdp-tick-cross { padding: 20px; text-align: center; } + .atbdp-card-header { display: block; margin-bottom: 20px; } + .atbdp-card-body { display: block; } + #directorist.atbd_wrapper .atbdp-card-title, .atbdp-card-title { font-size: 19px; } + .atbdp-card-icon { + display: block; font-size: 60px; +} + +.atbdp-card-icon { display: block; } + +/* Form */ .atbdp-centered-box { display: -webkit-box; display: -webkit-flex; @@ -2689,6 +2876,7 @@ span.atbdp-tick-cross { flex-wrap: wrap; min-height: calc(100vh - 50px); } + .atbdp-form-container { margin: 0 auto; width: 100%; @@ -2699,44 +2887,60 @@ span.atbdp-tick-cross { box-shadow: 0 0 30px rgba(0, 0, 0, 0.1); background-color: #fff; } + .atbdp-license-form-container { -webkit-box-shadow: none; box-shadow: none; } -.atbdp-form-page, + +.atbdp-form-page { + width: 100%; +} + .atbdp-form-response-page { width: 100%; } + .atbdp-checklist-section { margin-top: 30px; text-align: right; } -.atbdp-form-body, + .atbdp-form-header { display: block; } + +.atbdp-form-body { + display: block; +} + .atbdp-form-footer { display: block; text-align: center; } + .atbdp-form-group { display: block; margin-bottom: 20px; } + .atbdp-form-group label { display: block; margin-bottom: 5px; - font-weight: 700; + font-weight: bold; } + input.atbdp-form-control { display: block; width: 100%; + border: none; height: 40px; border-radius: 4px; - border: 0; + border: 0 none; padding: 0 15px; background-color: #f4f5f7; } + .atbdp-form-feedback { margin: 10px 0; } @@ -2744,7 +2948,13 @@ input.atbdp-form-control { display: inline-block; margin-right: 10px; } -.et-auth-section-wrap, + +.et-auth-section-wrap { + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} .et-auth-section-wrap .atbdp-input-group-wrap { -webkit-box-align: center; -webkit-align-items: center; @@ -2754,25 +2964,30 @@ input.atbdp-form-control { .et-auth-section-wrap .atbdp-input-group-wrap .atbdp-form-control { min-width: 140px; } + .et-auth-section-wrap .atbdp-input-group-append { -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; } + .atbdp-form-actions { margin: 30px 0; text-align: center; } + .atbdp-icon { display: inline-block; } + .atbdp-icon-large { display: block; margin-bottom: 20px; font-size: 45px; text-align: center; } + .atbdp-form-alert { padding: 8px 15px; border-radius: 4px; @@ -2782,20 +2997,23 @@ input.atbdp-form-control { background: f2f2f2; } .atbdp-form-alert a { - color: hsla(0, 0%, 100%, 0.5); + color: rgba(255, 255, 255, 0.5); } .atbdp-form-alert a:hover { - color: hsla(0, 0%, 100%, 0.8); + color: rgba(255, 255, 255, 0.8); } + .atbdp-form-alert-success { color: #fff; background-color: #53b732; } + .atbdp-form-alert-danger, .atbdp-form-alert-error { color: #fff; background-color: #ff4343; } + .atbdp-btn { padding: 8px 20px; border: none; @@ -2803,50 +3021,66 @@ input.atbdp-form-control { min-height: 40px; cursor: pointer; } + .atbdp-btn-primary { color: #fff; background-color: #6495ed; } + +/* Utility */ .purchase-refresh-btn-wrapper { overflow: hidden; } + .atbdp-action-group { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } + .atbdp-hide { width: 0; overflow: hidden; } + .atbdp-d-none { display: none; } + .atbdp-px-5 { padding: 0 5px !important; } + .atbdp-mx-5 { margin: 0 5px !important; } + .atbdp-mb-0 { margin-bottom: 0 !important; } + .atbdp-text-center { text-align: center; } + .atbdp-text-success { color: #0fb73b; } + .atbdp-text-danger { color: #c81d1d; } + .atbdp-text-muted { - color: grey; + color: gray; } + +/* Tab Contents */ .atbdp-tab-nav-area { display: block; } + .atbdp-tab-nav-menu { display: -webkit-box; display: -webkit-flex; @@ -2858,6 +3092,7 @@ input.atbdp-form-control { padding: 0 10px; border-bottom: 1px solid #ccc; } + .atbdp-tab-nav-menu__item { display: block; position: relative; @@ -2867,66 +3102,88 @@ input.atbdp-form-control { border: 1px solid #ccc; border-bottom: none; } + .atbdp-tab-nav-menu__item.active { bottom: -1px; } + .atbdp-tab-nav-menu__link { display: block; padding: 10px 15px; text-decoration: none; color: #555; background-color: #e5e5e5; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } + .atbdp-tab-nav-menu__item.active .atbdp-tab-nav-menu__link { background-color: #f1f1f1; } + .atbdp-tab-nav-menu__link:hover { color: #555; background-color: #fff; } + .atbdp-tab-nav-menu__link:active, .atbdp-tab-nav-menu__link:focus { outline: none; -webkit-box-shadow: none; box-shadow: none; } -.atbdp-tab-content-area, + .atbdp-tab-nav-menu__item.active .atbdp-tab-nav-menu__link { display: block; } + +.atbdp-tab-content-area { + display: block; +} + .atbdp-tab-content { display: none; } + .atbdp-tab-content.active { display: block; } + +/* atbdp-counter-list */ #directorist.atbd_wrapper ul.atbdp-counter-list { padding: 0; margin: 0 -20px; -webkit-box-sizing: border-box; box-sizing: border-box; } + .atbdp-counter-list__item { display: inline-block; list-style: none; padding: 0 20px; } + .atbdp-counter-list__number { + display: block; font-size: 30px; line-height: normal; margin-bottom: 5px; + font-weight: 500; } -.atbdp-counter-list__label, -.atbdp-counter-list__number { + +.atbdp-counter-list__label { display: block; font-weight: 500; } -.atbdp-counter-list-vertical, + .atbdp-counter-list__actions { display: block; } + +.atbdp-counter-list-vertical { + display: block; +} + .atbdp-counter-list-vertical .atbdp-counter-list__item { display: -webkit-box; display: -webkit-flex; @@ -2964,15 +3221,18 @@ input.atbdp-form-control { .atbdp-counter-list-vertical .atbdp-counter-list__actions { margin-right: auto; } + .et-contents__tab-item { display: none; } .et-contents__tab-item .theme-card-wrapper .theme-card { width: 100%; } + .et-contents__tab-item.active { display: block; } + .et-wrapper { background-color: #fff; border-radius: 4px; @@ -3008,7 +3268,7 @@ input.atbdp-form-control { background-color: #f4f5f7; height: 40px; border-radius: 4px; - border: 0; + border: 0 none; padding: 0 40px 0 15px; min-width: 300px; } @@ -3063,7 +3323,7 @@ input.atbdp-form-control { min-width: 120px; } .et-wrapper .et-contents .ext-available:last-child .ext-table-responsive { - border-bottom: 0; + border-bottom: 0 none; padding-bottom: 0; } .et-wrapper .et-contents__tab-nav { @@ -3454,7 +3714,7 @@ input.atbdp-form-control { pointer-events: all; } .et-wrapper .et-contents .ext-wrapper .ext-installed-table { - padding: 15px 15px 0; + padding: 15px 15px 0 15px; margin-bottom: 30px; } .et-wrapper .et-contents .ext-wrapper .ext-available-table { @@ -3463,6 +3723,7 @@ input.atbdp-form-control { .et-wrapper .et-contents .ext-wrapper .ext-available-table h4 { margin-bottom: 20px !important; } + .et-header-title-area { display: -webkit-box; display: -webkit-flex; @@ -3489,6 +3750,7 @@ input.atbdp-form-control { align-items: flex-start; } } + .et-header-actions { margin: 0 10px; display: -webkit-inline-box; @@ -3518,8 +3780,8 @@ input.atbdp-form-control { margin-bottom: 10px; } } -.et-auth-section, -.et-auth-section-wrap { + +.et-auth-section { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -3529,20 +3791,37 @@ input.atbdp-form-control { flex-wrap: nowrap; overflow: hidden; } + .et-auth-section-wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; padding: 1px; -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; flex-grow: 1; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + overflow: hidden; } -.atbdp-input-group-append, + .atbdp-input-group-wrap { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } + +.atbdp-input-group-append { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + #directorist.atbd_wrapper .ext-action-btn { display: inline-block; line-height: 34px; @@ -3556,20 +3835,28 @@ input.atbdp-form-control { font-weight: 500; white-space: nowrap; } -#directorist.atbd_wrapper .ext-action-btn.ext-install-btn, #directorist.atbd_wrapper .ext-action-btn:hover { background-color: #3e62f5 !important; color: #fff !important; } +#directorist.atbd_wrapper .ext-action-btn.ext-install-btn { + background-color: #3e62f5 !important; + color: #fff !important; +} + .et-tab { display: none; } + .et-tab-active { display: block; } + +/* theme card */ .theme-card-wrapper { padding: 20px 30px 50px; } + .theme-card { background-color: #fff; -webkit-box-shadow: 0 5px 20px rgba(173, 180, 210, 0.3); @@ -3685,8 +3972,9 @@ input.atbdp-form-control { border-radius: 20px; padding: 0 20px; } + .available-themes-wrapper .available-themes { - padding: 12px 30px 30px; + padding: 12px 30px 30px 30px; margin: -15px; display: -webkit-box; display: -webkit-flex; @@ -3749,6 +4037,7 @@ input.atbdp-form-control { background-color: #3e62f5 !important; color: #fff !important; } + #directorist.atbd_wrapper .account-connect { padding: 30px 50px; background-color: #fff; @@ -3826,7 +4115,7 @@ input.atbdp-form-control { position: relative; display: block; width: 100%; - border: 0; + border: 0 none; background-color: #3e62f5; height: 50px; padding: 0 20px; @@ -3845,6 +4134,8 @@ input.atbdp-form-control { -webkit-transform: translateY(-50%); transform: translateY(-50%); } + +/* extension and themes column */ .extension-theme-wrapper { display: -webkit-box; display: -webkit-flex; @@ -3859,6 +4150,7 @@ input.atbdp-form-control { align-items: flex-start; margin: -25px; } + #directorist.atbd_wrapper .et-column { -webkit-box-flex: 1; -webkit-flex: 1; @@ -3880,6 +4172,7 @@ input.atbdp-form-control { color: #272b41; margin-bottom: 25px; } + #directorist.atbd_wrapper .et-card { background-color: #fff; border-radius: 6px; @@ -3909,13 +4202,13 @@ input.atbdp-form-control { flex-direction: column; } } -#directorist.atbd_wrapper .et-card__details, -#directorist.atbd_wrapper .et-card__image { +#directorist.atbd_wrapper .et-card__image, +#directorist.atbd_wrapper .et-card__details { padding: 10px; } @media only screen and (max-width: 1199px) { - #directorist.atbd_wrapper .et-card__details, - #directorist.atbd_wrapper .et-card__image { + #directorist.atbd_wrapper .et-card__image, + #directorist.atbd_wrapper .et-card__details { max-width: 100%; } } @@ -3978,13 +4271,18 @@ input.atbdp-form-control { background-color: rgba(255, 64, 140, 0.1); color: #ff408c; } + +/* atmodal */ +/* Modal Core Styles */ .atm-open { overflow: hidden; } + .atm-open .at-modal { overflow-x: hidden; overflow-y: auto; } + .at-modal { position: fixed; width: 100%; @@ -3997,6 +4295,7 @@ input.atbdp-form-control { overflow: hidden; outline: 0; } + .at-modal-content { position: relative; width: 500px; @@ -4020,6 +4319,7 @@ input.atbdp-form-control { min-height: calc(100% - 5rem); pointer-events: none; } + .atm-contents-inner { width: 100%; background-color: #fff; @@ -4027,29 +4327,36 @@ input.atbdp-form-control { border-radius: 3px; position: relative; } + .at-modal-content.at-modal-lg { width: 800px; } + .at-modal-content.at-modal-xl { width: 1140px; } + .at-modal-content.at-modal-sm { width: 300px; } + .at-modal.atm-fade { -webkit-transition: 0.3s ease; transition: 0.3s ease; } + .at-modal.atm-fade:not(.atm-show) { opacity: 0; visibility: hidden; } + .at-modal.atm-show .at-modal-content { opacity: 1; visibility: visible; -webkit-transition: 0.3s ease; transition: 0.3s ease; } + .at-modal .atm-contents-inner .at-modal-close { width: 32px; height: 32px; @@ -4080,39 +4387,49 @@ input.atbdp-form-control { justify-content: center; text-decoration: none; } + .at-modal .atm-contents-inner .close span { display: block; line-height: 0; } + #directorist.atbd_wrapper .modal-header { padding: 20px 30px; } + #directorist.atbd_wrapper .modal-header .modal-title { font-size: 25px; font-weight: 500; color: #151826; } + #directorist.atbd_wrapper .at-modal-close { background-color: #5a5f7d; color: #fff; font-size: 25px; } + #directorist.atbd_wrapper .at-modal-close span { position: relative; top: -2px; } + #directorist.atbd_wrapper .at-modal-close:hover { color: #fff; } + #directorist.atbd_wrapper .modal-body { padding: 25px 40px 30px; } + #directorist.atbd_wrapper .modal-body .update-list { margin-bottom: 25px; } + #directorist.atbd_wrapper .modal-body .update-list:last-child { margin-bottom: 0; } + #directorist.atbd_wrapper .modal-body .update-list .update-badge { line-height: 23px; border-radius: 3px; @@ -4124,34 +4441,40 @@ input.atbdp-form-control { display: inline-block; margin-bottom: 15px; } + #directorist.atbd_wrapper .modal-body .update-list .update-badge.update-badge--new { background-color: #00bb45; } + #directorist.atbd_wrapper .modal-body .update-list .update-badge.update-badge--fixed { background-color: #0090fd; } + #directorist.atbd_wrapper .modal-body .update-list .update-badge.update-badge--improved { background-color: #4353ff; } + #directorist.atbd_wrapper .modal-body .update-list .update-badge.update-badge--removed { background-color: #d72323; } + #directorist.atbd_wrapper .modal-body .update-list ul, #directorist.atbd_wrapper .modal-body .update-list ul li { margin: 0; } + #directorist.atbd_wrapper .modal-body .update-list ul li { margin-bottom: 12px; font-size: 16px; @@ -4159,9 +4482,11 @@ input.atbdp-form-control { padding-right: 20px; position: relative; } + #directorist.atbd_wrapper .modal-body .update-list ul li:last-child { margin-bottom: 0; } + #directorist.atbd_wrapper .modal-body .update-list ul li:before { position: absolute; content: ""; @@ -4172,35 +4497,80 @@ input.atbdp-form-control { right: 0; top: 5px; } + #directorist.atbd_wrapper .modal-body .update-list.update-list--new li:before { background-color: #00bb45; } + #directorist.atbd_wrapper .modal-body .update-list.update-list--fixed li:before { background-color: #0090fd; } + #directorist.atbd_wrapper .modal-body .update-list.update-list--improved li:before { background-color: #4353ff; } + #directorist.atbd_wrapper .modal-body .update-list.update-list--removed li:before { background-color: #d72323; } + #directorist.atbd_wrapper .modal-footer button { background-color: #3e62f5; border-color: #3e62f5; } + +/* Responsive CSS */ +/* Large devices (desktops, 992px and up) */ +@media (min-width: 992px) and (max-width: 1199.98px) { + .at-modal-content.at-modal-xl, + .at-modal-content.at-modal-lg, + .at-modal-content.at-modal-md, + .at-modal-content.at-modal-sm { + width: calc(100% - 60px); + } +} +/* Medium devices (tablets, 768px and up) */ +@media (min-width: 768px) and (max-width: 991.98px) { + .at-modal-content.at-modal-xl, + .at-modal-content.at-modal-lg, + .at-modal-content.at-modal-md, + .at-modal-content.at-modal-sm { + width: calc(100% - 60px); + } +} +/* Small devices (landscape phones, 576px and up) */ +@media (min-width: 576px) and (max-width: 767.98px) { + .at-modal-content.at-modal-xl, + .at-modal-content.at-modal-lg, + .at-modal-content.at-modal-md, + .at-modal-content.at-modal-sm { + width: calc(100% - 60px); + } +} +/* Extra small devices (portrait phones, less than 576px) */ +@media (max-width: 575.98px) { + .at-modal-content.at-modal-xl, + .at-modal-content.at-modal-lg, + .at-modal-content.at-modal-md, + .at-modal-content.at-modal-sm { + width: calc(100% - 30px); + } +} +/* Default WP Theme overwrite */ body.wp-admin { background-color: #f3f4f6; - font-family: Inter, sans-serif; + font-family: "Inter", sans-serif; } + .directorist_builder-header { display: -webkit-box; display: -webkit-flex; @@ -4219,8 +4589,8 @@ body.wp-admin { margin-top: -10px; background-color: #fff; padding: 0 24px; - -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); - box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); + -webkit-box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05); + box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05); } @media only screen and (max-width: 575px) { .directorist_builder-header { @@ -4303,6 +4673,7 @@ body.wp-admin { .directorist_builder-header .directorist_builder-links a i { font-size: 16px; } + .directorist_builder-body { margin-top: 20px; } @@ -4313,23 +4684,28 @@ body.wp-admin { margin: 0; color: #000; } + +.tabContentActive, .pstContentActive, .pstContentActive2, -.pstContentActive3, -.tabContentActive { +.pstContentActive3 { display: block !important; -webkit-animation: showTab 0.6s ease; animation: showTab 0.6s ease; } + .atbd_tab_inner, .pst_tab_inner, .pst_tab_inner-2, .pst_tab_inner-3 { display: none; } + +/* Directorist Membership Notice */ .atbdp-settings-manager .directorist_membership-notice { margin-bottom: 0; } + .directorist_membership-notice { position: relative; display: -webkit-box; @@ -4345,8 +4721,8 @@ body.wp-admin { -ms-flex-pack: justify; justify-content: space-between; background-color: #5441b9; - background: linear-gradient(-45deg, #5441b9 1%, #b541d8); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#5441b9",endColorstr="#b541d8",GradientType=1); + background: linear-gradient(-45deg, #5441b9 1%, #b541d8 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#5441b9", endColorstr="#b541d8", GradientType=1); padding: 20px; border-radius: 14px; margin-bottom: 30px; @@ -4448,7 +4824,9 @@ body.wp-admin { } @media only screen and (max-width: 475px) { .directorist_membership-notice .directorist_membership-notice__content img { - margin: 0 auto 24px; + margin-left: 0; + margin-bottom: 24px; + margin: 0 auto 24px auto; } } .directorist_membership-notice @@ -4461,7 +4839,7 @@ body.wp-admin { .directorist_membership-notice__text h4 { font-size: 24px; - font-weight: 700; + font-weight: bold; margin: 4px 0 8px; } @media only screen and (max-width: 1499px) { @@ -4489,7 +4867,7 @@ body.wp-admin { font-weight: 500; max-width: 350px; margin-bottom: 12px; - color: hsla(0, 0%, 100%, 0.5647058824); + color: rgba(255, 255, 255, 0.5647058824); } .directorist_membership-notice .directorist_membership-notice__content @@ -4504,12 +4882,12 @@ body.wp-admin { -ms-flex-align: center; align-items: center; font-size: 20px; - font-weight: 700; + font-weight: bold; min-height: 47px; line-height: 1.95; padding: 0 15px; border-radius: 6px; - color: #000; + color: #000000; -webkit-transition: 0.3s; transition: 0.3s; background-color: #3af4c2; @@ -4545,6 +4923,7 @@ body.wp-admin { min-height: 35px; } } + .directorist_membership-notice__list { display: -webkit-box; display: -webkit-flex; @@ -4639,6 +5018,7 @@ body.wp-admin { top: 0; } } + .directorist_membership-notice__action { margin-left: 25px; } @@ -4667,7 +5047,7 @@ body.wp-admin { -ms-flex-pack: center; justify-content: center; font-size: 18px; - font-weight: 700; + font-weight: bold; color: #000; min-height: 52px; border-radius: 8px; @@ -4691,6 +5071,7 @@ body.wp-admin { min-width: 115px; } } + .directorist_membership-notice-close { position: absolute; left: 20px; @@ -4723,6 +5104,7 @@ body.wp-admin { .directorist_membership-notice-close i { color: #b541d8; } + .directorist_builder__content { display: -webkit-box; display: -webkit-flex; @@ -4824,14 +5206,14 @@ body.wp-admin { .directorist_builder__content .directorist_builder__content__right .directorist_link-block.directorist_new-directory { - -webkit-box-shadow: 0 2px 4px 0 rgba(60, 41, 170, 0.12); - box-shadow: 0 2px 4px 0 rgba(60, 41, 170, 0.12); + -webkit-box-shadow: 0px 2px 4px 0px rgba(60, 41, 170, 0.12); + box-shadow: 0px 2px 4px 0px rgba(60, 41, 170, 0.12); } .directorist_builder__content .directorist_builder__content__right .directorist_link-block.directorist_link-block-primary { background-color: #3e62f5; - color: #fff; + color: #ffffff; -webkit-transition: background-color 0.3s ease; transition: background-color 0.3s ease; } @@ -4844,7 +5226,7 @@ body.wp-admin { .directorist_builder__content .directorist_builder__content__right .directorist_link-block.directorist_link-block-primary-outline { - background-color: #fff; + background-color: #ffffff; color: #3e62f5; } .directorist_builder__content @@ -4905,7 +5287,7 @@ body.wp-admin { .directorist_builder__content__right .directorist_btn-import .directorist_link-icon { - border: 0; + border: 0 none; } .directorist_builder__content .directorist_builder__content__right @@ -5044,7 +5426,7 @@ body.wp-admin { font-weight: 500; line-height: 18px; color: #4d5761; - background: #fff; + background: white; border-radius: 12px; border: 1px solid #e5e7eb; -webkit-transition: 0.3s ease; @@ -5205,7 +5587,7 @@ body.wp-admin { align-items: center; color: #113997; background: #d7e4ff; - font-family: Helvetica Neue; + font-family: "Helvetica Neue"; font-size: 14px; font-weight: 500; line-height: 24px; @@ -5408,7 +5790,7 @@ body.wp-admin { .directorist-type-actions .directorist_listing-actions .directorist_more-dropdown - .directorist_more-dropdown-toggle.active, + .directorist_more-dropdown-toggle:hover, .directorist_builder__content .directorist_builder__content__right .directorist_table @@ -5416,7 +5798,7 @@ body.wp-admin { .directorist-type-actions .directorist_listing-actions .directorist_more-dropdown - .directorist_more-dropdown-toggle:hover { + .directorist_more-dropdown-toggle.active { border-color: #3e63dd !important; } .directorist_builder__content @@ -5432,11 +5814,11 @@ body.wp-admin { border-radius: 8px; border: 1px solid #f3f4f6; -webkit-box-shadow: - 0 12px 16px -4px rgba(16, 24, 40, 0.08), - 0 4px 6px -2px rgba(16, 24, 40, 0.03); + 0px 12px 16px -4px rgba(16, 24, 40, 0.08), + 0px 4px 6px -2px rgba(16, 24, 40, 0.03); box-shadow: - 0 12px 16px -4px rgba(16, 24, 40, 0.08), - 0 4px 6px -2px rgba(16, 24, 40, 0.03); + 0px 12px 16px -4px rgba(16, 24, 40, 0.08), + 0px 4px 6px -2px rgba(16, 24, 40, 0.03); min-width: 208px; } .directorist_builder__content @@ -5522,6 +5904,7 @@ body.wp-admin { ul li > div { + margin-bottom: 0 !important; width: 100%; margin: 0 !important; padding: 0 8px !important; @@ -5757,6 +6140,8 @@ body.wp-admin { border-radius: 50%; background: #3e62f5; } + +/* Custom Tooltip */ .directorist-row-tooltip[data-tooltip] { position: relative; cursor: pointer; @@ -5770,17 +6155,17 @@ body.wp-admin { .directorist-row-tooltip[data-tooltip].directorist-type-slug-content:after { text-transform: none; } -.directorist-row-tooltip[data-tooltip].directorist-type-slug-content[data-flow="bottom"]:before { - -webkit-transform: translate(50%); - transform: translate(50%); +.directorist-row-tooltip[data-tooltip].directorist-type-slug-content[data-flow="bottom"]::before { + -webkit-transform: translate(50%, 0); + transform: translate(50%, 0); } -.directorist-row-tooltip[data-tooltip].directorist-type-slug-content[data-flow="bottom"]:after { +.directorist-row-tooltip[data-tooltip].directorist-type-slug-content[data-flow="bottom"]::after { right: -50px; -webkit-transform: unset; transform: unset; } -.directorist-row-tooltip[data-tooltip]:after, -.directorist-row-tooltip[data-tooltip]:before { +.directorist-row-tooltip[data-tooltip]:before, +.directorist-row-tooltip[data-tooltip]:after { line-height: normal; font-size: 13px; pointer-events: none; @@ -5798,7 +6183,7 @@ body.wp-admin { -webkit-transform: translateX(50%); transform: translateX(50%); border: 5px solid transparent; - border-bottom-color: #141921; + border-bottom: 5px solid #141921; } .directorist-row-tooltip[data-tooltip]:after { content: attr(data-tooltip); @@ -5807,7 +6192,7 @@ body.wp-admin { white-space: nowrap; border-radius: 6px; background: #141921; - color: #fff; + color: #ffffff; z-index: 99; padding: 10px 12px; -webkit-box-align: center; @@ -5820,78 +6205,79 @@ body.wp-admin { -webkit-transform: translateX(50%); transform: translateX(50%); } -.directorist-row-tooltip[data-tooltip]:hover:after, -.directorist-row-tooltip[data-tooltip]:hover:before { +.directorist-row-tooltip[data-tooltip]:hover:before, +.directorist-row-tooltip[data-tooltip]:hover:after { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; opacity: 1; } -.directorist-row-tooltip[data-tooltip]:not([data-flow]):before, -.directorist-row-tooltip[data-tooltip][data-flow="top"]:before { +.directorist-row-tooltip[data-tooltip]:not([data-flow])::before, +.directorist-row-tooltip[data-tooltip][data-flow="top"]::before { bottom: 100%; border-bottom-width: 0; border-top-color: #141921; } -.directorist-row-tooltip[data-tooltip]:not([data-flow]):after, -.directorist-row-tooltip[data-tooltip][data-flow="top"]:after { +.directorist-row-tooltip[data-tooltip]:not([data-flow])::after, +.directorist-row-tooltip[data-tooltip][data-flow="top"]::after { bottom: calc(100% + 5px); } -.directorist-row-tooltip[data-tooltip]:not([data-flow]):after, -.directorist-row-tooltip[data-tooltip]:not([data-flow]):before, -.directorist-row-tooltip[data-tooltip][data-flow="top"]:after, -.directorist-row-tooltip[data-tooltip][data-flow="top"]:before { +.directorist-row-tooltip[data-tooltip]:not([data-flow])::before, +.directorist-row-tooltip[data-tooltip]:not([data-flow])::after, +.directorist-row-tooltip[data-tooltip][data-flow="top"]::before, +.directorist-row-tooltip[data-tooltip][data-flow="top"]::after { right: 50%; -webkit-transform: translate(50%, -4px); transform: translate(50%, -4px); } -.directorist-row-tooltip[data-tooltip][data-flow="bottom"]:before { +.directorist-row-tooltip[data-tooltip][data-flow="bottom"]::before { top: 100%; border-top-width: 0; border-bottom-color: #141921; } -.directorist-row-tooltip[data-tooltip][data-flow="bottom"]:after { +.directorist-row-tooltip[data-tooltip][data-flow="bottom"]::after { top: calc(100% + 5px); } -.directorist-row-tooltip[data-tooltip][data-flow="bottom"]:after, -.directorist-row-tooltip[data-tooltip][data-flow="bottom"]:before { +.directorist-row-tooltip[data-tooltip][data-flow="bottom"]::before, +.directorist-row-tooltip[data-tooltip][data-flow="bottom"]::after { right: 50%; -webkit-transform: translate(50%, 6px); transform: translate(50%, 6px); } -.directorist-row-tooltip[data-tooltip][data-flow="left"]:before { +.directorist-row-tooltip[data-tooltip][data-flow="left"]::before { top: 50%; border-left-width: 0; border-right-color: #141921; - right: -5px; + right: calc(0em - 5px); -webkit-transform: translate(6px, -50%); transform: translate(6px, -50%); } -.directorist-row-tooltip[data-tooltip][data-flow="left"]:after { +.directorist-row-tooltip[data-tooltip][data-flow="left"]::after { top: 50%; left: calc(100% + 5px); -webkit-transform: translate(6px, -50%); transform: translate(6px, -50%); } -.directorist-row-tooltip[data-tooltip][data-flow="right"]:before { +.directorist-row-tooltip[data-tooltip][data-flow="right"]::before { top: 50%; border-right-width: 0; border-left-color: #141921; - left: -5px; + left: calc(0em - 5px); -webkit-transform: translate(-6px, -50%); transform: translate(-6px, -50%); } -.directorist-row-tooltip[data-tooltip][data-flow="right"]:after { +.directorist-row-tooltip[data-tooltip][data-flow="right"]::after { top: 50%; right: calc(100% + 5px); -webkit-transform: translate(-6px, -50%); transform: translate(-6px, -50%); } -.directorist-row-tooltip[data-tooltip][data-tooltip=""]:after, -.directorist-row-tooltip[data-tooltip][data-tooltip=""]:before { +.directorist-row-tooltip[data-tooltip][data-tooltip=""]::after, +.directorist-row-tooltip[data-tooltip][data-tooltip=""]::before { display: none !important; } + .directorist_listing-slug-text { min-width: 120px; display: inline-block; @@ -5905,8 +6291,8 @@ body.wp-admin { -webkit-transition: 0.3s ease; transition: 0.3s ease; } -.directorist_listing-slug-text--editable, -.directorist_listing-slug-text:hover { +.directorist_listing-slug-text:hover, +.directorist_listing-slug-text--editable { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -5920,8 +6306,8 @@ body.wp-admin { border-radius: 6px; background: #f3f4f6; } -.directorist_listing-slug-text--editable:focus, -.directorist_listing-slug-text:hover:focus { +.directorist_listing-slug-text:hover:focus, +.directorist_listing-slug-text--editable:focus { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -5942,21 +6328,22 @@ body.wp-admin { min-width: 90px; } } -.directorist-type-slug .directorist-count-notice, -.directorist-type-slug .directorist-slug-notice { + +.directorist-type-slug .directorist-slug-notice, +.directorist-type-slug .directorist-count-notice { margin: 6px 0 0; text-transform: math-auto; } -.directorist-type-slug .directorist-count-notice.directorist-slug-notice-error, -.directorist-type-slug .directorist-slug-notice.directorist-slug-notice-error { +.directorist-type-slug .directorist-slug-notice.directorist-slug-notice-error, +.directorist-type-slug .directorist-count-notice.directorist-slug-notice-error { color: #ef0000; } +.directorist-type-slug .directorist-slug-notice.directorist-slug-notice-success, .directorist-type-slug - .directorist-count-notice.directorist-slug-notice-success, -.directorist-type-slug - .directorist-slug-notice.directorist-slug-notice-success { + .directorist-count-notice.directorist-slug-notice-success { color: #00ac17; } + .directorist-type-slug-content { display: -webkit-box; display: -webkit-flex; @@ -5967,6 +6354,7 @@ body.wp-admin { -ms-flex-align: center; align-items: center; } + .directorist-listing-slug-edit-wrap { display: inline-block; position: relative; @@ -5975,7 +6363,7 @@ body.wp-admin { } @media only screen and (max-width: 1299px) { .directorist-listing-slug-edit-wrap { - position: static; + position: initial; } } .directorist-listing-slug-edit-wrap .directorist-listing-slug__edit, @@ -6006,7 +6394,7 @@ body.wp-admin { .directorist-listing-slug-edit-wrap .directorist_listing-slug-formText-add:before { content: "\f044"; - font-family: Font Awesome\5 Free; + font-family: "Font Awesome 5 Free"; font-weight: 400; font-size: 15px; color: #2c99ff; @@ -6046,7 +6434,7 @@ body.wp-admin { .directorist-listing-slug-edit-wrap .directorist_listing-slug-formText-add:before { content: "\f00c"; - font-family: Font Awesome\5 Free; + font-family: "Font Awesome 5 Free"; font-weight: 900; color: #fff; } @@ -6087,7 +6475,7 @@ body.wp-admin { .directorist-listing-slug-edit-wrap .directorist_listing-slug-formText-remove:before { content: "\f00d"; - font-family: Font Awesome\5 Free; + font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 15px; color: #fff; @@ -6125,6 +6513,7 @@ body.wp-admin { left: -40px; top: 5px; } + .directorist_custom-checkbox input { display: none; } @@ -6155,7 +6544,7 @@ body.wp-admin { right: 6px; top: 5px; font-weight: 900; - font-family: Font Awesome\5 Free; + font-family: "Font Awesome 5 Free"; content: "\f00c"; display: block; opacity: 0; @@ -6182,6 +6571,7 @@ body.wp-admin { opacity: 1; color: #fff; } + .directorist_builder__content .directorist_badge { display: inline-block; padding: 4px 6px; @@ -6193,18 +6583,20 @@ body.wp-admin { vertical-align: baseline; border-radius: 4px; margin-right: 6px; - border: 0; + border: 0 none; } .directorist_builder__content .directorist_badge.directorist_badge-primary { color: #fff; background-color: #3e62f5; } + .directorist_table-responsive { display: block !important; width: 100%; overflow-x: auto; overflow-y: visible; } + .cptm-delete-directory-modal .cptm-modal-header { padding-right: 20px; } @@ -6238,11 +6630,13 @@ body.wp-admin { color: #fff; background-color: #ff272a; } + .directorist_dropdown { border: 1px solid #d2d6db; border-radius: 8px; - -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); - box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); + position: relative; + -webkit-box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05); + box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05); } .directorist_dropdown.--open { border-color: #4d5761; @@ -6251,6 +6645,7 @@ body.wp-admin { content: "\eb56"; } .directorist_dropdown .directorist_dropdown-toggle { + text-decoration: none; color: #7a82a6; display: -webkit-box; display: -webkit-flex; @@ -6267,6 +6662,7 @@ body.wp-admin { padding: 10px 15px; width: auto !important; height: 100%; + position: relative; } .directorist_dropdown .directorist_dropdown-toggle:before { content: "\f347"; @@ -6281,24 +6677,36 @@ body.wp-admin { order: -1; } .directorist_dropdown .directorist_dropdown-option { + display: none; + position: absolute; + width: 100%; + right: 0; top: 44px; padding: 15px; + background-color: #fff; -webkit-box-shadow: 0 10px 40px rgba(134, 142, 174, 0.1882352941); box-shadow: 0 10px 40px rgba(134, 142, 174, 0.1882352941); border-radius: 5px; + z-index: 99999; -webkit-box-sizing: border-box; box-sizing: border-box; } .directorist_dropdown .directorist_dropdown-option ul li a { + font-size: 14px; + font-weight: 500; + text-decoration: none; + display: block; padding: 9px 10px; border-radius: 4px; color: #5a5f7d; } + .directorist_select .select2-container .select2-selection--single { padding: 0 20px; height: 38px; border: 1px solid #c6d0dc; } + .directorist_loader { position: relative; } @@ -6307,21 +6715,25 @@ body.wp-admin { content: ""; left: 10px; top: 31%; + border: 2px solid #dddddd; border-radius: 50%; - border: 2px solid #ddd; - border-top-color: #272b41; + border-top: 2px solid #272b41; width: 20px; height: 20px; -webkit-animation: atbd_spin 2s linear infinite; + /* Safari */ animation: atbd_spin 2s linear infinite; } + .directorist_disable { pointer-events: none; } + #publishing-action.directorist_disable input#publish { cursor: not-allowed; opacity: 0.3; } + .directorist_more-dropdown { position: relative; } @@ -6411,12 +6823,13 @@ body.wp-admin { opacity: 0.5; pointer-events: none; } + @-webkit-keyframes atbd_spin { 0% { -webkit-transform: rotate(0deg); } - to { - -webkit-transform: rotate(-1turn); + 100% { + -webkit-transform: rotate(-360deg); } } @keyframes atbd_spin { @@ -6424,9 +6837,9 @@ body.wp-admin { -webkit-transform: rotate(0deg); transform: rotate(0deg); } - to { - -webkit-transform: rotate(-1turn); - transform: rotate(-1turn); + 100% { + -webkit-transform: rotate(-360deg); + transform: rotate(-360deg); } } .directorist-checkbox @@ -6435,13 +6848,25 @@ body.wp-admin { right: 5px !important; top: 5px !important; } + .directorist-form-group.directorist-faq-group { margin-bottom: 30px; } + .directory_types-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; margin: -8px; } -.directory_types-wrapper, .directory_types-wrapper .directory_type-group { display: -webkit-box; display: -webkit-flex; @@ -6454,8 +6879,6 @@ body.wp-admin { -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; -} -.directory_types-wrapper .directory_type-group { padding: 8px; } .directory_types-wrapper .directory_type-group label { @@ -6465,9 +6888,11 @@ body.wp-admin { position: relative; top: 2px; } + .csv-action-btns { padding-right: 15px; } + #atbdp_ie_download_sample { display: inline-block; padding: 0 20px; @@ -6480,24 +6905,29 @@ body.wp-admin { cursor: pointer; border: 1px solid #3e62f5; background-color: #3e62f5; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } #atbdp_ie_download_sample:hover { border-color: #264ef4; background: #264ef4; color: #fff; } + div#gmap { height: 400px; } + .cor-wrap, .lat_btn_wrap { margin-top: 15px; } + img.atbdp-file-info { max-width: 200px; } + +/* admin notice */ .directorist__notice_new { font-size: 13px; font-weight: 500; @@ -6513,8 +6943,9 @@ img.atbdp-file-info { font-weight: 700; } .directorist__notice_new + p { - margin-top: 0 !important; + margin-top: 0px !important; } + .directorist__notice_new_action a { color: #3e62f5; font-weight: 700; @@ -6527,8 +6958,8 @@ img.atbdp-file-info { padding: 8px 17px; border-radius: 5px; cursor: pointer; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; font-weight: 500; font-size: 15px; color: #fff; @@ -6538,6 +6969,7 @@ img.atbdp-file-info { .directorist__notice_new_action .directorist__notice_new__btn:hover { color: #fff; } + .add_listing_form_wrapper#gallery_upload { padding: 30px; text-align: center; @@ -6547,6 +6979,7 @@ img.atbdp-file-info { .add_listing_form_wrapper#gallery_upload .listing-prv-img-container { text-align: center; } + .directorist_select .select2.select2-container .select2-selection--single { border: 1px solid #8c8f94; min-height: 40px; @@ -6560,35 +6993,40 @@ img.atbdp-file-info { padding: 0 15px; } .directorist_select .select2.select2-container .select2-results__option i, -.directorist_select .select2.select2-container .select2-results__option span.fa, .directorist_select .select2.select2-container .select2-results__option - span.fab, + span.las, .directorist_select .select2.select2-container .select2-results__option - span.far, + span.lab, +.directorist_select .select2.select2-container .select2-results__option span.la, .directorist_select .select2.select2-container .select2-results__option span.fas, -.directorist_select .select2.select2-container .select2-results__option span.la, .directorist_select .select2.select2-container .select2-results__option - span.lab, + span.fab, .directorist_select .select2.select2-container .select2-results__option - span.las { + span.far, +.directorist_select + .select2.select2-container + .select2-results__option + span.fa { font-size: 16px; } + #style_settings__color_settings .cptm-field-wraper-type-wp-media-picker input[type="button"].cptm-btn { display: none; } + .cptm-create-directory-modal .cptm-modal { width: 100%; max-width: 680px; @@ -6637,8 +7075,8 @@ img.atbdp-file-info { .cptm-modal-action-link svg path { - -webkit-transition: fill 0.3s ease; - transition: fill 0.3s ease; + -webkit-transition: fill ease 0.3s; + transition: fill ease 0.3s; } .cptm-create-directory-modal .cptm-create-directory-modal__header @@ -6715,15 +7153,15 @@ img.atbdp-file-info { box-sizing: border-box; -webkit-box-shadow: none; box-shadow: none; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } .cptm-create-directory-modal .cptm-create-directory-modal__action - .cptm-create-directory-modal__action__single:focus, + .cptm-create-directory-modal__action__single:hover, .cptm-create-directory-modal .cptm-create-directory-modal__action - .cptm-create-directory-modal__action__single:hover { + .cptm-create-directory-modal__action__single:focus { background-color: #f0f3ff; border-color: #3e62f5; } @@ -6825,55 +7263,65 @@ img.atbdp-file-info { color: #3e62f5; background-color: #c0ccfc; } + .directorist-flex { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } + .directorist-flex-wrap { -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; } + .directorist-align-center { -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; } + .directorist-justify-content-center { -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; } + .directorist-justify-content-between { -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; } + .directorist-justify-content-around { -webkit-justify-content: space-around; -ms-flex-pack: distribute; justify-content: space-around; } + .directorist-justify-content-start { -webkit-box-pack: start; -webkit-justify-content: flex-start; -ms-flex-pack: start; justify-content: flex-start; } + .directorist-justify-content-end { -webkit-box-pack: end; -webkit-justify-content: flex-end; -ms-flex-pack: end; justify-content: flex-end; } + .directorist-display-none { display: none; } + .directorist-icon-mask:after { content: ""; display: block; @@ -6887,16 +7335,20 @@ img.atbdp-file-info { -webkit-mask-image: var(--directorist-icon); mask-image: var(--directorist-icon); } + .directorist-error__msg { color: var(--directorist-color-danger); font-size: 14px; } + .directorist-content-active .entry-content .directorist-search-contents { width: 100% !important; max-width: 100% !important; -webkit-box-sizing: border-box; box-sizing: border-box; } + +/* directorist module style */ .directorist-content-module { border: 1px solid var(--directorist-color-border); } @@ -7006,7 +7458,7 @@ img.atbdp-file-info { } .directorist-content-module__contents .directorist-form-description-field - .mce-top-part:before { + .mce-top-part::before { display: none; } .directorist-content-module__contents @@ -7034,13 +7486,13 @@ img.atbdp-file-info { .directorist-content-module__contents .directorist-form-description-field .mce-toolbar - .mce-btn-group - .mce-btn.mce-listbox, + .mce-btn + button, .directorist-content-module__contents .directorist-form-description-field .mce-toolbar - .mce-btn - button { + .mce-btn-group + .mce-btn.mce-listbox { background: transparent; } .directorist-content-module__contents @@ -7082,7 +7534,7 @@ img.atbdp-file-info { .directorist-content-module__contents .directorist-form-social-info-field .directorist-btn - i:after { + i::after { width: 16px; height: 16px; background-color: var(--directorist-color-btn); @@ -7096,7 +7548,7 @@ img.atbdp-file-info { .directorist-content-module__contents .directorist-form-social-info-field .directorist-btn:hover - i:after { + i::after { background-color: var(--directorist-color-white); } .directorist-content-module__contents @@ -7109,18 +7561,22 @@ img.atbdp-file-info { .directorist-checkbox__label { margin-right: 0; } + .directorist-content-active #directorist.atbd_wrapper { max-width: 100%; } .directorist-content-active #directorist.atbd_wrapper .atbd_header_bar { margin-bottom: 35px; } + #directorist-dashboard-preloader { display: none; } + .directorist-form-required { color: var(--directorist-color-danger); } + .directory_register_form_wrap .dgr_show_recaptcha { margin-bottom: 20px; } @@ -7133,6 +7589,7 @@ img.atbdp-file-info { .directory_register_form_wrap a { text-decoration: none; } + .atbd_login_btn_wrapper .directorist-btn { line-height: 2.55; padding-top: 0; @@ -7143,6 +7600,7 @@ img.atbdp-file-info { .directorist-checkbox__label { color: var(--directorist-color-primary); } + .atbdp_login_form_shortcode .directorist-form-group label { display: inline-block; margin-bottom: 5px; @@ -7150,6 +7608,7 @@ img.atbdp-file-info { .atbdp_login_form_shortcode a { text-decoration: none; } + .directory_register_form_wrap .directorist-form-group label { display: inline-block; margin-bottom: 5px; @@ -7159,6 +7618,7 @@ img.atbdp-file-info { padding-top: 0; padding-bottom: 0; } + .directorist-quick-login .directorist-form-actions { display: -webkit-box; display: -webkit-flex; @@ -7170,12 +7630,14 @@ img.atbdp-file-info { -ms-flex-align: center; align-items: center; } + .atbd_success_mesage > p i { top: 2px; margin-left: 5px; position: relative; display: inline-block; } + .directorist-loader { position: relative; } @@ -7184,17 +7646,20 @@ img.atbdp-file-info { content: ""; left: 20px; top: 31%; - border-top: 2px solid var(--directorist-color-white); - border-radius: 50%; border: 2px solid var(--directorist-color-white); - border-top-color: var(--directorist-color-primary); + border-radius: 50%; + border-top: 2px solid var(--directorist-color-primary); width: 20px; height: 20px; -webkit-animation: atbd_spin 2s linear infinite; animation: atbd_spin 2s linear infinite; } + .plupload-upload-uic { + width: 420px; + margin: 0 auto !important; border: 1px dashed var(--directorist-color-border-gray); + padding: 30px; } .plupload-upload-uic .atbdp-dropbox-title { font-weight: 500; @@ -7218,6 +7683,7 @@ img.atbdp-file-info { margin-top: 10px; color: var(--directorist-color-deep-gray); } + @media (max-width: 575px) { .plupload-upload-uic { width: 100%; @@ -7291,11 +7757,14 @@ img.atbdp-file-info { border-bottom: 1px dashed #e9e9e9; } .directorist-address-field .address_result li:last-child, +.directorist-form-address-field .address_result li:last-child { + border: none; +} .directorist-address-field .address_result li:last-child a, -.directorist-form-address-field .address_result li:last-child, .directorist-form-address-field .address_result li:last-child a { border: none; } + .pac-container { list-style: none; margin: 0; @@ -7359,16 +7828,21 @@ img.atbdp-file-info { mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; - -webkit-mask-image: url(../images/2823e3547c32a23392a06652e69a8a71.svg); - mask-image: url(../images/2823e3547c32a23392a06652e69a8a71.svg); + -webkit-mask-image: url(../js/../images/2823e3547c32a23392a06652e69a8a71.svg); + mask-image: url(../js/../images/2823e3547c32a23392a06652e69a8a71.svg); +} +.pac-container:after { + display: none; } -.pac-container:after, + p.status:empty { display: none; } + .gateway_list input[type="radio"] { margin-left: 5px; } + .directorist-checkout-form .directorist-container-fluid { -webkit-box-sizing: border-box; box-sizing: border-box; @@ -7376,6 +7850,7 @@ p.status:empty { .directorist-checkout-form ul { list-style-type: none; } + .directorist-select select { width: 100%; height: 40px; @@ -7386,15 +7861,18 @@ p.status:empty { .directorist-select select:focus { outline: 0; } + .directorist-content-active .select2-container--open .select2-dropdown--above { top: 0; border-color: var(--directorist-color-border); } + body.logged-in.directorist-content-active .select2-container--open .select2-dropdown--above { top: 32px; } + .directorist-content-active .select2-container--default .select2-dropdown { border: none; border-radius: 10px !important; @@ -7406,7 +7884,7 @@ body.logged-in.directorist-content-active .directorist-content-active .select2-container--default .select2-search--dropdown { - padding: 20px 20px 10px; + padding: 20px 20px 10px 20px; } .directorist-content-active .select2-container--default .select2-search__field { padding: 10px 18px !important; @@ -7609,6 +8087,7 @@ body.logged-in.directorist-content-active .directorist-icon-mask:after { background-color: var(--directorist-color-body) !important; } + .custom-checkbox input { display: none; } @@ -7642,7 +8121,7 @@ body.logged-in.directorist-content-active right: 5px; top: 5px; font-weight: 900; - font-family: Font Awesome\5 Free; + font-family: "Font Awesome 5 Free"; content: "\f00c"; display: block; opacity: 0; @@ -7684,16 +8163,193 @@ body.logged-in.directorist-content-active opacity: 1; color: var(--directorist-color-white); } + .directorist-table { display: table; width: 100%; } + +.reset-pseudo-link:visited, +.atbdp-nav-link:visited, +.cptm-modal-action-link:visited, +.cptm-header-action-link:visited, +.cptm-sub-nav__item-link:visited, +.cptm-link-light:visited, +.cptm-header-nav__list-item-link:visited, +.cptm-btn:visited, +.reset-pseudo-link:active, +.atbdp-nav-link:active, +.cptm-modal-action-link:active, +.cptm-header-action-link:active, +.cptm-sub-nav__item-link:active, +.cptm-link-light:active, +.cptm-header-nav__list-item-link:active, +.cptm-btn:active, +.reset-pseudo-link:focus, +.atbdp-nav-link:focus, +.cptm-modal-action-link:focus, +.cptm-header-action-link:focus, +.cptm-sub-nav__item-link:focus, +.cptm-link-light:focus, +.cptm-header-nav__list-item-link:focus, +.cptm-btn:focus { + outline: none; + -webkit-box-shadow: none; + box-shadow: none; +} + +.cptm-shortcodes { + max-height: 300px; + overflow: scroll; +} + +.directorist-center-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.directorist-center-content-inline { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; +} + +.directorist-center-content, +.directorist-center-content-inline { + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.directorist-text-right { + text-align: left; +} + +.directorist-text-center { + text-align: center; +} + +.directorist-text-left { + text-align: right; +} + +.directorist-mt-0 { + margin-top: 0 !important; +} + +.directorist-mt-5 { + margin-top: 5px !important; +} + +.directorist-mt-10 { + margin-top: 10px !important; +} + +.directorist-mt-15 { + margin-top: 15px !important; +} + +.directorist-mt-20 { + margin-top: 20px !important; +} + +.directorist-mt-30 { + margin-top: 30px !important; +} + +.directorist-mb-0 { + margin-bottom: 0 !important; +} + +.directorist-mb-35 { + margin-bottom: 35px !important; +} + +.directorist-mb-30 { + margin-bottom: 30px !important; +} + +.directorist-mb-25 { + margin-bottom: 25px !important; +} + +.directorist-mb-20 { + margin-bottom: 20px !important; +} + +.directorist-mb-n20 { + margin-bottom: -20px !important; +} + +.directorist-mb-10 { + margin-bottom: 10px !important; +} + +.directorist-mb-15 { + margin-bottom: 15px !important; +} + +.directorist-mb-20 { + margin-bottom: 20px !important; +} + +.directorist-mb-30 { + margin-bottom: 30px !important; +} + +.directorist-mb-35 { + margin-bottom: 35px !important; +} + +.directorist-mb-40 { + margin-bottom: 40px !important; +} + +.directorist-mb-50 { + margin-bottom: 50px !important; +} + +.directorist-mb-70 { + margin-bottom: 70px !important; +} + +.directorist-mb-80 { + margin-bottom: 80px !important; +} + +.directorist-pb-100 { + padding-bottom: 100px !important; +} + +.directorist-w-100 { + width: 100% !important; + max-width: 100% !important; +} + +/* typography */ body.stop-scrolling { height: 100%; overflow: hidden; } + .sweet-overlay { - background-color: #000; + background-color: black; -ms-filter: "alpha(opacity=40)"; background-color: rgba(var(--directorist-color-dark-rgb), 0.4); position: fixed; @@ -7704,14 +8360,10 @@ body.stop-scrolling { display: none; z-index: 10000; } + .sweet-alert { - background-color: #fff; - font-family: - Open Sans, - Helvetica Neue, - Helvetica, - Arial, - sans-serif; + background-color: white; + font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; width: 478px; padding: 17px; border-radius: 5px; @@ -7725,7 +8377,8 @@ body.stop-scrolling { display: none; z-index: 99999; } -@media (max-width: 540px) { + +@media all and (max-width: 540px) { .sweet-alert { width: auto; margin-right: 0; @@ -7737,31 +8390,34 @@ body.stop-scrolling { .sweet-alert h2 { color: #575757; font-size: 30px; + text-align: center; font-weight: 600; text-transform: none; + position: relative; margin: 25px 0; + padding: 0; line-height: 40px; display: block; } -.sweet-alert h2, -.sweet-alert p { - text-align: center; - position: relative; - padding: 0; -} + .sweet-alert p { color: #797979; font-size: 16px; + text-align: center; font-weight: 300; + position: relative; text-align: inherit; float: none; margin: 0; + padding: 0; line-height: normal; } + .sweet-alert fieldset { border: 0; position: relative; } + .sweet-alert .sa-error-container { background-color: #f1f1f1; margin-right: -17px; @@ -7779,6 +8435,7 @@ body.stop-scrolling { padding 0.15s, max-height 0.15s; } + .sweet-alert .sa-error-container.show { padding: 10px 0; max-height: 100px; @@ -7792,20 +8449,23 @@ body.stop-scrolling { padding 0.25s, max-height 0.25s; } + .sweet-alert .sa-error-container .icon { display: inline-block; width: 24px; height: 24px; border-radius: 50%; background-color: #ea7d7d; - color: #fff; + color: white; line-height: 24px; text-align: center; margin-left: 3px; } + .sweet-alert .sa-error-container p { display: inline-block; } + .sweet-alert .sa-input-error { position: absolute; top: 29px; @@ -7820,8 +8480,9 @@ body.stop-scrolling { -webkit-transition: all 0.1s; transition: all 0.1s; } -.sweet-alert .sa-input-error:after, -.sweet-alert .sa-input-error:before { + +.sweet-alert .sa-input-error::before, +.sweet-alert .sa-input-error::after { content: ""; width: 20px; height: 6px; @@ -7833,19 +8494,23 @@ body.stop-scrolling { right: 50%; margin-right: -9px; } -.sweet-alert .sa-input-error:before { + +.sweet-alert .sa-input-error::before { -webkit-transform: rotate(45deg); transform: rotate(45deg); } -.sweet-alert .sa-input-error:after { + +.sweet-alert .sa-input-error::after { -webkit-transform: rotate(-45deg); transform: rotate(-45deg); } + .sweet-alert .sa-input-error.show { opacity: 1; -webkit-transform: scale(1); transform: scale(1); } + .sweet-alert input { width: 100%; -webkit-box-sizing: border-box; @@ -7864,43 +8529,53 @@ body.stop-scrolling { -webkit-transition: all 0.3s; transition: all 0.3s; } + .sweet-alert input:focus { outline: 0; -webkit-box-shadow: 0 0 3px #c4e6f5; box-shadow: 0 0 3px #c4e6f5; border: 1px solid #b4dbed; } + .sweet-alert input:focus::-moz-placeholder { -moz-transition: opacity 0.3s 0.03s ease; - transition: opacity 0.3s ease 0.03s; + transition: opacity 0.3s 0.03s ease; opacity: 0.5; } + .sweet-alert input:focus:-ms-input-placeholder { -ms-transition: opacity 0.3s 0.03s ease; - transition: opacity 0.3s ease 0.03s; + transition: opacity 0.3s 0.03s ease; opacity: 0.5; } + .sweet-alert input:focus::-webkit-input-placeholder { - -webkit-transition: opacity 0.3s ease 0.03s; - transition: opacity 0.3s ease 0.03s; + -webkit-transition: opacity 0.3s 0.03s ease; + transition: opacity 0.3s 0.03s ease; opacity: 0.5; } + .sweet-alert input::-moz-placeholder { color: #bdbdbd; } + .sweet-alert input:-ms-input-placeholder { color: #bdbdbd; } + .sweet-alert input::-webkit-input-placeholder { color: #bdbdbd; } + .sweet-alert.show-input input { display: block; } + .sweet-alert .sa-confirm-button-container { display: inline-block; position: relative; } + .sweet-alert .la-ball-fall { position: absolute; right: 50%; @@ -7910,9 +8585,10 @@ body.stop-scrolling { opacity: 0; visibility: hidden; } + .sweet-alert button { background-color: #8cd4f5; - color: #fff; + color: white; border: 0; -webkit-box-shadow: none; box-shadow: none; @@ -7920,9 +8596,10 @@ body.stop-scrolling { font-weight: 500; border-radius: 5px; padding: 10px 32px; - margin: 26px 5px 0; + margin: 26px 5px 0 5px; cursor: pointer; } + .sweet-alert button:focus { outline: 0; -webkit-box-shadow: @@ -7932,21 +8609,27 @@ body.stop-scrolling { 0 0 2px rgba(128, 179, 235, 0.5), inset 0 0 0 1px rgba(var(--directorist-color-dark-rgb), 0.05); } + .sweet-alert button:hover { background-color: #7ecff4; } + .sweet-alert button:active { background-color: #5dc2f1; } + .sweet-alert button.cancel { background-color: #c1c1c1; } + .sweet-alert button.cancel:hover { background-color: #b9b9b9; } + .sweet-alert button.cancel:active { background-color: #a8a8a8; } + .sweet-alert button.cancel:focus { -webkit-box-shadow: rgba(197, 205, 211, 0.8) 0 0 2px, @@ -7955,33 +8638,40 @@ body.stop-scrolling { rgba(197, 205, 211, 0.8) 0 0 2px, rgba(var(--directorist-color-dark-rgb), 0.0470588) 0 0 0 1px inset !important; } + .sweet-alert button[disabled] { opacity: 0.6; cursor: default; } + .sweet-alert button.confirm[disabled] { color: transparent; } + .sweet-alert button.confirm[disabled] ~ .la-ball-fall { opacity: 1; visibility: visible; -webkit-transition-delay: 0; transition-delay: 0; } + .sweet-alert button::-moz-focus-inner { border: 0; } + .sweet-alert[data-has-cancel-button="false"] button { -webkit-box-shadow: none !important; box-shadow: none !important; } + .sweet-alert[data-has-confirm-button="false"][data-has-cancel-button="false"] { padding-bottom: 40px; } + .sweet-alert .sa-icon { width: 80px; height: 80px; - border: 4px solid grey; + border: 4px solid gray; border-radius: 40px; border-radius: 50%; margin: 20px auto; @@ -7990,13 +8680,16 @@ body.stop-scrolling { -webkit-box-sizing: content-box; box-sizing: content-box; } + .sweet-alert .sa-icon.sa-error { border-color: #f27474; } + .sweet-alert .sa-icon.sa-error .sa-x-mark { position: relative; display: block; } + .sweet-alert .sa-icon.sa-error .sa-line { position: absolute; height: 5px; @@ -8006,19 +8699,23 @@ body.stop-scrolling { top: 37px; border-radius: 2px; } + .sweet-alert .sa-icon.sa-error .sa-line.sa-left { -webkit-transform: rotate(-45deg); transform: rotate(-45deg); right: 17px; } + .sweet-alert .sa-icon.sa-error .sa-line.sa-right { -webkit-transform: rotate(45deg); transform: rotate(45deg); left: 16px; } + .sweet-alert .sa-icon.sa-warning { border-color: #f8bb86; } + .sweet-alert .sa-icon.sa-warning .sa-body { position: absolute; width: 5px; @@ -8029,6 +8726,7 @@ body.stop-scrolling { margin-right: -2px; background-color: #f8bb86; } + .sweet-alert .sa-icon.sa-warning .sa-dot { position: absolute; width: 7px; @@ -8039,10 +8737,12 @@ body.stop-scrolling { bottom: 10px; background-color: #f8bb86; } + .sweet-alert .sa-icon.sa-info { border-color: #c9dae1; } -.sweet-alert .sa-icon.sa-info:before { + +.sweet-alert .sa-icon.sa-info::before { content: ""; position: absolute; width: 5px; @@ -8053,7 +8753,8 @@ body.stop-scrolling { margin-right: -2px; background-color: #c9dae1; } -.sweet-alert .sa-icon.sa-info:after { + +.sweet-alert .sa-icon.sa-info::after { content: ""; position: absolute; width: 7px; @@ -8063,22 +8764,25 @@ body.stop-scrolling { top: 19px; background-color: #c9dae1; } + .sweet-alert .sa-icon.sa-success { border-color: #a5dc86; } -.sweet-alert .sa-icon.sa-success:after, -.sweet-alert .sa-icon.sa-success:before { + +.sweet-alert .sa-icon.sa-success::before, +.sweet-alert .sa-icon.sa-success::after { content: ""; border-radius: 40px; border-radius: 50%; position: absolute; width: 60px; height: 120px; - background: #fff; + background: white; -webkit-transform: rotate(-45deg); transform: rotate(-45deg); } -.sweet-alert .sa-icon.sa-success:before { + +.sweet-alert .sa-icon.sa-success::before { border-radius: 0 120px 120px 0; top: -7px; right: -33px; @@ -8087,7 +8791,8 @@ body.stop-scrolling { -webkit-transform-origin: 60px 60px; transform-origin: 60px 60px; } -.sweet-alert .sa-icon.sa-success:after { + +.sweet-alert .sa-icon.sa-success::after { border-radius: 120px 0 0 120px; top: -11px; right: 30px; @@ -8096,6 +8801,7 @@ body.stop-scrolling { -webkit-transform-origin: 100% 60px; transform-origin: 100% 60px; } + .sweet-alert .sa-icon.sa-success .sa-placeholder { width: 80px; height: 80px; @@ -8109,10 +8815,11 @@ body.stop-scrolling { top: -4px; z-index: 2; } + .sweet-alert .sa-icon.sa-success .sa-fix { width: 5px; height: 90px; - background-color: #fff; + background-color: white; position: absolute; right: 28px; top: 8px; @@ -8120,6 +8827,7 @@ body.stop-scrolling { -webkit-transform: rotate(45deg); transform: rotate(45deg); } + .sweet-alert .sa-icon.sa-success .sa-line { height: 5px; background-color: #a5dc86; @@ -8128,6 +8836,7 @@ body.stop-scrolling { position: absolute; z-index: 2; } + .sweet-alert .sa-icon.sa-success .sa-line.sa-tip { width: 25px; right: 14px; @@ -8135,6 +8844,7 @@ body.stop-scrolling { -webkit-transform: rotate(-45deg); transform: rotate(-45deg); } + .sweet-alert .sa-icon.sa-success .sa-line.sa-long { width: 47px; left: 8px; @@ -8142,13 +8852,15 @@ body.stop-scrolling { -webkit-transform: rotate(45deg); transform: rotate(45deg); } + .sweet-alert .sa-icon.sa-custom { background-size: contain; border-radius: 0; border: 0; - background-position: 50%; + background-position: center center; background-repeat: no-repeat; } + @-webkit-keyframes showSweetAlert { 0% { transform: scale(0.7); @@ -8162,7 +8874,7 @@ body.stop-scrolling { transform: scale(0.95); -webkit-transform: scale(0.95); } - to { + 100% { transform: scale(1); -webkit-transform: scale(1); } @@ -8180,7 +8892,7 @@ body.stop-scrolling { transform: scale(0.95); -webkit-transform: scale(0.95); } - to { + 100% { transform: scale(1); -webkit-transform: scale(1); } @@ -8190,7 +8902,7 @@ body.stop-scrolling { transform: scale(1); -webkit-transform: scale(1); } - to { + 100% { transform: scale(0.5); -webkit-transform: scale(0.5); } @@ -8200,7 +8912,7 @@ body.stop-scrolling { transform: scale(1); -webkit-transform: scale(1); } - to { + 100% { transform: scale(0.5); -webkit-transform: scale(0.5); } @@ -8209,7 +8921,7 @@ body.stop-scrolling { 0% { top: 0; } - to { + 100% { top: 50%; } } @@ -8217,7 +8929,7 @@ body.stop-scrolling { 0% { top: 0; } - to { + 100% { top: 50%; } } @@ -8225,7 +8937,7 @@ body.stop-scrolling { 0% { top: 50%; } - to { + 100% { top: 0; } } @@ -8233,7 +8945,7 @@ body.stop-scrolling { 0% { top: 50%; } - to { + 100% { top: 0; } } @@ -8241,7 +8953,7 @@ body.stop-scrolling { 0% { top: 70%; } - to { + 100% { top: 50%; } } @@ -8249,7 +8961,7 @@ body.stop-scrolling { 0% { top: 70%; } - to { + 100% { top: 50%; } } @@ -8257,7 +8969,7 @@ body.stop-scrolling { 0% { top: 50%; } - to { + 100% { top: 70%; } } @@ -8265,7 +8977,7 @@ body.stop-scrolling { 0% { top: 50%; } - to { + 100% { top: 70%; } } @@ -8273,34 +8985,42 @@ body.stop-scrolling { -webkit-animation: showSweetAlert 0.3s; animation: showSweetAlert 0.3s; } + .showSweetAlert[data-animation="none"] { -webkit-animation: none; animation: none; } + .showSweetAlert[data-animation="slide-from-top"] { -webkit-animation: slideFromTop 0.3s; animation: slideFromTop 0.3s; } + .showSweetAlert[data-animation="slide-from-bottom"] { -webkit-animation: slideFromBottom 0.3s; animation: slideFromBottom 0.3s; } + .hideSweetAlert[data-animation="pop"] { -webkit-animation: hideSweetAlert 0.2s; animation: hideSweetAlert 0.2s; } + .hideSweetAlert[data-animation="none"] { -webkit-animation: none; animation: none; } + .hideSweetAlert[data-animation="slide-from-top"] { -webkit-animation: slideToTop 0.4s; animation: slideToTop 0.4s; } + .hideSweetAlert[data-animation="slide-from-bottom"] { -webkit-animation: slideToBottom 0.3s; animation: slideToBottom 0.3s; } + @-webkit-keyframes animateSuccessTip { 0% { width: 0; @@ -8322,7 +9042,7 @@ body.stop-scrolling { right: 21px; top: 48px; } - to { + 100% { width: 25px; right: 14px; top: 45px; @@ -8349,7 +9069,7 @@ body.stop-scrolling { right: 21px; top: 48px; } - to { + 100% { width: 25px; right: 14px; top: 45px; @@ -8371,7 +9091,7 @@ body.stop-scrolling { left: 0; top: 35px; } - to { + 100% { width: 47px; left: 8px; top: 38px; @@ -8393,7 +9113,7 @@ body.stop-scrolling { left: 0; top: 35px; } - to { + 100% { width: 47px; left: 8px; top: 38px; @@ -8412,7 +9132,7 @@ body.stop-scrolling { transform: rotate(405deg); -webkit-transform: rotate(405deg); } - to { + 100% { transform: rotate(405deg); -webkit-transform: rotate(405deg); } @@ -8430,7 +9150,7 @@ body.stop-scrolling { transform: rotate(405deg); -webkit-transform: rotate(405deg); } - to { + 100% { transform: rotate(405deg); -webkit-transform: rotate(405deg); } @@ -8439,21 +9159,24 @@ body.stop-scrolling { -webkit-animation: animateSuccessTip 0.75s; animation: animateSuccessTip 0.75s; } + .animateSuccessLong { -webkit-animation: animateSuccessLong 0.75s; animation: animateSuccessLong 0.75s; } -.sa-icon.sa-success.animate:after { + +.sa-icon.sa-success.animate::after { -webkit-animation: rotatePlaceholder 4.25s ease-in; animation: rotatePlaceholder 4.25s ease-in; } + @-webkit-keyframes animateErrorIcon { 0% { transform: rotateX(100deg); -webkit-transform: rotateX(100deg); opacity: 0; } - to { + 100% { transform: rotateX(0); -webkit-transform: rotateX(0); opacity: 1; @@ -8465,7 +9188,7 @@ body.stop-scrolling { -webkit-transform: rotateX(100deg); opacity: 0; } - to { + 100% { transform: rotateX(0); -webkit-transform: rotateX(0); opacity: 1; @@ -8475,6 +9198,7 @@ body.stop-scrolling { -webkit-animation: animateErrorIcon 0.5s; animation: animateErrorIcon 0.5s; } + @-webkit-keyframes animateXMark { 0% { transform: scale(0.4); @@ -8493,7 +9217,7 @@ body.stop-scrolling { -webkit-transform: scale(1.15); margin-top: -6px; } - to { + 100% { transform: scale(1); -webkit-transform: scale(1); margin-top: 0; @@ -8518,7 +9242,7 @@ body.stop-scrolling { -webkit-transform: scale(1.15); margin-top: -6px; } - to { + 100% { transform: scale(1); -webkit-transform: scale(1); margin-top: 0; @@ -8529,11 +9253,12 @@ body.stop-scrolling { -webkit-animation: animateXMark 0.5s; animation: animateXMark 0.5s; } + @-webkit-keyframes pulseWarning { 0% { border-color: #f8d486; } - to { + 100% { border-color: #f8bb86; } } @@ -8541,7 +9266,7 @@ body.stop-scrolling { 0% { border-color: #f8d486; } - to { + 100% { border-color: #f8bb86; } } @@ -8549,11 +9274,12 @@ body.stop-scrolling { -webkit-animation: pulseWarning 0.75s infinite alternate; animation: pulseWarning 0.75s infinite alternate; } + @-webkit-keyframes pulseWarningIns { 0% { background-color: #f8d486; } - to { + 100% { background-color: #f8bb86; } } @@ -8561,7 +9287,7 @@ body.stop-scrolling { 0% { background-color: #f8d486; } - to { + 100% { background-color: #f8bb86; } } @@ -8569,14 +9295,15 @@ body.stop-scrolling { -webkit-animation: pulseWarningIns 0.75s infinite alternate; animation: pulseWarningIns 0.75s infinite alternate; } + @-webkit-keyframes rotate-loading { 0% { -webkit-transform: rotate(0); transform: rotate(0); } - to { - -webkit-transform: rotate(-1turn); - transform: rotate(-1turn); + 100% { + -webkit-transform: rotate(-360deg); + transform: rotate(-360deg); } } @keyframes rotate-loading { @@ -8584,23 +9311,27 @@ body.stop-scrolling { -webkit-transform: rotate(0); transform: rotate(0); } - to { - -webkit-transform: rotate(-1turn); - transform: rotate(-1turn); + 100% { + -webkit-transform: rotate(-360deg); + transform: rotate(-360deg); } } .sweet-alert .sa-icon.sa-error .sa-line.sa-left { -ms-transform: rotate(-45deg) \9; } + .sweet-alert .sa-icon.sa-error .sa-line.sa-right { -ms-transform: rotate(45deg) \9; } + .sweet-alert .sa-icon.sa-success { border-color: transparent\9; } + .sweet-alert .sa-icon.sa-success .sa-line.sa-tip { -ms-transform: rotate(-45deg) \9; } + .sweet-alert .sa-icon.sa-success .sa-line.sa-long { -ms-transform: rotate(45deg) \9; } @@ -8616,24 +9347,29 @@ body.stop-scrolling { -webkit-box-sizing: border-box; box-sizing: border-box; } + .la-ball-fall { display: block; font-size: 0; color: var(--directorist-color-white); } + .la-ball-fall.la-dark { color: #333; } + .la-ball-fall > div { display: inline-block; float: none; background-color: currentColor; - border: 0 solid; + border: 0 solid currentColor; } + .la-ball-fall { width: 54px; height: 18px; } + .la-ball-fall > div { width: 10px; height: 10px; @@ -8643,45 +9379,55 @@ body.stop-scrolling { -webkit-animation: ball-fall 1s ease-in-out infinite; animation: ball-fall 1s ease-in-out infinite; } -.la-ball-fall > div:first-child { - -webkit-animation-delay: -0.2s; - animation-delay: -0.2s; + +.la-ball-fall > div:nth-child(1) { + -webkit-animation-delay: -200ms; + animation-delay: -200ms; } + .la-ball-fall > div:nth-child(2) { - -webkit-animation-delay: -0.1s; - animation-delay: -0.1s; + -webkit-animation-delay: -100ms; + animation-delay: -100ms; } + .la-ball-fall > div:nth-child(3) { -webkit-animation-delay: 0; animation-delay: 0; } + .la-ball-fall.la-sm { width: 26px; height: 8px; } + .la-ball-fall.la-sm > div { width: 4px; height: 4px; margin: 2px; } + .la-ball-fall.la-2x { width: 108px; height: 36px; } + .la-ball-fall.la-2x > div { width: 20px; height: 20px; margin: 8px; } + .la-ball-fall.la-3x { width: 162px; height: 54px; } + .la-ball-fall.la-3x > div { width: 30px; height: 30px; margin: 12px; } + @-webkit-keyframes ball-fall { 0% { opacity: 0; @@ -8704,7 +9450,7 @@ body.stop-scrolling { 90% { opacity: 0.5; } - to { + 100% { opacity: 0; -webkit-transform: translateY(145%); transform: translateY(145%); @@ -8732,7 +9478,7 @@ body.stop-scrolling { 90% { opacity: 0.5; } - to { + 100% { opacity: 0; -webkit-transform: translateY(145%); transform: translateY(145%); @@ -8750,6 +9496,18 @@ body.stop-scrolling { margin-bottom: 15px; } .directorist-add-listing-types__single__link { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; @@ -8770,7 +9528,6 @@ body.stop-scrolling { -webkit-transition: background 0.2s ease; transition: background 0.2s ease; } -.directorist-add-listing-types__single__link, .directorist-add-listing-types__single__link .directorist-icon-mask { display: -webkit-box; display: -webkit-flex; @@ -8784,8 +9541,6 @@ body.stop-scrolling { -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; -} -.directorist-add-listing-types__single__link .directorist-icon-mask { height: 70px; width: 70px; background-color: var(--directorist-color-primary); @@ -8814,10 +9569,14 @@ body.stop-scrolling { .directorist-icon-mask:after { background-color: var(--directorist-color-primary); } +.directorist-add-listing-types__single__link { + /* Legacy Icon */ +} .directorist-add-listing-types__single__link > i:not(.directorist-icon-mask) { display: inline-block; margin-bottom: 10px; } + .directorist-add-listing-wrapper { display: -webkit-box; display: -webkit-flex; @@ -8826,6 +9585,7 @@ body.stop-scrolling { -webkit-box-sizing: border-box; box-sizing: border-box; } + .directorist-add-listing-form .directorist-content-module { -webkit-box-shadow: var(--directorist-box-shadow); box-shadow: var(--directorist-box-shadow); @@ -8846,19 +9606,20 @@ body.stop-scrolling { .directorist-add-listing-form__privacy a { color: var(--directorist-color-info); } -#directiost-listing-fields_wrapper .directorist-content-module, -.directorist-add-listing-form .directorist-content-module { + +.directorist-add-listing-form .directorist-content-module, +#directiost-listing-fields_wrapper .directorist-content-module { margin-bottom: 35px; border-radius: 12px; } @media (max-width: 991px) { - #directiost-listing-fields_wrapper .directorist-content-module, - .directorist-add-listing-form .directorist-content-module { + .directorist-add-listing-form .directorist-content-module, + #directiost-listing-fields_wrapper .directorist-content-module { margin-bottom: 20px; } } -#directiost-listing-fields_wrapper .directorist-content-module__title, -.directorist-add-listing-form .directorist-content-module__title { +.directorist-add-listing-form .directorist-content-module__title, +#directiost-listing-fields_wrapper .directorist-content-module__title { gap: 15px; min-height: 66px; -webkit-box-pack: start; @@ -8866,8 +9627,8 @@ body.stop-scrolling { -ms-flex-pack: start; justify-content: flex-start; } -#directiost-listing-fields_wrapper .directorist-content-module__title i, -.directorist-add-listing-form .directorist-content-module__title i { +.directorist-add-listing-form .directorist-content-module__title i, +#directiost-listing-fields_wrapper .directorist-content-module__title i { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -8884,33 +9645,33 @@ body.stop-scrolling { height: 36px; border-radius: 100%; } -#directiost-listing-fields_wrapper .directorist-content-module__title i:after, -.directorist-add-listing-form .directorist-content-module__title i:after { +.directorist-add-listing-form .directorist-content-module__title i:after, +#directiost-listing-fields_wrapper .directorist-content-module__title i:after { width: 16px; height: 16px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-address-field.atbdp-form-fade, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-address-field.atbdp-form-fade { padding: 0; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-address-field.atbdp-form-fade > input[name="address"], -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-address-field.atbdp-form-fade > input[name="address"] { padding-right: 10px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-address-field.atbdp-form-fade:before, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-address-field.atbdp-form-fade:before { width: 15px; @@ -8919,19 +9680,23 @@ body.stop-scrolling { left: 0; top: 46px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-address-field.atbdp-form-fade:after, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-address-field.atbdp-form-fade:after { height: 40px; top: 26px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module, +#directiost-listing-fields_wrapper .directorist-content-module { + /* social info */ +} +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields { display: -webkit-box; @@ -8948,19 +9713,19 @@ body.stop-scrolling { gap: 20px; margin: 0 0 25px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields:last-child, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields:last-child { margin: 0 0 40px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields .directorist-form-group, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields .directorist-form-group { @@ -8970,12 +9735,12 @@ body.stop-scrolling { flex: 1; margin: 0; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields .directorist-form-group select, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields .directorist-form-group @@ -8984,12 +9749,12 @@ body.stop-scrolling { font-weight: 500; color: var(--directorist-color-dark); } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields .directorist-form-group select.placeholder-item, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields .directorist-form-group @@ -8998,10 +9763,10 @@ body.stop-scrolling { font-weight: 400; color: var(--directorist-color-light-gray); } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input { display: -webkit-box; @@ -9015,10 +9780,10 @@ body.stop-scrolling { flex: 1; } @media screen and (max-width: 480px) { - #directiost-listing-fields_wrapper + .directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input, - .directorist-add-listing-form + #directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input { gap: 10px; @@ -9029,60 +9794,60 @@ body.stop-scrolling { flex-direction: column; } } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-webkit-input-placeholder, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-webkit-input-placeholder { font-weight: 400; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-moz-placeholder, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-moz-placeholder { font-weight: 400; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input:-ms-input-placeholder, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input:-ms-input-placeholder { font-weight: 400; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-ms-input-placeholder, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-ms-input-placeholder { font-weight: 400; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::placeholder, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::placeholder { font-weight: 400; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__remove, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove { display: -webkit-box; @@ -9102,40 +9867,41 @@ body.stop-scrolling { padding: 0; cursor: pointer; border-radius: 100%; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; background-color: var(--directorist-color-light) !important; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__remove - i:after, -.directorist-add-listing-form + i::after, +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove - i:after { + i::after { width: 12px; height: 12px; background-color: var(--directorist-color-light-gray); } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__remove:hover, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove:hover { background-color: var(--directorist-color-primary) !important; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__remove:hover - i:after, -.directorist-add-listing-form + i::after, +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove:hover - i:after { + i::after { background-color: var(--directorist-color-white); } + #directiost-listing-fields_wrapper .directorist-content-module { background-color: var(--directorist-color-white); border-radius: 0; @@ -9164,8 +9930,8 @@ body.stop-scrolling { #directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove - i:after { - background-color: grey; + i::after { + background-color: #808080; } #directiost-listing-fields_wrapper .directorist-content-module @@ -9175,7 +9941,7 @@ body.stop-scrolling { #directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove:hover - i:after { + i::after { background-color: var(--directorist-color-white); } #directiost-listing-fields_wrapper @@ -9234,16 +10000,16 @@ body.stop-scrolling { } #directiost-listing-fields_wrapper .directorist-content-module - .directorist-custom-field-select + .directorist-form-social-fields select.directorist-form-element, #directiost-listing-fields_wrapper .directorist-content-module - .directorist-form-group - .directorist-form-element.directory_pricing_field, + .directorist-custom-field-select + select.directorist-form-element, #directiost-listing-fields_wrapper .directorist-content-module - .directorist-form-social-fields - select.directorist-form-element { + .directorist-form-group + .directorist-form-element.directory_pricing_field { padding-top: 0; padding-bottom: 0; } @@ -9352,7 +10118,7 @@ body.stop-scrolling { height: 6px; border-radius: 50%; background-color: var(--directorist-color-primary); - border: 0; + border: 0 none; -webkit-mask-image: none; mask-image: none; z-index: 2; @@ -9416,8 +10182,8 @@ body.stop-scrolling { right: 5px; top: 5px; content: ""; - -webkit-mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); - mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); + -webkit-mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); + mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 10px; @@ -9441,10 +10207,10 @@ body.stop-scrolling { .directorist-content-module .plupload-upload-uic .plupload-browse-button-label - i:after { + i::after { width: 50px; height: 45px; - background-color: grey; + background-color: #808080; } #directiost-listing-fields_wrapper .directorist-content-module @@ -9467,7 +10233,7 @@ body.stop-scrolling { .directorist-content-module .directorist-form-social-info-field .directorist-btn - i:after { + i::after { background-color: var(--directorist-color-white); } #directiost-listing-fields_wrapper @@ -9476,6 +10242,11 @@ body.stop-scrolling { #gmap { border-radius: 0; } + +/* ========================== + add listing form fields +============================= */ +/* listing label */ .directorist-form-label { display: block; color: var(--directorist-color-dark); @@ -9483,14 +10254,17 @@ body.stop-scrolling { font-size: 14px; font-weight: 500; } -.directorist-custom-field-checkbox > .directorist-form-label, -.directorist-custom-field-file-upload > .directorist-form-label, + .directorist-custom-field-radio > .directorist-form-label, +.directorist-custom-field-checkbox > .directorist-form-label, +.directorist-form-social-info-field > .directorist-form-label, .directorist-form-image-upload-field > .directorist-form-label, -.directorist-form-pricing-field.price-type-both > .directorist-form-label, -.directorist-form-social-info-field > .directorist-form-label { +.directorist-custom-field-file-upload > .directorist-form-label, +.directorist-form-pricing-field.price-type-both > .directorist-form-label { margin-bottom: 18px; } + +/* listing type */ .directorist-form-listing-type { display: -webkit-box; display: -webkit-flex; @@ -9537,9 +10311,10 @@ body.stop-scrolling { + .directorist-radio__label { width: 100%; height: 100%; + padding: 25px; font-size: 14px; font-weight: 500; - padding: 25px 55px 25px 25px; + padding-right: 55px; border-radius: 12px; color: var(--directorist-color-body); border: 3px solid var(--directorist-color-border-gray); @@ -9554,7 +10329,7 @@ body.stop-scrolling { small { display: block; margin-top: 5px; - font-weight: 400; + font-weight: normal; color: var(--directorist-color-success); } .directorist-form-listing-type @@ -9580,6 +10355,8 @@ body.stop-scrolling { border-color: var(--directorist-color-primary); color: var(--directorist-color-primary); } + +/* Pricing */ .directorist-form-pricing-field__options { display: -webkit-box; display: -webkit-flex; @@ -9648,25 +10425,35 @@ body.stop-scrolling { .directorist-form-pricing-field .directorist-form-element { min-width: 100%; } + .price-type-price_range .directorist-form-pricing-field__options, .price-type-price_unit .directorist-form-pricing-field__options { margin: 0; } + +/* location */ .directorist-select-multi select { display: none; } + #directorist-location-select { z-index: 113 !important; } + +/* tags */ #directorist-tag-select { z-index: 112 !important; } + +/* categories */ #directorist-category-select { z-index: 111 !important; } + .directorist-form-group .select2-selection { border-color: #ececec; } + .directorist-form-group .select2-container--default .select2-selection { min-height: 40px; padding-left: 45px; @@ -9693,17 +10480,22 @@ body.stop-scrolling { .directorist-form-group .select2-container--default .select2-selection input { min-height: 26px; } + +/* hide contact owner */ .directorist-hide-owner-field.directorist-checkbox input[type="checkbox"] + .directorist-checkbox__label { font-size: 15px; font-weight: 700; } + +/* Map style */ .directorist-map-coordinate { margin-top: 20px; } + .directorist-map-coordinates { - padding: 0 0 15px; + padding: 0 0 15px 0; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -9731,12 +10523,14 @@ body.stop-scrolling { flex: 0 0 100% !important; max-width: 100% !important; } + .directorist-add-listing-form .directorist-content-module .directorist-map-coordinates .directorist-form-group:not(.directorist-map-coordinates__generate) { margin-bottom: 20px; } + .directorist-form-map-field__wrapper { margin-bottom: 10px; } @@ -9792,8 +10586,8 @@ body.stop-scrolling { border: 50px solid rgba(var(--directorist-color-dark-rgb), 0.2); opacity: 0; visibility: hidden; - -webkit-animation: atbd_scale 3s linear infinite alternate; - animation: atbd_scale 3s linear infinite alternate; + -webkit-animation: atbd_scale 3s linear alternate infinite; + animation: atbd_scale 3s linear alternate infinite; } .directorist-form-map-field__maps #gmap div[role="img"]:after { content: ""; @@ -9807,8 +10601,8 @@ body.stop-scrolling { mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; - -webkit-mask-image: url(../images/ed83bad2b8ea2a7680575ff079fc63af.svg); - mask-image: url(../images/ed83bad2b8ea2a7680575ff079fc63af.svg); + -webkit-mask-image: url(../js/../images/ed83bad2b8ea2a7680575ff079fc63af.svg); + mask-image: url(../js/../images/ed83bad2b8ea2a7680575ff079fc63af.svg); } .directorist-form-map-field__maps #gmap @@ -9821,10 +10615,10 @@ body.stop-scrolling { } .directorist-form-map-field__maps #gmap - div[role="img"].transit-wheelchair-icon:after, + div[role="img"].transit-wheelchair-icon:before, .directorist-form-map-field__maps #gmap - div[role="img"].transit-wheelchair-icon:before { + div[role="img"].transit-wheelchair-icon:after { display: none; } .directorist-form-map-field__maps #gmap div[role="img"]:hover:before { @@ -9871,13 +10665,15 @@ body.stop-scrolling { width: 16px; height: 16px; background-color: var(--directorist-color-marker-icon); - -webkit-mask-image: url(../images/ed83bad2b8ea2a7680575ff079fc63af.svg); - mask-image: url(../images/ed83bad2b8ea2a7680575ff079fc63af.svg); + -webkit-mask-image: url(../js/../images/ed83bad2b8ea2a7680575ff079fc63af.svg); + mask-image: url(../js/../images/ed83bad2b8ea2a7680575ff079fc63af.svg); } .directorist-form-map-field .atbd_map_shape:hover:before { opacity: 1; visibility: visible; } + +/* EZ Media Upload */ .directorist-form-image-upload-field .ez-media-uploader { text-align: center; border-radius: 12px; @@ -9923,7 +10719,7 @@ body.stop-scrolling { .ez-media-uploader .ezmu__media-picker-section .ezmu-icon-upload - i:after { + i::after { width: 90px; height: 80px; background-color: var(--directorist-color-border-gray); @@ -9967,8 +10763,8 @@ body.stop-scrolling { right: 17px; top: 13px; content: ""; - -webkit-mask-image: url(../images/82bc0acb0537c9331637ee2319728e40.svg); - mask-image: url(../images/82bc0acb0537c9331637ee2319728e40.svg); + -webkit-mask-image: url(../js/../images/82bc0acb0537c9331637ee2319728e40.svg); + mask-image: url(../js/../images/82bc0acb0537c9331637ee2319728e40.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 14px; @@ -10045,8 +10841,8 @@ body.stop-scrolling { mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; - -webkit-mask-image: url(../images/6af1e9612a6d7346e1366489fb9fac45.svg); - mask-image: url(../images/6af1e9612a6d7346e1366489fb9fac45.svg); + -webkit-mask-image: url(../js/../images/6af1e9612a6d7346e1366489fb9fac45.svg); + mask-image: url(../js/../images/6af1e9612a6d7346e1366489fb9fac45.svg); } .directorist-form-image-upload-field .ez-media-uploader @@ -10077,7 +10873,7 @@ body.stop-scrolling { .ez-media-uploader .ezmu__preview-section .ezmu__front-item__close-icon - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 12px; height: 12px; } @@ -10085,7 +10881,7 @@ body.stop-scrolling { .ez-media-uploader .ezmu__preview-section .ezmu__front-item__close-icon:hover - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .directorist-form-image-upload-field @@ -10111,6 +10907,7 @@ body.stop-scrolling { .directorist-form-image-upload-field .ezmu__info-list-item:empty { display: none; } + .directorist-add-listing-wrapper { max-width: 1000px !important; margin: 0 auto; @@ -10136,8 +10933,8 @@ body.stop-scrolling { background-color: rgba(var(--directorist-color-dark-rgb), 0.5); opacity: 0; visibility: visible; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } .directorist-add-listing-wrapper .ezmu__thumbnail-list-item:hover @@ -10215,7 +11012,11 @@ body.stop-scrolling { .directorist-add-listing-wrapper .ezmu__info-list .ezmu__info-list-item:before { width: 16px; height: 16px; - background-image: url(../images/83eed1a628ff52c2adf977f50ac7adb4.svg); + background-image: url(../js/../images/83eed1a628ff52c2adf977f50ac7adb4.svg); +} + +.directorist-add-listing-form { + /* form action */ } .directorist-add-listing-form__action { display: -webkit-box; @@ -10242,9 +11043,9 @@ body.stop-scrolling { .directorist-add-listing-form__action .directorist-form-submit__btn.atbd_loading:after { content: ""; - border-radius: 50%; border: 2px solid #f3f3f3; - border-top-color: #656a7a; + border-radius: 50%; + border-top: 2px solid #656a7a; width: 20px; height: 20px; -webkit-animation: rotate360 2s linear infinite; @@ -10271,8 +11072,8 @@ body.stop-scrolling { .directorist-add-listing-form__action #listing_notifier .atbdp_success { color: var(--directorist-color-success); } -.directorist-add-listing-form__action .directorist-checkbox, -.directorist-add-listing-form__action .directorist-form-group { +.directorist-add-listing-form__action .directorist-form-group, +.directorist-add-listing-form__action .directorist-checkbox { margin: 0; padding: 30px 40px 0; -webkit-box-align: start; @@ -10281,37 +11082,35 @@ body.stop-scrolling { align-items: flex-start; } @media only screen and (max-width: 576px) { - .directorist-add-listing-form__action .directorist-checkbox, - .directorist-add-listing-form__action .directorist-form-group { + .directorist-add-listing-form__action .directorist-form-group, + .directorist-add-listing-form__action .directorist-checkbox { padding: 30px 0 0; } .directorist-add-listing-form__action - .directorist-checkbox.directorist-form-privacy, + .directorist-form-group.directorist-form-privacy, .directorist-add-listing-form__action - .directorist-form-group.directorist-form-privacy { + .directorist-checkbox.directorist-form-privacy { padding: 30px 30px 0; } } @media only screen and (max-width: 480px) { - .directorist-add-listing-form__action .directorist-checkbox, - .directorist-add-listing-form__action .directorist-form-group { + .directorist-add-listing-form__action .directorist-form-group, + .directorist-add-listing-form__action .directorist-checkbox { padding: 30px 20px 0; } } -.directorist-add-listing-form__action .directorist-checkbox label, -.directorist-add-listing-form__action .directorist-form-group label { +.directorist-add-listing-form__action .directorist-form-group label, +.directorist-add-listing-form__action .directorist-checkbox label { font-size: 14px; font-weight: 500; margin: 0 0 10px; } -.directorist-add-listing-form__action .directorist-checkbox label a, -.directorist-add-listing-form__action .directorist-form-group label a { +.directorist-add-listing-form__action .directorist-form-group label a, +.directorist-add-listing-form__action .directorist-checkbox label a { color: var(--directorist-color-info); } -.directorist-add-listing-form__action .directorist-checkbox #guest_user_email, -.directorist-add-listing-form__action - .directorist-form-group - #guest_user_email { +.directorist-add-listing-form__action .directorist-form-group #guest_user_email, +.directorist-add-listing-form__action .directorist-checkbox #guest_user_email { margin: 0 0 10px; } .directorist-add-listing-form__action .directorist-form-required { @@ -10365,6 +11164,10 @@ body.stop-scrolling { .directorist-add-listing-form__publish__icon i:after { width: 25px; height: 25px; + } +} +@media only screen and (max-width: 480px) { + .directorist-add-listing-form__publish__icon i:after { width: 22px; height: 22px; } @@ -10397,14 +11200,19 @@ body.stop-scrolling { top: -25px; border: 50px solid rgba(var(--directorist-color-marker-shape-rgb), 0.2); } -.directorist-add-listing-form .atbd_map_shape .directorist-icon-mask:after { +.directorist-add-listing-form .atbd_map_shape .directorist-icon-mask::after { width: 16px; height: 16px; } + +/* Custom Fields */ +/* select */ .directorist-custom-field-select select.directorist-form-element { padding-top: 0; padding-bottom: 0; } + +/* file upload */ .plupload-upload-uic { width: 420px; margin: 0 auto !important; @@ -10421,6 +11229,8 @@ body.stop-scrolling { margin-top: 10px; color: #9299b8; } + +/* quick login */ .directorist-modal-container { display: none; margin: 0 !important; @@ -10433,9 +11243,11 @@ body.stop-scrolling { left: 0; z-index: 999999999999; } + .directorist-modal-container.show { display: block; } + .directorist-modal-wrap { display: -webkit-box; display: -webkit-flex; @@ -10460,6 +11272,7 @@ body.stop-scrolling { -ms-flex-pack: center; justify-content: center; } + .directorist-modals { display: block; width: 100%; @@ -10469,6 +11282,7 @@ body.stop-scrolling { border-radius: 8px; overflow: hidden; } + .directorist-modal-header { display: -webkit-box; display: -webkit-flex; @@ -10485,21 +11299,26 @@ body.stop-scrolling { align-items: center; border-bottom: 1px solid #e4e4e4; } + .directorist-modal-title-area { display: block; } + .directorist-modal-header .directorist-modal-title { margin-bottom: 0 !important; font-size: 24px; } + .directorist-modal-actions-area { display: block; padding: 0 10px; } + .directorist-modal-body { display: block; padding: 20px; } + .directorist-form-privacy { margin-bottom: 10px; font-size: 14px; @@ -10511,6 +11330,7 @@ body.stop-scrolling { + .directorist-checkbox__label:after { border-color: var(--directorist-color-body); } + .directorist-form-privacy, .directorist-form-terms { display: -webkit-box; @@ -10522,6 +11342,10 @@ body.stop-scrolling { .directorist-form-terms a { text-decoration: none; } + +/* ============================= + backend add listing form +================================*/ .add_listing_form_wrapper .hide-if-no-js { display: -webkit-box; display: -webkit-flex; @@ -10536,6 +11360,7 @@ body.stop-scrolling { -ms-flex-pack: center; justify-content: center; } + #listing_form_info .directorist-bh-wrap .directorist-select select { width: calc(100% - 1px); min-height: 42px; @@ -10543,6 +11368,7 @@ body.stop-scrolling { border-color: #ececec !important; padding: 0 10px; } + .directorist-map-field #floating-panel { margin-bottom: 20px; } @@ -10551,13 +11377,15 @@ body.stop-scrolling { border: 1px solid var(--directorist-color-danger); color: var(--directorist-color-white); } + #listing_form_info .atbd_content_module.atbd-booking-information .atbdb_content_module_contents { padding-top: 20px; } -.directorist-custom-field-checkbox, -.directorist-custom-field-radio { + +.directorist-custom-field-radio, +.directorist-custom-field-checkbox { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -10567,60 +11395,60 @@ body.stop-scrolling { -ms-flex-wrap: wrap; flex-wrap: wrap; } -.directorist-custom-field-checkbox .directorist-custom-field-btn-more, -.directorist-custom-field-checkbox .directorist-form-description, -.directorist-custom-field-checkbox .directorist-form-label, -.directorist-custom-field-radio .directorist-custom-field-btn-more, +.directorist-custom-field-radio .directorist-form-label, .directorist-custom-field-radio .directorist-form-description, -.directorist-custom-field-radio .directorist-form-label { +.directorist-custom-field-radio .directorist-custom-field-btn-more, +.directorist-custom-field-checkbox .directorist-form-label, +.directorist-custom-field-checkbox .directorist-form-description, +.directorist-custom-field-checkbox .directorist-custom-field-btn-more { width: 100%; -webkit-box-flex: 0; -webkit-flex: 0 0 100%; -ms-flex: 0 0 100%; flex: 0 0 100%; } -.directorist-custom-field-checkbox .directorist-checkbox, -.directorist-custom-field-checkbox .directorist-radio, .directorist-custom-field-radio .directorist-checkbox, -.directorist-custom-field-radio .directorist-radio { +.directorist-custom-field-radio .directorist-radio, +.directorist-custom-field-checkbox .directorist-checkbox, +.directorist-custom-field-checkbox .directorist-radio { -webkit-box-flex: 0; -webkit-flex: 0 0 49%; -ms-flex: 0 0 49%; flex: 0 0 49%; } @media only screen and (max-width: 767px) { - .directorist-custom-field-checkbox .directorist-checkbox, - .directorist-custom-field-checkbox .directorist-radio, .directorist-custom-field-radio .directorist-checkbox, - .directorist-custom-field-radio .directorist-radio { + .directorist-custom-field-radio .directorist-radio, + .directorist-custom-field-checkbox .directorist-checkbox, + .directorist-custom-field-checkbox .directorist-radio { -webkit-box-flex: 0; -webkit-flex: 0 0 100%; -ms-flex: 0 0 100%; flex: 0 0 100%; } } -.directorist-custom-field-checkbox .directorist-custom-field-btn-more, -.directorist-custom-field-radio .directorist-custom-field-btn-more { +.directorist-custom-field-radio .directorist-custom-field-btn-more, +.directorist-custom-field-checkbox .directorist-custom-field-btn-more { margin-top: 5px; } -.directorist-custom-field-checkbox .directorist-custom-field-btn-more:after, -.directorist-custom-field-radio .directorist-custom-field-btn-more:after { +.directorist-custom-field-radio .directorist-custom-field-btn-more:after, +.directorist-custom-field-checkbox .directorist-custom-field-btn-more:after { content: ""; display: inline-block; margin-right: 5px; - -webkit-mask-image: url(../images/05feea3d261c8b97573023a74fd26f03.svg); - mask-image: url(../images/05feea3d261c8b97573023a74fd26f03.svg); + -webkit-mask-image: url(../js/../images/05feea3d261c8b97573023a74fd26f03.svg); + mask-image: url(../js/../images/05feea3d261c8b97573023a74fd26f03.svg); width: 12px; height: 12px; background-color: var(--directorist-color-body); } +.directorist-custom-field-radio .directorist-custom-field-btn-more.active:after, .directorist-custom-field-checkbox - .directorist-custom-field-btn-more.active:after, -.directorist-custom-field-radio .directorist-custom-field-btn-more.active:after { - -webkit-mask-image: url(../images/c90867d23032298fc0ff1d456a6fdb30.svg); - mask-image: url(../images/c90867d23032298fc0ff1d456a6fdb30.svg); + -webkit-mask-image: url(../js/../images/c90867d23032298fc0ff1d456a6fdb30.svg); + mask-image: url(../js/../images/c90867d23032298fc0ff1d456a6fdb30.svg); } + .directorist-add-listing-form .select2-container--default .select2-selection @@ -10668,6 +11496,7 @@ body.stop-scrolling { li.select2-search--inline:first-child { width: inherit; } + .multistep-wizard { display: -webkit-box; display: -webkit-flex; @@ -10721,11 +11550,13 @@ body.stop-scrolling { width: 270px; min-height: 36px; padding: 7px 16px; + border: none; outline: none; cursor: pointer; font-size: 14px; font-weight: 400; border-radius: 8px; + border: 1px solid transparent; text-decoration: none !important; color: var(--directorist-color-light-gray); background-color: transparent; @@ -10788,8 +11619,8 @@ body.stop-scrolling { -webkit-transform: translateY(-50%); transform: translateY(-50%); content: ""; - -webkit-mask-image: url(../images/bbed57ce5c92c9a7aa71622e408b6a66.svg); - mask-image: url(../images/bbed57ce5c92c9a7aa71622e408b6a66.svg); + -webkit-mask-image: url(../js/../images/bbed57ce5c92c9a7aa71622e408b6a66.svg); + mask-image: url(../js/../images/bbed57ce5c92c9a7aa71622e408b6a66.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 12px; @@ -10818,19 +11649,21 @@ body.stop-scrolling { font-weight: 600; color: var(--directorist-color-primary); } -.multistep-wizard__nav__btn:focus:before, -.multistep-wizard__nav__btn:focus i:after { +.multistep-wizard__nav__btn:focus:before { + background-color: var(--directorist-color-primary); +} +.multistep-wizard__nav__btn:focus i::after { background-color: var(--directorist-color-primary); } .multistep-wizard__nav__btn.completed { color: var(--directorist-color-primary); } .multistep-wizard__nav__btn.completed:before { - -webkit-mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); - mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); + -webkit-mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); + mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); opacity: 1; } -.multistep-wizard__nav__btn.completed i:after { +.multistep-wizard__nav__btn.completed i::after { background-color: var(--directorist-color-primary); } @media only screen and (max-width: 991px) { @@ -10870,8 +11703,8 @@ body.stop-scrolling { -webkit-transform: translateY(-50%); transform: translateY(-50%); content: ""; - -webkit-mask-image: url(../images/20cfd7ae7ffa8fca3b8d48d7ab39da28.svg); - mask-image: url(../images/20cfd7ae7ffa8fca3b8d48d7ab39da28.svg); + -webkit-mask-image: url(../js/../images/20cfd7ae7ffa8fca3b8d48d7ab39da28.svg); + mask-image: url(../js/../images/20cfd7ae7ffa8fca3b8d48d7ab39da28.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 12px; @@ -10879,8 +11712,8 @@ body.stop-scrolling { background-color: var(--directorist-color-dark); } .multistep-wizard__single .directorist-content-module__title.opened:before { - -webkit-mask-image: url(../images/e9f5f62f416fee88e3f2d027b8b705da.svg); - mask-image: url(../images/e9f5f62f416fee88e3f2d027b8b705da.svg); + -webkit-mask-image: url(../js/../images/e9f5f62f416fee88e3f2d027b8b705da.svg); + mask-image: url(../js/../images/e9f5f62f416fee88e3f2d027b8b705da.svg); } .multistep-wizard__single .directorist-content-module__contents { height: 0; @@ -10980,22 +11813,22 @@ body.stop-scrolling { .multistep-wizard__btn.directorist-btn i:after { background-color: var(--directorist-color-body); } -.multistep-wizard__btn.directorist-btn:focus, -.multistep-wizard__btn.directorist-btn:hover { +.multistep-wizard__btn.directorist-btn:hover, +.multistep-wizard__btn.directorist-btn:focus { color: var(--directorist-color-white); background-color: var(--directorist-color-primary); } -.multistep-wizard__btn.directorist-btn:focus i:after, -.multistep-wizard__btn.directorist-btn:hover i:after { +.multistep-wizard__btn.directorist-btn:hover i:after, +.multistep-wizard__btn.directorist-btn:focus i:after { background-color: var(--directorist-color-white); } -.multistep-wizard__btn[disabled="disabled"], -.multistep-wizard__btn[disabled="true"] { +.multistep-wizard__btn[disabled="true"], +.multistep-wizard__btn[disabled="disabled"] { color: var(--directorist-color-light-gray); pointer-events: none; } -.multistep-wizard__btn[disabled="disabled"] i:after, -.multistep-wizard__btn[disabled="true"] i:after { +.multistep-wizard__btn[disabled="true"] i:after, +.multistep-wizard__btn[disabled="disabled"] i:after { background-color: var(--directorist-color-light-gray); } .multistep-wizard__btn i:after { @@ -11085,25 +11918,28 @@ body.stop-scrolling { width: 100%; height: 54px; } + .logged-in .multistep-wizard__nav.sticky { top: 32px; } + @-webkit-keyframes atbd_scale { 0% { -webkit-transform: scale(0.8); transform: scale(0.8); } - to { + 100% { -webkit-transform: scale(1); transform: scale(1); } } + @keyframes atbd_scale { 0% { -webkit-transform: scale(0.8); transform: scale(0.8); } - to { + 100% { -webkit-transform: scale(1); transform: scale(1); } @@ -11117,9 +11953,10 @@ body.stop-scrolling { padding: 0; border: none; } -#directorist_submit_privacy_policy:after { +#directorist_submit_privacy_policy::after { display: none; } + .upload-error { display: block !important; clear: both; @@ -11130,85 +11967,105 @@ body.stop-scrolling { border-radius: 3px; padding: 15px 20px; } + #upload-msg { display: block; clear: both; } + #content .category_grid_view li a.post_img { height: 65px; width: 90%; overflow: hidden; } + #content .category_grid_view li a.post_img img { margin: 0 auto; display: block; height: 65px; } + #content .category_list_view li a.post_img { height: 110px; width: 165px; overflow: hidden; } + #content .category_list_view li a.post_img img { margin: 0 auto; display: block; height: 110px; } + #sidebar .recent_comments li img.thumb { width: 40px; } + .post_img_tiny img { width: 35px; } + .single_post_blog img.alignleft { width: 96%; height: auto; } -.ecu_images, + +.ecu_images { + width: 100%; +} + .filelist { width: 100%; } + .filelist .file { padding: 5px; background-color: #ececec; - border: 1px solid #ccc; + border: solid 1px #ccc; margin-bottom: 4px; clear: both; text-align: right; } + .filelist .fileprogress { - width: 0; + width: 0%; height: 5px; background-color: #3385ff; } + #custom-filedropbox, .directorist-custom-field-file-upload__wrapper > div { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: start; -webkit-justify-content: flex-start; -ms-flex-pack: start; justify-content: flex-start; gap: 20px; } -#custom-filedropbox, -.directorist-custom-field-file-upload__wrapper > div, + .plupload-upload-uic { + width: 200px; + height: 150px; + padding: 0; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + gap: 15px; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -} -.plupload-upload-uic { - width: 200px; - height: 150px; - padding: 0; - gap: 15px; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; @@ -11229,7 +12086,7 @@ body.stop-scrolling { .plupload-upload-uic .plupload-browse-button-label { cursor: pointer; } -.plupload-upload-uic .plupload-browse-button-label i:after { +.plupload-upload-uic .plupload-browse-button-label i::after { width: 50px; height: 45px; background-color: var(--directorist-color-border-gray); @@ -11245,10 +12102,12 @@ body.stop-scrolling { height: 200px; } } + .plupload-thumbs { clear: both; overflow: hidden; } + .plupload-thumbs .thumb { position: relative; height: 150px; @@ -11262,7 +12121,7 @@ body.stop-scrolling { object-fit: cover; border-radius: 12px; } -.plupload-thumbs .thumb:hover .atbdp-thumb-actions:before { +.plupload-thumbs .thumb:hover .atbdp-thumb-actions::before { opacity: 1; visibility: visible; } @@ -11327,14 +12186,16 @@ body.stop-scrolling { opacity: 0; visibility: hidden; border-radius: 12px; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; background-color: rgba(var(--directorist-color-dark-rgb), 0.5); } + .plupload-thumbs .thumb.atbdp_file { border: none; width: auto; } + .atbdp-add-files .plupload-thumbs .thumb img, .plupload-thumbs .thumb i.atbdp-file-info { cursor: move; @@ -11342,11 +12203,13 @@ body.stop-scrolling { height: 100%; z-index: 1; } + .plupload-thumbs .thumb i.atbdp-file-info { font-size: 50px; padding-top: 10%; z-index: 1; } + .plupload-thumbs .thumb .thumbi { position: absolute; left: -10px; @@ -11354,107 +12217,133 @@ body.stop-scrolling { height: 18px; width: 18px; } + .plupload-thumbs .thumb .thumbi a { text-indent: -8000px; display: block; } -.plupload-thumbs .atbdp-caption-preview, -.plupload-thumbs .atbdp-title-preview { + +.plupload-thumbs .atbdp-title-preview, +.plupload-thumbs .atbdp-caption-preview { position: absolute; top: 10px; right: 5px; font-size: 10px; line-height: 10px; padding: 1px; - background: hsla(0, 0%, 100%, 0.5); + background: rgba(255, 255, 255, 0.5); z-index: 2; overflow: hidden; height: 10px; } + .plupload-thumbs .atbdp-caption-preview { top: auto; bottom: 10px; } -.leaflet-image-layer, -.leaflet-layer, -.leaflet-marker-icon, -.leaflet-marker-shadow, + +/* required styles */ .leaflet-pane, -.leaflet-pane > canvas, -.leaflet-pane > svg, .leaflet-tile, +.leaflet-marker-icon, +.leaflet-marker-shadow, .leaflet-tile-container, -.leaflet-zoom-box { +.leaflet-pane > svg, +.leaflet-pane > canvas, +.leaflet-zoom-box, +.leaflet-image-layer, +.leaflet-layer { position: absolute; right: 0; top: 0; } + .leaflet-container { overflow: hidden; } + +.leaflet-tile, .leaflet-marker-icon, -.leaflet-marker-shadow, -.leaflet-tile { +.leaflet-marker-shadow { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-user-drag: none; } + +/* Prevents IE11 from highlighting tiles in blue */ .leaflet-tile::-moz-selection { background: transparent; } .leaflet-tile::selection { background: transparent; } + +/* Safari renders non-retina tile on retina better with this, but Chrome is worse */ .leaflet-safari .leaflet-tile { image-rendering: -webkit-optimize-contrast; } + +/* hack that prevents hw layers "stretching" when loading new tiles */ .leaflet-safari .leaflet-tile-container { width: 1600px; height: 1600px; -webkit-transform-origin: 100% 0; } + .leaflet-marker-icon, .leaflet-marker-shadow { display: block; } -.leaflet-container .leaflet-marker-pane img, + +/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */ +/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */ .leaflet-container .leaflet-overlay-pane svg, +.leaflet-container .leaflet-marker-pane img, .leaflet-container .leaflet-shadow-pane img, -.leaflet-container .leaflet-tile, .leaflet-container .leaflet-tile-pane img, -.leaflet-container img.leaflet-image-layer { +.leaflet-container img.leaflet-image-layer, +.leaflet-container .leaflet-tile { max-width: none !important; max-height: none !important; } + .leaflet-container.leaflet-touch-zoom { -ms-touch-action: pan-x pan-y; touch-action: pan-x pan-y; } + .leaflet-container.leaflet-touch-drag { -ms-touch-action: pinch-zoom; + /* Fallback for FF which doesn't support pinch-zoom */ touch-action: none; touch-action: pinch-zoom; } + .leaflet-container.leaflet-touch-drag.leaflet-touch-zoom { -ms-touch-action: none; touch-action: none; } + .leaflet-container { -webkit-tap-highlight-color: transparent; } + .leaflet-container a { -webkit-tap-highlight-color: rgba(145, 175, 186, 0.4); } + .leaflet-tile { -webkit-filter: inherit; filter: inherit; visibility: hidden; } + .leaflet-tile-loaded { visibility: inherit; } + .leaflet-zoom-box { width: 0; height: 0; @@ -11462,106 +12351,141 @@ body.stop-scrolling { box-sizing: border-box; z-index: 800; } + +/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */ .leaflet-overlay-pane svg { -moz-user-select: none; } + .leaflet-pane { z-index: 400; } + .leaflet-tile-pane { z-index: 200; } + .leaflet-overlay-pane { z-index: 400; } + .leaflet-shadow-pane { z-index: 500; } + .leaflet-marker-pane { z-index: 600; } + .leaflet-tooltip-pane { z-index: 650; } + .leaflet-popup-pane { z-index: 700; } + .leaflet-map-pane canvas { z-index: 100; } + .leaflet-map-pane svg { z-index: 200; } + .leaflet-vml-shape { width: 1px; height: 1px; } + .lvml { behavior: url(#default#VML); display: inline-block; position: absolute; } + +/* control positioning */ .leaflet-control { position: relative; z-index: 800; - pointer-events: visiblePainted; + pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */ pointer-events: auto; } -.leaflet-bottom, -.leaflet-top { + +.leaflet-top, +.leaflet-bottom { position: absolute; z-index: 1000; pointer-events: none; } + .leaflet-top { top: 0; } + .leaflet-right { left: 0; display: none; } + .leaflet-bottom { bottom: 0; } + .leaflet-left { right: 0; } + .leaflet-control { float: right; clear: both; } + .leaflet-right .leaflet-control { float: left; } + .leaflet-top .leaflet-control { margin-top: 10px; } + .leaflet-bottom .leaflet-control { margin-bottom: 10px; } + .leaflet-left .leaflet-control { margin-right: 10px; } + .leaflet-right .leaflet-control { margin-left: 10px; } + +/* zoom and fade animations */ .leaflet-fade-anim .leaflet-tile { will-change: opacity; } + .leaflet-fade-anim .leaflet-popup { opacity: 0; -webkit-transition: opacity 0.2s linear; transition: opacity 0.2s linear; } + .leaflet-fade-anim .leaflet-map-pane .leaflet-popup { opacity: 1; } + .leaflet-zoom-animated { -webkit-transform-origin: 100% 0; transform-origin: 100% 0; } + .leaflet-zoom-anim .leaflet-zoom-animated { will-change: transform; +} + +.leaflet-zoom-anim .leaflet-zoom-animated { -webkit-transition: -webkit-transform 0.25s cubic-bezier(0, 0, 0.25, 1); transition: -webkit-transform 0.25s cubic-bezier(0, 0, 0.25, 1); transition: transform 0.25s cubic-bezier(0, 0, 0.25, 1); @@ -11569,29 +12493,37 @@ body.stop-scrolling { transform 0.25s cubic-bezier(0, 0, 0.25, 1), -webkit-transform 0.25s cubic-bezier(0, 0, 0.25, 1); } -.leaflet-pan-anim .leaflet-tile, -.leaflet-zoom-anim .leaflet-tile { + +.leaflet-zoom-anim .leaflet-tile, +.leaflet-pan-anim .leaflet-tile { -webkit-transition: none; transition: none; } + .leaflet-zoom-anim .leaflet-zoom-hide { visibility: hidden; } + +/* cursors */ .leaflet-interactive { cursor: pointer; } + .leaflet-grab { cursor: -webkit-grab; cursor: grab; } + .leaflet-crosshair, .leaflet-crosshair .leaflet-interactive { cursor: crosshair; } -.leaflet-control, -.leaflet-popup-pane { + +.leaflet-popup-pane, +.leaflet-control { cursor: auto; } + .leaflet-dragging .leaflet-grab, .leaflet-dragging .leaflet-grab .leaflet-interactive, .leaflet-dragging .leaflet-marker-draggable { @@ -11599,47 +12531,60 @@ body.stop-scrolling { cursor: -webkit-grabbing; cursor: grabbing; } -.leaflet-image-layer, + +/* marker & overlays interactivity */ .leaflet-marker-icon, .leaflet-marker-shadow, +.leaflet-image-layer, .leaflet-pane > svg path, .leaflet-tile-container { pointer-events: none; } -.leaflet-image-layer.leaflet-interactive, + .leaflet-marker-icon.leaflet-interactive, +.leaflet-image-layer.leaflet-interactive, .leaflet-pane > svg path.leaflet-interactive, svg.leaflet-image-layer.leaflet-interactive path { - pointer-events: visiblePainted; + pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */ pointer-events: auto; } + +/* visual tweaks */ .leaflet-container { background-color: #ddd; outline: 0; } -.leaflet-container .map-listing-card-single__content a, -.leaflet-container a { + +.leaflet-container a, +.leaflet-container .map-listing-card-single__content a { color: #404040; } + .leaflet-container a.leaflet-active { outline: 2px solid #fa8b0c; } + .leaflet-zoom-box { border: 2px dotted var(--directorist-color-info); - background: hsla(0, 0%, 100%, 0.5); + background: rgba(255, 255, 255, 0.5); } + +/* general typography */ .leaflet-container { font: - 12px/1.5 Helvetica Neue, + 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif; } + +/* general toolbar styles */ .leaflet-bar { -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65); box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65); border-radius: 4px; } + .leaflet-bar a, .leaflet-bar a:hover { background-color: var(--directorist-color-white); @@ -11650,130 +12595,163 @@ svg.leaflet-image-layer.leaflet-interactive path { display: block; text-align: center; text-decoration: none; - color: #000; + color: black; } + .leaflet-bar a, .leaflet-control-layers-toggle { background-position: 50% 50%; background-repeat: no-repeat; display: block; } + .leaflet-bar a:hover { background-color: #f4f4f4; } + .leaflet-bar a:first-child { border-top-right-radius: 4px; border-top-left-radius: 4px; } + .leaflet-bar a:last-child { border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; border-bottom: none; } + .leaflet-bar a.leaflet-disabled { cursor: default; background-color: #f4f4f4; color: #bbb; } + .leaflet-touch .leaflet-bar a { width: 30px; height: 30px; line-height: 30px; } + .leaflet-touch .leaflet-bar a:first-child { border-top-right-radius: 2px; border-top-left-radius: 2px; } + .leaflet-touch .leaflet-bar a:last-child { border-bottom-right-radius: 2px; border-bottom-left-radius: 2px; } + +/* zoom control */ .leaflet-control-zoom-in, .leaflet-control-zoom-out { font: - 700 18px Lucida Console, + bold 18px "Lucida Console", Monaco, monospace; text-indent: 1px; } + .leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out { font-size: 22px; } + +/* layers control */ .leaflet-control-layers { -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4); box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4); background-color: var(--directorist-color-white); border-radius: 5px; } + .leaflet-control-layers-toggle { width: 36px; height: 36px; } + .leaflet-retina .leaflet-control-layers-toggle { background-size: 26px 26px; } + .leaflet-touch .leaflet-control-layers-toggle { width: 44px; height: 44px; } -.leaflet-control-layers-expanded .leaflet-control-layers-toggle, -.leaflet-control-layers .leaflet-control-layers-list { + +.leaflet-control-layers .leaflet-control-layers-list, +.leaflet-control-layers-expanded .leaflet-control-layers-toggle { display: none; } + .leaflet-control-layers-expanded .leaflet-control-layers-list { display: block; position: relative; } + .leaflet-control-layers-expanded { padding: 6px 6px 6px 10px; color: #333; background-color: var(--directorist-color-white); } + .leaflet-control-layers-scrollbar { overflow-y: scroll; overflow-x: hidden; padding-left: 5px; } + .leaflet-control-layers-selector { margin-top: 2px; position: relative; top: 1px; } + .leaflet-control-layers label { display: block; } + .leaflet-control-layers-separator { height: 0; border-top: 1px solid #ddd; margin: 5px -6px 5px -10px; } + +/* Default icon URLs */ +/* attribution and scale controls */ .leaflet-container .leaflet-control-attribution { background-color: var(--directorist-color-white); - background: hsla(0, 0%, 100%, 0.7); + background: rgba(255, 255, 255, 0.7); margin: 0; } + .leaflet-control-attribution, .leaflet-control-scale-line { padding: 0 5px; color: #333; } + .leaflet-control-attribution a { text-decoration: none; } + .leaflet-control-attribution a:hover { text-decoration: underline; } + .leaflet-container .leaflet-control-attribution, .leaflet-container .leaflet-control-scale { font-size: 11px; } + .leaflet-left .leaflet-control-scale { margin-right: 5px; } + .leaflet-bottom .leaflet-control-scale { margin-bottom: 5px; } + .leaflet-control-scale-line { border: 2px solid #777; border-top: none; @@ -11785,44 +12763,54 @@ svg.leaflet-image-layer.leaflet-interactive path { -webkit-box-sizing: border-box; box-sizing: border-box; background-color: var(--directorist-color-white); - background: hsla(0, 0%, 100%, 0.5); + background: rgba(255, 255, 255, 0.5); } + .leaflet-control-scale-line:not(:first-child) { border-top: 2px solid #777; border-bottom: none; margin-top: -2px; } + .leaflet-control-scale-line:not(:first-child):not(:last-child) { border-bottom: 2px solid #777; } -.leaflet-touch .leaflet-bar, + .leaflet-touch .leaflet-control-attribution, -.leaflet-touch .leaflet-control-layers { +.leaflet-touch .leaflet-control-layers, +.leaflet-touch .leaflet-bar { -webkit-box-shadow: none; box-shadow: none; } -.leaflet-touch .leaflet-bar, -.leaflet-touch .leaflet-control-layers { + +.leaflet-touch .leaflet-control-layers, +.leaflet-touch .leaflet-bar { border: 2px solid rgba(0, 0, 0, 0.2); background-clip: padding-box; } + +/* popup */ .leaflet-popup { position: absolute; text-align: center; margin-bottom: 20px; } + .leaflet-popup-content-wrapper { padding: 1px; text-align: right; border-radius: 10px; } + .leaflet-popup-content { margin: 13px 19px; line-height: 1.4; } + .leaflet-popup-content p { margin: 18px 0; } + .leaflet-popup-tip-container { width: 40px; height: 20px; @@ -11832,6 +12820,7 @@ svg.leaflet-image-layer.leaflet-interactive path { overflow: hidden; pointer-events: none; } + .leaflet-popup-tip { width: 17px; height: 17px; @@ -11840,13 +12829,15 @@ svg.leaflet-image-layer.leaflet-interactive path { -webkit-transform: rotate(-45deg); transform: rotate(-45deg); } + .leaflet-popup-content-wrapper, .leaflet-popup-tip { - background: #fff; + background: white; color: #333; -webkit-box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4); box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4); } + .leaflet-container a.leaflet-popup-close-button { position: absolute; top: 0; @@ -11862,45 +12853,54 @@ svg.leaflet-image-layer.leaflet-interactive path { sans-serif; color: #c3c3c3; text-decoration: none; - font-weight: 700; + font-weight: bold; background: transparent; } + .leaflet-container a.leaflet-popup-close-button:hover { color: #999; } + .leaflet-popup-scrolled { overflow: auto; border-bottom: 1px solid #ddd; border-top: 1px solid #ddd; } + .leaflet-oldie .leaflet-popup-content-wrapper { zoom: 1; } + .leaflet-oldie .leaflet-popup-tip { width: 24px; margin: 0 auto; -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)"; - filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678,M12=0.70710678,M21=-0.70710678,M22=0.70710678); + filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678); } + .leaflet-oldie .leaflet-popup-tip-container { margin-top: -1px; } -.leaflet-oldie .leaflet-control-layers, + .leaflet-oldie .leaflet-control-zoom, +.leaflet-oldie .leaflet-control-layers, .leaflet-oldie .leaflet-popup-content-wrapper, .leaflet-oldie .leaflet-popup-tip { border: 1px solid #999; } + +/* div icon */ .leaflet-div-icon { - border: 1px solid #666; -} -.leaflet-div-icon, -.leaflet-tooltip { background-color: var(--directorist-color-white); + border: 1px solid #666; } + +/* Tooltip */ +/* Base styles for the element that has a tooltip */ .leaflet-tooltip { position: absolute; padding: 6px; + background-color: var(--directorist-color-white); border: 1px solid var(--directorist-color-white); border-radius: 3px; color: #222; @@ -11913,63 +12913,77 @@ svg.leaflet-image-layer.leaflet-interactive path { -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); } + .leaflet-tooltip.leaflet-clickable { cursor: pointer; pointer-events: auto; } + +.leaflet-tooltip-top:before, .leaflet-tooltip-bottom:before, .leaflet-tooltip-left:before, -.leaflet-tooltip-right:before, -.leaflet-tooltip-top:before { +.leaflet-tooltip-right:before { position: absolute; pointer-events: none; border: 6px solid transparent; background: transparent; content: ""; } + +/* Directions */ .leaflet-tooltip-bottom { margin-top: 6px; } + .leaflet-tooltip-top { margin-top: -6px; } + .leaflet-tooltip-bottom:before, .leaflet-tooltip-top:before { right: 50%; margin-right: -6px; } + .leaflet-tooltip-top:before { bottom: 0; margin-bottom: -12px; border-top-color: var(--directorist-color-white); } + .leaflet-tooltip-bottom:before { top: 0; margin-top: -12px; margin-right: -6px; border-bottom-color: var(--directorist-color-white); } + .leaflet-tooltip-left { margin-right: -6px; } + .leaflet-tooltip-right { margin-right: 6px; } + .leaflet-tooltip-left:before, .leaflet-tooltip-right:before { top: 50%; margin-top: -6px; } + .leaflet-tooltip-left:before { left: 0; margin-left: -12px; border-right-color: var(--directorist-color-white); } + .leaflet-tooltip-right:before { right: 0; margin-right: -12px; border-left-color: var(--directorist-color-white); } + .directorist-content-active #map { position: relative; width: 100%; @@ -12000,7 +13014,7 @@ svg.leaflet-image-layer.leaflet-interactive path { background-color: var(--directorist-color-white); cursor: pointer; } -.directorist-content-active #gmap_full_screen_button i:after { +.directorist-content-active #gmap_full_screen_button i::after { width: 22px; height: 22px; -webkit-transition: all 0.3s ease-in-out; @@ -12021,7 +13035,7 @@ svg.leaflet-image-layer.leaflet-interactive path { margin-top: -20px; margin-right: -100px; background-color: var(--directorist-color-white); - background-color: hsla(0, 0%, 100%, 0.7); + background-color: rgba(255, 255, 255, 0.7); border-radius: 4px; padding: 2px; } @@ -12036,8 +13050,8 @@ svg.leaflet-image-layer.leaflet-interactive path { height: 50px !important; margin: 20px !important; border-radius: 10px !important; - -webkit-box-shadow: 0 2px 20px rgba(0, 0, 0, 0.26) !important; - box-shadow: 0 2px 20px rgba(0, 0, 0, 0.26) !important; + -webkit-box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.26) !important; + box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.26) !important; } .directorist-content-active .gmnoprint { border-radius: 5px; @@ -12062,16 +13076,21 @@ svg.leaflet-image-layer.leaflet-interactive path { .directorist-content-active .version-disabled { text-decoration: line-through; } + +/* For sortable field */ .ui-sortable tr:hover { cursor: move; } + .ui-sortable tr.alternate { background-color: #f9f9f9; } + .ui-sortable tr.ui-sortable-helper { background-color: #f9f9f9; border-top: 1px solid #dfdfdf; } + .directorist-form-group { position: relative; width: 100%; @@ -12131,12 +13150,14 @@ svg.leaflet-image-layer.leaflet-interactive path { -ms-flex-order: 2; order: 2; } + .directorist-advanced-filter__advanced__element .directorist-search-field.input-is-focused .directorist-form-group__with-prefix .directorist-search-field__input { padding-left: 0 !important; } + .directorist-form-group label { margin: 0; font-size: 14px; @@ -12172,6 +13193,7 @@ svg.leaflet-image-layer.leaflet-interactive path { margin-top: 10px; color: var(--directorist-color-deep-gray); } + .directorist-form-element.directorist-form-element-lg { height: 50px; } @@ -12186,6 +13208,7 @@ svg.leaflet-image-layer.leaflet-interactive path { height: 30px; line-height: 30px; } + .directorist-form-group.directorist-icon-left .directorist-input-icon { right: 0; } @@ -12227,12 +13250,15 @@ svg.leaflet-image-layer.leaflet-interactive path { margin-top: 0; } } + .directorist-label { margin-bottom: 0; } + input.directorist-toggle-input { display: none; } + .directorist-toggle-input-label { display: -webkit-box; display: -webkit-flex; @@ -12247,6 +13273,7 @@ input.directorist-toggle-input { -ms-flex-pack: justify; justify-content: space-between; } + span.directorist-toggle-input-label-text { -webkit-box-flex: 1; -webkit-flex-grow: 1; @@ -12254,63 +13281,72 @@ span.directorist-toggle-input-label-text { flex-grow: 1; padding-left: 10px; } + span.directorist-toggle-input-label-icon { position: relative; + display: inline-block; width: 50px; height: 25px; border-radius: 30px; background-color: #d9d9d9; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } -span.directorist-toggle-input-label-icon, -span.directorist-toggle-input-label-icon:after { - display: inline-block; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; -} -span.directorist-toggle-input-label-icon:after { + +span.directorist-toggle-input-label-icon::after { content: ""; position: absolute; + display: inline-block; width: 15px; height: 15px; border-radius: 50%; background-color: var(--directorist-color-white); top: 50%; - -webkit-transform: translateY(-50%); - transform: translateY(-50%); + -webkit-transform: translate(0, -50%); + transform: translate(0, -50%); + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } + input.directorist-toggle-input:checked + .directorist-toggle-input-label span.directorist-toggle-input-label-icon { background-color: #4353ff; } + input.directorist-toggle-input:not(:checked) + .directorist-toggle-input-label - span.directorist-toggle-input-label-icon:after { + span.directorist-toggle-input-label-icon::after { right: 5px; } + input.directorist-toggle-input:checked + .directorist-toggle-input-label - span.directorist-toggle-input-label-icon:after { + span.directorist-toggle-input-label-icon::after { right: calc(100% - 20px); } + .directorist-flex-content { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } + .directorist-flex-space-between { -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; } + .directorist-flex-grow-1 { -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; flex-grow: 1; } + .directorist-tab-navigation { padding: 0; margin: 0 -10px 20px; @@ -12327,6 +13363,7 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; } + .directorist-tab-navigation-list-item { position: relative; list-style: none; @@ -12347,7 +13384,7 @@ input.directorist-toggle-input:checked color: var(--directorist-color-white); background-color: var(--directorist-color-primary); } -.directorist-tab-navigation-list-item.--is-active:after { +.directorist-tab-navigation-list-item.--is-active::after { content: ""; position: absolute; right: 50%; @@ -12357,13 +13394,14 @@ input.directorist-toggle-input:checked border-right: 10px solid transparent; border-left: 10px solid transparent; border-top: 10px solid var(--directorist-color-primary); - -webkit-transform: translate(50%); - transform: translate(50%); + -webkit-transform: translate(50%, 0); + transform: translate(50%, 0); } .directorist-tab-navigation-list-item .directorist-tab-navigation-list-item-link { margin: -15px -20px; } + .directorist-tab-navigation-list-item-link { position: relative; display: block; @@ -12374,8 +13412,8 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-bg-light); } .directorist-tab-navigation-list-item-link:active, -.directorist-tab-navigation-list-item-link:focus, -.directorist-tab-navigation-list-item-link:visited { +.directorist-tab-navigation-list-item-link:visited, +.directorist-tab-navigation-list-item-link:focus { outline: none; -webkit-box-shadow: none; box-shadow: none; @@ -12386,7 +13424,7 @@ input.directorist-toggle-input:checked color: var(--directorist-color-white); background-color: var(--directorist-color-primary); } -.directorist-tab-navigation-list-item-link.--is-active:after { +.directorist-tab-navigation-list-item-link.--is-active::after { content: ""; position: absolute; right: 50%; @@ -12396,34 +13434,36 @@ input.directorist-toggle-input:checked border-right: 10px solid transparent; border-left: 10px solid transparent; border-top: 10px solid var(--directorist-color-primary); - -webkit-transform: translate(50%); - transform: translate(50%); + -webkit-transform: translate(50%, 0); + transform: translate(50%, 0); } + .directorist-tab-content { display: none; } .directorist-tab-content.--is-active { display: block; } + .directorist-headline-4 { - margin: 0 0 15px; + margin: 0 0 15px 0; font-size: 15px; - font-weight: 400; + font-weight: normal; } + .directorist-label-addon-prepend { margin-left: 10px; } + .--is-hidden { display: none; } + .directorist-flex-center { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -} -.directorist-btn, -.directorist-flex-center { -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; @@ -12433,11 +13473,21 @@ input.directorist-toggle-input:checked -ms-flex-pack: center; justify-content: center; } + +/* Directorist button styles */ .directorist-btn { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; gap: 5px; font-size: 14px; font-weight: 500; @@ -12459,8 +13509,8 @@ input.directorist-toggle-input:checked text-decoration: none; background-color: var(--directorist-color-primary); color: var(--directorist-color-white); - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; text-decoration: none !important; } .directorist-btn .directorist-icon-mask:after { @@ -12472,12 +13522,13 @@ input.directorist-toggle-input:checked .directorist-btn.directorist-btn--logout { line-height: 43px; } -.directorist-btn:focus, -.directorist-btn:hover { +.directorist-btn:hover, +.directorist-btn:focus { color: var(--directorist-color-white); outline: 0 !important; background-color: rgba(var(--directorist-color-primary-rgb), 0.8); } + .directorist-btn.directorist-btn-primary { background-color: var(--directorist-color-btn-primary-bg); color: var(--directorist-color-btn-primary); @@ -12599,6 +13650,7 @@ input.directorist-toggle-input:checked pointer-events: none; opacity: 0.75; } + .directorist-btn.directorist-btn-outline { background: transparent; border: 1px solid var(--directorist-color-border) !important; @@ -12689,6 +13741,7 @@ input.directorist-toggle-input:checked color: var(--directorist-color-white); background-color: var(--directorist-color-dark); } + .directorist-btn.directorist-btn-lg { min-height: 50px; } @@ -12710,26 +13763,29 @@ input.directorist-toggle-input:checked display: -ms-flexbox; display: flex; } + @-webkit-keyframes spin-centered { - 0% { + from { -webkit-transform: translateX(50%) rotate(0deg); transform: translateX(50%) rotate(0deg); } to { - -webkit-transform: translateX(50%) rotate(-1turn); - transform: translateX(50%) rotate(-1turn); + -webkit-transform: translateX(50%) rotate(-360deg); + transform: translateX(50%) rotate(-360deg); } } + @keyframes spin-centered { - 0% { + from { -webkit-transform: translateX(50%) rotate(0deg); transform: translateX(50%) rotate(0deg); } to { - -webkit-transform: translateX(50%) rotate(-1turn); - transform: translateX(50%) rotate(-1turn); + -webkit-transform: translateX(50%) rotate(-360deg); + transform: translateX(50%) rotate(-360deg); } } +/* Modal Core Styles */ .directorist-modal { position: fixed; width: 100%; @@ -12742,6 +13798,7 @@ input.directorist-toggle-input:checked overflow: auto; outline: 0; } + .directorist-modal__dialog { position: relative; width: 500px; @@ -12765,9 +13822,11 @@ input.directorist-toggle-input:checked min-height: calc(100% - 80px); pointer-events: none; } + .directorist-modal__dialog-lg { width: 900px; } + .directorist-modal__content { width: 100%; background-color: var(--directorist-color-white); @@ -12810,8 +13869,8 @@ input.directorist-toggle-input:checked line-height: 1.45; padding: 6px; text-decoration: none; - -webkit-transition: background-color 0.2s ease-in-out; - transition: background-color 0.2s ease-in-out; + -webkit-transition: 0.2s background-color ease-in-out; + transition: 0.2s background-color ease-in-out; background-color: var(--directorist-color-bg-light); } .directorist-modal__content @@ -12858,15 +13917,19 @@ input.directorist-toggle-input:checked .directorist-form-element { resize: none; } + .directorist-modal__dialog.directorist-modal--lg { width: 800px; } + .directorist-modal__dialog.directorist-modal--xl { width: 1140px; } + .directorist-modal__dialog.directorist-modal--sm { width: 300px; } + .directorist-modal.directorist-fade { -webkit-transition: 0.3s ease; transition: 0.3s ease; @@ -12874,16 +13937,19 @@ input.directorist-toggle-input:checked visibility: visible; z-index: 9999; } + .directorist-modal.directorist-fade:not(.directorist-show) { opacity: 0; visibility: hidden; } + .directorist-modal.directorist-show .directorist-modal__dialog { opacity: 1; visibility: visible; -webkit-transition: 0.3s ease; transition: 0.3s ease; } + .directorist-search-modal__overlay { position: fixed; top: 0; @@ -12903,8 +13969,8 @@ input.directorist-toggle-input:checked height: 100%; background: rgba(var(--directorist-color-dark-rgb), 0.5); opacity: 1; - -webkit-transition: all 0.4s ease; - transition: all 0.4s ease; + -webkit-transition: all ease 0.4s; + transition: all ease 0.4s; } .directorist-search-modal__contents { position: fixed; @@ -12920,8 +13986,8 @@ input.directorist-toggle-input:checked visibility: hidden; z-index: 9999; border-radius: 12px; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; background-color: var(--directorist-color-white); } @media only screen and (max-width: 575px) { @@ -13065,10 +14131,10 @@ input.directorist-toggle-input:checked .directorist-search-field__input.directorist-form-element[type="date"], .directorist-search-modal__contents__body .directorist-search-field - .directorist-search-field__input.directorist-form-element[type="number"], + .directorist-search-field__input.directorist-form-element[type="time"], .directorist-search-modal__contents__body .directorist-search-field - .directorist-search-field__input.directorist-form-element[type="time"] { + .directorist-search-field__input.directorist-form-element[type="number"] { padding-left: 0; } .directorist-search-modal__contents__body .directorist-search-field__btn { @@ -13084,7 +14150,7 @@ input.directorist-toggle-input:checked } .directorist-search-modal__contents__body .directorist-search-field__btn--clear - i:after { + i::after { width: 16px; height: 16px; background-color: #bcbcbc; @@ -13093,7 +14159,7 @@ input.directorist-toggle-input:checked } .directorist-search-modal__contents__body .directorist-search-field__btn--clear:hover - i:after { + i::after { background-color: var(--directorist-color-primary); } .directorist-search-modal__contents__body @@ -13105,7 +14171,9 @@ input.directorist-toggle-input:checked } .directorist-search-modal__contents__body .directorist-search-field.input-is-focused - .directorist-search-field__input[type="date"], + .directorist-search-field__input[type="date"] { + padding-left: 20px; +} .directorist-search-modal__contents__body .directorist-search-field.input-is-focused .directorist-search-field__input[type="time"] { @@ -13155,10 +14223,10 @@ input.directorist-toggle-input:checked } .directorist-search-modal__contents__body .directorist-search-field.input-is-focused - .directorist-search-field__input, + .directorist-select, .directorist-search-modal__contents__body .directorist-search-field.input-is-focused - .directorist-select { + .directorist-search-field__input { position: relative; bottom: -5px; } @@ -13224,7 +14292,7 @@ input.directorist-toggle-input:checked .directorist-search-field .directorist-filter-location-icon .directorist-icon-mask:after { - background-color: grey; + background-color: #808080; } .directorist-search-modal__contents__body .directorist-search-field @@ -13251,7 +14319,7 @@ input.directorist-toggle-input:checked .directorist-icon-mask:after { width: 12px; height: 12px; - background-color: grey; + background-color: #808080; } .directorist-search-modal__contents__body .directorist-search-form-dropdown { border-bottom: 1px solid var(--directorist-color-border); @@ -13362,14 +14430,14 @@ input.directorist-toggle-input:checked border: none; cursor: pointer; } -.directorist-search-modal__contents__btn i:after { +.directorist-search-modal__contents__btn i::after { width: 10px; height: 10px; - -webkit-transition: background-color 0.3s ease; - transition: background-color 0.3s ease; + -webkit-transition: background-color ease 0.3s; + transition: background-color ease 0.3s; background-color: var(--directorist-color-dark); } -.directorist-search-modal__contents__btn:hover i:after { +.directorist-search-modal__contents__btn:hover i::after { background-color: var(--directorist-color-danger); } @media only screen and (max-width: 575px) { @@ -13378,7 +14446,7 @@ input.directorist-toggle-input:checked height: auto; background: transparent; } - .directorist-search-modal__contents__btn i:after { + .directorist-search-modal__contents__btn i::after { width: 12px; height: 12px; } @@ -13441,8 +14509,8 @@ input.directorist-toggle-input:checked top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; width: 16px; height: 16px; -webkit-mask-position: center; @@ -13450,8 +14518,8 @@ input.directorist-toggle-input:checked -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; background-color: var(--directorist-color-body); - -webkit-mask-image: url(../images/9ddfe727fdcddbb985d69ce2e9a06358.svg); - mask-image: url(../images/9ddfe727fdcddbb985d69ce2e9a06358.svg); + -webkit-mask-image: url(../js/../images/9ddfe727fdcddbb985d69ce2e9a06358.svg); + mask-image: url(../js/../images/9ddfe727fdcddbb985d69ce2e9a06358.svg); } .directorist-search-modal--basic .directorist-search-form-action__modal__btn-search { @@ -13461,7 +14529,7 @@ input.directorist-toggle-input:checked } .directorist-search-modal--basic .directorist-search-form-action__modal__btn-search - i:after { + i::after { background-color: currentColor; } @media screen and (max-width: 575px) { @@ -13493,8 +14561,8 @@ input.directorist-toggle-input:checked mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; - -webkit-mask-image: url(../images/447c512963a6e865700c065e70bb46b7.svg); - mask-image: url(../images/447c512963a6e865700c065e70bb46b7.svg); + -webkit-mask-image: url(../js/../images/447c512963a6e865700c065e70bb46b7.svg); + mask-image: url(../js/../images/447c512963a6e865700c065e70bb46b7.svg); opacity: 0; } .directorist-search-modal--basic @@ -13558,11 +14626,11 @@ input.directorist-toggle-input:checked .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field - .directorist-search-field__input, + .directorist-select, .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field - .directorist-select { + .directorist-search-field__input { width: 100%; padding-left: 0; } @@ -13687,23 +14755,23 @@ input.directorist-toggle-input:checked .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field.input-is-focused:not(.input-has-noLabel) - .directorist-filter-location-icon + .directorist-select ~ .directorist-search-field__btn--clear, .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field.input-is-focused:not(.input-has-noLabel) - .directorist-select + .directorist-filter-location-icon ~ .directorist-search-field__btn--clear { left: 5px !important; } .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field.input-is-focused:not(.input-has-noLabel) - .directorist-search-field__input, + .directorist-select, .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field.input-is-focused:not(.input-has-noLabel) - .directorist-select { + .directorist-search-field__input { padding-left: 0; } .directorist-search-modal--basic @@ -13772,32 +14840,32 @@ input.directorist-toggle-input:checked } .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-has-value, + .directorist-search-field.input-is-focused, .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-is-focused { + .directorist-search-field.input-has-value { padding-left: 0; } .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-has-value + .directorist-search-field.input-is-focused .directorist-select, .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-is-focused + .directorist-search-field.input-has-value .directorist-select { width: 100%; } .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-has-value + .directorist-search-field.input-is-focused .directorist-select .select2-container .directorist-select2-addons-area .directorist-select2-dropdown-toggle, .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-is-focused + .directorist-search-field.input-has-value .directorist-select .select2-container .directorist-select2-addons-area @@ -13806,12 +14874,12 @@ input.directorist-toggle-input:checked } .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-has-value + .directorist-search-field.input-is-focused .directorist-select ~ .directorist-search-field__btn--clear, .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-is-focused + .directorist-search-field.input-has-value .directorist-select ~ .directorist-search-field__btn--clear { left: 20px !important; @@ -13829,10 +14897,10 @@ input.directorist-toggle-input:checked .directorist-search-modal--basic .open_now > label { display: none; } +.directorist-search-modal--basic .open_now .check-btn, .directorist-search-modal--basic .directorist-search-modal__input - .directorist-price-ranges, -.directorist-search-modal--basic .open_now .check-btn { + .directorist-price-ranges { padding: 10px 0; } .directorist-search-modal--basic @@ -13884,13 +14952,13 @@ input.directorist-toggle-input:checked display: -ms-flexbox; display: flex; } -.directorist-search-modal--basic .directorist-search-field-price_range > label, .directorist-search-modal--basic .directorist-search-field-pricing > label, +.directorist-search-modal--basic .directorist-search-field__number > label, +.directorist-search-modal--basic .directorist-search-field-text_range > label, +.directorist-search-modal--basic .directorist-search-field-price_range > label, .directorist-search-modal--basic .directorist-search-field-radius_search - > label, -.directorist-search-modal--basic .directorist-search-field-text_range > label, -.directorist-search-modal--basic .directorist-search-field__number > label { + > label { position: unset; -webkit-transform: unset; transform: unset; @@ -13964,8 +15032,10 @@ input.directorist-toggle-input:checked opacity: 1; } .directorist-search-modal--full .directorist-search-field-pricing > label, -.directorist-search-modal--full .directorist-search-field-radius_search > label, -.directorist-search-modal--full .directorist-search-field-text_range > label { +.directorist-search-modal--full .directorist-search-field-text_range > label, +.directorist-search-modal--full + .directorist-search-field-radius_search + > label { display: block; font-size: 16px; font-weight: 500; @@ -13984,8 +15054,8 @@ input.directorist-toggle-input:checked border-radius: 8px; min-height: 40px; margin: 0 0 15px; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } .directorist-search-modal__input .directorist-select { display: -webkit-inline-box; @@ -14000,32 +15070,32 @@ input.directorist-toggle-input:checked -ms-flex: 1; flex: 1; } +.directorist-search-modal__input .select2.select2-container .select2-selection, .directorist-search-modal__input .directorist-form-group .directorist-form-element, .directorist-search-modal__input .directorist-form-group - .directorist-form-element:focus, -.directorist-search-modal__input .select2.select2-container .select2-selection { - border: 0; + .directorist-form-element:focus { + border: 0 none; } .directorist-search-modal__input__btn { width: 0; padding: 0 10px; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } -.directorist-search-modal__input__btn .directorist-icon-mask:after { +.directorist-search-modal__input__btn .directorist-icon-mask::after { width: 14px; height: 14px; opacity: 0; visibility: hidden; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; background-color: var(--directorist-color-body); } .directorist-search-modal__input - .input-is-focused.directorist-search-query:after { + .input-is-focused.directorist-search-query::after { display: none; } .directorist-search-modal__input @@ -14231,7 +15301,7 @@ input.directorist-toggle-input:checked i:after { width: 12px; height: 12px; - background-color: grey; + background-color: #808080; } @media screen and (max-width: 575px) { .directorist-search-modal @@ -14285,11 +15355,11 @@ input.directorist-toggle-input:checked .directorist-search-modal .directorist-search-basic-dropdown .directorist-search-basic-dropdown-content - .directorist-checkbox-wrapper, + .directorist-radio-wrapper, .directorist-search-modal .directorist-search-basic-dropdown .directorist-search-basic-dropdown-content - .directorist-radio-wrapper { + .directorist-checkbox-wrapper { -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; @@ -14303,6 +15373,7 @@ input.directorist-toggle-input:checked .select2-selection__placeholder { color: var(--directorist-color-dark); } + .directorist-content-active.directorist-overlay-active { overflow: hidden; } @@ -14310,47 +15381,55 @@ input.directorist-toggle-input:checked .directorist-search-modal__input .select2.select2-container .select2-selection { - border: 0 !important; + border: 0 none !important; } + +/* Responsive CSS */ +/* Large devices (desktops, 992px and up) */ @media (min-width: 992px) and (max-width: 1199.98px) { + .at-modal-content.at-modal-xl, .at-modal-content.at-modal-lg, .at-modal-content.at-modal-md, - .at-modal-content.at-modal-sm, - .at-modal-content.at-modal-xl { + .at-modal-content.at-modal-sm { width: calc(100% - 60px); } } +/* Medium devices (tablets, 768px and up) */ @media (min-width: 768px) and (max-width: 991.98px) { + .at-modal-content.at-modal-xl, .at-modal-content.at-modal-lg, .at-modal-content.at-modal-md, - .at-modal-content.at-modal-sm, - .at-modal-content.at-modal-xl { + .at-modal-content.at-modal-sm { width: calc(100% - 60px); } } +/* Small devices (landscape phones, 576px and up) */ @media (min-width: 576px) and (max-width: 767.98px) { + .at-modal-content.at-modal-xl, .at-modal-content.at-modal-lg, .at-modal-content.at-modal-md, - .at-modal-content.at-modal-sm, - .at-modal-content.at-modal-xl { + .at-modal-content.at-modal-sm { width: calc(100% - 60px); } } +/* Extra small devices (portrait phones, less than 576px) */ @media (max-width: 575.98px) { + .at-modal-content.at-modal-xl, .at-modal-content.at-modal-lg, .at-modal-content.at-modal-md, - .at-modal-content.at-modal-sm, - .at-modal-content.at-modal-xl { + .at-modal-content.at-modal-sm { width: calc(100% - 30px); } } input:-webkit-autofill, -input:-webkit-autofill:active, +input:-webkit-autofill:hover, input:-webkit-autofill:focus, -input:-webkit-autofill:hover { +input:-webkit-autofill:active { -webkit-transition: background-color 5000s ease-in-out 0s !important; transition: background-color 5000s ease-in-out 0s !important; } + +/* Alerts style */ .directorist-alert { font-size: 15px; word-break: break-word; @@ -14385,9 +15464,9 @@ input:-webkit-autofill:hover { -ms-flex-align: start; align-items: flex-start; } -.directorist-alert__content i, +.directorist-alert__content span.la, .directorist-alert__content span.fa, -.directorist-alert__content span.la { +.directorist-alert__content i { margin-left: 12px; line-height: 1.65; } @@ -14400,7 +15479,7 @@ input:-webkit-autofill:hover { background: none !important; text-decoration: none; margin-right: auto !important; - border: 0; + border: 0 none; -webkit-box-shadow: none; box-shadow: none; line-height: 1.2; @@ -14417,8 +15496,8 @@ input:-webkit-autofill:hover { -ms-flex-pack: center; justify-content: center; } -.directorist-alert__close .fa, .directorist-alert__close .la, +.directorist-alert__close .fa, .directorist-alert__close i, .directorist-alert__close span { font-size: 16px; @@ -14432,6 +15511,7 @@ input:-webkit-autofill:hover { .directorist-alert a { text-decoration: none; } + .directorist-alert.directorist-alert-primary { background: rgba(var(--directorist-color-primary-rgb), 0.1); color: var(--directorist-color-primary); @@ -14470,6 +15550,7 @@ input:-webkit-autofill:hover { .directorist-alert--sm { padding: 10px 20px; } + .alert-danger { background: rgba(232, 0, 0, 0.3); } @@ -14481,6 +15562,8 @@ input:-webkit-autofill:hover { .alert-danger.directorist-register-error .directorist-alert__close { color: #e80000; } + +/* Add listing notice alert */ .directorist-single-listing-notice .directorist-alert__content { -webkit-box-pack: justify; -webkit-justify-content: space-between; @@ -14494,6 +15577,7 @@ input:-webkit-autofill:hover { .directorist-single-listing-notice .directorist-alert__content button span { font-size: 20px; } + .directorist-user-dashboard .directorist-container-fluid { -webkit-box-sizing: border-box; box-sizing: border-box; @@ -14502,6 +15586,7 @@ input:-webkit-autofill:hover { cursor: pointer; padding-left: 0; } + .directorist-badge { display: inline-block; font-size: 10px; @@ -14512,6 +15597,7 @@ input:-webkit-autofill:hover { text-transform: uppercase; border-radius: 5px; } + .directorist-badge.directorist-badge-primary { background-color: var(--directorist-color-primary); } @@ -14533,6 +15619,7 @@ input:-webkit-autofill:hover { .directorist-badge.directorist-badge-gray { background-color: #525768; } + .directorist-badge.directorist-badge-primary-transparent { color: var(--directorist-color-primary); background-color: rgba(var(--directorist-color-primary-rgb), 0.15); @@ -14561,6 +15648,7 @@ input:-webkit-autofill:hover { color: var(--directorist-color-gray); background-color: rgba(var(--directorist-color-gray-rgb), 0.15); } + .directorist-badge .directorist-badge-tooltip { position: absolute; top: -35px; @@ -14599,6 +15687,7 @@ input:-webkit-autofill:hover { opacity: 1; visibility: visible; } + .directorist-checkbox, .directorist-radio { display: -webkit-box; @@ -14793,6 +15882,7 @@ input:-webkit-autofill:hover { opacity: 1; visibility: visible; } + .directorist-checkbox input[type="checkbox"] + .directorist-checkbox__label:before { @@ -14800,8 +15890,8 @@ input:-webkit-autofill:hover { right: 5px; top: 5px; content: ""; - -webkit-mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); - mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); + -webkit-mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); + mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 10px; @@ -14821,6 +15911,7 @@ input:-webkit-autofill:hover { right: 3px; } } + .directorist-radio input[type="radio"] + .directorist-radio__label:before { position: absolute; right: 5px; @@ -14829,7 +15920,7 @@ input:-webkit-autofill:hover { height: 8px; border-radius: 50%; background-color: var(--directorist-color-white); - border: 0; + border: 0 none; opacity: 0; visibility: hidden; z-index: 2; @@ -14851,14 +15942,15 @@ input:-webkit-autofill:hover { .directorist-radio.directorist-radio-circle input[type="radio"] + .directorist-radio__label:before { - -webkit-mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); - mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); + -webkit-mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); + mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 10px; height: 10px; background-color: var(--directorist-color-white); } + .directorist-checkbox.directorist-checkbox-circle input[type="checkbox"] + .directorist-checkbox__label:after, @@ -14885,6 +15977,7 @@ input:-webkit-autofill:hover { + .directorist-radio__label:after { border-radius: 50%; } + .directorist-checkbox.directorist-checkbox-primary input[type="checkbox"]:checked + .directorist-checkbox__label:after, @@ -14945,6 +16038,7 @@ input:-webkit-autofill:hover { background-color: var(--directorist-color-primary); border-color: var(--directorist-color-primary); } + .directorist-radio.directorist-radio-primary input[type="radio"]:checked + .directorist-radio__label:after { @@ -14978,6 +16072,7 @@ input:-webkit-autofill:hover { + .directorist-radio__label:before { background-color: #3e62f5 !important; } + .directorist-checkbox-rating { gap: 20px; width: 100%; @@ -15013,6 +16108,7 @@ input:-webkit-autofill:hover { height: 14px; margin-top: 1px; } + .directorist-radio.directorist-radio-theme-admin input[type="radio"] + .directorist-radio__label:before { @@ -15040,6 +16136,7 @@ input:-webkit-autofill:hover { .directorist-radio.directorist-radio-theme-admin .directorist-radio__label { padding-right: 35px !important; } + .directorist-checkbox.directorist-checkbox-theme-admin input[type="checkbox"] + .directorist-checkbox__label:before { @@ -15070,6 +16167,7 @@ input:-webkit-autofill:hover { .directorist-checkbox__label { padding-right: 35px !important; } + .directorist-switch { position: relative; display: block; @@ -15156,31 +16254,33 @@ input:-webkit-autofill:hover { -webkit-transform 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; } + .directorist-switch.directorist-switch-primary .directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-primary); } .directorist-switch.directorist-switch-success.directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-success); } .directorist-switch.directorist-switch-secondary.directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-secondary); } .directorist-switch.directorist-switch-danger.directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-danger); } .directorist-switch.directorist-switch-warning.directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-warning); } .directorist-switch.directorist-switch-info.directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-info); } + .directorist-switch-Yn { font-size: 15px; padding: 3px; @@ -15208,7 +16308,6 @@ input:-webkit-autofill:hover { background-color: #3e62f5; color: var(--directorist-color-white); } -.directorist-switch-Yn input[type="checkbox"] .directorist-switch-yes, .directorist-switch-Yn input[type="checkbox"]:checked + span @@ -15216,6 +16315,10 @@ input:-webkit-autofill:hover { background-color: transparent; color: #9b9eaf; } +.directorist-switch-Yn input[type="checkbox"] .directorist-switch-yes { + background-color: transparent; + color: #9b9eaf; +} .directorist-switch-Yn input[type="checkbox"] + span + .directorist-switch-no { background-color: #fb6665; color: var(--directorist-color-white); @@ -15226,22 +16329,17 @@ input:-webkit-autofill:hover { .directorist-switch-Yn .directorist-switch-no { border-radius: 15px 0 0 15px; } + .select2-selection__arrow, .select2-selection__clear { display: none !important; } + .directorist-select2-addons-area { position: absolute; left: 5px; top: 50%; text-align: center; - cursor: pointer; - -webkit-transform: translateY(-50%); - transform: translateY(-50%); - z-index: 8; -} -.directorist-select2-addon, -.directorist-select2-addons-area { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -15254,67 +16352,18 @@ input:-webkit-autofill:hover { -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + cursor: pointer; + -webkit-transform: translate(0, -50%); + transform: translate(0, -50%); + z-index: 8; } + .directorist-select2-addon { padding: 0 5px; -} -.directorist-select2-dropdown-close, -.directorist-select2-dropdown-toggle { - height: auto; - width: 25px; -} -.directorist-select2-dropdown-close .directorist-icon-mask:after { - width: 15px; - height: 15px; -} -.directorist-select2-addon .directorist-icon-mask:after { - width: 13px; - height: 13px; -} -.icon-picker { - position: fixed; - background-color: rgba(0, 0, 0, 0.35); - top: 0; - left: 0; - bottom: 0; - right: 0; - z-index: 9999; - visibility: hidden; - opacity: 0; - pointer-events: none; - -webkit-transition: - opacity 0.3s ease, - visibility 0.3s ease; - transition: - opacity 0.3s ease, - visibility 0.3s ease; -} -.icon-picker__inner { - width: 935px; - top: 50%; - right: 50%; - -webkit-transform: translate(50%, -50%); - transform: translate(50%, -50%); - background: #fff; - height: 800px; - overflow: hidden; - border-radius: 6px; -} -.icon-picker__close, -.icon-picker__inner { - position: absolute; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -} -.icon-picker__close { - width: 34px; - height: 34px; - border-radius: 50%; - background-color: #5a5f7d; - color: #fff; - font-size: 12px; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; @@ -15323,279 +16372,75 @@ input:-webkit-autofill:hover { -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - left: 20px; - top: 23px; - z-index: 1; - -webkit-transition: 0.3s ease; - transition: 0.3s ease; -} -.icon-picker__close:hover { - color: #fff; - background-color: #222; -} -.icon-picker__sidebar { - width: 30%; - background-color: #eff0f3; - padding: 30px 20px; - -webkit-box-sizing: border-box; - box-sizing: border-box; -} -.icon-picker__content { - width: 70%; - overflow: auto; -} -.icon-picker__content .icons-group { - padding-top: 80px; -} -.icon-picker__content .icons-group h4 { - font-size: 16px; - font-weight: 500; - color: #272b41; - background-color: #fff; - padding: 33px 20px 27px 0; - border-bottom: 1px solid #e3e6ef; - margin: 0; - position: absolute; - right: 30%; - top: 0; - width: 70%; -} -.icon-picker__content .icons-group-icons { - padding: 17px 17px 17px 0; -} -.icon-picker__content .icons-group-icons .font-icon-btn { - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - margin: 5px 3px; - width: 70px; - height: 70px; - background-color: #f4f5f7; - border-radius: 5px; - font-size: 24px; - color: #868eae; - font-size: 18px !important; - border: 0; - -webkit-transition: 0.3s ease; - transition: 0.3s ease; -} -.icon-picker__content .icons-group-icons .font-icon-btn.cptm-btn-primary { - background-color: #3e62f5; - color: #fff; - font-size: 30px; - -webkit-box-shadow: 0 3px 10px rgba(39, 43, 65, 0.2); - box-shadow: 0 3px 10px rgba(39, 43, 65, 0.2); - border: 1px solid #e3e6ef; -} -.icon-picker__filter { - margin-bottom: 30px; -} -.icon-picker__filter label { - font-size: 14px; - font-weight: 500; - margin-bottom: 8px; - display: block; -} -.icon-picker__filter input, -.icon-picker__filter select { - color: #797d93; - font-size: 14px; - height: 44px; - border: 1px solid #e3e6ef; - border-radius: 4px; - padding: 0 15px; - width: 100%; -} -.icon-picker__filter input::-webkit-input-placeholder { - color: #797d93; -} -.icon-picker__filter input::-moz-placeholder { - color: #797d93; -} -.icon-picker__filter input:-ms-input-placeholder { - color: #797d93; -} -.icon-picker__filter input::-ms-input-placeholder { - color: #797d93; -} -.icon-picker__filter input::placeholder { - color: #797d93; -} -.icon-picker__filter select:focus, -.icon-picker__filter select:hover { - color: #797d93; -} -.icon-picker.icon-picker-visible { - visibility: visible; - opacity: 1; - pointer-events: auto; -} -.icon-picker__preview-icon { - font-size: 80px; - color: #272b41; - display: block !important; - text-align: center; -} -.icon-picker__preview-info { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - margin-top: 15px; -} -.icon-picker__done-btn { - display: block !important; - width: 100%; - margin: 35px 0 0 !important; -} -.directorist-type-icon-select label { - font-size: 14px; - font-weight: 500; - display: block; - margin-bottom: 10px; } -.icon-picker-selector { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - margin: 0 -10px; -} -.icon-picker-selector__icon { - position: relative; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - margin: 0 10px; -} -.icon-picker-selector__icon .directorist-selected-icon { - position: absolute; - right: 15px; - top: 50%; - -webkit-transform: translateY(-50%); - transform: translateY(-50%); -} -.icon-picker-selector__icon .cptm-form-control { - pointer-events: none; -} -.icon-picker-selector__icon__reset { - position: absolute; - left: 0; - top: 50%; - -webkit-transform: translateY(-50%); - transform: translateY(-50%); - cursor: pointer; - padding: 5px 15px; -} -.icon-picker-selector__btn { - margin: 0 10px; - height: 40px; - background-color: #dadce0; - border-radius: 4px; - border: 0; - font-weight: 500; - padding: 0 30px; - cursor: pointer; -} -.directorist-category-icon-picker { - margin-top: 10px; - width: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} -.directorist-category-icon-picker .icon-picker-selector { - width: 100%; -} -@media only screen and (max-width: 1441px) { - .icon-picker__inner { - width: 825px; - height: 660px; - } + +.directorist-select2-dropdown-toggle { + height: auto; + width: 25px; } -@media only screen and (max-width: 1199px) { - .icon-picker__inner { - width: 615px; - height: 500px; - } + +.directorist-select2-dropdown-close { + height: auto; + width: 25px; } -@media only screen and (max-width: 767px) { - .icon-picker__inner { - width: 500px; - height: 450px; - } +.directorist-select2-dropdown-close .directorist-icon-mask::after { + width: 15px; + height: 15px; } -@media only screen and (max-width: 575px) { - .icon-picker__inner { - display: block; - width: calc(100% - 30px); - overflow: scroll; - } - .icon-picker__content, - .icon-picker__sidebar { - width: auto; - } - .icon-picker__content .icons-group-icons .font-icon-btn { - width: 55px; - height: 55px; - font-size: 16px; - } + +.directorist-select2-addon .directorist-icon-mask::after { + width: 13px; + height: 13px; } -.atbdp-nav-link:active, -.atbdp-nav-link:focus, + +.reset-pseudo-link:visited, .atbdp-nav-link:visited, -.cptm-btn:active, -.cptm-btn:focus, -.cptm-btn:visited, -.cptm-header-action-link:active, -.cptm-header-action-link:focus, +.cptm-modal-action-link:visited, .cptm-header-action-link:visited, -.cptm-header-nav__list-item-link:active, -.cptm-header-nav__list-item-link:focus, -.cptm-header-nav__list-item-link:visited, -.cptm-link-light:active, -.cptm-link-light:focus, +.cptm-sub-nav__item-link:visited, .cptm-link-light:visited, +.cptm-header-nav__list-item-link:visited, +.cptm-btn:visited, +.reset-pseudo-link:active, +.atbdp-nav-link:active, .cptm-modal-action-link:active, -.cptm-modal-action-link:focus, -.cptm-modal-action-link:visited, +.cptm-header-action-link:active, .cptm-sub-nav__item-link:active, -.cptm-sub-nav__item-link:focus, -.cptm-sub-nav__item-link:visited, -.reset-pseudo-link:active, +.cptm-link-light:active, +.cptm-header-nav__list-item-link:active, +.cptm-btn:active, .reset-pseudo-link:focus, -.reset-pseudo-link:visited { +.atbdp-nav-link:focus, +.cptm-modal-action-link:focus, +.cptm-header-action-link:focus, +.cptm-sub-nav__item-link:focus, +.cptm-link-light:focus, +.cptm-header-nav__list-item-link:focus, +.cptm-btn:focus { outline: none; -webkit-box-shadow: none; box-shadow: none; } + .cptm-shortcodes { max-height: 300px; overflow: scroll; } + .directorist-center-content { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } + .directorist-center-content-inline { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; } + .directorist-center-content, .directorist-center-content-inline { -webkit-box-pack: center; @@ -15615,80 +16460,117 @@ input:-webkit-autofill:hover { -ms-flex-direction: column; flex-direction: column; } + .directorist-text-right { text-align: left; } + .directorist-text-center { text-align: center; } + .directorist-text-left { text-align: right; } + .directorist-mt-0 { margin-top: 0 !important; } + .directorist-mt-5 { margin-top: 5px !important; } + .directorist-mt-10 { margin-top: 10px !important; } + .directorist-mt-15 { margin-top: 15px !important; } + .directorist-mt-20 { margin-top: 20px !important; } + .directorist-mt-30 { margin-top: 30px !important; } + .directorist-mb-0 { margin-bottom: 0 !important; } + +.directorist-mb-35 { + margin-bottom: 35px !important; +} + +.directorist-mb-30 { + margin-bottom: 30px !important; +} + .directorist-mb-25 { margin-bottom: 25px !important; } + +.directorist-mb-20 { + margin-bottom: 20px !important; +} + .directorist-mb-n20 { margin-bottom: -20px !important; } + .directorist-mb-10 { margin-bottom: 10px !important; } + .directorist-mb-15 { margin-bottom: 15px !important; } + .directorist-mb-20 { margin-bottom: 20px !important; } + .directorist-mb-30 { margin-bottom: 30px !important; } + .directorist-mb-35 { margin-bottom: 35px !important; } + .directorist-mb-40 { margin-bottom: 40px !important; } + .directorist-mb-50 { margin-bottom: 50px !important; } + .directorist-mb-70 { margin-bottom: 70px !important; } + .directorist-mb-80 { margin-bottom: 80px !important; } + .directorist-pb-100 { padding-bottom: 100px !important; } + .directorist-w-100 { width: 100% !important; max-width: 100% !important; } + .directorist-draggable-list-item-wrapper { position: relative; height: 100%; } + .directorist-droppable-area-wrap { position: absolute; top: 0; @@ -15704,12 +16586,14 @@ input:-webkit-autofill:hover { flex-direction: column; margin-bottom: -20px; } + .directorist-droppable-area { -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; flex-grow: 1; } + .directorist-droppable-item-preview { height: 52px; background-color: rgba(44, 153, 255, 0.1); @@ -15717,10 +16601,16 @@ input:-webkit-autofill:hover { margin-left: 0; border-radius: 4px; } -.directorist-droppable-item-preview-after, + .directorist-droppable-item-preview-before { margin-bottom: 20px; } + +.directorist-droppable-item-preview-after { + margin-bottom: 20px; +} + +/* Create Directory Type */ .directorist-directory-type-top { display: -webkit-box; display: -webkit-flex; @@ -15739,7 +16629,7 @@ input:-webkit-autofill:hover { flex-wrap: wrap; gap: 15px 30px; padding: 0 20px; - background: #fff; + background: white; min-height: 60px; border-bottom: 1px solid #e5e7eb; position: fixed; @@ -15922,10 +16812,19595 @@ input:-webkit-autofill:hover { cursor: pointer; -webkit-box-sizing: border-box; box-sizing: border-box; - -webkit-box-shadow: 0 2px 4px 0 rgba(60, 41, 170, 0.1); - box-shadow: 0 2px 4px 0 rgba(60, 41, 170, 0.1); + -webkit-box-shadow: 0px 2px 4px 0px rgba(60, 41, 170, 0.1); + box-shadow: 0px 2px 4px 0px rgba(60, 41, 170, 0.1); + background-color: #3e62f5; + color: #ffffff; + font-size: 15px; + font-weight: 500; + line-height: normal; + -webkit-transition: background-color 0.3s ease; + transition: background-color 0.3s ease; +} +.directorist-directory-type-top-right .directorist-create-directory:hover { + background-color: #5a7aff; + border-color: #5a7aff; +} +.directorist-directory-type-top-right .cptm-btn { + margin: 0; +} + +.directorist-type-name { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 8px; + font-size: 15px; + font-weight: 600; + color: #141921; + line-height: 16px; +} +.directorist-type-name span { + font-size: 20px; + color: #747c89; +} + +.directorist-type-name-editable { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 8px; +} +.directorist-type-name-editable span { + font-size: 20px; + color: #747c89; +} +.directorist-type-name-editable span:hover { + color: #3e62f5; +} + +.directorist-directory-type-bottom { + position: fixed; + bottom: 0; + left: 20px; + width: calc(100% - 204px); + height: calc(100% - 115px); + overflow-y: auto; + z-index: 1; + background: white; + margin-top: 67px; + border-radius: 8px 8px 0 0; + border: 1px solid #e5e7eb; + -webkit-box-shadow: 0 4px 8px 0 rgba(16, 24, 40, 0.08); + box-shadow: 0 4px 8px 0 rgba(16, 24, 40, 0.08); +} +@media only screen and (max-width: 782px) { + .directorist-directory-type-bottom { + position: unset; + width: 100%; + height: auto; + overflow-y: visible; + margin-top: 20px; + } + .directorist-directory-type-bottom .atbdp-cptm-body { + margin: 0 20px 20px !important; + } +} +.directorist-directory-type-bottom .cptm-header-navigation { + position: fixed; + left: 20px; + top: 113px; + width: calc(100% - 202px); + background: #ffffff; + border: 1px solid #e5e7eb; + gap: 0 32px; + padding: 0 30px; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + border-radius: 8px 8px 0 0; + overflow-x: auto; + z-index: 100; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +@media only screen and (max-width: 1024px) { + .directorist-directory-type-bottom .cptm-header-navigation { + -webkit-box-pack: start; + -webkit-justify-content: flex-start; + -ms-flex-pack: start; + justify-content: flex-start; + } +} +@media only screen and (max-width: 782px) { + .directorist-directory-type-bottom .cptm-header-navigation { + position: unset; + width: 100%; + border: none; + } +} +.directorist-directory-type-bottom .atbdp-cptm-body { + position: relative; + margin-top: 72px; +} +@media only screen and (max-width: 600px) { + .directorist-directory-type-bottom .atbdp-cptm-body { + margin-top: 0; + } +} + +.wp-admin.folded .directorist-directory-type-top { + width: calc(100% - 78px); +} +@media only screen and (max-width: 782px) { + .wp-admin.folded .directorist-directory-type-top { + width: calc(100% - 40px); + } +} +.wp-admin.folded .directorist-directory-type-bottom { + width: calc(100% - 80px); +} +.wp-admin.folded .directorist-directory-type-bottom .cptm-header-navigation { + width: calc(100% - 78px); +} +@media only screen and (max-width: 782px) { + .wp-admin.folded + .directorist-directory-type-bottom + .cptm-header-navigation { + width: 100%; + border-width: 0 0 1px 0; + } +} + +.directorist-draggable-form-list-wrap { + margin-left: 50px; +} + +/* Body Header */ +.directorist-form-action { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; + margin-bottom: 26px; +} +.directorist-form-action__modal-btn { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + width: -webkit-max-content; + width: -moz-max-content; + width: max-content; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 6px; + width: 30px; + height: 30px; + border-radius: 6px; + border: 1px solid #e5e7eb; + background: transparent; + color: #4d5761; + text-align: center; + font-size: 12px; + font-style: normal; + font-weight: 500; + line-height: 14px; + letter-spacing: 0.12px; + -webkit-box-sizing: border-box; + box-sizing: border-box; + text-transform: capitalize; +} +.directorist-form-action__modal-btn svg { + width: 14px; + height: 14px; + color: inherit; +} +.directorist-form-action__modal-btn:hover { + color: #217aef; + background: #eff8ff; + border-color: #bee3ff; +} +.directorist-form-action__link { + margin-top: 2px; + font-size: 12px; + font-weight: 500; + color: #1b50b2; + line-height: 20px; + letter-spacing: 0.12px; + text-decoration: underline; +} +.directorist-form-action__view { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 6px; + width: 30px; + height: 30px; + border-radius: 6px; + border: 1px solid #e5e7eb; + background: transparent; + color: #4d5761; + text-align: center; + font-size: 12px; + font-style: normal; + font-weight: 500; + line-height: 14px; + letter-spacing: 0.12px; + text-transform: capitalize; +} +.directorist-form-action__view svg { + width: 14px; + height: 14px; + color: inherit; +} +.directorist-form-action__view:hover { + color: #217aef; + background: #eff8ff; + border-color: #bee3ff; +} +.directorist-form-action__view:focus { + outline: none; + -webkit-box-shadow: none; + box-shadow: none; +} + +.cptm-form-note { + margin-bottom: 30px; + padding: 30px; + background-color: #dcebfe; + border-radius: 4px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} +.cptm-form-note i { + font-size: 30px; + opacity: 0.2; + margin-left: 15px; +} +.cptm-form-note .cptm-form-note-title { + margin-top: 0; + color: #157cf6; +} +.cptm-form-note .cptm-form-note-content { + margin: 5px 0; +} +.cptm-form-note .cptm-form-note-content a { + color: #157cf6; +} + +#atbdp_cpt_options_metabox .inside { + margin: 0; + padding: 0; +} +#atbdp_cpt_options_metabox .postbox-header { + display: none; +} + +.atbdp-cpt-manager { + position: relative; + display: block; + color: #23282d; +} +.atbdp-cpt-manager.directorist-overlay-visible { + position: fixed; + z-index: 9; + width: calc(100% - 200px); +} +.atbdp-cpt-manager.directorist-overlay-visible .directorist-directory-type-top, +.atbdp-cpt-manager.directorist-overlay-visible + .directorist-directory-type-bottom + .cptm-header-navigation { + z-index: 1; +} +.atbdp-cpt-manager.directorist-overlay-visible .submission_form_fields { + z-index: 11; +} + +.atbdp-cptm-header { + display: block; +} +.atbdp-cptm-header .cptm-form-group .cptm-form-control { + height: 50px; + font-size: 20px; +} + +.atbdp-cptm-body { + display: block; +} + +.cptm-field-wraper-key-preview_image .cptm-btn { + margin: 0 10px; + height: 40px; + color: #23282d !important; + background-color: #dadce0 !important; + border-radius: 4px !important; + border: 0 none; + font-weight: 500; + padding: 0 30px; +} + +.atbdp-cptm-footer { + display: block; + padding: 24px 0 0; + margin: 0 30px 0 50px; + border-top: 1px solid #e5e7eb; +} +.atbdp-cptm-footer .atbdp-cptm-footer-preview { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + margin: 0 0 20px; +} +.atbdp-cptm-footer .atbdp-cptm-footer-preview .atbdp-cptm-footer-preview-label { + position: relative; + font-size: 14px; + font-weight: 500; + color: #4d5761; + cursor: pointer; +} +.atbdp-cptm-footer + .atbdp-cptm-footer-preview + .atbdp-cptm-footer-preview-label:before { + content: ""; + position: absolute; + left: 0; + top: 0; + width: 36px; + height: 20px; + border-radius: 30px; + background: #d2d6db; + border: 3px solid #d2d6db; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; +} +.atbdp-cptm-footer + .atbdp-cptm-footer-preview + .atbdp-cptm-footer-preview-label:after { + content: ""; + position: absolute; + left: 19px; + top: 3px; + width: 14px; + height: 14px; + background: #ffffff; + border-radius: 100%; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; +} +.atbdp-cptm-footer + .atbdp-cptm-footer-preview + .atbdp-cptm-footer-preview-toggle { + display: none; +} +.atbdp-cptm-footer + .atbdp-cptm-footer-preview + .atbdp-cptm-footer-preview-toggle:checked + ~ label:before { + background-color: #3e62f5; + border-color: #3e62f5; +} +.atbdp-cptm-footer + .atbdp-cptm-footer-preview + .atbdp-cptm-footer-preview-toggle:checked + ~ label:after { + left: 3px; +} +.atbdp-cptm-footer .atbdp-cptm-footer-preview .atbdp-cptm-footer-preview-desc { + font-size: 12px; + font-weight: 400; + color: #747c89; +} + +.atbdp-cptm-footer-actions { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-content: center; + -ms-flex-line-pack: center; + align-content: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.atbdp-cptm-footer-actions .cptm-btn { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 10px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 100%; + font-weight: 500; + font-size: 15px; + height: 48px; + padding: 0 30px; + margin: 0; +} +.atbdp-cptm-footer-actions .cptm-save-text { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.cptm-title-bar { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin: 0 -10px; + padding: 15px 10px; + background-color: #fff; +} + +.cptm-card-preview-widget .cptm-title-bar { + margin: 0; +} + +.cptm-title-bar-headings { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + padding: 10px; +} + +.cptm-title-bar-actions { + min-width: 100px; + max-width: 220px; + padding: 10px; +} + +.cptm-label-btn { + display: inline-block; +} + +.cptm-btn, +.cptm-btn.cptm-label-btn { + margin: 0 5px 10px; + display: inline-block; + text-align: center; + border: 1px solid transparent; + padding: 10px 20px; + border-radius: 5px; + cursor: pointer; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + vertical-align: top; +} +.cptm-btn:disabled, +.cptm-btn.cptm-label-btn:disabled { + cursor: not-allowed; + opacity: 0.5; +} + +.cptm-btn.cptm-label-btn { + display: inline-block; + vertical-align: top; +} +.cptm-btn.cptm-btn-rounded { + border-radius: 30px; +} +.cptm-btn.cptm-btn-primary { + color: #fff; + border-color: #3e62f5; + background-color: #3e62f5; +} +.cptm-btn.cptm-btn-primary:hover { + background-color: #345af4; +} +.cptm-btn.cptm-btn-secondery { + color: #3e62f5; + border-color: #3e62f5; + background-color: transparent; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 6px; + font-size: 15px !important; +} +.cptm-btn.cptm-btn-secondery:hover { + color: #fff; + background-color: #3e62f5; +} + +.cptm-file-input-wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-file-input-wrap .cptm-btn { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} + +.cptm-btn-box { + display: block; +} + +.cptm-form-builder-group-field-drop-area { + display: block; + padding: 14px 20px; + border-radius: 4px; + margin: 16px 0 0; + text-align: center; + font-size: 14px; + font-weight: 500; + color: #747c89; + background-color: #f9fafb; + font-style: italic; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + border: 1px dashed #d2d6db; + -webkit-box-shadow: 0 4px 8px 0 rgba(16, 24, 40, 0.08); + box-shadow: 0 4px 8px 0 rgba(16, 24, 40, 0.08); +} +.cptm-form-builder-group-field-drop-area:first-child { + margin-top: 0; +} +.cptm-form-builder-group-field-drop-area.drag-enter { + color: #3e62f5; + background-color: #d8e0fd; + border-color: #3e62f5; +} + +.cptm-form-builder-group-field-drop-area-label { + margin: 0; + pointer-events: none; +} + +.atbdp-cptm-status-feedback { + position: fixed; + top: 70px; + right: calc(50% + 150px); + -webkit-transform: translateX(50%); + transform: translateX(50%); + min-width: 300px; + z-index: 9999; +} +@media screen and (max-width: 960px) { + .atbdp-cptm-status-feedback { + right: calc(50% + 100px); + } +} +@media screen and (max-width: 782px) { + .atbdp-cptm-status-feedback { + right: 50%; + } +} + +.cptm-alert { + position: relative; + padding: 14px 52px 14px 24px; + font-size: 16px; + font-weight: 500; + line-height: 22px; + color: #053e29; + border-radius: 8px; + -webkit-box-shadow: 0 8px 16px rgba(16, 24, 40, 0.1); + box-shadow: 0 8px 16px rgba(16, 24, 40, 0.1); +} +.cptm-alert:before { + content: ""; + position: absolute; + top: 14px; + right: 24px; + font-size: 20px; + font-family: "Font Awesome 5 Free"; + font-weight: 900; +} + +.cptm-alert-success { + background-color: #ecfdf3; + border: 1px solid #14b570; +} +.cptm-alert-success:before { + content: "\f058"; + color: #14b570; +} + +.cptm-alert-error { + background-color: #f3d6d6; + border: 1px solid #c51616; +} +.cptm-alert-error:before { + content: "\f057"; + color: #c51616; +} + +.cptm-dropable-element { + position: relative; +} + +.cptm-dropable-base-element { + display: block; + position: relative; + padding: 0; + -webkit-transition: ease-in-out all 300ms; + transition: ease-in-out all 300ms; +} + +.cptm-dropable-area { + position: absolute; + right: 0; + left: 0; + top: 0; + bottom: 0; + z-index: 999; +} + +.cptm-dropable-placeholder { + padding: 0; + margin: 0; + height: 0; + border-radius: 4px; + overflow: hidden; + -webkit-transition: all ease-in-out 200ms; + transition: all ease-in-out 200ms; + background: RGBA(61, 98, 245, 0.45); +} +.cptm-dropable-placeholder.active { + padding: 10px 15px; + margin: 0; + height: 30px; +} + +.cptm-dropable-inside { + padding: 10px; +} + +.cptm-dropable-area-inside { + display: block; + height: 100%; +} + +.cptm-dropable-area-right { + display: block; +} + +.cptm-dropable-area-left { + display: block; +} + +.cptm-dropable-area-right, +.cptm-dropable-area-left { + display: block; + float: right; + width: 50%; + height: 100%; +} + +.cptm-dropable-area-top { + display: block; +} + +.cptm-dropable-area-bottom { + display: block; +} + +.cptm-dropable-area-top, +.cptm-dropable-area-bottom { + display: block; + width: 100%; + height: 50%; +} + +.cptm-header-navigation { + margin: 0; + padding: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +@media screen and (max-width: 480px) { + .cptm-header-navigation { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + } +} + +.cptm-header-nav__list-item { + margin: 0; + display: inline-block; + list-style: none; + text-align: center; + min-width: -webkit-fit-content; + min-width: -moz-fit-content; + min-width: fit-content; +} +@media (max-width: 480px) { + .cptm-header-nav__list-item { + width: 100%; + } +} + +.cptm-header-nav__list-item-link { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 8px; + text-decoration: none; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + position: relative; + color: #4d5761; + font-weight: 500; + padding: 24px 0; + position: relative; +} +@media only screen and (max-width: 480px) { + .cptm-header-nav__list-item-link { + padding: 16px 0; + } +} +.cptm-header-nav__list-item-link:before { + content: ""; + position: absolute; + bottom: 0; + right: 50%; + -webkit-transform: translateX(50%); + transform: translateX(50%); + width: calc(100% + 55px); + height: 3px; + background-color: transparent; + border-radius: 2px 2px 0 0; +} +.cptm-header-nav__list-item-link .cptm-header-nav__icon { + font-size: 24px; +} +.cptm-header-nav__list-item-link.active { + font-weight: 600; +} +.cptm-header-nav__list-item-link.active:before { + background-color: #3e62f5; +} +.cptm-header-nav__list-item-link.active .cptm-header-nav__icon, +.cptm-header-nav__list-item-link.active .cptm-header-nav__label { + color: #3e62f5; +} + +.cptm-header-nav__icon { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; +} +.cptm-header-nav__icon svg { + width: 24px; + height: 24px; +} + +.cptm-header-nav__label { + display: block; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + font-size: 14px; + font-weight: 500; +} + +.cptm-title-area { + margin-bottom: 20px; +} + +.submission-form .cptm-title-area { + width: 100%; +} + +.tab-general .cptm-title-area { + margin-right: 0; +} + +.cptm-link-light { + color: #fff; +} +.cptm-link-light:hover, +.cptm-link-light:focus, +.cptm-link-light:active { + color: #fff; +} + +.cptm-color-white { + color: #fff; +} + +.cptm-my-10 { + margin-top: 10px; + margin-bottom: 10px; +} + +.cptm-mb-60 { + margin-bottom: 60px; +} + +.cptm-mr-5 { + margin-left: 5px; +} + +.cptm-title { + margin: 0; + font-size: 19px; + font-weight: 600; + color: #141921; + line-height: 1.2; +} + +.cptm-des { + font-size: 14px; + font-weight: 400; + line-height: 22px; + color: #4d5761; + margin-top: 10px; +} + +.atbdp-cptm-tab-contents { + width: 100%; + display: block; + background-color: #fff; +} +.atbdp-cptm-tab-contents .listings_card_layout .cptm-tab-content-header { + margin-top: 92px; +} +@media only screen and (max-width: 782px) { + .atbdp-cptm-tab-contents .listings_card_layout .cptm-tab-content-header { + margin-top: 20px; + } +} +.atbdp-cptm-tab-contents .listings_card_layout .cptm-sub-navigation { + width: auto; + max-width: 658px; + margin: 0 auto; + gap: 16px; + padding: 0; + border-radius: 8px 8px 0 0; + border: 1px solid #e5e7eb; + background: #f9fafb; + border-bottom: none; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.atbdp-cptm-tab-contents + .listings_card_layout + .cptm-sub-navigation + .cptm-sub-nav__item-link { + height: 47px; + padding: 0 8px; + border: none; + border-radius: 0; + position: relative; +} +.atbdp-cptm-tab-contents + .listings_card_layout + .cptm-sub-navigation + .cptm-sub-nav__item-link:before { + content: ""; + position: absolute; + bottom: 0; + right: 0; + width: 100%; + height: 3px; + background: transparent; + border-radius: 2px 2px 0 0; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.atbdp-cptm-tab-contents + .listings_card_layout + .cptm-sub-navigation + .cptm-sub-nav__item-link:hover, +.atbdp-cptm-tab-contents + .listings_card_layout + .cptm-sub-navigation + .cptm-sub-nav__item-link.active { + color: #3e62f5; + background: transparent; +} +.atbdp-cptm-tab-contents + .listings_card_layout + .cptm-sub-navigation + .cptm-sub-nav__item-link:hover + svg + path, +.atbdp-cptm-tab-contents + .listings_card_layout + .cptm-sub-navigation + .cptm-sub-nav__item-link.active + svg + path { + stroke: #3e62f5; +} +.atbdp-cptm-tab-contents + .listings_card_layout + .cptm-sub-navigation + .cptm-sub-nav__item-link:hover:before, +.atbdp-cptm-tab-contents + .listings_card_layout + .cptm-sub-navigation + .cptm-sub-nav__item-link.active:before { + background: #3e62f5; +} + +.atbdp-cptm-tab-item { + display: none; +} +.atbdp-cptm-tab-item.active { + display: block; +} + +.cptm-tab-content-header { + position: relative; + background: transparent; + max-width: 100%; + margin: 82px auto 0; +} +@media only screen and (max-width: 782px) { + .cptm-tab-content-header { + margin-top: 0; + } +} +.cptm-tab-content-header .cptm-tab-content-header__action { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 10px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + position: absolute; + left: 32px; + top: 50%; + -webkit-transform: translateY(-50%); + transform: translateY(-50%); + z-index: 11; +} +@media only screen and (max-width: 991px) { + .cptm-tab-content-header .cptm-tab-content-header__action { + left: 25px; + } +} +@media only screen and (max-width: 782px) { + .cptm-tab-content-header .cptm-sub-navigation { + padding-left: 70px; + margin-top: 20px; + } + .cptm-tab-content-header .cptm-tab-content-header__action { + top: 0; + -webkit-transform: unset; + transform: unset; + } +} +@media only screen and (max-width: 480px) { + .cptm-tab-content-header .cptm-sub-navigation { + margin-top: 0; + } + .cptm-tab-content-header .cptm-tab-content-header__action { + left: 0; + } +} + +.cptm-tab-content-body { + display: block; +} + +.cptm-tab-content { + position: relative; + margin: 0 auto; + min-height: 500px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-tab-content.tab-wide { + max-width: 1080px; +} +.cptm-tab-content.tab-short-wide { + max-width: 600px; +} +.cptm-tab-content.tab-full-width { + max-width: 100%; +} +.cptm-tab-content.cptm-tab-content-general { + top: 32px; + padding: 32px 30px 0; + border: 1px solid #e5e7eb; + border-radius: 8px; + margin: 0 auto 70px; +} +@media only screen and (max-width: 960px) { + .cptm-tab-content.cptm-tab-content-general { + max-width: 100%; + margin: 0 20px 52px; + } +} +@media only screen and (max-width: 782px) { + .cptm-tab-content.cptm-tab-content-general { + margin: 0; + } +} +@media only screen and (max-width: 480px) { + .cptm-tab-content.cptm-tab-content-general { + top: 0; + } +} + +.cptm-short-wide { + max-width: 550px; + width: 100%; + margin-left: auto; + margin-right: auto; +} + +.cptm-tab-sub-content-item { + margin: 0 auto; + display: none; +} +.cptm-tab-sub-content-item.active { + display: block; +} + +.cptm-row { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin: 0 -15px; +} + +.cptm-col-5 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + width: calc(42.66% - 30px); + padding: 0 15px; +} +@media (max-width: 767px) { + .cptm-col-5 { + width: calc(100% - 30px); + margin-bottom: 30px; + } +} + +.cptm-col-6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + width: calc(50% - 30px); + padding: 0 15px; +} +@media (max-width: 767px) { + .cptm-col-6 { + width: calc(100% - 30px); + margin-bottom: 30px; + } +} + +.cptm-col-7 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + width: calc(57.33% - 30px); + padding: 0 15px; +} +@media (max-width: 767px) { + .cptm-col-7 { + width: calc(100% - 30px); + margin-bottom: 30px; + } +} + +.cptm-section { + position: relative; + margin-bottom: 50px; + z-index: 10; +} +.cptm-section.cptm-section--disabled .cptm-builder-section { + opacity: 0.6; + pointer-events: none; +} +.cptm-section.submission_form_fields + .cptm-form-builder-active-fields-container { + height: 100%; + padding-bottom: 400px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-section.single_listing_header { + border-top: 1px solid #e5e7eb; +} +.cptm-section.search_form_fields .directorist-form-action, +.cptm-section.submission_form_fields .directorist-form-action { + position: absolute; + left: 0; + top: 0; + margin: 0; +} +.cptm-section.preview_mode { + position: absolute; + left: 24px; + bottom: 18px; + width: calc(100% - 420px); + padding: 20px; + -webkit-box-sizing: border-box; + box-sizing: border-box; + z-index: 10; + background: #ffffff; + border: 1px solid #e5e7eb; + border-radius: 8px; + -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); + box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); +} +.cptm-section.preview_mode:before { + content: ""; + position: absolute; + top: 0; + right: 43px; + height: 1px; + width: calc(100% - 86px); + background-color: #f3f4f6; +} +@media only screen and (min-width: 1441px) { + .cptm-section.preview_mode { + width: calc(65% - 49px); + } +} +@media only screen and (max-width: 1024px) { + .cptm-section.preview_mode { + width: calc(100% - 49px); + } +} +@media only screen and (max-width: 480px) { + .cptm-section.preview_mode { + width: 100%; + position: unset; + margin-top: 20px; + } +} +.cptm-section.preview_mode .cptm-title-area { + display: none; +} +.cptm-section.preview_mode .cptm-input-toggle-wrap { + gap: 10px; + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; + -webkit-box-orient: horizontal; + -webkit-box-direction: reverse; + -webkit-flex-direction: row-reverse; + -ms-flex-direction: row-reverse; + flex-direction: row-reverse; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} +.cptm-section.preview_mode .directorist-footer-wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + gap: 12px; + padding: 10px 16px; + background-color: #f5f6f7; + border: 1px solid #e5e7eb; + border-radius: 6px; +} +@media only screen and (max-width: 575px) { + .cptm-section.preview_mode .directorist-footer-wrap { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-align: start; + -webkit-align-items: flex-start; + -ms-flex-align: start; + align-items: flex-start; + } +} +.cptm-section.preview_mode .directorist-footer-wrap .directorist-input-label { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + font-size: 14px; + font-weight: 500; + color: #141921; +} +.cptm-section.preview_mode .directorist-footer-wrap .directorist-input { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn { + position: relative; + margin: 0; + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + height: 32px; + font-size: 12px; + font-weight: 500; + color: #4d5761; + border-color: #e5e7eb; + background-color: #ffffff; + border-radius: 6px; +} +.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn .cptm-save-icon { + opacity: 0; + visibility: hidden; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; +} +.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn:before { + content: attr(data-info); + position: absolute; + top: calc(100% + 8px); + right: 50%; + -webkit-transform: translateX(50%); + transform: translateX(50%); + min-width: -webkit-max-content; + min-width: -moz-max-content; + min-width: max-content; + text-align: center; + color: #ffffff; + font-size: 13px; + font-weight: 500; + padding: 10px 12px; + border-radius: 6px; + background-color: #141921; + opacity: 0; + visibility: hidden; + -webkit-transition: + opacity 0.3s ease, + visibility 0.3s ease; + transition: + opacity 0.3s ease, + visibility 0.3s ease; +} +.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn:after { + content: ""; + position: absolute; + top: calc(100% + 2px); + right: 50%; + -webkit-transform: translateX(50%); + transform: translateX(50%); + border-bottom: 6px solid #141921; + border-right: 6px solid transparent; + border-left: 6px solid transparent; + opacity: 0; + visibility: hidden; + -webkit-transition: + opacity 0.3s ease, + visibility 0.3s ease; + transition: + opacity 0.3s ease, + visibility 0.3s ease; +} +.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn .cptm-save-icon { + font-size: 16px; +} +.cptm-section.preview_mode + .directorist-footer-wrap + .cptm-btn:hover + .cptm-save-icon { + opacity: 1; + visibility: visible; +} +.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn:hover:before, +.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn:hover:after { + opacity: 1; + visibility: visible; +} +.cptm-section.preview_mode .directorist-footer-wrap .cptm-form-group { + margin: 0; +} +.cptm-section.preview_mode + .directorist-footer-wrap + .cptm-form-group + .cptm-form-control { + height: 32px; + padding: 0 20px; + font-size: 12px; + font-weight: 500; + color: #4d5761; +} +.cptm-section.listings_card_grid_view .cptm-form-field-wrapper, +.cptm-section.listings_card_list_view .cptm-form-field-wrapper { + max-width: 658px; + margin: 0 auto; + padding: 24px; + margin-bottom: 32px; + border-radius: 0 0 8px 8px; + background: #ffffff; + border: 1px solid #e5e7eb; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +@media only screen and (max-width: 480px) { + .cptm-section.listings_card_grid_view .cptm-form-field-wrapper, + .cptm-section.listings_card_list_view .cptm-form-field-wrapper { + padding: 16px; + } +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-top-area, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-top-area { + max-width: 100%; + padding: 12px 20px; + margin-bottom: 16px; + background: #f3f4f6; + border: 1px solid #f3f4f6; + border-radius: 8px; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-top-area + .tab-field, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-top-area + .tab-field { + margin: 0; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-top-area-content, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-top-area-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 24px; +} +@media only screen and (max-width: 480px) { + .cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-top-area-content, + .cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-top-area-content { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + } +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-top-area-content + .cptm-card-layout-content, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-top-area-content + .cptm-card-layout-content { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-top-area-content + .cptm-card-layout-title, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-top-area-content + .cptm-card-layout-title { + font-size: 14px; + line-height: 19px; + font-weight: 500; + color: #141921; + margin: 0 0 4px; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-top-area-content + .cptm-card-layout-description, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-top-area-content + .cptm-card-layout-description { + font-size: 12px; + line-height: 16px; + font-weight: 400; + color: #4d5761; + margin: 0; +} +.cptm-section.listings_card_grid_view .cptm-form-field-wrapper .cptm-form-group, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-form-group { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-preview-widget, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-preview-widget { + max-width: unset; + padding: 0; + border-radius: 4px; + border: 1px solid #e5e7eb; + -webkit-box-shadow: 0 2px 8px 0 rgba(16, 24, 40, 0.08); + box-shadow: 0 2px 8px 0 rgba(16, 24, 40, 0.08); +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-preview-widget + .cptm-card-preview-widget-content, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-preview-widget + .cptm-card-preview-widget-content { + -webkit-box-shadow: unset; + box-shadow: unset; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-preview-widget + .cptm-listing-card-preview-header, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-preview-widget + .cptm-listing-card-preview-header { + position: relative; + height: 328px; + padding: 16px 16px 24px; + background: #e5e7eb; + border-radius: 4px 4px 0 0; + -webkit-box-shadow: unset; + box-shadow: unset; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-preview-widget + .cptm-listing-card-preview-header + .cptm-widget-preview-area, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-preview-widget + .cptm-listing-card-preview-header + .cptm-widget-preview-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-preview-widget + .cptm-listing-card-preview-header + .cptm-placeholder-block, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-preview-widget + .cptm-listing-card-preview-header + .cptm-placeholder-block { + padding-bottom: 32px; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-placeholder-block, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-placeholder-block { + max-width: 100%; + background: #f3f4f6; + border: 1px dashed #d2d6db; + border-radius: 4px; + min-height: 72px; + padding-bottom: 32px; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-placeholder-block + .cptm-widget-preview-container, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-placeholder-block + .cptm-widget-preview-container { + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-section.listings_card_grid_view .cptm-form-group-tab-list, +.cptm-section.listings_card_list_view .cptm-form-group-tab-list { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 12px; + padding: 0; + border: none; + background: transparent; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-item, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-item { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link { + position: relative; + height: unset; + padding: 8px 40px 8px 26px; + background: #ffffff; + border-radius: 4px; + border: 1px solid #e5e7eb; + -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); + box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link:before, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link:before { + content: ""; + position: absolute; + top: 50%; + right: 12px; + -webkit-transform: translateY(-50%); + transform: translateY(-50%); + width: 16px; + height: 16px; + border-radius: 50%; + border: 2px solid #a1a9b2; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-transition: border ease 0.3s; + transition: border ease 0.3s; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link + svg, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link + svg { + border: 1px solid #d2d6db; + border-radius: 4px; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active { + border-color: #3e62f5; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active:before, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active:before { + border: 5px solid #3e62f5; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active + svg, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active + svg { + border-color: #3e62f5; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active + svg + rect, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active + svg + rect { + fill: #3e62f5; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active + svg + rect:first-of-type, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active + svg + rect:first-of-type { + stroke: #3e62f5; + fill: #3e62f5; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active + svg + path, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active + svg + path { + fill: #fff; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .grid_view_without_thumbnail + .cptm-form-group-tab-link.active + svg + rect, +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .list_view_without_thumbnail + .cptm-form-group-tab-link.active + svg + rect, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .grid_view_without_thumbnail + .cptm-form-group-tab-link.active + svg + rect, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .list_view_without_thumbnail + .cptm-form-group-tab-link.active + svg + rect { + fill: #3e62f5; + stroke: unset; +} +.cptm-section.listings_card_grid_view .cptm-card-preview-widget { + -webkit-box-shadow: unset; + box-shadow: unset; +} +.cptm-section.listings_card_grid_view .cptm-card-preview-widget-content { + border-radius: 10px; + -webkit-box-shadow: 0 8px 16px 0 rgba(16, 24, 40, 0.1019607843); + box-shadow: 0 8px 16px 0 rgba(16, 24, 40, 0.1019607843); +} +.cptm-section.listings_card_list_view .cptm-card-top-area { + max-width: unset; +} +.cptm-section.listings_card_list_view .cptm-card-preview-thumbnail { + border-radius: 10px; +} +.cptm-section.new_listing_status { + z-index: 11; +} +.cptm-section:last-child { + margin-bottom: 0; +} + +.cptm-form-builder { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} +@media only screen and (max-width: 1024px) { + .cptm-form-builder { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 30px; + } + .cptm-form-builder .cptm-form-builder-sidebar { + max-width: 100%; + } +} +.cptm-form-builder.submission_form_fields .cptm-form-builder-content { + border-bottom: 25px solid #f3f4f6; +} +@media only screen and (max-width: 480px) { + .cptm-form-builder.submission_form_fields { + gap: 30px; + } + .cptm-form-builder.submission_form_fields .cptm-col-sticky { + position: unset; + border: none; + } + .cptm-form-builder.submission_form_fields + .cptm-col-sticky + .cptm-form-builder-sidebar-content { + padding: 0; + } + .cptm-form-builder.submission_form_fields + .cptm-col-sticky + .cptm-form-builder-active-fields-container { + padding-bottom: 0; + } +} +.cptm-form-builder.single_listings_contents { + border-top: 1px solid #e5e7eb; +} +@media only screen and (max-width: 480px) { + .cptm-form-builder.search_form_fields .cptm-col-sticky { + position: unset; + border: none; + } + .cptm-form-builder.search_form_fields + .cptm-col-sticky + .cptm-form-builder-sidebar-content { + padding: 0; + } + .cptm-form-builder.search_form_fields + .cptm-col-sticky + .cptm-form-builder-active-fields-container { + padding-bottom: 0; + } +} + +.cptm-form-builder-sidebar { + width: 100%; + max-width: 372px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +@media only screen and (min-width: 1441px) { + .cptm-form-builder-sidebar { + max-width: 35%; + } +} +.cptm-form-builder-sidebar .cptm-form-builder-action { + padding-bottom: 0; +} +@media only screen and (max-width: 480px) { + .cptm-form-builder-sidebar .cptm-form-builder-action { + padding: 20px 0; + } +} +.cptm-form-builder-sidebar .cptm-form-builder-sidebar-content { + padding: 12px 24px 24px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +.cptm-form-builder-content { + height: auto; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + background: #f3f4f6; + border-right: 1px solid #e5e7eb; +} +.cptm-form-builder-content .cptm-form-builder-action { + border-bottom: 1px solid #e5e7eb; +} +.cptm-form-builder-content .cptm-form-builder-active-fields { + padding: 24px; + background: #f3f4f6; + height: 100%; + min-height: calc(100vh - 225px); +} +@media only screen and (max-width: 1399px) { + .cptm-form-builder-content .cptm-form-builder-active-fields { + min-height: calc(100vh - 225px); + } +} + +.cptm-form-builder-action { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + padding: 18px 24px; + background: #ffffff; +} + +.cptm-form-builder-action-title { + font-size: 16px; + line-height: 24px; + font-weight: 500; + color: #141921; +} + +.cptm-form-builder-action-btn { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 8px; + padding: 0 12px; + color: #141921; + font-size: 14px; + line-height: 16px; + font-weight: 500; + height: 32px; + -webkit-box-sizing: border-box; + box-sizing: border-box; + border: 1px solid #d2d6db; + border-radius: 4px; +} + +.cptm-elements-settings + .cptm-form-builder-action-btn.directorist-row-tooltip[data-tooltip]:after, +.cptm-form-builder-sidebar + .cptm-form-builder-action-btn.directorist-row-tooltip[data-tooltip]:after { + width: 200px; + height: auto; + min-height: 34px; + white-space: unset; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +.cptm-form-builder-preset-fields:not(:last-child) { + margin-bottom: 40px; +} + +.cptm-form-builder-preset-fields-header-action-link { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + margin: 0 0 12px; +} +.cptm-form-builder-preset-fields-header-action-link + .cptm-form-builder-preset-fields-header-action-icon { + font-size: 20px; +} +.cptm-form-builder-preset-fields-header-action-link:focus { + outline: none; + -webkit-box-shadow: none; + box-shadow: none; +} + +.cptm-form-builder-preset-fields-header-action-text { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + font-size: 12px; + font-weight: 600; + color: #4d5761; +} + +.cptm-form-builder-preset-fields-header-action-link { + color: #747c89; +} + +.cptm-title-3 { + margin: 0; + color: #272b41; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + font-weight: 500; + font-size: 18px; +} + +.cptm-description-text { + margin: 5px 0 20px; + color: #5a5f7d; + font-size: 15px; +} + +.cptm-form-builder-active-fields { + display: block; + height: 100%; +} +.cptm-form-builder-active-fields.empty-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + text-align: center; + height: calc(100vh - 200px); + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-form-builder-active-fields.empty-content + .cptm-form-builder-active-fields-container { + height: auto; +} +.cptm-form-builder-active-fields.empty-content + .cptm-form-builder-active-fields-empty-text { + font-size: 18px; + line-height: 24px; + font-weight: 500; + font-style: italic; + color: #4d5761; + margin: 12px 0 0; +} +.cptm-form-builder-active-fields.empty-content + .cptm-form-builder-active-fields-footer { + text-align: center; +} +.cptm-form-builder-active-fields.empty-content + .cptm-form-builder-active-fields-footer + .cptm-btn { + margin: 10px auto; +} +.cptm-form-builder-active-fields .directorist-draggable-list-item-wrapper { + height: auto; + z-index: auto; +} +.cptm-form-builder-active-fields + .directorist-draggable-list-item-wrapper:hover { + z-index: 1; +} +.cptm-form-builder-active-fields .cptm-description-text + .cptm-btn { + border: 1px solid #3e62f5; + height: 43px; + background: rgba(62, 98, 245, 0.1); + color: #3e62f5; + font-size: 14px; + font-weight: 500; + margin: 0 0 22px; +} +.cptm-form-builder-active-fields + .cptm-description-text + + .cptm-btn.cptm-btn-primary { + background: #3e62f5; + color: #fff; +} + +.cptm-form-builder-active-fields-container { + position: relative; + margin: 0; + z-index: 1; +} + +.cptm-form-builder-active-fields-footer { + text-align: right; +} +@media only screen and (max-width: 991px) { + .cptm-form-builder-active-fields-footer { + text-align: right; + } +} +@media only screen and (max-width: 991px) { + .cptm-form-builder-active-fields-footer .cptm-btn { + margin-right: 0; + } +} +.cptm-form-builder-active-fields-footer .cptm-btn { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + height: 40px; + color: #3e62f5; + background: #ffffff; + border: 0 none; + margin: 16px 0 0; + font-size: 14px; + font-weight: 600; + border-radius: 4px; + border: 1px solid #3e62f5; + -webkit-box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08); + box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08); +} +.cptm-form-builder-active-fields-footer .cptm-btn span { + font-size: 16px; +} + +.cptm-form-builder-active-fields-group { + position: relative; + margin-bottom: 6px; + padding-bottom: 0; +} + +.cptm-form-builder-group-header-section { + position: relative; +} +.cptm-form-builder-group-header-section.expanded + .cptm-form-builder-group-header { + border-radius: 6px 6px 0 0; + background-color: #f9fafb; + border-bottom: none; +} +.cptm-form-builder-group-header-section.expanded + .cptm-form-builder-group-title-icon { + background-color: #d8e0fd; +} +.cptm-form-builder-group-header-section.locked + .cptm-form-builder-group-options-wrapper { + left: 12px; +} +.cptm-form-builder-group-header-section + .cptm-form-builder-group-options-wrapper { + position: absolute; + top: calc(100% - 12px); + left: 55px; + width: 100%; + max-width: 460px; + height: 100%; + z-index: 9; +} +.cptm-form-builder-group-header-section + .cptm-form-builder-group-options-wrapper + .cptm-form-builder-group-options { + padding: 0; + border: 1px solid #e5e7eb; + border-radius: 6px; + -webkit-box-shadow: 0 8px 16px rgba(16, 24, 40, 0.1); + box-shadow: 0 8px 16px rgba(16, 24, 40, 0.1); +} +.cptm-form-builder-group-header-section + .cptm-form-builder-group-options-wrapper + .cptm-form-builder-group-options + .cptm-form-builder-group-options-header { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + padding: 12px 16px; + border-bottom: 1px solid #e5e7eb; +} +.cptm-form-builder-group-header-section + .cptm-form-builder-group-options-wrapper + .cptm-form-builder-group-options + .cptm-form-builder-group-options-header-title { + font-size: 14px; + line-height: 16px; + font-weight: 600; + color: #2c3239; + margin: 0; +} +.cptm-form-builder-group-header-section + .cptm-form-builder-group-options-wrapper + .cptm-form-builder-group-options + .cptm-form-builder-group-options-header-close { + color: #2c3239; +} +.cptm-form-builder-group-header-section + .cptm-form-builder-group-options-wrapper + .cptm-form-builder-group-options + .cptm-form-builder-group-options-header-close + span { + font-size: 20px; +} +.cptm-form-builder-group-header-section + .cptm-form-builder-group-options-wrapper + .cptm-form-builder-group-options + .directorist-form-fields-area { + padding: 24px; +} + +.cptm-form-builder-group-header { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + border-radius: 6px; + background-color: #ffffff; + border: 1px solid #e5e7eb; + overflow: hidden; + -webkit-transition: border-radius ease 1s; + transition: border-radius ease 1s; +} + +.cptm-form-builder-group-header-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + padding: 12px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +div[draggable="true"].cptm-form-builder-group-header-content { + cursor: move; +} + +.cptm-form-builder-group-header-content__dropable-wrapper { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} + +.cptm-no-wrap { + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.cptm-card-top-area { + max-width: 450px; + margin: 0 auto; + margin-bottom: 10px; +} +.cptm-card-top-area > .form-group .cptm-form-control { + background: none; + border: 1px solid #c6d0dc; + height: 42px; +} +.cptm-card-top-area > .form-group .cptm-template-type-wrapper { + position: relative; +} +.cptm-card-top-area > .form-group .cptm-template-type-wrapper:before { + content: "\f110"; + position: absolute; + font-family: "LineAwesome"; + left: 20px; + top: 50%; + -webkit-transform: translateY(-50%); + transform: translateY(-50%); + pointer-events: none; +} + +.cptm-form-builder-group-header-content__dropable-placeholder { + margin-left: 15px; +} + +.cptm-form-builder-header-actions { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 8px; +} + +.cptm-form-builder-group-actions-dropdown-content.expanded { + position: absolute; + width: 200px; + top: 100%; + left: 0; + z-index: 9; +} +.cptm-form-builder-group-actions-dropdown-content.expanded + .cptm-form-builder-field-item-action-link { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + color: #d94a4a; + background: #ffffff; + padding: 10px 15px; + width: 100%; + height: 50px; + font-size: 14px; + font-weight: 500; + border-radius: 8px; + -webkit-box-sizing: border-box; + box-sizing: border-box; + border: 1px solid #e5e7eb; + -webkit-box-shadow: 0 12px 16px rgba(16, 24, 40, 0.08); + box-shadow: 0 12px 16px rgba(16, 24, 40, 0.08); + -webkit-transition: + background ease 0.3s, + color ease 0.3s, + border-color ease 0.3s; + transition: + background ease 0.3s, + color ease 0.3s, + border-color ease 0.3s; +} +.cptm-form-builder-group-actions-dropdown-content.expanded + .cptm-form-builder-field-item-action-link + span { + font-size: 20px; +} +.cptm-form-builder-group-actions-dropdown-content.expanded + .cptm-form-builder-field-item-action-link:hover { + color: #ffffff; + background: #d94a4a; + border-color: #d94a4a; +} + +.cptm-form-builder-group-actions { + display: block; + min-width: 34px; + margin-right: 15px; +} + +.cptm-form-builder-group-title { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 12px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + margin: 0; + font-size: 15px; + font-weight: 500; + color: #141921; +} +@media only screen and (max-width: 480px) { + .cptm-form-builder-group-title { + font-size: 13px; + } +} + +.cptm-form-builder-group-title-icon { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 40px; + height: 40px; + min-width: 40px; + min-height: 40px; + font-size: 20px; + color: #141921; + border-radius: 8px; + background-color: #f3f4f6; +} +@media only screen and (max-width: 480px) { + .cptm-form-builder-group-title-icon { + width: 32px; + height: 32px; + min-width: 32px; + min-height: 32px; + font-size: 18px; + } +} + +.cptm-form-builder-group-options { + background-color: #fff; + padding: 20px; + border-radius: 0 0 6px 6px; + border: 1px solid #e5e7eb; + border-top: none; + -webkit-box-shadow: 0 4px 8px rgba(16, 24, 40, 0.08); + box-shadow: 0 4px 8px rgba(16, 24, 40, 0.08); +} +.cptm-form-builder-group-options .directorist-form-fields-advanced { + padding: 0; + margin: 16px 0 0; + font-size: 13px; + font-weight: 500; + background: transparent; + border: none; + outline: none; + -webkit-box-shadow: none; + box-shadow: none; + color: #2e94fa; + text-decoration: underline; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; + cursor: pointer; +} +.cptm-form-builder-group-options .directorist-form-fields-advanced:hover { + color: #3e62f5; +} +.cptm-form-builder-group-options + .directorist-form-fields-area + .cptm-form-group:last-child { + margin-bottom: 0; +} +.cptm-form-builder-group-options + .cptm-form-builder-group-options__advanced-toggle { + font-size: 13px; + font-weight: 500; + color: #3e62f5; + background: transparent; + border: none; + padding: 0; + display: block; + margin-top: -7px; + cursor: pointer; +} + +.cptm-form-builder-group-fields { + display: block; + position: relative; + padding: 24px; + background-color: #fff; + border: 1px solid #e5e7eb; + border-top: none; + border-radius: 0 0 6px 6px; + -webkit-box-shadow: 0 4px 8px rgba(16, 24, 40, 0.08); + box-shadow: 0 4px 8px rgba(16, 24, 40, 0.08); +} + +.icon-picker-selector { + margin: 0; + padding: 3px 16px 3px 4px; + border: 1px solid #d2d6db; + border-radius: 8px; + -webkit-box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05); + box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05); +} +.icon-picker-selector .icon-picker-selector__icon { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + margin: 0; +} +.icon-picker-selector + .icon-picker-selector__icon + input[type="text"].cptm-form-control { + padding: 5px 20px; + min-height: 20px; + background-color: transparent; + outline: none; +} +.icon-picker-selector .icon-picker-selector__icon .directorist-selected-icon { + position: unset; + -webkit-transform: unset; + transform: unset; + font-size: 16px; +} +.icon-picker-selector + .icon-picker-selector__icon + .directorist-selected-icon:before { + margin-left: 6px; +} +.icon-picker-selector .icon-picker-selector__icon input { + height: 32px; + border: none !important; + padding-right: 0 !important; +} +.icon-picker-selector + .icon-picker-selector__icon + .icon-picker-selector__icon__reset { + font-size: 12px; + padding: 0 0 0 10px; +} +.icon-picker-selector .icon-picker-selector__btn { + margin: 0; + height: 32px; + padding: 0 15px; + font-size: 13px; + font-weight: 500; + color: #2c3239; + border-radius: 6px; + background-color: #e5e7eb; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; +} +.icon-picker-selector .icon-picker-selector__btn:hover { + background-color: #e3e6e9; +} + +.cptm-restricted-area { + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + z-index: 999; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + padding: 10px; + text-align: center; + background: rgba(255, 255, 255, 0.8); +} + +.cptm-form-builder-group-field-item { + margin-bottom: 8px; + position: relative; +} +.cptm-form-builder-group-field-item .cptm-form-builder-group-field-item-drag { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 40px; + height: 48px; + font-size: 24px; + color: #747c89; + background-color: #f9fafb; + border-radius: 0 6px 6px 0; + cursor: move; +} +.cptm-form-builder-group-field-item + .cptm-form-builder-group-field-item-header-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + padding: 8px 12px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-form-builder-group-field-item.expanded + .cptm-form-builder-group-field-item-header { + border-radius: 6px 6px 0 0; + background-color: #f9fafb; + border-width: 1.5px; + border-color: #3e62f5; + border-bottom: none; +} + +.cptm-form-builder-group-field-item-actions { + display: block; + position: absolute; + left: -15px; + -webkit-transform: translate(-34px, 7px); + transform: translate(-34px, 7px); +} + +.cptm-form-builder-group-field-item-action-link { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + font-size: 14px; + background-color: #e3e6ef; + border-radius: 50%; + width: 34px; + height: 34px; + text-align: center; + color: #868eae; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} + +.action-trash:hover { + color: #e62626; + background-color: rgba(255, 0, 0, 0.15); +} + +.action-trash:hover { + background-color: #d7d7d7; +} +.action-trash:hover:hover { + color: #e62626; + background-color: rgba(255, 0, 0, 0.15); +} + +.cptm-form-builder-header-action-link { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 32px; + height: 32px; + font-size: 18px; + color: #747c89; + border: 1px solid #e5e7eb; + border-radius: 6px; + outline: none; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-form-builder-header-action-link:hover, +.cptm-form-builder-header-action-link:focus, +.cptm-form-builder-header-action-link:active { + color: #141921; + background-color: #f3f4f6; + border-color: #e5e7eb; + -webkit-box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05); + box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05); +} +@media only screen and (max-width: 480px) { + .cptm-form-builder-header-action-link { + width: 24px; + height: 24px; + font-size: 14px; + } +} +.cptm-form-builder-header-action-link.disabled { + color: #a1a9b2; + pointer-events: none; +} + +.cptm-form-builder-header-toggle-link { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 32px; + height: 32px; + font-size: 24px; + color: #747c89; + border: none !important; + -webkit-box-shadow: none !important; + box-shadow: none !important; + outline: none !important; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +@media only screen and (max-width: 480px) { + .cptm-form-builder-header-toggle-link { + width: 24px; + height: 24px; + font-size: 18px; + } +} +.cptm-form-builder-header-toggle-link.action-collapse-down { + color: #3e62f5; +} +.cptm-form-builder-header-toggle-link.disabled { + opacity: 0.5; + pointer-events: none; +} + +.action-collapse-up span { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + -webkit-transform: rotate(0); + transform: rotate(0); +} + +.action-collapse-down span { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + -webkit-transform: rotate(-180deg); + transform: rotate(-180deg); +} + +.cptm-form-builder-group-field-item-header { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + border-radius: 6px; + border: 1px solid #e5e7eb; + -webkit-transition: border-radius ease 1s; + transition: border-radius ease 1s; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + font-size: 14px; + line-height: 16px; + font-weight: 500; + color: #141921; + margin: 0; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-form-builder-group-field-item-label { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-form-builder-group-field-item-subtitle { + color: #747c89; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-form-builder-group-field-item-icon { + font-size: 20px; + color: #141921; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 12px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-icon-svg { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-icon-svg + svg { + width: 16px; + height: 16px; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-icon-svg + svg + path { + fill: #747c89; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-info-tooltip { + position: relative; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-info-tooltip:before { + content: attr(data-info); + position: absolute; + top: calc(100% + 8px); + right: 0; + min-width: 180px; + max-width: 180px; + text-align: center; + color: #ffffff; + font-size: 13px; + font-weight: 500; + padding: 10px 12px; + border-radius: 6px; + background-color: #141921; + opacity: 0; + visibility: hidden; + -webkit-transition: + opacity 0.3s ease, + visibility 0.3s ease; + transition: + opacity 0.3s ease, + visibility 0.3s ease; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-info-tooltip:after { + content: ""; + position: absolute; + top: calc(100% + 2px); + right: 4px; + border-bottom: 6px solid #141921; + border-right: 6px solid transparent; + border-left: 6px solid transparent; + opacity: 0; + visibility: hidden; + -webkit-transition: + opacity 0.3s ease, + visibility 0.3s ease; + transition: + opacity 0.3s ease, + visibility 0.3s ease; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-info-tooltip:hover:before, +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-info-tooltip:hover:after { + opacity: 1; + visibility: visible; + z-index: 1; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-info { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + font-size: 12px; + line-height: 14px; + font-weight: 400; + padding: 4px 8px; + color: #ca6f04; + background-color: #fdefce; + border-radius: 4px; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-info + .cptm-title-info-icon { + font-size: 16px; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-info + i { + font-size: 16px; + color: #4d5761; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-header-actions + .cptm-form-builder-header-action-link { + font-size: 18px; + color: #747c89; + border: none; + -webkit-box-shadow: none; + box-shadow: none; +} + +.cptm-form-builder-group-field-item-body { + padding: 24px; + border: 1.5px solid #3e62f5; + border-top-width: 1px; + border-radius: 0 0 6px 6px; +} + +.cptm-form-builder-group-item-drag { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 46px; + min-width: 46px; + height: 100%; + min-height: 64px; + font-size: 24px; + color: #747c89; + background-color: #f9fafb; + -webkit-box-flex: unset; + -webkit-flex-grow: unset; + -ms-flex-positive: unset; + flex-grow: unset; + cursor: move; +} +@media only screen and (max-width: 480px) { + .cptm-form-builder-group-item-drag { + width: 32px; + min-width: 32px; + font-size: 18px; + } +} + +.cptm-form-builder-field-list { + padding: 0; + margin: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-form-builder-field-list .directorist-draggable-list-item { + position: unset; +} + +.cptm-form-builder-field-list-item { + width: calc(50% - 4px); + padding: 12px; + margin: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + list-style: none; + background-color: #ffffff; + border: 1px solid #d2d6db; + border-radius: 4px; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; +} +.cptm-form-builder-field-list-item .directorist-draggable-list-item-slot { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} +.cptm-form-builder-field-list-item:hover { + background-color: #e5e7eb; + -webkit-box-shadow: 0 2px 4px rgba(16, 24, 40, 0.08); + box-shadow: 0 2px 4px rgba(16, 24, 40, 0.08); +} +.cptm-form-builder-field-list-item.clickable { + cursor: pointer; +} +.cptm-form-builder-field-list-item.disabled { + cursor: not-allowed; +} +@media (max-width: 400px) { + .cptm-form-builder-field-list-item { + width: calc(100% - 6px); + } +} + +li[class="cptm-form-builder-field-list-item"][draggable="true"] { + cursor: move; +} + +.cptm-form-builder-field-list-item { + position: relative; +} +.cptm-form-builder-field-list-item > pre { + position: absolute; + top: 3px; + left: 5px; + margin: 0; + font-size: 10px; + line-height: 12px; + color: #f80718; +} + +.cptm-form-builder-field-list-icon { + display: inline-block; + margin-left: 8px; + width: auto; + max-width: 20px; + font-size: 20px; + color: #141921; +} + +.cptm-form-builder-field-list-item-icon { + font-size: 14px; + margin-left: 1px; +} + +.cptm-form-builder-field-list-label, +.cptm-form-builder-field-list-item-label { + display: inline-block; + font-size: 13px; + font-weight: 500; + color: #141921; +} + +.cptm-option-card--draggable .cptm-form-builder-field-list { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 10px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 12px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + margin: 0; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item { + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + border-radius: 8px; + border-color: #e5e7eb; + background: transparent; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-content { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-drag { + cursor: move; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-edit, +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-action { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + color: #747c89; + border-radius: 6px; + cursor: pointer; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-edit.active, +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-edit:hover, +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-action.active, +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-action:hover { + color: #0e3bf2; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-action:hover { + color: #d94a4a; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container { + padding: 15px 0 22px 0; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-preview-wrapper { + margin-bottom: 20px; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-widget-options-wrap:not(:last-child) { + margin-bottom: 17px; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-form-group + .cptm-preview-radio-area + label { + margin-bottom: 12px; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-form-group + .cptm-radio-area + .cptm-radio-item:last-child + label { + margin-bottom: 0; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-form-group--color-picker + .atbdp-row { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-form-group--color-picker + .atbdp-row + .atbdp-col { + width: 100%; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-form-group--color-picker + .cptm-color-picker-wrap { + width: 100%; + padding: 6px; + border-radius: 8px; + border: 1px solid #d2d6db; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-form-group--color-picker + .cptm-color-picker-wrap + .cptm-color-picker { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + height: 20px; + width: 20px; + padding: 0; + border-radius: 6px; + border: 1px solid #e5e7eb; + overflow: hidden; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-form-group--color-picker + .cptm-color-picker-wrap + .cptm-color-picker + .icp__input { + width: 30px; + height: 30px; + margin: 0; +} +.cptm-option-card--draggable + .cptm-widget-options-container-draggable + .cptm-widget-options-container { + padding-right: 25px; +} + +.cptm-info-text-area { + margin-bottom: 10px; +} + +.cptm-info-text { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + font-size: 12px; + line-height: 14px; + font-weight: 400; + margin: 0; + padding: 0 8px; + height: 22px; + color: #4d5761; + border-radius: 4px; + background: #daeeff; +} + +.cptm-info-success { + color: #00b158; +} + +.cptm-mb-0 { + margin-bottom: 0 !important; +} + +.cptm-item-footer-drop-area { + position: absolute; + right: 0; + bottom: 0; + width: 100%; + height: 20px; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + -webkit-transform: translate(0, 100%); + transform: translate(0, 100%); + z-index: 5; +} +.cptm-item-footer-drop-area.drag-enter { + background-color: rgba(23, 135, 255, 0.3); +} +.cptm-item-footer-drop-area.cptm-group-item-drop-area { + height: 40px; +} + +.cptm-form-builder-group-field-item-drop-area { + height: 20px; + position: absolute; + bottom: -20px; + z-index: 5; + width: 100%; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-form-builder-group-field-item-drop-area.drag-enter { + background-color: rgba(23, 135, 255, 0.3); +} + +.cptm-checkbox-area, +.cptm-options-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + margin: 10px 0; + left: 0; + right: 0; +} + +.cptm-checkbox-area .cptm-checkbox-item:not(:last-child) { + margin-bottom: 10px; +} + +@media (max-width: 1300px) { + .cptm-checkbox-area, + .cptm-options-area { + position: static; + } +} +.cptm-checkbox-item, +.cptm-radio-item { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + margin-left: 20px; +} + +.cptm-tab-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-tab-area .cptm-tab-item input { + display: none; +} +.cptm-tab-area .cptm-tab-item input:checked + label { + color: #fff; + background-color: #3e62f5; +} +.cptm-tab-area .cptm-tab-item label { + margin: 0; + padding: 0 12px; + height: 32px; + line-height: 32px; + font-size: 14px; + font-weight: 500; + color: #747c89; + background: #e5e7eb; + cursor: pointer; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-tab-area .cptm-tab-item label:hover { + color: #fff; + background-color: #3e62f5; +} + +@media screen and (max-width: 782px) { + .enable_schema_markup .atbdp-label-icon-wrapper { + margin-bottom: 15px !important; + } +} + +.cptm-schema-tab-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-align: start; + -webkit-align-items: flex-start; + -ms-flex-align: start; + align-items: flex-start; + gap: 12px; +} +.cptm-schema-tab-label { + color: rgba(0, 6, 38, 0.9); + font-size: 15px; + font-style: normal; + font-weight: 600; + line-height: 16px; +} +.cptm-schema-tab-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 10px 20px; +} +@media screen and (max-width: 782px) { + .cptm-schema-tab-wrapper { + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + } +} +.cptm-schema-tab-wrapper input[type="radio"]:checked { + background-color: #3e62f5 !important; + border-color: #3e62f5 !important; +} +.cptm-schema-tab-wrapper input[type="radio"]:checked::before { + background-color: white !important; +} +.cptm-schema-tab-item { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding: 12px 16px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 6px; + border-radius: 8px; + border: 1px solid rgba(0, 17, 102, 0.1); + background-color: #fff; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +@media screen and (max-width: 782px) { + .cptm-schema-tab-item { + width: 100%; + } +} +.cptm-schema-tab-item input[type="radio"] { + -webkit-box-shadow: none; + box-shadow: none; +} +@media screen and (max-width: 782px) { + .cptm-schema-tab-item input[type="radio"] { + width: 16px; + height: 16px; + } + .cptm-schema-tab-item input[type="radio"]:checked:before { + width: 0.5rem; + height: 0.5rem; + margin: 3px 3px; + line-height: 1.14285714; + } +} +.cptm-schema-tab-item.active { + border-color: #3e62f5 !important; + background-color: #f0f3ff; +} +.cptm-schema-tab-item.active .cptm-schema-label-wrapper { + color: #3e62f5 !important; +} +.cptm-schema-multi-directory-disabled .cptm-schema-tab-item:last-child { + cursor: not-allowed; + opacity: 0.5; + pointer-events: none; +} +.cptm-schema-multi-directory-disabled + .cptm-schema-tab-item:last-child + .cptm-schema-label-badge { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; +} +.cptm-schema-label-wrapper { + color: rgba(0, 6, 38, 0.9) !important; + font-size: 14px !important; + font-style: normal; + font-weight: 600 !important; + line-height: 20px; + cursor: pointer; + margin: 0 !important; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-schema .cptm-schema-label { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 6px; +} +.cptm-schema-label-badge { + display: none; + height: 20px; + padding: 0px 8px; + border-radius: 4px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + background-color: #e3ecf2; + color: rgba(0, 8, 51, 0.65); + font-size: 12px; + font-style: normal; + font-weight: 500; + line-height: 16px; + letter-spacing: 0.12px; +} +.cptm-schema-label-description { + color: rgba(0, 8, 51, 0.65); + font-size: 12px !important; + font-style: normal; + font-weight: 400; + line-height: 18px; + margin-top: 2px; +} + +#listing_settings__listings_page .cptm-checkbox-item:not(:last-child) { + margin-bottom: 10px; +} + +input[type="checkbox"].cptm-checkbox { + display: none; +} +input[type="checkbox"].cptm-checkbox:checked + .cptm-checkbox-ui { + color: #3e62f5; +} +input[type="checkbox"].cptm-checkbox:checked + .cptm-checkbox-ui::before { + font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands"; + font-weight: 900; + color: #fff; + content: "\f00c"; + z-index: 22; +} +input[type="checkbox"].cptm-checkbox:checked + .cptm-checkbox-ui:after { + background-color: #00b158; + border-color: #00b158; + z-index: -1; +} + +input[type="radio"].cptm-radio { + margin-top: 1px; +} + +.cptm-form-range-wrap { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-form-range-wrap .cptm-form-range-bar { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} +.cptm-form-range-wrap .cptm-form-range-output { + width: 30px; +} +.cptm-form-range-wrap .cptm-form-range-output-text { + padding: 10px 20px; + background-color: #fff; +} + +.cptm-checkbox-ui { + display: inline-block; + min-width: 16px; + position: relative; + z-index: 1; + margin-left: 12px; +} +.cptm-checkbox-ui::before { + font-size: 10px; + line-height: 1; + font-weight: 900; + display: inline-block; + margin-right: 4px; +} +.cptm-checkbox-ui:after { + position: absolute; + right: 0; + top: 0; + width: 18px; + height: 18px; + border-radius: 4px; + border: 1px solid #c6d0dc; + content: ""; +} + +.cptm-vh { + overflow: hidden; + overflow-y: auto; + max-height: 100vh; +} + +.cptm-thumbnail { + max-width: 350px; + width: 100%; + height: auto; + margin-bottom: 20px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + background-color: #f2f2f2; +} +.cptm-thumbnail img { + display: block; + width: 100%; + height: auto; +} + +.cptm-thumbnail-placeholder { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; +} + +.cptm-thumbnail-placeholder-icon { + font-size: 40px; + color: #d2d6db; +} +.cptm-thumbnail-placeholder-icon svg { + width: 40px; + height: 40px; +} + +.cptm-thumbnail-img-wrap { + position: relative; +} + +.cptm-thumbnail-action { + display: inline-block; + position: absolute; + top: 0; + left: 0; + background-color: #c6c6c6; + padding: 5px 8px; + border-radius: 50%; + margin: 10px; + cursor: pointer; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} + +.cptm-sub-navigation { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + margin: 0 auto 10px; + padding: 3px 4px; + background: #e5e7eb; + border-radius: 6px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +@media only screen and (max-width: 480px) { + .cptm-sub-navigation { + padding: 10px; + } +} + +.cptm-sub-nav__item { + list-style: none; + margin: 0; +} + +.cptm-sub-nav__item-link { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 7px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + text-decoration: none; + height: 32px; + padding: 0 10px; + color: #4d5761; + font-size: 14px; + line-height: 14px; + font-weight: 500; + border-radius: 4px; + -webkit-transition: 0.3s ease; + transition: 0.3s ease; +} +.cptm-sub-nav__item-link .cptm-sub-nav__item-tooltip { + padding: 0 10px; + margin-left: -10px; + height: 32px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + background: transparent; + color: #4d5761; + border-radius: 4px 0 0 4px; +} +.cptm-sub-nav__item-link .cptm-sub-nav__item-tooltip svg path { + stroke: #4d5761; +} +.cptm-sub-nav__item-link .cptm-sub-nav__item-tooltip:hover { + background: #f9f9f9; +} +.cptm-sub-nav__item-link .cptm-sub-nav__item-icon { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + font-size: 24px; + color: #4d5761; +} +.cptm-sub-nav__item-link .cptm-sub-nav__item-icon svg { + width: 24px; + height: 24px; +} +.cptm-sub-nav__item-link .cptm-sub-nav__item-icon svg path { + stroke: #4d5761; +} +.cptm-sub-nav__item-link.active { + color: #141921; + background: #ffffff; +} +.cptm-sub-nav__item-link.active .cptm-sub-nav__item-icon svg path { + stroke: #141921; +} +.cptm-sub-nav__item-link.active .cptm-sub-nav__item-tooltip svg path { + stroke: #141921; +} +.cptm-sub-nav__item-link:hover:not(.active) { + color: #141921; + background: #ffffff; +} + +.cptm-builder-section { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + position: relative; +} +@media only screen and (max-width: 1199px) { + .cptm-builder-section { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + } +} + +.cptm-options-area { + width: 320px; + margin: 0; +} + +.cptm-option-card { + display: none; + opacity: 0; + position: relative; + border-radius: 5px; + text-align: right; + -webkit-transform-origin: center; + transform-origin: center; + background: #ffffff; + border-radius: 4px; + -webkit-box-shadow: 0 8px 16px 0 rgba(16, 24, 40, 0.1); + box-shadow: 0 8px 16px 0 rgba(16, 24, 40, 0.1); + -webkit-transition: all linear 300ms; + transition: all linear 300ms; + pointer-events: none; +} +.cptm-option-card:before { + content: ""; + border-bottom: 7px solid #ffffff; + border-right: 7px solid transparent; + border-left: 7px solid transparent; + position: absolute; + top: -6px; + left: 22px; +} +.cptm-option-card.cptm-animation-flip { + -webkit-transform: rotate3d(0, -1, 0, -45deg); + transform: rotate3d(0, -1, 0, -45deg); +} +.cptm-option-card.cptm-animation-slide-up { + -webkit-transform: translate(0, 30px); + transform: translate(0, 30px); +} +.cptm-option-card.active { + display: block; + opacity: 1; + pointer-events: all; +} +.cptm-option-card.active.cptm-animation-flip { + -webkit-transform: rotate3d(0, 0, 0, 0deg); + transform: rotate3d(0, 0, 0, 0deg); +} +.cptm-option-card.active.cptm-animation-slide-up { + -webkit-transform: translate(0, 0); + transform: translate(0, 0); +} + +.cptm-anchor-down { + display: block; + text-align: center; + position: relative; + top: -1px; +} +.cptm-anchor-down:after { + content: ""; + display: inline-block; + width: 0; + height: 0; + border-right: 15px solid transparent; + border-left: 15px solid transparent; + border-top: 15px solid #fff; +} + +.cptm-header-action-link { + display: inline-block; + padding: 0 10px; + text-decoration: none; + color: #2c3239; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-header-action-link:hover { + color: #1890ff; +} + +.cptm-option-card-header { + padding: 8px 16px; + border-bottom: 1px solid #e5e7eb; +} + +.cptm-option-card-header-title-section { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.cptm-option-card-header-title { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + margin: 0; + text-align: right; + font-size: 14px; + font-weight: 600; + line-height: 24px; + color: #141921; +} + +.cptm-header-action-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding: 0 10px 0 0; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.cptm-option-card-header-nav-section { + display: block; +} + +.cptm-option-card-header-nav { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + color: #fff; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + padding: 0; + margin: 0; + background-color: rgba(255, 255, 255, 0.15); +} + +.cptm-option-card-header-nav-item { + display: block; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + text-align: center; + padding: 8px 10px; + cursor: pointer; + margin-bottom: 0; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-option-card-header-nav-item.active { + background-color: rgba(255, 255, 255, 0.15); +} + +.cptm-option-card-body { + padding: 16px; + max-height: 500px; + overflow-y: auto; +} +.cptm-option-card-body .cptm-form-group:last-child { + margin-bottom: 0; +} +.cptm-option-card-body .cptm-input-toggle-wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 12px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-orient: horizontal; + -webkit-box-direction: reverse; + -webkit-flex-direction: row-reverse; + -ms-flex-direction: row-reverse; + flex-direction: row-reverse; + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-option-card-body .cptm-input-toggle-wrap .cptm-input-toggle-content { + -webkit-box-flex: unset; + -webkit-flex: unset; + -ms-flex: unset; + flex: unset; +} +.cptm-option-card-body + .cptm-input-toggle-wrap + .cptm-input-toggle-content + label { + font-size: 14px; + font-weight: 500; + line-height: 20px; + color: #141921; +} +.cptm-option-card-body .directorist-type-icon-select { + margin-bottom: 20px; +} +.cptm-option-card-body .directorist-type-icon-select .icon-picker-selector { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.cptm-widget-actions, +.cptm-widget-actions-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 100%; + position: absolute; + bottom: 0; + right: 50%; + -webkit-transform: translate(50%, 3px); + transform: translate(50%, 3px); + -webkit-transition: all ease-in-out 0.3s; + transition: all ease-in-out 0.3s; + z-index: 1; +} + +.cptm-widget-actions-wrap { + position: relative; + width: 100%; +} + +.cptm-widget-action-modal-container { + position: absolute; + right: 50%; + top: 0; + width: 330px; + -webkit-transform: translate(50%, 20px); + transform: translate(50%, 20px); + pointer-events: none; + -webkit-box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15); + box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15); + -webkit-transition: -webkit-transform 0.3s ease; + transition: -webkit-transform 0.3s ease; + transition: transform 0.3s ease; + transition: + transform 0.3s ease, + -webkit-transform 0.3s ease; + z-index: 2; +} +.cptm-widget-action-modal-container.active { + pointer-events: all; + -webkit-transform: translate(50%, 10px); + transform: translate(50%, 10px); +} +@media only screen and (max-width: 480px) { + .cptm-widget-action-modal-container { + max-width: 250px; + } +} + +.cptm-widget-insert-modal-container .cptm-option-card:before { + left: 50%; + -webkit-transform: translateX(-50%); + transform: translateX(-50%); +} + +.cptm-widget-option-modal-container .cptm-option-card:before { + left: unset; + right: 50%; + -webkit-transform: translateX(50%); + transform: translateX(50%); +} +.cptm-widget-option-modal-container .cptm-option-card { + margin: 0; +} +.cptm-widget-option-modal-container .cptm-option-card-header { + background-color: #fff; + border: 1px solid #e5e7eb; +} +.cptm-widget-option-modal-container .cptm-header-action-link { + color: #2c3239; +} +.cptm-widget-option-modal-container .cptm-header-action-link:hover { + color: #1890ff; +} +.cptm-widget-option-modal-container .cptm-option-card-body { + background-color: #fff; + border: 1px solid #e5e7eb; + border-top: none; + -webkit-box-shadow: none; + box-shadow: none; +} +.cptm-widget-option-modal-container .cptm-option-card-header-title-section, +.cptm-widget-option-modal-container .cptm-option-card-header-title { + color: #2c3239; +} + +.cptm-widget-actions-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; +} + +.cptm-widget-action-link { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 28px; + height: 28px; + border-radius: 50%; + font-size: 16px; + text-align: center; + text-decoration: none; + background-color: #fff; + border: 1px solid #3e62f5; + color: #3e62f5; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-widget-action-link:focus { + outline: none; + -webkit-box-shadow: 0 0 0 2px #b4c2f9; + box-shadow: 0 0 0 2px #b4c2f9; +} +.cptm-widget-action-link:hover { + background-color: #3e62f5; + color: #fff; +} +.cptm-widget-action-link:hover svg path { + fill: #fff; +} + +.cptm-widget-card-drop-prepend { + border-radius: 8px; +} + +.cptm-widget-card-drop-append { + display: block; + width: 100%; + height: 0; + border-radius: 8px; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + background-color: transparent; + border: 1px dashed transparent; +} +.cptm-widget-card-drop-append.dropable { + margin: 3px 0; + height: 10px; + border-color: cornflowerblue; +} +.cptm-widget-card-drop-append.drag-enter { + background-color: cornflowerblue; +} + +.cptm-widget-card-wrap { + visibility: visible; +} +.cptm-widget-card-wrap.cptm-widget-card-disabled { + opacity: 0.3; + pointer-events: none; +} +.cptm-widget-card-wrap.cptm-widget-card-disabled.cptm-widget-title-card-wrap { + opacity: 1; +} +.cptm-widget-card-wrap.cptm-widget-card-disabled.cptm-widget-title-card-wrap + .cptm-widget-title-block { + opacity: 0.3; +} +.cptm-widget-card-wrap.cptm-widget-card-disabled.cptm-widget-thumb-card-wrap { + opacity: 1; +} +.cptm-widget-card-wrap.cptm-widget-card-disabled.cptm-widget-thumb-card-wrap + .cptm-widget-label, +.cptm-widget-card-wrap.cptm-widget-card-disabled.cptm-widget-thumb-card-wrap + .cptm-widget-thumb-icon { + opacity: 0.3; + color: #4d5761; +} +.cptm-widget-card-wrap.cptm-widget-card-disabled.cptm-widget-thumb-card-wrap + .cptm-widget-card-disabled-badge { + margin-top: 10px; +} +.cptm-widget-card-wrap .cptm-widget-card-disabled-badge { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + gap: 4px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + font-size: 12px; + line-height: 14px; + font-weight: 500; + padding: 0 6px; + height: 18px; + color: #853d0e; + background: #fdefce; + border-radius: 4px; +} +.cptm-widget-card-wrap.cptm-widget-title-card-wrap { + position: relative; + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 12px; + background-color: #fff; + border: 1px solid #e5e7eb; + border-radius: 4px; +} +.cptm-widget-card-wrap.cptm-widget-title-card-wrap .cptm-widget-title-card { + padding: 0; + font-size: 19px; + font-weight: 600; + line-height: 25px; + color: #141921; +} +.cptm-widget-card-wrap.cptm-widget-title-card-wrap + .cptm-widget-card-options-area + .cptm-form-group { + margin: 0; +} +.cptm-widget-card-wrap.cptm-widget-title-card-wrap + .cptm-widget-card-options-area + .cptm-input-toggle-wrap { + gap: 10px; + -webkit-box-orient: horizontal; + -webkit-box-direction: reverse; + -webkit-flex-direction: row-reverse; + -ms-flex-direction: row-reverse; + flex-direction: row-reverse; +} +.cptm-widget-card-wrap.cptm-widget-title-card-wrap + .cptm-widget-card-options-area + .cptm-input-toggle-wrap + label { + padding: 0; + font-size: 14px; + font-weight: 500; + line-height: 1.15; + color: #141921; +} +.cptm-widget-card-wrap.cptm-widget-title-card-wrap .cptm-widget-badge-trash { + position: absolute; + left: 12px; + top: 50%; + -webkit-transform: translateY(-50%); + transform: translateY(-50%); + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 20px; + height: 20px; + font-size: 14px; + color: #d94a4a; + background: #ffffff; + border: 1px solid #d94a4a; + border-radius: 50%; + cursor: pointer; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-widget-card-wrap.cptm-widget-title-card-wrap + .cptm-widget-badge-trash:hover { + color: #ffffff; + background: #d94a4a; +} + +.cptm-widget-card-inline-wrap { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + vertical-align: top; +} +.cptm-widget-card-inline-wrap .cptm-widget-card-drop-append { + display: inline-block; + width: 0; + height: auto; +} +.cptm-widget-card-inline-wrap .cptm-widget-card-drop-append.dropable { + margin: 0 3px; + width: 10px; + max-width: 10px; +} + +.cptm-widget-badge { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + gap: 4px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + color: #141921; + border-radius: 5px; + font-size: 12px; + font-weight: 400; + background-color: #ffffff; + -webkit-transition: 0.3s ease; + transition: 0.3s ease; + position: relative; + height: 32px; + padding: 0 10px; + border-radius: 4px; + background: #ffffff; + border: 1px solid #e5e7eb; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-widget-badge .cptm-widget-badge-icon, +.cptm-widget-badge .cptm-widget-badge-trash { + font-size: 16px; + color: #141921; +} +.cptm-widget-badge .cptm-widget-badge-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + gap: 4px; + height: 100%; +} +.cptm-widget-badge .cptm-widget-badge-label { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + text-align: right; +} +.cptm-widget-badge .cptm-widget-badge-trash { + margin-right: 4px; + cursor: pointer; + -webkit-transition: color ease 0.3s; + transition: color ease 0.3s; +} +.cptm-widget-badge .cptm-widget-badge-trash:hover { + color: #3e62f5; +} +.cptm-widget-badge.cptm-widget-badge--icon { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + padding: 0; + width: 22px; + height: 22px; + min-height: unset; + border-radius: 100%; +} +.cptm-widget-badge.cptm-widget-badge--icon .cptm-widget-badge-icon { + font-size: 12px; +} + +.cptm-preview-area { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} + +.cptm-preview-wrapper { + display: -webkit-box !important; + display: -webkit-flex !important; + display: -ms-flexbox !important; + display: flex !important; + gap: 25px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} +.cptm-preview-wrapper .cptm-preview-radio-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + max-width: 300px; +} +.cptm-preview-wrapper .cptm-preview-area-archive img { + max-height: 100px; +} + +.cptm-preview-notice { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 16px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + max-width: 658px; + margin: 40px auto; + padding: 20px 24px; + background: #f3f4f6; + border-radius: 10px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-preview-notice.cptm-preview-notice--list { + max-width: unset; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} +.cptm-preview-notice .cptm-preview-notice-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-preview-notice .cptm-preview-notice-content .cptm-preview-notice-text { + font-size: 12px; + font-weight: 400; + color: #2c3239; + margin: 0; +} +.cptm-preview-notice + .cptm-preview-notice-content + .cptm-preview-notice-text + strong { + color: #141921; + font-weight: 600; +} +.cptm-preview-notice .cptm-preview-notice-action .cptm-preview-notice-btn { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + height: 34px; + padding: 0 16px; + font-size: 13px; + font-weight: 500; + border-radius: 8px; + color: #747c89; + background: #ffffff; + border: 1px solid #d2d6db; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; +} +.cptm-preview-notice + .cptm-preview-notice-action + .cptm-preview-notice-btn:hover { + color: #3e62f5; + border-color: #3e62f5; +} +.cptm-preview-notice + .cptm-preview-notice-action + .cptm-preview-notice-btn:hover + svg + path { + fill: #3e62f5; +} + +.cptm-widget-thumb .cptm-widget-thumb-icon { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} +.cptm-widget-thumb .cptm-widget-thumb-icon i { + font-size: 133px; + color: #a1a9b2; +} +.cptm-widget-thumb .cptm-widget-label { + font-size: 16px; + line-height: 18px; + font-weight: 400; + color: #141921; +} + +.cptm-placeholder-block-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + position: relative; +} +.cptm-placeholder-block-wrapper:last-child { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-placeholder-block-wrapper .cptm-placeholder-block { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.cptm-placeholder-block-wrapper + .cptm-placeholder-block:not(.cptm-listing-card-preview-body-placeholder) + .cptm-widget-preview-card { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + vertical-align: top; +} +.cptm-placeholder-block-wrapper .cptm-widget-card-status { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 32px; + height: 32px; + margin-top: 4px; + background: #f3f4f6; + border-radius: 8px; + cursor: pointer; +} +.cptm-placeholder-block-wrapper .cptm-widget-card-status span { + color: #747c89; +} +.cptm-placeholder-block-wrapper .cptm-widget-card-status.disabled { + background: #d2d6db; +} +.cptm-placeholder-block-wrapper .cptm-listing-card-preview-top-placeholder { + padding: 12px; + min-height: 62px; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-preview-container { + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-preview-container + .dndrop-draggable-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + height: auto; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-preview-container + .cptm-widget-preview-card, +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-preview-container + .dndrop-draggable-wrapper-listing_title { + -webkit-transform: unset !important; + transform: unset !important; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-preview-container + .dndrop-draggable-wrapper-listing_title.animated { + z-index: 99999; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-placeholder-label { + top: 50%; + right: 50%; + -webkit-transform: translate(50%, -50%); + transform: translate(50%, -50%); + font-size: 14px; + font-weight: 400; + color: #4d5761; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-preview-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-preview-card-listing_title { + -webkit-box-flex: 0; + -webkit-flex: 0 0 100%; + -ms-flex: 0 0 100%; + flex: 0 0 100%; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-card { + height: 32px; + padding: 0 10px; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-card.cptm-widget-title-card { + padding: 0; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-card + .cptm-widget-badge-trash { + margin-right: 8px; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-tagline-placeholder + .cptm-placeholder-label, +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-rating-placeholder + .cptm-placeholder-label { + right: 12px; + -webkit-transform: translate(0, -50%); + transform: translate(0, -50%); + font-size: 13px; + font-weight: 400; + color: #4d5761; +} +.cptm-placeholder-block-wrapper + .cptm-placeholder-block.disabled + .cptm-placeholder-label { + color: #4d5761; + font-weight: 400; +} +.cptm-placeholder-block-wrapper + .cptm-widget-preview-container + .dndrop-draggable-wrapper { + overflow: visible !important; +} +.cptm-placeholder-block-wrapper + .cptm-widget-preview-container + .dndrop-draggable-wrapper.is-dragging { + opacity: 0; +} + +.cptm-placeholder-block { + position: relative; + padding: 8px; + background: #a1a9b2; + border: 1px dashed #d2d6db; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + -webkit-box-sizing: border-box; + box-sizing: border-box; + border-radius: 4px; +} +.cptm-placeholder-block:hover, +.cptm-placeholder-block.drag-enter, +.cptm-placeholder-block.cptm-widget-picker-open { + border-color: rgb(255, 255, 255); +} +.cptm-placeholder-block:hover .cptm-widget-insert-area, +.cptm-placeholder-block.drag-enter .cptm-widget-insert-area, +.cptm-placeholder-block.cptm-widget-picker-open .cptm-widget-insert-area { + opacity: 1; + visibility: visible; +} +.cptm-placeholder-block.cptm-listing-card-author-avatar-placeholder { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; +} +.cptm-placeholder-block.cptm-widget-picker-open { + z-index: 100; +} + +.cptm-placeholder-label { + margin: 0; + text-align: center; + margin-bottom: 0; + text-align: center; + position: absolute; + right: 50%; + top: 50%; + -webkit-transform: translate(50%, -50%); + transform: translate(50%, -50%); + z-index: 0; + color: rgba(255, 255, 255, 0.4); + font-size: 14px; + font-weight: 500; +} +.cptm-placeholder-label.hide { + display: none; +} + +.cptm-listing-card-preview-footer .cptm-placeholder-label { + color: #868eae; +} + +.dndrop-ghost.dndrop-draggable-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + height: auto; +} +.dndrop-ghost.dndrop-draggable-wrapper + .cptm-form-builder-field-list-item-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 12px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + margin: 0; +} +.dndrop-ghost.dndrop-draggable-wrapper .cptm-form-builder-field-list-item { + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + border-radius: 8px; + border-color: #e5e7eb; + background: transparent; +} +.dndrop-ghost.dndrop-draggable-wrapper + .cptm-form-builder-field-list-item-content { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} + +.cptm-center-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + height: 100%; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-center-content.cptm-content-wide * { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} + +.cptm-mb-10 { + margin-bottom: 10px !important; +} + +.cptm-mb-12 { + margin-bottom: 12px !important; +} + +.cptm-mb-20 { + margin-bottom: 20px !important; +} + +.cptm-listing-card-body-header { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} + +.cptm-align-left { + text-align: right; +} + +.cptm-listing-card-body-header-left { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} + +.cptm-listing-card-body-header-right { + width: 100px; + margin-right: 10px; +} + +.cptm-card-preview-area-wrap { + max-width: 450px; + margin: 0 auto; +} + +.cptm-card-preview-widget { + max-width: 450px; + margin: 0 auto; + padding: 24px; + background-color: #fff; + border: 1.5px solid rgba(0, 17, 102, 0.1019607843); + border-top: none; + border-radius: 0 0 24px 24px; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-box-shadow: 0 8px 16px 0 rgba(16, 24, 40, 0.1019607843); + box-shadow: 0 8px 16px 0 rgba(16, 24, 40, 0.1019607843); +} +.cptm-card-preview-widget.cptm-card-list-view { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + max-width: 100%; + height: 100%; +} +@media only screen and (max-width: 480px) { + .cptm-card-preview-widget.cptm-card-list-view { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + } +} +.cptm-card-preview-widget.cptm-card-list-view .cptm-card-preview-thumbnail { + height: 100%; +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-listing-card-preview-header { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + height: 100% !important; + max-width: 184px; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-box-align: stretch; + -webkit-align-items: stretch; + -ms-flex-align: stretch; + align-items: stretch; + border-radius: 0 4px 4px 0 !important; +} +@media only screen and (max-width: 480px) { + .cptm-card-preview-widget.cptm-card-list-view + .cptm-listing-card-preview-header { + max-width: 100%; + border-radius: 4px 4px 0 0 !important; + } + .cptm-card-preview-widget.cptm-card-list-view + .cptm-listing-card-preview-header + .cptm-card-preview-thumbnail { + min-height: 350px; + } +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-widget-option-modal-container { + top: unset; + bottom: 100%; +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-card-preview-top-right + .cptm-widget-option-modal-container, +.cptm-card-preview-widget.cptm-card-list-view + .cptm-card-placeholder-top-left + .cptm-widget-option-modal-container, +.cptm-card-preview-widget.cptm-card-list-view + .cptm-card-placeholder-top-right + .cptm-widget-option-modal-container { + bottom: unset; + top: 100%; +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-placeholder-author-thumb + img { + width: 22px; + height: 22px; + border-radius: 50%; +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-widget-preview-card-user_avatar + .cptm-widget-card-wrap { + min-width: 100px; +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-widget-preview-card-user_avatar + .cptm-widget-card { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + border-radius: 4px; + background: #ffffff; + border: 1px solid #e5e7eb; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-widget-preview-card-user_avatar + .cptm-placeholder-author-thumb { + width: 100%; + padding: 0 10px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 16px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-widget-preview-card-user_avatar + .cptm-placeholder-author-thumb + > svg { + width: 20px; + height: 20px; +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-widget-preview-card-user_avatar + .cptm-placeholder-author-thumb + .cptm-placeholder-author-thumb-trash { + position: unset; + -webkit-transform: unset; + transform: unset; + width: 20px; + height: 20px; + font-size: 12px; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-widget-card + .cptm-widget-card-disabled-badge { + display: none; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-preview-body { + padding-top: 62px; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-preview-body.has-avatar { + padding-top: 0; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-preview-body.has-avatar + .cptm-listing-card-author-avatar { + position: relative; + top: -14px; + -webkit-transform: unset; + transform: unset; + padding-bottom: 12px; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled { + width: 100%; + height: auto; + border: 1px dashed #d2d6db; + border-radius: 4px !important; + padding: 12px !important; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-box-pack: start; + -webkit-justify-content: flex-start; + -ms-flex-pack: start; + justify-content: flex-start; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-widget-preview-card { + width: 100%; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-widget-card-wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 24px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-placeholder-author-thumb { + width: 48px; + height: 48px; + padding: 0; + margin: 0; + background-color: #ffffff; + border-radius: 50%; + border: 1px dashed #d2d6db; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-placeholder-author-thumb + .cptm-placeholder-author-thumb-trash { + bottom: -12px; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-form-group { + margin: 0; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-preview-radio-area + > label { + display: none; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-preview-radio-area + .cptm-radio-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 20px; + -webkit-box-orient: horizontal; + -webkit-box-direction: reverse; + -webkit-flex-direction: row-reverse; + -ms-flex-direction: row-reverse; + flex-direction: row-reverse; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-preview-radio-area + .cptm-radio-area + .cptm-radio-item { + margin: 0; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-preview-radio-area + .cptm-radio-area + label { + margin: 0; + font-size: 12px; + font-weight: 500; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-preview-radio-area + .cptm-radio-area + input[type="radio"] { + margin: 0 0 0 6px; + background-color: #ffffff; + border: 2px solid #a1a9b2; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-preview-radio-area + .cptm-radio-area + input[type="radio"]:before { + display: none; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-preview-radio-area + .cptm-radio-area + input[type="radio"]:checked { + border: 5px solid #3e62f5; +} +.cptm-card-preview-widget.grid-view-without-thumbnail + .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-card-preview-widget.list-view-with-thumbnail + .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-card-preview-widget.list-view-with-thumbnail + .dndrop-draggable-wrapper-listing_title, +.cptm-card-preview-widget.list-view-with-thumbnail + .cptm-widget-preview-card-listing_title { + width: 100%; +} +.cptm-card-preview-widget.list-view-with-thumbnail + .cptm-card-preview-top-right { + width: 140px; +} +.cptm-card-preview-widget.list-view-with-thumbnail + .cptm-card-placeholder-top + .cptm-card-placeholder-top-left { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.cptm-card-preview-widget.list-view-with-thumbnail + .cptm-card-placeholder-top + .cptm-card-placeholder-top-right { + width: 127px; +} +@media only screen and (max-width: 480px) { + .cptm-card-preview-widget.list-view-with-thumbnail + .cptm-card-placeholder-top + .cptm-card-placeholder-top-right { + width: auto; + } +} +.cptm-card-preview-widget.list-view-with-thumbnail + .cptm-listing-card-preview-footer + .cptm-placeholder-block { + padding-bottom: 32px; +} +.cptm-card-preview-widget.list-view-with-thumbnail + .cptm-listing-card-preview-footer + .cptm-widget-card-wrap { + padding: 0; +} +.cptm-card-preview-widget .cptm-options-area { + position: absolute; + top: 38px; + right: unset; + left: 30px; + z-index: 100; +} + +.cptm-field-wraper-key-single_listing_header .cptm-card-preview-area-wrap, +.cptm-field-wraper-key-single_listing_header .cptm-card-preview-widget { + max-width: 750px; +} + +.cptm-listing-card-content { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} + +.cptm-card-preview-thumbnail { + position: relative; + height: 100%; +} + +.cptm-card-preview-thumbnail-placeholer { + height: 100%; +} + +.cptm-card-preview-thumbnail-placeholder { + height: 100%; + text-align: center; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.cptm-listing-card-preview-quick-info-placeholder { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} + +.cptm-card-preview-thumbnail-bg { + position: absolute; + right: 50%; + top: 50%; + -webkit-transform: translate(50%, -50%); + transform: translate(50%, -50%); + font-size: 72px; + color: #7b7d8b; +} + +.cptm-card-preview-thumbnail-bg span { + color: rgba(255, 255, 255, 0.1); +} + +.cptm-card-preview-bottom-right-placeholder { + display: block; + text-align: left; +} + +.cptm-listing-card-preview-body { + display: block; + padding: 16px; + position: relative; +} + +.cptm-listing-card-author-avatar { + z-index: 1; + position: absolute; + right: 0; + top: 0; + -webkit-transform: translate(-16px, -14px); + transform: translate(-16px, -14px); + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-listing-card-author-avatar .cptm-placeholder-block { + height: 64px; + width: 64px; + padding: 8px !important; + margin: 0 !important; + min-height: unset !important; + border-radius: 50% !important; + border: 1px dashed #a1a9b2; +} +.cptm-listing-card-author-avatar + .cptm-placeholder-block + .cptm-placeholder-label { + font-size: 14px; + line-height: 1.15; + font-weight: 500; + color: #141921; + background: transparent; + padding: 0; + border-radius: 0; + top: 8px; + -webkit-transform: translate(50%, 0); + transform: translate(50%, 0); +} + +.cptm-placeholder-author-thumb { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin: 0; +} +.cptm-placeholder-author-thumb img { + width: 32px; + height: 32px; + border-radius: 50%; + -o-object-fit: cover; + object-fit: cover; + background-color: transparent; + border: 2px solid #fff; +} +.cptm-placeholder-author-thumb .cptm-placeholder-author-thumb-trash { + position: absolute; + bottom: -18px; + right: 50%; + -webkit-transform: translateX(50%); + transform: translateX(50%); + width: 22px; + height: 22px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + font-size: 14px; + color: #d94a4a; + background: #ffffff; + border: 1px solid #d94a4a; + border-radius: 50%; + -webkit-box-sizing: border-box; + box-sizing: border-box; + cursor: pointer; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; +} +.cptm-placeholder-author-thumb .cptm-placeholder-author-thumb-trash:hover { + color: #ffffff; + background: #d94a4a; +} + +.cptm-widget-title-card { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + padding: 6px 10px; + text-align: right; + font-size: 16px; + line-height: 22px; + font-weight: 600; + color: #141921; +} + +.cptm-widget-tagline-card { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + padding: 6px 10px; + text-align: right; + font-size: 13px; + font-weight: 400; + color: #4d5761; +} + +.cptm-has-widget-control { + position: relative; +} +.cptm-has-widget-control:hover .cptm-widget-control-wrap { + visibility: visible; + pointer-events: all; + opacity: 1; +} + +.cptm-form-group-row { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} + +.cptm-form-group-col { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-basis: 50%; + -ms-flex-preferred-size: 50%; + flex-basis: 50%; +} + +.cptm-form-group-info { + font-size: 12px; + font-weight: 400; + color: #747c89; + margin: 0; +} + +.cptm-widget-actions-tools { + position: absolute; + width: 75px; + background-color: #2c99ff; + right: 50%; + -webkit-transform: translateX(50%); + transform: translateX(50%); + top: -40px; + padding: 5px; + border: 3px solid #2c99ff; + border-radius: 1px 1px 0 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + visibility: hidden; + opacity: 0; + pointer-events: none; + -webkit-transition: 0.3s ease; + transition: 0.3s ease; + z-index: 9999; +} +.cptm-widget-actions-tools a { + padding: 0 6px; + font-size: 12px; + color: #fff; +} + +.cptm-widget-control-wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + visibility: hidden; + opacity: 0; + position: absolute; + right: 0; + left: 0; + width: 100%; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + top: 1px; + pointer-events: none; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + z-index: 99; +} + +.cptm-widget-control { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding-bottom: 10px; + -webkit-transform: translate(0%, -100%); + transform: translate(0%, -100%); +} +.cptm-widget-control::after { + content: ""; + display: inline-block; + margin: 0 auto; + border-right: 10px solid transparent; + border-left: 10px solid transparent; + border-top: 10px solid #3e62f5; + position: absolute; + bottom: 2px; + right: 50%; + -webkit-transform: translate(50%, 0); + transform: translate(50%, 0); + z-index: -1; +} +.cptm-widget-control .cptm-widget-control-action:first-child { + border-top-right-radius: 5px; + border-bottom-right-radius: 5px; +} +.cptm-widget-control .cptm-widget-control-action:last-child { + border-top-left-radius: 5px; + border-bottom-left-radius: 5px; +} + +.hide { + display: none; +} + +.cptm-widget-control-action { + display: inline-block; + padding: 5px 8px; + color: #fff; + font-size: 12px; + cursor: pointer; + background-color: #3e62f5; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-widget-control-action:hover { + background-color: #0e3bf2; +} + +.cptm-card-preview-top-left { + width: calc(50% - 4px); + position: absolute; + top: 0; + right: 0; +} + +.cptm-card-preview-top-left-placeholder { + display: block; + text-align: right; +} +.cptm-card-preview-top-left-placeholder .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.cptm-card-preview-top-right { + position: absolute; + left: 0; + top: 0; + width: calc(50% - 4px); +} +.cptm-card-preview-top-right .cptm-widget-preview-area { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-card-preview-top-right + .cptm-widget-preview-area + .cptm-widget-preview-container { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-card-preview-top-right .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.cptm-card-preview-top-right-placeholder { + text-align: left; +} +.cptm-card-preview-top-right-placeholder .cptm-widget-preview-area { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-card-preview-top-right-placeholder + .cptm-widget-preview-area + .cptm-widget-preview-container { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-card-preview-top-right-placeholder .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.cptm-card-preview-bottom-left { + position: absolute; + width: calc(50% - 4px); + bottom: 0; + right: 0; +} +.cptm-card-preview-bottom-left .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-card-preview-bottom-left .cptm-widget-option-modal-container { + top: unset; + bottom: 20px; +} +.cptm-card-preview-bottom-left + .cptm-widget-option-modal-container + .cptm-option-card:before { + top: unset; + bottom: -6px; +} + +.cptm-card-preview-bottom-left-placeholder { + display: block; + text-align: right; +} + +.cptm-card-preview-bottom-right { + position: absolute; + bottom: 0; + left: 0; + width: calc(50% - 4px); +} +.cptm-card-preview-bottom-right .cptm-widget-preview-area { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-card-preview-bottom-right + .cptm-widget-preview-area + .cptm-widget-preview-container { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-card-preview-bottom-right .cptm-widget-option-modal-container { + top: unset; + bottom: 20px; +} +.cptm-card-preview-bottom-right + .cptm-widget-option-modal-container + .cptm-option-card:before { + top: unset; + bottom: -6px; + border-bottom: unset; + border-top: 7px solid #ffffff; +} + +.cptm-card-preview-body .cptm-widget-option-modal-container, +.cptm-card-preview-badges .cptm-widget-option-modal-container { + right: unset; + -webkit-transform: unset; + transform: unset; + left: calc(100% + 57px); +} + +.grid-view-without-thumbnail .cptm-input-toggle { + width: 28px; + height: 16px; +} +.grid-view-without-thumbnail .cptm-input-toggle:after { + width: 12px; + height: 12px; + margin: 2px; +} +.grid-view-without-thumbnail .cptm-input-toggle.active::after { + -webkit-transform: translateX(calc(-1 * (-100% - 4px))); + transform: translateX(calc(-1 * (-100% - 4px))); +} +.grid-view-without-thumbnail .cptm-card-preview-widget-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 12px; + padding: 20px; +} +@media only screen and (max-width: 480px) { + .grid-view-without-thumbnail .cptm-card-preview-widget-content { + -webkit-box-sizing: border-box; + box-sizing: border-box; + } +} +.grid-view-without-thumbnail .cptm-card-placeholder-top { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 12px; +} +@media only screen and (max-width: 480px) { + .grid-view-without-thumbnail .cptm-card-placeholder-top { + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + } + .grid-view-without-thumbnail + .cptm-card-placeholder-top + .cptm-listing-card-quick-actions { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + width: 100%; + } +} +.grid-view-without-thumbnail + .cptm-card-placeholder-top + .cptm-listing-card-quick-actions + .cptm-placeholder-block { + padding-bottom: 32px !important; +} +.grid-view-without-thumbnail + .cptm-card-placeholder-top + .cptm-widget-preview-card-listing_title + .cptm-widget-badge-trash { + left: 0; +} +.grid-view-without-thumbnail .cptm-listing-card-preview-body { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 12px; + padding: 0; +} +.grid-view-without-thumbnail + .cptm-listing-card-preview-body + .cptm-placeholder-block { + min-height: 48px !important; +} +.grid-view-without-thumbnail + .cptm-listing-card-preview-body + .cptm-listing-card-preview-body-placeholder { + min-height: 160px !important; +} +.grid-view-without-thumbnail .cptm-listing-card-preview-footer { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + padding: 0; +} +.grid-view-without-thumbnail .cptm-listing-card-author-avatar { + position: unset; + -webkit-transform: unset; + transform: unset; +} +.grid-view-without-thumbnail + .cptm-listing-card-author-avatar + .cptm-placeholder-block-wrapper { + -webkit-box-pack: start; + -webkit-justify-content: flex-start; + -ms-flex-pack: start; + justify-content: flex-start; +} +.grid-view-without-thumbnail + .cptm-listing-card-author-avatar + .cptm-listing-card-author-avatar-placeholder { + -webkit-box-flex: unset; + -webkit-flex: unset; + -ms-flex: unset; + flex: unset; +} +.grid-view-without-thumbnail .cptm-listing-card-quick-actions { + width: 135px; +} +.grid-view-without-thumbnail .cptm-listing-card-title { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.grid-view-without-thumbnail + .cptm-listing-card-title + .cptm-widget-preview-card-listing_title { + width: 100%; +} +.grid-view-without-thumbnail + .cptm-listing-card-title + .cptm-widget-preview-card-listing_title + .cptm-widget-title-card-wrap { + padding: 0; + border: none; + -webkit-box-shadow: none; + box-shadow: none; + background: transparent; +} +.grid-view-without-thumbnail + .cptm-listing-card-title + .cptm-widget-preview-card-listing_title + .cptm-widget-title-card-wrap + .cptm-widget-title-card { + font-size: 14px; + line-height: 19px; + font-weight: 600; +} +.grid-view-without-thumbnail + .cptm-listing-card-title + .cptm-widget-preview-area { + padding: 8px; + background: #fff; + border-radius: 4px; + border: 1px solid #e5e7eb; + -webkit-box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05); + box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05); +} + +.list-view-without-thumbnail .cptm-card-preview-widget-content { + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 12px; + padding: 20px; +} +@media only screen and (max-width: 480px) { + .list-view-without-thumbnail .cptm-card-preview-widget-content { + -webkit-box-sizing: border-box; + box-sizing: border-box; + } +} +.list-view-without-thumbnail .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.list-view-without-thumbnail + .cptm-widget-preview-container.dndrop-container.horizontal { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} +.list-view-without-thumbnail .cptm-listing-card-preview-top { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.list-view-without-thumbnail + .cptm-listing-card-preview-top + .cptm-placeholder-block { + min-height: 60px !important; +} +.list-view-without-thumbnail + .cptm-listing-card-preview-top + .cptm-listing-card-preview-top-left { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.list-view-without-thumbnail + .cptm-listing-card-preview-top + .cptm-listing-card-preview-top-left + .dndrop-draggable-wrapper-listing_title { + -webkit-box-flex: 0; + -webkit-flex: 0 0 100%; + -ms-flex: 0 0 100%; + flex: 0 0 100%; +} +.list-view-without-thumbnail + .cptm-listing-card-preview-top + .cptm-listing-card-preview-top-left + .cptm-widget-preview-card-listing_title { + width: 100%; +} +.list-view-without-thumbnail + .cptm-listing-card-preview-top + .cptm-listing-card-preview-top-right { + width: 127px; +} +@media only screen and (max-width: 480px) { + .list-view-without-thumbnail + .cptm-listing-card-preview-top + .cptm-listing-card-preview-top-right { + width: auto; + } +} +.list-view-without-thumbnail .cptm-listing-card-preview-body { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 12px; + padding: 0; +} +.list-view-without-thumbnail .cptm-listing-card-preview-footer { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + padding: 0; +} + +.cptm-card-placeholder-top { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 12px; +} +@media only screen and (max-width: 480px) { + .cptm-card-placeholder-top { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + } +} + +.cptm-listing-card-preview-footer { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 22px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + padding: 0 16px 24px; +} +.cptm-listing-card-preview-footer .cptm-widget-preview-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-listing-card-preview-footer .cptm-widget-preview-area .cptm-widget-card { + font-size: 12px; + font-weight: 400; + gap: 4px; + width: 100%; + height: 32px; +} +.cptm-listing-card-preview-footer + .cptm-widget-preview-area + .cptm-widget-badge-icon { + font-size: 16px; + color: #141921; +} +.cptm-listing-card-preview-footer + .cptm-widget-preview-area + .cptm-widget-badge-trash { + font-size: 16px; + color: #141921; +} +.cptm-listing-card-preview-footer + .cptm-widget-preview-area + .cptm-widget-preview-card { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.cptm-listing-card-preview-footer .cptm-placeholder-block-wrapper { + height: 100%; +} + +.cptm-card-preview-footer-left { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} + +.cptm-card-preview-footer-right { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} + +.cptm-listing-card-preview-body-placeholder { + padding: 12px 12px 32px; + min-height: 160px !important; + border-color: #a1a9b2; +} +.cptm-listing-card-preview-body-placeholder .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} +.cptm-listing-card-preview-body-placeholder .cptm-placeholder-label { + color: #141921; +} +.cptm-listing-card-preview-body-placeholder .cptm-widget-preview-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} +.cptm-listing-card-preview-body-placeholder .cptm-widget-preview-card { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + padding: 0 12px; + color: #141921; + background: #ffffff; + height: 42px; + font-size: 14px; + line-height: 1.15; + font-weight: 500; + border-radius: 4px; + border: 1px solid #e5e7eb; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-listing-card-preview-body-placeholder .cptm-widget-preview-card.active, +.cptm-listing-card-preview-body-placeholder .cptm-widget-preview-card:hover { + background: #f3f4f6; + border-color: #d2d6db; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card.active + .cptm-list-item-actions, +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card:hover + .cptm-list-item-actions { + opacity: 1; + visibility: visible; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card.active + .cptm-list-item-edit { + background: #e5e7eb; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-widget-card-wrap { + width: 100%; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-list-item-icon { + font-size: 20px; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-list-item { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-list-item-content { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-list-item-actions { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + opacity: 0; + visibility: hidden; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-list-item-actions + .cptm-list-item-action { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 32px; + height: 32px; + border-radius: 100%; + cursor: pointer; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-list-item-actions + .cptm-list-item-action + span { + font-size: 20px; + color: #141921; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-list-item-actions + .cptm-list-item-action:hover, +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-list-item-actions + .cptm-list-item-action.active { + background: #e5e7eb; +} + +.cptm-listing-card-preview-footer-left-placeholder { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + border-color: #c6d0dc; + text-align: right; +} +.cptm-listing-card-preview-footer-left-placeholder:hover, +.cptm-listing-card-preview-footer-left-placeholder.drag-enter { + border-color: #1e1e1e; +} +.cptm-listing-card-preview-footer-left-placeholder + .cptm-widget-preview-container { + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} +.cptm-listing-card-preview-footer-left-placeholder + .cptm-widget-preview-container + .cptm-widget-preview-card { + width: 100%; +} + +.cptm-listing-card-preview-footer-right-placeholder { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + border-color: #c6d0dc; + text-align: left; +} +.cptm-listing-card-preview-footer-right-placeholder:hover, +.cptm-listing-card-preview-footer-right-placeholder.drag-enter { + border-color: #1e1e1e; +} +.cptm-listing-card-preview-footer-right-placeholder + .cptm-widget-preview-container { + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} +.cptm-listing-card-preview-footer-right-placeholder + .cptm-widget-preview-container + .cptm-widget-preview-card { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-listing-card-preview-footer-right-placeholder .cptm-widget-preview-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} + +.cptm-widget-preview-area .cptm-widget-preview-card { + position: relative; +} +.cptm-widget-preview-area + .cptm-widget-preview-card + .cptm-widget-preview-card-actions { + position: absolute; + bottom: 100%; + right: 50%; + -webkit-transform: translate(50%, -7px); + transform: translate(50%, -7px); + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + padding: 6px 12px; + background: #ffffff; + border-radius: 4px; + border: 1px solid #e5e7eb; + -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); + box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + z-index: 1; +} +.cptm-widget-preview-area + .cptm-widget-preview-card + .cptm-widget-preview-card-actions:before { + content: ""; + border-top: 7px solid #ffffff; + border-right: 7px solid transparent; + border-left: 7px solid transparent; + position: absolute; + bottom: -7px; + right: 50%; + -webkit-transform: translateX(50%); + transform: translateX(50%); +} +.cptm-widget-preview-area + .cptm-widget-preview-card + .cptm-widget-preview-card-actions + .cptm-widget-action-link { + width: auto; + height: auto; + border: none; + background: transparent; + color: #141921; + cursor: pointer; +} +.cptm-widget-preview-area + .cptm-widget-preview-card + .cptm-widget-preview-card-actions + .cptm-widget-action-link:hover, +.cptm-widget-preview-area + .cptm-widget-preview-card + .cptm-widget-preview-card-actions + .cptm-widget-action-link:focus { + background: transparent; + color: #3e62f5; +} +.cptm-widget-preview-area + .cptm-widget-preview-card + .cptm-widget-preview-card-actions + .widget-drag-handle:hover { + color: #3e62f5; +} + +.widget-drag-handle { + cursor: move; +} + +.cptm-card-light.cptm-placeholder-block { + border-color: #d2d6db; + background: #f9fafb; +} +.cptm-card-light.cptm-placeholder-block:hover, +.cptm-card-light.cptm-placeholder-block.drag-enter { + border-color: #1e1e1e; +} +.cptm-card-light .cptm-placeholder-label { + color: #23282d; +} +.cptm-card-light .cptm-widget-badge { + color: #969db8; + background-color: #eff0f3; +} + +.cptm-card-dark-light .cptm-placeholder-label { + padding: 5px 12px; + color: #888; + border-radius: 30px; + background-color: #fff; +} +.cptm-card-dark-light .cptm-widget-badge { + background-color: rgba(0, 0, 0, 0.8); +} + +.cptm-widgets-container { + overflow: hidden; + border: 1px solid rgba(0, 0, 0, 0.1); + background-color: #fff; +} + +.cptm-widgets-header { + display: block; +} + +.cptm-widget-nav { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin: 0; +} + +.cptm-widget-nav-item { + display: inline-block; + margin: 0; + padding: 12px 10px; + cursor: pointer; + -webkit-flex-basis: 33.3333333333%; + -ms-flex-preferred-size: 33.3333333333%; + flex-basis: 33.3333333333%; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + text-align: center; + -webkit-box-sizing: border-box; + box-sizing: border-box; + cursor: pointer; + color: #8a8a8a; + border-left: 1px solid #e3e1e1; + background-color: #f2f2f2; +} +.cptm-widget-nav-item:last-child { + border-left: none; +} +.cptm-widget-nav-item:hover { + color: #2b2b2b; +} +.cptm-widget-nav-item.active { + font-weight: bold; + color: #2b2b2b; + background-color: #fff; +} + +.cptm-widgets-body { + padding: 10px; + max-height: 450px; + overflow: hidden; + overflow-y: auto; +} + +.cptm-widgets-list { + display: block; + margin: 0; +} + +.cptm-widgets-list-item { + display: block; +} + +.widget-group-title { + margin: 0 0 5px; + font-size: 16px; + color: #bbb; +} + +.cptm-widgets-sub-list { + display: block; + margin: 0; +} + +.cptm-widgets-sub-list-item { + display: block; + padding: 10px 15px; + background-color: #eee; + border-radius: 5px; + margin-bottom: 10px; + cursor: move; +} + +.widget-icon { + display: inline-block; + margin-left: 5px; +} + +.widget-label { + display: inline-block; +} + +.cptm-form-group { + display: block; + margin-bottom: 20px; +} +.cptm-form-group label { + display: block; + font-size: 14px; + font-weight: 600; + color: #141921; + margin-bottom: 8px; +} +.cptm-form-group .cptm-form-control { + max-width: 100%; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-form-group.cptm-form-content { + text-align: center; + margin-bottom: 0; +} +.cptm-form-group.cptm-form-content .cptm-form-content-select { + text-align: right; +} +.cptm-form-group.cptm-form-content .cptm-form-content-title { + font-size: 16px; + line-height: 22px; + font-weight: 600; + color: #191b23; + margin: 0 0 8px; +} +.cptm-form-group.cptm-form-content .cptm-form-content-desc { + font-size: 12px; + line-height: 18px; + font-weight: 400; + color: #747c89; + margin: 0; +} +.cptm-form-group.cptm-form-content .cptm-form-content-icon { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + font-size: 40px; + margin: 0 0 12px; +} +.cptm-form-group.cptm-form-content .cptm-form-content-btn { + position: relative; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + height: 30px; + font-size: 12px; + line-height: 14px; + font-weight: 500; + margin: 8px auto 0; + color: #3e62f5; + background: transparent; + border: none; + outline: none; + -webkit-box-shadow: none; + box-shadow: none; + cursor: pointer; +} +.cptm-form-group.cptm-form-content .cptm-form-content-btn:before { + content: ""; + position: absolute; + width: 0; + height: 1px; + right: 0; + bottom: 8px; + background-color: #3e62f5; + -webkit-transition: width ease-in-out 300ms; + transition: width ease-in-out 300ms; +} +.cptm-form-group.cptm-form-content .cptm-form-content-btn:hover:before, +.cptm-form-group.cptm-form-content .cptm-form-content-btn:focus:before { + width: 100%; +} +.cptm-form-group.cptm-form-content .cptm-form-content-btn.cptm-btn-disabled { + pointer-events: none; +} +.cptm-form-group.cptm-form-content + .cptm-form-content-btn.cptm-btn-disabled:before { + display: none; +} +.cptm-form-group.cptm-form-content .cptm-form-content-btn.cptm-form-loader { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + color: #747c89; + height: auto; +} +.cptm-form-group.cptm-form-content + .cptm-form-content-btn.cptm-form-loader:before { + display: none; +} +.cptm-form-group.cptm-form-content + .cptm-form-content-btn.cptm-form-loader:hover, +.cptm-form-group.cptm-form-content + .cptm-form-content-btn.cptm-form-loader:focus { + color: #3e62f5; +} +.cptm-form-group.cptm-form-content + .cptm-form-content-btn + .cptm-form-content-btn-icon { + font-size: 14px; +} +.cptm-form-group.cptm-form-content + .cptm-form-content-btn + .cptm-form-content-btn-loader { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; +} +.cptm-form-group.cptm-form-content + .cptm-form-content-btn + .cptm-form-content-btn-loader + i { + font-size: 15px; +} +.cptm-form-group.tab-field .cptm-preview-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 0; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} +.cptm-form-group.cpt-has-error .cptm-form-control { + border: 1px solid rgb(192, 51, 51); +} + +.cptm-form-group-tab-list { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + margin: 0; + padding: 6px; + list-style: none; + background: #fff; + border: 1px solid #e5e7eb; + border-radius: 100px; +} +.cptm-form-group-tab-list .cptm-form-group-tab-item { + margin: 0; +} +.cptm-form-group-tab-list .cptm-form-group-tab-link { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + height: 26px; + padding: 0 16px; + border-radius: 100px; + margin: 0; + cursor: pointer; + background-color: #ffffff; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + color: #4d5761; + font-weight: 500; + text-decoration: none; + -webkit-box-shadow: none; + box-shadow: none; + outline: none; +} +.cptm-form-group-tab-list .cptm-form-group-tab-link:hover { + color: #3e62f5; +} +.cptm-form-group-tab-list .cptm-form-group-tab-link.active { + background-color: #d8e0fd; + color: #3e62f5; +} + +.cptm-preview-image-upload { + width: 350px; + max-width: 100%; + height: 224px; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + border-radius: 10px; + position: relative; + overflow: hidden; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) { + border: 2px dashed #d2d6db; + background: #f9fafb; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail { + max-width: 100%; + width: 100%; + height: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail + .cptm-thumbnail-action { + display: none; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail + .cptm-thumbnail-img-wrap + img { + width: 40px; + height: 40px; + -o-object-fit: cover; + object-fit: cover; + border-radius: 4px; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail + .cptm-upload-btn { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + padding: 8px 12px; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 6px; + border-radius: 8px; + background: #141921; + color: #fff; + text-align: center; + font-size: 13px; + font-weight: 500; + line-height: 14px; + margin-top: 20px; + margin-bottom: 12px; + cursor: pointer; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail + .cptm-upload-btn + input { + background-color: transparent; + border: none; + -webkit-box-shadow: none; + box-shadow: none; + color: white; + padding: 0; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail + .cptm-upload-btn + i { + font-size: 14px; + color: inherit; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail + .directorist-row-tooltip[data-tooltip]:before, +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail + .directorist-row-tooltip[data-tooltip]:after { + opacity: 0; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail + .cptm-thumbnail-drag-text { + color: #747c89; + font-size: 14px; + font-weight: 400; + line-height: 16px; + text-transform: capitalize; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show { + margin-bottom: 0; + height: 100%; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show .cptm-thumbnail { + position: relative; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .cptm-thumbnail:after { + content: ""; + position: absolute; + width: 100%; + height: 100%; + top: 0; + right: 0; + background: -webkit-gradient( + linear, + right top, + right bottom, + from(rgba(0, 0, 0, 0.6)), + color-stop(35.42%, rgba(0, 0, 0, 0)) + ); + background: linear-gradient( + -180deg, + rgba(0, 0, 0, 0.6) 0%, + rgba(0, 0, 0, 0) 35.42% + ); + z-index: 1; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .cptm-thumbnail + .action-trash + ~ .cptm-upload-btn { + left: 52px; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .cptm-thumbnail-action { + margin: 0; + background-color: white; + width: 32px; + height: 32px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + padding: 0; + top: 12px; + left: 12px; + border-radius: 8px; + font-size: 16px; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .cptm-thumbnail-drag-text { + display: none; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show .cptm-upload-btn { + position: absolute; + top: 12px; + left: 12px; + max-width: 32px !important; + width: 32px; + max-height: 32px; + height: 32px; + background-color: white; + padding: 0; + border-radius: 8px; + margin: 10px; + cursor: pointer; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + margin: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + z-index: 2; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .cptm-upload-btn + input { + display: none; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .cptm-upload-btn + i::before { + content: "\ea57"; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .directorist-row-tooltip[data-tooltip]:after { + background-color: white; + color: #141921; + opacity: 1; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .directorist-row-tooltip[data-tooltip][data-flow="bottom"]::before { + border-bottom-color: white; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .cptm-thumbnail-action { + z-index: 2; +} + +.cptm-form-group-feedback { + display: block; +} + +.cptm-form-alert { + padding: 0 0 10px; + color: #06d6a0; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-form-alert.cptm-error { + color: #c82424; +} + +.cptm-input-toggle-wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-input-toggle-wrap label { + padding-left: 10px; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + margin-bottom: 0; +} +.cptm-input-toggle-wrap .cptm-input-toggle-content { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} + +.cptm-input-toggle { + display: inline-block; + position: relative; + width: 36px; + height: 20px; + background-color: #d9d9d9; + border-radius: 30px; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + cursor: pointer; +} +.cptm-input-toggle::after { + content: ""; + display: inline-block; + width: 14px; + height: calc(100% - 6px); + background-color: #fff; + border-radius: 50%; + position: absolute; + top: 0; + right: 0; + margin: 3px 4px; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-input-toggle.active { + background-color: #3e62f5; +} +.cptm-input-toggle.active::after { + right: 100%; + -webkit-transform: translateX(calc(-1 * (-100% - 8px))); + transform: translateX(calc(-1 * (-100% - 8px))); +} + +.cptm-multi-option-group { + display: block; + margin-bottom: 20px; +} +.cptm-multi-option-group .cptm-btn { + margin: 0; +} + +.cptm-multi-option-label { + display: block; +} + +.cptm-multi-option-group-section-draft { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin: -8px; +} +.cptm-multi-option-group-section-draft .cptm-form-group { + margin: 0 8px 20px; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.cptm-multi-option-group-section-draft .cptm-form-group .cptm-form-control { + width: 100%; +} +.cptm-multi-option-group-section-draft .cptm-form-group.cpt-has-error { + position: relative; +} +.cptm-multi-option-group-section-draft p { + margin: 28px 8px 20px; +} + +.cptm-label { + display: block; + margin-bottom: 10px; + font-weight: 500; +} + +.form-repeater__container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 8px; +} +.form-repeater__group { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 16px; + position: relative; +} +.form-repeater__group.sortable-chosen .form-repeater__input { + background: #e1e4e8 !important; + border: 1px solid #d1d5db !important; + -webkit-box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.01) !important; + box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.01) !important; +} +.form-repeater__remove-btn, +.form-repeater__drag-btn { + color: #4d5761; + background: transparent; + border: none; + -webkit-box-shadow: none; + box-shadow: none; + outline: none; + padding: 0; + margin: 0; + -webkit-transition: all 0.3s ease; + transition: all 0.3s ease; +} +.form-repeater__remove-btn:disabled, +.form-repeater__drag-btn:disabled { + cursor: not-allowed; + opacity: 0.6; +} +.form-repeater__remove-btn svg, +.form-repeater__drag-btn svg { + width: 12px; + height: 12px; +} +.form-repeater__remove-btn i, +.form-repeater__drag-btn i { + font-size: 16px; + margin: 0; + padding: 0; +} +.form-repeater__drag-btn { + cursor: move; + position: absolute; + right: 0; +} +.form-repeater__remove-btn { + cursor: pointer; + position: absolute; + left: 0; +} +.form-repeater__remove-btn:hover { + color: #c83a3a; +} +.form-repeater__input { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + height: 40px; + padding: 5px 16px; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + border-radius: 8px; + border: 1px solid var(--Gray-200, #e5e7eb); + background: white; + -webkit-box-shadow: 0px 1px 2px 0px + var(--Colors-Effects-Shadows-shadow-xs, rgba(16, 24, 40, 0.05)); + box-shadow: 0px 1px 2px 0px + var(--Colors-Effects-Shadows-shadow-xs, rgba(16, 24, 40, 0.05)); + color: #2c3239; + outline: none; + -webkit-transition: all 0.3s ease; + transition: all 0.3s ease; + margin: 0 32px; + overflow: hidden; + -ms-text-overflow: ellipsis; + text-overflow: ellipsis; +} +.form-repeater__input-value-added { + background: var(--Gray-50, #f9fafb); + border-color: #e5e7eb; +} +.form-repeater__input:focus { + background: var(--Gray-50, #f9fafb); + border-color: #3e62f5; +} +.form-repeater__input::-webkit-input-placeholder { + color: var(--Gray-500, #747c89); + font-size: 14px; + font-style: normal; + font-weight: 400; + line-height: 16.24px; +} +.form-repeater__input::-moz-placeholder { + color: var(--Gray-500, #747c89); + font-size: 14px; + font-style: normal; + font-weight: 400; + line-height: 16.24px; +} +.form-repeater__input:-ms-input-placeholder { + color: var(--Gray-500, #747c89); + font-size: 14px; + font-style: normal; + font-weight: 400; + line-height: 16.24px; +} +.form-repeater__input::-ms-input-placeholder { + color: var(--Gray-500, #747c89); + font-size: 14px; + font-style: normal; + font-weight: 400; + line-height: 16.24px; +} +.form-repeater__input::placeholder { + color: var(--Gray-500, #747c89); + font-size: 14px; + font-style: normal; + font-weight: 400; + line-height: 16.24px; +} +.form-repeater__add-group-btn { + font-size: 12px; + font-weight: 600; + color: #2e94fa; + background: transparent; + border: none; + padding: 0; + text-decoration: none; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 6px; + cursor: pointer; + letter-spacing: 0.12px; + margin: 17px 32px 0; + padding: 0; +} +.form-repeater__add-group-btn:disabled { + cursor: not-allowed; + opacity: 0.6; +} +.form-repeater__add-group-btn svg { + width: 16px; + height: 16px; +} +.form-repeater__add-group-btn i { + font-size: 16px; +} + +/* Style the video popup */ +.cptm-modal-overlay { + position: fixed; + top: 0; + left: 0; + width: calc(100% - 160px); + height: 100%; + background: rgba(0, 0, 0, 0.8); + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + z-index: 999999; +} +@media (max-width: 960px) { + .cptm-modal-overlay { + width: 100%; + } +} +.cptm-modal-overlay .cptm-modal-container { + display: block; + height: auto; + position: absolute; + top: 50%; + right: 50%; + left: unset; + bottom: unset; + -webkit-transform: translate(50%, -50%); + transform: translate(50%, -50%); + overflow: visible; +} +@media (max-width: 767px) { + .cptm-modal-overlay .cptm-modal-container iframe { + width: 400px; + height: 225px; + } +} +@media (max-width: 575px) { + .cptm-modal-overlay .cptm-modal-container iframe { + width: 300px; + height: 175px; + } +} + +.cptm-modal-content { + position: relative; +} +.cptm-modal-content .cptm-modal-video video { + width: 100%; + max-width: 500px; +} +.cptm-modal-content .cptm-modal-image .cptm-modal-image__img { + max-height: calc(100vh - 200px); +} +.cptm-modal-content .cptm-modal-preview { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 24px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + height: auto; + width: 724px; + max-height: calc(100vh - 200px); + background: #fff; + padding: 30px 70px; + border-radius: 16px; +} +.cptm-modal-content .cptm-modal-preview .cptm-modal-preview__group { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 30px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-modal-content .cptm-modal-preview .cptm-modal-preview__item { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 10px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-modal-content .cptm-modal-preview .cptm-modal-preview__btn { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 6px; + padding: 0 16px; + height: 40px; + color: #000; + background: #ededed; + border: 1px solid #ededed; + border-radius: 8px; +} +.cptm-modal-content + .cptm-modal-preview + .cptm-modal-preview__btn + .cptm-modal-preview__btn__icon { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-modal-content .cptm-modal-content__close-btn { + position: absolute; + top: 0; + left: -42px; + width: 36px; + height: 36px; + color: #000; + background: #fff; + font-size: 15px; + border: none; + border-radius: 100%; + cursor: pointer; +} + +.close-btn { + position: absolute; + top: 40px; + left: 40px; + background: transparent; + border: none; + font-size: 18px; + cursor: pointer; + color: #ffffff; +} + +.cptm-form-control, +select.cptm-form-control, +input[type="date"].cptm-form-control, +input[type="datetime-local"].cptm-form-control, +input[type="datetime"].cptm-form-control, +input[type="email"].cptm-form-control, +input[type="month"].cptm-form-control, +input[type="number"].cptm-form-control, +input[type="password"].cptm-form-control, +input[type="search"].cptm-form-control, +input[type="tel"].cptm-form-control, +input[type="text"].cptm-form-control, +input[type="time"].cptm-form-control, +input[type="url"].cptm-form-control, +input[type="week"].cptm-form-control input[type="text"].cptm-form-control { + display: block; + width: 100%; + max-width: 100%; + padding: 10px 20px; + font-size: 14px; + color: #5a5f7d; + text-align: right; + border-radius: 4px; + -webkit-box-shadow: none; + box-shadow: none; + font-weight: 400; + margin: 0; + line-height: 18px; + height: auto; + min-height: 30px; + background-color: #f4f5f7; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; +} +.cptm-form-control:hover, +.cptm-form-control:focus, +select.cptm-form-control:hover, +select.cptm-form-control:focus, +input[type="date"].cptm-form-control:hover, +input[type="date"].cptm-form-control:focus, +input[type="datetime-local"].cptm-form-control:hover, +input[type="datetime-local"].cptm-form-control:focus, +input[type="datetime"].cptm-form-control:hover, +input[type="datetime"].cptm-form-control:focus, +input[type="email"].cptm-form-control:hover, +input[type="email"].cptm-form-control:focus, +input[type="month"].cptm-form-control:hover, +input[type="month"].cptm-form-control:focus, +input[type="number"].cptm-form-control:hover, +input[type="number"].cptm-form-control:focus, +input[type="password"].cptm-form-control:hover, +input[type="password"].cptm-form-control:focus, +input[type="search"].cptm-form-control:hover, +input[type="search"].cptm-form-control:focus, +input[type="tel"].cptm-form-control:hover, +input[type="tel"].cptm-form-control:focus, +input[type="text"].cptm-form-control:hover, +input[type="text"].cptm-form-control:focus, +input[type="time"].cptm-form-control:hover, +input[type="time"].cptm-form-control:focus, +input[type="url"].cptm-form-control:hover, +input[type="url"].cptm-form-control:focus, +input[type="week"].cptm-form-control input[type="text"].cptm-form-control:hover, +input[type="week"].cptm-form-control + input[type="text"].cptm-form-control:focus { + color: #23282d; + border-color: #3e62f5; +} + +select.cptm-form-control, +input[type="date"].cptm-form-control, +input[type="datetime-local"].cptm-form-control, +input[type="datetime"].cptm-form-control, +input[type="email"].cptm-form-control, +input[type="month"].cptm-form-control, +input[type="number"].cptm-form-control, +input[type="password"].cptm-form-control, +input[type="search"].cptm-form-control, +input[type="tel"].cptm-form-control, +input[type="text"].cptm-form-control, +input[type="time"].cptm-form-control, +input[type="url"].cptm-form-control, +input[type="week"].cptm-form-control, +input[type="text"].cptm-form-control { + padding: 10px 20px; + font-size: 12px; + color: #4d5761; + background: #ffffff; + text-align: right; + border: 0 none; + border-radius: 8px; + border: 1px solid #d2d6db; + -webkit-box-shadow: none; + box-shadow: none; + width: 100%; + font-weight: 400; + margin: 0; + line-height: 18px; + height: auto; + min-height: 30px; +} +select.cptm-form-control:hover, +input[type="date"].cptm-form-control:hover, +input[type="datetime-local"].cptm-form-control:hover, +input[type="datetime"].cptm-form-control:hover, +input[type="email"].cptm-form-control:hover, +input[type="month"].cptm-form-control:hover, +input[type="number"].cptm-form-control:hover, +input[type="password"].cptm-form-control:hover, +input[type="search"].cptm-form-control:hover, +input[type="tel"].cptm-form-control:hover, +input[type="text"].cptm-form-control:hover, +input[type="time"].cptm-form-control:hover, +input[type="url"].cptm-form-control:hover, +input[type="week"].cptm-form-control:hover, +input[type="text"].cptm-form-control:hover { + color: #23282d; +} +select.cptm-form-control.cptm-form-control-light, +input[type="date"].cptm-form-control.cptm-form-control-light, +input[type="datetime-local"].cptm-form-control.cptm-form-control-light, +input[type="datetime"].cptm-form-control.cptm-form-control-light, +input[type="email"].cptm-form-control.cptm-form-control-light, +input[type="month"].cptm-form-control.cptm-form-control-light, +input[type="number"].cptm-form-control.cptm-form-control-light, +input[type="password"].cptm-form-control.cptm-form-control-light, +input[type="search"].cptm-form-control.cptm-form-control-light, +input[type="tel"].cptm-form-control.cptm-form-control-light, +input[type="text"].cptm-form-control.cptm-form-control-light, +input[type="time"].cptm-form-control.cptm-form-control-light, +input[type="url"].cptm-form-control.cptm-form-control-light, +input[type="week"].cptm-form-control.cptm-form-control-light, +input[type="text"].cptm-form-control.cptm-form-control-light { + border: 1px solid #ccc; + background-color: #fff; +} + +.tab-general .cptm-title-area, +.tab-other .cptm-title-area { + margin-right: 0; +} +.tab-general .cptm-form-group .cptm-form-control, +.tab-other .cptm-form-group .cptm-form-control { + background-color: #fff; + border: 1px solid #e3e6ef; +} + +.tab-preview_image .cptm-title-area, +.tab-packages .cptm-title-area, +.tab-other .cptm-title-area { + margin-right: 0; +} +.tab-preview_image .cptm-title-area p, +.tab-packages .cptm-title-area p, +.tab-other .cptm-title-area p { + font-size: 15px; + color: #5a5f7d; +} + +.cptm-modal-container { + display: none; + position: fixed; + top: 0; + right: 0; + left: 0; + bottom: 0; + overflow: auto; + z-index: 999999; + height: 100vh; +} +.cptm-modal-container.active { + display: block; +} + +.cptm-modal-wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding: 20px; + height: 100%; + min-height: calc(100% - 40px); + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + background-color: rgba(0, 0, 0, 0.5); +} + +.cptm-modal { + display: block; + margin: 0 auto; + padding: 10px; + width: 100%; + max-width: 300px; + border-radius: 5px; + background-color: #fff; +} + +.cptm-modal-header { + position: relative; + padding: 15px 15px 15px 30px; + margin: -10px; + margin-bottom: 10px; + border-bottom: 1px solid #e3e3e3; +} + +.cptm-modal-header-title { + text-align: right; + margin: 0; +} + +.cptm-modal-actions { + display: block; + margin: 0 -5px; + position: absolute; + left: 10px; + top: 10px; + text-align: left; +} + +.cptm-modal-action-link { + margin: 0 5px; + text-decoration: none; + height: 25px; + display: inline-block; + width: 25px; + text-align: center; + line-height: 25px; + border-radius: 50%; + color: #2b2b2b; + font-size: 18px; +} + +.cptm-modal-confirmation-title { + margin: 30px auto; + font-size: 20px; + text-align: center; +} + +.cptm-section-alert-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + min-height: 200px; +} + +.cptm-section-alert-content { + text-align: center; + padding: 10px; +} + +.cptm-section-alert-icon { + margin-bottom: 20px; + width: 100px; + height: 100px; + font-size: 45px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + border-radius: 50%; + color: darkgray; + background-color: #f2f2f2; +} +.cptm-section-alert-icon.cptm-alert-success { + color: #fff; + background-color: #14cc60; +} +.cptm-section-alert-icon.cptm-alert-error { + color: #fff; + background-color: #cc1433; +} + +.cptm-color-picker-wrap { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; +} + +.cptm-color-picker-label { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + margin-right: 10px; +} + +.cptm-wdget-title { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} + +.atbdp-flex-align-center { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.cptm-px-5 { + padding: 0 5px; +} + +.cptm-text-gray { + color: #c1c1c1; +} + +.cptm-text-right { + text-align: left !important; +} + +.cptm-text-center { + text-align: center !important; +} + +.cptm-text-left { + text-align: right !important; +} + +.cptm-d-block { + display: block !important; +} + +.cptm-d-inline { + display: inline-block !important; +} + +.cptm-d-inline-flex { + display: -webkit-inline-box !important; + display: -webkit-inline-flex !important; + display: -ms-inline-flexbox !important; + display: inline-flex !important; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} + +.cptm-d-none { + display: none !important; +} + +.cptm-p-20 { + padding: 20px; +} + +.cptm-color-picker { + display: inline-block; + padding: 5px 5px 2px 5px; + border-radius: 30px; + border: 1px solid #d4d4d4; +} + +input[type="radio"]:checked::before { + background-color: #3e62f5; +} + +@media (max-width: 767px) { + input[type="checkbox"], + input[type="radio"] { + width: 15px; + height: 15px; + } +} + +.cptm-preview-placeholder { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + padding: 70px 54px 70px 30px; + background: #f9fafb; +} +@media (max-width: 1199px) { + .cptm-preview-placeholder { + margin-left: 0; + } +} +@media only screen and (max-width: 480px) { + .cptm-preview-placeholder { + border: none; + max-width: 100%; + padding: 0; + margin: 0; + background: transparent; + } +} +.cptm-preview-placeholder__card { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 20px; + padding: 20px; + background: #ffffff; + border-radius: 6px; + border: 1.5px solid #e5e7eb; + -webkit-box-shadow: 0 10px 18px 0 rgba(16, 24, 40, 0.1); + box-shadow: 0 10px 18px 0 rgba(16, 24, 40, 0.1); +} +.cptm-preview-placeholder__card__item { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + padding: 12px; + border-radius: 4px; +} +.cptm-preview-placeholder__card__item--top { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 30px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + border: 1.5px dashed #d2d6db; +} +.cptm-preview-placeholder__card__item--top + .cptm-preview-placeholder__card__content { + -webkit-box-align: start; + -webkit-align-items: flex-start; + -ms-flex-align: start; + align-items: flex-start; +} +.cptm-preview-placeholder__card__item--top + .cptm-preview-placeholder__card__box { + -webkit-box-flex: unset; + -webkit-flex: unset; + -ms-flex: unset; + flex: unset; + min-width: auto; + background: unset; + border: none; + padding: 0; +} +.cptm-preview-placeholder__card__item--top .cptm-placeholder-block-wrapper { + -webkit-box-flex: unset; + -webkit-flex: unset; + -ms-flex: unset; + flex: unset; +} +.cptm-preview-placeholder__card__item--bottom + .cptm-preview-placeholder__card__box + .cptm-widget-card-wrap + .cptm-widget-badge { + font-size: 12px; + line-height: 18px; + color: #1f2937; + min-height: 32px; + background-color: #ffffff; + border-radius: 6px; + border: 1.15px solid #e5e7eb; +} +.cptm-preview-placeholder__card__item .dndrop-draggable-wrapper.dragging { + opacity: 0; +} +.cptm-preview-placeholder__card__item .cptm-widget-actions-tools-wrap:before { + display: none; +} +.cptm-preview-placeholder__card__box { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + min-width: 150px; + z-index: unset; +} +.cptm-preview-placeholder__card__box .cptm-placeholder-label { + color: #868eae; + font-size: 14px; + font-weight: 500; +} +.cptm-preview-placeholder__card__box .cptm-widget-preview-area { + gap: 8px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; +} +.cptm-preview-placeholder__card__box + .cptm-widget-preview-area + .cptm-widget-badge { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + margin: 0; + min-height: 35px; + padding: 0 13px; + border-radius: 4px; + font-size: 15px; + line-height: 18px; + font-weight: 500; + color: #383f47; + background-color: #e5e7eb; +} +@media only screen and (max-width: 480px) { + .cptm-preview-placeholder__card__box + .cptm-widget-preview-area + .cptm-widget-badge { + font-size: 12px; + line-height: 15px; + } +} +.cptm-preview-placeholder__card__box .cptm-widget-title-card-wrap { + padding: 0; + background: transparent; + border: none; + border-radius: 0; + -webkit-box-shadow: none; + box-shadow: none; +} +.cptm-preview-placeholder__card__box + .cptm-widget-title-card-wrap + .cptm-widget-title-card { + font-size: 22px; +} +@media only screen and (max-width: 480px) { + .cptm-preview-placeholder__card__box + .cptm-widget-title-card-wrap + .cptm-widget-title-card { + font-size: 18px; + } +} +.cptm-preview-placeholder__card__box.listing-title-placeholder { + padding: 13px 8px; +} +.cptm-preview-placeholder__card__content { + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 20px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} +.cptm-preview-placeholder__card__btn { + width: 100%; + height: 66px; + border: none; + border-radius: 6px; + cursor: pointer; + color: #5a5f7d; + font-size: 13px; + font-weight: 500; + margin-top: 20px; +} +.cptm-preview-placeholder__card__btn .icon { + width: 26px; + height: 26px; + line-height: 26px; + background-color: #fff; + border-radius: 100%; + -webkit-margin-end: 7px; + margin-inline-end: 7px; +} +.cptm-preview-placeholder__card .slider-placeholder { + padding: 8px; + border-radius: 4px; + border: 1.5px dashed #d2d6db; +} +.cptm-preview-placeholder__card .slider-placeholder .cptm-widget-preview-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + padding: 50px; + text-align: center; + height: 240px; + background: #e5e7eb; + border-radius: 10px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +@media only screen and (max-width: 480px) { + .cptm-preview-placeholder__card + .slider-placeholder + .cptm-widget-preview-area { + padding: 30px; + } + .cptm-preview-placeholder__card + .slider-placeholder + .cptm-widget-preview-area + .cptm-widget-thumb-icon { + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + } + .cptm-preview-placeholder__card + .slider-placeholder + .cptm-widget-preview-area + .cptm-widget-thumb-icon + svg { + height: 100px; + width: 100px; + } +} +.cptm-preview-placeholder__card + .slider-placeholder + .cptm-widget-preview-area + .cptm-widget-label { + margin-top: 10px; +} +.cptm-preview-placeholder__card .dndrop-container.vertical { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 20px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + margin-bottom: 20px; + border: 1px solid #e5e7eb; + border-radius: 8px; + padding: 16px; +} +.cptm-preview-placeholder__card + .dndrop-container.vertical + > .dndrop-draggable-wrapper { + overflow: visible; +} +.cptm-preview-placeholder__card .draggable-item { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 20px; + -webkit-box-align: start; + -webkit-align-items: flex-start; + -ms-flex-align: start; + align-items: flex-start; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + margin-left: 8px; +} +.cptm-preview-placeholder__card .draggable-item .cptm-drag-element { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 20px; + height: 20px; + font-size: 20px; + color: #747c89; + margin-top: 15px; + background: transparent; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; + cursor: move; +} +.cptm-preview-placeholder__card .draggable-item .cptm-drag-element:hover { + color: #1e1e1e; +} +.cptm-preview-placeholder--settings-closed { + max-width: 700px; + margin: 0 auto; +} +@media (max-width: 1199px) { + .cptm-preview-placeholder--settings-closed { + max-width: 100%; + } +} + +.atbdp-sidebar-nav-area { + display: block; +} + +.atbdp-sidebar-nav { + display: block; + margin: 0; + background-color: #f6f6f6; +} + +.atbdp-nav-link { + display: block; + padding: 15px; + text-decoration: none; + color: #2b2b2b; +} + +.atbdp-nav-icon { + display: inline-block; + margin-left: 10px; +} + +.atbdp-nav-label { + display: inline-block; +} + +.atbdp-sidebar-nav-item { + display: block; + margin: 0; +} +.atbdp-sidebar-nav-item .atbdp-nav-link { + display: block; +} +.atbdp-sidebar-nav-item .atbdp-nav-icon { + display: inline-block; +} +.atbdp-sidebar-nav-item .atbdp-nav-label { + display: inline-block; +} +.atbdp-sidebar-nav-item.active { + display: block; + background-color: #fff; +} +.atbdp-sidebar-nav-item.active .atbdp-sidebar-subnav { + display: block; +} +.atbdp-sidebar-nav-item.active .atbdp-nav-link { + display: block; +} +.atbdp-sidebar-nav-item.active .atbdp-nav-icon { + display: inline-block; +} +.atbdp-sidebar-nav-item.active .atbdp-nav-label { + display: inline-block; +} + +.atbdp-sidebar-subnav { + display: block; + margin: 0; + margin-right: 28px; + display: none; +} + +.atbdp-sidebar-subnav-item { + display: block; + margin: 0; +} +.atbdp-sidebar-subnav-item .atbdp-nav-link { + color: #686d88; +} +.atbdp-sidebar-subnav-item .atbdp-nav-icon { + display: inline-block; +} +.atbdp-sidebar-subnav-item .atbdp-nav-label { + display: inline-block; +} +.atbdp-sidebar-subnav-item.active { + display: block; + margin: 0; +} +.atbdp-sidebar-subnav-item.active .atbdp-nav-link { + display: block; +} +.atbdp-sidebar-subnav-item.active .atbdp-nav-icon { + display: inline-block; +} +.atbdp-sidebar-subnav-item.active .atbdp-nav-label { + display: inline-block; +} + +.atbdp-row { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin: 0 -15px; +} + +.atbdp-col { + padding: 0 15px; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +.atbdp-col-3 { + -webkit-flex-basis: 25%; + -ms-flex-preferred-size: 25%; + flex-basis: 25%; + width: 25%; +} + +.atbdp-col-4 { + -webkit-flex-basis: 33.3333333333%; + -ms-flex-preferred-size: 33.3333333333%; + flex-basis: 33.3333333333%; + width: 33.3333333333%; +} + +.atbdp-col-8 { + -webkit-flex-basis: 66.6666666667%; + -ms-flex-preferred-size: 66.6666666667%; + flex-basis: 66.6666666667%; + width: 66.6666666667%; +} + +.shrink { + max-width: 300px; +} + +.directorist_dropdown { + position: relative; +} +.directorist_dropdown .directorist_dropdown-toggle { + position: relative; + text-decoration: none; + display: block; + width: 100%; + max-height: 38px; + font-size: 12px; + font-weight: 400; + background-color: transparent; + color: #4d5761; + padding: 12px 15px; + line-height: 1; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.directorist_dropdown .directorist_dropdown-toggle:focus { + outline: 0 none; + -webkit-box-shadow: 0 0; + box-shadow: 0 0; +} +.directorist_dropdown .directorist_dropdown-toggle:before { + font-family: unicons-line; + font-weight: 400; + font-size: 20px; + content: "\eb3a"; + color: #747c89; + position: absolute; + top: 50%; + left: 0; + -webkit-transform: translate(50%, -50%); + transform: translate(50%, -50%); + height: 20px; +} +.directorist_dropdown .directorist_dropdown-option { + display: none; + position: absolute; + width: 100%; + max-height: 350px; + right: 0; + top: 39px; + padding: 12px 8px; + background-color: #fff; + -webkit-box-shadow: + 0 12px 16px -4px rgba(16, 24, 40, 0.08), + 0px 4px 6px -2px rgba(16, 24, 40, 0.03); + box-shadow: + 0 12px 16px -4px rgba(16, 24, 40, 0.08), + 0px 4px 6px -2px rgba(16, 24, 40, 0.03); + border: 1px solid #e5e7eb; + border-radius: 8px; + z-index: 99999; + overflow-y: auto; +} +.directorist_dropdown .directorist_dropdown-option.--show { + display: block !important; +} +.directorist_dropdown .directorist_dropdown-option ul { + margin: 0; + padding: 0; +} +.directorist_dropdown .directorist_dropdown-option ul:empty { + position: relative; + height: 50px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; +} +.directorist_dropdown .directorist_dropdown-option ul:empty:before { + content: "No Items Found"; +} +.directorist_dropdown .directorist_dropdown-option ul li { + margin-bottom: 0; +} +.directorist_dropdown .directorist_dropdown-option ul li a { + font-size: 14px; + font-weight: 500; + text-decoration: none; + display: block; + padding: 9px 15px; + border-radius: 8px; + color: #4d5761; + -webkit-transition: 0.3s; + transition: 0.3s; +} +.directorist_dropdown .directorist_dropdown-option ul li a:hover, +.directorist_dropdown .directorist_dropdown-option ul li a.active:hover { + color: #fff; + background-color: #3e62f5; +} +.directorist_dropdown .directorist_dropdown-option ul li a.active { + color: #3e62f5; + background-color: #f0f3ff; +} + +.cptm-form-group .directorist_dropdown-option { + max-height: 240px; +} + +.cptm-import-directory-modal .cptm-file-input-wrap { + margin: 16px -5px 0 -5px; +} +.cptm-import-directory-modal .cptm-info-text { + padding: 4px 8px; + height: auto; + line-height: 1.5; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-import-directory-modal .cptm-info-text > b { + margin-left: 4px; +} + +/* Sticky fields */ +.cptm-col-sticky { + position: -webkit-sticky; + position: sticky; + top: 60px; + height: 100%; + max-height: calc(100vh - 212px); + overflow: auto; + scrollbar-width: 6px; + scrollbar-color: #d2d6db #f3f4f6; +} + +.cptm-widget-trash-confirmation-modal-overlay { + position: fixed; + top: 0; + right: 0; + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0.5); + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + z-index: 999999; +} +.cptm-widget-trash-confirmation-modal-overlay + .cptm-widget-trash-confirmation-modal { + background: #fff; + padding: 30px 25px; + border-radius: 8px; + text-align: center; +} +.cptm-widget-trash-confirmation-modal-overlay + .cptm-widget-trash-confirmation-modal + h2 { + font-size: 16px; + font-weight: 500; + margin: 0 0 18px; +} +.cptm-widget-trash-confirmation-modal-overlay + .cptm-widget-trash-confirmation-modal + p { + margin: 0 0 20px; + font-size: 14px; + max-width: 400px; +} +.cptm-widget-trash-confirmation-modal-overlay button { + border: 0 none; + -webkit-box-shadow: none; + box-shadow: none; + background: rgb(197, 22, 22); + padding: 10px 15px; + border-radius: 6px; + color: #fff; + font-size: 14px; + font-weight: 500; + margin: 5px; + cursor: pointer; + -webkit-transition: 0.3s ease; + transition: 0.3s ease; +} +.cptm-widget-trash-confirmation-modal-overlay button:hover { + background: #ba1230; +} +.cptm-widget-trash-confirmation-modal-overlay + button.cptm-widget-trash-confirmation-modal-action-btn__cancel { + background: #f1f2f6; + color: #7a8289; +} +.cptm-widget-trash-confirmation-modal-overlay + button.cptm-widget-trash-confirmation-modal-action-btn__cancel:hover { + background: #dee0e4; +} + +.cptm-field-group-container .cptm-field-group-container__label { + font-size: 15px; + font-weight: 500; + color: #272b41; + display: inline-block; +} +@media only screen and (max-width: 767px) { + .cptm-field-group-container .cptm-field-group-container__label { + margin-bottom: 15px; + } +} + +.cptm-container-group-fields { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 26px; +} +@media only screen and (max-width: 1300px) { + .cptm-container-group-fields { + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + } +} +@media only screen and (max-width: 1300px) { + .cptm-container-group-fields .cptm-form-group:not(:last-child) { + margin-bottom: 0; + } +} +@media only screen and (max-width: 991px) { + .cptm-container-group-fields .cptm-form-group { + width: 100%; + } +} +.cptm-container-group-fields .highlight-field { + padding: 0; +} +.cptm-container-group-fields .atbdp-row { + margin: 0; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + gap: 10px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-container-group-fields .atbdp-row .atbdp-col { + -webkit-box-flex: 0 !important; + -webkit-flex: none !important; + -ms-flex: none !important; + flex: none !important; + width: auto; + padding: 0; +} +.cptm-container-group-fields .atbdp-row .atbdp-col input { + max-width: 100px !important; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +@media only screen and (max-width: 991px) { + .cptm-container-group-fields .atbdp-row .atbdp-col input { + max-width: none !important; + } +} +@media only screen and (max-width: 767px) { + .cptm-container-group-fields .atbdp-row .atbdp-col input { + max-width: 150px !important; + } +} +.cptm-container-group-fields .atbdp-row .atbdp-col label { + margin: 0; + font-size: 14px !important; + font-weight: normal; +} +@media only screen and (max-width: 1300px) { + .cptm-container-group-fields .atbdp-row .atbdp-col label { + min-width: 50px; + } +} +.cptm-container-group-fields .atbdp-row .atbdp-col .directorist_dropdown { + width: 95px; +} +.cptm-container-group-fields + .atbdp-row + .atbdp-col + .directorist_dropdown + .directorist_dropdown-toggle:before { + position: relative; + top: -3px; +} +@media only screen and (max-width: 991px) { + .cptm-container-group-fields .atbdp-row .atbdp-col .directorist_dropdown { + width: calc(100% - 2px); + } +} +@media only screen and (max-width: 767px) { + .cptm-container-group-fields .atbdp-row .atbdp-col .directorist_dropdown { + width: 150px; + } +} +@media only screen and (max-width: 991px) { + .cptm-container-group-fields .atbdp-row .atbdp-col.atbdp-col-8 { + -webkit-box-flex: 1 !important; + -webkit-flex: auto !important; + -ms-flex: auto !important; + flex: auto !important; + } +} +@media only screen and (max-width: 767px) { + .cptm-container-group-fields .atbdp-row .atbdp-col.atbdp-col-4 { + width: auto !important; + } +} + +.cptm-elements-settings { + width: 100%; + max-width: 372px; + padding: 0 20px; + scrollbar-width: 6px; + border-left: 1px solid #e5e7eb; + scrollbar-color: #d2d6db #f3f4f6; +} +@media only screen and (max-width: 1199px) { + .cptm-elements-settings { + max-width: 100%; + } +} +@media only screen and (max-width: 782px) { + .cptm-elements-settings { + -webkit-box-sizing: border-box; + box-sizing: border-box; + } +} +@media only screen and (max-width: 480px) { + .cptm-elements-settings { + border: none; + padding: 0; + } +} +.cptm-elements-settings__header { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 20px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + padding: 18px 0 8px; +} +.cptm-elements-settings__header__title { + font-size: 16px; + line-height: 24px; + font-weight: 500; + color: #141921; + margin: 0; +} +.cptm-elements-settings__group { + padding: 20px 0; + border-bottom: 1px solid #e5e7eb; +} +.cptm-elements-settings__group .dndrop-draggable-wrapper { + position: relative; + overflow: visible !important; +} +.cptm-elements-settings__group .dndrop-draggable-wrapper.dragging { + opacity: 0; +} +.cptm-elements-settings__group:last-child { + border-bottom: none; +} +.cptm-elements-settings__group__title { + display: block; + font-size: 12px; + font-weight: 500; + letter-spacing: 0.48px; + color: #747c89; + margin-bottom: 15px; +} +.cptm-elements-settings__group__single { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 16px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + padding: 12px; + border-radius: 4px; + background: #f3f4f6; +} +.cptm-elements-settings__group__single:hover { + border-color: #3e62f5; +} +.cptm-elements-settings__group__single .drag-icon { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + font-size: 16px; + color: #747c89; + background: transparent; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; + cursor: move; +} +.cptm-elements-settings__group__single .drag-icon:hover { + color: #1e1e1e; +} +.cptm-elements-settings__group__single__label { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + font-size: 14px; + font-weight: 500; + color: #383f47; +} +.cptm-elements-settings__group__single__label__icon { + color: #4d5761; + font-size: 24px; +} +@media only screen and (max-width: 480px) { + .cptm-elements-settings__group__single__label__icon { + font-size: 20px; + } +} +.cptm-elements-settings__group__single__action { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + gap: 12px; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-elements-settings__group__single__edit { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + cursor: pointer; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-elements-settings__group__single__edit__icon { + font-size: 20px; + color: #4d5761; +} +.cptm-elements-settings__group__single__edit--disabled { + opacity: 0.4; + pointer-events: none; +} +.cptm-elements-settings__group__single__switch label { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + width: 32px; + height: 18px; + cursor: pointer; +} +.cptm-elements-settings__group__single__switch label::before { + content: ""; + position: absolute; + width: 100%; + height: 100%; + background-color: #d2d6db; + border-radius: 30px; + -webkit-transition: all 0.3s; + transition: all 0.3s; +} +.cptm-elements-settings__group__single__switch label::after { + content: ""; + position: absolute; + top: 3px; + right: 3px; + width: 12px; + height: 12px; + background-color: #ffffff; + border-radius: 50%; + -webkit-transition: all 0.3s; + transition: all 0.3s; +} +.cptm-elements-settings__group__single__switch input[type="checkbox"] { + display: none; +} +.cptm-elements-settings__group__single__switch + input[type="checkbox"]:checked + + label::before { + background-color: #3e62f5; +} +.cptm-elements-settings__group__single__switch + input[type="checkbox"]:checked + + label::after { + -webkit-transform: translateX(-14px); + transform: translateX(-14px); +} +.cptm-elements-settings__group__single--disabled { + opacity: 0.4; + pointer-events: none; +} +.cptm-elements-settings__group__options { + position: absolute; + width: 100%; + top: 42px; + right: 0; + z-index: 1; + padding-bottom: 20px; +} +.cptm-elements-settings__group__options .cptm-option-card { + margin: 0; + background: #fff; + -webkit-box-shadow: 0 6px 8px 2px rgba(16, 24, 40, 0.1019607843); + box-shadow: 0 6px 8px 2px rgba(16, 24, 40, 0.1019607843); +} +.cptm-elements-settings__group__options .cptm-option-card:before { + left: 60px; +} +.cptm-elements-settings__group__options + .cptm-option-card + .cptm-option-card-header { + padding: 0; + border-radius: 8px 8px 0 0; + background: transparent; +} +.cptm-elements-settings__group__options + .cptm-option-card + .cptm-option-card-header + .cptm-option-card-header-title-section { + padding: 16px; + min-height: auto; +} +.cptm-elements-settings__group__options + .cptm-option-card + .cptm-option-card-header + .cptm-option-card-header-title-section + .cptm-option-card-header-title { + font-size: 14px; + font-weight: 500; + color: #2c3239; + margin: 0; +} +.cptm-elements-settings__group__options + .cptm-option-card + .cptm-option-card-header + .cptm-option-card-header-title-section + .cptm-header-action-link { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 18px; + height: 18px; + padding: 0; + color: #4d5761; +} +.cptm-elements-settings__group__options + .cptm-option-card + .cptm-option-card-body { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 16px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 16px; + background: transparent; + border-top: 1px solid #e5e7eb; + border-radius: 0 0 8px 8px; + -webkit-box-shadow: none; + box-shadow: none; +} +.cptm-elements-settings__group__options + .cptm-option-card + .cptm-option-card-body + .cptm-form-group { + margin-bottom: 0; +} +.cptm-elements-settings__group__options + .cptm-option-card + .cptm-option-card-body + .cptm-form-group + label { + font-size: 13px; + font-weight: 500; +} +.cptm-elements-settings__group .dndrop-container .dndrop-draggable-wrapper { + margin-bottom: 8px; +} +.cptm-elements-settings__group + .dndrop-container + .dndrop-draggable-wrapper:last-child { + margin-bottom: 0; +} + +.reset-pseudo-link:visited, +.cptm-btn:visited, +.cptm-header-nav__list-item-link:visited, +.cptm-link-light:visited, +.cptm-sub-nav__item-link:visited, +.cptm-header-action-link:visited, +.cptm-modal-action-link:visited, +.atbdp-nav-link:visited, +.reset-pseudo-link:active, +.cptm-btn:active, +.cptm-header-nav__list-item-link:active, +.cptm-link-light:active, +.cptm-sub-nav__item-link:active, +.cptm-header-action-link:active, +.cptm-modal-action-link:active, +.atbdp-nav-link:active, +.reset-pseudo-link:focus, +.cptm-btn:focus, +.cptm-header-nav__list-item-link:focus, +.cptm-link-light:focus, +.cptm-sub-nav__item-link:focus, +.cptm-header-action-link:focus, +.cptm-modal-action-link:focus, +.atbdp-nav-link:focus { + outline: none; + -webkit-box-shadow: none; + box-shadow: none; +} + +.cptm-shortcodes { + max-height: 300px; + overflow: scroll; +} + +.directorist-center-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.directorist-center-content-inline { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; +} + +.directorist-center-content, +.directorist-center-content-inline { + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.directorist-text-right { + text-align: left; +} + +.directorist-text-center { + text-align: center; +} + +.directorist-text-left { + text-align: right; +} + +.directorist-mt-0 { + margin-top: 0 !important; +} + +.directorist-mt-5 { + margin-top: 5px !important; +} + +.directorist-mt-10 { + margin-top: 10px !important; +} + +.directorist-mt-15 { + margin-top: 15px !important; +} + +.directorist-mt-20 { + margin-top: 20px !important; +} + +.directorist-mt-30 { + margin-top: 30px !important; +} + +.directorist-mb-0 { + margin-bottom: 0 !important; +} + +.directorist-mb-35 { + margin-bottom: 35px !important; +} + +.directorist-mb-30 { + margin-bottom: 30px !important; +} + +.directorist-mb-25 { + margin-bottom: 25px !important; +} + +.directorist-mb-20 { + margin-bottom: 20px !important; +} + +.directorist-mb-n20 { + margin-bottom: -20px !important; +} + +.directorist-mb-10 { + margin-bottom: 10px !important; +} + +.directorist-mb-15 { + margin-bottom: 15px !important; +} + +.directorist-mb-20 { + margin-bottom: 20px !important; +} + +.directorist-mb-30 { + margin-bottom: 30px !important; +} + +.directorist-mb-35 { + margin-bottom: 35px !important; +} + +.directorist-mb-40 { + margin-bottom: 40px !important; +} + +.directorist-mb-50 { + margin-bottom: 50px !important; +} + +.directorist-mb-70 { + margin-bottom: 70px !important; +} + +.directorist-mb-80 { + margin-bottom: 80px !important; +} + +.directorist-pb-100 { + padding-bottom: 100px !important; +} + +.directorist-w-100 { + width: 100% !important; + max-width: 100% !important; +} + +.directorist-draggable-list-item-wrapper { + position: relative; + height: 100%; +} + +.directorist-droppable-area-wrap { + position: absolute; + top: 0; + left: 0; + bottom: 0; + right: 0; + z-index: 888888888; + display: none; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + margin-bottom: -20px; +} + +.directorist-droppable-area { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} + +.directorist-droppable-item-preview { + height: 52px; + background-color: rgba(44, 153, 255, 0.1); + margin-bottom: 20px; + margin-left: 0; + border-radius: 4px; +} + +.directorist-droppable-item-preview-before { + margin-bottom: 20px; +} + +.directorist-droppable-item-preview-after { + margin-bottom: 20px; +} + +/* Create Directory Type */ +.directorist-directory-type-top { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + gap: 15px 30px; + padding: 0 20px; + background: white; + min-height: 60px; + border-bottom: 1px solid #e5e7eb; + position: fixed; + left: 0; + top: 32px; + width: calc(100% - 200px); + z-index: 9999; +} +.directorist-directory-type-top:before { + content: ""; + position: absolute; + top: -10px; + right: 0; + height: 10px; + width: 100%; + background-color: #f3f4f6; +} +@media only screen and (max-width: 782px) { + .directorist-directory-type-top { + position: relative; + width: calc(100% + 20px); + top: -10px; + right: -10px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-sizing: border-box; + box-sizing: border-box; + } +} +@media only screen and (max-width: 480px) { + .directorist-directory-type-top { + padding: 10px 30px; + } +} +.directorist-directory-type-top-left { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 10px 24px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +@media only screen and (max-width: 767px) { + .directorist-directory-type-top-left { + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + } +} +.directorist-directory-type-top-left .cptm-form-group { + margin-bottom: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 10px; +} +.directorist-directory-type-top-left + .cptm-form-group + .cptm-form-group-feedback { + white-space: nowrap; +} +.directorist-directory-type-top-left .cptm-form-group .cptm-form-control { + height: 36px; + border-radius: 8px; + background: #e5e7eb; + max-width: 150px; + padding: 10px 16px; + font-size: 14px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} +.directorist-directory-type-top-left + .cptm-form-group + .cptm-form-control::-webkit-input-placeholder { + color: #4d5761; + font-size: 14px; + font-style: normal; + font-weight: 500; + line-height: 16.24px; +} +.directorist-directory-type-top-left + .cptm-form-group + .cptm-form-control::-moz-placeholder { + color: #4d5761; + font-size: 14px; + font-style: normal; + font-weight: 500; + line-height: 16.24px; +} +.directorist-directory-type-top-left + .cptm-form-group + .cptm-form-control:-ms-input-placeholder { + color: #4d5761; + font-size: 14px; + font-style: normal; + font-weight: 500; + line-height: 16.24px; +} +.directorist-directory-type-top-left + .cptm-form-group + .cptm-form-control::-ms-input-placeholder { + color: #4d5761; + font-size: 14px; + font-style: normal; + font-weight: 500; + line-height: 16.24px; +} +.directorist-directory-type-top-left + .cptm-form-group + .cptm-form-control::placeholder { + color: #4d5761; + font-size: 14px; + font-style: normal; + font-weight: 500; + line-height: 16.24px; +} +.directorist-directory-type-top-left + .cptm-form-group + .cptm-form-group-feedback + .cptm-form-alert { + padding: 0; +} +.directorist-directory-type-top-left .directorist-back-directory { + color: #4d5761; + font-size: 14px; + font-style: normal; + font-weight: 500; + line-height: normal; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 8px; +} +.directorist-directory-type-top-left .directorist-back-directory svg { + width: 14px; + height: 14px; + color: inherit; +} +.directorist-directory-type-top-left .directorist-back-directory:hover { + color: #3e62f5; +} +.directorist-directory-type-top-right .directorist-create-directory { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + border-radius: 8px; + text-decoration: none; + padding: 0 24px; + height: 40px; + border: 1px solid #3e62f5; + cursor: pointer; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-box-shadow: 0px 2px 4px 0px rgba(60, 41, 170, 0.1); + box-shadow: 0px 2px 4px 0px rgba(60, 41, 170, 0.1); + background-color: #3e62f5; + color: #ffffff; + font-size: 15px; + font-weight: 500; + line-height: normal; + -webkit-transition: background-color 0.3s ease; + transition: background-color 0.3s ease; +} +.directorist-directory-type-top-right .directorist-create-directory:hover { + background-color: #5a7aff; + border-color: #5a7aff; +} +.directorist-directory-type-top-right .cptm-btn { + margin: 0; +} + +.directorist-type-name { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 8px; + font-size: 15px; + font-weight: 600; + color: #141921; + line-height: 16px; +} +.directorist-type-name span { + font-size: 20px; + color: #747c89; +} + +.directorist-type-name-editable { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 8px; +} +.directorist-type-name-editable span { + font-size: 20px; + color: #747c89; +} +.directorist-type-name-editable span:hover { + color: #3e62f5; +} + +.directorist-directory-type-bottom { + position: fixed; + bottom: 0; + left: 20px; + width: calc(100% - 204px); + height: calc(100% - 115px); + overflow-y: auto; + z-index: 1; + background: white; + margin-top: 67px; + border-radius: 8px 8px 0 0; + border: 1px solid #e5e7eb; + -webkit-box-shadow: 0 4px 8px 0 rgba(16, 24, 40, 0.08); + box-shadow: 0 4px 8px 0 rgba(16, 24, 40, 0.08); +} +@media only screen and (max-width: 782px) { + .directorist-directory-type-bottom { + position: unset; + width: 100%; + height: auto; + overflow-y: visible; + margin-top: 20px; + } + .directorist-directory-type-bottom .atbdp-cptm-body { + margin: 0 20px 20px !important; + } +} +.directorist-directory-type-bottom .cptm-header-navigation { + position: fixed; + left: 20px; + top: 113px; + width: calc(100% - 202px); + background: #ffffff; + border: 1px solid #e5e7eb; + gap: 0 32px; + padding: 0 30px; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + border-radius: 8px 8px 0 0; + overflow-x: auto; + z-index: 100; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +@media only screen and (max-width: 1024px) { + .directorist-directory-type-bottom .cptm-header-navigation { + -webkit-box-pack: start; + -webkit-justify-content: flex-start; + -ms-flex-pack: start; + justify-content: flex-start; + } +} +@media only screen and (max-width: 782px) { + .directorist-directory-type-bottom .cptm-header-navigation { + position: unset; + width: 100%; + border: none; + } +} +.directorist-directory-type-bottom .atbdp-cptm-body { + position: relative; + margin-top: 72px; +} +@media only screen and (max-width: 600px) { + .directorist-directory-type-bottom .atbdp-cptm-body { + margin-top: 0; + } +} + +.wp-admin.folded .directorist-directory-type-top { + width: calc(100% - 78px); +} +@media only screen and (max-width: 782px) { + .wp-admin.folded .directorist-directory-type-top { + width: calc(100% - 40px); + } +} +.wp-admin.folded .directorist-directory-type-bottom { + width: calc(100% - 80px); +} +.wp-admin.folded .directorist-directory-type-bottom .cptm-header-navigation { + width: calc(100% - 78px); +} +@media only screen and (max-width: 782px) { + .wp-admin.folded + .directorist-directory-type-bottom + .cptm-header-navigation { + width: 100%; + border-width: 0 0 1px 0; + } +} + +.directorist-draggable-form-list-wrap { + margin-left: 50px; +} + +/* Body Header */ +.directorist-form-action { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; + margin-bottom: 26px; +} +.directorist-form-action__modal-btn { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + width: -webkit-max-content; + width: -moz-max-content; + width: max-content; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 6px; + width: 30px; + height: 30px; + border-radius: 6px; + border: 1px solid #e5e7eb; + background: transparent; + color: #4d5761; + text-align: center; + font-size: 12px; + font-style: normal; + font-weight: 500; + line-height: 14px; + letter-spacing: 0.12px; + -webkit-box-sizing: border-box; + box-sizing: border-box; + text-transform: capitalize; +} +.directorist-form-action__modal-btn svg { + width: 14px; + height: 14px; + color: inherit; +} +.directorist-form-action__modal-btn:hover { + color: #217aef; + background: #eff8ff; + border-color: #bee3ff; +} +.directorist-form-action__link { + margin-top: 2px; + font-size: 12px; + font-weight: 500; + color: #1b50b2; + line-height: 20px; + letter-spacing: 0.12px; + text-decoration: underline; +} +.directorist-form-action__view { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 6px; + width: 30px; + height: 30px; + border-radius: 6px; + border: 1px solid #e5e7eb; + background: transparent; + color: #4d5761; + text-align: center; + font-size: 12px; + font-style: normal; + font-weight: 500; + line-height: 14px; + letter-spacing: 0.12px; + text-transform: capitalize; +} +.directorist-form-action__view svg { + width: 14px; + height: 14px; + color: inherit; +} +.directorist-form-action__view:hover { + color: #217aef; + background: #eff8ff; + border-color: #bee3ff; +} +.directorist-form-action__view:focus { + outline: none; + -webkit-box-shadow: none; + box-shadow: none; +} + +.cptm-form-note { + margin-bottom: 30px; + padding: 30px; + background-color: #dcebfe; + border-radius: 4px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} +.cptm-form-note i { + font-size: 30px; + opacity: 0.2; + margin-left: 15px; +} +.cptm-form-note .cptm-form-note-title { + margin-top: 0; + color: #157cf6; +} +.cptm-form-note .cptm-form-note-content { + margin: 5px 0; +} +.cptm-form-note .cptm-form-note-content a { + color: #157cf6; +} + +#atbdp_cpt_options_metabox .inside { + margin: 0; + padding: 0; +} +#atbdp_cpt_options_metabox .postbox-header { + display: none; +} + +.atbdp-cpt-manager { + position: relative; + display: block; + color: #23282d; +} +.atbdp-cpt-manager.directorist-overlay-visible { + position: fixed; + z-index: 9; + width: calc(100% - 200px); +} +.atbdp-cpt-manager.directorist-overlay-visible .directorist-directory-type-top, +.atbdp-cpt-manager.directorist-overlay-visible + .directorist-directory-type-bottom + .cptm-header-navigation { + z-index: 1; +} +.atbdp-cpt-manager.directorist-overlay-visible .submission_form_fields { + z-index: 11; +} + +.atbdp-cptm-header { + display: block; +} +.atbdp-cptm-header .cptm-form-group .cptm-form-control { + height: 50px; + font-size: 20px; +} + +.atbdp-cptm-body { + display: block; +} + +.cptm-field-wraper-key-preview_image .cptm-btn { + margin: 0 10px; + height: 40px; + color: #23282d !important; + background-color: #dadce0 !important; + border-radius: 4px !important; + border: 0 none; + font-weight: 500; + padding: 0 30px; +} + +.atbdp-cptm-footer { + display: block; + padding: 24px 0 0; + margin: 0 30px 0 50px; + border-top: 1px solid #e5e7eb; +} +.atbdp-cptm-footer .atbdp-cptm-footer-preview { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + margin: 0 0 20px; +} +.atbdp-cptm-footer .atbdp-cptm-footer-preview .atbdp-cptm-footer-preview-label { + position: relative; + font-size: 14px; + font-weight: 500; + color: #4d5761; + cursor: pointer; +} +.atbdp-cptm-footer + .atbdp-cptm-footer-preview + .atbdp-cptm-footer-preview-label:before { + content: ""; + position: absolute; + left: 0; + top: 0; + width: 36px; + height: 20px; + border-radius: 30px; + background: #d2d6db; + border: 3px solid #d2d6db; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; +} +.atbdp-cptm-footer + .atbdp-cptm-footer-preview + .atbdp-cptm-footer-preview-label:after { + content: ""; + position: absolute; + left: 19px; + top: 3px; + width: 14px; + height: 14px; + background: #ffffff; + border-radius: 100%; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; +} +.atbdp-cptm-footer + .atbdp-cptm-footer-preview + .atbdp-cptm-footer-preview-toggle { + display: none; +} +.atbdp-cptm-footer + .atbdp-cptm-footer-preview + .atbdp-cptm-footer-preview-toggle:checked + ~ label:before { + background-color: #3e62f5; + border-color: #3e62f5; +} +.atbdp-cptm-footer + .atbdp-cptm-footer-preview + .atbdp-cptm-footer-preview-toggle:checked + ~ label:after { + left: 3px; +} +.atbdp-cptm-footer .atbdp-cptm-footer-preview .atbdp-cptm-footer-preview-desc { + font-size: 12px; + font-weight: 400; + color: #747c89; +} + +.atbdp-cptm-footer-actions { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-align-content: center; + -ms-flex-line-pack: center; + align-content: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.atbdp-cptm-footer-actions .cptm-btn { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 10px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 100%; + font-weight: 500; + font-size: 15px; + height: 48px; + padding: 0 30px; + margin: 0; +} +.atbdp-cptm-footer-actions .cptm-save-text { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.cptm-title-bar { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin: 0 -10px; + padding: 15px 10px; + background-color: #fff; +} + +.cptm-card-preview-widget .cptm-title-bar { + margin: 0; +} + +.cptm-title-bar-headings { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + padding: 10px; +} + +.cptm-title-bar-actions { + min-width: 100px; + max-width: 220px; + padding: 10px; +} + +.cptm-label-btn { + display: inline-block; +} + +.cptm-btn, +.cptm-btn.cptm-label-btn { + margin: 0 5px 10px; + display: inline-block; + text-align: center; + border: 1px solid transparent; + padding: 10px 20px; + border-radius: 5px; + cursor: pointer; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + vertical-align: top; +} +.cptm-btn:disabled, +.cptm-btn.cptm-label-btn:disabled { + cursor: not-allowed; + opacity: 0.5; +} + +.cptm-btn.cptm-label-btn { + display: inline-block; + vertical-align: top; +} +.cptm-btn.cptm-btn-rounded { + border-radius: 30px; +} +.cptm-btn.cptm-btn-primary { + color: #fff; + border-color: #3e62f5; + background-color: #3e62f5; +} +.cptm-btn.cptm-btn-primary:hover { + background-color: #345af4; +} +.cptm-btn.cptm-btn-secondery { + color: #3e62f5; + border-color: #3e62f5; + background-color: transparent; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 6px; + font-size: 15px !important; +} +.cptm-btn.cptm-btn-secondery:hover { + color: #fff; + background-color: #3e62f5; +} + +.cptm-file-input-wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-file-input-wrap .cptm-btn { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} + +.cptm-btn-box { + display: block; +} + +.cptm-form-builder-group-field-drop-area { + display: block; + padding: 14px 20px; + border-radius: 4px; + margin: 16px 0 0; + text-align: center; + font-size: 14px; + font-weight: 500; + color: #747c89; + background-color: #f9fafb; + font-style: italic; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + border: 1px dashed #d2d6db; + -webkit-box-shadow: 0 4px 8px 0 rgba(16, 24, 40, 0.08); + box-shadow: 0 4px 8px 0 rgba(16, 24, 40, 0.08); +} +.cptm-form-builder-group-field-drop-area:first-child { + margin-top: 0; +} +.cptm-form-builder-group-field-drop-area.drag-enter { + color: #3e62f5; + background-color: #d8e0fd; + border-color: #3e62f5; +} + +.cptm-form-builder-group-field-drop-area-label { + margin: 0; + pointer-events: none; +} + +.atbdp-cptm-status-feedback { + position: fixed; + top: 70px; + right: calc(50% + 150px); + -webkit-transform: translateX(50%); + transform: translateX(50%); + min-width: 300px; + z-index: 9999; +} +@media screen and (max-width: 960px) { + .atbdp-cptm-status-feedback { + right: calc(50% + 100px); + } +} +@media screen and (max-width: 782px) { + .atbdp-cptm-status-feedback { + right: 50%; + } +} + +.cptm-alert { + position: relative; + padding: 14px 52px 14px 24px; + font-size: 16px; + font-weight: 500; + line-height: 22px; + color: #053e29; + border-radius: 8px; + -webkit-box-shadow: 0 8px 16px rgba(16, 24, 40, 0.1); + box-shadow: 0 8px 16px rgba(16, 24, 40, 0.1); +} +.cptm-alert:before { + content: ""; + position: absolute; + top: 14px; + right: 24px; + font-size: 20px; + font-family: "Font Awesome 5 Free"; + font-weight: 900; +} + +.cptm-alert-success { + background-color: #ecfdf3; + border: 1px solid #14b570; +} +.cptm-alert-success:before { + content: "\f058"; + color: #14b570; +} + +.cptm-alert-error { + background-color: #f3d6d6; + border: 1px solid #c51616; +} +.cptm-alert-error:before { + content: "\f057"; + color: #c51616; +} + +.cptm-dropable-element { + position: relative; +} + +.cptm-dropable-base-element { + display: block; + position: relative; + padding: 0; + -webkit-transition: ease-in-out all 300ms; + transition: ease-in-out all 300ms; +} + +.cptm-dropable-area { + position: absolute; + right: 0; + left: 0; + top: 0; + bottom: 0; + z-index: 999; +} + +.cptm-dropable-placeholder { + padding: 0; + margin: 0; + height: 0; + border-radius: 4px; + overflow: hidden; + -webkit-transition: all ease-in-out 200ms; + transition: all ease-in-out 200ms; + background: RGBA(61, 98, 245, 0.45); +} +.cptm-dropable-placeholder.active { + padding: 10px 15px; + margin: 0; + height: 30px; +} + +.cptm-dropable-inside { + padding: 10px; +} + +.cptm-dropable-area-inside { + display: block; + height: 100%; +} + +.cptm-dropable-area-right { + display: block; +} + +.cptm-dropable-area-left { + display: block; +} + +.cptm-dropable-area-right, +.cptm-dropable-area-left { + display: block; + float: right; + width: 50%; + height: 100%; +} + +.cptm-dropable-area-top { + display: block; +} + +.cptm-dropable-area-bottom { + display: block; +} + +.cptm-dropable-area-top, +.cptm-dropable-area-bottom { + display: block; + width: 100%; + height: 50%; +} + +.cptm-header-navigation { + margin: 0; + padding: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +@media screen and (max-width: 480px) { + .cptm-header-navigation { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + } +} + +.cptm-header-nav__list-item { + margin: 0; + display: inline-block; + list-style: none; + text-align: center; + min-width: -webkit-fit-content; + min-width: -moz-fit-content; + min-width: fit-content; +} +@media (max-width: 480px) { + .cptm-header-nav__list-item { + width: 100%; + } +} + +.cptm-header-nav__list-item-link { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 8px; + text-decoration: none; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + position: relative; + color: #4d5761; + font-weight: 500; + padding: 24px 0; + position: relative; +} +@media only screen and (max-width: 480px) { + .cptm-header-nav__list-item-link { + padding: 16px 0; + } +} +.cptm-header-nav__list-item-link:before { + content: ""; + position: absolute; + bottom: 0; + right: 50%; + -webkit-transform: translateX(50%); + transform: translateX(50%); + width: calc(100% + 55px); + height: 3px; + background-color: transparent; + border-radius: 2px 2px 0 0; +} +.cptm-header-nav__list-item-link .cptm-header-nav__icon { + font-size: 24px; +} +.cptm-header-nav__list-item-link.active { + font-weight: 600; +} +.cptm-header-nav__list-item-link.active:before { + background-color: #3e62f5; +} +.cptm-header-nav__list-item-link.active .cptm-header-nav__icon, +.cptm-header-nav__list-item-link.active .cptm-header-nav__label { + color: #3e62f5; +} + +.cptm-header-nav__icon { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; +} +.cptm-header-nav__icon svg { + width: 24px; + height: 24px; +} + +.cptm-header-nav__label { + display: block; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + font-size: 14px; + font-weight: 500; +} + +.cptm-title-area { + margin-bottom: 20px; +} + +.submission-form .cptm-title-area { + width: 100%; +} + +.tab-general .cptm-title-area { + margin-right: 0; +} + +.cptm-link-light { + color: #fff; +} +.cptm-link-light:hover, +.cptm-link-light:focus, +.cptm-link-light:active { + color: #fff; +} + +.cptm-color-white { + color: #fff; +} + +.cptm-my-10 { + margin-top: 10px; + margin-bottom: 10px; +} + +.cptm-mb-60 { + margin-bottom: 60px; +} + +.cptm-mr-5 { + margin-left: 5px; +} + +.cptm-title { + margin: 0; + font-size: 19px; + font-weight: 600; + color: #141921; + line-height: 1.2; +} + +.cptm-des { + font-size: 14px; + font-weight: 400; + line-height: 22px; + color: #4d5761; + margin-top: 10px; +} + +.atbdp-cptm-tab-contents { + width: 100%; + display: block; + background-color: #fff; +} +.atbdp-cptm-tab-contents .listings_card_layout .cptm-tab-content-header { + margin-top: 92px; +} +@media only screen and (max-width: 782px) { + .atbdp-cptm-tab-contents .listings_card_layout .cptm-tab-content-header { + margin-top: 20px; + } +} +.atbdp-cptm-tab-contents .listings_card_layout .cptm-sub-navigation { + width: auto; + max-width: 658px; + margin: 0 auto; + gap: 16px; + padding: 0; + border-radius: 8px 8px 0 0; + border: 1px solid #e5e7eb; + background: #f9fafb; + border-bottom: none; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.atbdp-cptm-tab-contents + .listings_card_layout + .cptm-sub-navigation + .cptm-sub-nav__item-link { + height: 47px; + padding: 0 8px; + border: none; + border-radius: 0; + position: relative; +} +.atbdp-cptm-tab-contents + .listings_card_layout + .cptm-sub-navigation + .cptm-sub-nav__item-link:before { + content: ""; + position: absolute; + bottom: 0; + right: 0; + width: 100%; + height: 3px; + background: transparent; + border-radius: 2px 2px 0 0; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.atbdp-cptm-tab-contents + .listings_card_layout + .cptm-sub-navigation + .cptm-sub-nav__item-link:hover, +.atbdp-cptm-tab-contents + .listings_card_layout + .cptm-sub-navigation + .cptm-sub-nav__item-link.active { + color: #3e62f5; + background: transparent; +} +.atbdp-cptm-tab-contents + .listings_card_layout + .cptm-sub-navigation + .cptm-sub-nav__item-link:hover + svg + path, +.atbdp-cptm-tab-contents + .listings_card_layout + .cptm-sub-navigation + .cptm-sub-nav__item-link.active + svg + path { + stroke: #3e62f5; +} +.atbdp-cptm-tab-contents + .listings_card_layout + .cptm-sub-navigation + .cptm-sub-nav__item-link:hover:before, +.atbdp-cptm-tab-contents + .listings_card_layout + .cptm-sub-navigation + .cptm-sub-nav__item-link.active:before { + background: #3e62f5; +} + +.atbdp-cptm-tab-item { + display: none; +} +.atbdp-cptm-tab-item.active { + display: block; +} + +.cptm-tab-content-header { + position: relative; + background: transparent; + max-width: 100%; + margin: 82px auto 0; +} +@media only screen and (max-width: 782px) { + .cptm-tab-content-header { + margin-top: 0; + } +} +.cptm-tab-content-header .cptm-tab-content-header__action { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 10px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + position: absolute; + left: 32px; + top: 50%; + -webkit-transform: translateY(-50%); + transform: translateY(-50%); + z-index: 11; +} +@media only screen and (max-width: 991px) { + .cptm-tab-content-header .cptm-tab-content-header__action { + left: 25px; + } +} +@media only screen and (max-width: 782px) { + .cptm-tab-content-header .cptm-sub-navigation { + padding-left: 70px; + margin-top: 20px; + } + .cptm-tab-content-header .cptm-tab-content-header__action { + top: 0; + -webkit-transform: unset; + transform: unset; + } +} +@media only screen and (max-width: 480px) { + .cptm-tab-content-header .cptm-sub-navigation { + margin-top: 0; + } + .cptm-tab-content-header .cptm-tab-content-header__action { + left: 0; + } +} + +.cptm-tab-content-body { + display: block; +} + +.cptm-tab-content { + position: relative; + margin: 0 auto; + min-height: 500px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-tab-content.tab-wide { + max-width: 1080px; +} +.cptm-tab-content.tab-short-wide { + max-width: 600px; +} +.cptm-tab-content.tab-full-width { + max-width: 100%; +} +.cptm-tab-content.cptm-tab-content-general { + top: 32px; + padding: 32px 30px 0; + border: 1px solid #e5e7eb; + border-radius: 8px; + margin: 0 auto 70px; +} +@media only screen and (max-width: 960px) { + .cptm-tab-content.cptm-tab-content-general { + max-width: 100%; + margin: 0 20px 52px; + } +} +@media only screen and (max-width: 782px) { + .cptm-tab-content.cptm-tab-content-general { + margin: 0; + } +} +@media only screen and (max-width: 480px) { + .cptm-tab-content.cptm-tab-content-general { + top: 0; + } +} + +.cptm-short-wide { + max-width: 550px; + width: 100%; + margin-left: auto; + margin-right: auto; +} + +.cptm-tab-sub-content-item { + margin: 0 auto; + display: none; +} +.cptm-tab-sub-content-item.active { + display: block; +} + +.cptm-row { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin: 0 -15px; +} + +.cptm-col-5 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + width: calc(42.66% - 30px); + padding: 0 15px; +} +@media (max-width: 767px) { + .cptm-col-5 { + width: calc(100% - 30px); + margin-bottom: 30px; + } +} + +.cptm-col-6 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + width: calc(50% - 30px); + padding: 0 15px; +} +@media (max-width: 767px) { + .cptm-col-6 { + width: calc(100% - 30px); + margin-bottom: 30px; + } +} + +.cptm-col-7 { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + width: calc(57.33% - 30px); + padding: 0 15px; +} +@media (max-width: 767px) { + .cptm-col-7 { + width: calc(100% - 30px); + margin-bottom: 30px; + } +} + +.cptm-section { + position: relative; + margin-bottom: 50px; + z-index: 10; +} +.cptm-section.cptm-section--disabled .cptm-builder-section { + opacity: 0.6; + pointer-events: none; +} +.cptm-section.submission_form_fields + .cptm-form-builder-active-fields-container { + height: 100%; + padding-bottom: 400px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-section.single_listing_header { + border-top: 1px solid #e5e7eb; +} +.cptm-section.search_form_fields .directorist-form-action, +.cptm-section.submission_form_fields .directorist-form-action { + position: absolute; + left: 0; + top: 0; + margin: 0; +} +.cptm-section.preview_mode { + position: absolute; + left: 24px; + bottom: 18px; + width: calc(100% - 420px); + padding: 20px; + -webkit-box-sizing: border-box; + box-sizing: border-box; + z-index: 10; + background: #ffffff; + border: 1px solid #e5e7eb; + border-radius: 8px; + -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); + box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); +} +.cptm-section.preview_mode:before { + content: ""; + position: absolute; + top: 0; + right: 43px; + height: 1px; + width: calc(100% - 86px); + background-color: #f3f4f6; +} +@media only screen and (min-width: 1441px) { + .cptm-section.preview_mode { + width: calc(65% - 49px); + } +} +@media only screen and (max-width: 1024px) { + .cptm-section.preview_mode { + width: calc(100% - 49px); + } +} +@media only screen and (max-width: 480px) { + .cptm-section.preview_mode { + width: 100%; + position: unset; + margin-top: 20px; + } +} +.cptm-section.preview_mode .cptm-title-area { + display: none; +} +.cptm-section.preview_mode .cptm-input-toggle-wrap { + gap: 10px; + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; + -webkit-box-orient: horizontal; + -webkit-box-direction: reverse; + -webkit-flex-direction: row-reverse; + -ms-flex-direction: row-reverse; + flex-direction: row-reverse; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} +.cptm-section.preview_mode .directorist-footer-wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + gap: 12px; + padding: 10px 16px; + background-color: #f5f6f7; + border: 1px solid #e5e7eb; + border-radius: 6px; +} +@media only screen and (max-width: 575px) { + .cptm-section.preview_mode .directorist-footer-wrap { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-align: start; + -webkit-align-items: flex-start; + -ms-flex-align: start; + align-items: flex-start; + } +} +.cptm-section.preview_mode .directorist-footer-wrap .directorist-input-label { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + font-size: 14px; + font-weight: 500; + color: #141921; +} +.cptm-section.preview_mode .directorist-footer-wrap .directorist-input { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn { + position: relative; + margin: 0; + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + height: 32px; + font-size: 12px; + font-weight: 500; + color: #4d5761; + border-color: #e5e7eb; + background-color: #ffffff; + border-radius: 6px; +} +.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn .cptm-save-icon { + opacity: 0; + visibility: hidden; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; +} +.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn:before { + content: attr(data-info); + position: absolute; + top: calc(100% + 8px); + right: 50%; + -webkit-transform: translateX(50%); + transform: translateX(50%); + min-width: -webkit-max-content; + min-width: -moz-max-content; + min-width: max-content; + text-align: center; + color: #ffffff; + font-size: 13px; + font-weight: 500; + padding: 10px 12px; + border-radius: 6px; + background-color: #141921; + opacity: 0; + visibility: hidden; + -webkit-transition: + opacity 0.3s ease, + visibility 0.3s ease; + transition: + opacity 0.3s ease, + visibility 0.3s ease; +} +.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn:after { + content: ""; + position: absolute; + top: calc(100% + 2px); + right: 50%; + -webkit-transform: translateX(50%); + transform: translateX(50%); + border-bottom: 6px solid #141921; + border-right: 6px solid transparent; + border-left: 6px solid transparent; + opacity: 0; + visibility: hidden; + -webkit-transition: + opacity 0.3s ease, + visibility 0.3s ease; + transition: + opacity 0.3s ease, + visibility 0.3s ease; +} +.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn .cptm-save-icon { + font-size: 16px; +} +.cptm-section.preview_mode + .directorist-footer-wrap + .cptm-btn:hover + .cptm-save-icon { + opacity: 1; + visibility: visible; +} +.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn:hover:before, +.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn:hover:after { + opacity: 1; + visibility: visible; +} +.cptm-section.preview_mode .directorist-footer-wrap .cptm-form-group { + margin: 0; +} +.cptm-section.preview_mode + .directorist-footer-wrap + .cptm-form-group + .cptm-form-control { + height: 32px; + padding: 0 20px; + font-size: 12px; + font-weight: 500; + color: #4d5761; +} +.cptm-section.listings_card_grid_view .cptm-form-field-wrapper, +.cptm-section.listings_card_list_view .cptm-form-field-wrapper { + max-width: 658px; + margin: 0 auto; + padding: 24px; + margin-bottom: 32px; + border-radius: 0 0 8px 8px; + background: #ffffff; + border: 1px solid #e5e7eb; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +@media only screen and (max-width: 480px) { + .cptm-section.listings_card_grid_view .cptm-form-field-wrapper, + .cptm-section.listings_card_list_view .cptm-form-field-wrapper { + padding: 16px; + } +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-top-area, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-top-area { + max-width: 100%; + padding: 12px 20px; + margin-bottom: 16px; + background: #f3f4f6; + border: 1px solid #f3f4f6; + border-radius: 8px; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-top-area + .tab-field, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-top-area + .tab-field { + margin: 0; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-top-area-content, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-top-area-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 24px; +} +@media only screen and (max-width: 480px) { + .cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-top-area-content, + .cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-top-area-content { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + } +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-top-area-content + .cptm-card-layout-content, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-top-area-content + .cptm-card-layout-content { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-top-area-content + .cptm-card-layout-title, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-top-area-content + .cptm-card-layout-title { + font-size: 14px; + line-height: 19px; + font-weight: 500; + color: #141921; + margin: 0 0 4px; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-top-area-content + .cptm-card-layout-description, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-top-area-content + .cptm-card-layout-description { + font-size: 12px; + line-height: 16px; + font-weight: 400; + color: #4d5761; + margin: 0; +} +.cptm-section.listings_card_grid_view .cptm-form-field-wrapper .cptm-form-group, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-form-group { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-preview-widget, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-preview-widget { + max-width: unset; + padding: 0; + border-radius: 4px; + border: 1px solid #e5e7eb; + -webkit-box-shadow: 0 2px 8px 0 rgba(16, 24, 40, 0.08); + box-shadow: 0 2px 8px 0 rgba(16, 24, 40, 0.08); +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-preview-widget + .cptm-card-preview-widget-content, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-preview-widget + .cptm-card-preview-widget-content { + -webkit-box-shadow: unset; + box-shadow: unset; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-preview-widget + .cptm-listing-card-preview-header, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-preview-widget + .cptm-listing-card-preview-header { + position: relative; + height: 328px; + padding: 16px 16px 24px; + background: #e5e7eb; + border-radius: 4px 4px 0 0; + -webkit-box-shadow: unset; + box-shadow: unset; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-preview-widget + .cptm-listing-card-preview-header + .cptm-widget-preview-area, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-preview-widget + .cptm-listing-card-preview-header + .cptm-widget-preview-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-card-preview-widget + .cptm-listing-card-preview-header + .cptm-placeholder-block, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-card-preview-widget + .cptm-listing-card-preview-header + .cptm-placeholder-block { + padding-bottom: 32px; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-placeholder-block, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-placeholder-block { + max-width: 100%; + background: #f3f4f6; + border: 1px dashed #d2d6db; + border-radius: 4px; + min-height: 72px; + padding-bottom: 32px; +} +.cptm-section.listings_card_grid_view + .cptm-form-field-wrapper + .cptm-placeholder-block + .cptm-widget-preview-container, +.cptm-section.listings_card_list_view + .cptm-form-field-wrapper + .cptm-placeholder-block + .cptm-widget-preview-container { + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-section.listings_card_grid_view .cptm-form-group-tab-list, +.cptm-section.listings_card_list_view .cptm-form-group-tab-list { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 12px; + padding: 0; + border: none; + background: transparent; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-item, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-item { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link { + position: relative; + height: unset; + padding: 8px 40px 8px 26px; + background: #ffffff; + border-radius: 4px; + border: 1px solid #e5e7eb; + -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); + box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link:before, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link:before { + content: ""; + position: absolute; + top: 50%; + right: 12px; + -webkit-transform: translateY(-50%); + transform: translateY(-50%); + width: 16px; + height: 16px; + border-radius: 50%; + border: 2px solid #a1a9b2; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-transition: border ease 0.3s; + transition: border ease 0.3s; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link + svg, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link + svg { + border: 1px solid #d2d6db; + border-radius: 4px; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active { + border-color: #3e62f5; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active:before, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active:before { + border: 5px solid #3e62f5; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active + svg, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active + svg { + border-color: #3e62f5; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active + svg + rect, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active + svg + rect { + fill: #3e62f5; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active + svg + rect:first-of-type, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active + svg + rect:first-of-type { + stroke: #3e62f5; + fill: #3e62f5; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active + svg + path, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .cptm-form-group-tab-link.active + svg + path { + fill: #fff; +} +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .grid_view_without_thumbnail + .cptm-form-group-tab-link.active + svg + rect, +.cptm-section.listings_card_grid_view + .cptm-form-group-tab-list + .list_view_without_thumbnail + .cptm-form-group-tab-link.active + svg + rect, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .grid_view_without_thumbnail + .cptm-form-group-tab-link.active + svg + rect, +.cptm-section.listings_card_list_view + .cptm-form-group-tab-list + .list_view_without_thumbnail + .cptm-form-group-tab-link.active + svg + rect { + fill: #3e62f5; + stroke: unset; +} +.cptm-section.listings_card_grid_view .cptm-card-preview-widget { + -webkit-box-shadow: unset; + box-shadow: unset; +} +.cptm-section.listings_card_grid_view .cptm-card-preview-widget-content { + border-radius: 10px; + -webkit-box-shadow: 0 8px 16px 0 rgba(16, 24, 40, 0.1019607843); + box-shadow: 0 8px 16px 0 rgba(16, 24, 40, 0.1019607843); +} +.cptm-section.listings_card_list_view .cptm-card-top-area { + max-width: unset; +} +.cptm-section.listings_card_list_view .cptm-card-preview-thumbnail { + border-radius: 10px; +} +.cptm-section.new_listing_status { + z-index: 11; +} +.cptm-section:last-child { + margin-bottom: 0; +} + +.cptm-form-builder { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} +@media only screen and (max-width: 1024px) { + .cptm-form-builder { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 30px; + } + .cptm-form-builder .cptm-form-builder-sidebar { + max-width: 100%; + } +} +.cptm-form-builder.submission_form_fields .cptm-form-builder-content { + border-bottom: 25px solid #f3f4f6; +} +@media only screen and (max-width: 480px) { + .cptm-form-builder.submission_form_fields { + gap: 30px; + } + .cptm-form-builder.submission_form_fields .cptm-col-sticky { + position: unset; + border: none; + } + .cptm-form-builder.submission_form_fields + .cptm-col-sticky + .cptm-form-builder-sidebar-content { + padding: 0; + } + .cptm-form-builder.submission_form_fields + .cptm-col-sticky + .cptm-form-builder-active-fields-container { + padding-bottom: 0; + } +} +.cptm-form-builder.single_listings_contents { + border-top: 1px solid #e5e7eb; +} +@media only screen and (max-width: 480px) { + .cptm-form-builder.search_form_fields .cptm-col-sticky { + position: unset; + border: none; + } + .cptm-form-builder.search_form_fields + .cptm-col-sticky + .cptm-form-builder-sidebar-content { + padding: 0; + } + .cptm-form-builder.search_form_fields + .cptm-col-sticky + .cptm-form-builder-active-fields-container { + padding-bottom: 0; + } +} + +.cptm-form-builder-sidebar { + width: 100%; + max-width: 372px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +@media only screen and (min-width: 1441px) { + .cptm-form-builder-sidebar { + max-width: 35%; + } +} +.cptm-form-builder-sidebar .cptm-form-builder-action { + padding-bottom: 0; +} +@media only screen and (max-width: 480px) { + .cptm-form-builder-sidebar .cptm-form-builder-action { + padding: 20px 0; + } +} +.cptm-form-builder-sidebar .cptm-form-builder-sidebar-content { + padding: 12px 24px 24px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +.cptm-form-builder-content { + height: auto; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + background: #f3f4f6; + border-right: 1px solid #e5e7eb; +} +.cptm-form-builder-content .cptm-form-builder-action { + border-bottom: 1px solid #e5e7eb; +} +.cptm-form-builder-content .cptm-form-builder-active-fields { + padding: 24px; + background: #f3f4f6; + height: 100%; + min-height: calc(100vh - 225px); +} +@media only screen and (max-width: 1399px) { + .cptm-form-builder-content .cptm-form-builder-active-fields { + min-height: calc(100vh - 225px); + } +} + +.cptm-form-builder-action { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + padding: 18px 24px; + background: #ffffff; +} + +.cptm-form-builder-action-title { + font-size: 16px; + line-height: 24px; + font-weight: 500; + color: #141921; +} + +.cptm-form-builder-action-btn { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 8px; + padding: 0 12px; + color: #141921; + font-size: 14px; + line-height: 16px; + font-weight: 500; + height: 32px; + -webkit-box-sizing: border-box; + box-sizing: border-box; + border: 1px solid #d2d6db; + border-radius: 4px; +} + +.cptm-elements-settings + .cptm-form-builder-action-btn.directorist-row-tooltip[data-tooltip]:after, +.cptm-form-builder-sidebar + .cptm-form-builder-action-btn.directorist-row-tooltip[data-tooltip]:after { + width: 200px; + height: auto; + min-height: 34px; + white-space: unset; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +.cptm-form-builder-preset-fields:not(:last-child) { + margin-bottom: 40px; +} + +.cptm-form-builder-preset-fields-header-action-link { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + margin: 0 0 12px; +} +.cptm-form-builder-preset-fields-header-action-link + .cptm-form-builder-preset-fields-header-action-icon { + font-size: 20px; +} +.cptm-form-builder-preset-fields-header-action-link:focus { + outline: none; + -webkit-box-shadow: none; + box-shadow: none; +} + +.cptm-form-builder-preset-fields-header-action-text { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + font-size: 12px; + font-weight: 600; + color: #4d5761; +} + +.cptm-form-builder-preset-fields-header-action-link { + color: #747c89; +} + +.cptm-title-3 { + margin: 0; + color: #272b41; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + font-weight: 500; + font-size: 18px; +} + +.cptm-description-text { + margin: 5px 0 20px; + color: #5a5f7d; + font-size: 15px; +} + +.cptm-form-builder-active-fields { + display: block; + height: 100%; +} +.cptm-form-builder-active-fields.empty-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + text-align: center; + height: calc(100vh - 200px); + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-form-builder-active-fields.empty-content + .cptm-form-builder-active-fields-container { + height: auto; +} +.cptm-form-builder-active-fields.empty-content + .cptm-form-builder-active-fields-empty-text { + font-size: 18px; + line-height: 24px; + font-weight: 500; + font-style: italic; + color: #4d5761; + margin: 12px 0 0; +} +.cptm-form-builder-active-fields.empty-content + .cptm-form-builder-active-fields-footer { + text-align: center; +} +.cptm-form-builder-active-fields.empty-content + .cptm-form-builder-active-fields-footer + .cptm-btn { + margin: 10px auto; +} +.cptm-form-builder-active-fields .directorist-draggable-list-item-wrapper { + height: auto; + z-index: auto; +} +.cptm-form-builder-active-fields + .directorist-draggable-list-item-wrapper:hover { + z-index: 1; +} +.cptm-form-builder-active-fields .cptm-description-text + .cptm-btn { + border: 1px solid #3e62f5; + height: 43px; + background: rgba(62, 98, 245, 0.1); + color: #3e62f5; + font-size: 14px; + font-weight: 500; + margin: 0 0 22px; +} +.cptm-form-builder-active-fields + .cptm-description-text + + .cptm-btn.cptm-btn-primary { + background: #3e62f5; + color: #fff; +} + +.cptm-form-builder-active-fields-container { + position: relative; + margin: 0; + z-index: 1; +} + +.cptm-form-builder-active-fields-footer { + text-align: right; +} +@media only screen and (max-width: 991px) { + .cptm-form-builder-active-fields-footer { + text-align: right; + } +} +@media only screen and (max-width: 991px) { + .cptm-form-builder-active-fields-footer .cptm-btn { + margin-right: 0; + } +} +.cptm-form-builder-active-fields-footer .cptm-btn { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + height: 40px; + color: #3e62f5; + background: #ffffff; + border: 0 none; + margin: 16px 0 0; + font-size: 14px; + font-weight: 600; + border-radius: 4px; + border: 1px solid #3e62f5; + -webkit-box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08); + box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08); +} +.cptm-form-builder-active-fields-footer .cptm-btn span { + font-size: 16px; +} + +.cptm-form-builder-active-fields-group { + position: relative; + margin-bottom: 6px; + padding-bottom: 0; +} + +.cptm-form-builder-group-header-section { + position: relative; +} +.cptm-form-builder-group-header-section.expanded + .cptm-form-builder-group-header { + border-radius: 6px 6px 0 0; + background-color: #f9fafb; + border-bottom: none; +} +.cptm-form-builder-group-header-section.expanded + .cptm-form-builder-group-title-icon { + background-color: #d8e0fd; +} +.cptm-form-builder-group-header-section.locked + .cptm-form-builder-group-options-wrapper { + left: 12px; +} +.cptm-form-builder-group-header-section + .cptm-form-builder-group-options-wrapper { + position: absolute; + top: calc(100% - 12px); + left: 55px; + width: 100%; + max-width: 460px; + height: 100%; + z-index: 9; +} +.cptm-form-builder-group-header-section + .cptm-form-builder-group-options-wrapper + .cptm-form-builder-group-options { + padding: 0; + border: 1px solid #e5e7eb; + border-radius: 6px; + -webkit-box-shadow: 0 8px 16px rgba(16, 24, 40, 0.1); + box-shadow: 0 8px 16px rgba(16, 24, 40, 0.1); +} +.cptm-form-builder-group-header-section + .cptm-form-builder-group-options-wrapper + .cptm-form-builder-group-options + .cptm-form-builder-group-options-header { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + padding: 12px 16px; + border-bottom: 1px solid #e5e7eb; +} +.cptm-form-builder-group-header-section + .cptm-form-builder-group-options-wrapper + .cptm-form-builder-group-options + .cptm-form-builder-group-options-header-title { + font-size: 14px; + line-height: 16px; + font-weight: 600; + color: #2c3239; + margin: 0; +} +.cptm-form-builder-group-header-section + .cptm-form-builder-group-options-wrapper + .cptm-form-builder-group-options + .cptm-form-builder-group-options-header-close { + color: #2c3239; +} +.cptm-form-builder-group-header-section + .cptm-form-builder-group-options-wrapper + .cptm-form-builder-group-options + .cptm-form-builder-group-options-header-close + span { + font-size: 20px; +} +.cptm-form-builder-group-header-section + .cptm-form-builder-group-options-wrapper + .cptm-form-builder-group-options + .directorist-form-fields-area { + padding: 24px; +} + +.cptm-form-builder-group-header { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + border-radius: 6px; + background-color: #ffffff; + border: 1px solid #e5e7eb; + overflow: hidden; + -webkit-transition: border-radius ease 1s; + transition: border-radius ease 1s; +} + +.cptm-form-builder-group-header-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + padding: 12px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +div[draggable="true"].cptm-form-builder-group-header-content { + cursor: move; +} + +.cptm-form-builder-group-header-content__dropable-wrapper { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} + +.cptm-no-wrap { + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.cptm-card-top-area { + max-width: 450px; + margin: 0 auto; + margin-bottom: 10px; +} +.cptm-card-top-area > .form-group .cptm-form-control { + background: none; + border: 1px solid #c6d0dc; + height: 42px; +} +.cptm-card-top-area > .form-group .cptm-template-type-wrapper { + position: relative; +} +.cptm-card-top-area > .form-group .cptm-template-type-wrapper:before { + content: "\f110"; + position: absolute; + font-family: "LineAwesome"; + left: 20px; + top: 50%; + -webkit-transform: translateY(-50%); + transform: translateY(-50%); + pointer-events: none; +} + +.cptm-form-builder-group-header-content__dropable-placeholder { + margin-left: 15px; +} + +.cptm-form-builder-header-actions { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 8px; +} + +.cptm-form-builder-group-actions-dropdown-content.expanded { + position: absolute; + width: 200px; + top: 100%; + left: 0; + z-index: 9; +} +.cptm-form-builder-group-actions-dropdown-content.expanded + .cptm-form-builder-field-item-action-link { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + color: #d94a4a; + background: #ffffff; + padding: 10px 15px; + width: 100%; + height: 50px; + font-size: 14px; + font-weight: 500; + border-radius: 8px; + -webkit-box-sizing: border-box; + box-sizing: border-box; + border: 1px solid #e5e7eb; + -webkit-box-shadow: 0 12px 16px rgba(16, 24, 40, 0.08); + box-shadow: 0 12px 16px rgba(16, 24, 40, 0.08); + -webkit-transition: + background ease 0.3s, + color ease 0.3s, + border-color ease 0.3s; + transition: + background ease 0.3s, + color ease 0.3s, + border-color ease 0.3s; +} +.cptm-form-builder-group-actions-dropdown-content.expanded + .cptm-form-builder-field-item-action-link + span { + font-size: 20px; +} +.cptm-form-builder-group-actions-dropdown-content.expanded + .cptm-form-builder-field-item-action-link:hover { + color: #ffffff; + background: #d94a4a; + border-color: #d94a4a; +} + +.cptm-form-builder-group-actions { + display: block; + min-width: 34px; + margin-right: 15px; +} + +.cptm-form-builder-group-title { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 12px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + margin: 0; + font-size: 15px; + font-weight: 500; + color: #141921; +} +@media only screen and (max-width: 480px) { + .cptm-form-builder-group-title { + font-size: 13px; + } +} + +.cptm-form-builder-group-title-icon { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 40px; + height: 40px; + min-width: 40px; + min-height: 40px; + font-size: 20px; + color: #141921; + border-radius: 8px; + background-color: #f3f4f6; +} +@media only screen and (max-width: 480px) { + .cptm-form-builder-group-title-icon { + width: 32px; + height: 32px; + min-width: 32px; + min-height: 32px; + font-size: 18px; + } +} + +.cptm-form-builder-group-options { + background-color: #fff; + padding: 20px; + border-radius: 0 0 6px 6px; + border: 1px solid #e5e7eb; + border-top: none; + -webkit-box-shadow: 0 4px 8px rgba(16, 24, 40, 0.08); + box-shadow: 0 4px 8px rgba(16, 24, 40, 0.08); +} +.cptm-form-builder-group-options .directorist-form-fields-advanced { + padding: 0; + margin: 16px 0 0; + font-size: 13px; + font-weight: 500; + background: transparent; + border: none; + outline: none; + -webkit-box-shadow: none; + box-shadow: none; + color: #2e94fa; + text-decoration: underline; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; + cursor: pointer; +} +.cptm-form-builder-group-options .directorist-form-fields-advanced:hover { + color: #3e62f5; +} +.cptm-form-builder-group-options + .directorist-form-fields-area + .cptm-form-group:last-child { + margin-bottom: 0; +} +.cptm-form-builder-group-options + .cptm-form-builder-group-options__advanced-toggle { + font-size: 13px; + font-weight: 500; + color: #3e62f5; + background: transparent; + border: none; + padding: 0; + display: block; + margin-top: -7px; + cursor: pointer; +} + +.cptm-form-builder-group-fields { + display: block; + position: relative; + padding: 24px; + background-color: #fff; + border: 1px solid #e5e7eb; + border-top: none; + border-radius: 0 0 6px 6px; + -webkit-box-shadow: 0 4px 8px rgba(16, 24, 40, 0.08); + box-shadow: 0 4px 8px rgba(16, 24, 40, 0.08); +} + +.icon-picker-selector { + margin: 0; + padding: 3px 16px 3px 4px; + border: 1px solid #d2d6db; + border-radius: 8px; + -webkit-box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05); + box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05); +} +.icon-picker-selector .icon-picker-selector__icon { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + margin: 0; +} +.icon-picker-selector + .icon-picker-selector__icon + input[type="text"].cptm-form-control { + padding: 5px 20px; + min-height: 20px; + background-color: transparent; + outline: none; +} +.icon-picker-selector .icon-picker-selector__icon .directorist-selected-icon { + position: unset; + -webkit-transform: unset; + transform: unset; + font-size: 16px; +} +.icon-picker-selector + .icon-picker-selector__icon + .directorist-selected-icon:before { + margin-left: 6px; +} +.icon-picker-selector .icon-picker-selector__icon input { + height: 32px; + border: none !important; + padding-right: 0 !important; +} +.icon-picker-selector + .icon-picker-selector__icon + .icon-picker-selector__icon__reset { + font-size: 12px; + padding: 0 0 0 10px; +} +.icon-picker-selector .icon-picker-selector__btn { + margin: 0; + height: 32px; + padding: 0 15px; + font-size: 13px; + font-weight: 500; + color: #2c3239; + border-radius: 6px; + background-color: #e5e7eb; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; +} +.icon-picker-selector .icon-picker-selector__btn:hover { + background-color: #e3e6e9; +} + +.cptm-restricted-area { + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + z-index: 999; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + padding: 10px; + text-align: center; + background: rgba(255, 255, 255, 0.8); +} + +.cptm-form-builder-group-field-item { + margin-bottom: 8px; + position: relative; +} +.cptm-form-builder-group-field-item .cptm-form-builder-group-field-item-drag { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 40px; + height: 48px; + font-size: 24px; + color: #747c89; + background-color: #f9fafb; + border-radius: 0 6px 6px 0; + cursor: move; +} +.cptm-form-builder-group-field-item + .cptm-form-builder-group-field-item-header-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + padding: 8px 12px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-form-builder-group-field-item.expanded + .cptm-form-builder-group-field-item-header { + border-radius: 6px 6px 0 0; + background-color: #f9fafb; + border-width: 1.5px; + border-color: #3e62f5; + border-bottom: none; +} + +.cptm-form-builder-group-field-item-actions { + display: block; + position: absolute; + left: -15px; + -webkit-transform: translate(-34px, 7px); + transform: translate(-34px, 7px); +} + +.cptm-form-builder-group-field-item-action-link { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + font-size: 14px; + background-color: #e3e6ef; + border-radius: 50%; + width: 34px; + height: 34px; + text-align: center; + color: #868eae; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} + +.action-trash:hover { + color: #e62626; + background-color: rgba(255, 0, 0, 0.15); +} + +.action-trash:hover { + background-color: #d7d7d7; +} +.action-trash:hover:hover { + color: #e62626; + background-color: rgba(255, 0, 0, 0.15); +} + +.cptm-form-builder-header-action-link { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 32px; + height: 32px; + font-size: 18px; + color: #747c89; + border: 1px solid #e5e7eb; + border-radius: 6px; + outline: none; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-form-builder-header-action-link:hover, +.cptm-form-builder-header-action-link:focus, +.cptm-form-builder-header-action-link:active { + color: #141921; + background-color: #f3f4f6; + border-color: #e5e7eb; + -webkit-box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05); + box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05); +} +@media only screen and (max-width: 480px) { + .cptm-form-builder-header-action-link { + width: 24px; + height: 24px; + font-size: 14px; + } +} +.cptm-form-builder-header-action-link.disabled { + color: #a1a9b2; + pointer-events: none; +} + +.cptm-form-builder-header-toggle-link { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 32px; + height: 32px; + font-size: 24px; + color: #747c89; + border: none !important; + -webkit-box-shadow: none !important; + box-shadow: none !important; + outline: none !important; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +@media only screen and (max-width: 480px) { + .cptm-form-builder-header-toggle-link { + width: 24px; + height: 24px; + font-size: 18px; + } +} +.cptm-form-builder-header-toggle-link.action-collapse-down { + color: #3e62f5; +} +.cptm-form-builder-header-toggle-link.disabled { + opacity: 0.5; + pointer-events: none; +} + +.action-collapse-up span { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + -webkit-transform: rotate(0); + transform: rotate(0); +} + +.action-collapse-down span { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + -webkit-transform: rotate(-180deg); + transform: rotate(-180deg); +} + +.cptm-form-builder-group-field-item-header { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + border-radius: 6px; + border: 1px solid #e5e7eb; + -webkit-transition: border-radius ease 1s; + transition: border-radius ease 1s; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + font-size: 14px; + line-height: 16px; + font-weight: 500; + color: #141921; + margin: 0; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-form-builder-group-field-item-label { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-form-builder-group-field-item-subtitle { + color: #747c89; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-form-builder-group-field-item-icon { + font-size: 20px; + color: #141921; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 12px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-icon-svg { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-icon-svg + svg { + width: 16px; + height: 16px; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-icon-svg + svg + path { + fill: #747c89; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-info-tooltip { + position: relative; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-info-tooltip:before { + content: attr(data-info); + position: absolute; + top: calc(100% + 8px); + right: 0; + min-width: 180px; + max-width: 180px; + text-align: center; + color: #ffffff; + font-size: 13px; + font-weight: 500; + padding: 10px 12px; + border-radius: 6px; + background-color: #141921; + opacity: 0; + visibility: hidden; + -webkit-transition: + opacity 0.3s ease, + visibility 0.3s ease; + transition: + opacity 0.3s ease, + visibility 0.3s ease; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-info-tooltip:after { + content: ""; + position: absolute; + top: calc(100% + 2px); + right: 4px; + border-bottom: 6px solid #141921; + border-right: 6px solid transparent; + border-left: 6px solid transparent; + opacity: 0; + visibility: hidden; + -webkit-transition: + opacity 0.3s ease, + visibility 0.3s ease; + transition: + opacity 0.3s ease, + visibility 0.3s ease; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-info-tooltip:hover:before, +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-info-tooltip:hover:after { + opacity: 1; + visibility: visible; + z-index: 1; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-info { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + font-size: 12px; + line-height: 14px; + font-weight: 400; + padding: 4px 8px; + color: #ca6f04; + background-color: #fdefce; + border-radius: 4px; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-info + .cptm-title-info-icon { + font-size: 16px; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-title + .cptm-title-info + i { + font-size: 16px; + color: #4d5761; +} +.cptm-form-builder-group-field-item-header + .cptm-form-builder-group-field-item-header-actions + .cptm-form-builder-header-action-link { + font-size: 18px; + color: #747c89; + border: none; + -webkit-box-shadow: none; + box-shadow: none; +} + +.cptm-form-builder-group-field-item-body { + padding: 24px; + border: 1.5px solid #3e62f5; + border-top-width: 1px; + border-radius: 0 0 6px 6px; +} + +.cptm-form-builder-group-item-drag { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 46px; + min-width: 46px; + height: 100%; + min-height: 64px; + font-size: 24px; + color: #747c89; + background-color: #f9fafb; + -webkit-box-flex: unset; + -webkit-flex-grow: unset; + -ms-flex-positive: unset; + flex-grow: unset; + cursor: move; +} +@media only screen and (max-width: 480px) { + .cptm-form-builder-group-item-drag { + width: 32px; + min-width: 32px; + font-size: 18px; + } +} + +.cptm-form-builder-field-list { + padding: 0; + margin: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-form-builder-field-list .directorist-draggable-list-item { + position: unset; +} + +.cptm-form-builder-field-list-item { + width: calc(50% - 4px); + padding: 12px; + margin: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + list-style: none; + background-color: #ffffff; + border: 1px solid #d2d6db; + border-radius: 4px; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; +} +.cptm-form-builder-field-list-item .directorist-draggable-list-item-slot { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} +.cptm-form-builder-field-list-item:hover { + background-color: #e5e7eb; + -webkit-box-shadow: 0 2px 4px rgba(16, 24, 40, 0.08); + box-shadow: 0 2px 4px rgba(16, 24, 40, 0.08); +} +.cptm-form-builder-field-list-item.clickable { + cursor: pointer; +} +.cptm-form-builder-field-list-item.disabled { + cursor: not-allowed; +} +@media (max-width: 400px) { + .cptm-form-builder-field-list-item { + width: calc(100% - 6px); + } +} + +li[class="cptm-form-builder-field-list-item"][draggable="true"] { + cursor: move; +} + +.cptm-form-builder-field-list-item { + position: relative; +} +.cptm-form-builder-field-list-item > pre { + position: absolute; + top: 3px; + left: 5px; + margin: 0; + font-size: 10px; + line-height: 12px; + color: #f80718; +} + +.cptm-form-builder-field-list-icon { + display: inline-block; + margin-left: 8px; + width: auto; + max-width: 20px; + font-size: 20px; + color: #141921; +} + +.cptm-form-builder-field-list-item-icon { + font-size: 14px; + margin-left: 1px; +} + +.cptm-form-builder-field-list-label, +.cptm-form-builder-field-list-item-label { + display: inline-block; + font-size: 13px; + font-weight: 500; + color: #141921; +} + +.cptm-option-card--draggable .cptm-form-builder-field-list { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 10px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 12px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + margin: 0; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item { + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + border-radius: 8px; + border-color: #e5e7eb; + background: transparent; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-content { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-drag { + cursor: move; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-edit, +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-action { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + color: #747c89; + border-radius: 6px; + cursor: pointer; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-edit.active, +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-edit:hover, +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-action.active, +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-action:hover { + color: #0e3bf2; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-form-builder-field-list-item-action:hover { + color: #d94a4a; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container { + padding: 15px 0 22px 0; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-preview-wrapper { + margin-bottom: 20px; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-widget-options-wrap:not(:last-child) { + margin-bottom: 17px; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-form-group + .cptm-preview-radio-area + label { + margin-bottom: 12px; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-form-group + .cptm-radio-area + .cptm-radio-item:last-child + label { + margin-bottom: 0; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-form-group--color-picker + .atbdp-row { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-form-group--color-picker + .atbdp-row + .atbdp-col { + width: 100%; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-form-group--color-picker + .cptm-color-picker-wrap { + width: 100%; + padding: 6px; + border-radius: 8px; + border: 1px solid #d2d6db; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-form-group--color-picker + .cptm-color-picker-wrap + .cptm-color-picker { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + height: 20px; + width: 20px; + padding: 0; + border-radius: 6px; + border: 1px solid #e5e7eb; + overflow: hidden; +} +.cptm-option-card--draggable + .cptm-form-builder-field-list + .cptm-widget-options-container + .cptm-form-group--color-picker + .cptm-color-picker-wrap + .cptm-color-picker + .icp__input { + width: 30px; + height: 30px; + margin: 0; +} +.cptm-option-card--draggable + .cptm-widget-options-container-draggable + .cptm-widget-options-container { + padding-right: 25px; +} + +.cptm-info-text-area { + margin-bottom: 10px; +} + +.cptm-info-text { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + font-size: 12px; + line-height: 14px; + font-weight: 400; + margin: 0; + padding: 0 8px; + height: 22px; + color: #4d5761; + border-radius: 4px; + background: #daeeff; +} + +.cptm-info-success { + color: #00b158; +} + +.cptm-mb-0 { + margin-bottom: 0 !important; +} + +.cptm-item-footer-drop-area { + position: absolute; + right: 0; + bottom: 0; + width: 100%; + height: 20px; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + -webkit-transform: translate(0, 100%); + transform: translate(0, 100%); + z-index: 5; +} +.cptm-item-footer-drop-area.drag-enter { + background-color: rgba(23, 135, 255, 0.3); +} +.cptm-item-footer-drop-area.cptm-group-item-drop-area { + height: 40px; +} + +.cptm-form-builder-group-field-item-drop-area { + height: 20px; + position: absolute; + bottom: -20px; + z-index: 5; + width: 100%; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-form-builder-group-field-item-drop-area.drag-enter { + background-color: rgba(23, 135, 255, 0.3); +} + +.cptm-checkbox-area, +.cptm-options-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + margin: 10px 0; + left: 0; + right: 0; +} + +.cptm-checkbox-area .cptm-checkbox-item:not(:last-child) { + margin-bottom: 10px; +} + +@media (max-width: 1300px) { + .cptm-checkbox-area, + .cptm-options-area { + position: static; + } +} +.cptm-checkbox-item, +.cptm-radio-item { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + margin-left: 20px; +} + +.cptm-tab-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-tab-area .cptm-tab-item input { + display: none; +} +.cptm-tab-area .cptm-tab-item input:checked + label { + color: #fff; + background-color: #3e62f5; +} +.cptm-tab-area .cptm-tab-item label { + margin: 0; + padding: 0 12px; + height: 32px; + line-height: 32px; + font-size: 14px; + font-weight: 500; + color: #747c89; + background: #e5e7eb; + cursor: pointer; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-tab-area .cptm-tab-item label:hover { + color: #fff; + background-color: #3e62f5; +} + +@media screen and (max-width: 782px) { + .enable_schema_markup .atbdp-label-icon-wrapper { + margin-bottom: 15px !important; + } +} + +.cptm-schema-tab-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-align: start; + -webkit-align-items: flex-start; + -ms-flex-align: start; + align-items: flex-start; + gap: 12px; +} +.cptm-schema-tab-label { + color: rgba(0, 6, 38, 0.9); + font-size: 15px; + font-style: normal; + font-weight: 600; + line-height: 16px; +} +.cptm-schema-tab-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 10px 20px; +} +@media screen and (max-width: 782px) { + .cptm-schema-tab-wrapper { + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + } +} +.cptm-schema-tab-wrapper input[type="radio"]:checked { + background-color: #3e62f5 !important; + border-color: #3e62f5 !important; +} +.cptm-schema-tab-wrapper input[type="radio"]:checked::before { + background-color: white !important; +} +.cptm-schema-tab-item { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding: 12px 16px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 6px; + border-radius: 8px; + border: 1px solid rgba(0, 17, 102, 0.1); + background-color: #fff; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +@media screen and (max-width: 782px) { + .cptm-schema-tab-item { + width: 100%; + } +} +.cptm-schema-tab-item input[type="radio"] { + -webkit-box-shadow: none; + box-shadow: none; +} +@media screen and (max-width: 782px) { + .cptm-schema-tab-item input[type="radio"] { + width: 16px; + height: 16px; + } + .cptm-schema-tab-item input[type="radio"]:checked:before { + width: 0.5rem; + height: 0.5rem; + margin: 3px 3px; + line-height: 1.14285714; + } +} +.cptm-schema-tab-item.active { + border-color: #3e62f5 !important; + background-color: #f0f3ff; +} +.cptm-schema-tab-item.active .cptm-schema-label-wrapper { + color: #3e62f5 !important; +} +.cptm-schema-multi-directory-disabled .cptm-schema-tab-item:last-child { + cursor: not-allowed; + opacity: 0.5; + pointer-events: none; +} +.cptm-schema-multi-directory-disabled + .cptm-schema-tab-item:last-child + .cptm-schema-label-badge { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; +} +.cptm-schema-label-wrapper { + color: rgba(0, 6, 38, 0.9) !important; + font-size: 14px !important; + font-style: normal; + font-weight: 600 !important; + line-height: 20px; + cursor: pointer; + margin: 0 !important; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-schema .cptm-schema-label { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 6px; +} +.cptm-schema-label-badge { + display: none; + height: 20px; + padding: 0px 8px; + border-radius: 4px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + background-color: #e3ecf2; + color: rgba(0, 8, 51, 0.65); + font-size: 12px; + font-style: normal; + font-weight: 500; + line-height: 16px; + letter-spacing: 0.12px; +} +.cptm-schema-label-description { + color: rgba(0, 8, 51, 0.65); + font-size: 12px !important; + font-style: normal; + font-weight: 400; + line-height: 18px; + margin-top: 2px; +} + +#listing_settings__listings_page .cptm-checkbox-item:not(:last-child) { + margin-bottom: 10px; +} + +input[type="checkbox"].cptm-checkbox { + display: none; +} +input[type="checkbox"].cptm-checkbox:checked + .cptm-checkbox-ui { + color: #3e62f5; +} +input[type="checkbox"].cptm-checkbox:checked + .cptm-checkbox-ui::before { + font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands"; + font-weight: 900; + color: #fff; + content: "\f00c"; + z-index: 22; +} +input[type="checkbox"].cptm-checkbox:checked + .cptm-checkbox-ui:after { + background-color: #00b158; + border-color: #00b158; + z-index: -1; +} + +input[type="radio"].cptm-radio { + margin-top: 1px; +} + +.cptm-form-range-wrap { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-form-range-wrap .cptm-form-range-bar { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} +.cptm-form-range-wrap .cptm-form-range-output { + width: 30px; +} +.cptm-form-range-wrap .cptm-form-range-output-text { + padding: 10px 20px; + background-color: #fff; +} + +.cptm-checkbox-ui { + display: inline-block; + min-width: 16px; + position: relative; + z-index: 1; + margin-left: 12px; +} +.cptm-checkbox-ui::before { + font-size: 10px; + line-height: 1; + font-weight: 900; + display: inline-block; + margin-right: 4px; +} +.cptm-checkbox-ui:after { + position: absolute; + right: 0; + top: 0; + width: 18px; + height: 18px; + border-radius: 4px; + border: 1px solid #c6d0dc; + content: ""; +} + +.cptm-vh { + overflow: hidden; + overflow-y: auto; + max-height: 100vh; +} + +.cptm-thumbnail { + max-width: 350px; + width: 100%; + height: auto; + margin-bottom: 20px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + background-color: #f2f2f2; +} +.cptm-thumbnail img { + display: block; + width: 100%; + height: auto; +} + +.cptm-thumbnail-placeholder { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; +} + +.cptm-thumbnail-placeholder-icon { + font-size: 40px; + color: #d2d6db; +} +.cptm-thumbnail-placeholder-icon svg { + width: 40px; + height: 40px; +} + +.cptm-thumbnail-img-wrap { + position: relative; +} + +.cptm-thumbnail-action { + display: inline-block; + position: absolute; + top: 0; + left: 0; + background-color: #c6c6c6; + padding: 5px 8px; + border-radius: 50%; + margin: 10px; + cursor: pointer; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} + +.cptm-sub-navigation { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + margin: 0 auto 10px; + padding: 3px 4px; + background: #e5e7eb; + border-radius: 6px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +@media only screen and (max-width: 480px) { + .cptm-sub-navigation { + padding: 10px; + } +} + +.cptm-sub-nav__item { + list-style: none; + margin: 0; +} + +.cptm-sub-nav__item-link { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 7px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + text-decoration: none; + height: 32px; + padding: 0 10px; + color: #4d5761; + font-size: 14px; + line-height: 14px; + font-weight: 500; + border-radius: 4px; + -webkit-transition: 0.3s ease; + transition: 0.3s ease; +} +.cptm-sub-nav__item-link .cptm-sub-nav__item-tooltip { + padding: 0 10px; + margin-left: -10px; + height: 32px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + background: transparent; + color: #4d5761; + border-radius: 4px 0 0 4px; +} +.cptm-sub-nav__item-link .cptm-sub-nav__item-tooltip svg path { + stroke: #4d5761; +} +.cptm-sub-nav__item-link .cptm-sub-nav__item-tooltip:hover { + background: #f9f9f9; +} +.cptm-sub-nav__item-link .cptm-sub-nav__item-icon { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + font-size: 24px; + color: #4d5761; +} +.cptm-sub-nav__item-link .cptm-sub-nav__item-icon svg { + width: 24px; + height: 24px; +} +.cptm-sub-nav__item-link .cptm-sub-nav__item-icon svg path { + stroke: #4d5761; +} +.cptm-sub-nav__item-link.active { + color: #141921; + background: #ffffff; +} +.cptm-sub-nav__item-link.active .cptm-sub-nav__item-icon svg path { + stroke: #141921; +} +.cptm-sub-nav__item-link.active .cptm-sub-nav__item-tooltip svg path { + stroke: #141921; +} +.cptm-sub-nav__item-link:hover:not(.active) { + color: #141921; + background: #ffffff; +} + +.cptm-builder-section { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + position: relative; +} +@media only screen and (max-width: 1199px) { + .cptm-builder-section { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + } +} + +.cptm-options-area { + width: 320px; + margin: 0; +} + +.cptm-option-card { + display: none; + opacity: 0; + position: relative; + border-radius: 5px; + text-align: right; + -webkit-transform-origin: center; + transform-origin: center; + background: #ffffff; + border-radius: 4px; + -webkit-box-shadow: 0 8px 16px 0 rgba(16, 24, 40, 0.1); + box-shadow: 0 8px 16px 0 rgba(16, 24, 40, 0.1); + -webkit-transition: all linear 300ms; + transition: all linear 300ms; + pointer-events: none; +} +.cptm-option-card:before { + content: ""; + border-bottom: 7px solid #ffffff; + border-right: 7px solid transparent; + border-left: 7px solid transparent; + position: absolute; + top: -6px; + left: 22px; +} +.cptm-option-card.cptm-animation-flip { + -webkit-transform: rotate3d(0, -1, 0, -45deg); + transform: rotate3d(0, -1, 0, -45deg); +} +.cptm-option-card.cptm-animation-slide-up { + -webkit-transform: translate(0, 30px); + transform: translate(0, 30px); +} +.cptm-option-card.active { + display: block; + opacity: 1; + pointer-events: all; +} +.cptm-option-card.active.cptm-animation-flip { + -webkit-transform: rotate3d(0, 0, 0, 0deg); + transform: rotate3d(0, 0, 0, 0deg); +} +.cptm-option-card.active.cptm-animation-slide-up { + -webkit-transform: translate(0, 0); + transform: translate(0, 0); +} + +.cptm-anchor-down { + display: block; + text-align: center; + position: relative; + top: -1px; +} +.cptm-anchor-down:after { + content: ""; + display: inline-block; + width: 0; + height: 0; + border-right: 15px solid transparent; + border-left: 15px solid transparent; + border-top: 15px solid #fff; +} + +.cptm-header-action-link { + display: inline-block; + padding: 0 10px; + text-decoration: none; + color: #2c3239; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-header-action-link:hover { + color: #1890ff; +} + +.cptm-option-card-header { + padding: 8px 16px; + border-bottom: 1px solid #e5e7eb; +} + +.cptm-option-card-header-title-section { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.cptm-option-card-header-title { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + margin: 0; + text-align: right; + font-size: 14px; + font-weight: 600; + line-height: 24px; + color: #141921; +} + +.cptm-header-action-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding: 0 10px 0 0; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.cptm-option-card-header-nav-section { + display: block; +} + +.cptm-option-card-header-nav { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + color: #fff; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + padding: 0; + margin: 0; + background-color: rgba(255, 255, 255, 0.15); +} + +.cptm-option-card-header-nav-item { + display: block; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + text-align: center; + padding: 8px 10px; + cursor: pointer; + margin-bottom: 0; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-option-card-header-nav-item.active { + background-color: rgba(255, 255, 255, 0.15); +} + +.cptm-option-card-body { + padding: 16px; + max-height: 500px; + overflow-y: auto; +} +.cptm-option-card-body .cptm-form-group:last-child { + margin-bottom: 0; +} +.cptm-option-card-body .cptm-input-toggle-wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 12px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-orient: horizontal; + -webkit-box-direction: reverse; + -webkit-flex-direction: row-reverse; + -ms-flex-direction: row-reverse; + flex-direction: row-reverse; + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-option-card-body .cptm-input-toggle-wrap .cptm-input-toggle-content { + -webkit-box-flex: unset; + -webkit-flex: unset; + -ms-flex: unset; + flex: unset; +} +.cptm-option-card-body + .cptm-input-toggle-wrap + .cptm-input-toggle-content + label { + font-size: 14px; + font-weight: 500; + line-height: 20px; + color: #141921; +} +.cptm-option-card-body .directorist-type-icon-select { + margin-bottom: 20px; +} +.cptm-option-card-body .directorist-type-icon-select .icon-picker-selector { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.cptm-widget-actions, +.cptm-widget-actions-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 100%; + position: absolute; + bottom: 0; + right: 50%; + -webkit-transform: translate(50%, 3px); + transform: translate(50%, 3px); + -webkit-transition: all ease-in-out 0.3s; + transition: all ease-in-out 0.3s; + z-index: 1; +} + +.cptm-widget-actions-wrap { + position: relative; + width: 100%; +} + +.cptm-widget-action-modal-container { + position: absolute; + right: 50%; + top: 0; + width: 330px; + -webkit-transform: translate(50%, 20px); + transform: translate(50%, 20px); + pointer-events: none; + -webkit-box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15); + box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15); + -webkit-transition: -webkit-transform 0.3s ease; + transition: -webkit-transform 0.3s ease; + transition: transform 0.3s ease; + transition: + transform 0.3s ease, + -webkit-transform 0.3s ease; + z-index: 2; +} +.cptm-widget-action-modal-container.active { + pointer-events: all; + -webkit-transform: translate(50%, 10px); + transform: translate(50%, 10px); +} +@media only screen and (max-width: 480px) { + .cptm-widget-action-modal-container { + max-width: 250px; + } +} + +.cptm-widget-insert-modal-container .cptm-option-card:before { + left: 50%; + -webkit-transform: translateX(-50%); + transform: translateX(-50%); +} + +.cptm-widget-option-modal-container .cptm-option-card:before { + left: unset; + right: 50%; + -webkit-transform: translateX(50%); + transform: translateX(50%); +} +.cptm-widget-option-modal-container .cptm-option-card { + margin: 0; +} +.cptm-widget-option-modal-container .cptm-option-card-header { + background-color: #fff; + border: 1px solid #e5e7eb; +} +.cptm-widget-option-modal-container .cptm-header-action-link { + color: #2c3239; +} +.cptm-widget-option-modal-container .cptm-header-action-link:hover { + color: #1890ff; +} +.cptm-widget-option-modal-container .cptm-option-card-body { + background-color: #fff; + border: 1px solid #e5e7eb; + border-top: none; + -webkit-box-shadow: none; + box-shadow: none; +} +.cptm-widget-option-modal-container .cptm-option-card-header-title-section, +.cptm-widget-option-modal-container .cptm-option-card-header-title { + color: #2c3239; +} + +.cptm-widget-actions-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; +} + +.cptm-widget-action-link { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 28px; + height: 28px; + border-radius: 50%; + font-size: 16px; + text-align: center; + text-decoration: none; + background-color: #fff; + border: 1px solid #3e62f5; + color: #3e62f5; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-widget-action-link:focus { + outline: none; + -webkit-box-shadow: 0 0 0 2px #b4c2f9; + box-shadow: 0 0 0 2px #b4c2f9; +} +.cptm-widget-action-link:hover { + background-color: #3e62f5; + color: #fff; +} +.cptm-widget-action-link:hover svg path { + fill: #fff; +} + +.cptm-widget-card-drop-prepend { + border-radius: 8px; +} + +.cptm-widget-card-drop-append { + display: block; + width: 100%; + height: 0; + border-radius: 8px; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + background-color: transparent; + border: 1px dashed transparent; +} +.cptm-widget-card-drop-append.dropable { + margin: 3px 0; + height: 10px; + border-color: cornflowerblue; +} +.cptm-widget-card-drop-append.drag-enter { + background-color: cornflowerblue; +} + +.cptm-widget-card-wrap { + visibility: visible; +} +.cptm-widget-card-wrap.cptm-widget-card-disabled { + opacity: 0.3; + pointer-events: none; +} +.cptm-widget-card-wrap.cptm-widget-card-disabled.cptm-widget-title-card-wrap { + opacity: 1; +} +.cptm-widget-card-wrap.cptm-widget-card-disabled.cptm-widget-title-card-wrap + .cptm-widget-title-block { + opacity: 0.3; +} +.cptm-widget-card-wrap.cptm-widget-card-disabled.cptm-widget-thumb-card-wrap { + opacity: 1; +} +.cptm-widget-card-wrap.cptm-widget-card-disabled.cptm-widget-thumb-card-wrap + .cptm-widget-label, +.cptm-widget-card-wrap.cptm-widget-card-disabled.cptm-widget-thumb-card-wrap + .cptm-widget-thumb-icon { + opacity: 0.3; + color: #4d5761; +} +.cptm-widget-card-wrap.cptm-widget-card-disabled.cptm-widget-thumb-card-wrap + .cptm-widget-card-disabled-badge { + margin-top: 10px; +} +.cptm-widget-card-wrap .cptm-widget-card-disabled-badge { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + gap: 4px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + font-size: 12px; + line-height: 14px; + font-weight: 500; + padding: 0 6px; + height: 18px; + color: #853d0e; + background: #fdefce; + border-radius: 4px; +} +.cptm-widget-card-wrap.cptm-widget-title-card-wrap { + position: relative; + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 12px; + background-color: #fff; + border: 1px solid #e5e7eb; + border-radius: 4px; +} +.cptm-widget-card-wrap.cptm-widget-title-card-wrap .cptm-widget-title-card { + padding: 0; + font-size: 19px; + font-weight: 600; + line-height: 25px; + color: #141921; +} +.cptm-widget-card-wrap.cptm-widget-title-card-wrap + .cptm-widget-card-options-area + .cptm-form-group { + margin: 0; +} +.cptm-widget-card-wrap.cptm-widget-title-card-wrap + .cptm-widget-card-options-area + .cptm-input-toggle-wrap { + gap: 10px; + -webkit-box-orient: horizontal; + -webkit-box-direction: reverse; + -webkit-flex-direction: row-reverse; + -ms-flex-direction: row-reverse; + flex-direction: row-reverse; +} +.cptm-widget-card-wrap.cptm-widget-title-card-wrap + .cptm-widget-card-options-area + .cptm-input-toggle-wrap + label { + padding: 0; + font-size: 14px; + font-weight: 500; + line-height: 1.15; + color: #141921; +} +.cptm-widget-card-wrap.cptm-widget-title-card-wrap .cptm-widget-badge-trash { + position: absolute; + left: 12px; + top: 50%; + -webkit-transform: translateY(-50%); + transform: translateY(-50%); + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 20px; + height: 20px; + font-size: 14px; + color: #d94a4a; + background: #ffffff; + border: 1px solid #d94a4a; + border-radius: 50%; + cursor: pointer; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-widget-card-wrap.cptm-widget-title-card-wrap + .cptm-widget-badge-trash:hover { + color: #ffffff; + background: #d94a4a; +} + +.cptm-widget-card-inline-wrap { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + vertical-align: top; +} +.cptm-widget-card-inline-wrap .cptm-widget-card-drop-append { + display: inline-block; + width: 0; + height: auto; +} +.cptm-widget-card-inline-wrap .cptm-widget-card-drop-append.dropable { + margin: 0 3px; + width: 10px; + max-width: 10px; +} + +.cptm-widget-badge { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + gap: 4px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + color: #141921; + border-radius: 5px; + font-size: 12px; + font-weight: 400; + background-color: #ffffff; + -webkit-transition: 0.3s ease; + transition: 0.3s ease; + position: relative; + height: 32px; + padding: 0 10px; + border-radius: 4px; + background: #ffffff; + border: 1px solid #e5e7eb; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-widget-badge .cptm-widget-badge-icon, +.cptm-widget-badge .cptm-widget-badge-trash { + font-size: 16px; + color: #141921; +} +.cptm-widget-badge .cptm-widget-badge-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + gap: 4px; + height: 100%; +} +.cptm-widget-badge .cptm-widget-badge-label { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + text-align: right; +} +.cptm-widget-badge .cptm-widget-badge-trash { + margin-right: 4px; + cursor: pointer; + -webkit-transition: color ease 0.3s; + transition: color ease 0.3s; +} +.cptm-widget-badge .cptm-widget-badge-trash:hover { + color: #3e62f5; +} +.cptm-widget-badge.cptm-widget-badge--icon { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + padding: 0; + width: 22px; + height: 22px; + min-height: unset; + border-radius: 100%; +} +.cptm-widget-badge.cptm-widget-badge--icon .cptm-widget-badge-icon { + font-size: 12px; +} + +.cptm-preview-area { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} + +.cptm-preview-wrapper { + display: -webkit-box !important; + display: -webkit-flex !important; + display: -ms-flexbox !important; + display: flex !important; + gap: 25px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} +.cptm-preview-wrapper .cptm-preview-radio-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + max-width: 300px; +} +.cptm-preview-wrapper .cptm-preview-area-archive img { + max-height: 100px; +} + +.cptm-preview-notice { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 16px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + max-width: 658px; + margin: 40px auto; + padding: 20px 24px; + background: #f3f4f6; + border-radius: 10px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-preview-notice.cptm-preview-notice--list { + max-width: unset; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} +.cptm-preview-notice .cptm-preview-notice-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-preview-notice .cptm-preview-notice-content .cptm-preview-notice-text { + font-size: 12px; + font-weight: 400; + color: #2c3239; + margin: 0; +} +.cptm-preview-notice + .cptm-preview-notice-content + .cptm-preview-notice-text + strong { + color: #141921; + font-weight: 600; +} +.cptm-preview-notice .cptm-preview-notice-action .cptm-preview-notice-btn { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + height: 34px; + padding: 0 16px; + font-size: 13px; + font-weight: 500; + border-radius: 8px; + color: #747c89; + background: #ffffff; + border: 1px solid #d2d6db; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; +} +.cptm-preview-notice + .cptm-preview-notice-action + .cptm-preview-notice-btn:hover { + color: #3e62f5; + border-color: #3e62f5; +} +.cptm-preview-notice + .cptm-preview-notice-action + .cptm-preview-notice-btn:hover + svg + path { + fill: #3e62f5; +} + +.cptm-widget-thumb .cptm-widget-thumb-icon { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} +.cptm-widget-thumb .cptm-widget-thumb-icon i { + font-size: 133px; + color: #a1a9b2; +} +.cptm-widget-thumb .cptm-widget-label { + font-size: 16px; + line-height: 18px; + font-weight: 400; + color: #141921; +} + +.cptm-placeholder-block-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + position: relative; +} +.cptm-placeholder-block-wrapper:last-child { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-placeholder-block-wrapper .cptm-placeholder-block { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.cptm-placeholder-block-wrapper + .cptm-placeholder-block:not(.cptm-listing-card-preview-body-placeholder) + .cptm-widget-preview-card { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + vertical-align: top; +} +.cptm-placeholder-block-wrapper .cptm-widget-card-status { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 32px; + height: 32px; + margin-top: 4px; + background: #f3f4f6; + border-radius: 8px; + cursor: pointer; +} +.cptm-placeholder-block-wrapper .cptm-widget-card-status span { + color: #747c89; +} +.cptm-placeholder-block-wrapper .cptm-widget-card-status.disabled { + background: #d2d6db; +} +.cptm-placeholder-block-wrapper .cptm-listing-card-preview-top-placeholder { + padding: 12px; + min-height: 62px; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-preview-container { + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-preview-container + .dndrop-draggable-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + height: auto; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-preview-container + .cptm-widget-preview-card, +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-preview-container + .dndrop-draggable-wrapper-listing_title { + -webkit-transform: unset !important; + transform: unset !important; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-preview-container + .dndrop-draggable-wrapper-listing_title.animated { + z-index: 99999; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-placeholder-label { + top: 50%; + right: 50%; + -webkit-transform: translate(50%, -50%); + transform: translate(50%, -50%); + font-size: 14px; + font-weight: 400; + color: #4d5761; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-preview-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-preview-card-listing_title { + -webkit-box-flex: 0; + -webkit-flex: 0 0 100%; + -ms-flex: 0 0 100%; + flex: 0 0 100%; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-card { + height: 32px; + padding: 0 10px; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-card.cptm-widget-title-card { + padding: 0; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-top-placeholder + .cptm-widget-card + .cptm-widget-badge-trash { + margin-right: 8px; +} +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-tagline-placeholder + .cptm-placeholder-label, +.cptm-placeholder-block-wrapper + .cptm-listing-card-preview-rating-placeholder + .cptm-placeholder-label { + right: 12px; + -webkit-transform: translate(0, -50%); + transform: translate(0, -50%); + font-size: 13px; + font-weight: 400; + color: #4d5761; +} +.cptm-placeholder-block-wrapper + .cptm-placeholder-block.disabled + .cptm-placeholder-label { + color: #4d5761; + font-weight: 400; +} +.cptm-placeholder-block-wrapper + .cptm-widget-preview-container + .dndrop-draggable-wrapper { + overflow: visible !important; +} +.cptm-placeholder-block-wrapper + .cptm-widget-preview-container + .dndrop-draggable-wrapper.is-dragging { + opacity: 0; +} + +.cptm-placeholder-block { + position: relative; + padding: 8px; + background: #a1a9b2; + border: 1px dashed #d2d6db; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + -webkit-box-sizing: border-box; + box-sizing: border-box; + border-radius: 4px; +} +.cptm-placeholder-block:hover, +.cptm-placeholder-block.drag-enter, +.cptm-placeholder-block.cptm-widget-picker-open { + border-color: rgb(255, 255, 255); +} +.cptm-placeholder-block:hover .cptm-widget-insert-area, +.cptm-placeholder-block.drag-enter .cptm-widget-insert-area, +.cptm-placeholder-block.cptm-widget-picker-open .cptm-widget-insert-area { + opacity: 1; + visibility: visible; +} +.cptm-placeholder-block.cptm-listing-card-author-avatar-placeholder { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; +} +.cptm-placeholder-block.cptm-widget-picker-open { + z-index: 100; +} + +.cptm-placeholder-label { + margin: 0; + text-align: center; + margin-bottom: 0; + text-align: center; + position: absolute; + right: 50%; + top: 50%; + -webkit-transform: translate(50%, -50%); + transform: translate(50%, -50%); + z-index: 0; + color: rgba(255, 255, 255, 0.4); + font-size: 14px; + font-weight: 500; +} +.cptm-placeholder-label.hide { + display: none; +} + +.cptm-listing-card-preview-footer .cptm-placeholder-label { + color: #868eae; +} + +.dndrop-ghost.dndrop-draggable-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + height: auto; +} +.dndrop-ghost.dndrop-draggable-wrapper + .cptm-form-builder-field-list-item-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 12px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + margin: 0; +} +.dndrop-ghost.dndrop-draggable-wrapper .cptm-form-builder-field-list-item { + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + border-radius: 8px; + border-color: #e5e7eb; + background: transparent; +} +.dndrop-ghost.dndrop-draggable-wrapper + .cptm-form-builder-field-list-item-content { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} + +.cptm-center-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + height: 100%; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-center-content.cptm-content-wide * { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} + +.cptm-mb-10 { + margin-bottom: 10px !important; +} + +.cptm-mb-12 { + margin-bottom: 12px !important; +} + +.cptm-mb-20 { + margin-bottom: 20px !important; +} + +.cptm-listing-card-body-header { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} + +.cptm-align-left { + text-align: right; +} + +.cptm-listing-card-body-header-left { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} + +.cptm-listing-card-body-header-right { + width: 100px; + margin-right: 10px; +} + +.cptm-card-preview-area-wrap { + max-width: 450px; + margin: 0 auto; +} + +.cptm-card-preview-widget { + max-width: 450px; + margin: 0 auto; + padding: 24px; + background-color: #fff; + border: 1.5px solid rgba(0, 17, 102, 0.1019607843); + border-top: none; + border-radius: 0 0 24px 24px; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-box-shadow: 0 8px 16px 0 rgba(16, 24, 40, 0.1019607843); + box-shadow: 0 8px 16px 0 rgba(16, 24, 40, 0.1019607843); +} +.cptm-card-preview-widget.cptm-card-list-view { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + max-width: 100%; + height: 100%; +} +@media only screen and (max-width: 480px) { + .cptm-card-preview-widget.cptm-card-list-view { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + } +} +.cptm-card-preview-widget.cptm-card-list-view .cptm-card-preview-thumbnail { + height: 100%; +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-listing-card-preview-header { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + height: 100% !important; + max-width: 184px; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-box-align: stretch; + -webkit-align-items: stretch; + -ms-flex-align: stretch; + align-items: stretch; + border-radius: 0 4px 4px 0 !important; +} +@media only screen and (max-width: 480px) { + .cptm-card-preview-widget.cptm-card-list-view + .cptm-listing-card-preview-header { + max-width: 100%; + border-radius: 4px 4px 0 0 !important; + } + .cptm-card-preview-widget.cptm-card-list-view + .cptm-listing-card-preview-header + .cptm-card-preview-thumbnail { + min-height: 350px; + } +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-widget-option-modal-container { + top: unset; + bottom: 100%; +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-card-preview-top-right + .cptm-widget-option-modal-container, +.cptm-card-preview-widget.cptm-card-list-view + .cptm-card-placeholder-top-left + .cptm-widget-option-modal-container, +.cptm-card-preview-widget.cptm-card-list-view + .cptm-card-placeholder-top-right + .cptm-widget-option-modal-container { + bottom: unset; + top: 100%; +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-placeholder-author-thumb + img { + width: 22px; + height: 22px; + border-radius: 50%; +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-widget-preview-card-user_avatar + .cptm-widget-card-wrap { + min-width: 100px; +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-widget-preview-card-user_avatar + .cptm-widget-card { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + border-radius: 4px; + background: #ffffff; + border: 1px solid #e5e7eb; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-widget-preview-card-user_avatar + .cptm-placeholder-author-thumb { + width: 100%; + padding: 0 10px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 16px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-widget-preview-card-user_avatar + .cptm-placeholder-author-thumb + > svg { + width: 20px; + height: 20px; +} +.cptm-card-preview-widget.cptm-card-list-view + .cptm-widget-preview-card-user_avatar + .cptm-placeholder-author-thumb + .cptm-placeholder-author-thumb-trash { + position: unset; + -webkit-transform: unset; + transform: unset; + width: 20px; + height: 20px; + font-size: 12px; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-widget-card + .cptm-widget-card-disabled-badge { + display: none; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-preview-body { + padding-top: 62px; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-preview-body.has-avatar { + padding-top: 0; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-preview-body.has-avatar + .cptm-listing-card-author-avatar { + position: relative; + top: -14px; + -webkit-transform: unset; + transform: unset; + padding-bottom: 12px; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled { + width: 100%; + height: auto; + border: 1px dashed #d2d6db; + border-radius: 4px !important; + padding: 12px !important; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-box-pack: start; + -webkit-justify-content: flex-start; + -ms-flex-pack: start; + justify-content: flex-start; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-widget-preview-card { + width: 100%; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-widget-card-wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 24px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-placeholder-author-thumb { + width: 48px; + height: 48px; + padding: 0; + margin: 0; + background-color: #ffffff; + border-radius: 50%; + border: 1px dashed #d2d6db; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-placeholder-author-thumb + .cptm-placeholder-author-thumb-trash { + bottom: -12px; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-form-group { + margin: 0; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-preview-radio-area + > label { + display: none; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-preview-radio-area + .cptm-radio-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 20px; + -webkit-box-orient: horizontal; + -webkit-box-direction: reverse; + -webkit-flex-direction: row-reverse; + -ms-flex-direction: row-reverse; + flex-direction: row-reverse; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-preview-radio-area + .cptm-radio-area + .cptm-radio-item { + margin: 0; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-preview-radio-area + .cptm-radio-area + label { + margin: 0; + font-size: 12px; + font-weight: 500; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-preview-radio-area + .cptm-radio-area + input[type="radio"] { + margin: 0 0 0 6px; + background-color: #ffffff; + border: 2px solid #a1a9b2; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-preview-radio-area + .cptm-radio-area + input[type="radio"]:before { + display: none; +} +.cptm-card-preview-widget.grid-view-with-thumbnail + .cptm-listing-card-author-avatar-placeholder.enabled + .cptm-preview-radio-area + .cptm-radio-area + input[type="radio"]:checked { + border: 5px solid #3e62f5; +} +.cptm-card-preview-widget.grid-view-without-thumbnail + .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-card-preview-widget.list-view-with-thumbnail + .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-card-preview-widget.list-view-with-thumbnail + .dndrop-draggable-wrapper-listing_title, +.cptm-card-preview-widget.list-view-with-thumbnail + .cptm-widget-preview-card-listing_title { + width: 100%; +} +.cptm-card-preview-widget.list-view-with-thumbnail + .cptm-card-preview-top-right { + width: 140px; +} +.cptm-card-preview-widget.list-view-with-thumbnail + .cptm-card-placeholder-top + .cptm-card-placeholder-top-left { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.cptm-card-preview-widget.list-view-with-thumbnail + .cptm-card-placeholder-top + .cptm-card-placeholder-top-right { + width: 127px; +} +@media only screen and (max-width: 480px) { + .cptm-card-preview-widget.list-view-with-thumbnail + .cptm-card-placeholder-top + .cptm-card-placeholder-top-right { + width: auto; + } +} +.cptm-card-preview-widget.list-view-with-thumbnail + .cptm-listing-card-preview-footer + .cptm-placeholder-block { + padding-bottom: 32px; +} +.cptm-card-preview-widget.list-view-with-thumbnail + .cptm-listing-card-preview-footer + .cptm-widget-card-wrap { + padding: 0; +} +.cptm-card-preview-widget .cptm-options-area { + position: absolute; + top: 38px; + right: unset; + left: 30px; + z-index: 100; +} + +.cptm-field-wraper-key-single_listing_header .cptm-card-preview-area-wrap, +.cptm-field-wraper-key-single_listing_header .cptm-card-preview-widget { + max-width: 750px; +} + +.cptm-listing-card-content { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} + +.cptm-card-preview-thumbnail { + position: relative; + height: 100%; +} + +.cptm-card-preview-thumbnail-placeholer { + height: 100%; +} + +.cptm-card-preview-thumbnail-placeholder { + height: 100%; + text-align: center; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.cptm-listing-card-preview-quick-info-placeholder { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} + +.cptm-card-preview-thumbnail-bg { + position: absolute; + right: 50%; + top: 50%; + -webkit-transform: translate(50%, -50%); + transform: translate(50%, -50%); + font-size: 72px; + color: #7b7d8b; +} + +.cptm-card-preview-thumbnail-bg span { + color: rgba(255, 255, 255, 0.1); +} + +.cptm-card-preview-bottom-right-placeholder { + display: block; + text-align: left; +} + +.cptm-listing-card-preview-body { + display: block; + padding: 16px; + position: relative; +} + +.cptm-listing-card-author-avatar { + z-index: 1; + position: absolute; + right: 0; + top: 0; + -webkit-transform: translate(-16px, -14px); + transform: translate(-16px, -14px); + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-listing-card-author-avatar .cptm-placeholder-block { + height: 64px; + width: 64px; + padding: 8px !important; + margin: 0 !important; + min-height: unset !important; + border-radius: 50% !important; + border: 1px dashed #a1a9b2; +} +.cptm-listing-card-author-avatar + .cptm-placeholder-block + .cptm-placeholder-label { + font-size: 14px; + line-height: 1.15; + font-weight: 500; + color: #141921; + background: transparent; + padding: 0; + border-radius: 0; + top: 8px; + -webkit-transform: translate(50%, 0); + transform: translate(50%, 0); +} + +.cptm-placeholder-author-thumb { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin: 0; +} +.cptm-placeholder-author-thumb img { + width: 32px; + height: 32px; + border-radius: 50%; + -o-object-fit: cover; + object-fit: cover; + background-color: transparent; + border: 2px solid #fff; +} +.cptm-placeholder-author-thumb .cptm-placeholder-author-thumb-trash { + position: absolute; + bottom: -18px; + right: 50%; + -webkit-transform: translateX(50%); + transform: translateX(50%); + width: 22px; + height: 22px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + font-size: 14px; + color: #d94a4a; + background: #ffffff; + border: 1px solid #d94a4a; + border-radius: 50%; + -webkit-box-sizing: border-box; + box-sizing: border-box; + cursor: pointer; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; +} +.cptm-placeholder-author-thumb .cptm-placeholder-author-thumb-trash:hover { + color: #ffffff; + background: #d94a4a; +} + +.cptm-widget-title-card { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + padding: 6px 10px; + text-align: right; + font-size: 16px; + line-height: 22px; + font-weight: 600; + color: #141921; +} + +.cptm-widget-tagline-card { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + padding: 6px 10px; + text-align: right; + font-size: 13px; + font-weight: 400; + color: #4d5761; +} + +.cptm-has-widget-control { + position: relative; +} +.cptm-has-widget-control:hover .cptm-widget-control-wrap { + visibility: visible; + pointer-events: all; + opacity: 1; +} + +.cptm-form-group-row { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} + +.cptm-form-group-col { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-flex-basis: 50%; + -ms-flex-preferred-size: 50%; + flex-basis: 50%; +} + +.cptm-form-group-info { + font-size: 12px; + font-weight: 400; + color: #747c89; + margin: 0; +} + +.cptm-widget-actions-tools { + position: absolute; + width: 75px; + background-color: #2c99ff; + right: 50%; + -webkit-transform: translateX(50%); + transform: translateX(50%); + top: -40px; + padding: 5px; + border: 3px solid #2c99ff; + border-radius: 1px 1px 0 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + visibility: hidden; + opacity: 0; + pointer-events: none; + -webkit-transition: 0.3s ease; + transition: 0.3s ease; + z-index: 9999; +} +.cptm-widget-actions-tools a { + padding: 0 6px; + font-size: 12px; + color: #fff; +} + +.cptm-widget-control-wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + visibility: hidden; + opacity: 0; + position: absolute; + right: 0; + left: 0; + width: 100%; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + top: 1px; + pointer-events: none; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + z-index: 99; +} + +.cptm-widget-control { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding-bottom: 10px; + -webkit-transform: translate(0%, -100%); + transform: translate(0%, -100%); +} +.cptm-widget-control::after { + content: ""; + display: inline-block; + margin: 0 auto; + border-right: 10px solid transparent; + border-left: 10px solid transparent; + border-top: 10px solid #3e62f5; + position: absolute; + bottom: 2px; + right: 50%; + -webkit-transform: translate(50%, 0); + transform: translate(50%, 0); + z-index: -1; +} +.cptm-widget-control .cptm-widget-control-action:first-child { + border-top-right-radius: 5px; + border-bottom-right-radius: 5px; +} +.cptm-widget-control .cptm-widget-control-action:last-child { + border-top-left-radius: 5px; + border-bottom-left-radius: 5px; +} + +.hide { + display: none; +} + +.cptm-widget-control-action { + display: inline-block; + padding: 5px 8px; + color: #fff; + font-size: 12px; + cursor: pointer; + background-color: #3e62f5; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-widget-control-action:hover { + background-color: #0e3bf2; +} + +.cptm-card-preview-top-left { + width: calc(50% - 4px); + position: absolute; + top: 0; + right: 0; +} + +.cptm-card-preview-top-left-placeholder { + display: block; + text-align: right; +} +.cptm-card-preview-top-left-placeholder .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.cptm-card-preview-top-right { + position: absolute; + left: 0; + top: 0; + width: calc(50% - 4px); +} +.cptm-card-preview-top-right .cptm-widget-preview-area { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-card-preview-top-right + .cptm-widget-preview-area + .cptm-widget-preview-container { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-card-preview-top-right .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.cptm-card-preview-top-right-placeholder { + text-align: left; +} +.cptm-card-preview-top-right-placeholder .cptm-widget-preview-area { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-card-preview-top-right-placeholder + .cptm-widget-preview-area + .cptm-widget-preview-container { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-card-preview-top-right-placeholder .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.cptm-card-preview-bottom-left { + position: absolute; + width: calc(50% - 4px); + bottom: 0; + right: 0; +} +.cptm-card-preview-bottom-left .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-card-preview-bottom-left .cptm-widget-option-modal-container { + top: unset; + bottom: 20px; +} +.cptm-card-preview-bottom-left + .cptm-widget-option-modal-container + .cptm-option-card:before { + top: unset; + bottom: -6px; +} + +.cptm-card-preview-bottom-left-placeholder { + display: block; + text-align: right; +} + +.cptm-card-preview-bottom-right { + position: absolute; + bottom: 0; + left: 0; + width: calc(50% - 4px); +} +.cptm-card-preview-bottom-right .cptm-widget-preview-area { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-card-preview-bottom-right + .cptm-widget-preview-area + .cptm-widget-preview-container { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-card-preview-bottom-right .cptm-widget-option-modal-container { + top: unset; + bottom: 20px; +} +.cptm-card-preview-bottom-right + .cptm-widget-option-modal-container + .cptm-option-card:before { + top: unset; + bottom: -6px; + border-bottom: unset; + border-top: 7px solid #ffffff; +} + +.cptm-card-preview-body .cptm-widget-option-modal-container, +.cptm-card-preview-badges .cptm-widget-option-modal-container { + right: unset; + -webkit-transform: unset; + transform: unset; + left: calc(100% + 57px); +} + +.grid-view-without-thumbnail .cptm-input-toggle { + width: 28px; + height: 16px; +} +.grid-view-without-thumbnail .cptm-input-toggle:after { + width: 12px; + height: 12px; + margin: 2px; +} +.grid-view-without-thumbnail .cptm-input-toggle.active::after { + -webkit-transform: translateX(calc(-1 * (-100% - 4px))); + transform: translateX(calc(-1 * (-100% - 4px))); +} +.grid-view-without-thumbnail .cptm-card-preview-widget-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 12px; + padding: 20px; +} +@media only screen and (max-width: 480px) { + .grid-view-without-thumbnail .cptm-card-preview-widget-content { + -webkit-box-sizing: border-box; + box-sizing: border-box; + } +} +.grid-view-without-thumbnail .cptm-card-placeholder-top { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 12px; +} +@media only screen and (max-width: 480px) { + .grid-view-without-thumbnail .cptm-card-placeholder-top { + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + } + .grid-view-without-thumbnail + .cptm-card-placeholder-top + .cptm-listing-card-quick-actions { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + width: 100%; + } +} +.grid-view-without-thumbnail + .cptm-card-placeholder-top + .cptm-listing-card-quick-actions + .cptm-placeholder-block { + padding-bottom: 32px !important; +} +.grid-view-without-thumbnail + .cptm-card-placeholder-top + .cptm-widget-preview-card-listing_title + .cptm-widget-badge-trash { + left: 0; +} +.grid-view-without-thumbnail .cptm-listing-card-preview-body { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 12px; + padding: 0; +} +.grid-view-without-thumbnail + .cptm-listing-card-preview-body + .cptm-placeholder-block { + min-height: 48px !important; +} +.grid-view-without-thumbnail + .cptm-listing-card-preview-body + .cptm-listing-card-preview-body-placeholder { + min-height: 160px !important; +} +.grid-view-without-thumbnail .cptm-listing-card-preview-footer { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + padding: 0; +} +.grid-view-without-thumbnail .cptm-listing-card-author-avatar { + position: unset; + -webkit-transform: unset; + transform: unset; +} +.grid-view-without-thumbnail + .cptm-listing-card-author-avatar + .cptm-placeholder-block-wrapper { + -webkit-box-pack: start; + -webkit-justify-content: flex-start; + -ms-flex-pack: start; + justify-content: flex-start; +} +.grid-view-without-thumbnail + .cptm-listing-card-author-avatar + .cptm-listing-card-author-avatar-placeholder { + -webkit-box-flex: unset; + -webkit-flex: unset; + -ms-flex: unset; + flex: unset; +} +.grid-view-without-thumbnail .cptm-listing-card-quick-actions { + width: 135px; +} +.grid-view-without-thumbnail .cptm-listing-card-title { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.grid-view-without-thumbnail + .cptm-listing-card-title + .cptm-widget-preview-card-listing_title { + width: 100%; +} +.grid-view-without-thumbnail + .cptm-listing-card-title + .cptm-widget-preview-card-listing_title + .cptm-widget-title-card-wrap { + padding: 0; + border: none; + -webkit-box-shadow: none; + box-shadow: none; + background: transparent; +} +.grid-view-without-thumbnail + .cptm-listing-card-title + .cptm-widget-preview-card-listing_title + .cptm-widget-title-card-wrap + .cptm-widget-title-card { + font-size: 14px; + line-height: 19px; + font-weight: 600; +} +.grid-view-without-thumbnail + .cptm-listing-card-title + .cptm-widget-preview-area { + padding: 8px; + background: #fff; + border-radius: 4px; + border: 1px solid #e5e7eb; + -webkit-box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05); + box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05); +} + +.list-view-without-thumbnail .cptm-card-preview-widget-content { + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 12px; + padding: 20px; +} +@media only screen and (max-width: 480px) { + .list-view-without-thumbnail .cptm-card-preview-widget-content { + -webkit-box-sizing: border-box; + box-sizing: border-box; + } +} +.list-view-without-thumbnail .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.list-view-without-thumbnail + .cptm-widget-preview-container.dndrop-container.horizontal { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} +.list-view-without-thumbnail .cptm-listing-card-preview-top { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.list-view-without-thumbnail + .cptm-listing-card-preview-top + .cptm-placeholder-block { + min-height: 60px !important; +} +.list-view-without-thumbnail + .cptm-listing-card-preview-top + .cptm-listing-card-preview-top-left { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.list-view-without-thumbnail + .cptm-listing-card-preview-top + .cptm-listing-card-preview-top-left + .dndrop-draggable-wrapper-listing_title { + -webkit-box-flex: 0; + -webkit-flex: 0 0 100%; + -ms-flex: 0 0 100%; + flex: 0 0 100%; +} +.list-view-without-thumbnail + .cptm-listing-card-preview-top + .cptm-listing-card-preview-top-left + .cptm-widget-preview-card-listing_title { + width: 100%; +} +.list-view-without-thumbnail + .cptm-listing-card-preview-top + .cptm-listing-card-preview-top-right { + width: 127px; +} +@media only screen and (max-width: 480px) { + .list-view-without-thumbnail + .cptm-listing-card-preview-top + .cptm-listing-card-preview-top-right { + width: auto; + } +} +.list-view-without-thumbnail .cptm-listing-card-preview-body { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 12px; + padding: 0; +} +.list-view-without-thumbnail .cptm-listing-card-preview-footer { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + padding: 0; +} + +.cptm-card-placeholder-top { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 12px; +} +@media only screen and (max-width: 480px) { + .cptm-card-placeholder-top { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + } +} + +.cptm-listing-card-preview-footer { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 22px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + padding: 0 16px 24px; +} +.cptm-listing-card-preview-footer .cptm-widget-preview-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-listing-card-preview-footer .cptm-widget-preview-area .cptm-widget-card { + font-size: 12px; + font-weight: 400; + gap: 4px; + width: 100%; + height: 32px; +} +.cptm-listing-card-preview-footer + .cptm-widget-preview-area + .cptm-widget-badge-icon { + font-size: 16px; + color: #141921; +} +.cptm-listing-card-preview-footer + .cptm-widget-preview-area + .cptm-widget-badge-trash { + font-size: 16px; + color: #141921; +} +.cptm-listing-card-preview-footer + .cptm-widget-preview-area + .cptm-widget-preview-card { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.cptm-listing-card-preview-footer .cptm-placeholder-block-wrapper { + height: 100%; +} + +.cptm-card-preview-footer-left { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} + +.cptm-card-preview-footer-right { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} + +.cptm-listing-card-preview-body-placeholder { + padding: 12px 12px 32px; + min-height: 160px !important; + border-color: #a1a9b2; +} +.cptm-listing-card-preview-body-placeholder .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} +.cptm-listing-card-preview-body-placeholder .cptm-placeholder-label { + color: #141921; +} +.cptm-listing-card-preview-body-placeholder .cptm-widget-preview-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} +.cptm-listing-card-preview-body-placeholder .cptm-widget-preview-card { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + padding: 0 12px; + color: #141921; + background: #ffffff; + height: 42px; + font-size: 14px; + line-height: 1.15; + font-weight: 500; + border-radius: 4px; + border: 1px solid #e5e7eb; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-listing-card-preview-body-placeholder .cptm-widget-preview-card.active, +.cptm-listing-card-preview-body-placeholder .cptm-widget-preview-card:hover { + background: #f3f4f6; + border-color: #d2d6db; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card.active + .cptm-list-item-actions, +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card:hover + .cptm-list-item-actions { + opacity: 1; + visibility: visible; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card.active + .cptm-list-item-edit { + background: #e5e7eb; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-widget-card-wrap { + width: 100%; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-list-item-icon { + font-size: 20px; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-list-item { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-list-item-content { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-list-item-actions { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + opacity: 0; + visibility: hidden; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-list-item-actions + .cptm-list-item-action { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 32px; + height: 32px; + border-radius: 100%; + cursor: pointer; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-list-item-actions + .cptm-list-item-action + span { + font-size: 20px; + color: #141921; +} +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-list-item-actions + .cptm-list-item-action:hover, +.cptm-listing-card-preview-body-placeholder + .cptm-widget-preview-card + .cptm-list-item-actions + .cptm-list-item-action.active { + background: #e5e7eb; +} + +.cptm-listing-card-preview-footer-left-placeholder { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + border-color: #c6d0dc; + text-align: right; +} +.cptm-listing-card-preview-footer-left-placeholder:hover, +.cptm-listing-card-preview-footer-left-placeholder.drag-enter { + border-color: #1e1e1e; +} +.cptm-listing-card-preview-footer-left-placeholder + .cptm-widget-preview-container { + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} +.cptm-listing-card-preview-footer-left-placeholder + .cptm-widget-preview-container + .cptm-widget-preview-card { + width: 100%; +} + +.cptm-listing-card-preview-footer-right-placeholder { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + border-color: #c6d0dc; + text-align: left; +} +.cptm-listing-card-preview-footer-right-placeholder:hover, +.cptm-listing-card-preview-footer-right-placeholder.drag-enter { + border-color: #1e1e1e; +} +.cptm-listing-card-preview-footer-right-placeholder + .cptm-widget-preview-container { + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} +.cptm-listing-card-preview-footer-right-placeholder + .cptm-widget-preview-container + .cptm-widget-preview-card { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-listing-card-preview-footer-right-placeholder .cptm-widget-preview-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} + +.cptm-widget-preview-area .cptm-widget-preview-card { + position: relative; +} +.cptm-widget-preview-area + .cptm-widget-preview-card + .cptm-widget-preview-card-actions { + position: absolute; + bottom: 100%; + right: 50%; + -webkit-transform: translate(50%, -7px); + transform: translate(50%, -7px); + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + padding: 6px 12px; + background: #ffffff; + border-radius: 4px; + border: 1px solid #e5e7eb; + -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); + box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + z-index: 1; +} +.cptm-widget-preview-area + .cptm-widget-preview-card + .cptm-widget-preview-card-actions:before { + content: ""; + border-top: 7px solid #ffffff; + border-right: 7px solid transparent; + border-left: 7px solid transparent; + position: absolute; + bottom: -7px; + right: 50%; + -webkit-transform: translateX(50%); + transform: translateX(50%); +} +.cptm-widget-preview-area + .cptm-widget-preview-card + .cptm-widget-preview-card-actions + .cptm-widget-action-link { + width: auto; + height: auto; + border: none; + background: transparent; + color: #141921; + cursor: pointer; +} +.cptm-widget-preview-area + .cptm-widget-preview-card + .cptm-widget-preview-card-actions + .cptm-widget-action-link:hover, +.cptm-widget-preview-area + .cptm-widget-preview-card + .cptm-widget-preview-card-actions + .cptm-widget-action-link:focus { + background: transparent; + color: #3e62f5; +} +.cptm-widget-preview-area + .cptm-widget-preview-card + .cptm-widget-preview-card-actions + .widget-drag-handle:hover { + color: #3e62f5; +} + +.widget-drag-handle { + cursor: move; +} + +.cptm-card-light.cptm-placeholder-block { + border-color: #d2d6db; + background: #f9fafb; +} +.cptm-card-light.cptm-placeholder-block:hover, +.cptm-card-light.cptm-placeholder-block.drag-enter { + border-color: #1e1e1e; +} +.cptm-card-light .cptm-placeholder-label { + color: #23282d; +} +.cptm-card-light .cptm-widget-badge { + color: #969db8; + background-color: #eff0f3; +} + +.cptm-card-dark-light .cptm-placeholder-label { + padding: 5px 12px; + color: #888; + border-radius: 30px; + background-color: #fff; +} +.cptm-card-dark-light .cptm-widget-badge { + background-color: rgba(0, 0, 0, 0.8); +} + +.cptm-widgets-container { + overflow: hidden; + border: 1px solid rgba(0, 0, 0, 0.1); + background-color: #fff; +} + +.cptm-widgets-header { + display: block; +} + +.cptm-widget-nav { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin: 0; +} + +.cptm-widget-nav-item { + display: inline-block; + margin: 0; + padding: 12px 10px; + cursor: pointer; + -webkit-flex-basis: 33.3333333333%; + -ms-flex-preferred-size: 33.3333333333%; + flex-basis: 33.3333333333%; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + text-align: center; + -webkit-box-sizing: border-box; + box-sizing: border-box; + cursor: pointer; + color: #8a8a8a; + border-left: 1px solid #e3e1e1; + background-color: #f2f2f2; +} +.cptm-widget-nav-item:last-child { + border-left: none; +} +.cptm-widget-nav-item:hover { + color: #2b2b2b; +} +.cptm-widget-nav-item.active { + font-weight: bold; + color: #2b2b2b; + background-color: #fff; +} + +.cptm-widgets-body { + padding: 10px; + max-height: 450px; + overflow: hidden; + overflow-y: auto; +} + +.cptm-widgets-list { + display: block; + margin: 0; +} + +.cptm-widgets-list-item { + display: block; +} + +.widget-group-title { + margin: 0 0 5px; + font-size: 16px; + color: #bbb; +} + +.cptm-widgets-sub-list { + display: block; + margin: 0; +} + +.cptm-widgets-sub-list-item { + display: block; + padding: 10px 15px; + background-color: #eee; + border-radius: 5px; + margin-bottom: 10px; + cursor: move; +} + +.widget-icon { + display: inline-block; + margin-left: 5px; +} + +.widget-label { + display: inline-block; +} + +.cptm-form-group { + display: block; + margin-bottom: 20px; +} +.cptm-form-group label { + display: block; + font-size: 14px; + font-weight: 600; + color: #141921; + margin-bottom: 8px; +} +.cptm-form-group .cptm-form-control { + max-width: 100%; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-form-group.cptm-form-content { + text-align: center; + margin-bottom: 0; +} +.cptm-form-group.cptm-form-content .cptm-form-content-select { + text-align: right; +} +.cptm-form-group.cptm-form-content .cptm-form-content-title { + font-size: 16px; + line-height: 22px; + font-weight: 600; + color: #191b23; + margin: 0 0 8px; +} +.cptm-form-group.cptm-form-content .cptm-form-content-desc { + font-size: 12px; + line-height: 18px; + font-weight: 400; + color: #747c89; + margin: 0; +} +.cptm-form-group.cptm-form-content .cptm-form-content-icon { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + font-size: 40px; + margin: 0 0 12px; +} +.cptm-form-group.cptm-form-content .cptm-form-content-btn { + position: relative; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + height: 30px; + font-size: 12px; + line-height: 14px; + font-weight: 500; + margin: 8px auto 0; + color: #3e62f5; + background: transparent; + border: none; + outline: none; + -webkit-box-shadow: none; + box-shadow: none; + cursor: pointer; +} +.cptm-form-group.cptm-form-content .cptm-form-content-btn:before { + content: ""; + position: absolute; + width: 0; + height: 1px; + right: 0; + bottom: 8px; + background-color: #3e62f5; + -webkit-transition: width ease-in-out 300ms; + transition: width ease-in-out 300ms; +} +.cptm-form-group.cptm-form-content .cptm-form-content-btn:hover:before, +.cptm-form-group.cptm-form-content .cptm-form-content-btn:focus:before { + width: 100%; +} +.cptm-form-group.cptm-form-content .cptm-form-content-btn.cptm-btn-disabled { + pointer-events: none; +} +.cptm-form-group.cptm-form-content + .cptm-form-content-btn.cptm-btn-disabled:before { + display: none; +} +.cptm-form-group.cptm-form-content .cptm-form-content-btn.cptm-form-loader { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + color: #747c89; + height: auto; +} +.cptm-form-group.cptm-form-content + .cptm-form-content-btn.cptm-form-loader:before { + display: none; +} +.cptm-form-group.cptm-form-content + .cptm-form-content-btn.cptm-form-loader:hover, +.cptm-form-group.cptm-form-content + .cptm-form-content-btn.cptm-form-loader:focus { + color: #3e62f5; +} +.cptm-form-group.cptm-form-content + .cptm-form-content-btn + .cptm-form-content-btn-icon { + font-size: 14px; +} +.cptm-form-group.cptm-form-content + .cptm-form-content-btn + .cptm-form-content-btn-loader { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; +} +.cptm-form-group.cptm-form-content + .cptm-form-content-btn + .cptm-form-content-btn-loader + i { + font-size: 15px; +} +.cptm-form-group.tab-field .cptm-preview-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 0; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} +.cptm-form-group.cpt-has-error .cptm-form-control { + border: 1px solid rgb(192, 51, 51); +} + +.cptm-form-group-tab-list { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + margin: 0; + padding: 6px; + list-style: none; + background: #fff; + border: 1px solid #e5e7eb; + border-radius: 100px; +} +.cptm-form-group-tab-list .cptm-form-group-tab-item { + margin: 0; +} +.cptm-form-group-tab-list .cptm-form-group-tab-link { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + height: 26px; + padding: 0 16px; + border-radius: 100px; + margin: 0; + cursor: pointer; + background-color: #ffffff; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + color: #4d5761; + font-weight: 500; + text-decoration: none; + -webkit-box-shadow: none; + box-shadow: none; + outline: none; +} +.cptm-form-group-tab-list .cptm-form-group-tab-link:hover { + color: #3e62f5; +} +.cptm-form-group-tab-list .cptm-form-group-tab-link.active { + background-color: #d8e0fd; + color: #3e62f5; +} + +.cptm-preview-image-upload { + width: 350px; + max-width: 100%; + height: 224px; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + border-radius: 10px; + position: relative; + overflow: hidden; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) { + border: 2px dashed #d2d6db; + background: #f9fafb; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail { + max-width: 100%; + width: 100%; + height: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail + .cptm-thumbnail-action { + display: none; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail + .cptm-thumbnail-img-wrap + img { + width: 40px; + height: 40px; + -o-object-fit: cover; + object-fit: cover; + border-radius: 4px; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail + .cptm-upload-btn { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + padding: 8px 12px; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 6px; + border-radius: 8px; + background: #141921; + color: #fff; + text-align: center; + font-size: 13px; + font-weight: 500; + line-height: 14px; + margin-top: 20px; + margin-bottom: 12px; + cursor: pointer; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail + .cptm-upload-btn + input { + background-color: transparent; + border: none; + -webkit-box-shadow: none; + box-shadow: none; + color: white; + padding: 0; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail + .cptm-upload-btn + i { + font-size: 14px; + color: inherit; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail + .directorist-row-tooltip[data-tooltip]:before, +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail + .directorist-row-tooltip[data-tooltip]:after { + opacity: 0; +} +.cptm-preview-image-upload:not(.cptm-preview-image-upload--show) + .cptm-thumbnail + .cptm-thumbnail-drag-text { + color: #747c89; + font-size: 14px; + font-weight: 400; + line-height: 16px; + text-transform: capitalize; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show { + margin-bottom: 0; + height: 100%; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show .cptm-thumbnail { + position: relative; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .cptm-thumbnail:after { + content: ""; + position: absolute; + width: 100%; + height: 100%; + top: 0; + right: 0; + background: -webkit-gradient( + linear, + right top, + right bottom, + from(rgba(0, 0, 0, 0.6)), + color-stop(35.42%, rgba(0, 0, 0, 0)) + ); + background: linear-gradient( + -180deg, + rgba(0, 0, 0, 0.6) 0%, + rgba(0, 0, 0, 0) 35.42% + ); + z-index: 1; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .cptm-thumbnail + .action-trash + ~ .cptm-upload-btn { + left: 52px; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .cptm-thumbnail-action { + margin: 0; + background-color: white; + width: 32px; + height: 32px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + padding: 0; + top: 12px; + left: 12px; + border-radius: 8px; + font-size: 16px; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .cptm-thumbnail-drag-text { + display: none; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show .cptm-upload-btn { + position: absolute; + top: 12px; + left: 12px; + max-width: 32px !important; + width: 32px; + max-height: 32px; + height: 32px; + background-color: white; + padding: 0; + border-radius: 8px; + margin: 10px; + cursor: pointer; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + margin: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + z-index: 2; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .cptm-upload-btn + input { + display: none; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .cptm-upload-btn + i::before { + content: "\ea57"; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .directorist-row-tooltip[data-tooltip]:after { + background-color: white; + color: #141921; + opacity: 1; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .directorist-row-tooltip[data-tooltip][data-flow="bottom"]::before { + border-bottom-color: white; +} +.cptm-preview-image-upload.cptm-preview-image-upload--show + .cptm-thumbnail-action { + z-index: 2; +} + +.cptm-form-group-feedback { + display: block; +} + +.cptm-form-alert { + padding: 0 0 10px; + color: #06d6a0; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-form-alert.cptm-error { + color: #c82424; +} + +.cptm-input-toggle-wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-input-toggle-wrap label { + padding-left: 10px; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + margin-bottom: 0; +} +.cptm-input-toggle-wrap .cptm-input-toggle-content { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} + +.cptm-input-toggle { + display: inline-block; + position: relative; + width: 36px; + height: 20px; + background-color: #d9d9d9; + border-radius: 30px; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + cursor: pointer; +} +.cptm-input-toggle::after { + content: ""; + display: inline-block; + width: 14px; + height: calc(100% - 6px); + background-color: #fff; + border-radius: 50%; + position: absolute; + top: 0; + right: 0; + margin: 3px 4px; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; +} +.cptm-input-toggle.active { + background-color: #3e62f5; +} +.cptm-input-toggle.active::after { + right: 100%; + -webkit-transform: translateX(calc(-1 * (-100% - 8px))); + transform: translateX(calc(-1 * (-100% - 8px))); +} + +.cptm-multi-option-group { + display: block; + margin-bottom: 20px; +} +.cptm-multi-option-group .cptm-btn { + margin: 0; +} + +.cptm-multi-option-label { + display: block; +} + +.cptm-multi-option-group-section-draft { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin: -8px; +} +.cptm-multi-option-group-section-draft .cptm-form-group { + margin: 0 8px 20px; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} +.cptm-multi-option-group-section-draft .cptm-form-group .cptm-form-control { + width: 100%; +} +.cptm-multi-option-group-section-draft .cptm-form-group.cpt-has-error { + position: relative; +} +.cptm-multi-option-group-section-draft p { + margin: 28px 8px 20px; +} + +.cptm-label { + display: block; + margin-bottom: 10px; + font-weight: 500; +} + +.form-repeater__container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 8px; +} +.form-repeater__group { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 16px; + position: relative; +} +.form-repeater__group.sortable-chosen .form-repeater__input { + background: #e1e4e8 !important; + border: 1px solid #d1d5db !important; + -webkit-box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.01) !important; + box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.01) !important; +} +.form-repeater__remove-btn, +.form-repeater__drag-btn { + color: #4d5761; + background: transparent; + border: none; + -webkit-box-shadow: none; + box-shadow: none; + outline: none; + padding: 0; + margin: 0; + -webkit-transition: all 0.3s ease; + transition: all 0.3s ease; +} +.form-repeater__remove-btn:disabled, +.form-repeater__drag-btn:disabled { + cursor: not-allowed; + opacity: 0.6; +} +.form-repeater__remove-btn svg, +.form-repeater__drag-btn svg { + width: 12px; + height: 12px; +} +.form-repeater__remove-btn i, +.form-repeater__drag-btn i { + font-size: 16px; + margin: 0; + padding: 0; +} +.form-repeater__drag-btn { + cursor: move; + position: absolute; + right: 0; +} +.form-repeater__remove-btn { + cursor: pointer; + position: absolute; + left: 0; +} +.form-repeater__remove-btn:hover { + color: #c83a3a; +} +.form-repeater__input { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + height: 40px; + padding: 5px 16px; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + border-radius: 8px; + border: 1px solid var(--Gray-200, #e5e7eb); + background: white; + -webkit-box-shadow: 0px 1px 2px 0px + var(--Colors-Effects-Shadows-shadow-xs, rgba(16, 24, 40, 0.05)); + box-shadow: 0px 1px 2px 0px + var(--Colors-Effects-Shadows-shadow-xs, rgba(16, 24, 40, 0.05)); + color: #2c3239; + outline: none; + -webkit-transition: all 0.3s ease; + transition: all 0.3s ease; + margin: 0 32px; + overflow: hidden; + -ms-text-overflow: ellipsis; + text-overflow: ellipsis; +} +.form-repeater__input-value-added { + background: var(--Gray-50, #f9fafb); + border-color: #e5e7eb; +} +.form-repeater__input:focus { + background: var(--Gray-50, #f9fafb); + border-color: #3e62f5; +} +.form-repeater__input::-webkit-input-placeholder { + color: var(--Gray-500, #747c89); + font-size: 14px; + font-style: normal; + font-weight: 400; + line-height: 16.24px; +} +.form-repeater__input::-moz-placeholder { + color: var(--Gray-500, #747c89); + font-size: 14px; + font-style: normal; + font-weight: 400; + line-height: 16.24px; +} +.form-repeater__input:-ms-input-placeholder { + color: var(--Gray-500, #747c89); + font-size: 14px; + font-style: normal; + font-weight: 400; + line-height: 16.24px; +} +.form-repeater__input::-ms-input-placeholder { + color: var(--Gray-500, #747c89); + font-size: 14px; + font-style: normal; + font-weight: 400; + line-height: 16.24px; +} +.form-repeater__input::placeholder { + color: var(--Gray-500, #747c89); + font-size: 14px; + font-style: normal; + font-weight: 400; + line-height: 16.24px; +} +.form-repeater__add-group-btn { + font-size: 12px; + font-weight: 600; + color: #2e94fa; + background: transparent; + border: none; + padding: 0; + text-decoration: none; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 6px; + cursor: pointer; + letter-spacing: 0.12px; + margin: 17px 32px 0; + padding: 0; +} +.form-repeater__add-group-btn:disabled { + cursor: not-allowed; + opacity: 0.6; +} +.form-repeater__add-group-btn svg { + width: 16px; + height: 16px; +} +.form-repeater__add-group-btn i { + font-size: 16px; +} + +/* Style the video popup */ +.cptm-modal-overlay { + position: fixed; + top: 0; + left: 0; + width: calc(100% - 160px); + height: 100%; + background: rgba(0, 0, 0, 0.8); + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + z-index: 999999; +} +@media (max-width: 960px) { + .cptm-modal-overlay { + width: 100%; + } +} +.cptm-modal-overlay .cptm-modal-container { + display: block; + height: auto; + position: absolute; + top: 50%; + right: 50%; + left: unset; + bottom: unset; + -webkit-transform: translate(50%, -50%); + transform: translate(50%, -50%); + overflow: visible; +} +@media (max-width: 767px) { + .cptm-modal-overlay .cptm-modal-container iframe { + width: 400px; + height: 225px; + } +} +@media (max-width: 575px) { + .cptm-modal-overlay .cptm-modal-container iframe { + width: 300px; + height: 175px; + } +} + +.cptm-modal-content { + position: relative; +} +.cptm-modal-content .cptm-modal-video video { + width: 100%; + max-width: 500px; +} +.cptm-modal-content .cptm-modal-image .cptm-modal-image__img { + max-height: calc(100vh - 200px); +} +.cptm-modal-content .cptm-modal-preview { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 24px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + height: auto; + width: 724px; + max-height: calc(100vh - 200px); + background: #fff; + padding: 30px 70px; + border-radius: 16px; +} +.cptm-modal-content .cptm-modal-preview .cptm-modal-preview__group { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 30px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-modal-content .cptm-modal-preview .cptm-modal-preview__item { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 10px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.cptm-modal-content .cptm-modal-preview .cptm-modal-preview__btn { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 6px; + padding: 0 16px; + height: 40px; + color: #000; + background: #ededed; + border: 1px solid #ededed; + border-radius: 8px; +} +.cptm-modal-content + .cptm-modal-preview + .cptm-modal-preview__btn + .cptm-modal-preview__btn__icon { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-modal-content .cptm-modal-content__close-btn { + position: absolute; + top: 0; + left: -42px; + width: 36px; + height: 36px; + color: #000; + background: #fff; + font-size: 15px; + border: none; + border-radius: 100%; + cursor: pointer; +} + +.close-btn { + position: absolute; + top: 40px; + left: 40px; + background: transparent; + border: none; + font-size: 18px; + cursor: pointer; + color: #ffffff; +} + +.cptm-form-control, +select.cptm-form-control, +input[type="date"].cptm-form-control, +input[type="datetime-local"].cptm-form-control, +input[type="datetime"].cptm-form-control, +input[type="email"].cptm-form-control, +input[type="month"].cptm-form-control, +input[type="number"].cptm-form-control, +input[type="password"].cptm-form-control, +input[type="search"].cptm-form-control, +input[type="tel"].cptm-form-control, +input[type="text"].cptm-form-control, +input[type="time"].cptm-form-control, +input[type="url"].cptm-form-control, +input[type="week"].cptm-form-control input[type="text"].cptm-form-control { + display: block; + width: 100%; + max-width: 100%; + padding: 10px 20px; + font-size: 14px; + color: #5a5f7d; + text-align: right; + border-radius: 4px; + -webkit-box-shadow: none; + box-shadow: none; + font-weight: 400; + margin: 0; + line-height: 18px; + height: auto; + min-height: 30px; + background-color: #f4f5f7; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; +} +.cptm-form-control:hover, +.cptm-form-control:focus, +select.cptm-form-control:hover, +select.cptm-form-control:focus, +input[type="date"].cptm-form-control:hover, +input[type="date"].cptm-form-control:focus, +input[type="datetime-local"].cptm-form-control:hover, +input[type="datetime-local"].cptm-form-control:focus, +input[type="datetime"].cptm-form-control:hover, +input[type="datetime"].cptm-form-control:focus, +input[type="email"].cptm-form-control:hover, +input[type="email"].cptm-form-control:focus, +input[type="month"].cptm-form-control:hover, +input[type="month"].cptm-form-control:focus, +input[type="number"].cptm-form-control:hover, +input[type="number"].cptm-form-control:focus, +input[type="password"].cptm-form-control:hover, +input[type="password"].cptm-form-control:focus, +input[type="search"].cptm-form-control:hover, +input[type="search"].cptm-form-control:focus, +input[type="tel"].cptm-form-control:hover, +input[type="tel"].cptm-form-control:focus, +input[type="text"].cptm-form-control:hover, +input[type="text"].cptm-form-control:focus, +input[type="time"].cptm-form-control:hover, +input[type="time"].cptm-form-control:focus, +input[type="url"].cptm-form-control:hover, +input[type="url"].cptm-form-control:focus, +input[type="week"].cptm-form-control input[type="text"].cptm-form-control:hover, +input[type="week"].cptm-form-control + input[type="text"].cptm-form-control:focus { + color: #23282d; + border-color: #3e62f5; +} + +select.cptm-form-control, +input[type="date"].cptm-form-control, +input[type="datetime-local"].cptm-form-control, +input[type="datetime"].cptm-form-control, +input[type="email"].cptm-form-control, +input[type="month"].cptm-form-control, +input[type="number"].cptm-form-control, +input[type="password"].cptm-form-control, +input[type="search"].cptm-form-control, +input[type="tel"].cptm-form-control, +input[type="text"].cptm-form-control, +input[type="time"].cptm-form-control, +input[type="url"].cptm-form-control, +input[type="week"].cptm-form-control, +input[type="text"].cptm-form-control { + padding: 10px 20px; + font-size: 12px; + color: #4d5761; + background: #ffffff; + text-align: right; + border: 0 none; + border-radius: 8px; + border: 1px solid #d2d6db; + -webkit-box-shadow: none; + box-shadow: none; + width: 100%; + font-weight: 400; + margin: 0; + line-height: 18px; + height: auto; + min-height: 30px; +} +select.cptm-form-control:hover, +input[type="date"].cptm-form-control:hover, +input[type="datetime-local"].cptm-form-control:hover, +input[type="datetime"].cptm-form-control:hover, +input[type="email"].cptm-form-control:hover, +input[type="month"].cptm-form-control:hover, +input[type="number"].cptm-form-control:hover, +input[type="password"].cptm-form-control:hover, +input[type="search"].cptm-form-control:hover, +input[type="tel"].cptm-form-control:hover, +input[type="text"].cptm-form-control:hover, +input[type="time"].cptm-form-control:hover, +input[type="url"].cptm-form-control:hover, +input[type="week"].cptm-form-control:hover, +input[type="text"].cptm-form-control:hover { + color: #23282d; +} +select.cptm-form-control.cptm-form-control-light, +input[type="date"].cptm-form-control.cptm-form-control-light, +input[type="datetime-local"].cptm-form-control.cptm-form-control-light, +input[type="datetime"].cptm-form-control.cptm-form-control-light, +input[type="email"].cptm-form-control.cptm-form-control-light, +input[type="month"].cptm-form-control.cptm-form-control-light, +input[type="number"].cptm-form-control.cptm-form-control-light, +input[type="password"].cptm-form-control.cptm-form-control-light, +input[type="search"].cptm-form-control.cptm-form-control-light, +input[type="tel"].cptm-form-control.cptm-form-control-light, +input[type="text"].cptm-form-control.cptm-form-control-light, +input[type="time"].cptm-form-control.cptm-form-control-light, +input[type="url"].cptm-form-control.cptm-form-control-light, +input[type="week"].cptm-form-control.cptm-form-control-light, +input[type="text"].cptm-form-control.cptm-form-control-light { + border: 1px solid #ccc; + background-color: #fff; +} + +.tab-general .cptm-title-area, +.tab-other .cptm-title-area { + margin-right: 0; +} +.tab-general .cptm-form-group .cptm-form-control, +.tab-other .cptm-form-group .cptm-form-control { + background-color: #fff; + border: 1px solid #e3e6ef; +} + +.tab-preview_image .cptm-title-area, +.tab-packages .cptm-title-area, +.tab-other .cptm-title-area { + margin-right: 0; +} +.tab-preview_image .cptm-title-area p, +.tab-packages .cptm-title-area p, +.tab-other .cptm-title-area p { + font-size: 15px; + color: #5a5f7d; +} + +.cptm-modal-container { + display: none; + position: fixed; + top: 0; + right: 0; + left: 0; + bottom: 0; + overflow: auto; + z-index: 999999; + height: 100vh; +} +.cptm-modal-container.active { + display: block; +} + +.cptm-modal-wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding: 20px; + height: 100%; + min-height: calc(100% - 40px); + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + background-color: rgba(0, 0, 0, 0.5); +} + +.cptm-modal { + display: block; + margin: 0 auto; + padding: 10px; + width: 100%; + max-width: 300px; + border-radius: 5px; + background-color: #fff; +} + +.cptm-modal-header { + position: relative; + padding: 15px 15px 15px 30px; + margin: -10px; + margin-bottom: 10px; + border-bottom: 1px solid #e3e3e3; +} + +.cptm-modal-header-title { + text-align: right; + margin: 0; +} + +.cptm-modal-actions { + display: block; + margin: 0 -5px; + position: absolute; + left: 10px; + top: 10px; + text-align: left; +} + +.cptm-modal-action-link { + margin: 0 5px; + text-decoration: none; + height: 25px; + display: inline-block; + width: 25px; + text-align: center; + line-height: 25px; + border-radius: 50%; + color: #2b2b2b; + font-size: 18px; +} + +.cptm-modal-confirmation-title { + margin: 30px auto; + font-size: 20px; + text-align: center; +} + +.cptm-section-alert-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + min-height: 200px; +} + +.cptm-section-alert-content { + text-align: center; + padding: 10px; +} + +.cptm-section-alert-icon { + margin-bottom: 20px; + width: 100px; + height: 100px; + font-size: 45px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + border-radius: 50%; + color: darkgray; + background-color: #f2f2f2; +} +.cptm-section-alert-icon.cptm-alert-success { + color: #fff; + background-color: #14cc60; +} +.cptm-section-alert-icon.cptm-alert-error { + color: #fff; + background-color: #cc1433; +} + +.cptm-color-picker-wrap { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; +} + +.cptm-color-picker-label { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + margin-right: 10px; +} + +.cptm-wdget-title { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} + +.atbdp-flex-align-center { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.cptm-px-5 { + padding: 0 5px; +} + +.cptm-text-gray { + color: #c1c1c1; +} + +.cptm-text-right { + text-align: left !important; +} + +.cptm-text-center { + text-align: center !important; +} + +.cptm-text-left { + text-align: right !important; +} + +.cptm-d-block { + display: block !important; +} + +.cptm-d-inline { + display: inline-block !important; +} + +.cptm-d-inline-flex { + display: -webkit-inline-box !important; + display: -webkit-inline-flex !important; + display: -ms-inline-flexbox !important; + display: inline-flex !important; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} + +.cptm-d-none { + display: none !important; +} + +.cptm-p-20 { + padding: 20px; +} + +.cptm-color-picker { + display: inline-block; + padding: 5px 5px 2px 5px; + border-radius: 30px; + border: 1px solid #d4d4d4; +} + +input[type="radio"]:checked::before { + background-color: #3e62f5; +} + +@media (max-width: 767px) { + input[type="checkbox"], + input[type="radio"] { + width: 15px; + height: 15px; + } +} + +.cptm-preview-placeholder { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + padding: 70px 54px 70px 30px; + background: #f9fafb; +} +@media (max-width: 1199px) { + .cptm-preview-placeholder { + margin-left: 0; + } +} +@media only screen and (max-width: 480px) { + .cptm-preview-placeholder { + border: none; + max-width: 100%; + padding: 0; + margin: 0; + background: transparent; + } +} +.cptm-preview-placeholder__card { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 20px; + padding: 20px; + background: #ffffff; + border-radius: 6px; + border: 1.5px solid #e5e7eb; + -webkit-box-shadow: 0 10px 18px 0 rgba(16, 24, 40, 0.1); + box-shadow: 0 10px 18px 0 rgba(16, 24, 40, 0.1); +} +.cptm-preview-placeholder__card__item { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + padding: 12px; + border-radius: 4px; +} +.cptm-preview-placeholder__card__item--top { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 30px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + border: 1.5px dashed #d2d6db; +} +.cptm-preview-placeholder__card__item--top + .cptm-preview-placeholder__card__content { + -webkit-box-align: start; + -webkit-align-items: flex-start; + -ms-flex-align: start; + align-items: flex-start; +} +.cptm-preview-placeholder__card__item--top + .cptm-preview-placeholder__card__box { + -webkit-box-flex: unset; + -webkit-flex: unset; + -ms-flex: unset; + flex: unset; + min-width: auto; + background: unset; + border: none; + padding: 0; +} +.cptm-preview-placeholder__card__item--top .cptm-placeholder-block-wrapper { + -webkit-box-flex: unset; + -webkit-flex: unset; + -ms-flex: unset; + flex: unset; +} +.cptm-preview-placeholder__card__item--bottom + .cptm-preview-placeholder__card__box + .cptm-widget-card-wrap + .cptm-widget-badge { + font-size: 12px; + line-height: 18px; + color: #1f2937; + min-height: 32px; + background-color: #ffffff; + border-radius: 6px; + border: 1.15px solid #e5e7eb; +} +.cptm-preview-placeholder__card__item .dndrop-draggable-wrapper.dragging { + opacity: 0; +} +.cptm-preview-placeholder__card__item .cptm-widget-actions-tools-wrap:before { + display: none; +} +.cptm-preview-placeholder__card__box { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + min-width: 150px; + z-index: unset; +} +.cptm-preview-placeholder__card__box .cptm-placeholder-label { + color: #868eae; + font-size: 14px; + font-weight: 500; +} +.cptm-preview-placeholder__card__box .cptm-widget-preview-area { + gap: 8px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; +} +.cptm-preview-placeholder__card__box + .cptm-widget-preview-area + .cptm-widget-badge { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + margin: 0; + min-height: 35px; + padding: 0 13px; + border-radius: 4px; + font-size: 15px; + line-height: 18px; + font-weight: 500; + color: #383f47; + background-color: #e5e7eb; +} +@media only screen and (max-width: 480px) { + .cptm-preview-placeholder__card__box + .cptm-widget-preview-area + .cptm-widget-badge { + font-size: 12px; + line-height: 15px; + } +} +.cptm-preview-placeholder__card__box .cptm-widget-title-card-wrap { + padding: 0; + background: transparent; + border: none; + border-radius: 0; + -webkit-box-shadow: none; + box-shadow: none; +} +.cptm-preview-placeholder__card__box + .cptm-widget-title-card-wrap + .cptm-widget-title-card { + font-size: 22px; +} +@media only screen and (max-width: 480px) { + .cptm-preview-placeholder__card__box + .cptm-widget-title-card-wrap + .cptm-widget-title-card { + font-size: 18px; + } +} +.cptm-preview-placeholder__card__box.listing-title-placeholder { + padding: 13px 8px; +} +.cptm-preview-placeholder__card__content { + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 20px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} +.cptm-preview-placeholder__card__btn { + width: 100%; + height: 66px; + border: none; + border-radius: 6px; + cursor: pointer; + color: #5a5f7d; + font-size: 13px; + font-weight: 500; + margin-top: 20px; +} +.cptm-preview-placeholder__card__btn .icon { + width: 26px; + height: 26px; + line-height: 26px; + background-color: #fff; + border-radius: 100%; + -webkit-margin-end: 7px; + margin-inline-end: 7px; +} +.cptm-preview-placeholder__card .slider-placeholder { + padding: 8px; + border-radius: 4px; + border: 1.5px dashed #d2d6db; +} +.cptm-preview-placeholder__card .slider-placeholder .cptm-widget-preview-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + padding: 50px; + text-align: center; + height: 240px; + background: #e5e7eb; + border-radius: 10px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +@media only screen and (max-width: 480px) { + .cptm-preview-placeholder__card + .slider-placeholder + .cptm-widget-preview-area { + padding: 30px; + } + .cptm-preview-placeholder__card + .slider-placeholder + .cptm-widget-preview-area + .cptm-widget-thumb-icon { + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + } + .cptm-preview-placeholder__card + .slider-placeholder + .cptm-widget-preview-area + .cptm-widget-thumb-icon + svg { + height: 100px; + width: 100px; + } +} +.cptm-preview-placeholder__card + .slider-placeholder + .cptm-widget-preview-area + .cptm-widget-label { + margin-top: 10px; +} +.cptm-preview-placeholder__card .dndrop-container.vertical { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 20px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + margin-bottom: 20px; + border: 1px solid #e5e7eb; + border-radius: 8px; + padding: 16px; +} +.cptm-preview-placeholder__card + .dndrop-container.vertical + > .dndrop-draggable-wrapper { + overflow: visible; +} +.cptm-preview-placeholder__card .draggable-item { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 20px; + -webkit-box-align: start; + -webkit-align-items: flex-start; + -ms-flex-align: start; + align-items: flex-start; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + margin-left: 8px; +} +.cptm-preview-placeholder__card .draggable-item .cptm-drag-element { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 20px; + height: 20px; + font-size: 20px; + color: #747c89; + margin-top: 15px; + background: transparent; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; + cursor: move; +} +.cptm-preview-placeholder__card .draggable-item .cptm-drag-element:hover { + color: #1e1e1e; +} +.cptm-preview-placeholder--settings-closed { + max-width: 700px; + margin: 0 auto; +} +@media (max-width: 1199px) { + .cptm-preview-placeholder--settings-closed { + max-width: 100%; + } +} + +.atbdp-sidebar-nav-area { + display: block; +} + +.atbdp-sidebar-nav { + display: block; + margin: 0; + background-color: #f6f6f6; +} + +.atbdp-nav-link { + display: block; + padding: 15px; + text-decoration: none; + color: #2b2b2b; +} + +.atbdp-nav-icon { + display: inline-block; + margin-left: 10px; +} + +.atbdp-nav-label { + display: inline-block; +} + +.atbdp-sidebar-nav-item { + display: block; + margin: 0; +} +.atbdp-sidebar-nav-item .atbdp-nav-link { + display: block; +} +.atbdp-sidebar-nav-item .atbdp-nav-icon { + display: inline-block; +} +.atbdp-sidebar-nav-item .atbdp-nav-label { + display: inline-block; +} +.atbdp-sidebar-nav-item.active { + display: block; + background-color: #fff; +} +.atbdp-sidebar-nav-item.active .atbdp-sidebar-subnav { + display: block; +} +.atbdp-sidebar-nav-item.active .atbdp-nav-link { + display: block; +} +.atbdp-sidebar-nav-item.active .atbdp-nav-icon { + display: inline-block; +} +.atbdp-sidebar-nav-item.active .atbdp-nav-label { + display: inline-block; +} + +.atbdp-sidebar-subnav { + display: block; + margin: 0; + margin-right: 28px; + display: none; +} + +.atbdp-sidebar-subnav-item { + display: block; + margin: 0; +} +.atbdp-sidebar-subnav-item .atbdp-nav-link { + color: #686d88; +} +.atbdp-sidebar-subnav-item .atbdp-nav-icon { + display: inline-block; +} +.atbdp-sidebar-subnav-item .atbdp-nav-label { + display: inline-block; +} +.atbdp-sidebar-subnav-item.active { + display: block; + margin: 0; +} +.atbdp-sidebar-subnav-item.active .atbdp-nav-link { + display: block; +} +.atbdp-sidebar-subnav-item.active .atbdp-nav-icon { + display: inline-block; +} +.atbdp-sidebar-subnav-item.active .atbdp-nav-label { + display: inline-block; +} + +.atbdp-row { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin: 0 -15px; +} + +.atbdp-col { + padding: 0 15px; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +.atbdp-col-3 { + -webkit-flex-basis: 25%; + -ms-flex-preferred-size: 25%; + flex-basis: 25%; + width: 25%; +} + +.atbdp-col-4 { + -webkit-flex-basis: 33.3333333333%; + -ms-flex-preferred-size: 33.3333333333%; + flex-basis: 33.3333333333%; + width: 33.3333333333%; +} + +.atbdp-col-8 { + -webkit-flex-basis: 66.6666666667%; + -ms-flex-preferred-size: 66.6666666667%; + flex-basis: 66.6666666667%; + width: 66.6666666667%; +} + +.shrink { + max-width: 300px; +} + +.directorist_dropdown { + position: relative; +} +.directorist_dropdown .directorist_dropdown-toggle { + position: relative; + text-decoration: none; + display: block; + width: 100%; + max-height: 38px; + font-size: 12px; + font-weight: 400; + background-color: transparent; + color: #4d5761; + padding: 12px 15px; + line-height: 1; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.directorist_dropdown .directorist_dropdown-toggle:focus { + outline: 0 none; + -webkit-box-shadow: 0 0; + box-shadow: 0 0; +} +.directorist_dropdown .directorist_dropdown-toggle:before { + font-family: unicons-line; + font-weight: 400; + font-size: 20px; + content: "\eb3a"; + color: #747c89; + position: absolute; + top: 50%; + left: 0; + -webkit-transform: translate(50%, -50%); + transform: translate(50%, -50%); + height: 20px; +} +.directorist_dropdown .directorist_dropdown-option { + display: none; + position: absolute; + width: 100%; + max-height: 350px; + right: 0; + top: 39px; + padding: 12px 8px; + background-color: #fff; + -webkit-box-shadow: + 0 12px 16px -4px rgba(16, 24, 40, 0.08), + 0px 4px 6px -2px rgba(16, 24, 40, 0.03); + box-shadow: + 0 12px 16px -4px rgba(16, 24, 40, 0.08), + 0px 4px 6px -2px rgba(16, 24, 40, 0.03); + border: 1px solid #e5e7eb; + border-radius: 8px; + z-index: 99999; + overflow-y: auto; +} +.directorist_dropdown .directorist_dropdown-option.--show { + display: block !important; +} +.directorist_dropdown .directorist_dropdown-option ul { + margin: 0; + padding: 0; +} +.directorist_dropdown .directorist_dropdown-option ul:empty { + position: relative; + height: 50px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; +} +.directorist_dropdown .directorist_dropdown-option ul:empty:before { + content: "No Items Found"; +} +.directorist_dropdown .directorist_dropdown-option ul li { + margin-bottom: 0; +} +.directorist_dropdown .directorist_dropdown-option ul li a { + font-size: 14px; + font-weight: 500; + text-decoration: none; + display: block; + padding: 9px 15px; + border-radius: 8px; + color: #4d5761; + -webkit-transition: 0.3s; + transition: 0.3s; +} +.directorist_dropdown .directorist_dropdown-option ul li a:hover, +.directorist_dropdown .directorist_dropdown-option ul li a.active:hover { + color: #fff; + background-color: #3e62f5; +} +.directorist_dropdown .directorist_dropdown-option ul li a.active { + color: #3e62f5; + background-color: #f0f3ff; +} + +.cptm-form-group .directorist_dropdown-option { + max-height: 240px; +} + +.cptm-import-directory-modal .cptm-file-input-wrap { + margin: 16px -5px 0 -5px; +} +.cptm-import-directory-modal .cptm-info-text { + padding: 4px 8px; + height: auto; + line-height: 1.5; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-import-directory-modal .cptm-info-text > b { + margin-left: 4px; +} + +/* Sticky fields */ +.cptm-col-sticky { + position: -webkit-sticky; + position: sticky; + top: 60px; + height: 100%; + max-height: calc(100vh - 212px); + overflow: auto; + scrollbar-width: 6px; + scrollbar-color: #d2d6db #f3f4f6; +} + +.cptm-widget-trash-confirmation-modal-overlay { + position: fixed; + top: 0; + right: 0; + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0.5); + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + z-index: 999999; +} +.cptm-widget-trash-confirmation-modal-overlay + .cptm-widget-trash-confirmation-modal { + background: #fff; + padding: 30px 25px; + border-radius: 8px; + text-align: center; +} +.cptm-widget-trash-confirmation-modal-overlay + .cptm-widget-trash-confirmation-modal + h2 { + font-size: 16px; + font-weight: 500; + margin: 0 0 18px; +} +.cptm-widget-trash-confirmation-modal-overlay + .cptm-widget-trash-confirmation-modal + p { + margin: 0 0 20px; + font-size: 14px; + max-width: 400px; +} +.cptm-widget-trash-confirmation-modal-overlay button { + border: 0 none; + -webkit-box-shadow: none; + box-shadow: none; + background: rgb(197, 22, 22); + padding: 10px 15px; + border-radius: 6px; + color: #fff; + font-size: 14px; + font-weight: 500; + margin: 5px; + cursor: pointer; + -webkit-transition: 0.3s ease; + transition: 0.3s ease; +} +.cptm-widget-trash-confirmation-modal-overlay button:hover { + background: #ba1230; +} +.cptm-widget-trash-confirmation-modal-overlay + button.cptm-widget-trash-confirmation-modal-action-btn__cancel { + background: #f1f2f6; + color: #7a8289; +} +.cptm-widget-trash-confirmation-modal-overlay + button.cptm-widget-trash-confirmation-modal-action-btn__cancel:hover { + background: #dee0e4; +} + +.cptm-field-group-container .cptm-field-group-container__label { + font-size: 15px; + font-weight: 500; + color: #272b41; + display: inline-block; +} +@media only screen and (max-width: 767px) { + .cptm-field-group-container .cptm-field-group-container__label { + margin-bottom: 15px; + } +} + +.cptm-container-group-fields { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 26px; +} +@media only screen and (max-width: 1300px) { + .cptm-container-group-fields { + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + } +} +@media only screen and (max-width: 1300px) { + .cptm-container-group-fields .cptm-form-group:not(:last-child) { + margin-bottom: 0; + } +} +@media only screen and (max-width: 991px) { + .cptm-container-group-fields .cptm-form-group { + width: 100%; + } +} +.cptm-container-group-fields .highlight-field { + padding: 0; +} +.cptm-container-group-fields .atbdp-row { + margin: 0; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + gap: 10px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.cptm-container-group-fields .atbdp-row .atbdp-col { + -webkit-box-flex: 0 !important; + -webkit-flex: none !important; + -ms-flex: none !important; + flex: none !important; + width: auto; + padding: 0; +} +.cptm-container-group-fields .atbdp-row .atbdp-col input { + max-width: 100px !important; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +@media only screen and (max-width: 991px) { + .cptm-container-group-fields .atbdp-row .atbdp-col input { + max-width: none !important; + } +} +@media only screen and (max-width: 767px) { + .cptm-container-group-fields .atbdp-row .atbdp-col input { + max-width: 150px !important; + } +} +.cptm-container-group-fields .atbdp-row .atbdp-col label { + margin: 0; + font-size: 14px !important; + font-weight: normal; +} +@media only screen and (max-width: 1300px) { + .cptm-container-group-fields .atbdp-row .atbdp-col label { + min-width: 50px; + } +} +.cptm-container-group-fields .atbdp-row .atbdp-col .directorist_dropdown { + width: 95px; +} +.cptm-container-group-fields + .atbdp-row + .atbdp-col + .directorist_dropdown + .directorist_dropdown-toggle:before { + position: relative; + top: -3px; +} +@media only screen and (max-width: 991px) { + .cptm-container-group-fields .atbdp-row .atbdp-col .directorist_dropdown { + width: calc(100% - 2px); + } +} +@media only screen and (max-width: 767px) { + .cptm-container-group-fields .atbdp-row .atbdp-col .directorist_dropdown { + width: 150px; + } +} +@media only screen and (max-width: 991px) { + .cptm-container-group-fields .atbdp-row .atbdp-col.atbdp-col-8 { + -webkit-box-flex: 1 !important; + -webkit-flex: auto !important; + -ms-flex: auto !important; + flex: auto !important; + } +} +@media only screen and (max-width: 767px) { + .cptm-container-group-fields .atbdp-row .atbdp-col.atbdp-col-4 { + width: auto !important; + } +} + +.cptm-elements-settings { + width: 100%; + max-width: 372px; + padding: 0 20px; + scrollbar-width: 6px; + border-left: 1px solid #e5e7eb; + scrollbar-color: #d2d6db #f3f4f6; +} +@media only screen and (max-width: 1199px) { + .cptm-elements-settings { + max-width: 100%; + } +} +@media only screen and (max-width: 782px) { + .cptm-elements-settings { + -webkit-box-sizing: border-box; + box-sizing: border-box; + } +} +@media only screen and (max-width: 480px) { + .cptm-elements-settings { + border: none; + padding: 0; + } +} +.cptm-elements-settings__header { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 20px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + padding: 18px 0 8px; +} +.cptm-elements-settings__header__title { + font-size: 16px; + line-height: 24px; + font-weight: 500; + color: #141921; + margin: 0; +} +.cptm-elements-settings__group { + padding: 20px 0; + border-bottom: 1px solid #e5e7eb; +} +.cptm-elements-settings__group .dndrop-draggable-wrapper { + position: relative; + overflow: visible !important; +} +.cptm-elements-settings__group .dndrop-draggable-wrapper.dragging { + opacity: 0; +} +.cptm-elements-settings__group:last-child { + border-bottom: none; +} +.cptm-elements-settings__group__title { + display: block; + font-size: 12px; + font-weight: 500; + letter-spacing: 0.48px; + color: #747c89; + margin-bottom: 15px; +} +.cptm-elements-settings__group__single { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 16px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + padding: 12px; + border-radius: 4px; + background: #f3f4f6; +} +.cptm-elements-settings__group__single:hover { + border-color: #3e62f5; +} +.cptm-elements-settings__group__single .drag-icon { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + font-size: 16px; + color: #747c89; + background: transparent; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; + cursor: move; +} +.cptm-elements-settings__group__single .drag-icon:hover { + color: #1e1e1e; +} +.cptm-elements-settings__group__single__label { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + font-size: 14px; + font-weight: 500; + color: #383f47; +} +.cptm-elements-settings__group__single__label__icon { + color: #4d5761; + font-size: 24px; +} +@media only screen and (max-width: 480px) { + .cptm-elements-settings__group__single__label__icon { + font-size: 20px; + } +} +.cptm-elements-settings__group__single__action { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + gap: 12px; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} +.cptm-elements-settings__group__single__edit { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + cursor: pointer; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.cptm-elements-settings__group__single__edit__icon { + font-size: 20px; + color: #4d5761; +} +.cptm-elements-settings__group__single__edit--disabled { + opacity: 0.4; + pointer-events: none; +} +.cptm-elements-settings__group__single__switch label { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + width: 32px; + height: 18px; + cursor: pointer; +} +.cptm-elements-settings__group__single__switch label::before { + content: ""; + position: absolute; + width: 100%; + height: 100%; + background-color: #d2d6db; + border-radius: 30px; + -webkit-transition: all 0.3s; + transition: all 0.3s; +} +.cptm-elements-settings__group__single__switch label::after { + content: ""; + position: absolute; + top: 3px; + right: 3px; + width: 12px; + height: 12px; + background-color: #ffffff; + border-radius: 50%; + -webkit-transition: all 0.3s; + transition: all 0.3s; +} +.cptm-elements-settings__group__single__switch input[type="checkbox"] { + display: none; +} +.cptm-elements-settings__group__single__switch + input[type="checkbox"]:checked + + label::before { + background-color: #3e62f5; +} +.cptm-elements-settings__group__single__switch + input[type="checkbox"]:checked + + label::after { + -webkit-transform: translateX(-14px); + transform: translateX(-14px); +} +.cptm-elements-settings__group__single--disabled { + opacity: 0.4; + pointer-events: none; +} +.cptm-elements-settings__group__options { + position: absolute; + width: 100%; + top: 42px; + right: 0; + z-index: 1; + padding-bottom: 20px; +} +.cptm-elements-settings__group__options .cptm-option-card { + margin: 0; + background: #fff; + -webkit-box-shadow: 0 6px 8px 2px rgba(16, 24, 40, 0.1019607843); + box-shadow: 0 6px 8px 2px rgba(16, 24, 40, 0.1019607843); +} +.cptm-elements-settings__group__options .cptm-option-card:before { + left: 60px; +} +.cptm-elements-settings__group__options + .cptm-option-card + .cptm-option-card-header { + padding: 0; + border-radius: 8px 8px 0 0; + background: transparent; +} +.cptm-elements-settings__group__options + .cptm-option-card + .cptm-option-card-header + .cptm-option-card-header-title-section { + padding: 16px; + min-height: auto; +} +.cptm-elements-settings__group__options + .cptm-option-card + .cptm-option-card-header + .cptm-option-card-header-title-section + .cptm-option-card-header-title { + font-size: 14px; + font-weight: 500; + color: #2c3239; + margin: 0; +} +.cptm-elements-settings__group__options + .cptm-option-card + .cptm-option-card-header + .cptm-option-card-header-title-section + .cptm-header-action-link { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 18px; + height: 18px; + padding: 0; + color: #4d5761; +} +.cptm-elements-settings__group__options + .cptm-option-card + .cptm-option-card-body { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 16px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 16px; + background: transparent; + border-top: 1px solid #e5e7eb; + border-radius: 0 0 8px 8px; + -webkit-box-shadow: none; + box-shadow: none; +} +.cptm-elements-settings__group__options + .cptm-option-card + .cptm-option-card-body + .cptm-form-group { + margin-bottom: 0; +} +.cptm-elements-settings__group__options + .cptm-option-card + .cptm-option-card-body + .cptm-form-group + label { + font-size: 13px; + font-weight: 500; +} +.cptm-elements-settings__group .dndrop-container .dndrop-draggable-wrapper { + margin-bottom: 8px; +} +.cptm-elements-settings__group + .dndrop-container + .dndrop-draggable-wrapper:last-child { + margin-bottom: 0; +} + +.cptm-theme-butterfly .cptm-info-text { + text-align: right; + margin: 0; +} + +.icon-picker { + position: fixed; + background-color: rgba(0, 0, 0, 0.35); + top: 0; + left: 0; + bottom: 0; + right: 0; + z-index: 9999; + visibility: hidden; + opacity: 0; + pointer-events: none; + -webkit-transition: + opacity 0.3s ease, + visibility 0.3s ease; + transition: + opacity 0.3s ease, + visibility 0.3s ease; +} +.icon-picker__inner { + width: 935px; + position: absolute; + top: 50%; + right: 50%; + -webkit-transform: translate(50%, -50%); + transform: translate(50%, -50%); + background: white; + height: 800px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + overflow: hidden; + border-radius: 6px; +} +.icon-picker__close { + width: 34px; + height: 34px; + border-radius: 50%; + background-color: #5a5f7d; + color: #fff; + font-size: 12px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + position: absolute; + left: 20px; + top: 23px; + z-index: 1; + -webkit-transition: 0.3s ease; + transition: 0.3s ease; +} +.icon-picker__close:hover { + color: #fff; + background-color: #222; +} +.icon-picker__sidebar { + width: 30%; + background-color: #eff0f3; + padding: 30px 20px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.icon-picker__content { + width: 70%; + overflow: auto; +} +.icon-picker__content .icons-group { + padding-top: 80px; +} +.icon-picker__content .icons-group h4 { + font-size: 16px; + font-weight: 500; + color: #272b41; + background-color: #ffffff; + padding: 33px 20px 27px 0; + border-bottom: 1px solid #e3e6ef; + margin: 0; + position: absolute; + right: 30%; + top: 0; + width: 70%; +} +.icon-picker__content .icons-group-icons { + padding: 17px 17px 17px 0; +} +.icon-picker__content .icons-group-icons .font-icon-btn { + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + margin: 5px 3px; + width: 70px; + height: 70px; + background-color: #f4f5f7; + border-radius: 5px; + font-size: 24px; + color: #868eae; + font-size: 18px !important; + border: 0 none; + -webkit-transition: 0.3s ease; + transition: 0.3s ease; +} +.icon-picker__content .icons-group-icons .font-icon-btn.cptm-btn-primary { background-color: #3e62f5; color: #fff; + font-size: 30px; + -webkit-box-shadow: 0 3px 10px rgba(39, 43, 65, 0.2); + box-shadow: 0 3px 10px rgba(39, 43, 65, 0.2); + border: 1px solid #e3e6ef; +} +.icon-picker__filter { + margin-bottom: 30px; +} +.icon-picker__filter label { + font-size: 14px; + font-weight: 500; + margin-bottom: 8px; + display: block; +} +.icon-picker__filter input, +.icon-picker__filter select { + color: #797d93; + font-size: 14px; + height: 44px; + border: 1px solid #e3e6ef; + border-radius: 4px; + padding: 0 15px; + width: 100%; +} +.icon-picker__filter input::-webkit-input-placeholder { + color: #797d93; +} +.icon-picker__filter input::-moz-placeholder { + color: #797d93; +} +.icon-picker__filter input:-ms-input-placeholder { + color: #797d93; +} +.icon-picker__filter input::-ms-input-placeholder { + color: #797d93; +} +.icon-picker__filter input::placeholder { + color: #797d93; +} +.icon-picker__filter select:hover, +.icon-picker__filter select:focus { + color: #797d93; +} +.icon-picker.icon-picker-visible { + visibility: visible; + opacity: 1; + pointer-events: auto; +} +.icon-picker__preview-icon { + font-size: 80px; + color: #272b41; + display: block !important; + text-align: center; +} +.icon-picker__preview-info { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + margin-top: 15px; +} +.icon-picker__done-btn { + display: block !important; + width: 100%; + margin: 35px 0 0 0 !important; +} + +.directorist-type-icon-select label { + font-size: 14px; + font-weight: 500; + display: block; + margin-bottom: 10px; +} + +.icon-picker-selector { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + margin: 0 -10px; +} +.icon-picker-selector__icon { + position: relative; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + margin: 0 10px; +} +.icon-picker-selector__icon .directorist-selected-icon { + position: absolute; + right: 15px; + top: 50%; + -webkit-transform: translateY(-50%); + transform: translateY(-50%); +} +.icon-picker-selector__icon .cptm-form-control { + pointer-events: none; +} +.icon-picker-selector__icon__reset { + position: absolute; + left: 0; + top: 50%; + -webkit-transform: translateY(-50%); + transform: translateY(-50%); + cursor: pointer; + padding: 5px 15px; +} +.icon-picker-selector__btn { + margin: 0 10px; + height: 40px; + background-color: #dadce0; + border-radius: 4px; + border: 0 none; + font-weight: 500; + padding: 0 30px; + cursor: pointer; +} + +.directorist-category-icon-picker { + margin-top: 10px; + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} +.directorist-category-icon-picker .icon-picker-selector { + width: 100%; +} + +/* Responsive fix */ +@media only screen and (max-width: 1441px) { + .icon-picker__inner { + width: 825px; + height: 660px; + } +} +@media only screen and (max-width: 1199px) { + .icon-picker__inner { + width: 615px; + height: 500px; + } +} +@media only screen and (max-width: 767px) { + .icon-picker__inner { + width: 500px; + height: 450px; + } +} +@media only screen and (max-width: 575px) { + .icon-picker__inner { + display: block; + width: calc(100% - 30px); + overflow: scroll; + } + .icon-picker__sidebar, + .icon-picker__content { + width: auto; + } + .icon-picker__content .icons-group-icons .font-icon-btn { + width: 55px; + height: 55px; + font-size: 16px; + } +} +.reset-pseudo-link:visited, +.cptm-btn:visited, +.cptm-header-nav__list-item-link:visited, +.cptm-link-light:visited, +.cptm-sub-nav__item-link:visited, +.cptm-header-action-link:visited, +.cptm-modal-action-link:visited, +.atbdp-nav-link:visited, +.reset-pseudo-link:active, +.cptm-btn:active, +.cptm-header-nav__list-item-link:active, +.cptm-link-light:active, +.cptm-sub-nav__item-link:active, +.cptm-header-action-link:active, +.cptm-modal-action-link:active, +.atbdp-nav-link:active, +.reset-pseudo-link:focus, +.cptm-btn:focus, +.cptm-header-nav__list-item-link:focus, +.cptm-link-light:focus, +.cptm-sub-nav__item-link:focus, +.cptm-header-action-link:focus, +.cptm-modal-action-link:focus, +.atbdp-nav-link:focus { + outline: none; + -webkit-box-shadow: none; + box-shadow: none; +} + +.cptm-shortcodes { + max-height: 300px; + overflow: scroll; +} + +.directorist-center-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.directorist-center-content-inline { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; +} + +.directorist-center-content, +.directorist-center-content-inline { + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.directorist-text-right { + text-align: left; +} + +.directorist-text-center { + text-align: center; +} + +.directorist-text-left { + text-align: right; +} + +.directorist-mt-0 { + margin-top: 0 !important; +} + +.directorist-mt-5 { + margin-top: 5px !important; +} + +.directorist-mt-10 { + margin-top: 10px !important; +} + +.directorist-mt-15 { + margin-top: 15px !important; +} + +.directorist-mt-20 { + margin-top: 20px !important; +} + +.directorist-mt-30 { + margin-top: 30px !important; +} + +.directorist-mb-0 { + margin-bottom: 0 !important; +} + +.directorist-mb-35 { + margin-bottom: 35px !important; +} + +.directorist-mb-30 { + margin-bottom: 30px !important; +} + +.directorist-mb-25 { + margin-bottom: 25px !important; +} + +.directorist-mb-20 { + margin-bottom: 20px !important; +} + +.directorist-mb-n20 { + margin-bottom: -20px !important; +} + +.directorist-mb-10 { + margin-bottom: 10px !important; +} + +.directorist-mb-15 { + margin-bottom: 15px !important; +} + +.directorist-mb-20 { + margin-bottom: 20px !important; +} + +.directorist-mb-30 { + margin-bottom: 30px !important; +} + +.directorist-mb-35 { + margin-bottom: 35px !important; +} + +.directorist-mb-40 { + margin-bottom: 40px !important; +} + +.directorist-mb-50 { + margin-bottom: 50px !important; +} + +.directorist-mb-70 { + margin-bottom: 70px !important; +} + +.directorist-mb-80 { + margin-bottom: 80px !important; +} + +.directorist-pb-100 { + padding-bottom: 100px !important; +} + +.directorist-w-100 { + width: 100% !important; + max-width: 100% !important; +} + +.directorist-draggable-list-item-wrapper { + position: relative; + height: 100%; +} + +.directorist-droppable-area-wrap { + position: absolute; + top: 0; + left: 0; + bottom: 0; + right: 0; + z-index: 888888888; + display: none; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + margin-bottom: -20px; +} + +.directorist-droppable-area { + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} + +.directorist-droppable-item-preview { + height: 52px; + background-color: rgba(44, 153, 255, 0.1); + margin-bottom: 20px; + margin-left: 0; + border-radius: 4px; +} + +.directorist-droppable-item-preview-before { + margin-bottom: 20px; +} + +.directorist-droppable-item-preview-after { + margin-bottom: 20px; +} + +/* Create Directory Type */ +.directorist-directory-type-top { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + gap: 15px 30px; + padding: 0 20px; + background: white; + min-height: 60px; + border-bottom: 1px solid #e5e7eb; + position: fixed; + left: 0; + top: 32px; + width: calc(100% - 200px); + z-index: 9999; +} +.directorist-directory-type-top:before { + content: ""; + position: absolute; + top: -10px; + right: 0; + height: 10px; + width: 100%; + background-color: #f3f4f6; +} +@media only screen and (max-width: 782px) { + .directorist-directory-type-top { + position: relative; + width: calc(100% + 20px); + top: -10px; + right: -10px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-sizing: border-box; + box-sizing: border-box; + } +} +@media only screen and (max-width: 480px) { + .directorist-directory-type-top { + padding: 10px 30px; + } +} +.directorist-directory-type-top-left { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 10px 24px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +@media only screen and (max-width: 767px) { + .directorist-directory-type-top-left { + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + } +} +.directorist-directory-type-top-left .cptm-form-group { + margin-bottom: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 10px; +} +.directorist-directory-type-top-left + .cptm-form-group + .cptm-form-group-feedback { + white-space: nowrap; +} +.directorist-directory-type-top-left .cptm-form-group .cptm-form-control { + height: 36px; + border-radius: 8px; + background: #e5e7eb; + max-width: 150px; + padding: 10px 16px; + font-size: 14px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} +.directorist-directory-type-top-left + .cptm-form-group + .cptm-form-control::-webkit-input-placeholder { + color: #4d5761; + font-size: 14px; + font-style: normal; + font-weight: 500; + line-height: 16.24px; +} +.directorist-directory-type-top-left + .cptm-form-group + .cptm-form-control::-moz-placeholder { + color: #4d5761; + font-size: 14px; + font-style: normal; + font-weight: 500; + line-height: 16.24px; +} +.directorist-directory-type-top-left + .cptm-form-group + .cptm-form-control:-ms-input-placeholder { + color: #4d5761; + font-size: 14px; + font-style: normal; + font-weight: 500; + line-height: 16.24px; +} +.directorist-directory-type-top-left + .cptm-form-group + .cptm-form-control::-ms-input-placeholder { + color: #4d5761; + font-size: 14px; + font-style: normal; + font-weight: 500; + line-height: 16.24px; +} +.directorist-directory-type-top-left + .cptm-form-group + .cptm-form-control::placeholder { + color: #4d5761; + font-size: 14px; + font-style: normal; + font-weight: 500; + line-height: 16.24px; +} +.directorist-directory-type-top-left + .cptm-form-group + .cptm-form-group-feedback + .cptm-form-alert { + padding: 0; +} +.directorist-directory-type-top-left .directorist-back-directory { + color: #4d5761; + font-size: 14px; + font-style: normal; + font-weight: 500; + line-height: normal; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 8px; +} +.directorist-directory-type-top-left .directorist-back-directory svg { + width: 14px; + height: 14px; + color: inherit; +} +.directorist-directory-type-top-left .directorist-back-directory:hover { + color: #3e62f5; +} +.directorist-directory-type-top-right .directorist-create-directory { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + border-radius: 8px; + text-decoration: none; + padding: 0 24px; + height: 40px; + border: 1px solid #3e62f5; + cursor: pointer; + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-box-shadow: 0px 2px 4px 0px rgba(60, 41, 170, 0.1); + box-shadow: 0px 2px 4px 0px rgba(60, 41, 170, 0.1); + background-color: #3e62f5; + color: #ffffff; font-size: 15px; font-weight: 500; line-height: normal; @@ -15939,6 +36414,7 @@ input:-webkit-autofill:hover { .directorist-directory-type-top-right .cptm-btn { margin: 0; } + .directorist-type-name { display: -webkit-box; display: -webkit-flex; @@ -15958,6 +36434,7 @@ input:-webkit-autofill:hover { font-size: 20px; color: #747c89; } + .directorist-type-name-editable { display: -webkit-box; display: -webkit-flex; @@ -15976,6 +36453,7 @@ input:-webkit-autofill:hover { .directorist-type-name-editable span:hover { color: #3e62f5; } + .directorist-directory-type-bottom { position: fixed; bottom: 0; @@ -15984,7 +36462,7 @@ input:-webkit-autofill:hover { height: calc(100% - 115px); overflow-y: auto; z-index: 1; - background: #fff; + background: white; margin-top: 67px; border-radius: 8px 8px 0 0; border: 1px solid #e5e7eb; @@ -16008,7 +36486,7 @@ input:-webkit-autofill:hover { left: 20px; top: 113px; width: calc(100% - 202px); - background: #fff; + background: #ffffff; border: 1px solid #e5e7eb; gap: 0 32px; padding: 0 30px; @@ -16045,6 +36523,7 @@ input:-webkit-autofill:hover { margin-top: 0; } } + .wp-admin.folded .directorist-directory-type-top { width: calc(100% - 78px); } @@ -16064,31 +36543,31 @@ input:-webkit-autofill:hover { .directorist-directory-type-bottom .cptm-header-navigation { width: 100%; - border-width: 0 0 1px; + border-width: 0 0 1px 0; } } + .directorist-draggable-form-list-wrap { margin-left: 50px; } + +/* Body Header */ .directorist-form-action { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: end; -webkit-justify-content: flex-end; -ms-flex-pack: end; justify-content: flex-end; margin-bottom: 26px; } -.directorist-form-action, -.directorist-form-action__modal-btn { - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; -} .directorist-form-action__modal-btn { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -16101,6 +36580,10 @@ input:-webkit-autofill:hover { -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; gap: 6px; width: 30px; height: 30px; @@ -16180,6 +36663,7 @@ input:-webkit-autofill:hover { -webkit-box-shadow: none; box-shadow: none; } + .cptm-form-note { margin-bottom: 30px; padding: 30px; @@ -16205,6 +36689,7 @@ input:-webkit-autofill:hover { .cptm-form-note .cptm-form-note-content a { color: #157cf6; } + #atbdp_cpt_options_metabox .inside { margin: 0; padding: 0; @@ -16212,6 +36697,7 @@ input:-webkit-autofill:hover { #atbdp_cpt_options_metabox .postbox-header { display: none; } + .atbdp-cpt-manager { position: relative; display: block; @@ -16222,15 +36708,16 @@ input:-webkit-autofill:hover { z-index: 9; width: calc(100% - 200px); } +.atbdp-cpt-manager.directorist-overlay-visible .directorist-directory-type-top, .atbdp-cpt-manager.directorist-overlay-visible .directorist-directory-type-bottom - .cptm-header-navigation, -.atbdp-cpt-manager.directorist-overlay-visible .directorist-directory-type-top { + .cptm-header-navigation { z-index: 1; } .atbdp-cpt-manager.directorist-overlay-visible .submission_form_fields { z-index: 11; } + .atbdp-cptm-header { display: block; } @@ -16238,19 +36725,22 @@ input:-webkit-autofill:hover { height: 50px; font-size: 20px; } + .atbdp-cptm-body { display: block; } + .cptm-field-wraper-key-preview_image .cptm-btn { margin: 0 10px; height: 40px; color: #23282d !important; background-color: #dadce0 !important; border-radius: 4px !important; - border: 0; + border: 0 none; font-weight: 500; padding: 0 30px; } + .atbdp-cptm-footer { display: block; padding: 24px 0 0; @@ -16291,8 +36781,8 @@ input:-webkit-autofill:hover { border: 3px solid #d2d6db; -webkit-box-sizing: border-box; box-sizing: border-box; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } .atbdp-cptm-footer .atbdp-cptm-footer-preview @@ -16303,10 +36793,10 @@ input:-webkit-autofill:hover { top: 3px; width: 14px; height: 14px; - background: #fff; + background: #ffffff; border-radius: 100%; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } .atbdp-cptm-footer .atbdp-cptm-footer-preview @@ -16331,6 +36821,7 @@ input:-webkit-autofill:hover { font-weight: 400; color: #747c89; } + .atbdp-cptm-footer-actions { display: -webkit-box; display: -webkit-flex; @@ -16348,7 +36839,19 @@ input:-webkit-autofill:hover { flex-wrap: wrap; } .atbdp-cptm-footer-actions .cptm-btn { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; gap: 10px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; width: 100%; font-weight: 500; font-size: 15px; @@ -16356,24 +36859,22 @@ input:-webkit-autofill:hover { padding: 0 30px; margin: 0; } -.atbdp-cptm-footer-actions .cptm-btn, .atbdp-cptm-footer-actions .cptm-save-text { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; + gap: 8px; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; } -.atbdp-cptm-footer-actions .cptm-save-text { - gap: 8px; -} + .cptm-title-bar { display: -webkit-box; display: -webkit-flex; @@ -16386,9 +36887,11 @@ input:-webkit-autofill:hover { padding: 15px 10px; background-color: #fff; } + .cptm-card-preview-widget .cptm-title-bar { margin: 0; } + .cptm-title-bar-headings { -webkit-box-flex: 1; -webkit-flex-grow: 1; @@ -16396,14 +36899,17 @@ input:-webkit-autofill:hover { flex-grow: 1; padding: 10px; } + .cptm-title-bar-actions { min-width: 100px; max-width: 220px; padding: 10px; } + .cptm-label-btn { display: inline-block; } + .cptm-btn, .cptm-btn.cptm-label-btn { margin: 0 5px 10px; @@ -16413,15 +36919,16 @@ input:-webkit-autofill:hover { padding: 10px 20px; border-radius: 5px; cursor: pointer; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; vertical-align: top; } -.cptm-btn.cptm-label-btn:disabled, -.cptm-btn:disabled { +.cptm-btn:disabled, +.cptm-btn.cptm-label-btn:disabled { cursor: not-allowed; opacity: 0.5; } + .cptm-btn.cptm-label-btn { display: inline-block; vertical-align: top; @@ -16456,6 +36963,7 @@ input:-webkit-autofill:hover { color: #fff; background-color: #3e62f5; } + .cptm-file-input-wrap { display: -webkit-box; display: -webkit-flex; @@ -16471,9 +36979,11 @@ input:-webkit-autofill:hover { -ms-flex-positive: 1; flex-grow: 1; } + .cptm-btn-box { display: block; } + .cptm-form-builder-group-field-drop-area { display: block; padding: 14px 20px; @@ -16485,8 +36995,8 @@ input:-webkit-autofill:hover { color: #747c89; background-color: #f9fafb; font-style: italic; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; border: 1px dashed #d2d6db; -webkit-box-shadow: 0 4px 8px 0 rgba(16, 24, 40, 0.08); box-shadow: 0 4px 8px 0 rgba(16, 24, 40, 0.08); @@ -16499,10 +37009,12 @@ input:-webkit-autofill:hover { background-color: #d8e0fd; border-color: #3e62f5; } + .cptm-form-builder-group-field-drop-area-label { margin: 0; pointer-events: none; } + .atbdp-cptm-status-feedback { position: fixed; top: 70px; @@ -16522,6 +37034,7 @@ input:-webkit-autofill:hover { right: 50%; } } + .cptm-alert { position: relative; padding: 14px 52px 14px 24px; @@ -16539,9 +37052,10 @@ input:-webkit-autofill:hover { top: 14px; right: 24px; font-size: 20px; - font-family: Font Awesome\5 Free; + font-family: "Font Awesome 5 Free"; font-weight: 900; } + .cptm-alert-success { background-color: #ecfdf3; border: 1px solid #14b570; @@ -16550,6 +37064,7 @@ input:-webkit-autofill:hover { content: "\f058"; color: #14b570; } + .cptm-alert-error { background-color: #f3d6d6; border: 1px solid #c51616; @@ -16558,16 +37073,19 @@ input:-webkit-autofill:hover { content: "\f057"; color: #c51616; } + .cptm-dropable-element { position: relative; } + .cptm-dropable-base-element { display: block; position: relative; padding: 0; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: ease-in-out all 300ms; + transition: ease-in-out all 300ms; } + .cptm-dropable-area { position: absolute; right: 0; @@ -16576,49 +37094,63 @@ input:-webkit-autofill:hover { bottom: 0; z-index: 999; } + .cptm-dropable-placeholder { padding: 0; margin: 0; height: 0; border-radius: 4px; overflow: hidden; - -webkit-transition: all 0.2s ease-in-out; - transition: all 0.2s ease-in-out; - background: rgba(61, 98, 245, 0.45); + -webkit-transition: all ease-in-out 200ms; + transition: all ease-in-out 200ms; + background: RGBA(61, 98, 245, 0.45); } .cptm-dropable-placeholder.active { padding: 10px 15px; margin: 0; height: 30px; } + .cptm-dropable-inside { padding: 10px; } + .cptm-dropable-area-inside { display: block; height: 100%; } -.cptm-dropable-area-left, + .cptm-dropable-area-right { display: block; } -.cptm-dropable-area-left, -.cptm-dropable-area-right { + +.cptm-dropable-area-left { + display: block; +} + +.cptm-dropable-area-right, +.cptm-dropable-area-left { display: block; float: right; width: 50%; height: 100%; } -.cptm-dropable-area-bottom, + .cptm-dropable-area-top { display: block; } -.cptm-dropable-area-bottom, -.cptm-dropable-area-top { + +.cptm-dropable-area-bottom { + display: block; +} + +.cptm-dropable-area-top, +.cptm-dropable-area-bottom { display: block; width: 100%; height: 50%; } + .cptm-header-navigation { margin: 0; padding: 0; @@ -16647,6 +37179,7 @@ input:-webkit-autofill:hover { flex-direction: column; } } + .cptm-header-nav__list-item { margin: 0; display: inline-block; @@ -16661,6 +37194,7 @@ input:-webkit-autofill:hover { width: 100%; } } + .cptm-header-nav__list-item-link { display: -webkit-box; display: -webkit-flex; @@ -16672,8 +37206,9 @@ input:-webkit-autofill:hover { align-items: center; gap: 8px; text-decoration: none; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + position: relative; color: #4d5761; font-weight: 500; padding: 24px 0; @@ -16709,6 +37244,7 @@ input:-webkit-autofill:hover { .cptm-header-nav__list-item-link.active .cptm-header-nav__label { color: #3e62f5; } + .cptm-header-nav__icon { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -16727,39 +37263,53 @@ input:-webkit-autofill:hover { width: 24px; height: 24px; } + .cptm-header-nav__label { display: block; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; font-size: 14px; font-weight: 500; } + .cptm-title-area { margin-bottom: 20px; } + .submission-form .cptm-title-area { width: 100%; } + .tab-general .cptm-title-area { margin-right: 0; } -.cptm-color-white, -.cptm-link-light, -.cptm-link-light:active, + +.cptm-link-light { + color: #fff; +} +.cptm-link-light:hover, .cptm-link-light:focus, -.cptm-link-light:hover { +.cptm-link-light:active { color: #fff; } + +.cptm-color-white { + color: #fff; +} + .cptm-my-10 { margin-top: 10px; margin-bottom: 10px; } + .cptm-mb-60 { margin-bottom: 60px; } + .cptm-mr-5 { margin-left: 5px; } + .cptm-title { margin: 0; font-size: 19px; @@ -16767,6 +37317,7 @@ input:-webkit-autofill:hover { color: #141921; line-height: 1.2; } + .cptm-des { font-size: 14px; font-weight: 400; @@ -16774,6 +37325,7 @@ input:-webkit-autofill:hover { color: #4d5761; margin-top: 10px; } + .atbdp-cptm-tab-contents { width: 100%; display: block; @@ -16794,8 +37346,8 @@ input:-webkit-autofill:hover { gap: 16px; padding: 0; border-radius: 8px 8px 0 0; - background: #f9fafb; border: 1px solid #e5e7eb; + background: #f9fafb; border-bottom: none; -webkit-box-sizing: border-box; box-sizing: border-box; @@ -16822,30 +37374,30 @@ input:-webkit-autofill:hover { height: 3px; background: transparent; border-radius: 2px 2px 0 0; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .atbdp-cptm-tab-contents .listings_card_layout .cptm-sub-navigation - .cptm-sub-nav__item-link.active, + .cptm-sub-nav__item-link:hover, .atbdp-cptm-tab-contents .listings_card_layout .cptm-sub-navigation - .cptm-sub-nav__item-link:hover { + .cptm-sub-nav__item-link.active { color: #3e62f5; background: transparent; } .atbdp-cptm-tab-contents .listings_card_layout .cptm-sub-navigation - .cptm-sub-nav__item-link.active + .cptm-sub-nav__item-link:hover svg path, .atbdp-cptm-tab-contents .listings_card_layout .cptm-sub-navigation - .cptm-sub-nav__item-link:hover + .cptm-sub-nav__item-link.active svg path { stroke: #3e62f5; @@ -16853,19 +37405,21 @@ input:-webkit-autofill:hover { .atbdp-cptm-tab-contents .listings_card_layout .cptm-sub-navigation - .cptm-sub-nav__item-link.active:before, + .cptm-sub-nav__item-link:hover:before, .atbdp-cptm-tab-contents .listings_card_layout .cptm-sub-navigation - .cptm-sub-nav__item-link:hover:before { + .cptm-sub-nav__item-link.active:before { background: #3e62f5; } + .atbdp-cptm-tab-item { display: none; } .atbdp-cptm-tab-item.active { display: block; } + .cptm-tab-content-header { position: relative; background: transparent; @@ -16918,9 +37472,11 @@ input:-webkit-autofill:hover { left: 0; } } + .cptm-tab-content-body { display: block; } + .cptm-tab-content { position: relative; margin: 0 auto; @@ -16960,12 +37516,14 @@ input:-webkit-autofill:hover { top: 0; } } + .cptm-short-wide { max-width: 550px; width: 100%; margin-left: auto; margin-right: auto; } + .cptm-tab-sub-content-item { margin: 0 auto; display: none; @@ -16973,6 +37531,7 @@ input:-webkit-autofill:hover { .cptm-tab-sub-content-item.active { display: block; } + .cptm-row { display: -webkit-box; display: -webkit-flex; @@ -16983,6 +37542,7 @@ input:-webkit-autofill:hover { flex-wrap: wrap; margin: 0 -15px; } + .cptm-col-5 { -webkit-box-flex: 1; -webkit-flex-grow: 1; @@ -16997,6 +37557,7 @@ input:-webkit-autofill:hover { margin-bottom: 30px; } } + .cptm-col-6 { -webkit-box-flex: 1; -webkit-flex-grow: 1; @@ -17011,6 +37572,7 @@ input:-webkit-autofill:hover { margin-bottom: 30px; } } + .cptm-col-7 { -webkit-box-flex: 1; -webkit-flex-grow: 1; @@ -17025,6 +37587,7 @@ input:-webkit-autofill:hover { margin-bottom: 30px; } } + .cptm-section { position: relative; margin-bottom: 50px; @@ -17060,7 +37623,7 @@ input:-webkit-autofill:hover { -webkit-box-sizing: border-box; box-sizing: border-box; z-index: 10; - background: #fff; + background: #ffffff; border: 1px solid #e5e7eb; border-radius: 8px; -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); @@ -17180,35 +37743,32 @@ input:-webkit-autofill:hover { font-weight: 500; color: #4d5761; border-color: #e5e7eb; - background-color: #fff; + background-color: #ffffff; border-radius: 6px; } .cptm-section.preview_mode .directorist-footer-wrap .cptm-btn .cptm-save-icon { opacity: 0; visibility: hidden; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } .cptm-section.preview_mode .directorist-footer-wrap .cptm-btn:before { content: attr(data-info); + position: absolute; top: calc(100% + 8px); + right: 50%; + -webkit-transform: translateX(50%); + transform: translateX(50%); min-width: -webkit-max-content; min-width: -moz-max-content; min-width: max-content; text-align: center; - color: #fff; + color: #ffffff; font-size: 13px; font-weight: 500; padding: 10px 12px; border-radius: 6px; background-color: #141921; -} -.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn:after, -.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn:before { - position: absolute; - right: 50%; - -webkit-transform: translateX(50%); - transform: translateX(50%); opacity: 0; visibility: hidden; -webkit-transition: @@ -17220,10 +37780,22 @@ input:-webkit-autofill:hover { } .cptm-section.preview_mode .directorist-footer-wrap .cptm-btn:after { content: ""; + position: absolute; top: calc(100% + 2px); + right: 50%; + -webkit-transform: translateX(50%); + transform: translateX(50%); border-bottom: 6px solid #141921; border-right: 6px solid transparent; border-left: 6px solid transparent; + opacity: 0; + visibility: hidden; + -webkit-transition: + opacity 0.3s ease, + visibility 0.3s ease; + transition: + opacity 0.3s ease, + visibility 0.3s ease; } .cptm-section.preview_mode .directorist-footer-wrap .cptm-btn .cptm-save-icon { font-size: 16px; @@ -17231,9 +37803,12 @@ input:-webkit-autofill:hover { .cptm-section.preview_mode .directorist-footer-wrap .cptm-btn:hover - .cptm-save-icon, -.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn:hover:after, -.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn:hover:before { + .cptm-save-icon { + opacity: 1; + visibility: visible; +} +.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn:hover:before, +.cptm-section.preview_mode .directorist-footer-wrap .cptm-btn:hover:after { opacity: 1; visibility: visible; } @@ -17253,10 +37828,11 @@ input:-webkit-autofill:hover { .cptm-section.listings_card_grid_view .cptm-form-field-wrapper, .cptm-section.listings_card_list_view .cptm-form-field-wrapper { max-width: 658px; + margin: 0 auto; padding: 24px; - margin: 0 auto 32px; + margin-bottom: 32px; border-radius: 0 0 8px 8px; - background: #fff; + background: #ffffff; border: 1px solid #e5e7eb; -webkit-box-sizing: border-box; box-sizing: border-box; @@ -17497,7 +38073,7 @@ input:-webkit-autofill:hover { position: relative; height: unset; padding: 8px 40px 8px 26px; - background: #fff; + background: #ffffff; border-radius: 4px; border: 1px solid #e5e7eb; -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); @@ -17521,8 +38097,8 @@ input:-webkit-autofill:hover { border: 2px solid #a1a9b2; -webkit-box-sizing: border-box; box-sizing: border-box; - -webkit-transition: border 0.3s ease; - transition: border 0.3s ease; + -webkit-transition: border ease 0.3s; + transition: border ease 0.3s; } .cptm-section.listings_card_grid_view .cptm-form-group-tab-list @@ -17646,6 +38222,7 @@ input:-webkit-autofill:hover { .cptm-section:last-child { margin-bottom: 0; } + .cptm-form-builder { display: -webkit-box; display: -webkit-flex; @@ -17706,6 +38283,7 @@ input:-webkit-autofill:hover { padding-bottom: 0; } } + .cptm-form-builder-sidebar { width: 100%; max-width: 372px; @@ -17730,6 +38308,7 @@ input:-webkit-autofill:hover { -webkit-box-sizing: border-box; box-sizing: border-box; } + .cptm-form-builder-content { height: auto; -webkit-box-flex: 1; @@ -17753,6 +38332,7 @@ input:-webkit-autofill:hover { min-height: calc(100vh - 225px); } } + .cptm-form-builder-action { display: -webkit-box; display: -webkit-flex; @@ -17767,14 +38347,16 @@ input:-webkit-autofill:hover { -ms-flex-align: center; align-items: center; padding: 18px 24px; - background: #fff; + background: #ffffff; } + .cptm-form-builder-action-title { font-size: 16px; line-height: 24px; font-weight: 500; color: #141921; } + .cptm-form-builder-action-btn { display: -webkit-box; display: -webkit-flex; @@ -17796,6 +38378,7 @@ input:-webkit-autofill:hover { border: 1px solid #d2d6db; border-radius: 4px; } + .cptm-elements-settings .cptm-form-builder-action-btn.directorist-row-tooltip[data-tooltip]:after, .cptm-form-builder-sidebar @@ -17807,9 +38390,11 @@ input:-webkit-autofill:hover { -webkit-box-sizing: border-box; box-sizing: border-box; } + .cptm-form-builder-preset-fields:not(:last-child) { margin-bottom: 40px; } + .cptm-form-builder-preset-fields-header-action-link { display: -webkit-box; display: -webkit-flex; @@ -17827,6 +38412,7 @@ input:-webkit-autofill:hover { -webkit-box-shadow: none; box-shadow: none; } + .cptm-form-builder-preset-fields-header-action-text { -webkit-box-flex: 1; -webkit-flex: 1; @@ -17836,9 +38422,11 @@ input:-webkit-autofill:hover { font-weight: 600; color: #4d5761; } + .cptm-form-builder-preset-fields-header-action-link { color: #747c89; } + .cptm-title-3 { margin: 0; color: #272b41; @@ -17849,11 +38437,13 @@ input:-webkit-autofill:hover { font-weight: 500; font-size: 18px; } + .cptm-description-text { margin: 5px 0 20px; color: #5a5f7d; font-size: 15px; } + .cptm-form-builder-active-fields { display: block; height: 100%; @@ -17921,11 +38511,13 @@ input:-webkit-autofill:hover { background: #3e62f5; color: #fff; } + .cptm-form-builder-active-fields-container { position: relative; margin: 0; z-index: 1; } + .cptm-form-builder-active-fields-footer { text-align: right; } @@ -17947,7 +38539,8 @@ input:-webkit-autofill:hover { gap: 8px; height: 40px; color: #3e62f5; - background: #fff; + background: #ffffff; + border: 0 none; margin: 16px 0 0; font-size: 14px; font-weight: 600; @@ -17959,11 +38552,13 @@ input:-webkit-autofill:hover { .cptm-form-builder-active-fields-footer .cptm-btn span { font-size: 16px; } + .cptm-form-builder-active-fields-group { position: relative; margin-bottom: 6px; padding-bottom: 0; } + .cptm-form-builder-group-header-section { position: relative; } @@ -18049,27 +38644,34 @@ input:-webkit-autofill:hover { .directorist-form-fields-area { padding: 24px; } + .cptm-form-builder-group-header { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; border-radius: 6px; - background-color: #fff; + background-color: #ffffff; border: 1px solid #e5e7eb; overflow: hidden; - -webkit-transition: border-radius 1s ease; - transition: border-radius 1s ease; + -webkit-transition: border-radius ease 1s; + transition: border-radius ease 1s; } -.cptm-form-builder-group-header, + .cptm-form-builder-group-header-content { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + gap: 8px; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -} -.cptm-form-builder-group-header-content { - gap: 8px; -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; @@ -18078,23 +38680,28 @@ input:-webkit-autofill:hover { -webkit-box-sizing: border-box; box-sizing: border-box; } + div[draggable="true"].cptm-form-builder-group-header-content { cursor: move; } + .cptm-form-builder-group-header-content__dropable-wrapper { -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; flex-grow: 1; } + .cptm-no-wrap { -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; } + .cptm-card-top-area { max-width: 450px; - margin: 0 auto 10px; + margin: 0 auto; + margin-bottom: 10px; } .cptm-card-top-area > .form-group .cptm-form-control { background: none; @@ -18107,16 +38714,18 @@ div[draggable="true"].cptm-form-builder-group-header-content { .cptm-card-top-area > .form-group .cptm-template-type-wrapper:before { content: "\f110"; position: absolute; - font-family: LineAwesome; + font-family: "LineAwesome"; left: 20px; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); pointer-events: none; } + .cptm-form-builder-group-header-content__dropable-placeholder { margin-left: 15px; } + .cptm-form-builder-header-actions { display: -webkit-box; display: -webkit-flex; @@ -18128,6 +38737,7 @@ div[draggable="true"].cptm-form-builder-group-header-content { align-items: center; gap: 8px; } + .cptm-form-builder-group-actions-dropdown-content.expanded { position: absolute; width: 200px; @@ -18147,7 +38757,7 @@ div[draggable="true"].cptm-form-builder-group-header-content { -ms-flex-align: center; align-items: center; color: #d94a4a; - background: #fff; + background: #ffffff; padding: 10px 15px; width: 100%; height: 50px; @@ -18160,13 +38770,13 @@ div[draggable="true"].cptm-form-builder-group-header-content { -webkit-box-shadow: 0 12px 16px rgba(16, 24, 40, 0.08); box-shadow: 0 12px 16px rgba(16, 24, 40, 0.08); -webkit-transition: - background 0.3s ease, - color 0.3s ease, - border-color 0.3s ease; + background ease 0.3s, + color ease 0.3s, + border-color ease 0.3s; transition: - background 0.3s ease, - color 0.3s ease, - border-color 0.3s ease; + background ease 0.3s, + color ease 0.3s, + border-color ease 0.3s; } .cptm-form-builder-group-actions-dropdown-content.expanded .cptm-form-builder-field-item-action-link @@ -18175,15 +38785,17 @@ div[draggable="true"].cptm-form-builder-group-header-content { } .cptm-form-builder-group-actions-dropdown-content.expanded .cptm-form-builder-field-item-action-link:hover { - color: #fff; + color: #ffffff; background: #d94a4a; border-color: #d94a4a; } + .cptm-form-builder-group-actions { display: block; min-width: 34px; margin-right: 15px; } + .cptm-form-builder-group-title { display: -webkit-box; display: -webkit-flex; @@ -18208,6 +38820,7 @@ div[draggable="true"].cptm-form-builder-group-header-content { font-size: 13px; } } + .cptm-form-builder-group-title-icon { display: -webkit-box; display: -webkit-flex; @@ -18239,6 +38852,7 @@ div[draggable="true"].cptm-form-builder-group-header-content { font-size: 18px; } } + .cptm-form-builder-group-options { background-color: #fff; padding: 20px; @@ -18260,8 +38874,8 @@ div[draggable="true"].cptm-form-builder-group-header-content { box-shadow: none; color: #2e94fa; text-decoration: underline; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; cursor: pointer; } .cptm-form-builder-group-options .directorist-form-fields-advanced:hover { @@ -18284,6 +38898,7 @@ div[draggable="true"].cptm-form-builder-group-header-content { margin-top: -7px; cursor: pointer; } + .cptm-form-builder-group-fields { display: block; position: relative; @@ -18295,13 +38910,14 @@ div[draggable="true"].cptm-form-builder-group-header-content { -webkit-box-shadow: 0 4px 8px rgba(16, 24, 40, 0.08); box-shadow: 0 4px 8px rgba(16, 24, 40, 0.08); } + .icon-picker-selector { margin: 0; padding: 3px 16px 3px 4px; border: 1px solid #d2d6db; border-radius: 8px; - -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); - box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); + -webkit-box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05); + box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05); } .icon-picker-selector .icon-picker-selector__icon { display: -webkit-box; @@ -18353,12 +38969,13 @@ div[draggable="true"].cptm-form-builder-group-header-content { color: #2c3239; border-radius: 6px; background-color: #e5e7eb; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } .icon-picker-selector .icon-picker-selector__btn:hover { background-color: #e3e6e9; } + .cptm-restricted-area { position: absolute; top: 0; @@ -18380,13 +38997,22 @@ div[draggable="true"].cptm-form-builder-group-header-content { align-items: center; padding: 10px; text-align: center; - background: hsla(0, 0%, 100%, 0.8); + background: rgba(255, 255, 255, 0.8); } + .cptm-form-builder-group-field-item { margin-bottom: 8px; position: relative; } .cptm-form-builder-group-field-item .cptm-form-builder-group-field-item-drag { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; @@ -18399,21 +39025,17 @@ div[draggable="true"].cptm-form-builder-group-header-content { border-radius: 0 6px 6px 0; cursor: move; } -.cptm-form-builder-group-field-item .cptm-form-builder-group-field-item-drag, .cptm-form-builder-group-field-item .cptm-form-builder-group-field-item-header-content { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + gap: 8px; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -} -.cptm-form-builder-group-field-item - .cptm-form-builder-group-field-item-header-content { - gap: 8px; -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; @@ -18430,6 +39052,7 @@ div[draggable="true"].cptm-form-builder-group-header-content { border-color: #3e62f5; border-bottom: none; } + .cptm-form-builder-group-field-item-actions { display: block; position: absolute; @@ -18437,6 +39060,7 @@ div[draggable="true"].cptm-form-builder-group-header-content { -webkit-transform: translate(-34px, 7px); transform: translate(-34px, 7px); } + .cptm-form-builder-group-field-item-action-link { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -18457,18 +39081,23 @@ div[draggable="true"].cptm-form-builder-group-header-content { height: 34px; text-align: center; color: #868eae; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } + .action-trash:hover { color: #e62626; background-color: rgba(255, 0, 0, 0.15); +} + +.action-trash:hover { background-color: #d7d7d7; } .action-trash:hover:hover { color: #e62626; background-color: rgba(255, 0, 0, 0.15); } + .cptm-form-builder-header-action-link { display: -webkit-box; display: -webkit-flex; @@ -18489,12 +39118,12 @@ div[draggable="true"].cptm-form-builder-group-header-content { border: 1px solid #e5e7eb; border-radius: 6px; outline: none; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } -.cptm-form-builder-header-action-link:active, +.cptm-form-builder-header-action-link:hover, .cptm-form-builder-header-action-link:focus, -.cptm-form-builder-header-action-link:hover { +.cptm-form-builder-header-action-link:active { color: #141921; background-color: #f3f4f6; border-color: #e5e7eb; @@ -18512,6 +39141,7 @@ div[draggable="true"].cptm-form-builder-group-header-content { color: #a1a9b2; pointer-events: none; } + .cptm-form-builder-header-toggle-link { display: -webkit-box; display: -webkit-flex; @@ -18533,8 +39163,8 @@ div[draggable="true"].cptm-form-builder-group-header-content { -webkit-box-shadow: none !important; box-shadow: none !important; outline: none !important; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } @media only screen and (max-width: 480px) { .cptm-form-builder-header-toggle-link { @@ -18550,23 +39180,29 @@ div[draggable="true"].cptm-form-builder-group-header-content { opacity: 0.5; pointer-events: none; } + .action-collapse-up span { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; -webkit-transform: rotate(0); transform: rotate(0); } -.action-collapse-down span, -.action-collapse-up span { + +.action-collapse-down span { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; -} -.action-collapse-down span { + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; -webkit-transform: rotate(-180deg); transform: rotate(-180deg); } + .cptm-form-builder-group-field-item-header { display: -webkit-box; display: -webkit-flex; @@ -18578,8 +39214,8 @@ div[draggable="true"].cptm-form-builder-group-header-content { align-items: center; border-radius: 6px; border: 1px solid #e5e7eb; - -webkit-transition: border-radius 1s ease; - transition: border-radius 1s ease; + -webkit-transition: border-radius ease 1s; + transition: border-radius ease 1s; } .cptm-form-builder-group-field-item-header .cptm-form-builder-group-field-item-title { @@ -18587,14 +39223,21 @@ div[draggable="true"].cptm-form-builder-group-header-content { -webkit-flex: 1; -ms-flex: 1; flex: 1; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; font-size: 14px; line-height: 16px; font-weight: 500; color: #141921; margin: 0; } -.cptm-form-builder-group-field-item-header - .cptm-form-builder-group-field-item-title, .cptm-form-builder-group-field-item-header .cptm-form-builder-group-field-item-title .cptm-form-builder-group-field-item-label { @@ -18677,7 +39320,7 @@ div[draggable="true"].cptm-form-builder-group-header-content { min-width: 180px; max-width: 180px; text-align: center; - color: #fff; + color: #ffffff; font-size: 13px; font-weight: 500; padding: 10px 12px; @@ -18713,10 +39356,10 @@ div[draggable="true"].cptm-form-builder-group-header-content { } .cptm-form-builder-group-field-item-header .cptm-form-builder-group-field-item-title - .cptm-title-info-tooltip:hover:after, + .cptm-title-info-tooltip:hover:before, .cptm-form-builder-group-field-item-header .cptm-form-builder-group-field-item-title - .cptm-title-info-tooltip:hover:before { + .cptm-title-info-tooltip:hover:after { opacity: 1; visibility: visible; z-index: 1; @@ -18763,12 +39406,14 @@ div[draggable="true"].cptm-form-builder-group-header-content { -webkit-box-shadow: none; box-shadow: none; } + .cptm-form-builder-group-field-item-body { padding: 24px; border: 1.5px solid #3e62f5; border-top-width: 1px; border-radius: 0 0 6px 6px; } + .cptm-form-builder-group-item-drag { display: -webkit-box; display: -webkit-flex; @@ -18802,6 +39447,7 @@ div[draggable="true"].cptm-form-builder-group-header-content { font-size: 18px; } } + .cptm-form-builder-field-list { padding: 0; margin: 0; @@ -18817,10 +39463,15 @@ div[draggable="true"].cptm-form-builder-group-header-content { .cptm-form-builder-field-list .directorist-draggable-list-item { position: unset; } + .cptm-form-builder-field-list-item { width: calc(50% - 4px); padding: 12px; margin: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; @@ -18829,15 +39480,14 @@ div[draggable="true"].cptm-form-builder-group-header-content { -ms-flex-wrap: wrap; flex-wrap: wrap; list-style: none; - background-color: #fff; + background-color: #ffffff; border: 1px solid #d2d6db; border-radius: 4px; -webkit-box-sizing: border-box; box-sizing: border-box; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } -.cptm-form-builder-field-list-item, .cptm-form-builder-field-list-item .directorist-draggable-list-item-slot { display: -webkit-box; display: -webkit-flex; @@ -18860,9 +39510,11 @@ div[draggable="true"].cptm-form-builder-group-header-content { width: calc(100% - 6px); } } + li[class="cptm-form-builder-field-list-item"][draggable="true"] { cursor: move; } + .cptm-form-builder-field-list-item { position: relative; } @@ -18875,6 +39527,7 @@ li[class="cptm-form-builder-field-list-item"][draggable="true"] { line-height: 12px; color: #f80718; } + .cptm-form-builder-field-list-icon { display: inline-block; margin-left: 8px; @@ -18883,17 +39536,20 @@ li[class="cptm-form-builder-field-list-item"][draggable="true"] { font-size: 20px; color: #141921; } + .cptm-form-builder-field-list-item-icon { font-size: 14px; margin-left: 1px; } -.cptm-form-builder-field-list-item-label, -.cptm-form-builder-field-list-label { + +.cptm-form-builder-field-list-label, +.cptm-form-builder-field-list-item-label { display: inline-block; font-size: 13px; font-weight: 500; color: #141921; } + .cptm-option-card--draggable .cptm-form-builder-field-list { display: -webkit-box; display: -webkit-flex; @@ -18952,10 +39608,10 @@ li[class="cptm-form-builder-field-list-item"][draggable="true"] { } .cptm-option-card--draggable .cptm-form-builder-field-list - .cptm-form-builder-field-list-item-action, + .cptm-form-builder-field-list-item-edit, .cptm-option-card--draggable .cptm-form-builder-field-list - .cptm-form-builder-field-list-item-edit { + .cptm-form-builder-field-list-item-action { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -18971,21 +39627,21 @@ li[class="cptm-form-builder-field-list-item"][draggable="true"] { color: #747c89; border-radius: 6px; cursor: pointer; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .cptm-option-card--draggable .cptm-form-builder-field-list - .cptm-form-builder-field-list-item-action.active, + .cptm-form-builder-field-list-item-edit.active, .cptm-option-card--draggable .cptm-form-builder-field-list - .cptm-form-builder-field-list-item-action:hover, + .cptm-form-builder-field-list-item-edit:hover, .cptm-option-card--draggable .cptm-form-builder-field-list - .cptm-form-builder-field-list-item-edit.active, + .cptm-form-builder-field-list-item-action.active, .cptm-option-card--draggable .cptm-form-builder-field-list - .cptm-form-builder-field-list-item-edit:hover { + .cptm-form-builder-field-list-item-action:hover { color: #0e3bf2; } .cptm-option-card--draggable @@ -18996,7 +39652,7 @@ li[class="cptm-form-builder-field-list-item"][draggable="true"] { .cptm-option-card--draggable .cptm-form-builder-field-list .cptm-widget-options-container { - padding: 15px 0 22px; + padding: 15px 0 22px 0; } .cptm-option-card--draggable .cptm-form-builder-field-list @@ -19099,9 +39755,11 @@ li[class="cptm-form-builder-field-list-item"][draggable="true"] { .cptm-widget-options-container { padding-right: 25px; } + .cptm-info-text-area { margin-bottom: 10px; } + .cptm-info-text { display: -webkit-box; display: -webkit-flex; @@ -19121,22 +39779,25 @@ li[class="cptm-form-builder-field-list-item"][draggable="true"] { border-radius: 4px; background: #daeeff; } + .cptm-info-success { color: #00b158; } + .cptm-mb-0 { margin-bottom: 0 !important; } + .cptm-item-footer-drop-area { position: absolute; right: 0; bottom: 0; width: 100%; height: 20px; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; - -webkit-transform: translateY(100%); - transform: translateY(100%); + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + -webkit-transform: translate(0, 100%); + transform: translate(0, 100%); z-index: 5; } .cptm-item-footer-drop-area.drag-enter { @@ -19145,18 +39806,20 @@ li[class="cptm-form-builder-field-list-item"][draggable="true"] { .cptm-item-footer-drop-area.cptm-group-item-drop-area { height: 40px; } + .cptm-form-builder-group-field-item-drop-area { height: 20px; position: absolute; bottom: -20px; z-index: 5; width: 100%; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .cptm-form-builder-group-field-item-drop-area.drag-enter { background-color: rgba(23, 135, 255, 0.3); } + .cptm-checkbox-area, .cptm-options-area { display: -webkit-box; @@ -19172,9 +39835,11 @@ li[class="cptm-form-builder-field-list-item"][draggable="true"] { left: 0; right: 0; } + .cptm-checkbox-area .cptm-checkbox-item:not(:last-child) { margin-bottom: 10px; } + @media (max-width: 1300px) { .cptm-checkbox-area, .cptm-options-area { @@ -19183,17 +39848,18 @@ li[class="cptm-form-builder-field-list-item"][draggable="true"] { } .cptm-checkbox-item, .cptm-radio-item { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; margin-left: 20px; } -.cptm-checkbox-item, -.cptm-radio-item, + .cptm-tab-area { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -} -.cptm-tab-area { -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; @@ -19215,18 +39881,20 @@ li[class="cptm-form-builder-field-list-item"][draggable="true"] { color: #747c89; background: #e5e7eb; cursor: pointer; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .cptm-tab-area .cptm-tab-item label:hover { color: #fff; background-color: #3e62f5; } + @media screen and (max-width: 782px) { .enable_schema_markup .atbdp-label-icon-wrapper { margin-bottom: 15px !important; } } + .cptm-schema-tab-area { display: -webkit-box; display: -webkit-flex; @@ -19268,8 +39936,8 @@ li[class="cptm-form-builder-field-list-item"][draggable="true"] { background-color: #3e62f5 !important; border-color: #3e62f5 !important; } -.cptm-schema-tab-wrapper input[type="radio"]:checked:before { - background-color: #fff !important; +.cptm-schema-tab-wrapper input[type="radio"]:checked::before { + background-color: white !important; } .cptm-schema-tab-item { display: -webkit-box; @@ -19285,8 +39953,8 @@ li[class="cptm-form-builder-field-list-item"][draggable="true"] { border-radius: 8px; border: 1px solid rgba(0, 17, 102, 0.1); background-color: #fff; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } @media screen and (max-width: 782px) { .cptm-schema-tab-item { @@ -19305,7 +39973,7 @@ li[class="cptm-form-builder-field-list-item"][draggable="true"] { .cptm-schema-tab-item input[type="radio"]:checked:before { width: 0.5rem; height: 0.5rem; - margin: 3px; + margin: 3px 3px; line-height: 1.14285714; } } @@ -19337,28 +40005,29 @@ li[class="cptm-form-builder-field-list-item"][draggable="true"] { line-height: 20px; cursor: pointer; margin: 0 !important; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .cptm-schema .cptm-schema-label { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 6px; -} -.cptm-schema-label-badge, -.cptm-schema .cptm-schema-label { -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; + gap: 6px; } .cptm-schema-label-badge { display: none; height: 20px; - padding: 0 8px; + padding: 0px 8px; border-radius: 4px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; background-color: #e3ecf2; color: rgba(0, 8, 51, 0.65); font-size: 12px; @@ -19375,19 +40044,19 @@ li[class="cptm-form-builder-field-list-item"][draggable="true"] { line-height: 18px; margin-top: 2px; } + #listing_settings__listings_page .cptm-checkbox-item:not(:last-child) { margin-bottom: 10px; } + input[type="checkbox"].cptm-checkbox { display: none; } input[type="checkbox"].cptm-checkbox:checked + .cptm-checkbox-ui { color: #3e62f5; } -input[type="checkbox"].cptm-checkbox:checked + .cptm-checkbox-ui:before { - font-family: - Font Awesome\5 Free, - Font Awesome\5 Brands; +input[type="checkbox"].cptm-checkbox:checked + .cptm-checkbox-ui::before { + font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands"; font-weight: 900; color: #fff; content: "\f00c"; @@ -19398,9 +40067,11 @@ input[type="checkbox"].cptm-checkbox:checked + .cptm-checkbox-ui:after { border-color: #00b158; z-index: -1; } + input[type="radio"].cptm-radio { margin-top: 1px; } + .cptm-form-range-wrap { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -19423,6 +40094,7 @@ input[type="radio"].cptm-radio { padding: 10px 20px; background-color: #fff; } + .cptm-checkbox-ui { display: inline-block; min-width: 16px; @@ -19430,7 +40102,7 @@ input[type="radio"].cptm-radio { z-index: 1; margin-left: 12px; } -.cptm-checkbox-ui:before { +.cptm-checkbox-ui::before { font-size: 10px; line-height: 1; font-weight: 900; @@ -19447,11 +40119,13 @@ input[type="radio"].cptm-radio { border: 1px solid #c6d0dc; content: ""; } + .cptm-vh { overflow: hidden; overflow-y: auto; max-height: 100vh; } + .cptm-thumbnail { max-width: 350px; width: 100%; @@ -19472,6 +40146,7 @@ input[type="radio"].cptm-radio { width: 100%; height: auto; } + .cptm-thumbnail-placeholder { display: -webkit-box; display: -webkit-flex; @@ -19486,6 +40161,7 @@ input[type="radio"].cptm-radio { -ms-flex-pack: center; justify-content: center; } + .cptm-thumbnail-placeholder-icon { font-size: 40px; color: #d2d6db; @@ -19494,9 +40170,11 @@ input[type="radio"].cptm-radio { width: 40px; height: 40px; } + .cptm-thumbnail-img-wrap { position: relative; } + .cptm-thumbnail-action { display: inline-block; position: absolute; @@ -19507,9 +40185,10 @@ input[type="radio"].cptm-radio { border-radius: 50%; margin: 10px; cursor: pointer; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } + .cptm-sub-navigation { display: -webkit-box; display: -webkit-flex; @@ -19542,13 +40221,26 @@ input[type="radio"].cptm-radio { padding: 10px; } } + .cptm-sub-nav__item { list-style: none; margin: 0; } + .cptm-sub-nav__item-link { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; gap: 7px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; text-decoration: none; + height: 32px; + padding: 0 10px; + color: #4d5761; font-size: 14px; line-height: 14px; font-weight: 500; @@ -19556,8 +40248,10 @@ input[type="radio"].cptm-radio { -webkit-transition: 0.3s ease; transition: 0.3s ease; } -.cptm-sub-nav__item-link, .cptm-sub-nav__item-link .cptm-sub-nav__item-tooltip { + padding: 0 10px; + margin-left: -10px; + height: 32px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -19566,17 +40260,12 @@ input[type="radio"].cptm-radio { -webkit-align-items: center; -ms-flex-align: center; align-items: center; - height: 32px; - padding: 0 10px; - color: #4d5761; -} -.cptm-sub-nav__item-link .cptm-sub-nav__item-tooltip { - margin-left: -10px; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; background: transparent; + color: #4d5761; border-radius: 4px 0 0 4px; } .cptm-sub-nav__item-link .cptm-sub-nav__item-tooltip svg path { @@ -19606,16 +40295,19 @@ input[type="radio"].cptm-radio { } .cptm-sub-nav__item-link.active { color: #141921; - background: #fff; + background: #ffffff; +} +.cptm-sub-nav__item-link.active .cptm-sub-nav__item-icon svg path { + stroke: #141921; } -.cptm-sub-nav__item-link.active .cptm-sub-nav__item-icon svg path, .cptm-sub-nav__item-link.active .cptm-sub-nav__item-tooltip svg path { stroke: #141921; } .cptm-sub-nav__item-link:hover:not(.active) { color: #141921; - background: #fff; + background: #ffffff; } + .cptm-builder-section { display: -webkit-box; display: -webkit-flex; @@ -19635,10 +40327,12 @@ input[type="radio"].cptm-radio { flex-direction: column; } } + .cptm-options-area { width: 320px; margin: 0; } + .cptm-option-card { display: none; opacity: 0; @@ -19647,17 +40341,17 @@ input[type="radio"].cptm-radio { text-align: right; -webkit-transform-origin: center; transform-origin: center; - background: #fff; + background: #ffffff; border-radius: 4px; -webkit-box-shadow: 0 8px 16px 0 rgba(16, 24, 40, 0.1); box-shadow: 0 8px 16px 0 rgba(16, 24, 40, 0.1); - -webkit-transition: all 0.3s linear; - transition: all 0.3s linear; + -webkit-transition: all linear 300ms; + transition: all linear 300ms; pointer-events: none; } .cptm-option-card:before { content: ""; - border-bottom: 7px solid #fff; + border-bottom: 7px solid #ffffff; border-right: 7px solid transparent; border-left: 7px solid transparent; position: absolute; @@ -19669,8 +40363,8 @@ input[type="radio"].cptm-radio { transform: rotate3d(0, -1, 0, -45deg); } .cptm-option-card.cptm-animation-slide-up { - -webkit-transform: translateY(30px); - transform: translateY(30px); + -webkit-transform: translate(0, 30px); + transform: translate(0, 30px); } .cptm-option-card.active { display: block; @@ -19682,9 +40376,10 @@ input[type="radio"].cptm-radio { transform: rotate3d(0, 0, 0, 0deg); } .cptm-option-card.active.cptm-animation-slide-up { - -webkit-transform: translate(0); - transform: translate(0); + -webkit-transform: translate(0, 0); + transform: translate(0, 0); } + .cptm-anchor-down { display: block; text-align: center; @@ -19700,21 +40395,24 @@ input[type="radio"].cptm-radio { border-left: 15px solid transparent; border-top: 15px solid #fff; } + .cptm-header-action-link { display: inline-block; padding: 0 10px; text-decoration: none; color: #2c3239; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .cptm-header-action-link:hover { color: #1890ff; } + .cptm-option-card-header { padding: 8px 16px; border-bottom: 1px solid #e5e7eb; } + .cptm-option-card-header-title-section { display: -webkit-box; display: -webkit-flex; @@ -19726,6 +40424,7 @@ input[type="radio"].cptm-radio { -ms-flex-align: center; align-items: center; } + .cptm-option-card-header-title { -webkit-box-flex: 1; -webkit-flex-grow: 1; @@ -19738,6 +40437,7 @@ input[type="radio"].cptm-radio { line-height: 24px; color: #141921; } + .cptm-header-action-area { display: -webkit-box; display: -webkit-flex; @@ -19753,9 +40453,11 @@ input[type="radio"].cptm-radio { -ms-flex-align: center; align-items: center; } + .cptm-option-card-header-nav-section { display: block; } + .cptm-option-card-header-nav { display: -webkit-box; display: -webkit-flex; @@ -19767,8 +40469,9 @@ input[type="radio"].cptm-radio { flex-wrap: wrap; padding: 0; margin: 0; - background-color: hsla(0, 0%, 100%, 0.15); + background-color: rgba(255, 255, 255, 0.15); } + .cptm-option-card-header-nav-item { display: block; -webkit-box-flex: 1; @@ -19779,12 +40482,13 @@ input[type="radio"].cptm-radio { padding: 8px 10px; cursor: pointer; margin-bottom: 0; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .cptm-option-card-header-nav-item.active { - background-color: hsla(0, 0%, 100%, 0.15); + background-color: rgba(255, 255, 255, 0.15); } + .cptm-option-card-body { padding: 16px; max-height: 500px; @@ -19831,16 +40535,19 @@ input[type="radio"].cptm-radio { .cptm-option-card-body .directorist-type-icon-select { margin-bottom: 20px; } -.cptm-option-card-body .directorist-type-icon-select .icon-picker-selector, -.cptm-widget-actions, -.cptm-widget-actions-area { +.cptm-option-card-body .directorist-type-icon-select .icon-picker-selector { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } + .cptm-widget-actions, .cptm-widget-actions-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; gap: 4px; -webkit-box-align: center; -webkit-align-items: center; @@ -19856,14 +40563,16 @@ input[type="radio"].cptm-radio { right: 50%; -webkit-transform: translate(50%, 3px); transform: translate(50%, 3px); - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 0.3s; + transition: all ease-in-out 0.3s; z-index: 1; } + .cptm-widget-actions-wrap { position: relative; width: 100%; } + .cptm-widget-action-modal-container { position: absolute; right: 50%; @@ -19892,11 +40601,13 @@ input[type="radio"].cptm-radio { max-width: 250px; } } + .cptm-widget-insert-modal-container .cptm-option-card:before { left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%); } + .cptm-widget-option-modal-container .cptm-option-card:before { left: unset; right: 50%; @@ -19923,19 +40634,17 @@ input[type="radio"].cptm-radio { -webkit-box-shadow: none; box-shadow: none; } -.cptm-widget-option-modal-container .cptm-option-card-header-title, -.cptm-widget-option-modal-container .cptm-option-card-header-title-section { +.cptm-widget-option-modal-container .cptm-option-card-header-title-section, +.cptm-widget-option-modal-container .cptm-option-card-header-title { color: #2c3239; } + .cptm-widget-actions-area { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; gap: 4px; -} -.cptm-widget-action-link, -.cptm-widget-actions-area { -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; @@ -19945,11 +40654,20 @@ input[type="radio"].cptm-radio { -ms-flex-pack: center; justify-content: center; } + .cptm-widget-action-link { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; width: 28px; height: 28px; border-radius: 50%; @@ -19961,8 +40679,8 @@ input[type="radio"].cptm-radio { color: #3e62f5; -webkit-box-sizing: border-box; box-sizing: border-box; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .cptm-widget-action-link:focus { outline: none; @@ -19976,27 +40694,30 @@ input[type="radio"].cptm-radio { .cptm-widget-action-link:hover svg path { fill: #fff; } + .cptm-widget-card-drop-prepend { border-radius: 8px; } + .cptm-widget-card-drop-append { display: block; width: 100%; height: 0; border-radius: 8px; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; background-color: transparent; border: 1px dashed transparent; } .cptm-widget-card-drop-append.dropable { margin: 3px 0; height: 10px; - border-color: #6495ed; + border-color: cornflowerblue; } .cptm-widget-card-drop-append.drag-enter { - background-color: #6495ed; + background-color: cornflowerblue; } + .cptm-widget-card-wrap { visibility: visible; } @@ -20116,18 +40837,19 @@ input[type="radio"].cptm-radio { height: 20px; font-size: 14px; color: #d94a4a; - background: #fff; + background: #ffffff; border: 1px solid #d94a4a; border-radius: 50%; cursor: pointer; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .cptm-widget-card-wrap.cptm-widget-title-card-wrap .cptm-widget-badge-trash:hover { - color: #fff; + color: #ffffff; background: #d94a4a; } + .cptm-widget-card-inline-wrap { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -20145,6 +40867,7 @@ input[type="radio"].cptm-radio { width: 10px; max-width: 10px; } + .cptm-widget-badge { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -20159,14 +40882,14 @@ input[type="radio"].cptm-radio { border-radius: 5px; font-size: 12px; font-weight: 400; - background-color: #fff; + background-color: #ffffff; -webkit-transition: 0.3s ease; transition: 0.3s ease; position: relative; height: 32px; padding: 0 10px; border-radius: 4px; - background: #fff; + background: #ffffff; border: 1px solid #e5e7eb; -webkit-box-sizing: border-box; box-sizing: border-box; @@ -20202,8 +40925,8 @@ input[type="radio"].cptm-radio { .cptm-widget-badge .cptm-widget-badge-trash { margin-right: 4px; cursor: pointer; - -webkit-transition: color 0.3s ease; - transition: color 0.3s ease; + -webkit-transition: color ease 0.3s; + transition: color ease 0.3s; } .cptm-widget-badge .cptm-widget-badge-trash:hover { color: #3e62f5; @@ -20230,12 +40953,14 @@ input[type="radio"].cptm-radio { .cptm-widget-badge.cptm-widget-badge--icon .cptm-widget-badge-icon { font-size: 12px; } + .cptm-preview-area { -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; flex-grow: 1; } + .cptm-preview-wrapper { display: -webkit-box !important; display: -webkit-flex !important; @@ -20270,6 +40995,7 @@ input[type="radio"].cptm-radio { .cptm-preview-wrapper .cptm-preview-area-archive img { max-height: 100px; } + .cptm-preview-notice { display: -webkit-box; display: -webkit-flex; @@ -20342,10 +41068,10 @@ input[type="radio"].cptm-radio { font-weight: 500; border-radius: 8px; color: #747c89; - background: #fff; + background: #ffffff; border: 1px solid #d2d6db; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } .cptm-preview-notice .cptm-preview-notice-action @@ -20360,6 +41086,7 @@ input[type="radio"].cptm-radio { path { fill: #3e62f5; } + .cptm-widget-thumb .cptm-widget-thumb-icon { display: -webkit-box; display: -webkit-flex; @@ -20376,6 +41103,7 @@ input[type="radio"].cptm-radio { font-weight: 400; color: #141921; } + .cptm-placeholder-block-wrapper { display: -webkit-box; display: -webkit-flex; @@ -20529,14 +41257,14 @@ input[type="radio"].cptm-radio { margin-right: 8px; } .cptm-placeholder-block-wrapper - .cptm-listing-card-preview-rating-placeholder + .cptm-listing-card-preview-tagline-placeholder .cptm-placeholder-label, .cptm-placeholder-block-wrapper - .cptm-listing-card-preview-tagline-placeholder + .cptm-listing-card-preview-rating-placeholder .cptm-placeholder-label { right: 12px; - -webkit-transform: translateY(-50%); - transform: translateY(-50%); + -webkit-transform: translate(0, -50%); + transform: translate(0, -50%); font-size: 13px; font-weight: 400; color: #4d5761; @@ -20557,25 +41285,26 @@ input[type="radio"].cptm-radio { .dndrop-draggable-wrapper.is-dragging { opacity: 0; } + .cptm-placeholder-block { position: relative; padding: 8px; background: #a1a9b2; border: 1px dashed #d2d6db; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; -webkit-box-sizing: border-box; box-sizing: border-box; border-radius: 4px; } -.cptm-placeholder-block.cptm-widget-picker-open, +.cptm-placeholder-block:hover, .cptm-placeholder-block.drag-enter, -.cptm-placeholder-block:hover { - border-color: #fff; +.cptm-placeholder-block.cptm-widget-picker-open { + border-color: rgb(255, 255, 255); } -.cptm-placeholder-block.cptm-widget-picker-open .cptm-widget-insert-area, +.cptm-placeholder-block:hover .cptm-widget-insert-area, .cptm-placeholder-block.drag-enter .cptm-widget-insert-area, -.cptm-placeholder-block:hover .cptm-widget-insert-area { +.cptm-placeholder-block.cptm-widget-picker-open .cptm-widget-insert-area { opacity: 1; visibility: visible; } @@ -20596,25 +41325,30 @@ input[type="radio"].cptm-radio { .cptm-placeholder-block.cptm-widget-picker-open { z-index: 100; } + .cptm-placeholder-label { margin: 0; text-align: center; + margin-bottom: 0; + text-align: center; position: absolute; right: 50%; top: 50%; -webkit-transform: translate(50%, -50%); transform: translate(50%, -50%); z-index: 0; - color: hsla(0, 0%, 100%, 0.4); + color: rgba(255, 255, 255, 0.4); font-size: 14px; font-weight: 500; } .cptm-placeholder-label.hide { display: none; } + .cptm-listing-card-preview-footer .cptm-placeholder-label { color: #868eae; } + .dndrop-ghost.dndrop-draggable-wrapper { display: -webkit-box; display: -webkit-flex; @@ -20657,6 +41391,7 @@ input[type="radio"].cptm-radio { -ms-flex: 1; flex: 1; } + .cptm-center-content { display: -webkit-box; display: -webkit-flex; @@ -20681,15 +41416,19 @@ input[type="radio"].cptm-radio { -ms-flex-positive: 1; flex-grow: 1; } + .cptm-mb-10 { margin-bottom: 10px !important; } + .cptm-mb-12 { margin-bottom: 12px !important; } + .cptm-mb-20 { margin-bottom: 20px !important; } + .cptm-listing-card-body-header { display: -webkit-box; display: -webkit-flex; @@ -20699,25 +41438,31 @@ input[type="radio"].cptm-radio { -ms-flex-wrap: wrap; flex-wrap: wrap; } + .cptm-align-left { text-align: right; } + .cptm-listing-card-body-header-left { -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; flex-grow: 1; } + .cptm-listing-card-body-header-right { width: 100px; margin-right: 10px; } -.cptm-card-preview-area-wrap, -.cptm-card-preview-widget { + +.cptm-card-preview-area-wrap { max-width: 450px; margin: 0 auto; } + .cptm-card-preview-widget { + max-width: 450px; + margin: 0 auto; padding: 24px; background-color: #fff; border: 1.5px solid rgba(0, 17, 102, 0.1019607843); @@ -20785,13 +41530,13 @@ input[type="radio"].cptm-radio { bottom: 100%; } .cptm-card-preview-widget.cptm-card-list-view - .cptm-card-placeholder-top-left + .cptm-card-preview-top-right .cptm-widget-option-modal-container, .cptm-card-preview-widget.cptm-card-list-view - .cptm-card-placeholder-top-right + .cptm-card-placeholder-top-left .cptm-widget-option-modal-container, .cptm-card-preview-widget.cptm-card-list-view - .cptm-card-preview-top-right + .cptm-card-placeholder-top-right .cptm-widget-option-modal-container { bottom: unset; top: 100%; @@ -20820,7 +41565,7 @@ input[type="radio"].cptm-radio { -ms-flex-align: center; align-items: center; border-radius: 4px; - background: #fff; + background: #ffffff; border: 1px solid #e5e7eb; -webkit-box-sizing: border-box; box-sizing: border-box; @@ -20926,7 +41671,7 @@ input[type="radio"].cptm-radio { height: 48px; padding: 0; margin: 0; - background-color: #fff; + background-color: #ffffff; border-radius: 50%; border: 1px dashed #d2d6db; -webkit-box-sizing: border-box; @@ -20986,7 +41731,7 @@ input[type="radio"].cptm-radio { .cptm-radio-area input[type="radio"] { margin: 0 0 0 6px; - background-color: #fff; + background-color: #ffffff; border: 2px solid #a1a9b2; } .cptm-card-preview-widget.grid-view-with-thumbnail @@ -21004,7 +41749,16 @@ input[type="radio"].cptm-radio { border: 5px solid #3e62f5; } .cptm-card-preview-widget.grid-view-without-thumbnail - .cptm-widget-preview-container, + .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} .cptm-card-preview-widget.list-view-with-thumbnail .cptm-widget-preview-container { display: -webkit-box; @@ -21017,9 +41771,9 @@ input[type="radio"].cptm-radio { flex-wrap: wrap; } .cptm-card-preview-widget.list-view-with-thumbnail - .cptm-widget-preview-card-listing_title, + .dndrop-draggable-wrapper-listing_title, .cptm-card-preview-widget.list-view-with-thumbnail - .dndrop-draggable-wrapper-listing_title { + .cptm-widget-preview-card-listing_title { width: 100%; } .cptm-card-preview-widget.list-view-with-thumbnail @@ -21063,23 +41817,28 @@ input[type="radio"].cptm-radio { left: 30px; z-index: 100; } + .cptm-field-wraper-key-single_listing_header .cptm-card-preview-area-wrap, .cptm-field-wraper-key-single_listing_header .cptm-card-preview-widget { max-width: 750px; } + .cptm-listing-card-content { -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; } + .cptm-card-preview-thumbnail { position: relative; height: 100%; } + .cptm-card-preview-thumbnail-placeholer { height: 100%; } + .cptm-card-preview-thumbnail-placeholder { height: 100%; text-align: center; @@ -21099,12 +41858,14 @@ input[type="radio"].cptm-radio { -ms-flex-align: center; align-items: center; } + .cptm-listing-card-preview-quick-info-placeholder { -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; flex-grow: 1; } + .cptm-card-preview-thumbnail-bg { position: absolute; right: 50%; @@ -21114,18 +41875,22 @@ input[type="radio"].cptm-radio { font-size: 72px; color: #7b7d8b; } + .cptm-card-preview-thumbnail-bg span { - color: hsla(0, 0%, 100%, 0.1); + color: rgba(255, 255, 255, 0.1); } + .cptm-card-preview-bottom-right-placeholder { display: block; text-align: left; } + .cptm-listing-card-preview-body { display: block; padding: 16px; position: relative; } + .cptm-listing-card-author-avatar { z-index: 1; position: absolute; @@ -21156,9 +41921,10 @@ input[type="radio"].cptm-radio { padding: 0; border-radius: 0; top: 8px; - -webkit-transform: translate(50%); - transform: translate(50%); + -webkit-transform: translate(50%, 0); + transform: translate(50%, 0); } + .cptm-placeholder-author-thumb { position: relative; display: -webkit-box; @@ -21209,27 +41975,35 @@ input[type="radio"].cptm-radio { justify-content: center; font-size: 14px; color: #d94a4a; - background: #fff; + background: #ffffff; border: 1px solid #d94a4a; border-radius: 50%; -webkit-box-sizing: border-box; box-sizing: border-box; cursor: pointer; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } .cptm-placeholder-author-thumb .cptm-placeholder-author-thumb-trash:hover { - color: #fff; + color: #ffffff; background: #d94a4a; } + .cptm-widget-title-card { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + padding: 6px 10px; + text-align: right; font-size: 16px; line-height: 22px; font-weight: 600; color: #141921; } -.cptm-widget-tagline-card, -.cptm-widget-title-card { + +.cptm-widget-tagline-card { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -21237,12 +42011,11 @@ input[type="radio"].cptm-radio { gap: 8px; padding: 6px 10px; text-align: right; -} -.cptm-widget-tagline-card { font-size: 13px; font-weight: 400; color: #4d5761; } + .cptm-has-widget-control { position: relative; } @@ -21251,6 +42024,7 @@ input[type="radio"].cptm-radio { pointer-events: all; opacity: 1; } + .cptm-form-group-row { display: -webkit-box; display: -webkit-flex; @@ -21260,6 +42034,7 @@ input[type="radio"].cptm-radio { -ms-flex-wrap: wrap; flex-wrap: wrap; } + .cptm-form-group-col { -webkit-box-flex: 1; -webkit-flex-grow: 1; @@ -21269,12 +42044,14 @@ input[type="radio"].cptm-radio { -ms-flex-preferred-size: 50%; flex-basis: 50%; } + .cptm-form-group-info { font-size: 12px; font-weight: 400; color: #747c89; margin: 0; } + .cptm-widget-actions-tools { position: absolute; width: 75px; @@ -21310,7 +42087,12 @@ input[type="radio"].cptm-radio { font-size: 12px; color: #fff; } + .cptm-widget-control-wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; visibility: hidden; opacity: 0; position: absolute; @@ -21327,23 +42109,21 @@ input[type="radio"].cptm-radio { align-items: center; top: 1px; pointer-events: none; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; z-index: 99; } -.cptm-widget-control, -.cptm-widget-control-wrap { + +.cptm-widget-control { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -} -.cptm-widget-control { padding-bottom: 10px; - -webkit-transform: translateY(-100%); - transform: translateY(-100%); + -webkit-transform: translate(0%, -100%); + transform: translate(0%, -100%); } -.cptm-widget-control:after { +.cptm-widget-control::after { content: ""; display: inline-block; margin: 0 auto; @@ -21353,8 +42133,8 @@ input[type="radio"].cptm-radio { position: absolute; bottom: 2px; right: 50%; - -webkit-transform: translate(50%); - transform: translate(50%); + -webkit-transform: translate(50%, 0); + transform: translate(50%, 0); z-index: -1; } .cptm-widget-control .cptm-widget-control-action:first-child { @@ -21365,9 +42145,11 @@ input[type="radio"].cptm-radio { border-top-left-radius: 5px; border-bottom-left-radius: 5px; } + .hide { display: none; } + .cptm-widget-control-action { display: inline-block; padding: 5px 8px; @@ -21375,18 +42157,20 @@ input[type="radio"].cptm-radio { font-size: 12px; cursor: pointer; background-color: #3e62f5; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .cptm-widget-control-action:hover { background-color: #0e3bf2; } + .cptm-card-preview-top-left { width: calc(50% - 4px); position: absolute; top: 0; right: 0; } + .cptm-card-preview-top-left-placeholder { display: block; text-align: right; @@ -21402,13 +42186,19 @@ input[type="radio"].cptm-radio { -ms-flex-align: center; align-items: center; } + .cptm-card-preview-top-right { position: absolute; left: 0; top: 0; width: calc(50% - 4px); } -.cptm-card-preview-top-right .cptm-widget-preview-area, +.cptm-card-preview-top-right .cptm-widget-preview-area { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} .cptm-card-preview-top-right .cptm-widget-preview-area .cptm-widget-preview-container { @@ -21428,10 +42218,16 @@ input[type="radio"].cptm-radio { -ms-flex-align: center; align-items: center; } + .cptm-card-preview-top-right-placeholder { text-align: left; } -.cptm-card-preview-top-right-placeholder .cptm-widget-preview-area, +.cptm-card-preview-top-right-placeholder .cptm-widget-preview-area { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} .cptm-card-preview-top-right-placeholder .cptm-widget-preview-area .cptm-widget-preview-container { @@ -21451,6 +42247,7 @@ input[type="radio"].cptm-radio { -ms-flex-align: center; align-items: center; } + .cptm-card-preview-bottom-left { position: absolute; width: calc(50% - 4px); @@ -21478,17 +42275,24 @@ input[type="radio"].cptm-radio { top: unset; bottom: -6px; } + .cptm-card-preview-bottom-left-placeholder { display: block; text-align: right; } + .cptm-card-preview-bottom-right { position: absolute; bottom: 0; left: 0; width: calc(50% - 4px); } -.cptm-card-preview-bottom-right .cptm-widget-preview-area, +.cptm-card-preview-bottom-right .cptm-widget-preview-area { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} .cptm-card-preview-bottom-right .cptm-widget-preview-area .cptm-widget-preview-container { @@ -21507,15 +42311,17 @@ input[type="radio"].cptm-radio { top: unset; bottom: -6px; border-bottom: unset; - border-top: 7px solid #fff; + border-top: 7px solid #ffffff; } -.cptm-card-preview-badges .cptm-widget-option-modal-container, -.cptm-card-preview-body .cptm-widget-option-modal-container { + +.cptm-card-preview-body .cptm-widget-option-modal-container, +.cptm-card-preview-badges .cptm-widget-option-modal-container { right: unset; -webkit-transform: unset; transform: unset; left: calc(100% + 57px); } + .grid-view-without-thumbnail .cptm-input-toggle { width: 28px; height: 16px; @@ -21525,9 +42331,9 @@ input[type="radio"].cptm-radio { height: 12px; margin: 2px; } -.grid-view-without-thumbnail .cptm-input-toggle.active:after { - -webkit-transform: translateX(calc(100% - -4px)); - transform: translateX(calc(100% - -4px)); +.grid-view-without-thumbnail .cptm-input-toggle.active::after { + -webkit-transform: translateX(calc(-1 * (-100% - 4px))); + transform: translateX(calc(-1 * (-100% - 4px))); } .grid-view-without-thumbnail .cptm-card-preview-widget-content { display: -webkit-box; @@ -21678,6 +42484,7 @@ input[type="radio"].cptm-radio { -webkit-box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05); box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05); } + .list-view-without-thumbnail .cptm-card-preview-widget-content { width: 100%; display: -webkit-box; @@ -21699,13 +42506,15 @@ input[type="radio"].cptm-radio { } } .list-view-without-thumbnail .cptm-widget-preview-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; gap: 8px; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; } -.list-view-without-thumbnail .cptm-listing-card-preview-top, -.list-view-without-thumbnail .cptm-widget-preview-container, .list-view-without-thumbnail .cptm-widget-preview-container.dndrop-container.horizontal { display: -webkit-box; @@ -21714,6 +42523,10 @@ input[type="radio"].cptm-radio { display: flex; } .list-view-without-thumbnail .cptm-listing-card-preview-top { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; gap: 8px; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; @@ -21780,6 +42593,7 @@ input[type="radio"].cptm-radio { gap: 8px; padding: 0; } + .cptm-card-placeholder-top { display: -webkit-box; display: -webkit-flex; @@ -21796,26 +42610,31 @@ input[type="radio"].cptm-radio { flex-direction: column; } } + .cptm-listing-card-preview-footer { - gap: 22px; - padding: 0 16px 24px; -} -.cptm-listing-card-preview-footer, -.cptm-listing-card-preview-footer .cptm-widget-preview-area { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + gap: 22px; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; + padding: 0 16px 24px; } .cptm-listing-card-preview-footer .cptm-widget-preview-area { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; gap: 6px; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; } .cptm-listing-card-preview-footer .cptm-widget-preview-area .cptm-widget-card { font-size: 12px; @@ -21826,7 +42645,10 @@ input[type="radio"].cptm-radio { } .cptm-listing-card-preview-footer .cptm-widget-preview-area - .cptm-widget-badge-icon, + .cptm-widget-badge-icon { + font-size: 16px; + color: #141921; +} .cptm-listing-card-preview-footer .cptm-widget-preview-area .cptm-widget-badge-trash { @@ -21844,13 +42666,21 @@ input[type="radio"].cptm-radio { .cptm-listing-card-preview-footer .cptm-placeholder-block-wrapper { height: 100%; } -.cptm-card-preview-footer-left, + +.cptm-card-preview-footer-left { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} + .cptm-card-preview-footer-right { -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; } + .cptm-listing-card-preview-body-placeholder { padding: 12px 12px 32px; min-height: 160px !important; @@ -21895,7 +42725,7 @@ input[type="radio"].cptm-radio { align-items: center; padding: 0 12px; color: #141921; - background: #fff; + background: #ffffff; height: 42px; font-size: 14px; line-height: 1.15; @@ -21904,8 +42734,8 @@ input[type="radio"].cptm-radio { border: 1px solid #e5e7eb; -webkit-box-sizing: border-box; box-sizing: border-box; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .cptm-listing-card-preview-body-placeholder .cptm-widget-preview-card.active, .cptm-listing-card-preview-body-placeholder .cptm-widget-preview-card:hover { @@ -21979,8 +42809,8 @@ input[type="radio"].cptm-radio { align-items: center; opacity: 0; visibility: hidden; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .cptm-listing-card-preview-body-placeholder .cptm-widget-preview-card @@ -22002,8 +42832,8 @@ input[type="radio"].cptm-radio { height: 32px; border-radius: 100%; cursor: pointer; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .cptm-listing-card-preview-body-placeholder .cptm-widget-preview-card @@ -22016,13 +42846,14 @@ input[type="radio"].cptm-radio { .cptm-listing-card-preview-body-placeholder .cptm-widget-preview-card .cptm-list-item-actions - .cptm-list-item-action.active, + .cptm-list-item-action:hover, .cptm-listing-card-preview-body-placeholder .cptm-widget-preview-card .cptm-list-item-actions - .cptm-list-item-action:hover { + .cptm-list-item-action.active { background: #e5e7eb; } + .cptm-listing-card-preview-footer-left-placeholder { -webkit-box-flex: 1; -webkit-flex-grow: 1; @@ -22031,8 +42862,8 @@ input[type="radio"].cptm-radio { border-color: #c6d0dc; text-align: right; } -.cptm-listing-card-preview-footer-left-placeholder.drag-enter, -.cptm-listing-card-preview-footer-left-placeholder:hover { +.cptm-listing-card-preview-footer-left-placeholder:hover, +.cptm-listing-card-preview-footer-left-placeholder.drag-enter { border-color: #1e1e1e; } .cptm-listing-card-preview-footer-left-placeholder @@ -22054,6 +42885,7 @@ input[type="radio"].cptm-radio { .cptm-widget-preview-card { width: 100%; } + .cptm-listing-card-preview-footer-right-placeholder { -webkit-box-flex: 1; -webkit-flex-grow: 1; @@ -22062,8 +42894,8 @@ input[type="radio"].cptm-radio { border-color: #c6d0dc; text-align: left; } -.cptm-listing-card-preview-footer-right-placeholder.drag-enter, -.cptm-listing-card-preview-footer-right-placeholder:hover { +.cptm-listing-card-preview-footer-right-placeholder:hover, +.cptm-listing-card-preview-footer-right-placeholder.drag-enter { border-color: #1e1e1e; } .cptm-listing-card-preview-footer-right-placeholder @@ -22080,7 +42912,6 @@ input[type="radio"].cptm-radio { -ms-flex-direction: column; flex-direction: column; } -.cptm-listing-card-preview-footer-right-placeholder .cptm-widget-preview-area, .cptm-listing-card-preview-footer-right-placeholder .cptm-widget-preview-container .cptm-widget-preview-card { @@ -22095,6 +42926,10 @@ input[type="radio"].cptm-radio { display: -ms-flexbox; display: flex; gap: 6px; + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; @@ -22103,6 +42938,7 @@ input[type="radio"].cptm-radio { -ms-flex-wrap: wrap; flex-wrap: wrap; } + .cptm-widget-preview-area .cptm-widget-preview-card { position: relative; } @@ -22128,22 +42964,22 @@ input[type="radio"].cptm-radio { -ms-flex-pack: center; justify-content: center; padding: 6px 12px; - background: #fff; + background: #ffffff; border-radius: 4px; border: 1px solid #e5e7eb; -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05); -webkit-box-sizing: border-box; box-sizing: border-box; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; z-index: 1; } .cptm-widget-preview-area .cptm-widget-preview-card .cptm-widget-preview-card-actions:before { content: ""; - border-top: 7px solid #fff; + border-top: 7px solid #ffffff; border-right: 7px solid transparent; border-left: 7px solid transparent; position: absolute; @@ -22166,11 +43002,11 @@ input[type="radio"].cptm-radio { .cptm-widget-preview-area .cptm-widget-preview-card .cptm-widget-preview-card-actions - .cptm-widget-action-link:focus, + .cptm-widget-action-link:hover, .cptm-widget-preview-area .cptm-widget-preview-card .cptm-widget-preview-card-actions - .cptm-widget-action-link:hover { + .cptm-widget-action-link:focus { background: transparent; color: #3e62f5; } @@ -22180,15 +43016,17 @@ input[type="radio"].cptm-radio { .widget-drag-handle:hover { color: #3e62f5; } + .widget-drag-handle { cursor: move; } + .cptm-card-light.cptm-placeholder-block { border-color: #d2d6db; background: #f9fafb; } -.cptm-card-light.cptm-placeholder-block.drag-enter, -.cptm-card-light.cptm-placeholder-block:hover { +.cptm-card-light.cptm-placeholder-block:hover, +.cptm-card-light.cptm-placeholder-block.drag-enter { border-color: #1e1e1e; } .cptm-card-light .cptm-placeholder-label { @@ -22198,6 +43036,7 @@ input[type="radio"].cptm-radio { color: #969db8; background-color: #eff0f3; } + .cptm-card-dark-light .cptm-placeholder-label { padding: 5px 12px; color: #888; @@ -22207,14 +43046,17 @@ input[type="radio"].cptm-radio { .cptm-card-dark-light .cptm-widget-badge { background-color: rgba(0, 0, 0, 0.8); } + .cptm-widgets-container { overflow: hidden; border: 1px solid rgba(0, 0, 0, 0.1); background-color: #fff; } + .cptm-widgets-header { display: block; } + .cptm-widget-nav { display: -webkit-box; display: -webkit-flex; @@ -22225,10 +43067,12 @@ input[type="radio"].cptm-radio { flex-wrap: wrap; margin: 0; } + .cptm-widget-nav-item { display: inline-block; margin: 0; padding: 12px 10px; + cursor: pointer; -webkit-flex-basis: 33.3333333333%; -ms-flex-preferred-size: 33.3333333333%; flex-basis: 33.3333333333%; @@ -22251,32 +43095,38 @@ input[type="radio"].cptm-radio { color: #2b2b2b; } .cptm-widget-nav-item.active { - font-weight: 700; + font-weight: bold; color: #2b2b2b; background-color: #fff; } + .cptm-widgets-body { padding: 10px; max-height: 450px; overflow: hidden; overflow-y: auto; } + .cptm-widgets-list { display: block; margin: 0; } + .cptm-widgets-list-item { display: block; } + .widget-group-title { margin: 0 0 5px; font-size: 16px; color: #bbb; } + .cptm-widgets-sub-list { display: block; margin: 0; } + .cptm-widgets-sub-list-item { display: block; padding: 10px 15px; @@ -22285,13 +43135,16 @@ input[type="radio"].cptm-radio { margin-bottom: 10px; cursor: move; } + .widget-icon { + display: inline-block; margin-left: 5px; } -.widget-icon, + .widget-label { display: inline-block; } + .cptm-form-group { display: block; margin-bottom: 20px; @@ -22329,11 +43182,6 @@ input[type="radio"].cptm-radio { color: #747c89; margin: 0; } -.cptm-form-group.cptm-form-content .cptm-form-content-icon { - font-size: 40px; - margin: 0 0 12px; -} -.cptm-form-group.cptm-form-content .cptm-form-content-btn, .cptm-form-group.cptm-form-content .cptm-form-content-icon { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -22347,10 +43195,24 @@ input[type="radio"].cptm-radio { -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + font-size: 40px; + margin: 0 0 12px; } .cptm-form-group.cptm-form-content .cptm-form-content-btn { position: relative; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; gap: 6px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; height: 30px; font-size: 12px; line-height: 14px; @@ -22372,11 +43234,11 @@ input[type="radio"].cptm-radio { right: 0; bottom: 8px; background-color: #3e62f5; - -webkit-transition: width 0.3s ease-in-out; - transition: width 0.3s ease-in-out; + -webkit-transition: width ease-in-out 300ms; + transition: width ease-in-out 300ms; } -.cptm-form-group.cptm-form-content .cptm-form-content-btn:focus:before, -.cptm-form-group.cptm-form-content .cptm-form-content-btn:hover:before { +.cptm-form-group.cptm-form-content .cptm-form-content-btn:hover:before, +.cptm-form-group.cptm-form-content .cptm-form-content-btn:focus:before { width: 100%; } .cptm-form-group.cptm-form-content .cptm-form-content-btn.cptm-btn-disabled { @@ -22399,9 +43261,9 @@ input[type="radio"].cptm-radio { display: none; } .cptm-form-group.cptm-form-content - .cptm-form-content-btn.cptm-form-loader:focus, + .cptm-form-content-btn.cptm-form-loader:hover, .cptm-form-group.cptm-form-content - .cptm-form-content-btn.cptm-form-loader:hover { + .cptm-form-content-btn.cptm-form-loader:focus { color: #3e62f5; } .cptm-form-group.cptm-form-content @@ -22445,8 +43307,9 @@ input[type="radio"].cptm-radio { flex-direction: column; } .cptm-form-group.cpt-has-error .cptm-form-control { - border: 1px solid #c03333; + border: 1px solid rgb(192, 51, 51); } + .cptm-form-group-tab-list { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -22487,9 +43350,9 @@ input[type="radio"].cptm-radio { border-radius: 100px; margin: 0; cursor: pointer; - background-color: #fff; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + background-color: #ffffff; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; color: #4d5761; font-weight: 500; text-decoration: none; @@ -22504,6 +43367,7 @@ input[type="radio"].cptm-radio { background-color: #d8e0fd; color: #3e62f5; } + .cptm-preview-image-upload { width: 350px; max-width: 100%; @@ -22593,7 +43457,7 @@ input[type="radio"].cptm-radio { border: none; -webkit-box-shadow: none; box-shadow: none; - color: #fff; + color: white; padding: 0; } .cptm-preview-image-upload:not(.cptm-preview-image-upload--show) @@ -22605,10 +43469,10 @@ input[type="radio"].cptm-radio { } .cptm-preview-image-upload:not(.cptm-preview-image-upload--show) .cptm-thumbnail - .directorist-row-tooltip[data-tooltip]:after, + .directorist-row-tooltip[data-tooltip]:before, .cptm-preview-image-upload:not(.cptm-preview-image-upload--show) .cptm-thumbnail - .directorist-row-tooltip[data-tooltip]:before { + .directorist-row-tooltip[data-tooltip]:after { opacity: 0; } .cptm-preview-image-upload:not(.cptm-preview-image-upload--show) @@ -22640,12 +43504,12 @@ input[type="radio"].cptm-radio { right top, right bottom, from(rgba(0, 0, 0, 0.6)), - color-stop(35.42%, transparent) + color-stop(35.42%, rgba(0, 0, 0, 0)) ); background: linear-gradient( -180deg, - rgba(0, 0, 0, 0.6), - transparent 35.42% + rgba(0, 0, 0, 0.6) 0%, + rgba(0, 0, 0, 0) 35.42% ); z-index: 1; } @@ -22658,7 +43522,7 @@ input[type="radio"].cptm-radio { .cptm-preview-image-upload.cptm-preview-image-upload--show .cptm-thumbnail-action { margin: 0; - background-color: #fff; + background-color: white; width: 32px; height: 32px; display: -webkit-box; @@ -22691,12 +43555,13 @@ input[type="radio"].cptm-radio { width: 32px; max-height: 32px; height: 32px; - background-color: #fff; + background-color: white; padding: 0; border-radius: 8px; + margin: 10px; cursor: pointer; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; margin: 0; display: -webkit-box; display: -webkit-flex; @@ -22721,35 +43586,38 @@ input[type="radio"].cptm-radio { } .cptm-preview-image-upload.cptm-preview-image-upload--show .cptm-upload-btn - i:before { + i::before { content: "\ea57"; } .cptm-preview-image-upload.cptm-preview-image-upload--show .directorist-row-tooltip[data-tooltip]:after { - background-color: #fff; + background-color: white; color: #141921; opacity: 1; } .cptm-preview-image-upload.cptm-preview-image-upload--show - .directorist-row-tooltip[data-tooltip][data-flow="bottom"]:before { - border-bottom-color: #fff; + .directorist-row-tooltip[data-tooltip][data-flow="bottom"]::before { + border-bottom-color: white; } .cptm-preview-image-upload.cptm-preview-image-upload--show .cptm-thumbnail-action { z-index: 2; } + .cptm-form-group-feedback { display: block; } + .cptm-form-alert { padding: 0 0 10px; color: #06d6a0; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .cptm-form-alert.cptm-error { color: #c82424; } + .cptm-input-toggle-wrap { display: -webkit-box; display: -webkit-flex; @@ -22777,22 +43645,21 @@ input[type="radio"].cptm-radio { -ms-flex: 1; flex: 1; } + .cptm-input-toggle { + display: inline-block; position: relative; width: 36px; height: 20px; background-color: #d9d9d9; border-radius: 30px; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; cursor: pointer; } -.cptm-input-toggle, -.cptm-input-toggle:after { - display: inline-block; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; -} -.cptm-input-toggle:after { +.cptm-input-toggle::after { content: ""; + display: inline-block; width: 14px; height: calc(100% - 6px); background-color: #fff; @@ -22801,15 +43668,18 @@ input[type="radio"].cptm-radio { top: 0; right: 0; margin: 3px 4px; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .cptm-input-toggle.active { background-color: #3e62f5; } -.cptm-input-toggle.active:after { +.cptm-input-toggle.active::after { right: 100%; - -webkit-transform: translateX(calc(100% - -8px)); - transform: translateX(calc(100% - -8px)); + -webkit-transform: translateX(calc(-1 * (-100% - 8px))); + transform: translateX(calc(-1 * (-100% - 8px))); } + .cptm-multi-option-group { display: block; margin-bottom: 20px; @@ -22817,9 +43687,11 @@ input[type="radio"].cptm-radio { .cptm-multi-option-group .cptm-btn { margin: 0; } + .cptm-multi-option-label { display: block; } + .cptm-multi-option-group-section-draft { display: -webkit-box; display: -webkit-flex; @@ -22846,12 +43718,18 @@ input[type="radio"].cptm-radio { .cptm-multi-option-group-section-draft p { margin: 28px 8px 20px; } + .cptm-label { display: block; margin-bottom: 10px; font-weight: 500; } + .form-repeater__container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; @@ -22859,14 +43737,11 @@ input[type="radio"].cptm-radio { flex-direction: column; gap: 8px; } -.form-repeater__container, .form-repeater__group { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -} -.form-repeater__group { -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; @@ -22877,11 +43752,11 @@ input[type="radio"].cptm-radio { .form-repeater__group.sortable-chosen .form-repeater__input { background: #e1e4e8 !important; border: 1px solid #d1d5db !important; - -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.01) !important; - box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.01) !important; + -webkit-box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.01) !important; + box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.01) !important; } -.form-repeater__drag-btn, -.form-repeater__remove-btn { +.form-repeater__remove-btn, +.form-repeater__drag-btn { color: #4d5761; background: transparent; border: none; @@ -22893,18 +43768,18 @@ input[type="radio"].cptm-radio { -webkit-transition: all 0.3s ease; transition: all 0.3s ease; } -.form-repeater__drag-btn:disabled, -.form-repeater__remove-btn:disabled { +.form-repeater__remove-btn:disabled, +.form-repeater__drag-btn:disabled { cursor: not-allowed; opacity: 0.6; } -.form-repeater__drag-btn svg, -.form-repeater__remove-btn svg { +.form-repeater__remove-btn svg, +.form-repeater__drag-btn svg { width: 12px; height: 12px; } -.form-repeater__drag-btn i, -.form-repeater__remove-btn i { +.form-repeater__remove-btn i, +.form-repeater__drag-btn i { font-size: 16px; margin: 0; padding: 0; @@ -22934,10 +43809,10 @@ input[type="radio"].cptm-radio { flex-shrink: 0; border-radius: 8px; border: 1px solid var(--Gray-200, #e5e7eb); - background: #fff; - -webkit-box-shadow: 0 1px 2px 0 + background: white; + -webkit-box-shadow: 0px 1px 2px 0px var(--Colors-Effects-Shadows-shadow-xs, rgba(16, 24, 40, 0.05)); - box-shadow: 0 1px 2px 0 + box-shadow: 0px 1px 2px 0px var(--Colors-Effects-Shadows-shadow-xs, rgba(16, 24, 40, 0.05)); color: #2c3239; outline: none; @@ -22997,6 +43872,7 @@ input[type="radio"].cptm-radio { color: #2e94fa; background: transparent; border: none; + padding: 0; text-decoration: none; display: -webkit-box; display: -webkit-flex; @@ -23023,6 +43899,8 @@ input[type="radio"].cptm-radio { .form-repeater__add-group-btn i { font-size: 16px; } + +/* Style the video popup */ .cptm-modal-overlay { position: fixed; top: 0; @@ -23073,6 +43951,7 @@ input[type="radio"].cptm-radio { height: 175px; } } + .cptm-modal-content { position: relative; } @@ -23102,30 +43981,47 @@ input[type="radio"].cptm-radio { border-radius: 16px; } .cptm-modal-content .cptm-modal-preview .cptm-modal-preview__group { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; gap: 30px; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; } -.cptm-modal-content .cptm-modal-preview .cptm-modal-preview__group, .cptm-modal-content .cptm-modal-preview .cptm-modal-preview__item { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + gap: 10px; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -} -.cptm-modal-content .cptm-modal-preview .cptm-modal-preview__item { - gap: 10px; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; } .cptm-modal-content .cptm-modal-preview .cptm-modal-preview__btn { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; gap: 6px; padding: 0 16px; height: 40px; @@ -23134,7 +44030,6 @@ input[type="radio"].cptm-radio { border: 1px solid #ededed; border-radius: 8px; } -.cptm-modal-content .cptm-modal-preview .cptm-modal-preview__btn, .cptm-modal-content .cptm-modal-preview .cptm-modal-preview__btn @@ -23165,6 +44060,7 @@ input[type="radio"].cptm-radio { border-radius: 100%; cursor: pointer; } + .close-btn { position: absolute; top: 40px; @@ -23173,9 +44069,11 @@ input[type="radio"].cptm-radio { border: none; font-size: 18px; cursor: pointer; - color: #fff; + color: #ffffff; } + .cptm-form-control, +select.cptm-form-control, input[type="date"].cptm-form-control, input[type="datetime-local"].cptm-form-control, input[type="datetime"].cptm-form-control, @@ -23188,8 +44086,7 @@ input[type="tel"].cptm-form-control, input[type="text"].cptm-form-control, input[type="time"].cptm-form-control, input[type="url"].cptm-form-control, -input[type="week"].cptm-form-control input[type="text"].cptm-form-control, -select.cptm-form-control { +input[type="week"].cptm-form-control input[type="text"].cptm-form-control { display: block; width: 100%; max-width: 100%; @@ -23206,42 +44103,45 @@ select.cptm-form-control { height: auto; min-height: 30px; background-color: #f4f5f7; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } -.cptm-form-control:focus, .cptm-form-control:hover, -input[type="date"].cptm-form-control:focus, +.cptm-form-control:focus, +select.cptm-form-control:hover, +select.cptm-form-control:focus, input[type="date"].cptm-form-control:hover, -input[type="datetime-local"].cptm-form-control:focus, +input[type="date"].cptm-form-control:focus, input[type="datetime-local"].cptm-form-control:hover, -input[type="datetime"].cptm-form-control:focus, +input[type="datetime-local"].cptm-form-control:focus, input[type="datetime"].cptm-form-control:hover, -input[type="email"].cptm-form-control:focus, +input[type="datetime"].cptm-form-control:focus, input[type="email"].cptm-form-control:hover, -input[type="month"].cptm-form-control:focus, +input[type="email"].cptm-form-control:focus, input[type="month"].cptm-form-control:hover, -input[type="number"].cptm-form-control:focus, +input[type="month"].cptm-form-control:focus, input[type="number"].cptm-form-control:hover, -input[type="password"].cptm-form-control:focus, +input[type="number"].cptm-form-control:focus, input[type="password"].cptm-form-control:hover, -input[type="search"].cptm-form-control:focus, +input[type="password"].cptm-form-control:focus, input[type="search"].cptm-form-control:hover, -input[type="tel"].cptm-form-control:focus, +input[type="search"].cptm-form-control:focus, input[type="tel"].cptm-form-control:hover, -input[type="text"].cptm-form-control:focus, +input[type="tel"].cptm-form-control:focus, input[type="text"].cptm-form-control:hover, -input[type="time"].cptm-form-control:focus, +input[type="text"].cptm-form-control:focus, input[type="time"].cptm-form-control:hover, -input[type="url"].cptm-form-control:focus, +input[type="time"].cptm-form-control:focus, input[type="url"].cptm-form-control:hover, -input[type="week"].cptm-form-control input[type="text"].cptm-form-control:focus, +input[type="url"].cptm-form-control:focus, input[type="week"].cptm-form-control input[type="text"].cptm-form-control:hover, -select.cptm-form-control:focus, -select.cptm-form-control:hover { +input[type="week"].cptm-form-control + input[type="text"].cptm-form-control:focus { color: #23282d; border-color: #3e62f5; } + +select.cptm-form-control, input[type="date"].cptm-form-control, input[type="datetime-local"].cptm-form-control, input[type="datetime"].cptm-form-control, @@ -23255,12 +44155,13 @@ input[type="text"].cptm-form-control, input[type="time"].cptm-form-control, input[type="url"].cptm-form-control, input[type="week"].cptm-form-control, -select.cptm-form-control { +input[type="text"].cptm-form-control { padding: 10px 20px; font-size: 12px; color: #4d5761; - background: #fff; + background: #ffffff; text-align: right; + border: 0 none; border-radius: 8px; border: 1px solid #d2d6db; -webkit-box-shadow: none; @@ -23272,6 +44173,7 @@ select.cptm-form-control { height: auto; min-height: 30px; } +select.cptm-form-control:hover, input[type="date"].cptm-form-control:hover, input[type="datetime-local"].cptm-form-control:hover, input[type="datetime"].cptm-form-control:hover, @@ -23285,9 +44187,10 @@ input[type="text"].cptm-form-control:hover, input[type="time"].cptm-form-control:hover, input[type="url"].cptm-form-control:hover, input[type="week"].cptm-form-control:hover, -select.cptm-form-control:hover { +input[type="text"].cptm-form-control:hover { color: #23282d; } +select.cptm-form-control.cptm-form-control-light, input[type="date"].cptm-form-control.cptm-form-control-light, input[type="datetime-local"].cptm-form-control.cptm-form-control-light, input[type="datetime"].cptm-form-control.cptm-form-control-light, @@ -23301,10 +44204,11 @@ input[type="text"].cptm-form-control.cptm-form-control-light, input[type="time"].cptm-form-control.cptm-form-control-light, input[type="url"].cptm-form-control.cptm-form-control-light, input[type="week"].cptm-form-control.cptm-form-control-light, -select.cptm-form-control.cptm-form-control-light { +input[type="text"].cptm-form-control.cptm-form-control-light { border: 1px solid #ccc; background-color: #fff; } + .tab-general .cptm-title-area, .tab-other .cptm-title-area { margin-right: 0; @@ -23314,17 +44218,19 @@ select.cptm-form-control.cptm-form-control-light { background-color: #fff; border: 1px solid #e3e6ef; } -.tab-other .cptm-title-area, + +.tab-preview_image .cptm-title-area, .tab-packages .cptm-title-area, -.tab-preview_image .cptm-title-area { +.tab-other .cptm-title-area { margin-right: 0; } -.tab-other .cptm-title-area p, +.tab-preview_image .cptm-title-area p, .tab-packages .cptm-title-area p, -.tab-preview_image .cptm-title-area p { +.tab-other .cptm-title-area p { font-size: 15px; color: #5a5f7d; } + .cptm-modal-container { display: none; position: fixed; @@ -23339,6 +44245,7 @@ select.cptm-form-control.cptm-form-control-light { .cptm-modal-container.active { display: block; } + .cptm-modal-wrap { display: -webkit-box; display: -webkit-flex; @@ -23355,10 +44262,11 @@ select.cptm-form-control.cptm-form-control-light { -webkit-align-items: center; -ms-flex-align: center; align-items: center; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; background-color: rgba(0, 0, 0, 0.5); } + .cptm-modal { display: block; margin: 0 auto; @@ -23368,16 +44276,20 @@ select.cptm-form-control.cptm-form-control-light { border-radius: 5px; background-color: #fff; } + .cptm-modal-header { position: relative; padding: 15px 15px 15px 30px; - margin: -10px -10px 10px; + margin: -10px; + margin-bottom: 10px; border-bottom: 1px solid #e3e3e3; } + .cptm-modal-header-title { text-align: right; margin: 0; } + .cptm-modal-actions { display: block; margin: 0 -5px; @@ -23386,6 +44298,7 @@ select.cptm-form-control.cptm-form-control-light { top: 10px; text-align: left; } + .cptm-modal-action-link { margin: 0 5px; text-decoration: none; @@ -23398,11 +44311,13 @@ select.cptm-form-control.cptm-form-control-light { color: #2b2b2b; font-size: 18px; } + .cptm-modal-confirmation-title { margin: 30px auto; font-size: 20px; text-align: center; } + .cptm-section-alert-area { display: -webkit-box; display: -webkit-flex; @@ -23423,10 +44338,12 @@ select.cptm-form-control.cptm-form-control-light { align-items: center; min-height: 200px; } + .cptm-section-alert-content { text-align: center; padding: 10px; } + .cptm-section-alert-icon { margin-bottom: 20px; width: 100px; @@ -23448,7 +44365,7 @@ select.cptm-form-control.cptm-form-control-light { -ms-flex-wrap: wrap; flex-wrap: wrap; border-radius: 50%; - color: #a9a9a9; + color: darkgray; background-color: #f2f2f2; } .cptm-section-alert-icon.cptm-alert-success { @@ -23459,32 +44376,37 @@ select.cptm-form-control.cptm-form-control-light { color: #fff; background-color: #cc1433; } + .cptm-color-picker-wrap { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; } + .cptm-color-picker-label { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; margin-right: 10px; } -.cptm-color-picker-label, + .cptm-wdget-title { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -} -.cptm-wdget-title { -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; } + .atbdp-flex-align-center { display: -webkit-box; display: -webkit-flex; @@ -23495,27 +44417,35 @@ select.cptm-form-control.cptm-form-control-light { -ms-flex-align: center; align-items: center; } + .cptm-px-5 { padding: 0 5px; } + .cptm-text-gray { color: #c1c1c1; } + .cptm-text-right { text-align: left !important; } + .cptm-text-center { text-align: center !important; } + .cptm-text-left { text-align: right !important; } + .cptm-d-block { display: block !important; } + .cptm-d-inline { display: inline-block !important; } + .cptm-d-inline-flex { display: -webkit-inline-box !important; display: -webkit-inline-flex !important; @@ -23525,21 +44455,26 @@ select.cptm-form-control.cptm-form-control-light { -ms-flex-wrap: wrap; flex-wrap: wrap; } + .cptm-d-none { display: none !important; } + .cptm-p-20 { padding: 20px; } + .cptm-color-picker { display: inline-block; - padding: 5px 5px 2px; + padding: 5px 5px 2px 5px; border-radius: 30px; border: 1px solid #d4d4d4; } -input[type="radio"]:checked:before { + +input[type="radio"]:checked::before { background-color: #3e62f5; } + @media (max-width: 767px) { input[type="checkbox"], input[type="radio"] { @@ -23547,6 +44482,7 @@ input[type="radio"]:checked:before { height: 15px; } } + .cptm-preview-placeholder { -webkit-box-flex: 1; -webkit-flex: 1; @@ -23581,7 +44517,7 @@ input[type="radio"]:checked:before { flex-direction: column; gap: 20px; padding: 20px; - background: #fff; + background: #ffffff; border-radius: 6px; border: 1.5px solid #e5e7eb; -webkit-box-shadow: 0 10px 18px 0 rgba(16, 24, 40, 0.1); @@ -23639,7 +44575,7 @@ input[type="radio"]:checked:before { line-height: 18px; color: #1f2937; min-height: 32px; - background-color: #fff; + background-color: #ffffff; border-radius: 6px; border: 1.15px solid #e5e7eb; } @@ -23874,8 +44810,8 @@ input[type="radio"]:checked:before { color: #747c89; margin-top: 15px; background: transparent; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; cursor: move; } .cptm-preview-placeholder__card .draggable-item .cptm-drag-element:hover { @@ -23890,27 +44826,33 @@ input[type="radio"]:checked:before { max-width: 100%; } } + .atbdp-sidebar-nav-area { display: block; } + .atbdp-sidebar-nav { display: block; margin: 0; background-color: #f6f6f6; } + .atbdp-nav-link { display: block; padding: 15px; text-decoration: none; color: #2b2b2b; } + .atbdp-nav-icon { + display: inline-block; margin-left: 10px; } -.atbdp-nav-icon, + .atbdp-nav-label { display: inline-block; } + .atbdp-sidebar-nav-item { display: block; margin: 0; @@ -23918,7 +44860,9 @@ input[type="radio"]:checked:before { .atbdp-sidebar-nav-item .atbdp-nav-link { display: block; } -.atbdp-sidebar-nav-item .atbdp-nav-icon, +.atbdp-sidebar-nav-item .atbdp-nav-icon { + display: inline-block; +} .atbdp-sidebar-nav-item .atbdp-nav-label { display: inline-block; } @@ -23926,19 +44870,26 @@ input[type="radio"]:checked:before { display: block; background-color: #fff; } -.atbdp-sidebar-nav-item.active .atbdp-nav-link, .atbdp-sidebar-nav-item.active .atbdp-sidebar-subnav { display: block; } -.atbdp-sidebar-nav-item.active .atbdp-nav-icon, +.atbdp-sidebar-nav-item.active .atbdp-nav-link { + display: block; +} +.atbdp-sidebar-nav-item.active .atbdp-nav-icon { + display: inline-block; +} .atbdp-sidebar-nav-item.active .atbdp-nav-label { display: inline-block; } + .atbdp-sidebar-subnav { display: block; - margin: 0 28px 0 0; + margin: 0; + margin-right: 28px; display: none; } + .atbdp-sidebar-subnav-item { display: block; margin: 0; @@ -23946,7 +44897,9 @@ input[type="radio"]:checked:before { .atbdp-sidebar-subnav-item .atbdp-nav-link { color: #686d88; } -.atbdp-sidebar-subnav-item .atbdp-nav-icon, +.atbdp-sidebar-subnav-item .atbdp-nav-icon { + display: inline-block; +} .atbdp-sidebar-subnav-item .atbdp-nav-label { display: inline-block; } @@ -23957,10 +44910,13 @@ input[type="radio"]:checked:before { .atbdp-sidebar-subnav-item.active .atbdp-nav-link { display: block; } -.atbdp-sidebar-subnav-item.active .atbdp-nav-icon, +.atbdp-sidebar-subnav-item.active .atbdp-nav-icon { + display: inline-block; +} .atbdp-sidebar-subnav-item.active .atbdp-nav-label { display: inline-block; } + .atbdp-row { display: -webkit-box; display: -webkit-flex; @@ -23971,6 +44927,7 @@ input[type="radio"]:checked:before { flex-wrap: wrap; margin: 0 -15px; } + .atbdp-col { padding: 0 15px; -webkit-box-flex: 1; @@ -23980,27 +44937,32 @@ input[type="radio"]:checked:before { -webkit-box-sizing: border-box; box-sizing: border-box; } + .atbdp-col-3 { -webkit-flex-basis: 25%; -ms-flex-preferred-size: 25%; flex-basis: 25%; width: 25%; } + .atbdp-col-4 { -webkit-flex-basis: 33.3333333333%; -ms-flex-preferred-size: 33.3333333333%; flex-basis: 33.3333333333%; width: 33.3333333333%; } + .atbdp-col-8 { -webkit-flex-basis: 66.6666666667%; -ms-flex-preferred-size: 66.6666666667%; flex-basis: 66.6666666667%; width: 66.6666666667%; } + .shrink { max-width: 300px; } + .directorist_dropdown { position: relative; } @@ -24048,10 +45010,10 @@ input[type="radio"]:checked:before { background-color: #fff; -webkit-box-shadow: 0 12px 16px -4px rgba(16, 24, 40, 0.08), - 0 4px 6px -2px rgba(16, 24, 40, 0.03); + 0px 4px 6px -2px rgba(16, 24, 40, 0.03); box-shadow: 0 12px 16px -4px rgba(16, 24, 40, 0.08), - 0 4px 6px -2px rgba(16, 24, 40, 0.03); + 0px 4px 6px -2px rgba(16, 24, 40, 0.03); border: 1px solid #e5e7eb; border-radius: 8px; z-index: 99999; @@ -24097,8 +45059,8 @@ input[type="radio"]:checked:before { -webkit-transition: 0.3s; transition: 0.3s; } -.directorist_dropdown .directorist_dropdown-option ul li a.active:hover, -.directorist_dropdown .directorist_dropdown-option ul li a:hover { +.directorist_dropdown .directorist_dropdown-option ul li a:hover, +.directorist_dropdown .directorist_dropdown-option ul li a.active:hover { color: #fff; background-color: #3e62f5; } @@ -24106,11 +45068,13 @@ input[type="radio"]:checked:before { color: #3e62f5; background-color: #f0f3ff; } + .cptm-form-group .directorist_dropdown-option { max-height: 240px; } + .cptm-import-directory-modal .cptm-file-input-wrap { - margin: 16px -5px 0; + margin: 16px -5px 0 -5px; } .cptm-import-directory-modal .cptm-info-text { padding: 4px 8px; @@ -24122,6 +45086,8 @@ input[type="radio"]:checked:before { .cptm-import-directory-modal .cptm-info-text > b { margin-left: 4px; } + +/* Sticky fields */ .cptm-col-sticky { position: -webkit-sticky; position: sticky; @@ -24132,6 +45098,7 @@ input[type="radio"]:checked:before { scrollbar-width: 6px; scrollbar-color: #d2d6db #f3f4f6; } + .cptm-widget-trash-confirmation-modal-overlay { position: fixed; top: 0; @@ -24175,10 +45142,10 @@ input[type="radio"]:checked:before { max-width: 400px; } .cptm-widget-trash-confirmation-modal-overlay button { - border: 0; + border: 0 none; -webkit-box-shadow: none; box-shadow: none; - background: #c51616; + background: rgb(197, 22, 22); padding: 10px 15px; border-radius: 6px; color: #fff; @@ -24201,6 +45168,7 @@ input[type="radio"]:checked:before { button.cptm-widget-trash-confirmation-modal-action-btn__cancel:hover { background: #dee0e4; } + .cptm-field-group-container .cptm-field-group-container__label { font-size: 15px; font-weight: 500; @@ -24212,6 +45180,7 @@ input[type="radio"]:checked:before { margin-bottom: 15px; } } + .cptm-container-group-fields { display: -webkit-box; display: -webkit-flex; @@ -24280,7 +45249,7 @@ input[type="radio"]:checked:before { .cptm-container-group-fields .atbdp-row .atbdp-col label { margin: 0; font-size: 14px !important; - font-weight: 400; + font-weight: normal; } @media only screen and (max-width: 1300px) { .cptm-container-group-fields .atbdp-row .atbdp-col label { @@ -24321,6 +45290,7 @@ input[type="radio"]:checked:before { width: auto !important; } } + .cptm-elements-settings { width: 100%; max-width: 372px; @@ -24424,8 +45394,8 @@ input[type="radio"]:checked:before { font-size: 16px; color: #747c89; background: transparent; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; cursor: move; } .cptm-elements-settings__group__single .drag-icon:hover { @@ -24464,23 +45434,24 @@ input[type="radio"]:checked:before { -webkit-flex: 1; -ms-flex: 1; flex: 1; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; -} -.cptm-elements-settings__group__single__action, -.cptm-elements-settings__group__single__edit { -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; } .cptm-elements-settings__group__single__edit { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; @@ -24507,7 +45478,7 @@ input[type="radio"]:checked:before { height: 18px; cursor: pointer; } -.cptm-elements-settings__group__single__switch label:before { +.cptm-elements-settings__group__single__switch label::before { content: ""; position: absolute; width: 100%; @@ -24517,14 +45488,14 @@ input[type="radio"]:checked:before { -webkit-transition: all 0.3s; transition: all 0.3s; } -.cptm-elements-settings__group__single__switch label:after { +.cptm-elements-settings__group__single__switch label::after { content: ""; position: absolute; top: 3px; right: 3px; width: 12px; height: 12px; - background-color: #fff; + background-color: #ffffff; border-radius: 50%; -webkit-transition: all 0.3s; transition: all 0.3s; @@ -24534,12 +45505,12 @@ input[type="radio"]:checked:before { } .cptm-elements-settings__group__single__switch input[type="checkbox"]:checked - + label:before { + + label::before { background-color: #3e62f5; } .cptm-elements-settings__group__single__switch input[type="checkbox"]:checked - + label:after { + + label::after { -webkit-transform: translateX(-14px); transform: translateX(-14px); } @@ -24652,10 +45623,12 @@ input[type="radio"]:checked:before { .dndrop-draggable-wrapper:last-child { margin-bottom: 0; } + .cptm-theme-butterfly .cptm-info-text { text-align: right; margin: 0; } + .atbdp-settings-panel .cptm-form-group { margin-bottom: 35px; } @@ -24691,17 +45664,17 @@ input[type="radio"]:checked:before { margin-bottom: 0; } .atbdp-settings-panel .cptm-section .cptm-title-area.directorist-no-header { - border-bottom: 0; + border-bottom: 0 none; margin-bottom: 0; padding-bottom: 0; } .atbdp-settings-panel .cptm-section .cptm-title-area .cptm-title { font-size: 20px; font-weight: 500; - color: #000; + color: #000000; } .atbdp-settings-panel .cptm-section .cptm-form-fields { - padding: 20px 25px 0; + padding: 20px 25px 0 25px; } .atbdp-settings-panel .cptm-section .cptm-form-fields .cptm-form-group label { font-size: 15px; @@ -24780,6 +45753,8 @@ input[type="radio"]:checked:before { .atbdp-settings-panel #style_settings__color_settings .cptm-section { z-index: unset; } + +/* settings panel css */ .atbdp-settings-manager .directorist_builder-header { margin-bottom: 30px; } @@ -24801,8 +45776,9 @@ input[type="radio"]:checked:before { .atbdp-settings-manager .atbdp-settings-manager__top .directorist_builder-links { + margin: 0; padding: 0; - margin: 10px 0 0; + margin-top: 10px; } .atbdp-settings-manager .atbdp-settings-manager__top @@ -24857,7 +45833,7 @@ input[type="radio"]:checked:before { display: block; } } -.directorist_vertical-align-m, + .directorist_vertical-align-m .directorist_item { display: -webkit-box; display: -webkit-flex; @@ -24865,11 +45841,16 @@ input[type="radio"]:checked:before { display: flex; } .directorist_vertical-align-m { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; } + .atbdp-settings-manager .atbdp-tab-sub-contents .directorist_btn-start { font-size: 14px; font-weight: 500; @@ -24881,6 +45862,7 @@ input[type="radio"]:checked:before { margin-bottom: 0; margin-right: 20px; } + @media only screen and (max-width: 767px) { .atbdp-settings-manager .settings-contents @@ -24903,6 +45885,7 @@ input[type="radio"]:checked:before { .directorist_dropdown-toggle { line-height: 0.8; } + .directorist_settings-trigger { display: inline-block; cursor: pointer; @@ -24916,14 +45899,17 @@ input[type="radio"]:checked:before { .directorist_settings-trigger span:not(:last-child) { margin-bottom: 4px; } + .settings-wrapper { width: 100%; margin: 0 auto; } + .atbdp-settings-panel { max-width: 1200px; margin: 0 !important; } + .setting-top-bar { background-color: #272b41; padding: 15px 20px; @@ -25006,7 +45992,7 @@ input[type="radio"]:checked:before { text-decoration: none; font-size: 14px; font-weight: 400; - color: hsla(0, 0%, 100%, 0.3137254902); + color: rgba(255, 255, 255, 0.3137254902); } .setting-top-bar .directorist_setting-panel__pages @@ -25017,8 +46003,8 @@ input[type="radio"]:checked:before { .setting-top-bar .directorist_setting-panel__pages li - .directorist_setting-panel__pages--link.active:before { - color: hsla(0, 0%, 100%, 0.3137254902); + .directorist_setting-panel__pages--link.active::before { + color: rgba(255, 255, 255, 0.3137254902); } .setting-top-bar .directorist_setting-panel__pages @@ -25033,11 +46019,9 @@ input[type="radio"]:checked:before { li + li .directorist_setting-panel__pages--link:before { - font-family: - Font Awesome\5 Free, - Font Awesome\5 Brands; + font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands"; content: "\f105"; - margin: 0 5px 0 2px; + margin: 0px 5px 0 2px; font-weight: 900; position: relative; top: 1px; @@ -25061,6 +46045,7 @@ input[type="radio"]:checked:before { color: #fff; background-color: #3e62f5; } + .setting-top-bar__search-actions { display: -webkit-box; display: -webkit-flex; @@ -25080,6 +46065,7 @@ input[type="radio"]:checked:before { margin-right: 0 !important; } } + .setting-response-feedback { display: -webkit-box; display: -webkit-flex; @@ -25092,10 +46078,12 @@ input[type="radio"]:checked:before { align-items: center; color: #fff; } + .setting-search-suggestions { position: relative; z-index: 999; } + .search-suggestions-list { margin: 5px auto 0; position: absolute; @@ -25105,25 +46093,29 @@ input[type="radio"]:checked:before { box-shadow: 0 0 3px #ccc; background-color: #fff; } + .search-suggestions-list--list-item { list-style: none; } + .search-suggestions-list--link { display: block; padding: 10px 15px; text-decoration: none; - -webkit-transition: all 0.2s ease-in-out; - transition: all 0.2s ease-in-out; + -webkit-transition: all ease-in-out 200ms; + transition: all ease-in-out 200ms; } .search-suggestions-list--link:hover { background-color: #f2f2f2; } + .setting-body { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } + .settings-contents { -webkit-box-flex: 1; -webkit-flex-grow: 1; @@ -25132,13 +46124,14 @@ input[type="radio"]:checked:before { padding: 20px 20px 0; background-color: #fff; } + .setting-search-field__input { height: 40px; padding: 0 16px !important; - border: 0 !important; - background-color: hsla(0, 0%, 100%, 0.031372549) !important; + border: 0 none !important; + background-color: rgba(255, 255, 255, 0.031372549) !important; border-radius: 4px; - color: hsla(0, 0%, 100%, 0.3137254902) !important; + color: rgba(255, 255, 255, 0.3137254902) !important; width: 250px; max-width: 250px; font-size: 14px; @@ -25148,6 +46141,7 @@ input[type="radio"]:checked:before { -webkit-box-shadow: 0 0 !important; box-shadow: 0 0 !important; } + .settings-save-btn { display: inline-block; padding: 0 20px; @@ -25160,8 +46154,8 @@ input[type="radio"]:checked:before { cursor: pointer; border: 1px solid #3e62f5; background-color: #3e62f5; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .settings-save-btn:focus { color: #fff; @@ -25176,6 +46170,7 @@ input[type="radio"]:checked:before { opacity: 0.8; cursor: not-allowed; } + .setting-left-sibebar { min-width: 250px; max-width: 250px; @@ -25199,9 +46194,10 @@ input[type="radio"]:checked:before { } } .setting-left-sibebar.active { - -webkit-transform: translateX(0); - transform: translateX(0); + -webkit-transform: translateX(0px); + transform: translateX(0px); } + .directorist_settings-panel-shade { position: fixed; width: 100%; @@ -25218,28 +46214,35 @@ input[type="radio"]:checked:before { opacity: 1; visibility: visible; } + .settings-nav { margin: 0; padding: 0; list-style-type: none; } + .settings-nav li { list-style: none; } + .settings-nav a { text-decoration: none; } + .settings-nav__item.active { background-color: #fff; } + .settings-nav__item ul { padding-right: 0; background-color: #fff; display: none; } + .settings-nav__item.active ul { display: block; } + .settings-nav__item__link { line-height: 50px; padding: 0 25px; @@ -25257,12 +46260,15 @@ input[type="radio"]:checked:before { -ms-flex-align: center; align-items: center; } + .settings-nav__item__link:hover { background-color: #fff; } + .settings-nav__item.active .settings-nav__item__link { color: #3e62f5; } + .settings-nav__item__icon { display: inline-block; width: 32px; @@ -25294,6 +46300,10 @@ input[type="radio"]:checked:before { .settings-nav__item__icon i.directorist_wordpress { color: #0073aa; } + +/* .settings-nav__item ul li { + margin-bottom: 25px; +} */ .settings-nav__item ul li a { line-height: 25px; padding: 10px 58px 10px 25px; @@ -25313,21 +46323,27 @@ input[type="radio"]:checked:before { box-shadow: 0 0; outline: 0 none; } + .settings-nav__item ul li a.active { color: #3e62f5; + background-color: #fff; + -webkit-box-shadow: 0 5px 20px rgba(161, 168, 198, 0.2); + box-shadow: 0 5px 20px rgba(161, 168, 198, 0.2); border-right-color: #3e62f5; } -.settings-nav__item ul li a.active, + .settings-nav__item ul li a:hover { background-color: #fff; -webkit-box-shadow: 0 5px 20px rgba(161, 168, 198, 0.2); box-shadow: 0 5px 20px rgba(161, 168, 198, 0.2); } + span.drop-toggle-caret { width: 10px; height: 5px; margin-right: auto; } + span.drop-toggle-caret:before { position: absolute; content: ""; @@ -25335,23 +46351,26 @@ span.drop-toggle-caret:before { border-left: 5px solid transparent; border-top: 5px solid #868eae; } + .settings-nav__item.active .settings-nav__item__link span.drop-toggle-caret:before { border-top: 0; border-bottom: 5px solid #3e62f5; } + .highlight-field { padding: 10px; border: 2px solid #3e62f5; } + .settings-footer { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; margin: 0 -20px; - padding: 15px; + padding: 15px 15px 15px; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; @@ -25364,6 +46383,7 @@ span.drop-toggle-caret:before { .settings-footer .setting-response-feedback { color: #272b41; } + .settings-footer-actions { display: -webkit-box; display: -webkit-flex; @@ -25374,15 +46394,24 @@ span.drop-toggle-caret:before { flex-wrap: wrap; color: #272b41; } + .atbdp-settings-panel .cptm-form-control, .atbdp-settings-panel .directorist_dropdown { max-width: 500px !important; } -#import_export .cptm-menu-title, -#page_settings .cptm-menu-title, + +#page_settings .cptm-menu-title { + display: none; +} + #personalization .cptm-menu-title { display: none; } + +#import_export .cptm-menu-title { + display: none; +} + .directorist-extensions > td > div { margin: -2px 35px 10px; border: 1px solid #e3e6ef; @@ -25392,23 +46421,27 @@ span.drop-toggle-caret:before { -webkit-transition: 0.3s ease; transition: 0.3s ease; } + .ext-more { position: absolute; right: 0; bottom: 20px; + width: 100%; text-align: center; z-index: 2; } -.directorist-extensions table, -.ext-more { + +.directorist-extensions table { width: 100%; } + .ext-height-fix { height: 250px !important; overflow: hidden; -webkit-transition: 0.3s ease; transition: 0.3s ease; } + .ext-height-fix:before { position: absolute; content: ""; @@ -25418,29 +46451,33 @@ span.drop-toggle-caret:before { linear, right top, right bottom, - from(hsla(0, 0%, 100%, 0)), - color-stop(hsla(0, 0%, 100%, 0.94)), + from(rgba(255, 255, 255, 0)), + color-stop(rgba(255, 255, 255, 0.94)), to(#fff) ); background: linear-gradient( - hsla(0, 0%, 100%, 0), - hsla(0, 0%, 100%, 0.94), + rgba(255, 255, 255, 0), + rgba(255, 255, 255, 0.94), #fff ); right: 0; bottom: 0; } + .ext-more-link { color: #090e2a; font-size: 14px; font-weight: 500; } + .directorist-setup-wizard-vh-none { height: auto; } + .directorist-setup-wizard-wrapper { padding: 100px 0; } + .atbdp-setup-content { font-family: Arial; width: 700px; @@ -25451,18 +46488,22 @@ span.drop-toggle-caret:before { background-color: #fff; overflow: hidden; } + .atbdp-setup-content .atbdp-c-header { padding: 32px 40px 23px; border-bottom: 1px solid #f1f2f6; } + .atbdp-setup-content .atbdp-c-header h1 { font-size: 28px; font-weight: 600; margin: 0; } + .atbdp-setup-content .atbdp-c-body { padding: 30px 40px 50px; } + .atbdp-setup-content .atbdp-c-logo { text-align: center; margin-bottom: 40px; @@ -25470,18 +46511,22 @@ span.drop-toggle-caret:before { .atbdp-setup-content .atbdp-c-logo img { width: 200px; } + .atbdp-setup-content .atbdp-c-body p { font-size: 16px; line-height: 26px; color: #5a5f7d; } + .atbdp-setup-content .atbdp-c-body .atbdp-c-intro-title { font-size: 26px; font-weight: 500; } + .wintro-text { margin-top: 100px; } + .atbdp-setup-content .atbdp-c-footer { background-color: #f4f5f7; padding: 20px 40px; @@ -25494,9 +46539,11 @@ span.drop-toggle-caret:before { -ms-flex-pack: end; justify-content: flex-end; } + .atbdp-setup-content .atbdp-c-footer p { margin: 0; } + .wbtn { padding: 0 20px; line-height: 48px; @@ -25509,12 +46556,14 @@ span.drop-toggle-caret:before { background-color: #fff; cursor: pointer; } + .wbtn-primary { background-color: #4353ff; border-color: #4353ff; color: #fff; margin-right: 6px; } + .w-skip-link { color: #5a5f7d; font-size: 15px; @@ -25522,6 +46571,7 @@ span.drop-toggle-caret:before { display: inline-block; text-decoration: none; } + .w-form-group { display: -webkit-box; display: -webkit-flex; @@ -25540,22 +46590,29 @@ span.drop-toggle-caret:before { align-items: center; margin-bottom: 25px; } + .w-form-group:last-child { margin-bottom: 0; } + .w-form-group label { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; font-size: 15px; font-weight: 500; } -.w-form-group div, -.w-form-group label { + +.w-form-group div { -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; } -.w-form-group input[type="text"], -.w-form-group select { + +.w-form-group select, +.w-form-group input[type="text"] { width: 100%; height: 42px; border-radius: 4px; @@ -25565,16 +46622,19 @@ span.drop-toggle-caret:before { box-sizing: border-box; cursor: pointer; } + .atbdp-sw-gmap-key small { display: block; margin-top: 4px; color: #9299b8; } + .w-toggle-switch { position: relative; width: 48px; height: 26px; } + .w-toggle-switch .w-switch { -webkit-appearance: none; -moz-appearance: none; @@ -25589,12 +46649,14 @@ span.drop-toggle-caret:before { width: 0; cursor: pointer; } -.w-toggle-switch .w-switch:after, -.w-toggle-switch .w-switch:before { + +.w-toggle-switch .w-switch:before, +.w-toggle-switch .w-switch:after { content: ""; font-size: 15px; position: absolute; } + .w-toggle-switch .w-switch:before { border-radius: 19px; background-color: #c8cadf; @@ -25605,14 +46667,15 @@ span.drop-toggle-caret:before { transition: background-color 0.25s ease-out 0.1s; width: 48px; } + .w-toggle-switch .w-switch:after { -webkit-box-shadow: 0 0 4px rgba(146, 155, 177, 0.15); box-shadow: 0 0 4px rgba(146, 155, 177, 0.15); border-radius: 50%; background-color: #fefefe; height: 18px; - -webkit-transform: translate(0); - transform: translate(0); + -webkit-transform: translate(0, 0); + transform: translate(0, 0); -webkit-transition: -webkit-transform 0.25s ease-out 0.1s; transition: -webkit-transform 0.25s ease-out 0.1s; transition: transform 0.25s ease-out 0.1s; @@ -25622,16 +46685,20 @@ span.drop-toggle-caret:before { width: 18px; top: 1px; } + .w-toggle-switch .w-switch:checked:after { - -webkit-transform: translate(-20px); - transform: translate(-20px); + -webkit-transform: translate(-20px, 0); + transform: translate(-20px, 0); } + .w-toggle-switch .w-switch:checked:before { background-color: #4353ff; } + .w-input-group { position: relative; } + .w-input-group span { position: absolute; right: 1px; @@ -25651,9 +46718,11 @@ span.drop-toggle-caret:before { background-color: #eff0f3; border-radius: 0 4px 4px 0; } + .w-input-group input { padding-right: 58px !important; } + .wicon-done { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -25675,20 +46744,24 @@ span.drop-toggle-caret:before { color: #fff; margin-bottom: 10px; } + .wsteps-done { margin-top: 30px; text-align: center; } + .wsteps-done h2 { font-size: 24px; font-weight: 500; margin-bottom: 50px; } + .wbtn-outline-primary { border-color: #4353ff; color: #4353ff; margin-right: 6px; } + .atbdp-c-footer-center { -webkit-box-pack: center !important; -webkit-justify-content: center !important; @@ -25696,18 +46769,24 @@ span.drop-toggle-caret:before { justify-content: center !important; padding: 30px !important; } + .atbdp-c-footer-center a { color: #2c99ff; } + .atbdp-none { display: none; } + .directorist-importer__importing { position: relative; } + .directorist-importer__importing h2 { margin-top: 0; } + +/* progressbar style */ .directorist-importer__importing progress { border-radius: 15px; width: 100%; @@ -25715,9 +46794,11 @@ span.drop-toggle-caret:before { overflow: hidden; position: relative; } + .directorist-importer__importing .directorist-importer-wrapper { position: relative; } + .directorist-importer__importing .directorist-importer-wrapper .directorist-importer-length { @@ -25727,6 +46808,7 @@ span.drop-toggle-caret:before { top: 0; overflow: hidden; } + .directorist-importer__importing .directorist-importer-wrapper .directorist-importer-length:before { @@ -25741,28 +46823,30 @@ span.drop-toggle-caret:before { right top, left top, from(transparent), - color-stop(hsla(0, 0%, 100%, 0.25)), + color-stop(rgba(255, 255, 255, 0.25)), to(transparent) ); background: linear-gradient( - 270deg, + to left, transparent, - hsla(0, 0%, 100%, 0.25), + rgba(255, 255, 255, 0.25), transparent ); -webkit-animation: slideRight 2s linear infinite; animation: slideRight 2s linear infinite; } + @-webkit-keyframes slideRight { - 0% { + from { right: 0; } to { right: 100%; } } + @keyframes slideRight { - 0% { + from { right: 0; } to { @@ -25773,68 +46857,78 @@ span.drop-toggle-caret:before { background-color: #e8f0f8; border-radius: 15px; } + .directorist-importer__importing progress::-webkit-progress-value { background-color: #2c99ff; } + .directorist-importer__importing progress::-moz-progress-bar { background-color: #e8f0f8; border-radius: 15px; border: none; box-shadow: none; } + .directorist-importer__importing progress[value]::-moz-progress-bar { background-color: #2c99ff; } + .directorist-importer__importing span.importer-notice { display: block; color: #5a5f7d; font-size: 15px; padding-bottom: 13px; } + .directorist-importer__importing span.importer-details { display: block; color: #5a5f7d; font-size: 15px; padding-top: 13px; } + .directorist-importer__importing .spinner.is-active { width: 15px; height: 15px; border-radius: 50%; + border: 3px solid #ddd; position: absolute; left: 20px; top: 26px; background: transparent; - border: 3px solid #ddd; border-left-color: #4353ff; -webkit-animation: swRotate 2s linear infinite; animation: swRotate 2s linear infinite; } + @-webkit-keyframes swRotate { 0% { -webkit-transform: rotate(0); transform: rotate(0); } - to { - -webkit-transform: rotate(-1turn); - transform: rotate(-1turn); + 100% { + -webkit-transform: rotate(-360deg); + transform: rotate(-360deg); } } + @keyframes swRotate { 0% { -webkit-transform: rotate(0); transform: rotate(0); } - to { - -webkit-transform: rotate(-1turn); - transform: rotate(-1turn); + 100% { + -webkit-transform: rotate(-360deg); + transform: rotate(-360deg); } } +/* custom select */ .w-form-group .select2-container--default .select2-selection--single { height: 40px; border: 1px solid #c6d0dc; border-radius: 4px; } + .w-form-group .select2-container--default .select2-selection--single @@ -25843,6 +46937,7 @@ span.drop-toggle-caret:before { line-height: 38px; padding: 0 15px; } + .w-form-group .select2-container--default .select2-selection--single @@ -25850,18 +46945,22 @@ span.drop-toggle-caret:before { height: 38px; left: 5px; } + .w-form-group span.select2-selection.select2-selection--single:focus { outline: 0; } + .select2-dropdown { border: 1px solid #c6d0dc !important; - border-top: 0 !important; + border-top: 0 none !important; } + .directorist-content-active .select2-container--default .select2-results__option[aria-selected="true"] { background-color: #eee !important; } + .directorist-content-active .select2-container--default .select2-results__option--highlighted, @@ -25870,28 +46969,31 @@ span.drop-toggle-caret:before { .select2-results__option[aria-selected="true"].select2-results__option--highlighted { background-color: #4353ff !important; } + .btn-hide { display: none; } + .directorist-setup-wizard { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-align: start; -webkit-align-items: flex-start; -ms-flex-align: start; align-items: flex-start; height: auto; margin: 0; - font-family: Inter; + font-family: "Inter"; } -.directorist-setup-wizard, .directorist-setup-wizard__wrapper { + height: 100%; + min-height: 100vh; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -} -.directorist-setup-wizard__wrapper { - height: 100%; - min-height: 100vh; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; @@ -25902,27 +47004,28 @@ span.drop-toggle-caret:before { background-color: #f4f5f7; } .directorist-setup-wizard__header { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; gap: 30px; + -webkit-box-align: center; + -webkit-align-items: center; -ms-flex-align: center; + align-items: center; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; - background-color: #fff; + background-color: #ffffff; -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); } -.directorist-setup-wizard__header, .directorist-setup-wizard__header__step { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - align-items: center; -} -.directorist-setup-wizard__header__step { -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; @@ -25935,7 +47038,10 @@ span.drop-toggle-caret:before { -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; + -webkit-box-align: center; + -webkit-align-items: center; -ms-flex-align: center; + align-items: center; } @media (max-width: 767px) { .directorist-setup-wizard__header__step { @@ -25986,8 +47092,8 @@ span.drop-toggle-caret:before { height: 12px; background-color: #ebebeb; } -.directorist-setup-wizard__header__step .atbdp-setup-steps li.active:after, -.directorist-setup-wizard__header__step .atbdp-setup-steps li.done:after { +.directorist-setup-wizard__header__step .atbdp-setup-steps li.done:after, +.directorist-setup-wizard__header__step .atbdp-setup-steps li.active:after { background-color: #4353ff; } .directorist-setup-wizard__logo { @@ -26059,7 +47165,7 @@ span.drop-toggle-caret:before { -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; - background-color: #fff; + background-color: #ffffff; -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); } @@ -26088,6 +47194,7 @@ span.drop-toggle-caret:before { border-radius: 8px; font-size: 15px; background-color: #4353ff; + border-color: #4353ff; color: #fff; border: none; cursor: pointer; @@ -26154,7 +47261,7 @@ span.drop-toggle-caret:before { width: 20px; height: 20px; border-radius: 50%; - border: 2px solid #fff; + border: 2px solid #ffffff; border-top-color: #4353ff; position: absolute; top: 12px; @@ -26281,7 +47388,7 @@ span.drop-toggle-caret:before { width: 100%; max-width: 720px; margin: 0 auto; - background-color: #fff; + background-color: #ffffff; border-radius: 8px; -webkit-box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05); box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05); @@ -26394,7 +47501,7 @@ span.drop-toggle-caret:before { } .directorist-setup-wizard__content__import__single label:after { content: ""; - background-image: url(../images/52912e13371376d03cbd266752b1fe5e.svg); + background-image: url(../js/../images/52912e13371376d03cbd266752b1fe5e.svg); background-repeat: no-repeat; width: 9px; height: 7px; @@ -26429,13 +47536,19 @@ span.drop-toggle-caret:before { text-align: center; } .directorist-setup-wizard__content__btns { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; gap: 15px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; } -.directorist-setup-wizard__content__btns, .directorist-setup-wizard__content__pricing__checkbox { display: -webkit-box; display: -webkit-flex; @@ -26444,8 +47557,6 @@ span.drop-toggle-caret:before { -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; -} -.directorist-setup-wizard__content__pricing__checkbox { gap: 20px; -webkit-box-pack: justify; -webkit-justify-content: space-between; @@ -26499,7 +47610,7 @@ span.drop-toggle-caret:before { input[type="checkbox"]:checked ~ label:after { left: 5px; - background-color: #fff; + background-color: #ffffff; } .directorist-setup-wizard__content__pricing__checkbox input[type="checkbox"]:checked @@ -26611,7 +47722,7 @@ span.drop-toggle-caret:before { input[type="checkbox"]:checked ~ label:after { left: 5px; - background-color: #fff; + background-color: #ffffff; } .directorist-setup-wizard__content__gateway__checkbox .enable-warning { -webkit-box-flex: 0; @@ -26638,8 +47749,8 @@ span.drop-toggle-caret:before { font-size: 14px; font-weight: 500; color: #484848; - -webkit-transition: color eases 0.3s; - transition: color eases 0.3s; + -webkit-transition: color 0.3s eases; + transition: color 0.3s eases; } .directorist-setup-wizard__content__notice:hover { color: #4353ff; @@ -26656,7 +47767,9 @@ span.drop-toggle-caret:before { gap: 10px; } @media (max-width: 480px) { - .directorist-setup-wizard__checkbox, + .directorist-setup-wizard__checkbox { + width: 100%; + } .directorist-setup-wizard__checkbox label { width: 100%; } @@ -26686,7 +47799,7 @@ span.drop-toggle-caret:before { } .directorist-setup-wizard__checkbox label:before { content: ""; - background-image: url(../images/ce51f4953f209124fb4786d7d5946493.svg); + background-image: url(../js/../images/ce51f4953f209124fb4786d7d5946493.svg); background-repeat: no-repeat; width: 16px; height: 16px; @@ -26707,7 +47820,7 @@ span.drop-toggle-caret:before { } .directorist-setup-wizard__checkbox input[type="checkbox"]:checked - ~ label:before { + ~ label::before { opacity: 1; } .directorist-setup-wizard__checkbox input[type="checkbox"]:disabled ~ label { @@ -26810,7 +47923,7 @@ span.drop-toggle-caret:before { max-width: 720px; margin: 0 auto; padding: 30px 40px 40px; - background-color: #fff; + background-color: #ffffff; border-radius: 8px; -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); @@ -26850,7 +47963,7 @@ span.drop-toggle-caret:before { } .directorist-setup-wizard__box__content__form:before { content: ""; - background-image: url(../images/2b491f8827936e353fbe598bfae84852.svg); + background-image: url(../js/../images/2b491f8827936e353fbe598bfae84852.svg); background-repeat: no-repeat; width: 14px; height: 14px; @@ -26859,7 +47972,7 @@ span.drop-toggle-caret:before { top: 14px; } .directorist-setup-wizard__box__content__form .address_result { - background-color: #fff; + background-color: #ffffff; -webkit-box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); } @@ -26875,7 +47988,8 @@ span.drop-toggle-caret:before { width: 100%; height: 44px; border-radius: 8px; - padding: 0 40px 0 60px; + padding: 0 40px; + padding-left: 60px; outline: none; background-color: #ebebeb; border: 1px solid #ebebeb; @@ -26888,7 +48002,7 @@ span.drop-toggle-caret:before { top: 14px; } .directorist-setup-wizard__box__content__input--clear - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 16px; height: 16px; background-color: #484848; @@ -26899,7 +48013,7 @@ span.drop-toggle-caret:before { top: 14px; } .directorist-setup-wizard__box__content__location-icon - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 16px; height: 16px; background-color: #484848; @@ -26912,7 +48026,7 @@ span.drop-toggle-caret:before { border-radius: 8px; } .directorist-setup-wizard__map .leaflet-touch .leaflet-bar a { - background: #fff; + background: #ffffff; } .directorist-setup-wizard__map .leaflet-marker-icon @@ -26920,8 +48034,8 @@ span.drop-toggle-caret:before { width: 30px; height: 30px; background-color: #e23636; - -webkit-mask-image: url(../images/2823e3547c32a23392a06652e69a8a71.svg); - mask-image: url(../images/2823e3547c32a23392a06652e69a8a71.svg); + -webkit-mask-image: url(../js/../images/2823e3547c32a23392a06652e69a8a71.svg); + mask-image: url(../js/../images/2823e3547c32a23392a06652e69a8a71.svg); } .directorist-setup-wizard__notice { position: absolute; @@ -26934,19 +48048,254 @@ span.drop-toggle-caret:before { font-style: italic; color: #f80718; } + @-webkit-keyframes spin { - 0% { + from { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + to { + -webkit-transform: rotate(-360deg); + transform: rotate(-360deg); + } +} + +@keyframes spin { + from { -webkit-transform: rotate(0deg); transform: rotate(0deg); } to { - -webkit-transform: rotate(-1turn); - transform: rotate(-1turn); + -webkit-transform: rotate(-360deg); + transform: rotate(-360deg); } } +/* data Progressing */ .directorist-setup-wizard__step .directorist-setup-wizard__content.hidden { display: none; } + +.middle-content.middle-content-import { + background: white; + padding: 40px; + -webkit-box-shadow: + 0px 4px 6px -2px rgba(0, 0, 0, 0.05), + 0px 10px 15px -3px rgba(0, 0, 0, 0.1); + box-shadow: + 0px 4px 6px -2px rgba(0, 0, 0, 0.05), + 0px 10px 15px -3px rgba(0, 0, 0, 0.1); + width: 600px; + border-radius: 8px; +} +.middle-content.hidden { + display: none; +} + +.directorist-import-progress-info-text { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-align-content: center; + -ms-flex-line-pack: center; + align-content: center; + grid-gap: 10px; +} + +.directorist-import-progress, +.directorist-import-error { + margin-top: 25px; +} +.directorist-import-progress .directorist-import-progress-bar-wrap, +.directorist-import-error .directorist-import-progress-bar-wrap { + position: relative; + overflow: hidden; +} +.directorist-import-progress .import-progress-gap span, +.directorist-import-error .import-progress-gap span { + background: white; + height: 6px; + position: absolute; + width: 10px; + top: -1px; +} +.directorist-import-progress .import-progress-gap span:nth-child(1), +.directorist-import-error .import-progress-gap span:nth-child(1) { + right: calc(25% - 10px); +} +.directorist-import-progress .import-progress-gap span:nth-child(2), +.directorist-import-error .import-progress-gap span:nth-child(2) { + right: calc(50% - 10px); +} +.directorist-import-progress .import-progress-gap span:nth-child(3), +.directorist-import-error .import-progress-gap span:nth-child(3) { + right: calc(75% - 10px); +} +.directorist-import-progress .directorist-import-progress-bar-bg, +.directorist-import-error .directorist-import-progress-bar-bg { + height: 4px; + background: #e5e7eb; + width: 100%; + position: relative; +} +.directorist-import-progress + .directorist-import-progress-bar-bg + .directorist-import-progress-bar, +.directorist-import-error + .directorist-import-progress-bar-bg + .directorist-import-progress-bar { + position: absolute; + right: 0; + top: 0; + background: #2563eb; + -webkit-transition: all 1s; + transition: all 1s; + width: 0%; + height: 100%; +} +.directorist-import-progress + .directorist-import-progress-bar-bg + .directorist-import-progress-bar.import-done, +.directorist-import-error + .directorist-import-progress-bar-bg + .directorist-import-progress-bar.import-done { + background: #38c172; +} +.directorist-import-progress .directorist-import-progress-info, +.directorist-import-error .directorist-import-progress-info { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + margin-top: 15px; + margin-bottom: 15px; +} + +.directorist-import-error .directorist-import-error-box { + overflow-y: scroll; +} +.directorist-import-error .directorist-import-progress-bar-bg { + width: 100%; + margin-bottom: 15px; +} +.directorist-import-error + .directorist-import-progress-bar-bg + .directorist-import-progress-bar { + background: #2563eb; +} + +.directorist-import-process-step-bottom { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} +.directorist-import-process-step-bottom img { + width: 335px; + text-align: center; + display: inline-block; + padding: 20px 10px 0; +} + +.import-done-congrats { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.import-done-congrats span { + margin-right: 17px; +} + +.import-done-section { + margin-top: 60px; +} +.import-done-section .tweet-import-success .tweet-text { + background: #ffffff; + border: 1px solid rgba(34, 101, 235, 0.1); + border-radius: 4px; + padding: 14px 21px 14px 21px; +} +.import-done-section .tweet-import-success .twitter-btn-wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 7px; + left: 30px; + position: absolute; + margin-top: 8px; + text-decoration: none; +} +.import-done-section .import-done-text { + margin-top: 60px; +} +.import-done-section .import-done-text .import-done-counter { + text-align: right; +} +.import-done-section .import-done-text .import-done-button { + margin-top: 25px; +} + +.directorist-import-done-inner, +.import-done-counter, +.import-done-section { + display: none; +} + +.import-done .import-status-string, +.import-done .directorist-import-text-inner { + display: none; +} +.import-done .import-done-counter, +.import-done .directorist-import-done-inner, +.import-done .import-done-section { + display: block; +} + +.import-progress-warning { + position: relative; + top: 10px; + font-size: 15px; + font-weight: 500; + color: #e91e63; + display: block; + text-align: center; +} + .directorist-create-directory { display: -webkit-box; display: -webkit-flex; @@ -26957,7 +48306,7 @@ span.drop-toggle-caret:before { -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; - font-family: Inter; + font-family: "Inter"; margin-right: -20px; } .directorist-create-directory * { @@ -26982,31 +48331,35 @@ span.drop-toggle-caret:before { margin: 50px 0; } .directorist-create-directory__header { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; gap: 30px; + -webkit-box-align: center; + -webkit-align-items: center; -ms-flex-align: center; + align-items: center; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; - background-color: #fff; + background-color: #ffffff; padding: 12px 32px; border-bottom: 1px solid #e5e7eb; } -.directorist-create-directory__header, .directorist-create-directory__logo { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - align-items: center; -} -.directorist-create-directory__logo { -webkit-align-self: stretch; -ms-flex-item-align: stretch; align-self: stretch; + -webkit-box-align: center; + -webkit-align-items: center; -ms-flex-align: center; + align-items: center; padding: 15px 25px; border-left: 1px solid #e7e7e7; } @@ -27115,7 +48468,7 @@ span.drop-toggle-caret:before { -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; - background-color: #fff; + background-color: #ffffff; -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); } @@ -27144,6 +48497,7 @@ span.drop-toggle-caret:before { border-radius: 8px; font-size: 15px; background-color: #4353ff; + border-color: #4353ff; color: #fff; border: none; cursor: pointer; @@ -27154,8 +48508,8 @@ span.drop-toggle-caret:before { .directorist-create-directory__btn:hover { opacity: 0.85; } -.directorist-create-directory__btn.disabled, -.directorist-create-directory__btn:disabled { +.directorist-create-directory__btn:disabled, +.directorist-create-directory__btn.disabled { opacity: 0.5; pointer-events: none; cursor: not-allowed; @@ -27188,8 +48542,8 @@ span.drop-toggle-caret:before { font-weight: 600; background-color: #3e62f5; border-color: #3e62f5; - -webkit-box-shadow: 0 1px 2px 0 rgba(27, 36, 44, 0.12); - box-shadow: 0 1px 2px 0 rgba(27, 36, 44, 0.12); + -webkit-box-shadow: 0px 1px 2px 0px rgba(27, 36, 44, 0.12); + box-shadow: 0px 1px 2px 0px rgba(27, 36, 44, 0.12); } .directorist-create-directory__btn.loading { position: relative; @@ -27213,7 +48567,7 @@ span.drop-toggle-caret:before { width: 20px; height: 20px; border-radius: 50%; - border: 2px solid #fff; + border: 2px solid #ffffff; border-top-color: #4353ff; position: absolute; top: 10px; @@ -27254,9 +48608,9 @@ span.drop-toggle-caret:before { animation: spin 2s linear infinite; } .directorist-create-directory__next - .directorist_regenerate_fields.loading:after, + .directorist_regenerate_fields.loading:before, .directorist-create-directory__next - .directorist_regenerate_fields.loading:before { + .directorist_regenerate_fields.loading:after { display: none; } @media (max-width: 375px) { @@ -27264,8 +48618,7 @@ span.drop-toggle-caret:before { gap: 15px; } } -.directorist-create-directory__back, -.directorist-create-directory__back__btn { +.directorist-create-directory__back { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -27273,17 +48626,22 @@ span.drop-toggle-caret:before { gap: 8px; } .directorist-create-directory__back__btn { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; + gap: 8px; color: #141921; font-size: 14px; font-weight: 500; line-height: 20px; } -.directorist-create-directory__back__btn img, -.directorist-create-directory__back__btn svg { +.directorist-create-directory__back__btn svg, +.directorist-create-directory__back__btn img { width: 20px; height: 20px; } @@ -27356,8 +48714,8 @@ span.drop-toggle-caret:before { height: 8px; background-color: #d2d6db; } -.directorist-create-directory__step .atbdp-setup-steps li.active:after, -.directorist-create-directory__step .atbdp-setup-steps li.done:after { +.directorist-create-directory__step .atbdp-setup-steps li.done:after, +.directorist-create-directory__step .atbdp-setup-steps li.active:after { background-color: #6e89f7; } .directorist-create-directory__step .step-count { @@ -27369,13 +48727,13 @@ span.drop-toggle-caret:before { .directorist-create-directory__content { border-radius: 10px; border: 1px solid #e5e7eb; - background-color: #fff; + background-color: white; -webkit-box-shadow: - 0 3px 2px -1px rgba(27, 36, 44, 0.02), - 0 15px 24px -6px rgba(27, 36, 44, 0.08); + 0px 3px 2px -1px rgba(27, 36, 44, 0.02), + 0px 15px 24px -6px rgba(27, 36, 44, 0.08); box-shadow: - 0 3px 2px -1px rgba(27, 36, 44, 0.02), - 0 15px 24px -6px rgba(27, 36, 44, 0.08); + 0px 3px 2px -1px rgba(27, 36, 44, 0.02), + 0px 15px 24px -6px rgba(27, 36, 44, 0.08); max-width: 622px; min-width: 622px; overflow: auto; @@ -27424,7 +48782,7 @@ span.drop-toggle-caret:before { padding: 32px; width: 100%; margin: 0 auto; - background-color: #fff; + background-color: #ffffff; border-radius: 8px; -webkit-box-sizing: border-box; box-sizing: border-box; @@ -27477,7 +48835,7 @@ span.drop-toggle-caret:before { align-self: stretch; border-radius: 8px; border: 1px solid #d2d6db; - background-color: #fff; + background-color: white; color: #747c89; text-overflow: ellipsis; white-space: nowrap; @@ -27501,7 +48859,7 @@ span.drop-toggle-caret:before { overflow: auto; } .directorist-create-directory__content__input.form-control.--textarea:focus { - background-color: #fff; + background-color: white; } .directorist-create-directory__content__input.form-control.--icon-none { padding: 7px 16px; @@ -27560,8 +48918,8 @@ span.drop-toggle-caret:before { .directorist-create-directory__content__input.form-control:hover { color: #141921; border-color: #3e62f5; - -webkit-box-shadow: 0 0 0 3px rgba(103, 146, 244, 0.3); - box-shadow: 0 0 0 3px rgba(103, 146, 244, 0.3); + -webkit-box-shadow: 0px 0px 0px 3px rgba(103, 146, 244, 0.3); + box-shadow: 0px 0px 0px 3px rgba(103, 146, 244, 0.3); } .directorist-create-directory__content__input[name="directory-location"]::-webkit-search-cancel-button { position: relative; @@ -27571,14 +48929,14 @@ span.drop-toggle-caret:before { width: 20px; background: #d1d1d7; -webkit-appearance: none; - -webkit-mask-image: url(../images/fbe9a71fb4cca6c00727edfa817798b2.svg); - mask-image: url(../images/fbe9a71fb4cca6c00727edfa817798b2.svg); + -webkit-mask-image: url(../js/../images/fbe9a71fb4cca6c00727edfa817798b2.svg); + mask-image: url(../js/../images/fbe9a71fb4cca6c00727edfa817798b2.svg); } .directorist-create-directory__content__input.empty, .directorist-create-directory__content__input.max-char-reached { border-color: #ff0808 !important; - -webkit-box-shadow: 0 0 3px 3px rgba(212, 15, 15, 0.3) !important; - box-shadow: 0 0 3px 3px rgba(212, 15, 15, 0.3) !important; + -webkit-box-shadow: 0px 0px 3px 3px rgba(212, 15, 15, 0.3) !important; + box-shadow: 0px 0px 3px 3px rgba(212, 15, 15, 0.3) !important; } .directorist-create-directory__content__input ~ .character-count { width: 100%; @@ -27619,6 +48977,14 @@ span.drop-toggle-caret:before { .directorist-create-directory__content__input-group.--options .--options-wrapper { width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; @@ -27628,9 +48994,7 @@ span.drop-toggle-caret:before { flex-wrap: wrap; gap: 15px 10px; } -.directorist-create-directory__content__input-group.--options .--options-left, -.directorist-create-directory__content__input-group.--options - .--options-wrapper { +.directorist-create-directory__content__input-group.--options .--options-left { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -27639,8 +49003,6 @@ span.drop-toggle-caret:before { -webkit-align-items: center; -ms-flex-align: center; align-items: center; -} -.directorist-create-directory__content__input-group.--options .--options-left { gap: 8px; overflow: hidden; color: #747c89; @@ -27667,7 +49029,7 @@ span.drop-toggle-caret:before { display: -webkit-flex; display: -ms-flexbox; display: flex; - padding: 0 8px; + padding: 0px 8px; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; @@ -27704,8 +49066,8 @@ span.drop-toggle-caret:before { right: 20px; pointer-events: none; } -.directorist-create-directory__content__input-icon img, -.directorist-create-directory__content__input-icon svg { +.directorist-create-directory__content__input-icon svg, +.directorist-create-directory__content__input-icon img { width: 20px; height: 20px; -webkit-transition: 0.3s; @@ -27729,46 +49091,43 @@ span.drop-toggle-caret:before { border-top: 1px solid #e5e7eb; } .directorist-create-directory__content__btns { - gap: 15px; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; -} -.directorist-create-directory__content__btns, -.directorist-create-directory__content__notice { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + gap: 15px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; } .directorist-create-directory__content__notice { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; gap: 5px; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; font-size: 14px; font-weight: 500; color: #484848; - -webkit-transition: color eases 0.3s; - transition: color eases 0.3s; + -webkit-transition: color 0.3s eases; + transition: color 0.3s eases; } .directorist-create-directory__content__notice:hover { color: #4353ff; } .directorist-create-directory__generate { - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -} -.directorist-create-directory__generate, -.directorist-create-directory__generate .directory-img { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -27777,13 +49136,30 @@ span.drop-toggle-caret:before { -webkit-align-items: center; -ms-flex-align: center; align-items: center; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; } .directorist-create-directory__generate .directory-img { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; padding: 4px; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; } .directorist-create-directory__generate .directory-img @@ -27858,7 +49234,9 @@ span.drop-toggle-caret:before { gap: 10px; } @media (max-width: 480px) { - .directorist-create-directory__checkbox, + .directorist-create-directory__checkbox { + width: 100%; + } .directorist-create-directory__checkbox label { width: 100%; } @@ -27915,14 +49293,14 @@ span.drop-toggle-caret:before { .directorist-create-directory__checkbox input[type="checkbox"] { display: none; } -.directorist-create-directory__checkbox input[type="checkbox"]:focus ~ label, -.directorist-create-directory__checkbox input[type="checkbox"]:hover ~ label { +.directorist-create-directory__checkbox input[type="checkbox"]:hover ~ label, +.directorist-create-directory__checkbox input[type="checkbox"]:focus ~ label { color: #383f47; background-color: #e5e7eb; border-color: #e5e7eb; } .directorist-create-directory__checkbox input[type="checkbox"]:checked ~ label { - color: #fff; + color: #ffffff; background-color: #6e89f7; border-color: #6e89f7; } @@ -27938,14 +49316,14 @@ span.drop-toggle-caret:before { .directorist-create-directory__checkbox input[type="radio"] { display: none; } -.directorist-create-directory__checkbox input[type="radio"]:focus ~ label, -.directorist-create-directory__checkbox input[type="radio"]:hover ~ label { +.directorist-create-directory__checkbox input[type="radio"]:hover ~ label, +.directorist-create-directory__checkbox input[type="radio"]:focus ~ label { color: #383f47; background-color: #e5e7eb; border-color: #e5e7eb; } .directorist-create-directory__checkbox input[type="radio"]:checked ~ label { - color: #fff; + color: #ffffff; background-color: #6e89f7; border-color: #6e89f7; } @@ -27995,9 +49373,87 @@ span.drop-toggle-caret:before { font-weight: 400; color: #787878; } +.directorist-create-directory__go-pro { + margin-top: 20px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding: 8px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-align-self: stretch; + -ms-flex-item-align: stretch; + align-self: stretch; + border-radius: 6px; + border: 1px solid #9eb0fa; + background: #f0f3ff; +} +.directorist-create-directory__go-pro-title { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding: 8px; + -webkit-box-align: start; + -webkit-align-items: flex-start; + -ms-flex-align: start; + align-items: flex-start; + gap: 10px; + color: #4d5761; + font-size: 14px; + font-weight: 400; + line-height: 20px; +} +.directorist-create-directory__go-pro-title svg { + padding: 4px 8px; + width: 32px; + max-height: 16px; + color: #3e62f5; +} .directorist-create-directory__go-pro-button a { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + width: 146px; + height: 32px; + padding: 0px 16px; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 8px; + color: #141921; + font-size: 12px; + font-weight: 600; + line-height: 19px; + text-transform: capitalize; + border-radius: 6px; + border: 1px solid #d2d6db; + background: #f0f3ff; + -webkit-box-shadow: 0px 1px 2px 0px rgba(27, 36, 44, 0.12); + box-shadow: 0px 1px 2px 0px rgba(27, 36, 44, 0.12); -webkit-box-sizing: border-box; box-sizing: border-box; + -webkit-transition: opacity 0.3s ease; + transition: opacity 0.3s ease; +} +.directorist-create-directory__go-pro-button a:hover { + background-color: #3e62f5; + border-color: #3e62f5; + color: white; + opacity: 0.85; } .directorist-create-directory__counter { width: 100%; @@ -28032,7 +49488,7 @@ span.drop-toggle-caret:before { max-width: 720px; margin: 0 auto; padding: 30px 40px 40px; - background-color: #fff; + background-color: #ffffff; border-radius: 8px; -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); @@ -28072,7 +49528,7 @@ span.drop-toggle-caret:before { } .directorist-create-directory__box__content__form:before { content: ""; - background-image: url(../images/2b491f8827936e353fbe598bfae84852.svg); + background-image: url(../js/../images/2b491f8827936e353fbe598bfae84852.svg); background-repeat: no-repeat; width: 14px; height: 14px; @@ -28081,7 +49537,7 @@ span.drop-toggle-caret:before { top: 14px; } .directorist-create-directory__box__content__form .address_result { - background-color: #fff; + background-color: #ffffff; -webkit-box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); } @@ -28097,7 +49553,8 @@ span.drop-toggle-caret:before { width: 100%; height: 44px; border-radius: 8px; - padding: 0 40px 0 60px; + padding: 0 40px; + padding-left: 60px; outline: none; background-color: #ebebeb; border: 1px solid #ebebeb; @@ -28110,7 +49567,7 @@ span.drop-toggle-caret:before { top: 14px; } .directorist-create-directory__box__content__input--clear - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 16px; height: 16px; background-color: #484848; @@ -28121,7 +49578,7 @@ span.drop-toggle-caret:before { top: 14px; } .directorist-create-directory__box__content__location-icon - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 16px; height: 16px; background-color: #484848; @@ -28134,7 +49591,7 @@ span.drop-toggle-caret:before { border-radius: 8px; } .directorist-create-directory__map .leaflet-touch .leaflet-bar a { - background: #fff; + background: #ffffff; } .directorist-create-directory__notice { position: absolute; @@ -28147,6 +49604,7 @@ span.drop-toggle-caret:before { font-style: italic; color: #f80718; } + .directorist-box { display: -webkit-box; display: -webkit-flex; @@ -28197,11 +49655,11 @@ span.drop-toggle-caret:before { -webkit-transition: 0.3s; transition: 0.3s; } -.directorist-box__input-wrapper:focus, -.directorist-box__input-wrapper:hover { +.directorist-box__input-wrapper:hover, +.directorist-box__input-wrapper:focus { border: 1px solid #3e62f5; - -webkit-box-shadow: 0 0 0 3px rgba(103, 146, 244, 0.3); - box-shadow: 0 0 0 3px rgba(103, 146, 244, 0.3); + -webkit-box-shadow: 0px 0px 0px 3px rgba(103, 146, 244, 0.3); + box-shadow: 0px 0px 0px 3px rgba(103, 146, 244, 0.3); } .directorist-box__input[type="text"] { padding: 0 8px; @@ -28300,10 +49758,20 @@ span.drop-toggle-caret:before { margin: 0; } .directorist-box__tagList li:not(:only-child, :last-child) { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; height: 24px; padding: 0 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + gap: 8px; border-radius: 4px; background: #f3f4f6; + margin: 0; text-transform: capitalize; color: #4d5761; font-size: 12px; @@ -28311,8 +49779,7 @@ span.drop-toggle-caret:before { line-height: 16px; letter-spacing: 0.12px; } -.directorist-box__recommended-list, -.directorist-box__tagList li:not(:only-child, :last-child) { +.directorist-box__recommended-list { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -28321,14 +49788,12 @@ span.drop-toggle-caret:before { -webkit-align-items: center; -ms-flex-align: center; align-items: center; - gap: 8px; - margin: 0; -} -.directorist-box__recommended-list { -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; + gap: 8px; padding: 0; + margin: 0; } .directorist-box__recommended-list.recommend-disable { opacity: 0.5; @@ -28366,15 +49831,26 @@ span.drop-toggle-caret:before { color: #383f47; background-color: #e5e7eb; } -.directorist-box__recommended-list li.disabled, +.directorist-box__recommended-list li.disabled { + display: none; +} .directorist-box__recommended-list li.free-disabled { display: none; } .directorist-box__recommended-list li.free-disabled:hover { background-color: #cfd8dc; } + .directorist-box-options__wrapper { width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; @@ -28385,8 +49861,7 @@ span.drop-toggle-caret:before { gap: 15px 10px; margin-top: 12px; } -.directorist-box-options__left, -.directorist-box-options__wrapper { +.directorist-box-options__left { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -28395,8 +49870,6 @@ span.drop-toggle-caret:before { -webkit-align-items: center; -ms-flex-align: center; align-items: center; -} -.directorist-box-options__left { gap: 8px; overflow: hidden; color: #747c89; @@ -28423,7 +49896,15 @@ span.drop-toggle-caret:before { .directorist-box-options__hit-button { border-radius: 4px; background: #e5e7eb; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; padding: 0 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; gap: 6px; overflow: hidden; color: #141921; @@ -28432,24 +49913,22 @@ span.drop-toggle-caret:before { font-weight: 400; line-height: 24px; } -.directorist-box-options__hit-button, + .directorist-create-directory__go-pro { + margin-top: 20px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; -} -.directorist-create-directory__go-pro { - margin-top: 20px; padding: 8px; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-align-self: stretch; -ms-flex-item-align: stretch; align-self: stretch; @@ -28504,26 +49983,29 @@ span.drop-toggle-caret:before { border-radius: 6px; border: 1px solid #d2d6db; background: #f0f3ff; - -webkit-box-shadow: 0 1px 2px 0 rgba(27, 36, 44, 0.12); - box-shadow: 0 1px 2px 0 rgba(27, 36, 44, 0.12); + -webkit-box-shadow: 0px 1px 2px 0px rgba(27, 36, 44, 0.12); + box-shadow: 0px 1px 2px 0px rgba(27, 36, 44, 0.12); -webkit-transition: opacity 0.3s ease; transition: opacity 0.3s ease; } .directorist-create-directory__go-pro-button a:hover { background-color: #3e62f5; border-color: #3e62f5; - color: #fff; + color: white; opacity: 0.85; } + .directory-generate-btn { margin-bottom: 20px; } .directory-generate-btn__content { + border-radius: 6px; border-radius: 8px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + padding: 12.5px 64px 12.5px 61px; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; @@ -28535,11 +50017,11 @@ span.drop-toggle-caret:before { border: 1px solid #e5e7eb; background: #fff; -webkit-box-shadow: - 0 16px 24px -6px rgba(27, 36, 44, 0.16), - 0 2px 2px -1px rgba(27, 36, 44, 0.04); + 0px 16px 24px -6px rgba(27, 36, 44, 0.16), + 0px 2px 2px -1px rgba(27, 36, 44, 0.04); box-shadow: - 0 16px 24px -6px rgba(27, 36, 44, 0.16), - 0 2px 2px -1px rgba(27, 36, 44, 0.04); + 0px 16px 24px -6px rgba(27, 36, 44, 0.16), + 0px 2px 2px -1px rgba(27, 36, 44, 0.04); gap: 8px; color: #141921; font-size: 12px; @@ -28547,7 +50029,7 @@ span.drop-toggle-caret:before { line-height: 20px; position: relative; padding: 10px; - margin: 0 2px 3px; + margin: 0 2px 3px 2px; border-radius: 6px; } .directory-generate-btn--bg { @@ -28574,15 +50056,22 @@ span.drop-toggle-caret:before { .directory-generate-btn__wrapper { position: relative; width: 347px; - background-color: #fff; + background-color: white; border-radius: 5px; - margin: 0 auto 20px; + margin: 0 auto; + margin-bottom: 20px; } + .directory-generate-progress-list { margin-top: 34px; } .directory-generate-progress-list ul { + margin: 0; padding: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; @@ -28594,15 +50083,12 @@ span.drop-toggle-caret:before { align-items: center; gap: 18px; } -.directory-generate-progress-list ul, .directory-generate-progress-list ul li { margin: 0; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -} -.directory-generate-progress-list ul li { -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; @@ -28634,8 +50120,8 @@ span.drop-toggle-caret:before { background-color: #3e62f5; border: 1px solid #3e62f5; color: #fff !important; - -webkit-box-shadow: 0 1px 2px 0 rgba(27, 36, 44, 0.12); - box-shadow: 0 1px 2px 0 rgba(27, 36, 44, 0.12); + -webkit-box-shadow: 0px 1px 2px 0px rgba(27, 36, 44, 0.12); + box-shadow: 0px 1px 2px 0px rgba(27, 36, 44, 0.12); height: 40px; border-radius: 8px; display: -webkit-box; @@ -28662,8 +50148,9 @@ span.drop-toggle-caret:before { opacity: 0.5; pointer-events: none; } + .directorist-ai-generate-box { - background-color: #fff; + background-color: white; padding: 32px; } .directorist-ai-generate-box__header { @@ -28705,17 +50192,31 @@ span.drop-toggle-caret:before { margin: 0; } .directorist-ai-generate-box__items { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; padding: 24px; border-radius: 8px; background: #f3f4f6; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-align: start; + -webkit-align-items: flex-start; + -ms-flex-align: start; + align-items: flex-start; gap: 8px; + -webkit-align-self: stretch; -ms-flex-item-align: stretch; + align-self: stretch; margin: 0; max-height: 540px; overflow-y: auto; } -.directorist-ai-generate-box__item, -.directorist-ai-generate-box__items { +.directorist-ai-generate-box__item { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -28725,26 +50226,25 @@ span.drop-toggle-caret:before { -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; - -webkit-box-align: start; - -webkit-align-items: flex-start; - -ms-flex-align: start; - align-items: flex-start; - -webkit-align-self: stretch; - align-self: stretch; -} -.directorist-ai-generate-box__item { -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + -webkit-box-align: start; + -webkit-align-items: flex-start; + -ms-flex-align: start; + align-items: flex-start; gap: 10px; + -webkit-align-self: stretch; -ms-flex-item-align: stretch; + align-self: stretch; } .directorist-ai-generate-box__item.pinned .directorist-ai-generate-dropdown__pin-icon svg { color: #3e62f5; } + .directorist-ai-generate-dropdown { border: 1px solid #e5e7eb; border-radius: 8px; @@ -28802,7 +50302,7 @@ span.drop-toggle-caret:before { display: -webkit-flex; display: -ms-flexbox; display: flex; - padding: 0 6px 0 12px; + padding: 0px 6px 0px 12px; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; @@ -28842,7 +50342,7 @@ span.drop-toggle-caret:before { display: -webkit-flex; display: -ms-flexbox; display: flex; - padding: 0 24px 0 12px; + padding: 0px 24px 0px 12px; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; @@ -28866,7 +50366,7 @@ span.drop-toggle-caret:before { font-style: normal; font-weight: 500; line-height: 13.92px; - margin: 4px 0 0; + margin: 4px 0 0 0; } .directorist-ai-generate-dropdown__content { display: none; @@ -28878,8 +50378,8 @@ span.drop-toggle-caret:before { font-weight: 500; line-height: 13.92px; } -.directorist-ai-generate-dropdown__content--expanded, -.directorist-ai-generate-dropdown__content[aria-expanded="true"] { +.directorist-ai-generate-dropdown__content[aria-expanded="true"], +.directorist-ai-generate-dropdown__content--expanded { display: block; } .directorist-ai-generate-dropdown__header-icon { @@ -28897,6 +50397,7 @@ span.drop-toggle-caret:before { width: 20px; height: 20px; } + .directorist-ai-location-field__title { color: #4d5761; font-family: Inter; @@ -28954,6 +50455,7 @@ span.drop-toggle-caret:before { width: 20px; height: 20px; } + .directorist-ai-checkbox-field__label { color: #4d5761; font-size: 14px; @@ -29016,6 +50518,7 @@ span.drop-toggle-caret:before { flex-direction: column; gap: 24px; } + .directorist-ai-keyword-field__label { color: #4d5761; font-size: 14px; @@ -29051,10 +50554,10 @@ span.drop-toggle-caret:before { height: 32px; } .directorist-ai-keyword-field__list-item.--px-8 { - padding: 0 8px; + padding: 0px 8px; } .directorist-ai-keyword-field__list-item.--px-12 { - padding: 0 12px; + padding: 0px 12px; } .directorist-ai-keyword-field__list-item { display: -webkit-box; @@ -29091,35 +50594,39 @@ span.drop-toggle-caret:before { flex-direction: column; gap: 24px; } + @keyframes spin { - 0% { + from { -webkit-transform: rotate(0deg); transform: rotate(0deg); } to { - -webkit-transform: rotate(-1turn); - transform: rotate(-1turn); + -webkit-transform: rotate(-360deg); + transform: rotate(-360deg); } } +/* data Progressing */ .directorist-create-directory__step .directorist-create-directory__content.hidden { display: none; } + .middle-content.middle-content-import { - background: #fff; + background: white; padding: 40px; -webkit-box-shadow: - 0 4px 6px -2px rgba(0, 0, 0, 0.05), - 0 10px 15px -3px rgba(0, 0, 0, 0.1); + 0px 4px 6px -2px rgba(0, 0, 0, 0.05), + 0px 10px 15px -3px rgba(0, 0, 0, 0.1); box-shadow: - 0 4px 6px -2px rgba(0, 0, 0, 0.05), - 0 10px 15px -3px rgba(0, 0, 0, 0.1); + 0px 4px 6px -2px rgba(0, 0, 0, 0.05), + 0px 10px 15px -3px rgba(0, 0, 0, 0.1); width: 600px; border-radius: 8px; } .middle-content.hidden { display: none; } + .directorist-import-progress-info-text { display: -webkit-box; display: -webkit-flex; @@ -29134,46 +50641,47 @@ span.drop-toggle-caret:before { align-content: center; grid-gap: 10px; } -.directorist-import-error, -.directorist-import-progress { + +.directorist-import-progress, +.directorist-import-error { margin-top: 25px; } -.directorist-import-error .directorist-import-progress-bar-wrap, -.directorist-import-progress .directorist-import-progress-bar-wrap { +.directorist-import-progress .directorist-import-progress-bar-wrap, +.directorist-import-error .directorist-import-progress-bar-wrap { position: relative; overflow: hidden; } -.directorist-import-error .import-progress-gap span, -.directorist-import-progress .import-progress-gap span { - background: #fff; +.directorist-import-progress .import-progress-gap span, +.directorist-import-error .import-progress-gap span { + background: white; height: 6px; position: absolute; width: 10px; top: -1px; } -.directorist-import-error .import-progress-gap span:first-child, -.directorist-import-progress .import-progress-gap span:first-child { +.directorist-import-progress .import-progress-gap span:nth-child(1), +.directorist-import-error .import-progress-gap span:nth-child(1) { right: calc(25% - 10px); } -.directorist-import-error .import-progress-gap span:nth-child(2), -.directorist-import-progress .import-progress-gap span:nth-child(2) { +.directorist-import-progress .import-progress-gap span:nth-child(2), +.directorist-import-error .import-progress-gap span:nth-child(2) { right: calc(50% - 10px); } -.directorist-import-error .import-progress-gap span:nth-child(3), -.directorist-import-progress .import-progress-gap span:nth-child(3) { +.directorist-import-progress .import-progress-gap span:nth-child(3), +.directorist-import-error .import-progress-gap span:nth-child(3) { right: calc(75% - 10px); } -.directorist-import-error .directorist-import-progress-bar-bg, -.directorist-import-progress .directorist-import-progress-bar-bg { +.directorist-import-progress .directorist-import-progress-bar-bg, +.directorist-import-error .directorist-import-progress-bar-bg { height: 4px; background: #e5e7eb; width: 100%; position: relative; } -.directorist-import-error +.directorist-import-progress .directorist-import-progress-bar-bg .directorist-import-progress-bar, -.directorist-import-progress +.directorist-import-error .directorist-import-progress-bar-bg .directorist-import-progress-bar { position: absolute; @@ -29182,19 +50690,19 @@ span.drop-toggle-caret:before { background: #2563eb; -webkit-transition: all 1s; transition: all 1s; - width: 0; + width: 0%; height: 100%; } -.directorist-import-error +.directorist-import-progress .directorist-import-progress-bar-bg .directorist-import-progress-bar.import-done, -.directorist-import-progress +.directorist-import-error .directorist-import-progress-bar-bg .directorist-import-progress-bar.import-done { background: #38c172; } -.directorist-import-error .directorist-import-progress-info, -.directorist-import-progress .directorist-import-progress-info { +.directorist-import-progress .directorist-import-progress-info, +.directorist-import-error .directorist-import-progress-info { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -29210,6 +50718,7 @@ span.drop-toggle-caret:before { margin-top: 15px; margin-bottom: 15px; } + .directorist-import-error .directorist-import-error-box { overflow-y: scroll; } @@ -29222,6 +50731,7 @@ span.drop-toggle-caret:before { .directorist-import-progress-bar { background: #2563eb; } + .directorist-import-process-step-bottom { display: -webkit-box; display: -webkit-flex; @@ -29247,6 +50757,7 @@ span.drop-toggle-caret:before { display: inline-block; padding: 20px 10px 0; } + .import-done-congrats { display: -webkit-box; display: -webkit-flex; @@ -29260,14 +50771,15 @@ span.drop-toggle-caret:before { .import-done-congrats span { margin-right: 17px; } + .import-done-section { margin-top: 60px; } .import-done-section .tweet-import-success .tweet-text { - background: #fff; + background: #ffffff; border: 1px solid rgba(34, 101, 235, 0.1); border-radius: 4px; - padding: 14px 21px; + padding: 14px 21px 14px 21px; } .import-done-section .tweet-import-success .twitter-btn-wrap { display: -webkit-box; @@ -29293,18 +50805,23 @@ span.drop-toggle-caret:before { .import-done-section .import-done-text .import-done-button { margin-top: 25px; } + .directorist-import-done-inner, .import-done-counter, -.import-done-section, -.import-done .directorist-import-text-inner, -.import-done .import-status-string { +.import-done-section { + display: none; +} + +.import-done .import-status-string, +.import-done .directorist-import-text-inner { display: none; } -.import-done .directorist-import-done-inner, .import-done .import-done-counter, +.import-done .directorist-import-done-inner, .import-done .import-done-section { display: block; } + .import-progress-warning { position: relative; top: 10px; diff --git a/assets/css/all-listings.css b/assets/css/all-listings.css index a5a7ffe917..83c85562a5 100644 --- a/assets/css/all-listings.css +++ b/assets/css/all-listings.css @@ -1,14 +1,15 @@ /*!******************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-4.use[1]!./node_modules/resolve-url-loader/index.js!./node_modules/postcss-loader/src/index.js??clonedRuleSet-4.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-4.use[4]!./assets/src/scss/layout/public/main-style.scss ***! \******************************************************************************************************************************************************************************************************************************************************************************************************/ +/* typography */ @-webkit-keyframes rotate360 { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } - to { - -webkit-transform: rotate(1turn); - transform: rotate(1turn); + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); } } @keyframes rotate360 { @@ -16,17 +17,17 @@ -webkit-transform: rotate(0deg); transform: rotate(0deg); } - to { - -webkit-transform: rotate(1turn); - transform: rotate(1turn); + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); } } @-webkit-keyframes atbd_spin { 0% { -webkit-transform: rotate(0deg); } - to { - -webkit-transform: rotate(1turn); + 100% { + -webkit-transform: rotate(360deg); } } @keyframes atbd_spin { @@ -34,9 +35,9 @@ -webkit-transform: rotate(0deg); transform: rotate(0deg); } - to { - -webkit-transform: rotate(1turn); - transform: rotate(1turn); + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); } } @-webkit-keyframes atbd_spin2 { @@ -44,9 +45,9 @@ -webkit-transform: translate(-50%, -50%) rotate(0deg); transform: translate(-50%, -50%) rotate(0deg); } - to { - -webkit-transform: translate(-50%, -50%) rotate(1turn); - transform: translate(-50%, -50%) rotate(1turn); + 100% { + -webkit-transform: translate(-50%, -50%) rotate(360deg); + transform: translate(-50%, -50%) rotate(360deg); } } @keyframes atbd_spin2 { @@ -54,9 +55,9 @@ -webkit-transform: translate(-50%, -50%) rotate(0deg); transform: translate(-50%, -50%) rotate(0deg); } - to { - -webkit-transform: translate(-50%, -50%) rotate(1turn); - transform: translate(-50%, -50%) rotate(1turn); + 100% { + -webkit-transform: translate(-50%, -50%) rotate(360deg); + transform: translate(-50%, -50%) rotate(360deg); } } @-webkit-keyframes atbd_scale { @@ -64,34 +65,48 @@ -webkit-transform: scale(0.8); transform: scale(0.8); } - to { + 100% { + -webkit-transform: scale(1); + transform: scale(1); + } +} +@keyframes atbd_scale { + 0% { + -webkit-transform: scale(0.8); + transform: scale(0.8); + } + 100% { -webkit-transform: scale(1); transform: scale(1); } } +.reset-pseudo-link:visited, .reset-pseudo-link:active, -.reset-pseudo-link:focus, -.reset-pseudo-link:visited { +.reset-pseudo-link:focus { outline: none; -webkit-box-shadow: none; box-shadow: none; } + .cptm-shortcodes { max-height: 300px; overflow: scroll; } + .directorist-center-content { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } + .directorist-center-content-inline { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; } + .directorist-center-content, .directorist-center-content-inline { -webkit-box-pack: center; @@ -111,122 +126,170 @@ -ms-flex-direction: column; flex-direction: column; } + .directorist-text-right { text-align: right; } + +.directorist-text-center { + text-align: center; +} + .directorist-text-left { text-align: left; } + .directorist-mt-0 { margin-top: 0 !important; } + .directorist-mt-5 { margin-top: 5px !important; } + .directorist-mt-10 { margin-top: 10px !important; } + .directorist-mt-15 { margin-top: 15px !important; } + .directorist-mt-20 { margin-top: 20px !important; } + .directorist-mt-30 { margin-top: 30px !important; } + .directorist-mb-0 { margin-bottom: 0 !important; } + +.directorist-mb-35 { + margin-bottom: 35px !important; +} + +.directorist-mb-30 { + margin-bottom: 30px !important; +} + .directorist-mb-25 { margin-bottom: 25px !important; } + +.directorist-mb-20 { + margin-bottom: 20px !important; +} + .directorist-mb-n20 { margin-bottom: -20px !important; } + .directorist-mb-10 { margin-bottom: 10px !important; } + .directorist-mb-15 { margin-bottom: 15px !important; } + .directorist-mb-20 { margin-bottom: 20px !important; } + .directorist-mb-30 { margin-bottom: 30px !important; } + .directorist-mb-35 { margin-bottom: 35px !important; } + .directorist-mb-40 { margin-bottom: 40px !important; } + .directorist-mb-50 { margin-bottom: 50px !important; } + .directorist-mb-70 { margin-bottom: 70px !important; } + .directorist-mb-80 { margin-bottom: 80px !important; } + .directorist-pb-100 { padding-bottom: 100px !important; } + .directorist-w-100 { width: 100% !important; max-width: 100% !important; } + .directorist-flex { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } + .directorist-flex-wrap { -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; } + .directorist-align-center { -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; } + .directorist-justify-content-center { -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; } + .directorist-justify-content-between { -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; } + .directorist-justify-content-around { -webkit-justify-content: space-around; -ms-flex-pack: distribute; justify-content: space-around; } + .directorist-justify-content-start { -webkit-box-pack: start; -webkit-justify-content: flex-start; -ms-flex-pack: start; justify-content: flex-start; } + .directorist-justify-content-end { -webkit-box-pack: end; -webkit-justify-content: flex-end; -ms-flex-pack: end; justify-content: flex-end; } + .directorist-display-none { display: none; } + .directorist-icon-mask:after { content: ""; display: block; @@ -240,16 +303,20 @@ -webkit-mask-image: var(--directorist-icon); mask-image: var(--directorist-icon); } + .directorist-error__msg { color: var(--directorist-color-danger); font-size: 14px; } + .directorist-content-active .entry-content .directorist-search-contents { width: 100% !important; max-width: 100% !important; -webkit-box-sizing: border-box; box-sizing: border-box; } + +/* directorist module style */ .directorist-content-module { border: 1px solid var(--directorist-color-border); } @@ -359,7 +426,7 @@ } .directorist-content-module__contents .directorist-form-description-field - .mce-top-part:before { + .mce-top-part::before { display: none; } .directorist-content-module__contents @@ -387,13 +454,13 @@ .directorist-content-module__contents .directorist-form-description-field .mce-toolbar - .mce-btn-group - .mce-btn.mce-listbox, + .mce-btn + button, .directorist-content-module__contents .directorist-form-description-field .mce-toolbar - .mce-btn - button { + .mce-btn-group + .mce-btn.mce-listbox { background: transparent; } .directorist-content-module__contents @@ -435,7 +502,7 @@ .directorist-content-module__contents .directorist-form-social-info-field .directorist-btn - i:after { + i::after { width: 16px; height: 16px; background-color: var(--directorist-color-btn); @@ -449,7 +516,7 @@ .directorist-content-module__contents .directorist-form-social-info-field .directorist-btn:hover - i:after { + i::after { background-color: var(--directorist-color-white); } .directorist-content-module__contents @@ -462,15 +529,22 @@ .directorist-checkbox__label { margin-left: 0; } + .directorist-content-active #directorist.atbd_wrapper { max-width: 100%; } .directorist-content-active #directorist.atbd_wrapper .atbd_header_bar { margin-bottom: 35px; } + +#directorist-dashboard-preloader { + display: none; +} + .directorist-form-required { color: var(--directorist-color-danger); } + .directory_register_form_wrap .dgr_show_recaptcha { margin-bottom: 20px; } @@ -483,6 +557,7 @@ .directory_register_form_wrap a { text-decoration: none; } + .atbd_login_btn_wrapper .directorist-btn { line-height: 2.55; padding-top: 0; @@ -493,6 +568,7 @@ .directorist-checkbox__label { color: var(--directorist-color-primary); } + .atbdp_login_form_shortcode .directorist-form-group label { display: inline-block; margin-bottom: 5px; @@ -500,6 +576,7 @@ .atbdp_login_form_shortcode a { text-decoration: none; } + .directory_register_form_wrap .directorist-form-group label { display: inline-block; margin-bottom: 5px; @@ -509,6 +586,7 @@ padding-top: 0; padding-bottom: 0; } + .directorist-quick-login .directorist-form-actions { display: -webkit-box; display: -webkit-flex; @@ -520,12 +598,14 @@ -ms-flex-align: center; align-items: center; } + .atbd_success_mesage > p i { top: 2px; margin-right: 5px; position: relative; display: inline-block; } + .directorist-loader { position: relative; } @@ -534,17 +614,20 @@ content: ""; right: 20px; top: 31%; - border-top: 2px solid var(--directorist-color-white); - border-radius: 50%; border: 2px solid var(--directorist-color-white); - border-top-color: var(--directorist-color-primary); + border-radius: 50%; + border-top: 2px solid var(--directorist-color-primary); width: 20px; height: 20px; -webkit-animation: atbd_spin 2s linear infinite; animation: atbd_spin 2s linear infinite; } + .plupload-upload-uic { + width: 420px; + margin: 0 auto !important; border: 1px dashed var(--directorist-color-border-gray); + padding: 30px; } .plupload-upload-uic .atbdp-dropbox-title { font-weight: 500; @@ -568,6 +651,7 @@ margin-top: 10px; color: var(--directorist-color-deep-gray); } + @media (max-width: 575px) { .plupload-upload-uic { width: 100%; @@ -641,11 +725,14 @@ border-bottom: 1px dashed #e9e9e9; } .directorist-address-field .address_result li:last-child, +.directorist-form-address-field .address_result li:last-child { + border: none; +} .directorist-address-field .address_result li:last-child a, -.directorist-form-address-field .address_result li:last-child, .directorist-form-address-field .address_result li:last-child a { border: none; } + .pac-container { list-style: none; margin: 0; @@ -709,16 +796,21 @@ mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; - -webkit-mask-image: url(../images/2823e3547c32a23392a06652e69a8a71.svg); - mask-image: url(../images/2823e3547c32a23392a06652e69a8a71.svg); + -webkit-mask-image: url(../js/../images/2823e3547c32a23392a06652e69a8a71.svg); + mask-image: url(../js/../images/2823e3547c32a23392a06652e69a8a71.svg); +} +.pac-container:after { + display: none; } -.pac-container:after, + p.status:empty { display: none; } + .gateway_list input[type="radio"] { margin-right: 5px; } + .directorist-checkout-form .directorist-container-fluid { -webkit-box-sizing: border-box; box-sizing: border-box; @@ -726,6 +818,7 @@ p.status:empty { .directorist-checkout-form ul { list-style-type: none; } + .directorist-select select { width: 100%; height: 40px; @@ -736,15 +829,18 @@ p.status:empty { .directorist-select select:focus { outline: 0; } + .directorist-content-active .select2-container--open .select2-dropdown--above { top: 0; border-color: var(--directorist-color-border); } + body.logged-in.directorist-content-active .select2-container--open .select2-dropdown--above { top: 32px; } + .directorist-content-active .select2-container--default .select2-dropdown { border: none; border-radius: 10px !important; @@ -756,7 +852,7 @@ body.logged-in.directorist-content-active .directorist-content-active .select2-container--default .select2-search--dropdown { - padding: 20px 20px 10px; + padding: 20px 20px 10px 20px; } .directorist-content-active .select2-container--default .select2-search__field { padding: 10px 18px !important; @@ -959,6 +1055,7 @@ body.logged-in.directorist-content-active .directorist-icon-mask:after { background-color: var(--directorist-color-body) !important; } + .custom-checkbox input { display: none; } @@ -992,7 +1089,7 @@ body.logged-in.directorist-content-active left: 5px; top: 5px; font-weight: 900; - font-family: Font Awesome\5 Free; + font-family: "Font Awesome 5 Free"; content: "\f00c"; display: block; opacity: 0; @@ -1034,17 +1131,20 @@ body.logged-in.directorist-content-active opacity: 1; color: var(--directorist-color-white); } + .directorist-table { display: table; width: 100%; } + +/* Directorist custom grid */ .directorist-container, .directorist-container-fluid, +.directorist-container-xxl, +.directorist-container-xl, .directorist-container-lg, .directorist-container-md, -.directorist-container-sm, -.directorist-container-xl, -.directorist-container-xxl { +.directorist-container-sm { width: 100%; padding-right: 15px; padding-left: 15px; @@ -1053,43 +1153,44 @@ body.logged-in.directorist-content-active -webkit-box-sizing: border-box; box-sizing: border-box; } + @media (min-width: 576px) { - .directorist-container, - .directorist-container-sm { + .directorist-container-sm, + .directorist-container { max-width: 540px; } } @media (min-width: 768px) { - .directorist-container, .directorist-container-md, - .directorist-container-sm { + .directorist-container-sm, + .directorist-container { max-width: 720px; } } @media (min-width: 992px) { - .directorist-container, .directorist-container-lg, .directorist-container-md, - .directorist-container-sm { + .directorist-container-sm, + .directorist-container { max-width: 960px; } } @media (min-width: 1200px) { - .directorist-container, + .directorist-container-xl, .directorist-container-lg, .directorist-container-md, .directorist-container-sm, - .directorist-container-xl { + .directorist-container { max-width: 1140px; } } @media (min-width: 1400px) { - .directorist-container, + .directorist-container-xxl, + .directorist-container-xl, .directorist-container-lg, .directorist-container-md, .directorist-container-sm, - .directorist-container-xl, - .directorist-container-xxl { + .directorist-container { max-width: 1320px; } } @@ -1106,6 +1207,7 @@ body.logged-in.directorist-content-active margin-top: -15px; min-width: 100%; } + .directorist-row > * { -webkit-box-sizing: border-box; box-sizing: border-box; @@ -1118,12 +1220,14 @@ body.logged-in.directorist-content-active padding-left: 15px; margin-top: 15px; } + .directorist-col { -webkit-box-flex: 1; -webkit-flex: 1 0 0%; -ms-flex: 1 0 0%; flex: 1 0 0%; } + .directorist-col-auto { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; @@ -1131,6 +1235,7 @@ body.logged-in.directorist-content-active flex: 0 0 auto; width: auto; } + .directorist-col-1 { -webkit-box-flex: 1; -webkit-flex: 1; @@ -1138,8 +1243,9 @@ body.logged-in.directorist-content-active flex: 1; width: 8.3333333333%; } -.directorist-col-2, + .directorist-col-2-5, +.directorist-col-2, .directorist-col-3, .directorist-col-4, .directorist-col-5, @@ -1156,39 +1262,51 @@ body.logged-in.directorist-content-active flex: 0 0 auto; max-width: 100%; } + .directorist-offset-1 { margin-left: 8.3333333333%; } + .directorist-offset-2 { margin-left: 16.6666666667%; } + .directorist-offset-3 { margin-left: 25%; } + .directorist-offset-4 { margin-left: 33.3333333333%; } + .directorist-offset-5 { margin-left: 41.6666666667%; } + .directorist-offset-6 { margin-left: 50%; } + .directorist-offset-7 { margin-left: 58.3333333333%; } + .directorist-offset-8 { margin-left: 66.6666666667%; } + .directorist-offset-9 { margin-left: 75%; } + .directorist-offset-10 { margin-left: 83.3333333333%; } + .directorist-offset-11 { margin-left: 91.6666666667%; } + @media (min-width: 576px) { .directorist-col-2, .directorist-col-2-5, @@ -1210,82 +1328,88 @@ body.logged-in.directorist-content-active -ms-flex: 1 0 0%; flex: 1 0 0%; } - .directorist-col-sm-auto { - width: auto; - } - .directorist-col-sm-1, .directorist-col-sm-auto { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; + width: auto; } .directorist-col-sm-1 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 8.3333333333%; } .directorist-col-sm-2 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 16.6666666667%; } - .directorist-col-sm-2, .directorist-col-sm-3 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-sm-3 { width: 25%; } .directorist-col-sm-4 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 33.3333333333%; } - .directorist-col-sm-4, .directorist-col-sm-5 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-sm-5 { width: 41.6666666667%; } .directorist-col-sm-6 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 50%; } - .directorist-col-sm-6, .directorist-col-sm-7 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-sm-7 { width: 58.3333333333%; } .directorist-col-sm-8 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 66.6666666667%; } - .directorist-col-sm-8, .directorist-col-sm-9 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-sm-9 { width: 75%; } .directorist-col-sm-10 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 83.3333333333%; } - .directorist-col-sm-10, .directorist-col-sm-11 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-sm-11 { width: 91.6666666667%; } .directorist-col-sm-12 { @@ -1347,82 +1471,88 @@ body.logged-in.directorist-content-active -ms-flex: 1 0 0%; flex: 1 0 0%; } - .directorist-col-md-auto { - width: auto; - } - .directorist-col-md-1, .directorist-col-md-auto { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; + width: auto; } .directorist-col-md-1 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 8.3333333333%; } .directorist-col-md-2 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 16.6666666667%; } - .directorist-col-md-2, .directorist-col-md-3 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-md-3 { width: 25%; } .directorist-col-md-4 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 33.3333333333%; } - .directorist-col-md-4, .directorist-col-md-5 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-md-5 { width: 41.6666666667%; } .directorist-col-md-6 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 50%; } - .directorist-col-md-6, .directorist-col-md-7 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-md-7 { width: 58.3333333333%; } .directorist-col-md-8 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 66.6666666667%; } - .directorist-col-md-8, .directorist-col-md-9 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-md-9 { width: 75%; } .directorist-col-md-10 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 83.3333333333%; } - .directorist-col-md-10, .directorist-col-md-11 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-md-11 { width: 91.6666666667%; } .directorist-col-md-12 { @@ -1534,82 +1664,88 @@ body.logged-in.directorist-content-active -ms-flex: 1 0 0%; flex: 1 0 0%; } - .directorist-col-lg-auto { - width: auto; - } - .directorist-col-lg-1, .directorist-col-lg-auto { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; + width: auto; } .directorist-col-lg-1 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 8.3333333333%; } .directorist-col-lg-2 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 16.6666666667%; } - .directorist-col-lg-2, .directorist-col-lg-3 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-lg-3 { width: 25%; } .directorist-col-lg-4 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 33.3333333333%; } - .directorist-col-lg-4, .directorist-col-lg-5 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-lg-5 { width: 41.6666666667%; } .directorist-col-lg-6 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 50%; } - .directorist-col-lg-6, .directorist-col-lg-7 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-lg-7 { width: 58.3333333333%; } .directorist-col-lg-8 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 66.6666666667%; } - .directorist-col-lg-8, .directorist-col-lg-9 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-lg-9 { width: 75%; } .directorist-col-lg-10 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 83.3333333333%; } - .directorist-col-lg-10, .directorist-col-lg-11 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-lg-11 { width: 91.6666666667%; } .directorist-col-lg-12 { @@ -1670,97 +1806,103 @@ body.logged-in.directorist-content-active flex: 0 0 25%; max-width: 25%; } - .directorist-col-xl-auto { - width: auto; - } - .directorist-col-xl-1, .directorist-col-xl-auto { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; + width: auto; } .directorist-col-xl-1 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 8.3333333333%; } - .directorist-col-xl-2 { - width: 16.6666666667%; - } - .directorist-col-2, - .directorist-col-2-5, .directorist-col-xl-2 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; + width: 16.6666666667%; } .directorist-col-2, .directorist-col-2-5 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 20%; } .directorist-col-xl-3 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 25%; } - .directorist-col-xl-3, .directorist-col-xl-4 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xl-4 { width: 33.3333333333%; } .directorist-col-xl-5 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 41.6666666667%; } - .directorist-col-xl-5, .directorist-col-xl-6 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xl-6 { width: 50%; } .directorist-col-xl-7 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 58.3333333333%; } - .directorist-col-xl-7, .directorist-col-xl-8 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xl-8 { width: 66.6666666667%; } .directorist-col-xl-9 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 75%; } - .directorist-col-xl-9, .directorist-col-xl-10 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xl-10 { width: 83.3333333333%; } .directorist-col-xl-11 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 91.6666666667%; } - .directorist-col-xl-11, .directorist-col-xl-12 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xl-12 { width: 100%; } .directorist-offset-xl-0 { @@ -1814,82 +1956,88 @@ body.logged-in.directorist-content-active -ms-flex: 1 0 0%; flex: 1 0 0%; } - .directorist-col-xxl-auto { - width: auto; - } - .directorist-col-xxl-1, .directorist-col-xxl-auto { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; + width: auto; } .directorist-col-xxl-1 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 8.3333333333%; } .directorist-col-xxl-2 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 16.6666666667%; } - .directorist-col-xxl-2, .directorist-col-xxl-3 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xxl-3 { width: 25%; } .directorist-col-xxl-4 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 33.3333333333%; } - .directorist-col-xxl-4, .directorist-col-xxl-5 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xxl-5 { width: 41.6666666667%; } .directorist-col-xxl-6 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 50%; } - .directorist-col-xxl-6, .directorist-col-xxl-7 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xxl-7 { width: 58.3333333333%; } .directorist-col-xxl-8 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 66.6666666667%; } - .directorist-col-xxl-8, .directorist-col-xxl-9 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xxl-9 { width: 75%; } .directorist-col-xxl-10 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 83.3333333333%; } - .directorist-col-xxl-10, .directorist-col-xxl-11 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xxl-11 { width: 91.6666666667%; } .directorist-col-xxl-12 { @@ -1936,72 +2084,95 @@ body.logged-in.directorist-content-active margin-left: 91.6666666667%; } } +/* typography */ .atbd_color-primary { color: #444752; } + .atbd_bg-primary { background: #444752; } + .atbd_color-secondary { color: #122069; } + .atbd_bg-secondary { background: #122069; } + .atbd_color-success { color: #00ac17; } + .atbd_bg-success { background: #00ac17; } + .atbd_color-info { color: #2c99ff; } + .atbd_bg-info { background: #2c99ff; } + .atbd_color-warning { color: #ef8000; } + .atbd_bg-warning { background: #ef8000; } + .atbd_color-danger { color: #ef0000; } + .atbd_bg-danger { background: #ef0000; } + .atbd_color-light { color: #9497a7; } + .atbd_bg-light { background: #9497a7; } + .atbd_color-dark { color: #202428; } + .atbd_bg-dark { background: #202428; } + .atbd_color-badge-feature { color: #fa8b0c; } + .atbd_bg-badge-feature { background: #fa8b0c; } + .atbd_color-badge-popular { color: #f51957; } + .atbd_bg-badge-popular { background: #f51957; } + +/* typography */ body.stop-scrolling { height: 100%; overflow: hidden; } + .sweet-overlay { - background-color: #000; + background-color: black; -ms-filter: "alpha(opacity=40)"; background-color: rgba(var(--directorist-color-dark-rgb), 0.4); position: fixed; @@ -2012,14 +2183,10 @@ body.stop-scrolling { display: none; z-index: 10000; } + .sweet-alert { - background-color: #fff; - font-family: - Open Sans, - Helvetica Neue, - Helvetica, - Arial, - sans-serif; + background-color: white; + font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; width: 478px; padding: 17px; border-radius: 5px; @@ -2033,7 +2200,8 @@ body.stop-scrolling { display: none; z-index: 99999; } -@media (max-width: 540px) { + +@media all and (max-width: 540px) { .sweet-alert { width: auto; margin-left: 0; @@ -2045,31 +2213,34 @@ body.stop-scrolling { .sweet-alert h2 { color: #575757; font-size: 30px; + text-align: center; font-weight: 600; text-transform: none; + position: relative; margin: 25px 0; + padding: 0; line-height: 40px; display: block; } -.sweet-alert h2, -.sweet-alert p { - text-align: center; - position: relative; - padding: 0; -} + .sweet-alert p { color: #797979; font-size: 16px; + text-align: center; font-weight: 300; + position: relative; text-align: inherit; float: none; margin: 0; + padding: 0; line-height: normal; } + .sweet-alert fieldset { border: 0; position: relative; } + .sweet-alert .sa-error-container { background-color: #f1f1f1; margin-left: -17px; @@ -2087,6 +2258,7 @@ body.stop-scrolling { padding 0.15s, max-height 0.15s; } + .sweet-alert .sa-error-container.show { padding: 10px 0; max-height: 100px; @@ -2100,20 +2272,23 @@ body.stop-scrolling { padding 0.25s, max-height 0.25s; } + .sweet-alert .sa-error-container .icon { display: inline-block; width: 24px; height: 24px; border-radius: 50%; background-color: #ea7d7d; - color: #fff; + color: white; line-height: 24px; text-align: center; margin-right: 3px; } + .sweet-alert .sa-error-container p { display: inline-block; } + .sweet-alert .sa-input-error { position: absolute; top: 29px; @@ -2128,8 +2303,9 @@ body.stop-scrolling { -webkit-transition: all 0.1s; transition: all 0.1s; } -.sweet-alert .sa-input-error:after, -.sweet-alert .sa-input-error:before { + +.sweet-alert .sa-input-error::before, +.sweet-alert .sa-input-error::after { content: ""; width: 20px; height: 6px; @@ -2141,19 +2317,23 @@ body.stop-scrolling { left: 50%; margin-left: -9px; } -.sweet-alert .sa-input-error:before { + +.sweet-alert .sa-input-error::before { -webkit-transform: rotate(-45deg); transform: rotate(-45deg); } -.sweet-alert .sa-input-error:after { + +.sweet-alert .sa-input-error::after { -webkit-transform: rotate(45deg); transform: rotate(45deg); } + .sweet-alert .sa-input-error.show { opacity: 1; -webkit-transform: scale(1); transform: scale(1); } + .sweet-alert input { width: 100%; -webkit-box-sizing: border-box; @@ -2172,43 +2352,53 @@ body.stop-scrolling { -webkit-transition: all 0.3s; transition: all 0.3s; } + .sweet-alert input:focus { outline: 0; -webkit-box-shadow: 0 0 3px #c4e6f5; box-shadow: 0 0 3px #c4e6f5; border: 1px solid #b4dbed; } + .sweet-alert input:focus::-moz-placeholder { -moz-transition: opacity 0.3s 0.03s ease; - transition: opacity 0.3s ease 0.03s; + transition: opacity 0.3s 0.03s ease; opacity: 0.5; } + .sweet-alert input:focus:-ms-input-placeholder { -ms-transition: opacity 0.3s 0.03s ease; - transition: opacity 0.3s ease 0.03s; + transition: opacity 0.3s 0.03s ease; opacity: 0.5; } + .sweet-alert input:focus::-webkit-input-placeholder { - -webkit-transition: opacity 0.3s ease 0.03s; - transition: opacity 0.3s ease 0.03s; + -webkit-transition: opacity 0.3s 0.03s ease; + transition: opacity 0.3s 0.03s ease; opacity: 0.5; } + .sweet-alert input::-moz-placeholder { color: #bdbdbd; } + .sweet-alert input:-ms-input-placeholder { color: #bdbdbd; } + .sweet-alert input::-webkit-input-placeholder { color: #bdbdbd; } + .sweet-alert.show-input input { display: block; } + .sweet-alert .sa-confirm-button-container { display: inline-block; position: relative; } + .sweet-alert .la-ball-fall { position: absolute; left: 50%; @@ -2218,9 +2408,10 @@ body.stop-scrolling { opacity: 0; visibility: hidden; } + .sweet-alert button { background-color: #8cd4f5; - color: #fff; + color: white; border: 0; -webkit-box-shadow: none; box-shadow: none; @@ -2228,9 +2419,10 @@ body.stop-scrolling { font-weight: 500; border-radius: 5px; padding: 10px 32px; - margin: 26px 5px 0; + margin: 26px 5px 0 5px; cursor: pointer; } + .sweet-alert button:focus { outline: 0; -webkit-box-shadow: @@ -2240,21 +2432,27 @@ body.stop-scrolling { 0 0 2px rgba(128, 179, 235, 0.5), inset 0 0 0 1px rgba(var(--directorist-color-dark-rgb), 0.05); } + .sweet-alert button:hover { background-color: #7ecff4; } + .sweet-alert button:active { background-color: #5dc2f1; } + .sweet-alert button.cancel { background-color: #c1c1c1; } + .sweet-alert button.cancel:hover { background-color: #b9b9b9; } + .sweet-alert button.cancel:active { background-color: #a8a8a8; } + .sweet-alert button.cancel:focus { -webkit-box-shadow: rgba(197, 205, 211, 0.8) 0 0 2px, @@ -2263,33 +2461,40 @@ body.stop-scrolling { rgba(197, 205, 211, 0.8) 0 0 2px, rgba(var(--directorist-color-dark-rgb), 0.0470588) 0 0 0 1px inset !important; } + .sweet-alert button[disabled] { opacity: 0.6; cursor: default; } + .sweet-alert button.confirm[disabled] { color: transparent; } + .sweet-alert button.confirm[disabled] ~ .la-ball-fall { opacity: 1; visibility: visible; -webkit-transition-delay: 0; transition-delay: 0; } + .sweet-alert button::-moz-focus-inner { border: 0; } + .sweet-alert[data-has-cancel-button="false"] button { -webkit-box-shadow: none !important; box-shadow: none !important; } + .sweet-alert[data-has-confirm-button="false"][data-has-cancel-button="false"] { padding-bottom: 40px; } + .sweet-alert .sa-icon { width: 80px; height: 80px; - border: 4px solid grey; + border: 4px solid gray; border-radius: 40px; border-radius: 50%; margin: 20px auto; @@ -2298,13 +2503,16 @@ body.stop-scrolling { -webkit-box-sizing: content-box; box-sizing: content-box; } + .sweet-alert .sa-icon.sa-error { border-color: #f27474; } + .sweet-alert .sa-icon.sa-error .sa-x-mark { position: relative; display: block; } + .sweet-alert .sa-icon.sa-error .sa-line { position: absolute; height: 5px; @@ -2314,19 +2522,23 @@ body.stop-scrolling { top: 37px; border-radius: 2px; } + .sweet-alert .sa-icon.sa-error .sa-line.sa-left { -webkit-transform: rotate(45deg); transform: rotate(45deg); left: 17px; } + .sweet-alert .sa-icon.sa-error .sa-line.sa-right { -webkit-transform: rotate(-45deg); transform: rotate(-45deg); right: 16px; } + .sweet-alert .sa-icon.sa-warning { border-color: #f8bb86; } + .sweet-alert .sa-icon.sa-warning .sa-body { position: absolute; width: 5px; @@ -2337,6 +2549,7 @@ body.stop-scrolling { margin-left: -2px; background-color: #f8bb86; } + .sweet-alert .sa-icon.sa-warning .sa-dot { position: absolute; width: 7px; @@ -2347,10 +2560,12 @@ body.stop-scrolling { bottom: 10px; background-color: #f8bb86; } + .sweet-alert .sa-icon.sa-info { border-color: #c9dae1; } -.sweet-alert .sa-icon.sa-info:before { + +.sweet-alert .sa-icon.sa-info::before { content: ""; position: absolute; width: 5px; @@ -2361,7 +2576,8 @@ body.stop-scrolling { margin-left: -2px; background-color: #c9dae1; } -.sweet-alert .sa-icon.sa-info:after { + +.sweet-alert .sa-icon.sa-info::after { content: ""; position: absolute; width: 7px; @@ -2371,22 +2587,25 @@ body.stop-scrolling { top: 19px; background-color: #c9dae1; } + .sweet-alert .sa-icon.sa-success { border-color: #a5dc86; } -.sweet-alert .sa-icon.sa-success:after, -.sweet-alert .sa-icon.sa-success:before { + +.sweet-alert .sa-icon.sa-success::before, +.sweet-alert .sa-icon.sa-success::after { content: ""; border-radius: 40px; border-radius: 50%; position: absolute; width: 60px; height: 120px; - background: #fff; + background: white; -webkit-transform: rotate(45deg); transform: rotate(45deg); } -.sweet-alert .sa-icon.sa-success:before { + +.sweet-alert .sa-icon.sa-success::before { border-radius: 120px 0 0 120px; top: -7px; left: -33px; @@ -2395,7 +2614,8 @@ body.stop-scrolling { -webkit-transform-origin: 60px 60px; transform-origin: 60px 60px; } -.sweet-alert .sa-icon.sa-success:after { + +.sweet-alert .sa-icon.sa-success::after { border-radius: 0 120px 120px 0; top: -11px; left: 30px; @@ -2404,6 +2624,7 @@ body.stop-scrolling { -webkit-transform-origin: 0 60px; transform-origin: 0 60px; } + .sweet-alert .sa-icon.sa-success .sa-placeholder { width: 80px; height: 80px; @@ -2417,10 +2638,11 @@ body.stop-scrolling { top: -4px; z-index: 2; } + .sweet-alert .sa-icon.sa-success .sa-fix { width: 5px; height: 90px; - background-color: #fff; + background-color: white; position: absolute; left: 28px; top: 8px; @@ -2428,6 +2650,7 @@ body.stop-scrolling { -webkit-transform: rotate(-45deg); transform: rotate(-45deg); } + .sweet-alert .sa-icon.sa-success .sa-line { height: 5px; background-color: #a5dc86; @@ -2436,6 +2659,7 @@ body.stop-scrolling { position: absolute; z-index: 2; } + .sweet-alert .sa-icon.sa-success .sa-line.sa-tip { width: 25px; left: 14px; @@ -2443,6 +2667,7 @@ body.stop-scrolling { -webkit-transform: rotate(45deg); transform: rotate(45deg); } + .sweet-alert .sa-icon.sa-success .sa-line.sa-long { width: 47px; right: 8px; @@ -2450,13 +2675,15 @@ body.stop-scrolling { -webkit-transform: rotate(-45deg); transform: rotate(-45deg); } + .sweet-alert .sa-icon.sa-custom { background-size: contain; border-radius: 0; border: 0; - background-position: 50%; + background-position: center center; background-repeat: no-repeat; } + @-webkit-keyframes showSweetAlert { 0% { transform: scale(0.7); @@ -2470,7 +2697,7 @@ body.stop-scrolling { transform: scale(0.95); -webkit-transform: scale(0.95); } - to { + 100% { transform: scale(1); -webkit-transform: scale(1); } @@ -2488,7 +2715,7 @@ body.stop-scrolling { transform: scale(0.95); -webkit-transform: scale(0.95); } - to { + 100% { transform: scale(1); -webkit-transform: scale(1); } @@ -2498,7 +2725,7 @@ body.stop-scrolling { transform: scale(1); -webkit-transform: scale(1); } - to { + 100% { transform: scale(0.5); -webkit-transform: scale(0.5); } @@ -2508,7 +2735,7 @@ body.stop-scrolling { transform: scale(1); -webkit-transform: scale(1); } - to { + 100% { transform: scale(0.5); -webkit-transform: scale(0.5); } @@ -2517,7 +2744,7 @@ body.stop-scrolling { 0% { top: 0; } - to { + 100% { top: 50%; } } @@ -2525,7 +2752,7 @@ body.stop-scrolling { 0% { top: 0; } - to { + 100% { top: 50%; } } @@ -2533,7 +2760,7 @@ body.stop-scrolling { 0% { top: 50%; } - to { + 100% { top: 0; } } @@ -2541,7 +2768,7 @@ body.stop-scrolling { 0% { top: 50%; } - to { + 100% { top: 0; } } @@ -2549,7 +2776,7 @@ body.stop-scrolling { 0% { top: 70%; } - to { + 100% { top: 50%; } } @@ -2557,7 +2784,7 @@ body.stop-scrolling { 0% { top: 70%; } - to { + 100% { top: 50%; } } @@ -2565,7 +2792,7 @@ body.stop-scrolling { 0% { top: 50%; } - to { + 100% { top: 70%; } } @@ -2573,7 +2800,7 @@ body.stop-scrolling { 0% { top: 50%; } - to { + 100% { top: 70%; } } @@ -2581,34 +2808,42 @@ body.stop-scrolling { -webkit-animation: showSweetAlert 0.3s; animation: showSweetAlert 0.3s; } + .showSweetAlert[data-animation="none"] { -webkit-animation: none; animation: none; } + .showSweetAlert[data-animation="slide-from-top"] { -webkit-animation: slideFromTop 0.3s; animation: slideFromTop 0.3s; } + .showSweetAlert[data-animation="slide-from-bottom"] { -webkit-animation: slideFromBottom 0.3s; animation: slideFromBottom 0.3s; } + .hideSweetAlert[data-animation="pop"] { -webkit-animation: hideSweetAlert 0.2s; animation: hideSweetAlert 0.2s; } + .hideSweetAlert[data-animation="none"] { -webkit-animation: none; animation: none; } + .hideSweetAlert[data-animation="slide-from-top"] { -webkit-animation: slideToTop 0.4s; animation: slideToTop 0.4s; } + .hideSweetAlert[data-animation="slide-from-bottom"] { -webkit-animation: slideToBottom 0.3s; animation: slideToBottom 0.3s; } + @-webkit-keyframes animateSuccessTip { 0% { width: 0; @@ -2630,7 +2865,7 @@ body.stop-scrolling { left: 21px; top: 48px; } - to { + 100% { width: 25px; left: 14px; top: 45px; @@ -2657,7 +2892,7 @@ body.stop-scrolling { left: 21px; top: 48px; } - to { + 100% { width: 25px; left: 14px; top: 45px; @@ -2679,7 +2914,7 @@ body.stop-scrolling { right: 0; top: 35px; } - to { + 100% { width: 47px; right: 8px; top: 38px; @@ -2701,7 +2936,7 @@ body.stop-scrolling { right: 0; top: 35px; } - to { + 100% { width: 47px; right: 8px; top: 38px; @@ -2720,7 +2955,7 @@ body.stop-scrolling { transform: rotate(-405deg); -webkit-transform: rotate(-405deg); } - to { + 100% { transform: rotate(-405deg); -webkit-transform: rotate(-405deg); } @@ -2738,7 +2973,7 @@ body.stop-scrolling { transform: rotate(-405deg); -webkit-transform: rotate(-405deg); } - to { + 100% { transform: rotate(-405deg); -webkit-transform: rotate(-405deg); } @@ -2747,21 +2982,24 @@ body.stop-scrolling { -webkit-animation: animateSuccessTip 0.75s; animation: animateSuccessTip 0.75s; } + .animateSuccessLong { -webkit-animation: animateSuccessLong 0.75s; animation: animateSuccessLong 0.75s; } -.sa-icon.sa-success.animate:after { + +.sa-icon.sa-success.animate::after { -webkit-animation: rotatePlaceholder 4.25s ease-in; animation: rotatePlaceholder 4.25s ease-in; } + @-webkit-keyframes animateErrorIcon { 0% { transform: rotateX(100deg); -webkit-transform: rotateX(100deg); opacity: 0; } - to { + 100% { transform: rotateX(0); -webkit-transform: rotateX(0); opacity: 1; @@ -2773,7 +3011,7 @@ body.stop-scrolling { -webkit-transform: rotateX(100deg); opacity: 0; } - to { + 100% { transform: rotateX(0); -webkit-transform: rotateX(0); opacity: 1; @@ -2783,6 +3021,7 @@ body.stop-scrolling { -webkit-animation: animateErrorIcon 0.5s; animation: animateErrorIcon 0.5s; } + @-webkit-keyframes animateXMark { 0% { transform: scale(0.4); @@ -2801,7 +3040,7 @@ body.stop-scrolling { -webkit-transform: scale(1.15); margin-top: -6px; } - to { + 100% { transform: scale(1); -webkit-transform: scale(1); margin-top: 0; @@ -2826,7 +3065,7 @@ body.stop-scrolling { -webkit-transform: scale(1.15); margin-top: -6px; } - to { + 100% { transform: scale(1); -webkit-transform: scale(1); margin-top: 0; @@ -2837,11 +3076,12 @@ body.stop-scrolling { -webkit-animation: animateXMark 0.5s; animation: animateXMark 0.5s; } + @-webkit-keyframes pulseWarning { 0% { border-color: #f8d486; } - to { + 100% { border-color: #f8bb86; } } @@ -2849,7 +3089,7 @@ body.stop-scrolling { 0% { border-color: #f8d486; } - to { + 100% { border-color: #f8bb86; } } @@ -2857,11 +3097,12 @@ body.stop-scrolling { -webkit-animation: pulseWarning 0.75s infinite alternate; animation: pulseWarning 0.75s infinite alternate; } + @-webkit-keyframes pulseWarningIns { 0% { background-color: #f8d486; } - to { + 100% { background-color: #f8bb86; } } @@ -2869,7 +3110,7 @@ body.stop-scrolling { 0% { background-color: #f8d486; } - to { + 100% { background-color: #f8bb86; } } @@ -2877,14 +3118,15 @@ body.stop-scrolling { -webkit-animation: pulseWarningIns 0.75s infinite alternate; animation: pulseWarningIns 0.75s infinite alternate; } + @-webkit-keyframes rotate-loading { 0% { -webkit-transform: rotate(0); transform: rotate(0); } - to { - -webkit-transform: rotate(1turn); - transform: rotate(1turn); + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); } } @keyframes rotate-loading { @@ -2892,23 +3134,27 @@ body.stop-scrolling { -webkit-transform: rotate(0); transform: rotate(0); } - to { - -webkit-transform: rotate(1turn); - transform: rotate(1turn); + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); } } .sweet-alert .sa-icon.sa-error .sa-line.sa-left { -ms-transform: rotate(45deg) \9; } + .sweet-alert .sa-icon.sa-error .sa-line.sa-right { -ms-transform: rotate(-45deg) \9; } + .sweet-alert .sa-icon.sa-success { border-color: transparent\9; } + .sweet-alert .sa-icon.sa-success .sa-line.sa-tip { -ms-transform: rotate(45deg) \9; } + .sweet-alert .sa-icon.sa-success .sa-line.sa-long { -ms-transform: rotate(-45deg) \9; } @@ -2924,24 +3170,29 @@ body.stop-scrolling { -webkit-box-sizing: border-box; box-sizing: border-box; } + .la-ball-fall { display: block; font-size: 0; color: var(--directorist-color-white); } + .la-ball-fall.la-dark { color: #333; } + .la-ball-fall > div { display: inline-block; float: none; background-color: currentColor; - border: 0 solid; + border: 0 solid currentColor; } + .la-ball-fall { width: 54px; height: 18px; } + .la-ball-fall > div { width: 10px; height: 10px; @@ -2951,45 +3202,55 @@ body.stop-scrolling { -webkit-animation: ball-fall 1s ease-in-out infinite; animation: ball-fall 1s ease-in-out infinite; } -.la-ball-fall > div:first-child { - -webkit-animation-delay: -0.2s; - animation-delay: -0.2s; + +.la-ball-fall > div:nth-child(1) { + -webkit-animation-delay: -200ms; + animation-delay: -200ms; } + .la-ball-fall > div:nth-child(2) { - -webkit-animation-delay: -0.1s; - animation-delay: -0.1s; + -webkit-animation-delay: -100ms; + animation-delay: -100ms; } + .la-ball-fall > div:nth-child(3) { -webkit-animation-delay: 0; animation-delay: 0; } + .la-ball-fall.la-sm { width: 26px; height: 8px; } + .la-ball-fall.la-sm > div { width: 4px; height: 4px; margin: 2px; } + .la-ball-fall.la-2x { width: 108px; height: 36px; } + .la-ball-fall.la-2x > div { width: 20px; height: 20px; margin: 8px; } + .la-ball-fall.la-3x { width: 162px; height: 54px; } + .la-ball-fall.la-3x > div { width: 30px; height: 30px; margin: 12px; } + @-webkit-keyframes ball-fall { 0% { opacity: 0; @@ -3012,7 +3273,7 @@ body.stop-scrolling { 90% { opacity: 0.5; } - to { + 100% { opacity: 0; -webkit-transform: translateY(145%); transform: translateY(145%); @@ -3040,7 +3301,7 @@ body.stop-scrolling { 90% { opacity: 0.5; } - to { + 100% { opacity: 0; -webkit-transform: translateY(145%); transform: translateY(145%); @@ -3058,14 +3319,26 @@ body.stop-scrolling { margin-bottom: 15px; } .directorist-add-listing-types__single__link { - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - background-color: var(--directorist-color-white); - color: var(--directorist-color-primary); - font-size: 16px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: var(--directorist-color-white); + color: var(--directorist-color-primary); + font-size: 16px; font-weight: 500; line-height: 20px; text-align: center; @@ -3078,7 +3351,6 @@ body.stop-scrolling { -webkit-transition: background 0.2s ease; transition: background 0.2s ease; } -.directorist-add-listing-types__single__link, .directorist-add-listing-types__single__link .directorist-icon-mask { display: -webkit-box; display: -webkit-flex; @@ -3092,8 +3364,6 @@ body.stop-scrolling { -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; -} -.directorist-add-listing-types__single__link .directorist-icon-mask { height: 70px; width: 70px; background-color: var(--directorist-color-primary); @@ -3122,10 +3392,14 @@ body.stop-scrolling { .directorist-icon-mask:after { background-color: var(--directorist-color-primary); } +.directorist-add-listing-types__single__link { + /* Legacy Icon */ +} .directorist-add-listing-types__single__link > i:not(.directorist-icon-mask) { display: inline-block; margin-bottom: 10px; } + .directorist-add-listing-wrapper { display: -webkit-box; display: -webkit-flex; @@ -3134,6 +3408,7 @@ body.stop-scrolling { -webkit-box-sizing: border-box; box-sizing: border-box; } + .directorist-add-listing-form .directorist-content-module { -webkit-box-shadow: var(--directorist-box-shadow); box-shadow: var(--directorist-box-shadow); @@ -3154,19 +3429,20 @@ body.stop-scrolling { .directorist-add-listing-form__privacy a { color: var(--directorist-color-info); } -#directiost-listing-fields_wrapper .directorist-content-module, -.directorist-add-listing-form .directorist-content-module { + +.directorist-add-listing-form .directorist-content-module, +#directiost-listing-fields_wrapper .directorist-content-module { margin-bottom: 35px; border-radius: 12px; } @media (max-width: 991px) { - #directiost-listing-fields_wrapper .directorist-content-module, - .directorist-add-listing-form .directorist-content-module { + .directorist-add-listing-form .directorist-content-module, + #directiost-listing-fields_wrapper .directorist-content-module { margin-bottom: 20px; } } -#directiost-listing-fields_wrapper .directorist-content-module__title, -.directorist-add-listing-form .directorist-content-module__title { +.directorist-add-listing-form .directorist-content-module__title, +#directiost-listing-fields_wrapper .directorist-content-module__title { gap: 15px; min-height: 66px; -webkit-box-pack: start; @@ -3174,8 +3450,8 @@ body.stop-scrolling { -ms-flex-pack: start; justify-content: flex-start; } -#directiost-listing-fields_wrapper .directorist-content-module__title i, -.directorist-add-listing-form .directorist-content-module__title i { +.directorist-add-listing-form .directorist-content-module__title i, +#directiost-listing-fields_wrapper .directorist-content-module__title i { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -3192,33 +3468,33 @@ body.stop-scrolling { height: 36px; border-radius: 100%; } -#directiost-listing-fields_wrapper .directorist-content-module__title i:after, -.directorist-add-listing-form .directorist-content-module__title i:after { +.directorist-add-listing-form .directorist-content-module__title i:after, +#directiost-listing-fields_wrapper .directorist-content-module__title i:after { width: 16px; height: 16px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-address-field.atbdp-form-fade, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-address-field.atbdp-form-fade { padding: 0; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-address-field.atbdp-form-fade > input[name="address"], -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-address-field.atbdp-form-fade > input[name="address"] { padding-left: 10px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-address-field.atbdp-form-fade:before, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-address-field.atbdp-form-fade:before { width: 15px; @@ -3227,19 +3503,23 @@ body.stop-scrolling { right: 0; top: 46px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-address-field.atbdp-form-fade:after, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-address-field.atbdp-form-fade:after { height: 40px; top: 26px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module, +#directiost-listing-fields_wrapper .directorist-content-module { + /* social info */ +} +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields { display: -webkit-box; @@ -3256,19 +3536,19 @@ body.stop-scrolling { gap: 20px; margin: 0 0 25px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields:last-child, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields:last-child { margin: 0 0 40px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields .directorist-form-group, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields .directorist-form-group { @@ -3278,12 +3558,12 @@ body.stop-scrolling { flex: 1; margin: 0; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields .directorist-form-group select, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields .directorist-form-group @@ -3292,12 +3572,12 @@ body.stop-scrolling { font-weight: 500; color: var(--directorist-color-dark); } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields .directorist-form-group select.placeholder-item, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields .directorist-form-group @@ -3306,10 +3586,10 @@ body.stop-scrolling { font-weight: 400; color: var(--directorist-color-light-gray); } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input { display: -webkit-box; @@ -3323,10 +3603,10 @@ body.stop-scrolling { flex: 1; } @media screen and (max-width: 480px) { - #directiost-listing-fields_wrapper + .directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input, - .directorist-add-listing-form + #directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input { gap: 10px; @@ -3337,60 +3617,60 @@ body.stop-scrolling { flex-direction: column; } } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-webkit-input-placeholder, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-webkit-input-placeholder { font-weight: 400; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-moz-placeholder, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-moz-placeholder { font-weight: 400; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input:-ms-input-placeholder, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input:-ms-input-placeholder { font-weight: 400; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-ms-input-placeholder, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-ms-input-placeholder { font-weight: 400; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::placeholder, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::placeholder { font-weight: 400; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__remove, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove { display: -webkit-box; @@ -3410,40 +3690,41 @@ body.stop-scrolling { padding: 0; cursor: pointer; border-radius: 100%; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; background-color: var(--directorist-color-light) !important; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__remove - i:after, -.directorist-add-listing-form + i::after, +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove - i:after { + i::after { width: 12px; height: 12px; background-color: var(--directorist-color-light-gray); } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__remove:hover, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove:hover { background-color: var(--directorist-color-primary) !important; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__remove:hover - i:after, -.directorist-add-listing-form + i::after, +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove:hover - i:after { + i::after { background-color: var(--directorist-color-white); } + #directiost-listing-fields_wrapper .directorist-content-module { background-color: var(--directorist-color-white); border-radius: 0; @@ -3472,8 +3753,8 @@ body.stop-scrolling { #directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove - i:after { - background-color: grey; + i::after { + background-color: #808080; } #directiost-listing-fields_wrapper .directorist-content-module @@ -3483,7 +3764,7 @@ body.stop-scrolling { #directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove:hover - i:after { + i::after { background-color: var(--directorist-color-white); } #directiost-listing-fields_wrapper @@ -3542,16 +3823,16 @@ body.stop-scrolling { } #directiost-listing-fields_wrapper .directorist-content-module - .directorist-custom-field-select + .directorist-form-social-fields select.directorist-form-element, #directiost-listing-fields_wrapper .directorist-content-module - .directorist-form-group - .directorist-form-element.directory_pricing_field, + .directorist-custom-field-select + select.directorist-form-element, #directiost-listing-fields_wrapper .directorist-content-module - .directorist-form-social-fields - select.directorist-form-element { + .directorist-form-group + .directorist-form-element.directory_pricing_field { padding-top: 0; padding-bottom: 0; } @@ -3660,7 +3941,7 @@ body.stop-scrolling { height: 6px; border-radius: 50%; background-color: var(--directorist-color-primary); - border: 0; + border: 0 none; -webkit-mask-image: none; mask-image: none; z-index: 2; @@ -3724,8 +4005,8 @@ body.stop-scrolling { left: 5px; top: 5px; content: ""; - -webkit-mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); - mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); + -webkit-mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); + mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 10px; @@ -3749,10 +4030,10 @@ body.stop-scrolling { .directorist-content-module .plupload-upload-uic .plupload-browse-button-label - i:after { + i::after { width: 50px; height: 45px; - background-color: grey; + background-color: #808080; } #directiost-listing-fields_wrapper .directorist-content-module @@ -3775,7 +4056,7 @@ body.stop-scrolling { .directorist-content-module .directorist-form-social-info-field .directorist-btn - i:after { + i::after { background-color: var(--directorist-color-white); } #directiost-listing-fields_wrapper @@ -3784,6 +4065,11 @@ body.stop-scrolling { #gmap { border-radius: 0; } + +/* ========================== + add listing form fields +============================= */ +/* listing label */ .directorist-form-label { display: block; color: var(--directorist-color-dark); @@ -3791,14 +4077,17 @@ body.stop-scrolling { font-size: 14px; font-weight: 500; } -.directorist-custom-field-checkbox > .directorist-form-label, -.directorist-custom-field-file-upload > .directorist-form-label, + .directorist-custom-field-radio > .directorist-form-label, +.directorist-custom-field-checkbox > .directorist-form-label, +.directorist-form-social-info-field > .directorist-form-label, .directorist-form-image-upload-field > .directorist-form-label, -.directorist-form-pricing-field.price-type-both > .directorist-form-label, -.directorist-form-social-info-field > .directorist-form-label { +.directorist-custom-field-file-upload > .directorist-form-label, +.directorist-form-pricing-field.price-type-both > .directorist-form-label { margin-bottom: 18px; } + +/* listing type */ .directorist-form-listing-type { display: -webkit-box; display: -webkit-flex; @@ -3845,9 +4134,10 @@ body.stop-scrolling { + .directorist-radio__label { width: 100%; height: 100%; + padding: 25px; font-size: 14px; font-weight: 500; - padding: 25px 25px 25px 55px; + padding-left: 55px; border-radius: 12px; color: var(--directorist-color-body); border: 3px solid var(--directorist-color-border-gray); @@ -3862,7 +4152,7 @@ body.stop-scrolling { small { display: block; margin-top: 5px; - font-weight: 400; + font-weight: normal; color: var(--directorist-color-success); } .directorist-form-listing-type @@ -3888,6 +4178,8 @@ body.stop-scrolling { border-color: var(--directorist-color-primary); color: var(--directorist-color-primary); } + +/* Pricing */ .directorist-form-pricing-field__options { display: -webkit-box; display: -webkit-flex; @@ -3956,25 +4248,35 @@ body.stop-scrolling { .directorist-form-pricing-field .directorist-form-element { min-width: 100%; } + .price-type-price_range .directorist-form-pricing-field__options, .price-type-price_unit .directorist-form-pricing-field__options { margin: 0; } + +/* location */ .directorist-select-multi select { display: none; } + #directorist-location-select { z-index: 113 !important; } + +/* tags */ #directorist-tag-select { z-index: 112 !important; } + +/* categories */ #directorist-category-select { z-index: 111 !important; } + .directorist-form-group .select2-selection { border-color: #ececec; } + .directorist-form-group .select2-container--default .select2-selection { min-height: 40px; padding-right: 45px; @@ -4001,17 +4303,22 @@ body.stop-scrolling { .directorist-form-group .select2-container--default .select2-selection input { min-height: 26px; } + +/* hide contact owner */ .directorist-hide-owner-field.directorist-checkbox input[type="checkbox"] + .directorist-checkbox__label { font-size: 15px; font-weight: 700; } + +/* Map style */ .directorist-map-coordinate { margin-top: 20px; } + .directorist-map-coordinates { - padding: 0 0 15px; + padding: 0 0 15px 0; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -4039,12 +4346,14 @@ body.stop-scrolling { flex: 0 0 100% !important; max-width: 100% !important; } + .directorist-add-listing-form .directorist-content-module .directorist-map-coordinates .directorist-form-group:not(.directorist-map-coordinates__generate) { margin-bottom: 20px; } + .directorist-form-map-field__wrapper { margin-bottom: 10px; } @@ -4100,8 +4409,8 @@ body.stop-scrolling { border: 50px solid rgba(var(--directorist-color-dark-rgb), 0.2); opacity: 0; visibility: hidden; - -webkit-animation: atbd_scale 3s linear infinite alternate; - animation: atbd_scale 3s linear infinite alternate; + -webkit-animation: atbd_scale 3s linear alternate infinite; + animation: atbd_scale 3s linear alternate infinite; } .directorist-form-map-field__maps #gmap div[role="img"]:after { content: ""; @@ -4115,8 +4424,8 @@ body.stop-scrolling { mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; - -webkit-mask-image: url(../images/ed83bad2b8ea2a7680575ff079fc63af.svg); - mask-image: url(../images/ed83bad2b8ea2a7680575ff079fc63af.svg); + -webkit-mask-image: url(../js/../images/ed83bad2b8ea2a7680575ff079fc63af.svg); + mask-image: url(../js/../images/ed83bad2b8ea2a7680575ff079fc63af.svg); } .directorist-form-map-field__maps #gmap @@ -4129,10 +4438,10 @@ body.stop-scrolling { } .directorist-form-map-field__maps #gmap - div[role="img"].transit-wheelchair-icon:after, + div[role="img"].transit-wheelchair-icon:before, .directorist-form-map-field__maps #gmap - div[role="img"].transit-wheelchair-icon:before { + div[role="img"].transit-wheelchair-icon:after { display: none; } .directorist-form-map-field__maps #gmap div[role="img"]:hover:before { @@ -4179,13 +4488,15 @@ body.stop-scrolling { width: 16px; height: 16px; background-color: var(--directorist-color-marker-icon); - -webkit-mask-image: url(../images/ed83bad2b8ea2a7680575ff079fc63af.svg); - mask-image: url(../images/ed83bad2b8ea2a7680575ff079fc63af.svg); + -webkit-mask-image: url(../js/../images/ed83bad2b8ea2a7680575ff079fc63af.svg); + mask-image: url(../js/../images/ed83bad2b8ea2a7680575ff079fc63af.svg); } .directorist-form-map-field .atbd_map_shape:hover:before { opacity: 1; visibility: visible; } + +/* EZ Media Upload */ .directorist-form-image-upload-field .ez-media-uploader { text-align: center; border-radius: 12px; @@ -4231,7 +4542,7 @@ body.stop-scrolling { .ez-media-uploader .ezmu__media-picker-section .ezmu-icon-upload - i:after { + i::after { width: 90px; height: 80px; background-color: var(--directorist-color-border-gray); @@ -4275,8 +4586,8 @@ body.stop-scrolling { left: 17px; top: 13px; content: ""; - -webkit-mask-image: url(../images/82bc0acb0537c9331637ee2319728e40.svg); - mask-image: url(../images/82bc0acb0537c9331637ee2319728e40.svg); + -webkit-mask-image: url(../js/../images/82bc0acb0537c9331637ee2319728e40.svg); + mask-image: url(../js/../images/82bc0acb0537c9331637ee2319728e40.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 14px; @@ -4353,8 +4664,8 @@ body.stop-scrolling { mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; - -webkit-mask-image: url(../images/6af1e9612a6d7346e1366489fb9fac45.svg); - mask-image: url(../images/6af1e9612a6d7346e1366489fb9fac45.svg); + -webkit-mask-image: url(../js/../images/6af1e9612a6d7346e1366489fb9fac45.svg); + mask-image: url(../js/../images/6af1e9612a6d7346e1366489fb9fac45.svg); } .directorist-form-image-upload-field .ez-media-uploader @@ -4385,7 +4696,7 @@ body.stop-scrolling { .ez-media-uploader .ezmu__preview-section .ezmu__front-item__close-icon - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 12px; height: 12px; } @@ -4393,7 +4704,7 @@ body.stop-scrolling { .ez-media-uploader .ezmu__preview-section .ezmu__front-item__close-icon:hover - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .directorist-form-image-upload-field @@ -4419,6 +4730,7 @@ body.stop-scrolling { .directorist-form-image-upload-field .ezmu__info-list-item:empty { display: none; } + .directorist-add-listing-wrapper { max-width: 1000px !important; margin: 0 auto; @@ -4444,8 +4756,8 @@ body.stop-scrolling { background-color: rgba(var(--directorist-color-dark-rgb), 0.5); opacity: 0; visibility: visible; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } .directorist-add-listing-wrapper .ezmu__thumbnail-list-item:hover @@ -4523,7 +4835,11 @@ body.stop-scrolling { .directorist-add-listing-wrapper .ezmu__info-list .ezmu__info-list-item:before { width: 16px; height: 16px; - background-image: url(../images/83eed1a628ff52c2adf977f50ac7adb4.svg); + background-image: url(../js/../images/83eed1a628ff52c2adf977f50ac7adb4.svg); +} + +.directorist-add-listing-form { + /* form action */ } .directorist-add-listing-form__action { display: -webkit-box; @@ -4550,9 +4866,9 @@ body.stop-scrolling { .directorist-add-listing-form__action .directorist-form-submit__btn.atbd_loading:after { content: ""; - border-radius: 50%; border: 2px solid #f3f3f3; - border-top-color: #656a7a; + border-radius: 50%; + border-top: 2px solid #656a7a; width: 20px; height: 20px; -webkit-animation: rotate360 2s linear infinite; @@ -4579,8 +4895,8 @@ body.stop-scrolling { .directorist-add-listing-form__action #listing_notifier .atbdp_success { color: var(--directorist-color-success); } -.directorist-add-listing-form__action .directorist-checkbox, -.directorist-add-listing-form__action .directorist-form-group { +.directorist-add-listing-form__action .directorist-form-group, +.directorist-add-listing-form__action .directorist-checkbox { margin: 0; padding: 30px 40px 0; -webkit-box-align: start; @@ -4589,37 +4905,35 @@ body.stop-scrolling { align-items: flex-start; } @media only screen and (max-width: 576px) { - .directorist-add-listing-form__action .directorist-checkbox, - .directorist-add-listing-form__action .directorist-form-group { + .directorist-add-listing-form__action .directorist-form-group, + .directorist-add-listing-form__action .directorist-checkbox { padding: 30px 0 0; } .directorist-add-listing-form__action - .directorist-checkbox.directorist-form-privacy, + .directorist-form-group.directorist-form-privacy, .directorist-add-listing-form__action - .directorist-form-group.directorist-form-privacy { + .directorist-checkbox.directorist-form-privacy { padding: 30px 30px 0; } } @media only screen and (max-width: 480px) { - .directorist-add-listing-form__action .directorist-checkbox, - .directorist-add-listing-form__action .directorist-form-group { + .directorist-add-listing-form__action .directorist-form-group, + .directorist-add-listing-form__action .directorist-checkbox { padding: 30px 20px 0; } } -.directorist-add-listing-form__action .directorist-checkbox label, -.directorist-add-listing-form__action .directorist-form-group label { +.directorist-add-listing-form__action .directorist-form-group label, +.directorist-add-listing-form__action .directorist-checkbox label { font-size: 14px; font-weight: 500; margin: 0 0 10px; } -.directorist-add-listing-form__action .directorist-checkbox label a, -.directorist-add-listing-form__action .directorist-form-group label a { +.directorist-add-listing-form__action .directorist-form-group label a, +.directorist-add-listing-form__action .directorist-checkbox label a { color: var(--directorist-color-info); } -.directorist-add-listing-form__action .directorist-checkbox #guest_user_email, -.directorist-add-listing-form__action - .directorist-form-group - #guest_user_email { +.directorist-add-listing-form__action .directorist-form-group #guest_user_email, +.directorist-add-listing-form__action .directorist-checkbox #guest_user_email { margin: 0 0 10px; } .directorist-add-listing-form__action .directorist-form-required { @@ -4673,6 +4987,10 @@ body.stop-scrolling { .directorist-add-listing-form__publish__icon i:after { width: 25px; height: 25px; + } +} +@media only screen and (max-width: 480px) { + .directorist-add-listing-form__publish__icon i:after { width: 22px; height: 22px; } @@ -4705,14 +5023,19 @@ body.stop-scrolling { top: -25px; border: 50px solid rgba(var(--directorist-color-marker-shape-rgb), 0.2); } -.directorist-add-listing-form .atbd_map_shape .directorist-icon-mask:after { +.directorist-add-listing-form .atbd_map_shape .directorist-icon-mask::after { width: 16px; height: 16px; } + +/* Custom Fields */ +/* select */ .directorist-custom-field-select select.directorist-form-element { padding-top: 0; padding-bottom: 0; } + +/* file upload */ .plupload-upload-uic { width: 420px; margin: 0 auto !important; @@ -4729,6 +5052,8 @@ body.stop-scrolling { margin-top: 10px; color: #9299b8; } + +/* quick login */ .directorist-modal-container { display: none; margin: 0 !important; @@ -4741,9 +5066,11 @@ body.stop-scrolling { right: 0; z-index: 999999999999; } + .directorist-modal-container.show { display: block; } + .directorist-modal-wrap { display: -webkit-box; display: -webkit-flex; @@ -4768,6 +5095,7 @@ body.stop-scrolling { -ms-flex-pack: center; justify-content: center; } + .directorist-modals { display: block; width: 100%; @@ -4777,6 +5105,7 @@ body.stop-scrolling { border-radius: 8px; overflow: hidden; } + .directorist-modal-header { display: -webkit-box; display: -webkit-flex; @@ -4793,21 +5122,26 @@ body.stop-scrolling { align-items: center; border-bottom: 1px solid #e4e4e4; } + .directorist-modal-title-area { display: block; } + .directorist-modal-header .directorist-modal-title { margin-bottom: 0 !important; font-size: 24px; } + .directorist-modal-actions-area { display: block; padding: 0 10px; } + .directorist-modal-body { display: block; padding: 20px; } + .directorist-form-privacy { margin-bottom: 10px; font-size: 14px; @@ -4819,6 +5153,7 @@ body.stop-scrolling { + .directorist-checkbox__label:after { border-color: var(--directorist-color-body); } + .directorist-form-privacy, .directorist-form-terms { display: -webkit-box; @@ -4830,6 +5165,10 @@ body.stop-scrolling { .directorist-form-terms a { text-decoration: none; } + +/* ============================= + backend add listing form +================================*/ .add_listing_form_wrapper .hide-if-no-js { display: -webkit-box; display: -webkit-flex; @@ -4844,6 +5183,7 @@ body.stop-scrolling { -ms-flex-pack: center; justify-content: center; } + #listing_form_info .directorist-bh-wrap .directorist-select select { width: calc(100% - 1px); min-height: 42px; @@ -4851,6 +5191,7 @@ body.stop-scrolling { border-color: #ececec !important; padding: 0 10px; } + .directorist-map-field #floating-panel { margin-bottom: 20px; } @@ -4859,13 +5200,15 @@ body.stop-scrolling { border: 1px solid var(--directorist-color-danger); color: var(--directorist-color-white); } + #listing_form_info .atbd_content_module.atbd-booking-information .atbdb_content_module_contents { padding-top: 20px; } -.directorist-custom-field-checkbox, -.directorist-custom-field-radio { + +.directorist-custom-field-radio, +.directorist-custom-field-checkbox { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -4875,60 +5218,60 @@ body.stop-scrolling { -ms-flex-wrap: wrap; flex-wrap: wrap; } -.directorist-custom-field-checkbox .directorist-custom-field-btn-more, -.directorist-custom-field-checkbox .directorist-form-description, -.directorist-custom-field-checkbox .directorist-form-label, -.directorist-custom-field-radio .directorist-custom-field-btn-more, +.directorist-custom-field-radio .directorist-form-label, .directorist-custom-field-radio .directorist-form-description, -.directorist-custom-field-radio .directorist-form-label { +.directorist-custom-field-radio .directorist-custom-field-btn-more, +.directorist-custom-field-checkbox .directorist-form-label, +.directorist-custom-field-checkbox .directorist-form-description, +.directorist-custom-field-checkbox .directorist-custom-field-btn-more { width: 100%; -webkit-box-flex: 0; -webkit-flex: 0 0 100%; -ms-flex: 0 0 100%; flex: 0 0 100%; } -.directorist-custom-field-checkbox .directorist-checkbox, -.directorist-custom-field-checkbox .directorist-radio, .directorist-custom-field-radio .directorist-checkbox, -.directorist-custom-field-radio .directorist-radio { +.directorist-custom-field-radio .directorist-radio, +.directorist-custom-field-checkbox .directorist-checkbox, +.directorist-custom-field-checkbox .directorist-radio { -webkit-box-flex: 0; -webkit-flex: 0 0 49%; -ms-flex: 0 0 49%; flex: 0 0 49%; } @media only screen and (max-width: 767px) { - .directorist-custom-field-checkbox .directorist-checkbox, - .directorist-custom-field-checkbox .directorist-radio, .directorist-custom-field-radio .directorist-checkbox, - .directorist-custom-field-radio .directorist-radio { + .directorist-custom-field-radio .directorist-radio, + .directorist-custom-field-checkbox .directorist-checkbox, + .directorist-custom-field-checkbox .directorist-radio { -webkit-box-flex: 0; -webkit-flex: 0 0 100%; -ms-flex: 0 0 100%; flex: 0 0 100%; } } -.directorist-custom-field-checkbox .directorist-custom-field-btn-more, -.directorist-custom-field-radio .directorist-custom-field-btn-more { +.directorist-custom-field-radio .directorist-custom-field-btn-more, +.directorist-custom-field-checkbox .directorist-custom-field-btn-more { margin-top: 5px; } -.directorist-custom-field-checkbox .directorist-custom-field-btn-more:after, -.directorist-custom-field-radio .directorist-custom-field-btn-more:after { +.directorist-custom-field-radio .directorist-custom-field-btn-more:after, +.directorist-custom-field-checkbox .directorist-custom-field-btn-more:after { content: ""; display: inline-block; margin-left: 5px; - -webkit-mask-image: url(../images/05feea3d261c8b97573023a74fd26f03.svg); - mask-image: url(../images/05feea3d261c8b97573023a74fd26f03.svg); + -webkit-mask-image: url(../js/../images/05feea3d261c8b97573023a74fd26f03.svg); + mask-image: url(../js/../images/05feea3d261c8b97573023a74fd26f03.svg); width: 12px; height: 12px; background-color: var(--directorist-color-body); } +.directorist-custom-field-radio .directorist-custom-field-btn-more.active:after, .directorist-custom-field-checkbox - .directorist-custom-field-btn-more.active:after, -.directorist-custom-field-radio .directorist-custom-field-btn-more.active:after { - -webkit-mask-image: url(../images/c90867d23032298fc0ff1d456a6fdb30.svg); - mask-image: url(../images/c90867d23032298fc0ff1d456a6fdb30.svg); + -webkit-mask-image: url(../js/../images/c90867d23032298fc0ff1d456a6fdb30.svg); + mask-image: url(../js/../images/c90867d23032298fc0ff1d456a6fdb30.svg); } + .directorist-add-listing-form .select2-container--default .select2-selection @@ -4976,6 +5319,7 @@ body.stop-scrolling { li.select2-search--inline:first-child { width: inherit; } + .multistep-wizard { display: -webkit-box; display: -webkit-flex; @@ -5029,11 +5373,13 @@ body.stop-scrolling { width: 270px; min-height: 36px; padding: 7px 16px; + border: none; outline: none; cursor: pointer; font-size: 14px; font-weight: 400; border-radius: 8px; + border: 1px solid transparent; text-decoration: none !important; color: var(--directorist-color-light-gray); background-color: transparent; @@ -5096,8 +5442,8 @@ body.stop-scrolling { -webkit-transform: translateY(-50%); transform: translateY(-50%); content: ""; - -webkit-mask-image: url(../images/bbed57ce5c92c9a7aa71622e408b6a66.svg); - mask-image: url(../images/bbed57ce5c92c9a7aa71622e408b6a66.svg); + -webkit-mask-image: url(../js/../images/bbed57ce5c92c9a7aa71622e408b6a66.svg); + mask-image: url(../js/../images/bbed57ce5c92c9a7aa71622e408b6a66.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 12px; @@ -5126,19 +5472,21 @@ body.stop-scrolling { font-weight: 600; color: var(--directorist-color-primary); } -.multistep-wizard__nav__btn:focus:before, -.multistep-wizard__nav__btn:focus i:after { +.multistep-wizard__nav__btn:focus:before { + background-color: var(--directorist-color-primary); +} +.multistep-wizard__nav__btn:focus i::after { background-color: var(--directorist-color-primary); } .multistep-wizard__nav__btn.completed { color: var(--directorist-color-primary); } .multistep-wizard__nav__btn.completed:before { - -webkit-mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); - mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); + -webkit-mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); + mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); opacity: 1; } -.multistep-wizard__nav__btn.completed i:after { +.multistep-wizard__nav__btn.completed i::after { background-color: var(--directorist-color-primary); } @media only screen and (max-width: 991px) { @@ -5178,8 +5526,8 @@ body.stop-scrolling { -webkit-transform: translateY(-50%); transform: translateY(-50%); content: ""; - -webkit-mask-image: url(../images/20cfd7ae7ffa8fca3b8d48d7ab39da28.svg); - mask-image: url(../images/20cfd7ae7ffa8fca3b8d48d7ab39da28.svg); + -webkit-mask-image: url(../js/../images/20cfd7ae7ffa8fca3b8d48d7ab39da28.svg); + mask-image: url(../js/../images/20cfd7ae7ffa8fca3b8d48d7ab39da28.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 12px; @@ -5187,8 +5535,8 @@ body.stop-scrolling { background-color: var(--directorist-color-dark); } .multistep-wizard__single .directorist-content-module__title.opened:before { - -webkit-mask-image: url(../images/e9f5f62f416fee88e3f2d027b8b705da.svg); - mask-image: url(../images/e9f5f62f416fee88e3f2d027b8b705da.svg); + -webkit-mask-image: url(../js/../images/e9f5f62f416fee88e3f2d027b8b705da.svg); + mask-image: url(../js/../images/e9f5f62f416fee88e3f2d027b8b705da.svg); } .multistep-wizard__single .directorist-content-module__contents { height: 0; @@ -5288,22 +5636,22 @@ body.stop-scrolling { .multistep-wizard__btn.directorist-btn i:after { background-color: var(--directorist-color-body); } -.multistep-wizard__btn.directorist-btn:focus, -.multistep-wizard__btn.directorist-btn:hover { +.multistep-wizard__btn.directorist-btn:hover, +.multistep-wizard__btn.directorist-btn:focus { color: var(--directorist-color-white); background-color: var(--directorist-color-primary); } -.multistep-wizard__btn.directorist-btn:focus i:after, -.multistep-wizard__btn.directorist-btn:hover i:after { +.multistep-wizard__btn.directorist-btn:hover i:after, +.multistep-wizard__btn.directorist-btn:focus i:after { background-color: var(--directorist-color-white); } -.multistep-wizard__btn[disabled="disabled"], -.multistep-wizard__btn[disabled="true"] { +.multistep-wizard__btn[disabled="true"], +.multistep-wizard__btn[disabled="disabled"] { color: var(--directorist-color-light-gray); pointer-events: none; } -.multistep-wizard__btn[disabled="disabled"] i:after, -.multistep-wizard__btn[disabled="true"] i:after { +.multistep-wizard__btn[disabled="true"] i:after, +.multistep-wizard__btn[disabled="disabled"] i:after { background-color: var(--directorist-color-light-gray); } .multistep-wizard__btn i:after { @@ -5393,15 +5741,17 @@ body.stop-scrolling { width: 100%; height: 54px; } + .logged-in .multistep-wizard__nav.sticky { top: 32px; } + @keyframes atbd_scale { 0% { -webkit-transform: scale(0.8); transform: scale(0.8); } - to { + 100% { -webkit-transform: scale(1); transform: scale(1); } @@ -5415,9 +5765,10 @@ body.stop-scrolling { padding: 0; border: none; } -#directorist_submit_privacy_policy:after { +#directorist_submit_privacy_policy::after { display: none; } + .upload-error { display: block !important; clear: both; @@ -5428,85 +5779,105 @@ body.stop-scrolling { border-radius: 3px; padding: 15px 20px; } + #upload-msg { display: block; clear: both; } + #content .category_grid_view li a.post_img { height: 65px; width: 90%; overflow: hidden; } + #content .category_grid_view li a.post_img img { margin: 0 auto; display: block; height: 65px; } + #content .category_list_view li a.post_img { height: 110px; width: 165px; overflow: hidden; } + #content .category_list_view li a.post_img img { margin: 0 auto; display: block; height: 110px; } + #sidebar .recent_comments li img.thumb { width: 40px; } + .post_img_tiny img { width: 35px; } + .single_post_blog img.alignleft { width: 96%; height: auto; } -.ecu_images, + +.ecu_images { + width: 100%; +} + .filelist { width: 100%; } + .filelist .file { padding: 5px; background-color: #ececec; - border: 1px solid #ccc; + border: solid 1px #ccc; margin-bottom: 4px; clear: both; text-align: left; } + .filelist .fileprogress { - width: 0; + width: 0%; height: 5px; background-color: #3385ff; } + #custom-filedropbox, .directorist-custom-field-file-upload__wrapper > div { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: start; -webkit-justify-content: flex-start; -ms-flex-pack: start; justify-content: flex-start; gap: 20px; } -#custom-filedropbox, -.directorist-custom-field-file-upload__wrapper > div, + .plupload-upload-uic { + width: 200px; + height: 150px; + padding: 0; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + gap: 15px; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -} -.plupload-upload-uic { - width: 200px; - height: 150px; - padding: 0; - gap: 15px; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; @@ -5527,7 +5898,7 @@ body.stop-scrolling { .plupload-upload-uic .plupload-browse-button-label { cursor: pointer; } -.plupload-upload-uic .plupload-browse-button-label i:after { +.plupload-upload-uic .plupload-browse-button-label i::after { width: 50px; height: 45px; background-color: var(--directorist-color-border-gray); @@ -5543,10 +5914,12 @@ body.stop-scrolling { height: 200px; } } + .plupload-thumbs { clear: both; overflow: hidden; } + .plupload-thumbs .thumb { position: relative; height: 150px; @@ -5560,7 +5933,7 @@ body.stop-scrolling { object-fit: cover; border-radius: 12px; } -.plupload-thumbs .thumb:hover .atbdp-thumb-actions:before { +.plupload-thumbs .thumb:hover .atbdp-thumb-actions::before { opacity: 1; visibility: visible; } @@ -5625,14 +5998,16 @@ body.stop-scrolling { opacity: 0; visibility: hidden; border-radius: 12px; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; background-color: rgba(var(--directorist-color-dark-rgb), 0.5); } + .plupload-thumbs .thumb.atbdp_file { border: none; width: auto; } + .atbdp-add-files .plupload-thumbs .thumb img, .plupload-thumbs .thumb i.atbdp-file-info { cursor: move; @@ -5640,11 +6015,13 @@ body.stop-scrolling { height: 100%; z-index: 1; } + .plupload-thumbs .thumb i.atbdp-file-info { font-size: 50px; padding-top: 10%; z-index: 1; } + .plupload-thumbs .thumb .thumbi { position: absolute; right: -10px; @@ -5652,107 +6029,133 @@ body.stop-scrolling { height: 18px; width: 18px; } + .plupload-thumbs .thumb .thumbi a { text-indent: -8000px; display: block; } -.plupload-thumbs .atbdp-caption-preview, -.plupload-thumbs .atbdp-title-preview { + +.plupload-thumbs .atbdp-title-preview, +.plupload-thumbs .atbdp-caption-preview { position: absolute; top: 10px; left: 5px; font-size: 10px; line-height: 10px; padding: 1px; - background: hsla(0, 0%, 100%, 0.5); + background: rgba(255, 255, 255, 0.5); z-index: 2; overflow: hidden; height: 10px; } + .plupload-thumbs .atbdp-caption-preview { top: auto; bottom: 10px; } -.leaflet-image-layer, -.leaflet-layer, -.leaflet-marker-icon, -.leaflet-marker-shadow, + +/* required styles */ .leaflet-pane, -.leaflet-pane > canvas, -.leaflet-pane > svg, .leaflet-tile, +.leaflet-marker-icon, +.leaflet-marker-shadow, .leaflet-tile-container, -.leaflet-zoom-box { +.leaflet-pane > svg, +.leaflet-pane > canvas, +.leaflet-zoom-box, +.leaflet-image-layer, +.leaflet-layer { position: absolute; left: 0; top: 0; } + .leaflet-container { overflow: hidden; } + +.leaflet-tile, .leaflet-marker-icon, -.leaflet-marker-shadow, -.leaflet-tile { +.leaflet-marker-shadow { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-user-drag: none; } + +/* Prevents IE11 from highlighting tiles in blue */ .leaflet-tile::-moz-selection { background: transparent; } .leaflet-tile::selection { background: transparent; } + +/* Safari renders non-retina tile on retina better with this, but Chrome is worse */ .leaflet-safari .leaflet-tile { image-rendering: -webkit-optimize-contrast; } + +/* hack that prevents hw layers "stretching" when loading new tiles */ .leaflet-safari .leaflet-tile-container { width: 1600px; height: 1600px; -webkit-transform-origin: 0 0; } + .leaflet-marker-icon, .leaflet-marker-shadow { display: block; } -.leaflet-container .leaflet-marker-pane img, + +/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */ +/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */ .leaflet-container .leaflet-overlay-pane svg, +.leaflet-container .leaflet-marker-pane img, .leaflet-container .leaflet-shadow-pane img, -.leaflet-container .leaflet-tile, .leaflet-container .leaflet-tile-pane img, -.leaflet-container img.leaflet-image-layer { +.leaflet-container img.leaflet-image-layer, +.leaflet-container .leaflet-tile { max-width: none !important; max-height: none !important; } + .leaflet-container.leaflet-touch-zoom { -ms-touch-action: pan-x pan-y; touch-action: pan-x pan-y; } + .leaflet-container.leaflet-touch-drag { -ms-touch-action: pinch-zoom; + /* Fallback for FF which doesn't support pinch-zoom */ touch-action: none; touch-action: pinch-zoom; } + .leaflet-container.leaflet-touch-drag.leaflet-touch-zoom { -ms-touch-action: none; touch-action: none; } + .leaflet-container { -webkit-tap-highlight-color: transparent; } + .leaflet-container a { -webkit-tap-highlight-color: rgba(145, 175, 186, 0.4); } + .leaflet-tile { -webkit-filter: inherit; filter: inherit; visibility: hidden; } + .leaflet-tile-loaded { visibility: inherit; } + .leaflet-zoom-box { width: 0; height: 0; @@ -5760,106 +6163,141 @@ body.stop-scrolling { box-sizing: border-box; z-index: 800; } + +/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */ .leaflet-overlay-pane svg { -moz-user-select: none; } + .leaflet-pane { z-index: 400; } + .leaflet-tile-pane { z-index: 200; } + .leaflet-overlay-pane { z-index: 400; } + .leaflet-shadow-pane { z-index: 500; } + .leaflet-marker-pane { z-index: 600; } + .leaflet-tooltip-pane { z-index: 650; } + .leaflet-popup-pane { z-index: 700; } + .leaflet-map-pane canvas { z-index: 100; } + .leaflet-map-pane svg { z-index: 200; } + .leaflet-vml-shape { width: 1px; height: 1px; } + .lvml { behavior: url(#default#VML); display: inline-block; position: absolute; } + +/* control positioning */ .leaflet-control { position: relative; z-index: 800; - pointer-events: visiblePainted; + pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */ pointer-events: auto; } -.leaflet-bottom, -.leaflet-top { + +.leaflet-top, +.leaflet-bottom { position: absolute; z-index: 1000; pointer-events: none; } + .leaflet-top { top: 0; } + .leaflet-right { right: 0; display: none; } + .leaflet-bottom { bottom: 0; } + .leaflet-left { left: 0; } + .leaflet-control { float: left; clear: both; } + .leaflet-right .leaflet-control { float: right; } + .leaflet-top .leaflet-control { margin-top: 10px; } + .leaflet-bottom .leaflet-control { margin-bottom: 10px; } + .leaflet-left .leaflet-control { margin-left: 10px; } + .leaflet-right .leaflet-control { margin-right: 10px; } + +/* zoom and fade animations */ .leaflet-fade-anim .leaflet-tile { will-change: opacity; } + .leaflet-fade-anim .leaflet-popup { opacity: 0; -webkit-transition: opacity 0.2s linear; transition: opacity 0.2s linear; } + .leaflet-fade-anim .leaflet-map-pane .leaflet-popup { opacity: 1; } + .leaflet-zoom-animated { -webkit-transform-origin: 0 0; transform-origin: 0 0; } + .leaflet-zoom-anim .leaflet-zoom-animated { will-change: transform; +} + +.leaflet-zoom-anim .leaflet-zoom-animated { -webkit-transition: -webkit-transform 0.25s cubic-bezier(0, 0, 0.25, 1); transition: -webkit-transform 0.25s cubic-bezier(0, 0, 0.25, 1); transition: transform 0.25s cubic-bezier(0, 0, 0.25, 1); @@ -5867,29 +6305,37 @@ body.stop-scrolling { transform 0.25s cubic-bezier(0, 0, 0.25, 1), -webkit-transform 0.25s cubic-bezier(0, 0, 0.25, 1); } -.leaflet-pan-anim .leaflet-tile, -.leaflet-zoom-anim .leaflet-tile { + +.leaflet-zoom-anim .leaflet-tile, +.leaflet-pan-anim .leaflet-tile { -webkit-transition: none; transition: none; } + .leaflet-zoom-anim .leaflet-zoom-hide { visibility: hidden; } + +/* cursors */ .leaflet-interactive { cursor: pointer; } + .leaflet-grab { cursor: -webkit-grab; cursor: grab; } + .leaflet-crosshair, .leaflet-crosshair .leaflet-interactive { cursor: crosshair; } -.leaflet-control, -.leaflet-popup-pane { + +.leaflet-popup-pane, +.leaflet-control { cursor: auto; } + .leaflet-dragging .leaflet-grab, .leaflet-dragging .leaflet-grab .leaflet-interactive, .leaflet-dragging .leaflet-marker-draggable { @@ -5897,47 +6343,60 @@ body.stop-scrolling { cursor: -webkit-grabbing; cursor: grabbing; } -.leaflet-image-layer, + +/* marker & overlays interactivity */ .leaflet-marker-icon, .leaflet-marker-shadow, +.leaflet-image-layer, .leaflet-pane > svg path, .leaflet-tile-container { pointer-events: none; } -.leaflet-image-layer.leaflet-interactive, + .leaflet-marker-icon.leaflet-interactive, +.leaflet-image-layer.leaflet-interactive, .leaflet-pane > svg path.leaflet-interactive, svg.leaflet-image-layer.leaflet-interactive path { - pointer-events: visiblePainted; + pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */ pointer-events: auto; } + +/* visual tweaks */ .leaflet-container { background-color: #ddd; outline: 0; } -.leaflet-container .map-listing-card-single__content a, -.leaflet-container a { + +.leaflet-container a, +.leaflet-container .map-listing-card-single__content a { color: #404040; } + .leaflet-container a.leaflet-active { outline: 2px solid #fa8b0c; } + .leaflet-zoom-box { border: 2px dotted var(--directorist-color-info); - background: hsla(0, 0%, 100%, 0.5); + background: rgba(255, 255, 255, 0.5); } + +/* general typography */ .leaflet-container { font: - 12px/1.5 Helvetica Neue, + 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif; } + +/* general toolbar styles */ .leaflet-bar { -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65); box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65); border-radius: 4px; } + .leaflet-bar a, .leaflet-bar a:hover { background-color: var(--directorist-color-white); @@ -5948,130 +6407,163 @@ svg.leaflet-image-layer.leaflet-interactive path { display: block; text-align: center; text-decoration: none; - color: #000; + color: black; } + .leaflet-bar a, .leaflet-control-layers-toggle { background-position: 50% 50%; background-repeat: no-repeat; display: block; } + .leaflet-bar a:hover { background-color: #f4f4f4; } + .leaflet-bar a:first-child { border-top-left-radius: 4px; border-top-right-radius: 4px; } + .leaflet-bar a:last-child { border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-bottom: none; } + .leaflet-bar a.leaflet-disabled { cursor: default; background-color: #f4f4f4; color: #bbb; } + .leaflet-touch .leaflet-bar a { width: 30px; height: 30px; line-height: 30px; } + .leaflet-touch .leaflet-bar a:first-child { border-top-left-radius: 2px; border-top-right-radius: 2px; } + .leaflet-touch .leaflet-bar a:last-child { border-bottom-left-radius: 2px; border-bottom-right-radius: 2px; } + +/* zoom control */ .leaflet-control-zoom-in, .leaflet-control-zoom-out { font: - 700 18px Lucida Console, + bold 18px "Lucida Console", Monaco, monospace; text-indent: 1px; } + .leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out { font-size: 22px; } + +/* layers control */ .leaflet-control-layers { -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4); box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4); background-color: var(--directorist-color-white); border-radius: 5px; } + .leaflet-control-layers-toggle { width: 36px; height: 36px; } + .leaflet-retina .leaflet-control-layers-toggle { background-size: 26px 26px; } + .leaflet-touch .leaflet-control-layers-toggle { width: 44px; height: 44px; } -.leaflet-control-layers-expanded .leaflet-control-layers-toggle, -.leaflet-control-layers .leaflet-control-layers-list { + +.leaflet-control-layers .leaflet-control-layers-list, +.leaflet-control-layers-expanded .leaflet-control-layers-toggle { display: none; } + .leaflet-control-layers-expanded .leaflet-control-layers-list { display: block; position: relative; } + .leaflet-control-layers-expanded { padding: 6px 10px 6px 6px; color: #333; background-color: var(--directorist-color-white); } + .leaflet-control-layers-scrollbar { overflow-y: scroll; overflow-x: hidden; padding-right: 5px; } + .leaflet-control-layers-selector { margin-top: 2px; position: relative; top: 1px; } + .leaflet-control-layers label { display: block; } + .leaflet-control-layers-separator { height: 0; border-top: 1px solid #ddd; margin: 5px -10px 5px -6px; } + +/* Default icon URLs */ +/* attribution and scale controls */ .leaflet-container .leaflet-control-attribution { background-color: var(--directorist-color-white); - background: hsla(0, 0%, 100%, 0.7); + background: rgba(255, 255, 255, 0.7); margin: 0; } + .leaflet-control-attribution, .leaflet-control-scale-line { padding: 0 5px; color: #333; } + .leaflet-control-attribution a { text-decoration: none; } + .leaflet-control-attribution a:hover { text-decoration: underline; } + .leaflet-container .leaflet-control-attribution, .leaflet-container .leaflet-control-scale { font-size: 11px; } + .leaflet-left .leaflet-control-scale { margin-left: 5px; } + .leaflet-bottom .leaflet-control-scale { margin-bottom: 5px; } + .leaflet-control-scale-line { border: 2px solid #777; border-top: none; @@ -6083,44 +6575,54 @@ svg.leaflet-image-layer.leaflet-interactive path { -webkit-box-sizing: border-box; box-sizing: border-box; background-color: var(--directorist-color-white); - background: hsla(0, 0%, 100%, 0.5); + background: rgba(255, 255, 255, 0.5); } + .leaflet-control-scale-line:not(:first-child) { border-top: 2px solid #777; border-bottom: none; margin-top: -2px; } + .leaflet-control-scale-line:not(:first-child):not(:last-child) { border-bottom: 2px solid #777; } -.leaflet-touch .leaflet-bar, + .leaflet-touch .leaflet-control-attribution, -.leaflet-touch .leaflet-control-layers { +.leaflet-touch .leaflet-control-layers, +.leaflet-touch .leaflet-bar { -webkit-box-shadow: none; box-shadow: none; } -.leaflet-touch .leaflet-bar, -.leaflet-touch .leaflet-control-layers { + +.leaflet-touch .leaflet-control-layers, +.leaflet-touch .leaflet-bar { border: 2px solid rgba(0, 0, 0, 0.2); background-clip: padding-box; } + +/* popup */ .leaflet-popup { position: absolute; text-align: center; margin-bottom: 20px; } + .leaflet-popup-content-wrapper { padding: 1px; text-align: left; border-radius: 10px; } + .leaflet-popup-content { margin: 13px 19px; line-height: 1.4; } + .leaflet-popup-content p { margin: 18px 0; } + .leaflet-popup-tip-container { width: 40px; height: 20px; @@ -6130,6 +6632,7 @@ svg.leaflet-image-layer.leaflet-interactive path { overflow: hidden; pointer-events: none; } + .leaflet-popup-tip { width: 17px; height: 17px; @@ -6138,13 +6641,15 @@ svg.leaflet-image-layer.leaflet-interactive path { -webkit-transform: rotate(45deg); transform: rotate(45deg); } + .leaflet-popup-content-wrapper, .leaflet-popup-tip { - background: #fff; + background: white; color: #333; -webkit-box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4); box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4); } + .leaflet-container a.leaflet-popup-close-button { position: absolute; top: 0; @@ -6160,45 +6665,54 @@ svg.leaflet-image-layer.leaflet-interactive path { sans-serif; color: #c3c3c3; text-decoration: none; - font-weight: 700; + font-weight: bold; background: transparent; } + .leaflet-container a.leaflet-popup-close-button:hover { color: #999; } + .leaflet-popup-scrolled { overflow: auto; border-bottom: 1px solid #ddd; border-top: 1px solid #ddd; } + .leaflet-oldie .leaflet-popup-content-wrapper { zoom: 1; } + .leaflet-oldie .leaflet-popup-tip { width: 24px; margin: 0 auto; -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)"; - filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678,M12=0.70710678,M21=-0.70710678,M22=0.70710678); + filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678); } + .leaflet-oldie .leaflet-popup-tip-container { margin-top: -1px; } -.leaflet-oldie .leaflet-control-layers, + .leaflet-oldie .leaflet-control-zoom, +.leaflet-oldie .leaflet-control-layers, .leaflet-oldie .leaflet-popup-content-wrapper, .leaflet-oldie .leaflet-popup-tip { border: 1px solid #999; } + +/* div icon */ .leaflet-div-icon { - border: 1px solid #666; -} -.leaflet-div-icon, -.leaflet-tooltip { background-color: var(--directorist-color-white); + border: 1px solid #666; } + +/* Tooltip */ +/* Base styles for the element that has a tooltip */ .leaflet-tooltip { position: absolute; padding: 6px; + background-color: var(--directorist-color-white); border: 1px solid var(--directorist-color-white); border-radius: 3px; color: #222; @@ -6211,63 +6725,77 @@ svg.leaflet-image-layer.leaflet-interactive path { -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); } + .leaflet-tooltip.leaflet-clickable { cursor: pointer; pointer-events: auto; } + +.leaflet-tooltip-top:before, .leaflet-tooltip-bottom:before, .leaflet-tooltip-left:before, -.leaflet-tooltip-right:before, -.leaflet-tooltip-top:before { +.leaflet-tooltip-right:before { position: absolute; pointer-events: none; border: 6px solid transparent; background: transparent; content: ""; } + +/* Directions */ .leaflet-tooltip-bottom { margin-top: 6px; } + .leaflet-tooltip-top { margin-top: -6px; } + .leaflet-tooltip-bottom:before, .leaflet-tooltip-top:before { left: 50%; margin-left: -6px; } + .leaflet-tooltip-top:before { bottom: 0; margin-bottom: -12px; border-top-color: var(--directorist-color-white); } + .leaflet-tooltip-bottom:before { top: 0; margin-top: -12px; margin-left: -6px; border-bottom-color: var(--directorist-color-white); } + .leaflet-tooltip-left { margin-left: -6px; } + .leaflet-tooltip-right { margin-left: 6px; } + .leaflet-tooltip-left:before, .leaflet-tooltip-right:before { top: 50%; margin-top: -6px; } + .leaflet-tooltip-left:before { right: 0; margin-right: -12px; border-left-color: var(--directorist-color-white); } + .leaflet-tooltip-right:before { left: 0; margin-left: -12px; border-right-color: var(--directorist-color-white); } + .directorist-content-active #map { position: relative; width: 100%; @@ -6298,7 +6826,7 @@ svg.leaflet-image-layer.leaflet-interactive path { background-color: var(--directorist-color-white); cursor: pointer; } -.directorist-content-active #gmap_full_screen_button i:after { +.directorist-content-active #gmap_full_screen_button i::after { width: 22px; height: 22px; -webkit-transition: all 0.3s ease-in-out; @@ -6319,7 +6847,7 @@ svg.leaflet-image-layer.leaflet-interactive path { margin-top: -20px; margin-left: -100px; background-color: var(--directorist-color-white); - background-color: hsla(0, 0%, 100%, 0.7); + background-color: rgba(255, 255, 255, 0.7); border-radius: 4px; padding: 2px; } @@ -6334,8 +6862,8 @@ svg.leaflet-image-layer.leaflet-interactive path { height: 50px !important; margin: 20px !important; border-radius: 10px !important; - -webkit-box-shadow: 0 2px 20px rgba(0, 0, 0, 0.26) !important; - box-shadow: 0 2px 20px rgba(0, 0, 0, 0.26) !important; + -webkit-box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.26) !important; + box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.26) !important; } .directorist-content-active .gmnoprint { border-radius: 5px; @@ -6360,10 +6888,12 @@ svg.leaflet-image-layer.leaflet-interactive path { .directorist-content-active .version-disabled { text-decoration: line-through; } + +/* wp color picker */ .directorist-form-group .wp-picker-container .button { position: relative; height: 40px; - border: 0; + border: 0 none; width: 140px; padding: 0; font-size: 14px; @@ -6448,7 +6978,9 @@ svg.leaflet-image-layer.leaflet-interactive path { .directorist-form-group .wp-picker-container .wp-picker-container - .wp-picker-input-wrap.hidden, + .wp-picker-input-wrap.hidden { + display: none; +} .directorist-form-group .wp-picker-container .wp-picker-container @@ -6475,16 +7007,23 @@ svg.leaflet-image-layer.leaflet-interactive path { padding-bottom: 0; font-size: 15px; } + .directorist-show { display: block !important; } -.directorist-d-none, + .directorist-hide { display: none !important; } + +.directorist-d-none { + display: none !important; +} + .directorist-text-center { text-align: center; } + .directorist-content-active .entry-content ul { margin: 0; padding: 0; @@ -6509,24 +7048,30 @@ svg.leaflet-image-layer.leaflet-interactive path { -ms-flex-align: center; align-items: center; } + +/* Container within container spacing issue fix */ .directorist-container-fluid > .directorist-container-fluid { padding-left: 0; padding-right: 0; } + .directorist-announcement-wrapper .directorist_not-found p { margin-bottom: 0; } + .directorist-content-active .select2-container--open .select2-dropdown.select2-dropdown--below { top: 0; border-color: var(--directorist-color-border); } + .logged-in.directorist-content-active .select2-container--open .select2-dropdown.select2-dropdown--below { top: 32px; } + .directorist-content-active .directorist-select .select2.select2-container @@ -6535,6 +7080,7 @@ svg.leaflet-image-layer.leaflet-interactive path { .select2-selection__clear { display: none; } + .directorist-content-active .select2.select2-container.select2-container--default { width: 100% !important; @@ -6543,6 +7089,7 @@ svg.leaflet-image-layer.leaflet-interactive path { .select2.select2-container.select2-container--default .select2-selection { min-height: 40px; + min-height: 40px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -6593,8 +7140,8 @@ svg.leaflet-image-layer.leaflet-interactive path { .select2.select2-container.select2-container--default .select2-selection__choice__remove:before { content: ""; - -webkit-mask-image: url(../images/4ff79f85f2a1666e0f80c7ca71039465.svg); - mask-image: url(../images/4ff79f85f2a1666e0f80c7ca71039465.svg); + -webkit-mask-image: url(../js/../images/4ff79f85f2a1666e0f80c7ca71039465.svg); + mask-image: url(../js/../images/4ff79f85f2a1666e0f80c7ca71039465.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 12px; @@ -6622,8 +7169,8 @@ svg.leaflet-image-layer.leaflet-interactive path { -ms-flex-align: center; align-items: center; padding: 0 !important; - -ms-overflow-style: none; - scrollbar-width: none; + -ms-overflow-style: none; /* Internet Explorer 10+ */ + scrollbar-width: none; /* Firefox */ } .directorist-content-active .select2.select2-container.select2-container--default @@ -6648,6 +7195,7 @@ svg.leaflet-image-layer.leaflet-interactive path { border: none; border-bottom: 2px solid var(--directorist-color-primary) !important; } + .directorist-content-active .select2-container.select2-container--open { z-index: 99999; } @@ -6656,6 +7204,7 @@ svg.leaflet-image-layer.leaflet-interactive path { width: calc(100% - 40px); } } + .directorist-content-active .select2-container--default .select2-selection @@ -6663,6 +7212,7 @@ svg.leaflet-image-layer.leaflet-interactive path { b { margin-top: 0; } + .directorist-content-active .select2-container .directorist-select2-addons-area { @@ -6689,15 +7239,19 @@ svg.leaflet-image-layer.leaflet-interactive path { padding: 0; display: none; } + +/* Login/Signup Form CSS */ #recover-pass-modal { display: none; } + .directorist-login-wrapper #recover-pass-modal .directorist-btn { margin-top: 15px; } .directorist-login-wrapper #recover-pass-modal .directorist-btn:hover { text-decoration: none; } + body.modal-overlay-enabled { position: relative; } @@ -6711,6 +7265,7 @@ body.modal-overlay-enabled:before { background-color: rgba(var(--directorist-color-dark-rgb), 0.05); z-index: 1; } + .directorist-widget { margin-bottom: 25px; } @@ -6727,6 +7282,7 @@ body.modal-overlay-enabled:before { .directorist-widget .directorist-card__body.directorist-widget__body { padding: 20px 30px; } + .directorist-sidebar .directorist-card { margin-bottom: 25px; } @@ -6773,6 +7329,7 @@ body.modal-overlay-enabled:before { -ms-flex-pack: justify; justify-content: space-between; } + .directorist-widget__listing-contact .directorist-form-group { display: -webkit-box; display: -webkit-flex; @@ -6803,10 +7360,14 @@ body.modal-overlay-enabled:before { min-height: 130px !important; resize: none; } -.directorist-widget__listing-contact .directorist-btn, +.directorist-widget__listing-contact .directorist-btn { + width: 100%; +} + .directorist-widget__submit-listing .directorist-btn { width: 100%; } + .directorist-widget__author-info figure { margin: 0; } @@ -6814,10 +7375,12 @@ body.modal-overlay-enabled:before { width: 100%; margin-top: 25px; } + .directorist-single-map.directorist-widget__map.leaflet-container { margin-bottom: 0; border-radius: 12px; } + .directorist-widget-listing__single { display: -webkit-box; display: -webkit-flex; @@ -6835,6 +7398,7 @@ body.modal-overlay-enabled:before { .directorist-widget-listing__single:not(:last-child) { margin-bottom: 25px; } + .directorist-widget-listing__image { width: 70px; height: 70px; @@ -6847,6 +7411,7 @@ body.modal-overlay-enabled:before { height: 100%; border-radius: 10px; } + .directorist-widget-listing__content { display: -webkit-box; display: -webkit-flex; @@ -6863,6 +7428,7 @@ body.modal-overlay-enabled:before { font-size: 15px; font-weight: 500; line-height: 1; + margin: 0; color: var(--directorist-color-dark); margin: 0; } @@ -6879,12 +7445,15 @@ body.modal-overlay-enabled:before { outline: none; } .directorist-widget-listing__content .directorist-widget-listing__meta { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; } -.directorist-widget-listing__content .directorist-widget-listing__meta, .directorist-widget-listing__content .directorist-widget-listing__rating { display: -webkit-box; display: -webkit-flex; @@ -6916,11 +7485,13 @@ body.modal-overlay-enabled:before { font-weight: 600; color: var(--directorist-color-dark); } + .directorist-widget__video .directorist-embaded-item { width: 100%; height: 100%; border-radius: 10px; } + .directorist-widget .directorist-widget-list li:hover @@ -6931,8 +7502,8 @@ body.modal-overlay-enabled:before { .directorist-widget .directorist-widget-list li:not(:last-child) { margin-bottom: 10px; } -.directorist-widget .directorist-widget-list li span.fa, -.directorist-widget .directorist-widget-list li span.la { +.directorist-widget .directorist-widget-list li span.la, +.directorist-widget .directorist-widget-list li span.fa { cursor: pointer; margin: 0 5px 0 0; } @@ -6967,6 +7538,7 @@ body.modal-overlay-enabled:before { -webkit-transform: translateY(-50%); transform: translateY(-50%); } + .directorist-widget-taxonomy .directorist-taxonomy-list-one { -webkit-margin-after: 10px; margin-block-end: 10px; @@ -7015,7 +7587,7 @@ body.modal-overlay-enabled:before { justify-content: center; } .directorist-widget-taxonomy - .directorist-taxonomy-list-one__icon-default:after { + .directorist-taxonomy-list-one__icon-default::after { content: ""; width: 8px; height: 8px; @@ -7041,6 +7613,7 @@ body.modal-overlay-enabled:before { -webkit-padding-start: 25px; padding-inline-start: 25px; } + .directorist-widget-location .directorist-taxonomy-list-one:last-child { margin-bottom: 0; } @@ -7051,6 +7624,7 @@ body.modal-overlay-enabled:before { -webkit-padding-start: 25px; padding-inline-start: 25px; } + .directorist-widget-tags ul { margin: 0; padding: 0; @@ -7084,6 +7658,7 @@ body.modal-overlay-enabled:before { color: var(--directorist-color-primary); border-color: var(--directorist-color-primary); } + .directorist-widget-advanced-search .directorist-search-form__box { -webkit-box-orient: vertical; -webkit-box-direction: normal; @@ -7119,7 +7694,7 @@ body.modal-overlay-enabled:before { .directorist-search-modal__contents__body .directorist-search-modal__input .directorist-search-field { - border: 0; + border: 0 none; } .directorist-widget-advanced-search .directorist-search-basic-dropdown @@ -7166,11 +7741,11 @@ body.modal-overlay-enabled:before { } .directorist-widget-advanced-search .directorist-search-form - .directorist-search-field - .directorist-search-basic-dropdown-label, + .directorist-search-field.input-is-focused + > label, .directorist-widget-advanced-search .directorist-search-form - .directorist-search-field.directorist-search-field-radius_search + .directorist-search-field.input-has-value > label, .directorist-widget-advanced-search .directorist-search-form @@ -7178,20 +7753,23 @@ body.modal-overlay-enabled:before { > label, .directorist-widget-advanced-search .directorist-search-form - .directorist-search-field.input-has-value - .directorist-search-field__label, + .directorist-search-field.directorist-search-field-radius_search + > label { + font-size: 16px; + font-weight: 500; +} .directorist-widget-advanced-search .directorist-search-form - .directorist-search-field.input-has-value - > label, + .directorist-search-field.input-is-focused + .directorist-search-field__label, .directorist-widget-advanced-search .directorist-search-form - .directorist-search-field.input-is-focused + .directorist-search-field.input-has-value .directorist-search-field__label, .directorist-widget-advanced-search .directorist-search-form - .directorist-search-field.input-is-focused - > label { + .directorist-search-field + .directorist-search-basic-dropdown-label { font-size: 16px; font-weight: 500; } @@ -7216,7 +7794,7 @@ body.modal-overlay-enabled:before { color: var(--directorist-color-primary); } .directorist-widget-advanced-search .directorist-advanced-filter__action { - padding: 0; + padding: 0 0; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; @@ -7268,11 +7846,12 @@ body.modal-overlay-enabled:before { opacity: 0.5; cursor: not-allowed; } + .directorist-widget-authentication form { margin-bottom: 15px; } -.directorist-widget-authentication p input:not(input[type="checkbox"]), -.directorist-widget-authentication p label { +.directorist-widget-authentication p label, +.directorist-widget-authentication p input:not(input[type="checkbox"]) { display: block; } .directorist-widget-authentication p label { @@ -7290,6 +7869,8 @@ body.modal-overlay-enabled:before { .directorist-widget-authentication .login-submit button { cursor: pointer; } + +/* Directorist button styles */ .directorist-btn { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -7324,8 +7905,8 @@ body.modal-overlay-enabled:before { text-decoration: none; background-color: var(--directorist-color-primary); color: var(--directorist-color-white); - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; text-decoration: none !important; } .directorist-btn .directorist-icon-mask:after { @@ -7337,12 +7918,13 @@ body.modal-overlay-enabled:before { .directorist-btn.directorist-btn--logout { line-height: 43px; } -.directorist-btn:focus, -.directorist-btn:hover { +.directorist-btn:hover, +.directorist-btn:focus { color: var(--directorist-color-white); outline: 0 !important; background-color: rgba(var(--directorist-color-primary-rgb), 0.8); } + .directorist-btn.directorist-btn-primary { background-color: var(--directorist-color-btn-primary-bg); color: var(--directorist-color-btn-primary); @@ -7464,6 +8046,7 @@ body.modal-overlay-enabled:before { pointer-events: none; opacity: 0.75; } + .directorist-btn.directorist-btn-outline { background: transparent; border: 1px solid var(--directorist-color-border) !important; @@ -7554,6 +8137,7 @@ body.modal-overlay-enabled:before { color: var(--directorist-color-white); background-color: var(--directorist-color-dark); } + .directorist-btn.directorist-btn-lg { min-height: 50px; } @@ -7575,24 +8159,26 @@ body.modal-overlay-enabled:before { display: -ms-flexbox; display: flex; } + @-webkit-keyframes spin-centered { - 0% { + from { -webkit-transform: translateX(-50%) rotate(0deg); transform: translateX(-50%) rotate(0deg); } to { - -webkit-transform: translateX(-50%) rotate(1turn); - transform: translateX(-50%) rotate(1turn); + -webkit-transform: translateX(-50%) rotate(360deg); + transform: translateX(-50%) rotate(360deg); } } + @keyframes spin-centered { - 0% { + from { -webkit-transform: translateX(-50%) rotate(0deg); transform: translateX(-50%) rotate(0deg); } to { - -webkit-transform: translateX(-50%) rotate(1turn); - transform: translateX(-50%) rotate(1turn); + -webkit-transform: translateX(-50%) rotate(360deg); + transform: translateX(-50%) rotate(360deg); } } .directorist-badge { @@ -7605,6 +8191,7 @@ body.modal-overlay-enabled:before { text-transform: uppercase; border-radius: 5px; } + .directorist-badge.directorist-badge-primary { background-color: var(--directorist-color-primary); } @@ -7626,6 +8213,7 @@ body.modal-overlay-enabled:before { .directorist-badge.directorist-badge-gray { background-color: #525768; } + .directorist-badge.directorist-badge-primary-transparent { color: var(--directorist-color-primary); background-color: rgba(var(--directorist-color-primary-rgb), 0.15); @@ -7654,6 +8242,7 @@ body.modal-overlay-enabled:before { color: var(--directorist-color-gray); background-color: rgba(var(--directorist-color-gray-rgb), 0.15); } + .directorist-badge .directorist-badge-tooltip { position: absolute; top: -35px; @@ -7692,6 +8281,10 @@ body.modal-overlay-enabled:before { opacity: 1; visibility: visible; } + +/*** + Directorist Custom Range Slider Styling; +***/ .directorist-custom-range-slider-target, .directorist-custom-range-slider-target * { -ms-touch-action: none; @@ -7703,6 +8296,7 @@ body.modal-overlay-enabled:before { -webkit-box-sizing: border-box; box-sizing: border-box; } + .directorist-custom-range-slider-base, .directorist-custom-range-slider-connects { width: 100%; @@ -7710,10 +8304,13 @@ body.modal-overlay-enabled:before { position: relative; z-index: 1; } + +/* Wrapper for all connect elements. */ .directorist-custom-range-slider-connects { overflow: hidden; z-index: 0; } + .directorist-custom-range-slider-connect, .directorist-custom-range-slider-origin { will-change: transform; @@ -7728,24 +8325,31 @@ body.modal-overlay-enabled:before { -webkit-transform-style: flat; transform-style: flat; } + +/* Give origins 0 height/width so they don't interfere +* with clicking the connect elements. */ .directorist-custom-range-slider-vertical .directorist-custom-range-slider-origin { top: -100%; width: 0; } + .directorist-custom-range-slider-horizontal .directorist-custom-range-slider-origin { height: 0; } + .directorist-custom-range-slider-handle { -webkit-backface-visibility: hidden; backface-visibility: hidden; position: absolute; } + .directorist-custom-range-slider-touch-area { height: 100%; width: 100%; } + .directorist-custom-range-slider-state-tap .directorist-custom-range-slider-connect, .directorist-custom-range-slider-state-tap @@ -7757,9 +8361,12 @@ body.modal-overlay-enabled:before { transform 0.3s, -webkit-transform 0.3s; } + .directorist-custom-range-slider-state-drag * { cursor: inherit !important; } + +/* Slider size and handle placement; */ .directorist-custom-range-slider-horizontal .directorist-custom-range-slider-handle { width: 20px; @@ -7770,6 +8377,7 @@ body.modal-overlay-enabled:before { top: -8px; cursor: pointer; } + .directorist-custom-range-slider-vertical { width: 18px; } @@ -7780,6 +8388,8 @@ body.modal-overlay-enabled:before { inset-inline-end: -6px; bottom: -17px; } + +/* Giving the connect element a border radius causes issues with using transform: scale */ .directorist-custom-range-slider-target { position: relative; width: 100%; @@ -7788,16 +8398,21 @@ body.modal-overlay-enabled:before { border-radius: 2px; background-color: #d9d9d9; } + .directorist-custom-range-slider-connect { background-color: var(--directorist-color-primary); } + +/* Handles and cursors; */ .directorist-custom-range-slider-draggable { cursor: ew-resize; } + .directorist-custom-range-slider-vertical .directorist-custom-range-slider-draggable { cursor: ns-resize; } + .directorist-custom-range-slider-handle { border: 1px solid #d9d9d9; border-radius: 3px; @@ -7812,6 +8427,7 @@ body.modal-overlay-enabled:before { inset 0 1px 7px #ebebeb, 0 3px 6px -3px #bbb; } + .directorist-custom-range-slider-active { -webkit-box-shadow: inset 0 0 1px #fff, @@ -7822,40 +8438,57 @@ body.modal-overlay-enabled:before { inset 0 1px 7px #ddd, 0 3px 6px -3px #bbb; } + +/* Disabled state; */ [disabled] .directorist-custom-range-slider-connect { background-color: #b8b8b8; } + +[disabled].directorist-custom-range-slider-target, [disabled].directorist-custom-range-slider-handle, -[disabled] .directorist-custom-range-slider-handle, -[disabled].directorist-custom-range-slider-target { +[disabled] .directorist-custom-range-slider-handle { cursor: not-allowed; } + +/* Base; */ .directorist-custom-range-slider-pips, .directorist-custom-range-slider-pips * { -webkit-box-sizing: border-box; box-sizing: border-box; } + .directorist-custom-range-slider-pips { position: absolute; color: #999; } + +/* Values; */ .directorist-custom-range-slider-value { position: absolute; white-space: nowrap; text-align: center; } + .directorist-custom-range-slider-value-sub { color: #ccc; font-size: 10px; } + +/* Markings; */ .directorist-custom-range-slider-marker { position: absolute; background-color: #ccc; } -.directorist-custom-range-slider-marker-large, + .directorist-custom-range-slider-marker-sub { background-color: #aaa; } + +.directorist-custom-range-slider-marker-large { + background-color: #aaa; +} + +/* Horizontal layout; */ .directorist-custom-range-slider-pips-horizontal { padding: 10px 0; height: 80px; @@ -7863,15 +8496,18 @@ body.modal-overlay-enabled:before { left: 0; width: 100%; } + .directorist-custom-range-slider-value-horizontal { -webkit-transform: translate(-50%, 50%); transform: translate(-50%, 50%); } + .directorist-custom-range-slider-rtl .directorist-custom-range-slider-value-horizontal { -webkit-transform: translate(50%, 50%); transform: translate(50%, 50%); } + .directorist-custom-range-slider-marker-horizontal.directorist-custom-range-slider-marker { margin-left: -1px; width: 2px; @@ -7883,22 +8519,27 @@ body.modal-overlay-enabled:before { .directorist-custom-range-slider-marker-horizontal.directorist-custom-range-slider-marker-large { height: 15px; } + +/* Vertical layout; */ .directorist-custom-range-slider-pips-vertical { padding: 0 10px; height: 100%; top: 0; left: 100%; } + .directorist-custom-range-slider-value-vertical { - -webkit-transform: translateY(-50%); - transform: translateY(-50%); + -webkit-transform: translate(0, -50%); + transform: translate(0, -50%); padding-left: 25px; } + .directorist-custom-range-slider-rtl .directorist-custom-range-slider-value-vertical { - -webkit-transform: translateY(50%); - transform: translateY(50%); + -webkit-transform: translate(0, 50%); + transform: translate(0, 50%); } + .directorist-custom-range-slider-marker-vertical.directorist-custom-range-slider-marker { width: 5px; height: 2px; @@ -7910,6 +8551,7 @@ body.modal-overlay-enabled:before { .directorist-custom-range-slider-marker-vertical.directorist-custom-range-slider-marker-large { width: 15px; } + .directorist-custom-range-slider-tooltip { display: block; position: absolute; @@ -7921,36 +8563,39 @@ body.modal-overlay-enabled:before { text-align: center; white-space: nowrap; } + .directorist-custom-range-slider-horizontal .directorist-custom-range-slider-tooltip { - -webkit-transform: translate(-50%); - transform: translate(-50%); + -webkit-transform: translate(-50%, 0); + transform: translate(-50%, 0); left: 50%; bottom: 120%; } .directorist-custom-range-slider-horizontal .directorist-custom-range-slider-origin > .directorist-custom-range-slider-tooltip { - -webkit-transform: translate(50%); - transform: translate(50%); + -webkit-transform: translate(50%, 0); + transform: translate(50%, 0); left: auto; bottom: 10px; } + .directorist-custom-range-slider-vertical .directorist-custom-range-slider-tooltip { - -webkit-transform: translateY(-50%); - transform: translateY(-50%); + -webkit-transform: translate(0, -50%); + transform: translate(0, -50%); top: 50%; right: 120%; } .directorist-custom-range-slider-vertical .directorist-custom-range-slider-origin > .directorist-custom-range-slider-tooltip { - -webkit-transform: translateY(-18px); - transform: translateY(-18px); + -webkit-transform: translate(0, -18px); + transform: translate(0, -18px); top: auto; right: 28px; } + .directorist-swiper { height: 100%; overflow: hidden; @@ -7962,8 +8607,8 @@ body.modal-overlay-enabled:before { display: -ms-flexbox; display: flex; } -.directorist-swiper .swiper-slide > a, -.directorist-swiper .swiper-slide > div { +.directorist-swiper .swiper-slide > div, +.directorist-swiper .swiper-slide > a { width: 100%; height: 100%; } @@ -7975,9 +8620,6 @@ body.modal-overlay-enabled:before { z-index: 1; opacity: 0; cursor: pointer; -} -.directorist-swiper__nav, -.directorist-swiper__nav i { -webkit-transition: all 0.3s ease; transition: all 0.3s ease; } @@ -7997,7 +8639,9 @@ body.modal-overlay-enabled:before { -ms-flex-pack: center; justify-content: center; border-radius: 100%; - background-color: hsla(0, 0%, 100%, 0.9); + -webkit-transition: all 0.3s ease; + transition: all 0.3s ease; + background-color: rgba(255, 255, 255, 0.9); } .directorist-swiper__nav .directorist-icon-mask:after { width: 10px; @@ -8066,6 +8710,7 @@ body.modal-overlay-enabled:before { .directorist-swiper__nav { opacity: 1; } + .directorist-single-listing-slider { width: var(--gallery-crop-width, 740px); height: var(--gallery-crop-height, 580px); @@ -8137,6 +8782,7 @@ body.modal-overlay-enabled:before { .directorist-swiper__pagination { display: none; } + .directorist-single-listing-slider-thumb { width: var(--gallery-crop-width, 740px); max-width: 100%; @@ -8163,7 +8809,9 @@ body.modal-overlay-enabled:before { gap: 10px; } } -.directorist-single-listing-slider-thumb .directorist-swiper__navigation, +.directorist-single-listing-slider-thumb .directorist-swiper__navigation { + display: none; +} .directorist-single-listing-slider-thumb .directorist-swiper__pagination { display: none; } @@ -8218,9 +8866,9 @@ body.modal-overlay-enabled:before { border-radius: 8px; } } +.directorist-single-listing-slider-thumb .swiper-slide:hover:before, .directorist-single-listing-slider-thumb - .swiper-slide.swiper-slide-thumb-active:before, -.directorist-single-listing-slider-thumb .swiper-slide:hover:before { + .swiper-slide.swiper-slide-thumb-active:before { opacity: 1; visibility: visible; } @@ -8229,6 +8877,7 @@ body.modal-overlay-enabled:before { display: none; } } + .directorist-swiper-related-listing.directorist-swiper { padding: 15px; margin: -15px; @@ -8251,12 +8900,13 @@ body.modal-overlay-enabled:before { .directorist-swiper-related-listing.directorist-swiper .swiper-wrapper { height: auto; } -.directorist-swiper-related-listing.slider-has-less-items - > .directorist-swiper__navigation, .directorist-swiper-related-listing.slider-has-one-item + > .directorist-swiper__navigation, +.directorist-swiper-related-listing.slider-has-less-items > .directorist-swiper__navigation { display: none; } + .directorist-dropdown { position: relative; } @@ -8291,8 +8941,8 @@ body.modal-overlay-enabled:before { } .directorist-dropdown__toggle.directorist-toggle-has-icon:after { content: ""; - -webkit-mask-image: url(../images/05feea3d261c8b97573023a74fd26f03.svg); - mask-image: url(../images/05feea3d261c8b97573023a74fd26f03.svg); + -webkit-mask-image: url(../js/../images/05feea3d261c8b97573023a74fd26f03.svg); + mask-image: url(../js/../images/05feea3d261c8b97573023a74fd26f03.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 12px; @@ -8317,6 +8967,7 @@ body.modal-overlay-enabled:before { z-index: 99999; } .directorist-dropdown__links a { + display: block; font-size: 14px; font-weight: 400; display: block; @@ -8324,8 +8975,8 @@ body.modal-overlay-enabled:before { border-radius: 8px; text-decoration: none !important; color: var(--directorist-color-body); - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } .directorist-dropdown__links a.active, .directorist-dropdown__links a:hover { @@ -8352,9 +9003,12 @@ body.modal-overlay-enabled:before { border-radius: 8px; border: 2px solid var(--directorist-color-white); } + +/* custom dropdown with select */ .directorist-dropdown-select { position: relative; } + .directorist-dropdown-select-toggle { display: inline-block; border: 1px solid #eee; @@ -8369,6 +9023,7 @@ body.modal-overlay-enabled:before { left: 0; top: 0; } + .directorist-dropdown-select-items { position: absolute; width: 100%; @@ -8383,15 +9038,18 @@ body.modal-overlay-enabled:before { background-color: var(--directorist-color-white); z-index: 10; } + .directorist-dropdown-select-items.directorist-dropdown-select-show { top: 30px; visibility: visible; opacity: 1; pointer-events: all; } + .directorist-dropdown-select-item { display: block; } + .directorist-switch { position: relative; display: block; @@ -8478,31 +9136,33 @@ body.modal-overlay-enabled:before { -webkit-transform 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; } + .directorist-switch.directorist-switch-primary .directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-primary); } .directorist-switch.directorist-switch-success.directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-success); } .directorist-switch.directorist-switch-secondary.directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-secondary); } .directorist-switch.directorist-switch-danger.directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-danger); } .directorist-switch.directorist-switch-warning.directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-warning); } .directorist-switch.directorist-switch-info.directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-info); } + .directorist-switch-Yn { font-size: 15px; padding: 3px; @@ -8530,7 +9190,6 @@ body.modal-overlay-enabled:before { background-color: #3e62f5; color: var(--directorist-color-white); } -.directorist-switch-Yn input[type="checkbox"] .directorist-switch-yes, .directorist-switch-Yn input[type="checkbox"]:checked + span @@ -8538,6 +9197,10 @@ body.modal-overlay-enabled:before { background-color: transparent; color: #9b9eaf; } +.directorist-switch-Yn input[type="checkbox"] .directorist-switch-yes { + background-color: transparent; + color: #9b9eaf; +} .directorist-switch-Yn input[type="checkbox"] + span + .directorist-switch-no { background-color: #fb6665; color: var(--directorist-color-white); @@ -8548,6 +9211,8 @@ body.modal-overlay-enabled:before { .directorist-switch-Yn .directorist-switch-no { border-radius: 0 15px 15px 0; } + +/* Directorist Tooltip */ .directorist-tooltip { position: relative; } @@ -8563,8 +9228,8 @@ body.modal-overlay-enabled:before { top: 100%; margin-top: 8px; } -.directorist-tooltip[data-label]:after, -.directorist-tooltip[data-label]:before { +.directorist-tooltip[data-label]:before, +.directorist-tooltip[data-label]:after { position: absolute !important; bottom: 100%; display: none; @@ -8581,7 +9246,7 @@ body.modal-overlay-enabled:before { -webkit-transform: translateX(-50%); transform: translateX(-50%); border: 6px solid transparent; - border-top: 6px solid rgba(var(--directorist-color-dark-rgb), 1); + border-top-color: rgba(var(--directorist-color-dark-rgb), 1); } .directorist-tooltip[data-label]:after { font-size: 14px; @@ -8599,14 +9264,15 @@ body.modal-overlay-enabled:before { max-height: 200px; overflow-y: auto; } -.directorist-tooltip[data-label]:hover:after, -.directorist-tooltip[data-label]:hover:before { +.directorist-tooltip[data-label]:hover:before, +.directorist-tooltip[data-label]:hover:after { display: block; } .directorist-tooltip .directorist-tooltip__label { font-size: 16px; color: var(--directorist-color-primary); } + .directorist-tooltip.directorist-tooltip-primary[data-label]:after { background-color: var(--directorist-color-primary); } @@ -8661,16 +9327,19 @@ body.modal-overlay-enabled:before { .directorist-tooltip.directorist-tooltip-bottom.directorist-tooltip-danger[data-label]:before { border-bottom-color: var(--directorist-color-danger); } + @-webkit-keyframes showTooltip { - 0% { + from { opacity: 0; } } + @keyframes showTooltip { - 0% { + from { opacity: 0; } } +/* Alerts style */ .directorist-alert { font-size: 15px; word-break: break-word; @@ -8705,9 +9374,9 @@ body.modal-overlay-enabled:before { -ms-flex-align: start; align-items: flex-start; } -.directorist-alert__content i, +.directorist-alert__content span.la, .directorist-alert__content span.fa, -.directorist-alert__content span.la { +.directorist-alert__content i { margin-right: 12px; line-height: 1.65; } @@ -8720,7 +9389,7 @@ body.modal-overlay-enabled:before { background: none !important; text-decoration: none; margin-left: auto !important; - border: 0; + border: 0 none; -webkit-box-shadow: none; box-shadow: none; line-height: 1.2; @@ -8737,8 +9406,8 @@ body.modal-overlay-enabled:before { -ms-flex-pack: center; justify-content: center; } -.directorist-alert__close .fa, .directorist-alert__close .la, +.directorist-alert__close .fa, .directorist-alert__close i, .directorist-alert__close span { font-size: 16px; @@ -8752,6 +9421,7 @@ body.modal-overlay-enabled:before { .directorist-alert a { text-decoration: none; } + .directorist-alert.directorist-alert-primary { background: rgba(var(--directorist-color-primary-rgb), 0.1); color: var(--directorist-color-primary); @@ -8790,6 +9460,7 @@ body.modal-overlay-enabled:before { .directorist-alert--sm { padding: 10px 20px; } + .alert-danger { background: rgba(232, 0, 0, 0.3); } @@ -8801,6 +9472,8 @@ body.modal-overlay-enabled:before { .alert-danger.directorist-register-error .directorist-alert__close { color: #e80000; } + +/* Add listing notice alert */ .directorist-single-listing-notice .directorist-alert__content { -webkit-box-pack: justify; -webkit-justify-content: space-between; @@ -8814,6 +9487,7 @@ body.modal-overlay-enabled:before { .directorist-single-listing-notice .directorist-alert__content button span { font-size: 20px; } + .directorist-user-dashboard .directorist-container-fluid { -webkit-box-sizing: border-box; box-sizing: border-box; @@ -8822,6 +9496,8 @@ body.modal-overlay-enabled:before { cursor: pointer; padding-right: 0; } + +/* Modal Core Styles */ .directorist-modal { position: fixed; width: 100%; @@ -8834,6 +9510,7 @@ body.modal-overlay-enabled:before { overflow: auto; outline: 0; } + .directorist-modal__dialog { position: relative; width: 500px; @@ -8857,9 +9534,11 @@ body.modal-overlay-enabled:before { min-height: calc(100% - 80px); pointer-events: none; } + .directorist-modal__dialog-lg { width: 900px; } + .directorist-modal__content { width: 100%; background-color: var(--directorist-color-white); @@ -8902,8 +9581,8 @@ body.modal-overlay-enabled:before { line-height: 1.45; padding: 6px; text-decoration: none; - -webkit-transition: background-color 0.2s ease-in-out; - transition: background-color 0.2s ease-in-out; + -webkit-transition: 0.2s background-color ease-in-out; + transition: 0.2s background-color ease-in-out; background-color: var(--directorist-color-bg-light); } .directorist-modal__content @@ -8950,15 +9629,19 @@ body.modal-overlay-enabled:before { .directorist-form-element { resize: none; } + .directorist-modal__dialog.directorist-modal--lg { width: 800px; } + .directorist-modal__dialog.directorist-modal--xl { width: 1140px; } + .directorist-modal__dialog.directorist-modal--sm { width: 300px; } + .directorist-modal.directorist-fade { -webkit-transition: 0.3s ease; transition: 0.3s ease; @@ -8966,16 +9649,19 @@ body.modal-overlay-enabled:before { visibility: visible; z-index: 9999; } + .directorist-modal.directorist-fade:not(.directorist-show) { opacity: 0; visibility: hidden; } + .directorist-modal.directorist-show .directorist-modal__dialog { opacity: 1; visibility: visible; -webkit-transition: 0.3s ease; transition: 0.3s ease; } + .directorist-search-modal__overlay { position: fixed; top: 0; @@ -8995,8 +9681,8 @@ body.modal-overlay-enabled:before { height: 100%; background: rgba(var(--directorist-color-dark-rgb), 0.5); opacity: 1; - -webkit-transition: all 0.4s ease; - transition: all 0.4s ease; + -webkit-transition: all ease 0.4s; + transition: all ease 0.4s; } .directorist-search-modal__contents { position: fixed; @@ -9012,8 +9698,8 @@ body.modal-overlay-enabled:before { visibility: hidden; z-index: 9999; border-radius: 12px; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; background-color: var(--directorist-color-white); } @media only screen and (max-width: 575px) { @@ -9157,10 +9843,10 @@ body.modal-overlay-enabled:before { .directorist-search-field__input.directorist-form-element[type="date"], .directorist-search-modal__contents__body .directorist-search-field - .directorist-search-field__input.directorist-form-element[type="number"], + .directorist-search-field__input.directorist-form-element[type="time"], .directorist-search-modal__contents__body .directorist-search-field - .directorist-search-field__input.directorist-form-element[type="time"] { + .directorist-search-field__input.directorist-form-element[type="number"] { padding-right: 0; } .directorist-search-modal__contents__body .directorist-search-field__btn { @@ -9176,7 +9862,7 @@ body.modal-overlay-enabled:before { } .directorist-search-modal__contents__body .directorist-search-field__btn--clear - i:after { + i::after { width: 16px; height: 16px; background-color: #bcbcbc; @@ -9185,7 +9871,7 @@ body.modal-overlay-enabled:before { } .directorist-search-modal__contents__body .directorist-search-field__btn--clear:hover - i:after { + i::after { background-color: var(--directorist-color-primary); } .directorist-search-modal__contents__body @@ -9197,7 +9883,9 @@ body.modal-overlay-enabled:before { } .directorist-search-modal__contents__body .directorist-search-field.input-is-focused - .directorist-search-field__input[type="date"], + .directorist-search-field__input[type="date"] { + padding-right: 20px; +} .directorist-search-modal__contents__body .directorist-search-field.input-is-focused .directorist-search-field__input[type="time"] { @@ -9247,10 +9935,10 @@ body.modal-overlay-enabled:before { } .directorist-search-modal__contents__body .directorist-search-field.input-is-focused - .directorist-search-field__input, + .directorist-select, .directorist-search-modal__contents__body .directorist-search-field.input-is-focused - .directorist-select { + .directorist-search-field__input { position: relative; bottom: -5px; } @@ -9316,7 +10004,7 @@ body.modal-overlay-enabled:before { .directorist-search-field .directorist-filter-location-icon .directorist-icon-mask:after { - background-color: grey; + background-color: #808080; } .directorist-search-modal__contents__body .directorist-search-field @@ -9343,7 +10031,7 @@ body.modal-overlay-enabled:before { .directorist-icon-mask:after { width: 12px; height: 12px; - background-color: grey; + background-color: #808080; } .directorist-search-modal__contents__body .directorist-search-form-dropdown { border-bottom: 1px solid var(--directorist-color-border); @@ -9454,14 +10142,14 @@ body.modal-overlay-enabled:before { border: none; cursor: pointer; } -.directorist-search-modal__contents__btn i:after { +.directorist-search-modal__contents__btn i::after { width: 10px; height: 10px; - -webkit-transition: background-color 0.3s ease; - transition: background-color 0.3s ease; + -webkit-transition: background-color ease 0.3s; + transition: background-color ease 0.3s; background-color: var(--directorist-color-dark); } -.directorist-search-modal__contents__btn:hover i:after { +.directorist-search-modal__contents__btn:hover i::after { background-color: var(--directorist-color-danger); } @media only screen and (max-width: 575px) { @@ -9470,7 +10158,7 @@ body.modal-overlay-enabled:before { height: auto; background: transparent; } - .directorist-search-modal__contents__btn i:after { + .directorist-search-modal__contents__btn i::after { width: 12px; height: 12px; } @@ -9533,8 +10221,8 @@ body.modal-overlay-enabled:before { top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; width: 16px; height: 16px; -webkit-mask-position: center; @@ -9542,8 +10230,8 @@ body.modal-overlay-enabled:before { -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; background-color: var(--directorist-color-body); - -webkit-mask-image: url(../images/9ddfe727fdcddbb985d69ce2e9a06358.svg); - mask-image: url(../images/9ddfe727fdcddbb985d69ce2e9a06358.svg); + -webkit-mask-image: url(../js/../images/9ddfe727fdcddbb985d69ce2e9a06358.svg); + mask-image: url(../js/../images/9ddfe727fdcddbb985d69ce2e9a06358.svg); } .directorist-search-modal--basic .directorist-search-form-action__modal__btn-search { @@ -9553,7 +10241,7 @@ body.modal-overlay-enabled:before { } .directorist-search-modal--basic .directorist-search-form-action__modal__btn-search - i:after { + i::after { background-color: currentColor; } @media screen and (max-width: 575px) { @@ -9585,8 +10273,8 @@ body.modal-overlay-enabled:before { mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; - -webkit-mask-image: url(../images/447c512963a6e865700c065e70bb46b7.svg); - mask-image: url(../images/447c512963a6e865700c065e70bb46b7.svg); + -webkit-mask-image: url(../js/../images/447c512963a6e865700c065e70bb46b7.svg); + mask-image: url(../js/../images/447c512963a6e865700c065e70bb46b7.svg); opacity: 0; } .directorist-search-modal--basic @@ -9650,11 +10338,11 @@ body.modal-overlay-enabled:before { .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field - .directorist-search-field__input, + .directorist-select, .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field - .directorist-select { + .directorist-search-field__input { width: 100%; padding-right: 0; } @@ -9779,23 +10467,23 @@ body.modal-overlay-enabled:before { .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field.input-is-focused:not(.input-has-noLabel) - .directorist-filter-location-icon + .directorist-select ~ .directorist-search-field__btn--clear, .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field.input-is-focused:not(.input-has-noLabel) - .directorist-select + .directorist-filter-location-icon ~ .directorist-search-field__btn--clear { right: 5px !important; } .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field.input-is-focused:not(.input-has-noLabel) - .directorist-search-field__input, + .directorist-select, .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field.input-is-focused:not(.input-has-noLabel) - .directorist-select { + .directorist-search-field__input { padding-right: 0; } .directorist-search-modal--basic @@ -9864,32 +10552,32 @@ body.modal-overlay-enabled:before { } .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-has-value, + .directorist-search-field.input-is-focused, .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-is-focused { + .directorist-search-field.input-has-value { padding-right: 0; } .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-has-value + .directorist-search-field.input-is-focused .directorist-select, .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-is-focused + .directorist-search-field.input-has-value .directorist-select { width: 100%; } .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-has-value + .directorist-search-field.input-is-focused .directorist-select .select2-container .directorist-select2-addons-area .directorist-select2-dropdown-toggle, .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-is-focused + .directorist-search-field.input-has-value .directorist-select .select2-container .directorist-select2-addons-area @@ -9898,12 +10586,12 @@ body.modal-overlay-enabled:before { } .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-has-value + .directorist-search-field.input-is-focused .directorist-select ~ .directorist-search-field__btn--clear, .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-is-focused + .directorist-search-field.input-has-value .directorist-select ~ .directorist-search-field__btn--clear { right: 20px !important; @@ -9921,10 +10609,10 @@ body.modal-overlay-enabled:before { .directorist-search-modal--basic .open_now > label { display: none; } +.directorist-search-modal--basic .open_now .check-btn, .directorist-search-modal--basic .directorist-search-modal__input - .directorist-price-ranges, -.directorist-search-modal--basic .open_now .check-btn { + .directorist-price-ranges { padding: 10px 0; } .directorist-search-modal--basic @@ -9976,13 +10664,13 @@ body.modal-overlay-enabled:before { display: -ms-flexbox; display: flex; } -.directorist-search-modal--basic .directorist-search-field-price_range > label, .directorist-search-modal--basic .directorist-search-field-pricing > label, +.directorist-search-modal--basic .directorist-search-field__number > label, +.directorist-search-modal--basic .directorist-search-field-text_range > label, +.directorist-search-modal--basic .directorist-search-field-price_range > label, .directorist-search-modal--basic .directorist-search-field-radius_search - > label, -.directorist-search-modal--basic .directorist-search-field-text_range > label, -.directorist-search-modal--basic .directorist-search-field__number > label { + > label { position: unset; -webkit-transform: unset; transform: unset; @@ -10056,8 +10744,10 @@ body.modal-overlay-enabled:before { opacity: 1; } .directorist-search-modal--full .directorist-search-field-pricing > label, -.directorist-search-modal--full .directorist-search-field-radius_search > label, -.directorist-search-modal--full .directorist-search-field-text_range > label { +.directorist-search-modal--full .directorist-search-field-text_range > label, +.directorist-search-modal--full + .directorist-search-field-radius_search + > label { display: block; font-size: 16px; font-weight: 500; @@ -10076,8 +10766,8 @@ body.modal-overlay-enabled:before { border-radius: 8px; min-height: 40px; margin: 0 0 15px; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } .directorist-search-modal__input .directorist-select { display: -webkit-inline-box; @@ -10092,32 +10782,32 @@ body.modal-overlay-enabled:before { -ms-flex: 1; flex: 1; } +.directorist-search-modal__input .select2.select2-container .select2-selection, .directorist-search-modal__input .directorist-form-group .directorist-form-element, .directorist-search-modal__input .directorist-form-group - .directorist-form-element:focus, -.directorist-search-modal__input .select2.select2-container .select2-selection { - border: 0; + .directorist-form-element:focus { + border: 0 none; } .directorist-search-modal__input__btn { width: 0; padding: 0 10px; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } -.directorist-search-modal__input__btn .directorist-icon-mask:after { +.directorist-search-modal__input__btn .directorist-icon-mask::after { width: 14px; height: 14px; opacity: 0; visibility: hidden; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; background-color: var(--directorist-color-body); } .directorist-search-modal__input - .input-is-focused.directorist-search-query:after { + .input-is-focused.directorist-search-query::after { display: none; } .directorist-search-modal__input @@ -10323,7 +11013,7 @@ body.modal-overlay-enabled:before { i:after { width: 12px; height: 12px; - background-color: grey; + background-color: #808080; } @media screen and (max-width: 575px) { .directorist-search-modal @@ -10377,11 +11067,11 @@ body.modal-overlay-enabled:before { .directorist-search-modal .directorist-search-basic-dropdown .directorist-search-basic-dropdown-content - .directorist-checkbox-wrapper, + .directorist-radio-wrapper, .directorist-search-modal .directorist-search-basic-dropdown .directorist-search-basic-dropdown-content - .directorist-radio-wrapper { + .directorist-checkbox-wrapper { -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; @@ -10395,6 +11085,7 @@ body.modal-overlay-enabled:before { .select2-selection__placeholder { color: var(--directorist-color-dark); } + .directorist-content-active.directorist-overlay-active { overflow: hidden; } @@ -10402,15 +11093,54 @@ body.modal-overlay-enabled:before { .directorist-search-modal__input .select2.select2-container .select2-selection { - border: 0 !important; + border: 0 none !important; +} + +/* Responsive CSS */ +/* Large devices (desktops, 992px and up) */ +@media (min-width: 992px) and (max-width: 1199.98px) { + .at-modal-content.at-modal-xl, + .at-modal-content.at-modal-lg, + .at-modal-content.at-modal-md, + .at-modal-content.at-modal-sm { + width: calc(100% - 60px); + } +} +/* Medium devices (tablets, 768px and up) */ +@media (min-width: 768px) and (max-width: 991.98px) { + .at-modal-content.at-modal-xl, + .at-modal-content.at-modal-lg, + .at-modal-content.at-modal-md, + .at-modal-content.at-modal-sm { + width: calc(100% - 60px); + } +} +/* Small devices (landscape phones, 576px and up) */ +@media (min-width: 576px) and (max-width: 767.98px) { + .at-modal-content.at-modal-xl, + .at-modal-content.at-modal-lg, + .at-modal-content.at-modal-md, + .at-modal-content.at-modal-sm { + width: calc(100% - 60px); + } +} +/* Extra small devices (portrait phones, less than 576px) */ +@media (max-width: 575.98px) { + .at-modal-content.at-modal-xl, + .at-modal-content.at-modal-lg, + .at-modal-content.at-modal-md, + .at-modal-content.at-modal-sm { + width: calc(100% - 30px); + } } input:-webkit-autofill, -input:-webkit-autofill:active, +input:-webkit-autofill:hover, input:-webkit-autofill:focus, -input:-webkit-autofill:hover { +input:-webkit-autofill:active { -webkit-transition: background-color 5000s ease-in-out 0s !important; transition: background-color 5000s ease-in-out 0s !important; } + .directorist-content-active .directorist-card { border: none; padding: 0; @@ -10473,6 +11203,7 @@ input:-webkit-autofill:hover { .directorist-content-active .directorist-card__body p:empty { display: none; } + .directorist-color-picker-wrap .wp-color-result { text-decoration: none; margin: 0 6px 0 0 !important; @@ -10496,6 +11227,7 @@ input:-webkit-autofill:hover { font-weight: 500; line-height: 2.4; } + .directorist-form-group { position: relative; width: 100%; @@ -10555,12 +11287,14 @@ input:-webkit-autofill:hover { -ms-flex-order: 2; order: 2; } + .directorist-advanced-filter__advanced__element .directorist-search-field.input-is-focused .directorist-form-group__with-prefix .directorist-search-field__input { padding-right: 0 !important; } + .directorist-form-group label { margin: 0; font-size: 14px; @@ -10596,6 +11330,7 @@ input:-webkit-autofill:hover { margin-top: 10px; color: var(--directorist-color-deep-gray); } + .directorist-form-element.directorist-form-element-lg { height: 50px; } @@ -10610,6 +11345,7 @@ input:-webkit-autofill:hover { height: 30px; line-height: 30px; } + .directorist-form-group.directorist-icon-left .directorist-input-icon { left: 0; } @@ -10651,12 +11387,15 @@ input:-webkit-autofill:hover { margin-top: 0; } } + .directorist-label { margin-bottom: 0; } + input.directorist-toggle-input { display: none; } + .directorist-toggle-input-label { display: -webkit-box; display: -webkit-flex; @@ -10671,6 +11410,7 @@ input.directorist-toggle-input { -ms-flex-pack: justify; justify-content: space-between; } + span.directorist-toggle-input-label-text { -webkit-box-flex: 1; -webkit-flex-grow: 1; @@ -10678,45 +11418,51 @@ span.directorist-toggle-input-label-text { flex-grow: 1; padding-right: 10px; } + span.directorist-toggle-input-label-icon { position: relative; + display: inline-block; width: 50px; height: 25px; border-radius: 30px; background-color: #d9d9d9; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } -span.directorist-toggle-input-label-icon, -span.directorist-toggle-input-label-icon:after { - display: inline-block; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; -} -span.directorist-toggle-input-label-icon:after { + +span.directorist-toggle-input-label-icon::after { content: ""; position: absolute; + display: inline-block; width: 15px; height: 15px; border-radius: 50%; background-color: var(--directorist-color-white); top: 50%; - -webkit-transform: translateY(-50%); - transform: translateY(-50%); + -webkit-transform: translate(0, -50%); + transform: translate(0, -50%); + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } + input.directorist-toggle-input:checked + .directorist-toggle-input-label span.directorist-toggle-input-label-icon { background-color: #4353ff; } + input.directorist-toggle-input:not(:checked) + .directorist-toggle-input-label - span.directorist-toggle-input-label-icon:after { + span.directorist-toggle-input-label-icon::after { left: 5px; } + input.directorist-toggle-input:checked + .directorist-toggle-input-label - span.directorist-toggle-input-label-icon:after { + span.directorist-toggle-input-label-icon::after { left: calc(100% - 20px); } + .directorist-tab-navigation { padding: 0; margin: 0 -10px 20px; @@ -10733,6 +11479,7 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; } + .directorist-tab-navigation-list-item { position: relative; list-style: none; @@ -10753,7 +11500,7 @@ input.directorist-toggle-input:checked color: var(--directorist-color-white); background-color: var(--directorist-color-primary); } -.directorist-tab-navigation-list-item.--is-active:after { +.directorist-tab-navigation-list-item.--is-active::after { content: ""; position: absolute; left: 50%; @@ -10763,13 +11510,14 @@ input.directorist-toggle-input:checked border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 10px solid var(--directorist-color-primary); - -webkit-transform: translate(-50%); - transform: translate(-50%); + -webkit-transform: translate(-50%, 0); + transform: translate(-50%, 0); } .directorist-tab-navigation-list-item .directorist-tab-navigation-list-item-link { margin: -15px -20px; } + .directorist-tab-navigation-list-item-link { position: relative; display: block; @@ -10780,8 +11528,8 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-bg-light); } .directorist-tab-navigation-list-item-link:active, -.directorist-tab-navigation-list-item-link:focus, -.directorist-tab-navigation-list-item-link:visited { +.directorist-tab-navigation-list-item-link:visited, +.directorist-tab-navigation-list-item-link:focus { outline: none; -webkit-box-shadow: none; box-shadow: none; @@ -10792,7 +11540,7 @@ input.directorist-toggle-input:checked color: var(--directorist-color-white); background-color: var(--directorist-color-primary); } -.directorist-tab-navigation-list-item-link.--is-active:after { +.directorist-tab-navigation-list-item-link.--is-active::after { content: ""; position: absolute; left: 50%; @@ -10802,34 +11550,47 @@ input.directorist-toggle-input:checked border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 10px solid var(--directorist-color-primary); - -webkit-transform: translate(-50%); - transform: translate(-50%); + -webkit-transform: translate(-50%, 0); + transform: translate(-50%, 0); } + .directorist-tab-content { display: none; } .directorist-tab-content.--is-active { display: block; } + .directorist-headline-4 { - margin: 0 0 15px; + margin: 0 0 15px 0; font-size: 15px; - font-weight: 400; + font-weight: normal; } + .directorist-label-addon-prepend { margin-right: 10px; } + .--is-hidden { display: none; } + .directorist-flex-center { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; } + .directorist-checkbox, -.directorist-flex-center, .directorist-radio { display: -webkit-box; display: -webkit-flex; @@ -11023,6 +11784,7 @@ input.directorist-toggle-input:checked opacity: 1; visibility: visible; } + .directorist-checkbox input[type="checkbox"] + .directorist-checkbox__label:before { @@ -11030,8 +11792,8 @@ input.directorist-toggle-input:checked left: 5px; top: 5px; content: ""; - -webkit-mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); - mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); + -webkit-mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); + mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 10px; @@ -11051,6 +11813,7 @@ input.directorist-toggle-input:checked left: 3px; } } + .directorist-radio input[type="radio"] + .directorist-radio__label:before { position: absolute; left: 5px; @@ -11059,7 +11822,7 @@ input.directorist-toggle-input:checked height: 8px; border-radius: 50%; background-color: var(--directorist-color-white); - border: 0; + border: 0 none; opacity: 0; visibility: hidden; z-index: 2; @@ -11081,14 +11844,15 @@ input.directorist-toggle-input:checked .directorist-radio.directorist-radio-circle input[type="radio"] + .directorist-radio__label:before { - -webkit-mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); - mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); + -webkit-mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); + mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 10px; height: 10px; background-color: var(--directorist-color-white); } + .directorist-checkbox.directorist-checkbox-circle input[type="checkbox"] + .directorist-checkbox__label:after, @@ -11115,6 +11879,7 @@ input.directorist-toggle-input:checked + .directorist-radio__label:after { border-radius: 50%; } + .directorist-checkbox.directorist-checkbox-primary input[type="checkbox"]:checked + .directorist-checkbox__label:after, @@ -11175,6 +11940,7 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-primary); border-color: var(--directorist-color-primary); } + .directorist-radio.directorist-radio-primary input[type="radio"]:checked + .directorist-radio__label:after { @@ -11208,6 +11974,7 @@ input.directorist-toggle-input:checked + .directorist-radio__label:before { background-color: #3e62f5 !important; } + .directorist-checkbox-rating { gap: 20px; width: 100%; @@ -11243,6 +12010,7 @@ input.directorist-toggle-input:checked height: 14px; margin-top: 1px; } + .directorist-radio.directorist-radio-theme-admin input[type="radio"] + .directorist-radio__label:before { @@ -11270,6 +12038,7 @@ input.directorist-toggle-input:checked .directorist-radio.directorist-radio-theme-admin .directorist-radio__label { padding-left: 35px !important; } + .directorist-checkbox.directorist-checkbox-theme-admin input[type="checkbox"] + .directorist-checkbox__label:before { @@ -11300,6 +12069,7 @@ input.directorist-toggle-input:checked .directorist-checkbox__label { padding-left: 35px !important; } + .directorist-content-active { -webkit-box-sizing: border-box; box-sizing: border-box; @@ -11436,13 +12206,6 @@ input.directorist-toggle-input:checked } } .directorist-content-active .directorist-author-profile__meta-list__item { - gap: 15px; - margin: 0; - padding: 18px 75px 18px 18px; - background-color: var(--directorist-color-bg-gray); -} -.directorist-content-active .directorist-author-profile__meta-list__item, -.directorist-content-active .directorist-author-profile__meta-list__item i { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -11451,9 +12214,22 @@ input.directorist-toggle-input:checked -webkit-align-items: center; -ms-flex-align: center; align-items: center; + gap: 15px; + padding: 18px; + margin: 0; + padding-right: 75px; border-radius: 10px; + background-color: var(--directorist-color-bg-gray); } .directorist-content-active .directorist-author-profile__meta-list__item i { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; @@ -11461,6 +12237,7 @@ input.directorist-toggle-input:checked width: 44px; height: 44px; background-color: var(--directorist-color-primary); + border-radius: 10px; } .directorist-content-active .directorist-author-profile__meta-list__item @@ -11675,7 +12452,7 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-author-info-list__item - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 15px; height: 15px; background-color: var(--directorist-color-deep-gray); @@ -11753,8 +12530,8 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-author-social__item a - .directorist-icon-mask:after { - background-color: grey; + .directorist-icon-mask::after { + background-color: #808080; -webkit-transition: 0.3s ease; transition: 0.3s ease; } @@ -11768,11 +12545,14 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-author-social__item a:hover - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } -.directorist-content-active .directorist-author-social__item a:hover span.fa, -.directorist-content-active .directorist-author-social__item a:hover span.la { +.directorist-content-active .directorist-author-social__item a:hover { + /* Legacy Icon */ +} +.directorist-content-active .directorist-author-social__item a:hover span.la, +.directorist-content-active .directorist-author-social__item a:hover span.fa { background: none; color: var(--directorist-color-white); } @@ -11791,13 +12571,13 @@ input.directorist-toggle-input:checked .directorist-author-info-widget--light .directorist-author-social-item, .directorist-content-active - .directorist-author-social--light + .directorist-single-author-info--light .directorist-author-social-item, .directorist-content-active .directorist-authors-section--light .directorist-author-social-item, .directorist-content-active - .directorist-single-author-info--light + .directorist-author-social--light .directorist-author-social-item { display: inline-block; margin: 0; @@ -11807,7 +12587,7 @@ input.directorist-toggle-input:checked .directorist-author-social-item a, .directorist-content-active - .directorist-author-social--light + .directorist-single-author-info--light .directorist-author-social-item a, .directorist-content-active @@ -11815,7 +12595,7 @@ input.directorist-toggle-input:checked .directorist-author-social-item a, .directorist-content-active - .directorist-single-author-info--light + .directorist-author-social--light .directorist-author-social-item a { font-size: 15px; @@ -11840,8 +12620,8 @@ input.directorist-toggle-input:checked border-radius: 4px; color: var(--directorist-color-white); overflow: hidden; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .directorist-content-active .directorist-author-info-widget--light @@ -11849,7 +12629,7 @@ input.directorist-toggle-input:checked a .directorist-icon-mask:after, .directorist-content-active - .directorist-author-social--light + .directorist-single-author-info--light .directorist-author-social-item a .directorist-icon-mask:after, @@ -11859,7 +12639,7 @@ input.directorist-toggle-input:checked a .directorist-icon-mask:after, .directorist-content-active - .directorist-single-author-info--light + .directorist-author-social--light .directorist-author-social-item a .directorist-icon-mask:after { @@ -11870,7 +12650,7 @@ input.directorist-toggle-input:checked .directorist-author-social-item a:hover, .directorist-content-active - .directorist-author-social--light + .directorist-single-author-info--light .directorist-author-social-item a:hover, .directorist-content-active @@ -11878,7 +12658,7 @@ input.directorist-toggle-input:checked .directorist-author-social-item a:hover, .directorist-content-active - .directorist-single-author-info--light + .directorist-author-social--light .directorist-author-social-item a:hover { background-color: var(--directorist-color-primary); @@ -11889,7 +12669,7 @@ input.directorist-toggle-input:checked a:hover .directorist-icon-mask:after, .directorist-content-active - .directorist-author-social--light + .directorist-single-author-info--light .directorist-author-social-item a:hover .directorist-icon-mask:after, @@ -11899,7 +12679,7 @@ input.directorist-toggle-input:checked a:hover .directorist-icon-mask:after, .directorist-content-active - .directorist-single-author-info--light + .directorist-author-social--light .directorist-author-social-item a:hover .directorist-icon-mask:after { @@ -11989,7 +12769,7 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-author-listing-top .directorist-type-nav__link:hover - i:after { + i::after { background-color: var(--directorist-color-primary); } .directorist-content-active @@ -12015,7 +12795,7 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-author-listing-top .directorist-type-nav__list__current - i:after { + i::after { background-color: var(--directorist-color-primary); } .directorist-content-active @@ -12040,8 +12820,8 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-author-listing-top .directorist-dropdown__toggle:after { - -webkit-mask-image: url(../images/87cd0434594c4fe6756c2af1404a5f32.svg); - mask-image: url(../images/87cd0434594c4fe6756c2af1404a5f32.svg); + -webkit-mask-image: url(../js/../images/87cd0434594c4fe6756c2af1404a5f32.svg); + mask-image: url(../js/../images/87cd0434594c4fe6756c2af1404a5f32.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 16px; @@ -12071,6 +12851,8 @@ input.directorist-toggle-input:checked .directorist-type-nav { background: none; } + +/* category style three */ .directorist-category-child__card { border: 1px solid #eee; border-radius: 4px; @@ -12129,6 +12911,8 @@ input.directorist-toggle-input:checked .directorist-category-child__card__body li a span { color: var(--directorist-color-body); } + +/* All listing archive page styles */ .directorist-archive-contents { -webkit-box-sizing: border-box; box-sizing: border-box; @@ -12157,6 +12941,8 @@ input.directorist-toggle-input:checked display: none; } } + +/* Directory type nav */ .directorist-content-active .directorist-type-nav__link { position: relative; display: -webkit-box; @@ -12186,7 +12972,7 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-type-nav__link:hover - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-primary); } .directorist-content-active .directorist-type-nav__link:focus { @@ -12198,7 +12984,7 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-type-nav__link - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 22px; height: 20px; background-color: var(--directorist-color-body); @@ -12271,13 +13057,15 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-type-nav__list .current - .directorist-icon-mask:after, + .directorist-icon-mask::after, .directorist-content-active .directorist-type-nav__list .directorist-type-nav__list__current - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-primary); } + +/* Archive header bar contents */ .directorist-content-active .directorist-archive-contents__top .directorist-type-nav { @@ -12342,12 +13130,19 @@ input.directorist-toggle-input:checked color: var(--directorist-color-body); } .directorist-content-active .directorist-listings-header__left { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; gap: 15px; } -.directorist-content-active .directorist-listings-header__left, .directorist-content-active .directorist-listings-header__left .directorist-filter-btn { @@ -12359,10 +13154,6 @@ input.directorist-toggle-input:checked -webkit-align-items: center; -ms-flex-align: center; align-items: center; -} -.directorist-content-active - .directorist-listings-header__left - .directorist-filter-btn { gap: 5px; font-size: 14px; font-weight: 400; @@ -12372,13 +13163,13 @@ input.directorist-toggle-input:checked padding: 0 20px; border-radius: 8px; cursor: pointer; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } .directorist-content-active .directorist-listings-header__left .directorist-filter-btn - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 14px; height: 14px; margin-right: 2px; @@ -12447,14 +13238,8 @@ input.directorist-toggle-input:checked .directorist-archive-notfound { padding: 15px; } + .directorist-viewas { - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - gap: 8px; -} -.directorist-viewas, -.directorist-viewas__item { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -12463,12 +13248,24 @@ input.directorist-toggle-input:checked -webkit-align-items: center; -ms-flex-align: center; align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + gap: 8px; } .directorist-viewas__item { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-box-sizing: border-box; box-sizing: border-box; width: 40px; @@ -12478,7 +13275,7 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-light); color: var(--directorist-color-body); } -.directorist-viewas__item i:after { +.directorist-viewas__item i::after { width: 16px; height: 16px; background-color: var(--directorist-color-body); @@ -12487,7 +13284,7 @@ input.directorist-toggle-input:checked border-color: var(--directorist-color-primary); background-color: var(--directorist-color-primary); } -.directorist-viewas__item.active i:after { +.directorist-viewas__item.active i::after { background-color: var(--directorist-color-white); } @media only screen and (max-width: 575px) { @@ -12495,6 +13292,7 @@ input.directorist-toggle-input:checked display: none; } } + .listing-with-sidebar { display: -webkit-box; display: -webkit-flex; @@ -12621,13 +13419,13 @@ input.directorist-toggle-input:checked .directorist-search-field__input { bottom: 0; } -.listing-with-sidebar__searchform .directorist-search-field-price_range > label, .listing-with-sidebar__searchform .directorist-search-field-pricing > label, +.listing-with-sidebar__searchform .directorist-search-field__number > label, +.listing-with-sidebar__searchform .directorist-search-field-text_range > label, +.listing-with-sidebar__searchform .directorist-search-field-price_range > label, .listing-with-sidebar__searchform .directorist-search-field-radius_search - > label, -.listing-with-sidebar__searchform .directorist-search-field-text_range > label, -.listing-with-sidebar__searchform .directorist-search-field__number > label { + > label { position: unset; -webkit-transform: unset; transform: unset; @@ -12649,6 +13447,7 @@ input.directorist-toggle-input:checked } .listing-with-sidebar__header .directorist-archive-sidebar-toggle { width: auto; + padding: 0 20px; font-size: 14px; font-weight: 400; min-height: 40px; @@ -12669,7 +13468,7 @@ input.directorist-toggle-input:checked } .listing-with-sidebar__header .directorist-archive-sidebar-toggle - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: currentColor; width: 14px; height: 14px; @@ -12692,7 +13491,7 @@ input.directorist-toggle-input:checked } .listing-with-sidebar__header .directorist-archive-sidebar-toggle--active - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .listing-with-sidebar__sidebar { @@ -12725,7 +13524,7 @@ input.directorist-toggle-input:checked left: -360px; top: 0; height: 100svh; - background-color: #fff; + background-color: white; z-index: 9999; overflow: auto; -webkit-box-shadow: 0 10px 15px @@ -12840,11 +13639,11 @@ input.directorist-toggle-input:checked } .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element - .directorist-search-field.directorist-search-field-price_range + .directorist-search-field.directorist-search-field-radius_search > label, .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element - .directorist-search-field.directorist-search-field-radius_search + .directorist-search-field.directorist-search-field-price_range > label, .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element @@ -12863,38 +13662,38 @@ input.directorist-toggle-input:checked .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-checkbox-wrapper, + .directorist-search-tags, .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-radio-wrapper, + .directorist-search-review, .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-search-review, + .directorist-radio-wrapper, .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-search-tags { + .directorist-checkbox-wrapper { margin-top: 13px; } @media only screen and (max-width: 575px) { .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-checkbox-wrapper, + .directorist-search-tags, .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-radio-wrapper, + .directorist-search-review, .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-search-review, + .directorist-radio-wrapper, .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-search-tags { + .directorist-checkbox-wrapper { margin-top: 5px; } } @@ -12980,7 +13779,7 @@ input.directorist-toggle-input:checked } .listing-with-sidebar__sidebar .directorist-price-ranges__price-frequency__btn:last-child { - border: 0; + border: 0 none; } .listing-with-sidebar__sidebar .directorist-checkbox-wrapper, .listing-with-sidebar__sidebar .directorist-radio-wrapper, @@ -13162,8 +13961,8 @@ input.directorist-toggle-input:checked -ms-flex-direction: column; flex-direction: column; } -.listing-with-sidebar__listing .directorist-archive-items, -.listing-with-sidebar__listing .directorist-header-bar { +.listing-with-sidebar__listing .directorist-header-bar, +.listing-with-sidebar__listing .directorist-archive-items { width: 100%; display: -webkit-box; display: -webkit-flex; @@ -13171,10 +13970,10 @@ input.directorist-toggle-input:checked display: flex; } .listing-with-sidebar__listing - .directorist-archive-items + .directorist-header-bar .directorist-container-fluid, .listing-with-sidebar__listing - .directorist-header-bar + .directorist-archive-items .directorist-container-fluid { padding: 0; } @@ -13251,6 +14050,7 @@ input.directorist-toggle-input:checked right: -15px; } } + @media only screen and (max-width: 991px) { .logged-in .listing-with-sidebar__sidebar .directorist-search-form__box { padding-top: 30px; @@ -13266,14 +14066,18 @@ input.directorist-toggle-input:checked padding-top: 0; } } + .directorist-advanced-filter__basic { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; } -.directorist-advanced-filter__basic, .directorist-advanced-filter__basic__element { display: -webkit-box; display: -webkit-flex; @@ -13412,9 +14216,9 @@ input.directorist-toggle-input:checked .directorist-advanced-filter__advanced__element { overflow: hidden; } -.directorist-advanced-filter__advanced__element.directorist-search-field-category - .directorist-search-field.input-is-focused, .directorist-advanced-filter__advanced__element.directorist-search-field-location + .directorist-search-field.input-is-focused, +.directorist-advanced-filter__advanced__element.directorist-search-field-category .directorist-search-field.input-is-focused { margin-top: 0; } @@ -13533,7 +14337,9 @@ input.directorist-toggle-input:checked } .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-search-field__input[type="date"], + .directorist-search-field__input[type="date"] { + padding-right: 0; +} .directorist-advanced-filter__advanced__element .directorist-search-field .directorist-search-field__input[type="time"] { @@ -13596,7 +14402,9 @@ input.directorist-toggle-input:checked } .directorist-advanced-filter__advanced__element .directorist-search-field.input-is-focused - .directorist-search-field__input[type="date"], + .directorist-search-field__input[type="date"] { + padding-right: 20px; +} .directorist-advanced-filter__advanced__element .directorist-search-field.input-is-focused .directorist-search-field__input[type="time"] { @@ -13628,10 +14436,10 @@ input.directorist-toggle-input:checked opacity: 1; } .directorist-advanced-filter__advanced__element - .directorist-search-field.directorist-search-field-price_range + .directorist-search-field.directorist-search-field-radius_search > label, .directorist-advanced-filter__advanced__element - .directorist-search-field.directorist-search-field-radius_search + .directorist-search-field.directorist-search-field-price_range > label, .directorist-advanced-filter__advanced__element .directorist-search-field.directorist-search-field-text_range @@ -13758,32 +14566,32 @@ input.directorist-toggle-input:checked margin: 0; color: var(--directorist-color-dark); } +.directorist-advanced-filter__advanced__element.directorist-search-field-tag, +.directorist-advanced-filter__advanced__element.directorist-search-field-radio, +.directorist-advanced-filter__advanced__element.directorist-search-field-review, .directorist-advanced-filter__advanced__element.directorist-search-field-checkbox, -.directorist-advanced-filter__advanced__element.directorist-search-field-color_picker, .directorist-advanced-filter__advanced__element.directorist-search-field-location, .directorist-advanced-filter__advanced__element.directorist-search-field-pricing, -.directorist-advanced-filter__advanced__element.directorist-search-field-radio, -.directorist-advanced-filter__advanced__element.directorist-search-field-review, -.directorist-advanced-filter__advanced__element.directorist-search-field-tag { +.directorist-advanced-filter__advanced__element.directorist-search-field-color_picker { overflow: visible; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } -.directorist-advanced-filter__advanced__element.directorist-search-field-checkbox +.directorist-advanced-filter__advanced__element.directorist-search-field-tag .directorist-search-field, -.directorist-advanced-filter__advanced__element.directorist-search-field-color_picker +.directorist-advanced-filter__advanced__element.directorist-search-field-radio .directorist-search-field, -.directorist-advanced-filter__advanced__element.directorist-search-field-location +.directorist-advanced-filter__advanced__element.directorist-search-field-review .directorist-search-field, -.directorist-advanced-filter__advanced__element.directorist-search-field-pricing +.directorist-advanced-filter__advanced__element.directorist-search-field-checkbox .directorist-search-field, -.directorist-advanced-filter__advanced__element.directorist-search-field-radio +.directorist-advanced-filter__advanced__element.directorist-search-field-location .directorist-search-field, -.directorist-advanced-filter__advanced__element.directorist-search-field-review +.directorist-advanced-filter__advanced__element.directorist-search-field-pricing .directorist-search-field, -.directorist-advanced-filter__advanced__element.directorist-search-field-tag +.directorist-advanced-filter__advanced__element.directorist-search-field-color_picker .directorist-search-field { width: 100%; } @@ -13860,6 +14668,7 @@ input.directorist-toggle-input:checked margin-top: 10px; } } + .directorist-search-field-radius_search { position: relative; } @@ -13869,6 +14678,7 @@ input.directorist-toggle-input:checked right: 0; top: 0; } + .directorist-search-field-review .directorist-checkbox { display: block; width: auto; @@ -13948,46 +14758,55 @@ input.directorist-toggle-input:checked } .directorist-search-field-review .directorist-checkbox - input[value="1"] + input[value="5"] + label - .directorist-icon-mask:first-child:after, + .directorist-icon-mask:after { + background-color: var(--directorist-color-star); +} .directorist-search-field-review .directorist-checkbox - input[value="2"] + input[value="4"] + label - .directorist-icon-mask:first-child:after, + .directorist-icon-mask:not(:nth-child(5)):after { + background-color: var(--directorist-color-star); +} .directorist-search-field-review .directorist-checkbox - input[value="2"] + input[value="3"] + label - .directorist-icon-mask:nth-child(2):after, + .directorist-icon-mask:nth-child(1):after, .directorist-search-field-review .directorist-checkbox input[value="3"] + label - .directorist-icon-mask:first-child:after, + .directorist-icon-mask:nth-child(2):after, .directorist-search-field-review .directorist-checkbox input[value="3"] + label - .directorist-icon-mask:nth-child(2):after, + .directorist-icon-mask:nth-child(3):after { + background-color: var(--directorist-color-star); +} .directorist-search-field-review .directorist-checkbox - input[value="3"] + input[value="2"] + label - .directorist-icon-mask:nth-child(3):after, + .directorist-icon-mask:nth-child(1):after, .directorist-search-field-review .directorist-checkbox - input[value="4"] + input[value="2"] + label - .directorist-icon-mask:not(:nth-child(5)):after, + .directorist-icon-mask:nth-child(2):after { + background-color: var(--directorist-color-star); +} .directorist-search-field-review .directorist-checkbox - input[value="5"] + input[value="1"] + label - .directorist-icon-mask:after { + .directorist-icon-mask:nth-child(1):after { background-color: var(--directorist-color-star); } + .directorist-search-field .directorist-price-ranges { display: -webkit-box; display: -webkit-flex; @@ -14056,7 +14875,7 @@ input.directorist-toggle-input:checked -webkit-flex: 1; -ms-flex: 1; flex: 1; - border: 0 !important; + border: 0 none !important; } .directorist-search-field .directorist-price-ranges__item.directorist-form-group:focus-within { @@ -14174,18 +14993,25 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-white); } } + .directorist-search-field { font-size: 15px; } -.directorist-search-field .wp-picker-container .wp-color-result, -.directorist-search-field .wp-picker-container .wp-picker-clear { +.directorist-search-field .wp-picker-container .wp-picker-clear, +.directorist-search-field .wp-picker-container .wp-color-result { + position: relative; + height: 40px; + border: 0 none; + width: 140px; + -webkit-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; + border-radius: 3px; text-decoration: none; } -.directorist-search-field .wp-picker-container .wp-color-result, -.directorist-search-field .wp-picker-container .wp-picker-clear { +.directorist-search-field .wp-picker-container .wp-color-result { position: relative; height: 40px; - border: 0; + border: 0 none; width: 140px; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; @@ -14218,6 +15044,7 @@ input.directorist-toggle-input:checked position: absolute; z-index: 22; } + .check-btn { display: -webkit-box; display: -webkit-flex; @@ -14276,40 +15103,46 @@ input.directorist-toggle-input:checked display: none; } .check-btn label span:before { + position: absolute; left: 23px; - -webkit-mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); - mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); + top: 50%; + -webkit-transform: translateY(-50%); + transform: translateY(-50%); + content: ""; + -webkit-mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); + mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 10px; height: 10px; + background-color: var(--directorist-color-white); display: block; opacity: 0; -webkit-transition: all 0.3s ease 0s; transition: all 0.3s ease 0s; z-index: 2; } -.check-btn label span:after, -.check-btn label span:before { +.check-btn label span:after { position: absolute; + left: 18px; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); - content: ""; - background-color: var(--directorist-color-white); -} -.check-btn label span:after { - left: 18px; width: 16px; height: 16px; border-radius: 5px; + content: ""; border: 2px solid #d9d9d9; + background-color: var(--directorist-color-white); -webkit-box-sizing: content-box; box-sizing: content-box; } + +/* google map location suggestion container */ .pac-container { z-index: 99999; } + .directorist-search-top { text-align: center; margin-bottom: 34px; @@ -14326,10 +15159,12 @@ input.directorist-toggle-input:checked opacity: 0.8; text-align: center; } + .directorist-search-contents { background-size: cover; padding: 100px 0 120px; } + .directorist-search-field__label { position: absolute; left: 0; @@ -14412,14 +15247,14 @@ input.directorist-toggle-input:checked opacity: 0; visibility: hidden; } -.directorist-search-field__btn--clear i:after { +.directorist-search-field__btn--clear i::after { width: 16px; height: 16px; background-color: #bcbcbc; -webkit-transition: background-color 0.3s ease; transition: background-color 0.3s ease; } -.directorist-search-field__btn--clear:hover i:after { +.directorist-search-field__btn--clear:hover i::after { background-color: var(--directorist-color-primary); } @media screen and (max-width: 575px) { @@ -14487,12 +15322,12 @@ input.directorist-toggle-input:checked .directorist-search-field.input-has-value .directorist-search-field__btn--clear, .directorist-search-field.input-has-value .directorist-search-field__btn - i:after, + i::after, .directorist-search-field.input-is-focused .directorist-search-field__btn--clear, .directorist-search-field.input-is-focused .directorist-search-field__btn - i:after { + i::after { opacity: 1; visibility: visible; } @@ -14522,40 +15357,40 @@ input.directorist-toggle-input:checked .directorist-search-field__input { bottom: 0; } -.directorist-search-field.input-has-value .directorist-search-field__input, .directorist-search-field.input-has-value .directorist-select, -.directorist-search-field.input-is-focused .directorist-search-field__input, -.directorist-search-field.input-is-focused .directorist-select { +.directorist-search-field.input-has-value .directorist-search-field__input, +.directorist-search-field.input-is-focused .directorist-select, +.directorist-search-field.input-is-focused .directorist-search-field__input { position: relative; bottom: -5px; } +.directorist-search-field.input-has-value.input-has-noLabel .directorist-select, .directorist-search-field.input-has-value.input-has-noLabel .directorist-search-field__input, -.directorist-search-field.input-has-value.input-has-noLabel .directorist-select, .directorist-search-field.input-is-focused.input-has-noLabel - .directorist-search-field__input, + .directorist-select, .directorist-search-field.input-is-focused.input-has-noLabel - .directorist-select { + .directorist-search-field__input { bottom: 0; margin-top: 0 !important; } -.directorist-search-field.input-has-value.directorist-color - .directorist-search-field__label, .directorist-search-field.input-has-value.directorist-date .directorist-search-field__label, +.directorist-search-field.input-has-value.directorist-time + .directorist-search-field__label, +.directorist-search-field.input-has-value.directorist-color + .directorist-search-field__label, .directorist-search-field.input-has-value .directorist-select .directorist-search-field__label, -.directorist-search-field.input-has-value.directorist-time +.directorist-search-field.input-is-focused.directorist-date .directorist-search-field__label, -.directorist-search-field.input-is-focused.directorist-color +.directorist-search-field.input-is-focused.directorist-time .directorist-search-field__label, -.directorist-search-field.input-is-focused.directorist-date +.directorist-search-field.input-is-focused.directorist-color .directorist-search-field__label, .directorist-search-field.input-is-focused .directorist-select - .directorist-search-field__label, -.directorist-search-field.input-is-focused.directorist-time .directorist-search-field__label { opacity: 1; } @@ -14587,31 +15422,32 @@ input.directorist-toggle-input:checked .directorist-icon-mask:after { background-color: var(--directorist-color-dark); } -.directorist-search-field.directorist-color .directorist-search-field__label, .directorist-search-field.directorist-date .directorist-search-field__label, -.directorist-search-field .directorist-select .directorist-search-field__label, -.directorist-search-field.directorist-time .directorist-search-field__label { +.directorist-search-field.directorist-time .directorist-search-field__label, +.directorist-search-field.directorist-color .directorist-search-field__label, +.directorist-search-field .directorist-select .directorist-search-field__label { opacity: 0; } .directorist-search-field - .directorist-filter-location-icon + .directorist-select ~ .directorist-search-field__btn--clear, .directorist-search-field - .directorist-select + .directorist-filter-location-icon ~ .directorist-search-field__btn--clear { right: 25px; } +.directorist-search-field .directorist-select .directorist-icon-mask:after, .directorist-search-field .directorist-filter-location-icon - .directorist-icon-mask:after, -.directorist-search-field .directorist-select .directorist-icon-mask:after { - background-color: grey; + .directorist-icon-mask:after { + background-color: #808080; } .directorist-search-field .directorist-filter-location-icon ~ .directorist-search-field__btn--clear { bottom: 8px; } + .directorist-preload .directorist-search-form-top .directorist-search-field__label @@ -14619,6 +15455,7 @@ input.directorist-toggle-input:checked opacity: 0; pointer-events: none; } + .directorist-search-form__box { display: -webkit-box; display: -webkit-flex; @@ -14728,10 +15565,10 @@ input.directorist-toggle-input:checked .directorist-search-modal__contents__body .directorist-search-modal__input .directorist-search-field { - border: 0; + border: 0 none; } .directorist-search-form__top - .directorist-search-modal__input:not(:last-child) + .directorist-search-modal__input:not(:nth-last-child(1)) .directorist-search-field { border-right: 1px solid var(--directorist-color-border); } @@ -14788,15 +15625,15 @@ input.directorist-toggle-input:checked right: 30px; } .directorist-search-form__top - .directorist-search-modal__input:focus-within + .directorist-search-modal__input:focus .directorist-select2-dropdown-toggle, .directorist-search-form__top - .directorist-search-modal__input:focus + .directorist-search-modal__input:focus-within .directorist-select2-dropdown-toggle { display: block; } - .directorist-search-form__top .directorist-search-category, - .directorist-search-form__top .directorist-select { + .directorist-search-form__top .directorist-select, + .directorist-search-form__top .directorist-search-category { width: calc(100% + 15px); } } @@ -14818,7 +15655,10 @@ input.directorist-toggle-input:checked } .directorist-search-form__top .directorist-search-form__single-category - .directorist-category-select, + .directorist-category-select { + opacity: 0.6; + pointer-events: none; +} .directorist-search-form__top .directorist-search-form__single-category .directorist-category-select @@ -14837,7 +15677,10 @@ input.directorist-toggle-input:checked } .directorist-search-form__top .directorist-search-form__single-location - .directorist-location-select, + .directorist-location-select { + opacity: 0.6; + pointer-events: none; +} .directorist-search-form__top .directorist-search-form__single-location .directorist-location-select @@ -14981,33 +15824,33 @@ input.directorist-toggle-input:checked } .directorist-search-form__top .directorist-search-field.input-has-value - .directorist-filter-location-icon, + .directorist-select, .directorist-search-form__top .directorist-search-field.input-has-value - .directorist-select, + .directorist-filter-location-icon, .directorist-search-form__top .directorist-search-field.input-is-focused - .directorist-filter-location-icon, + .directorist-select, .directorist-search-form__top .directorist-search-field.input-is-focused - .directorist-select { + .directorist-filter-location-icon { margin-top: 3px; } .directorist-search-form__top .directorist-search-field.input-has-value - .directorist-filter-location-icon + .directorist-select ~ .directorist-search-field__btn--clear, .directorist-search-form__top .directorist-search-field.input-has-value - .directorist-select + .directorist-filter-location-icon ~ .directorist-search-field__btn--clear, .directorist-search-form__top .directorist-search-field.input-is-focused - .directorist-filter-location-icon + .directorist-select ~ .directorist-search-field__btn--clear, .directorist-search-form__top .directorist-search-field.input-is-focused - .directorist-select + .directorist-filter-location-icon ~ .directorist-search-field__btn--clear { right: 38px; bottom: 8px; @@ -15096,10 +15939,10 @@ input.directorist-toggle-input:checked .directorist-search-form__top .directorist-search-field .directorist-form-element { + border: 0 none; background-color: transparent; -webkit-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; - border: 0; border-bottom: 2px solid transparent; } .directorist-search-form__top @@ -15111,7 +15954,7 @@ input.directorist-toggle-input:checked .directorist-search-form__top .directorist-search-field .directorist-form-element { - border: 0; + border: 0 none; border-radius: 0; overflow: hidden; -ms-text-overflow: ellipsis; @@ -15133,7 +15976,9 @@ input.directorist-toggle-input:checked .directorist-search-form__top .directorist-search-field .directorist-price-ranges__item - .directorist-form-element, + .directorist-form-element { + border: none !important; +} .directorist-search-form__top .directorist-search-field .directorist-price-ranges__item @@ -15148,12 +15993,12 @@ input.directorist-toggle-input:checked .directorist-search-form__top .directorist-search-field .directorist-select - .directorist-select__label, + select, .directorist-search-form__top .directorist-search-field .directorist-select - select { - border: 0; + .directorist-select__label { + border: 0 none; } .directorist-search-form__top .directorist-search-field .wp-picker-container { display: -webkit-box; @@ -15283,8 +16128,8 @@ input.directorist-toggle-input:checked mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; - -webkit-mask-image: url(../images/447c512963a6e865700c065e70bb46b7.svg); - mask-image: url(../images/447c512963a6e865700c065e70bb46b7.svg); + -webkit-mask-image: url(../js/../images/447c512963a6e865700c065e70bb46b7.svg); + mask-image: url(../js/../images/447c512963a6e865700c065e70bb46b7.svg); opacity: 0; } .directorist-search-form__top .directorist-search-field__btn { @@ -15296,7 +16141,7 @@ input.directorist-toggle-input:checked -webkit-transition: all 0.3s ease; transition: all 0.3s ease; } - .directorist-search-form__top .directorist-search-field__btn i:after { + .directorist-search-form__top .directorist-search-field__btn i::after { width: 14px; height: 14px; } @@ -15418,11 +16263,11 @@ input.directorist-toggle-input:checked .directorist-search-form__top .directorist-search-field.input-has-value .directorist-search-field__btn - i:after, + i::after, .directorist-search-form__top .directorist-search-field.input-is-focused .directorist-search-field__btn - i:after { + i::after { width: 14px; height: 14px; opacity: 1; @@ -15440,19 +16285,19 @@ input.directorist-toggle-input:checked } .directorist-search-form__top .directorist-search-field.input-has-value - .directorist-filter-location-icon + .directorist-select ~ .directorist-search-field__btn--clear, .directorist-search-form__top .directorist-search-field.input-has-value - .directorist-select + .directorist-filter-location-icon ~ .directorist-search-field__btn--clear, .directorist-search-form__top .directorist-search-field.input-is-focused - .directorist-filter-location-icon + .directorist-select ~ .directorist-search-field__btn--clear, .directorist-search-form__top .directorist-search-field.input-is-focused - .directorist-select + .directorist-filter-location-icon ~ .directorist-search-field__btn--clear { bottom: 12px; top: unset; @@ -15461,16 +16306,16 @@ input.directorist-toggle-input:checked } .directorist-search-form__top .directorist-search-field.input-has-value - .directorist-search-field__input, + .directorist-select, .directorist-search-form__top .directorist-search-field.input-has-value - .directorist-select, + .directorist-search-field__input, .directorist-search-form__top .directorist-search-field.input-is-focused - .directorist-search-field__input, + .directorist-select, .directorist-search-form__top .directorist-search-field.input-is-focused - .directorist-select { + .directorist-search-field__input { padding-right: 0; } .directorist-search-form__top @@ -15580,7 +16425,7 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; padding: 5px 0; - border: 0 !important; + border: 0 none !important; width: calc(100% - 15px); } .directorist-search-form__top @@ -15613,7 +16458,7 @@ input.directorist-toggle-input:checked .directorist-icon-mask:after { width: 12px; height: 12px; - background-color: grey; + background-color: #808080; } .directorist-search-form__top .select2-container @@ -15627,8 +16472,8 @@ input.directorist-toggle-input:checked padding: 0; width: auto; } -.directorist-search-form__top input[type="number"]::-webkit-inner-spin-button, -.directorist-search-form__top input[type="number"]::-webkit-outer-spin-button { +.directorist-search-form__top input[type="number"]::-webkit-outer-spin-button, +.directorist-search-form__top input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; appearance: none; margin: 0; @@ -15691,14 +16536,14 @@ input.directorist-toggle-input:checked .directorist-search-form__top .directorist-search-form-dropdown.input-has-value .directorist-search-field__btn - i:after, + i::after, .directorist-search-form__top .directorist-search-form-dropdown.input-is-focused .directorist-search-field__btn--clear, .directorist-search-form__top .directorist-search-form-dropdown.input-is-focused .directorist-search-field__btn - i:after { + i::after { opacity: 1; visibility: visible; } @@ -15825,7 +16670,7 @@ input.directorist-toggle-input:checked i:after { width: 12px; height: 12px; - background-color: grey; + background-color: #808080; } @media screen and (max-width: 575px) { .directorist-search-form__top @@ -15862,7 +16707,7 @@ input.directorist-toggle-input:checked .directorist-search-form__top .directorist-search-basic-dropdown .directorist-search-basic-dropdown-content - .directorist-checkbox-wrapper, + .directorist-search-tags, .directorist-search-form__top .directorist-search-basic-dropdown .directorist-search-basic-dropdown-content @@ -15870,7 +16715,7 @@ input.directorist-toggle-input:checked .directorist-search-form__top .directorist-search-basic-dropdown .directorist-search-basic-dropdown-content - .directorist-search-tags { + .directorist-checkbox-wrapper { gap: 12px; } .directorist-search-form__top @@ -15904,6 +16749,7 @@ input.directorist-toggle-input:checked ~ .directorist-search-field__btn--clear { bottom: 12px; } + .directorist-search-form-action { display: -webkit-box; display: -webkit-flex; @@ -15945,7 +16791,7 @@ input.directorist-toggle-input:checked } .directorist-search-form-action__filter .directorist-filter-btn - .directorist-icon-mask:after { + .directorist-icon-mask::after { height: 12px; width: 14px; background-color: var(--directorist-color-btn-primary-bg); @@ -15973,7 +16819,7 @@ input.directorist-toggle-input:checked } .directorist-search-form-action__submit .directorist-btn-search - .directorist-icon-mask:after { + .directorist-icon-mask::after { height: 16px; width: 16px; background-color: var(--directorist-color-white); @@ -16020,7 +16866,7 @@ input.directorist-toggle-input:checked -ms-flex: 1; flex: 1; } -.directorist-search-form-action__modal__btn-search i:after { +.directorist-search-form-action__modal__btn-search i::after { width: 16px; height: 16px; -webkit-transform: rotate(270deg); @@ -16045,6 +16891,7 @@ input.directorist-toggle-input:checked height: 16px; width: 16px; } + .atbdp-form-fade { position: relative; border-radius: 8px; @@ -16066,7 +16913,7 @@ input.directorist-toggle-input:checked width: 25px; height: 25px; border: 2px solid var(--directorist-color-primary); - border-top: 2px solid transparent; + border-top-color: transparent; border-radius: 50%; left: 50%; top: 50%; @@ -16087,6 +16934,7 @@ input.directorist-toggle-input:checked background: rgba(var(--directorist-color-primary-rgb), 0.3); z-index: 9998; } + .directorist-on-scroll-loading { display: -webkit-box; display: -webkit-flex; @@ -16114,9 +16962,10 @@ input.directorist-toggle-input:checked border-top: 3px solid var(--directorist-color-primary); border-right: 3px solid transparent; border-radius: 50%; - -webkit-animation: rotate360 1s linear infinite; - animation: rotate360 1s linear infinite; + -webkit-animation: 1s rotate360 linear infinite; + animation: 1s rotate360 linear infinite; } + .directorist-listing-type-selection { display: -webkit-box; display: -webkit-flex; @@ -16230,7 +17079,7 @@ input.directorist-toggle-input:checked } .directorist-listing-type-selection__item .directorist-listing-type-selection__link--current - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-primary); } .directorist-listing-type-selection__item @@ -16238,6 +17087,7 @@ input.directorist-toggle-input:checked opacity: 1; visibility: visible; } + .directorist-search-form-wrap .directorist-listing-type-selection { padding: 0; margin: 0; @@ -16247,20 +17097,22 @@ input.directorist-toggle-input:checked margin: 0 auto; } } + .directorist-search-contents .directorist-btn-ml:after { content: ""; display: inline-block; margin-left: 5px; - -webkit-mask-image: url(../images/05feea3d261c8b97573023a74fd26f03.svg); - mask-image: url(../images/05feea3d261c8b97573023a74fd26f03.svg); + -webkit-mask-image: url(../js/../images/05feea3d261c8b97573023a74fd26f03.svg); + mask-image: url(../js/../images/05feea3d261c8b97573023a74fd26f03.svg); width: 12px; height: 12px; background-color: var(--directorist-color-body); } .directorist-search-contents .directorist-btn-ml.active:after { - -webkit-mask-image: url(../images/c90867d23032298fc0ff1d456a6fdb30.svg); - mask-image: url(../images/c90867d23032298fc0ff1d456a6fdb30.svg); + -webkit-mask-image: url(../js/../images/c90867d23032298fc0ff1d456a6fdb30.svg); + mask-image: url(../js/../images/c90867d23032298fc0ff1d456a6fdb30.svg); } + .directorist-listing-category-top { text-align: center; margin-top: 35px; @@ -16330,16 +17182,16 @@ input.directorist-toggle-input:checked } .directorist-listing-category-top li a i, .directorist-listing-category-top li a span, +.directorist-listing-category-top li a span.las, +.directorist-listing-category-top li a span.lar, +.directorist-listing-category-top li a span.lab, .directorist-listing-category-top li a span.fab, .directorist-listing-category-top li a span.fas, -.directorist-listing-category-top li a span.la, -.directorist-listing-category-top li a span.lab, -.directorist-listing-category-top li a span.lar, -.directorist-listing-category-top li a span.las { +.directorist-listing-category-top li a span.la { font-size: 15px; color: var(--directorist-color-body); } -.directorist-listing-category-top li a .directorist-icon-mask:after { +.directorist-listing-category-top li a .directorist-icon-mask::after { position: relative; height: 15px; width: 15px; @@ -16357,6 +17209,7 @@ input.directorist-toggle-input:checked display: none; } } + .directorist-search-field .directorist-location-js + .address_result { position: absolute; width: 100%; @@ -16493,6 +17346,7 @@ input.directorist-toggle-input:checked padding: 0; margin: 0; } + .directorist-zipcode-search .directorist-search-country { position: absolute; width: 100%; @@ -16518,9 +17372,10 @@ input.directorist-toggle-input:checked } .directorist-zipcode-search .directorist-search-country ul li { border-bottom: 1px solid var(--directorist-color-border); - padding: 10px 15px; + padding: 10px 15px 10px; margin: 0; } + .directorist-search-contents .directorist-search-form-top .form-group.open_now { -webkit-box-flex: 30.8%; -webkit-flex: 30.8%; @@ -16528,11 +17383,19 @@ input.directorist-toggle-input:checked flex: 30.8%; border-right: 1px solid var(--directorist-color-border); } + .directorist-custom-range-slider { width: 100%; } .directorist-custom-range-slider__wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; -ms-flex-align: center; + align-items: center; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; @@ -16546,27 +17409,24 @@ input.directorist-toggle-input:checked -ms-flex: 0 0 100%; flex: 0 0 100%; } -.directorist-custom-range-slider__value, -.directorist-custom-range-slider__wrap { +.directorist-custom-range-slider__value { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - align-items: center; -} -.directorist-custom-range-slider__value { - position: relative; -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; + -webkit-box-align: center; + -webkit-align-items: center; -ms-flex-align: center; + align-items: center; background: transparent; border-bottom: 1px solid var(--directorist-color-border); - -webkit-transition: border 0.3s ease; - transition: border 0.3s ease; + -webkit-transition: border ease 0.3s; + transition: border ease 0.3s; } .directorist-custom-range-slider__value:focus-within { border-bottom: 2px solid var(--directorist-color-primary); @@ -16601,6 +17461,10 @@ input.directorist-toggle-input:checked color: var(--directorist-color-primary); } .directorist-custom-range-slider__range__wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; gap: 5px; -webkit-box-align: center; -webkit-align-items: center; @@ -16613,25 +17477,20 @@ input.directorist-toggle-input:checked font-size: 14px; font-weight: 500; } -.directorist-custom-range-slider__range__wrap, + .directorist-pagination { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -} -.directorist-pagination { - gap: 8px; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; -} -.directorist-pagination, -.directorist-pagination .page-numbers { -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + gap: 8px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; } .directorist-pagination .page-numbers { display: -webkit-inline-box; @@ -16642,6 +17501,10 @@ input.directorist-toggle-input:checked -webkit-align-items: center; -ms-flex-align: center; align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; text-decoration: none; width: 40px; height: 40px; @@ -16664,19 +17527,21 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-body); } .directorist-pagination .page-numbers span { - border: 0; + border: 0 none; min-width: auto; margin: 0; } -.directorist-pagination .page-numbers.current, -.directorist-pagination .page-numbers:hover { +.directorist-pagination .page-numbers:hover, +.directorist-pagination .page-numbers.current { border-color: var(--directorist-color-primary); color: var(--directorist-color-primary); } -.directorist-pagination .page-numbers.current .directorist-icon-mask:after, -.directorist-pagination .page-numbers:hover .directorist-icon-mask:after { +.directorist-pagination .page-numbers:hover .directorist-icon-mask:after, +.directorist-pagination .page-numbers.current .directorist-icon-mask:after { background-color: var(--directorist-color-primary); } + +/* New Styles */ .directorist-categories { margin-top: 15px; } @@ -16700,14 +17565,14 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-white); } .directorist-categories__single--image { - background-position: 50%; + background-position: center; background-repeat: no-repeat; background-size: cover; -o-object-fit: cover; object-fit: cover; position: relative; } -.directorist-categories__single--image:before { +.directorist-categories__single--image::before { position: absolute; content: ""; border-radius: inherit; @@ -16725,6 +17590,7 @@ input.directorist-toggle-input:checked .directorist-categories__single__content { position: relative; z-index: 1; + text-align: center; -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; @@ -16741,7 +17607,7 @@ input.directorist-toggle-input:checked font-size: 16px; color: var(--directorist-color-dark); } -.directorist-categories__single__name:before { +.directorist-categories__single__name::before { content: ""; position: absolute; left: 0; @@ -16749,22 +17615,25 @@ input.directorist-toggle-input:checked width: 100%; height: 100%; } +.directorist-categories__single { + /* Styles */ +} .directorist-categories__single--style-one .directorist-categories__single__content - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 50px; height: 50px; } @media screen and (max-width: 991px) { .directorist-categories__single--style-one .directorist-categories__single__content - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 40px; height: 40px; } } .directorist-categories__single--style-one.directorist-categories__single--image - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .directorist-categories__single--style-one:not( @@ -16778,7 +17647,7 @@ input.directorist-toggle-input:checked .directorist-categories__single--style-one:not( .directorist-categories__single--image ) - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 36px; height: 36px; background-color: var(--directorist-color-white); @@ -16796,7 +17665,7 @@ input.directorist-toggle-input:checked border-radius: 50%; padding: 16px; } -.directorist-categories__single--style-two .directorist-icon-mask:after { +.directorist-categories__single--style-two .directorist-icon-mask::after { width: 40px; height: 40px; } @@ -16805,14 +17674,14 @@ input.directorist-toggle-input:checked border-color: var(--directorist-color-white); } .directorist-categories__single--style-two.directorist-categories__single--image - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .directorist-categories__single--style-three { height: var(--directorist-category-box-width); border-radius: 50%; } -.directorist-categories__single--style-three .directorist-icon-mask:after { +.directorist-categories__single--style-three .directorist-icon-mask::after { width: 40px; height: 40px; } @@ -16841,7 +17710,7 @@ input.directorist-toggle-input:checked margin-top: 15px; } .directorist-categories__single--style-three.directorist-categories__single--image - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .directorist-categories__single--style-three .directorist-category-count { @@ -16852,7 +17721,7 @@ input.directorist-toggle-input:checked border-radius: 50%; padding: 17px; } -.directorist-categories__single--style-four .directorist-icon-mask:after { +.directorist-categories__single--style-four .directorist-icon-mask::after { width: 36px; height: 36px; background-color: var(--directorist-color-white); @@ -16877,6 +17746,8 @@ input.directorist-toggle-input:checked .directorist-categories .directorist-type-nav { margin-bottom: 15px; } + +/* Taxonomy List Style One */ .directorist-taxonomy-list-one .directorist-taxonomy-list__card { display: -webkit-box; display: -webkit-flex; @@ -16917,7 +17788,7 @@ input.directorist-toggle-input:checked .directorist-taxonomy-list-one .directorist-taxonomy-list__toggle--open .directorist-taxonomy-list__toggler - .directorist-icon-mask:after { + .directorist-icon-mask::after { -webkit-transform: rotate(180deg); transform: rotate(180deg); } @@ -16943,26 +17814,31 @@ input.directorist-toggle-input:checked } .directorist-taxonomy-list-one .directorist-taxonomy-list__icon - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 15px; height: 15px; } -.directorist-taxonomy-list-one .directorist-taxonomy-list__count, .directorist-taxonomy-list-one .directorist-taxonomy-list__name { color: var(--directorist-color-dark); } +.directorist-taxonomy-list-one .directorist-taxonomy-list__count { + color: var(--directorist-color-dark); +} .directorist-taxonomy-list-one .directorist-taxonomy-list__toggler { -webkit-margin-start: auto; margin-inline-start: auto; } .directorist-taxonomy-list-one .directorist-taxonomy-list__toggler - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 10px; height: 10px; -webkit-transition: 0.3s ease; transition: 0.3s ease; } +.directorist-taxonomy-list-one .directorist-taxonomy-list { + /* Sub Item */ +} .directorist-taxonomy-list-one .directorist-taxonomy-list__sub-item { margin: 0; list-style: none; @@ -17039,6 +17915,9 @@ input.directorist-toggle-input:checked opacity: 1; margin-top: 0; } +.directorist-taxonomy-list-one .directorist-taxonomy-list { + /* Sub Item Toggle */ +} .directorist-taxonomy-list-one .directorist-taxonomy-list__sub-item-toggle { display: -webkit-box; display: -webkit-flex; @@ -17069,7 +17948,7 @@ input.directorist-toggle-input:checked } .directorist-taxonomy-list-one .directorist-taxonomy-list__sub-item-toggle.directorist-taxonomy-list__toggle--open - .directorist-taxonomy-list__sub-item-toggler:after { + .directorist-taxonomy-list__sub-item-toggler::after { content: none; } .directorist-taxonomy-list-one .directorist-taxonomy-list__sub-item-toggler { @@ -17081,7 +17960,7 @@ input.directorist-toggle-input:checked display: inline-block; } .directorist-taxonomy-list-one - .directorist-taxonomy-list__sub-item-toggler:before { + .directorist-taxonomy-list__sub-item-toggler::before { position: absolute; content: ""; left: 0; @@ -17093,7 +17972,7 @@ input.directorist-toggle-input:checked transform: translateY(-50%); } .directorist-taxonomy-list-one - .directorist-taxonomy-list__sub-item-toggler:after { + .directorist-taxonomy-list__sub-item-toggler::after { position: absolute; content: ""; width: 1px; @@ -17104,6 +17983,8 @@ input.directorist-toggle-input:checked -webkit-transform: translateX(-50%); transform: translateX(-50%); } + +/* Taxonomy List Style Two */ .directorist-taxonomy-list-two .directorist-taxonomy-list { -webkit-box-shadow: var(--directorist-box-shadow); box-shadow: var(--directorist-box-shadow); @@ -17159,7 +18040,7 @@ input.directorist-toggle-input:checked } .directorist-taxonomy-list-two .directorist-taxonomy-list__icon - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .directorist-taxonomy-list-two .directorist-taxonomy-list__toggle { @@ -17189,6 +18070,8 @@ input.directorist-toggle-input:checked -webkit-padding-start: 10px; padding-inline-start: 10px; } + +/* Location: Grid One */ .directorist-location { margin-top: 30px; } @@ -17199,7 +18082,7 @@ input.directorist-toggle-input:checked .directorist-location--grid-one .directorist-location__single--img { height: 300px; } -.directorist-location--grid-one .directorist-location__single--img:before { +.directorist-location--grid-one .directorist-location__single--img::before { position: absolute; content: ""; width: 100%; @@ -17237,7 +18120,9 @@ input.directorist-toggle-input:checked .directorist-location--grid-one .directorist-location__single--img .directorist-location__content - a, + a { + color: var(--directorist-color-white); +} .directorist-location--grid-one .directorist-location__single--img .directorist-location__count { @@ -17277,11 +18162,11 @@ input.directorist-toggle-input:checked .directorist-location--grid-one .directorist-location__single:not(.directorist-location__single--img) .directorist-location__content - a, + h3, .directorist-location--grid-one .directorist-location__single:not(.directorist-location__single--img) .directorist-location__content - h3, + a, .directorist-location--grid-one .directorist-location__single:not(.directorist-location__single--img) .directorist-location__content @@ -17300,7 +18185,7 @@ input.directorist-toggle-input:checked color: var(--directorist-color-dark); text-decoration: none; } -.directorist-location--grid-one .directorist-location__content a:after { +.directorist-location--grid-one .directorist-location__content a::after { position: absolute; content: ""; width: 100%; @@ -17323,7 +18208,7 @@ input.directorist-toggle-input:checked .directorist-location--grid-two .directorist-location__single--img .directorist-location__content { - padding: 10px 0 0; + padding: 10px 0 0 0; } .directorist-location--grid-two .directorist-location__single img { width: 100%; @@ -17336,7 +18221,7 @@ input.directorist-toggle-input:checked position: relative; height: 240px; } -.directorist-location--grid-two .directorist-location__single__img:before { +.directorist-location--grid-two .directorist-location__single__img::before { position: absolute; content: ""; width: 100%; @@ -17368,11 +18253,11 @@ input.directorist-toggle-input:checked .directorist-location--grid-two .directorist-location__single:not(.directorist-location__single--img) .directorist-location__content - a, + h3, .directorist-location--grid-two .directorist-location__single:not(.directorist-location__single--img) .directorist-location__content - h3, + a, .directorist-location--grid-two .directorist-location__single:not(.directorist-location__single--img) .directorist-location__content @@ -17390,7 +18275,7 @@ input.directorist-toggle-input:checked .directorist-location--grid-two .directorist-location__content a { text-decoration: none; } -.directorist-location--grid-two .directorist-location__content a:after { +.directorist-location--grid-two .directorist-location__content a::after { position: absolute; content: ""; width: 100%; @@ -17407,13 +18292,17 @@ input.directorist-toggle-input:checked .directorist-location .directorist-type-nav { margin-bottom: 15px; } + +/* Modal Core Styles */ .atm-open { overflow: hidden; } + .atm-open .at-modal { overflow-x: hidden; overflow-y: auto; } + .at-modal { position: fixed; width: 100%; @@ -17426,6 +18315,7 @@ input.directorist-toggle-input:checked overflow: hidden; outline: 0; } + .at-modal-content { position: relative; width: 500px; @@ -17449,6 +18339,7 @@ input.directorist-toggle-input:checked min-height: calc(100% - 5rem); pointer-events: none; } + .atm-contents-inner { width: 100%; background-color: var(--directorist-color-white); @@ -17456,29 +18347,36 @@ input.directorist-toggle-input:checked border-radius: 3px; position: relative; } + .at-modal-content.at-modal-lg { width: 800px; } + .at-modal-content.at-modal-xl { width: 1140px; } + .at-modal-content.at-modal-sm { width: 300px; } + .at-modal.atm-fade { -webkit-transition: 0.3s ease; transition: 0.3s ease; } + .at-modal.atm-fade:not(.atm-show) { opacity: 0; visibility: hidden; } + .at-modal.atm-show .at-modal-content { opacity: 1; visibility: visible; -webkit-transition: 0.3s ease; transition: 0.3s ease; } + .at-modal .atm-contents-inner .at-modal-close { width: 32px; height: 32px; @@ -17509,42 +18407,50 @@ input.directorist-toggle-input:checked justify-content: center; text-decoration: none; } + .at-modal .atm-contents-inner .close span { display: block; line-height: 0; } + +/* Responsive CSS */ +/* Large devices (desktops, 992px and up) */ @media (min-width: 992px) and (max-width: 1199.98px) { + .at-modal-content.at-modal-xl, .at-modal-content.at-modal-lg, .at-modal-content.at-modal-md, - .at-modal-content.at-modal-sm, - .at-modal-content.at-modal-xl { + .at-modal-content.at-modal-sm { width: calc(100% - 60px); } } +/* Medium devices (tablets, 768px and up) */ @media (min-width: 768px) and (max-width: 991.98px) { + .at-modal-content.at-modal-xl, .at-modal-content.at-modal-lg, .at-modal-content.at-modal-md, - .at-modal-content.at-modal-sm, - .at-modal-content.at-modal-xl { + .at-modal-content.at-modal-sm { width: calc(100% - 60px); } } +/* Small devices (landscape phones, 576px and up) */ @media (min-width: 576px) and (max-width: 767.98px) { + .at-modal-content.at-modal-xl, .at-modal-content.at-modal-lg, .at-modal-content.at-modal-md, - .at-modal-content.at-modal-sm, - .at-modal-content.at-modal-xl { + .at-modal-content.at-modal-sm { width: calc(100% - 60px); } } +/* Extra small devices (portrait phones, less than 576px) */ @media (max-width: 575.98px) { + .at-modal-content.at-modal-xl, .at-modal-content.at-modal-lg, .at-modal-content.at-modal-md, - .at-modal-content.at-modal-sm, - .at-modal-content.at-modal-xl { + .at-modal-content.at-modal-sm { width: calc(100% - 30px); } } +/* Authentication style */ .directorist-author__form { max-width: 540px; margin: 0 auto; @@ -17590,7 +18496,11 @@ input.directorist-toggle-input:checked color: var(--directorist-color-primary); border-color: var(--directorist-color-primary); } -.directorist-author__form__actions label, +.directorist-author__form__actions label { + font-size: 14px; + font-weight: 400; + color: var(--directorist-color-body); +} .directorist-author__form__toggle-area { font-size: 14px; font-weight: 400; @@ -17607,14 +18517,18 @@ input.directorist-toggle-input:checked padding: 25px; } .directorist-author__form__recover-pass-modal p { + font-size: 14px; + font-weight: 400; + color: var(--directorist-color-body); margin: 0 0 20px; } -.directorist-author__form__recover-pass-modal p, .directorist-author__message__text { font-size: 14px; font-weight: 400; color: var(--directorist-color-body); } + +/* Authentication style */ .directorist-authentication { height: 0; opacity: 0; @@ -17668,14 +18582,18 @@ input.directorist-toggle-input:checked .directorist-authentication__form__actions a { font-size: 14px; font-weight: 400; - color: grey; - border-bottom: 1px dashed grey; + color: #808080; + border-bottom: 1px dashed #808080; } .directorist-authentication__form__actions a:hover { - color: #000; - border-color: #000; + color: #000000; + border-color: #000000; +} +.directorist-authentication__form__actions label { + font-size: 14px; + font-weight: 400; + color: #404040; } -.directorist-authentication__form__actions label, .directorist-authentication__form__toggle-area { font-size: 14px; font-weight: 400; @@ -17688,7 +18606,7 @@ input.directorist-toggle-input:checked transition: color 0.3s ease; } .directorist-authentication__form__toggle-area a:hover { - color: #000; + color: #000000; } .directorist-authentication__form__recover-pass-modal { display: none; @@ -17708,9 +18626,9 @@ input.directorist-toggle-input:checked margin: 0 0 20px; } .directorist-authentication__form .directorist-form-element { + border: none; padding: 15px 0; border-radius: 0; - border: none; border-bottom: 1px solid #ececec; } .directorist-authentication__form .directorist-form-group > label { @@ -17725,7 +18643,7 @@ input.directorist-toggle-input:checked cursor: pointer; -webkit-box-shadow: none; box-shadow: none; - color: #000; + color: #000000; font-size: 13px; font-weight: 400; padding: 0 6px; @@ -17747,6 +18665,8 @@ input.directorist-toggle-input:checked opacity: 1; visibility: visible; } + +/* Password toggle */ .directorist-password-group { position: relative; } @@ -17768,9 +18688,12 @@ input.directorist-toggle-input:checked stroke: #888; stroke-width: 2; } + +/* Directorist all authors card */ .directorist-authors-section { position: relative; } + .directorist-content-active .directorist-authors__cards { margin-top: -30px; } @@ -17817,11 +18740,14 @@ input.directorist-toggle-input:checked -webkit-transition: 0.3s ease; transition: 0.3s ease; } -.directorist-content-active .directorist-authors__nav li.active a, .directorist-content-active .directorist-authors__nav li a:hover { border-bottom-color: var(--directorist-color-primary); color: var(--directorist-color-primary); } +.directorist-content-active .directorist-authors__nav li.active a { + border-bottom-color: var(--directorist-color-primary); + color: var(--directorist-color-primary); +} .directorist-content-active .directorist-authors__card { padding: 20px; border-radius: 10px; @@ -17850,7 +18776,7 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-authors__card h2 { font-size: 20px; font-weight: 500; - margin: 0 0 16px !important; + margin: 0 0 16px 0 !important; line-height: normal; } .directorist-content-active .directorist-authors__card h2:before { @@ -17860,7 +18786,7 @@ input.directorist-toggle-input:checked font-size: 14px; font-weight: 400; color: #8f8e9f; - margin: 0 0 15px !important; + margin: 0 0 15px 0 !important; line-height: normal; text-transform: none; letter-spacing: normal; @@ -17890,7 +18816,7 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-authors__card__info-list li a { color: #767792; - border: 0; + border: 0 none; -webkit-box-shadow: none; box-shadow: none; text-decoration: none; @@ -17909,6 +18835,9 @@ input.directorist-toggle-input:checked width: 16px; height: 16px; } +.directorist-content-active .directorist-authors__card__info-list li { + /* Legacy Icon */ +} .directorist-content-active .directorist-authors__card__info-list li @@ -17933,7 +18862,7 @@ input.directorist-toggle-input:checked .directorist-authors__card .directorist-author-social a { - border: 0; + border: 0 none; -webkit-box-shadow: none; box-shadow: none; text-decoration: none; @@ -17943,6 +18872,7 @@ input.directorist-toggle-input:checked .directorist-author-social a:hover { background-color: var(--directorist-color-primary); + /* Legacy Icon */ } .directorist-content-active .directorist-authors__card @@ -17958,7 +18888,7 @@ input.directorist-toggle-input:checked margin-bottom: 20px; } .directorist-content-active .directorist-authors__card .directorist-btn { - border: 0; + border: 0 none; -webkit-box-shadow: none; box-shadow: none; -webkit-transition: 0.3s ease; @@ -17968,25 +18898,22 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-primary); color: var(--directorist-color-white); } + +/* Directorist All author Grid */ .directorist-authors__pagination { margin-top: 25px; } + .select2-selection__arrow, .select2-selection__clear { display: none !important; } + .directorist-select2-addons-area { position: absolute; right: 5px; top: 50%; text-align: center; - cursor: pointer; - -webkit-transform: translateY(-50%); - transform: translateY(-50%); - z-index: 8; -} -.directorist-select2-addon, -.directorist-select2-addons-area { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -17999,29 +18926,58 @@ input.directorist-toggle-input:checked -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + cursor: pointer; + -webkit-transform: translate(0, -50%); + transform: translate(0, -50%); + z-index: 8; } + .directorist-select2-addon { padding: 0 5px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; } -.directorist-select2-dropdown-close, + .directorist-select2-dropdown-toggle { height: auto; width: 25px; } -.directorist-select2-dropdown-close .directorist-icon-mask:after { + +.directorist-select2-dropdown-close { + height: auto; + width: 25px; +} +.directorist-select2-dropdown-close .directorist-icon-mask::after { width: 15px; height: 15px; } -.directorist-select2-addon .directorist-icon-mask:after { + +.directorist-select2-addon .directorist-icon-mask::after { width: 13px; height: 13px; } + .directorist-form-section { font-size: 15px; } + +/* Display Each Grid Info on Single Line */ +.directorist-archive-contents + .directorist-single-line + .directorist-listing-title, .directorist-archive-contents .directorist-single-line - .directorist-listing-single__info__excerpt, + .directorist-listing-tagline, .directorist-archive-contents .directorist-single-line .directorist-listing-single__info__list @@ -18030,14 +18986,12 @@ input.directorist-toggle-input:checked div, .directorist-archive-contents .directorist-single-line - .directorist-listing-tagline, -.directorist-archive-contents - .directorist-single-line - .directorist-listing-title { + .directorist-listing-single__info__excerpt { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } + .directorist-all-listing-btn { display: -webkit-box; display: -webkit-flex; @@ -18060,7 +19014,7 @@ input.directorist-toggle-input:checked -ms-flex: 1; flex: 1; } -.directorist-all-listing-btn .directorist-btn__back i:after { +.directorist-all-listing-btn .directorist-btn__back i::after { width: 16px; height: 16px; } @@ -18081,16 +19035,17 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; } -.directorist-all-listing-btn .directorist-modal-btn--basic i:after { +.directorist-all-listing-btn .directorist-modal-btn--basic i::after { width: 16px; height: 16px; -webkit-transform: rotate(270deg); transform: rotate(270deg); } -.directorist-all-listing-btn .directorist-modal-btn--advanced i:after { +.directorist-all-listing-btn .directorist-modal-btn--advanced i::after { width: 16px; height: 16px; } + @media screen and (min-width: 576px) { .directorist-all-listing-btn, .directorist-all-listing-modal { @@ -18143,11 +19098,6 @@ input.directorist-toggle-input:checked display: none; } .directorist-content-active .directorist-listing-single__info__top { - gap: 6px; - width: 100%; -} -.directorist-content-active .directorist-listing-single__info__top, -.directorist-content-active .directorist-listing-single__info__top__left { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -18163,9 +19113,26 @@ input.directorist-toggle-input:checked -webkit-flex: 1; -ms-flex: 1; flex: 1; + gap: 6px; + width: 100%; } .directorist-content-active .directorist-listing-single__info__top__left { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; gap: 10px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; } .directorist-content-active .directorist-listing-single__info__top__right { display: -webkit-box; @@ -18195,9 +19162,6 @@ input.directorist-toggle-input:checked background-color: transparent; color: var(--directorist-color-danger); } -.directorist-content-active - .directorist-listing-single__info__top - .atbd_badge.atbd_badge_open, .directorist-content-active .directorist-listing-single__info__top .directorist-badge.directorist-badge-open { @@ -18206,10 +19170,13 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single__info__top - .directorist-info-item.directorist-rating-meta, + .atbd_badge.atbd_badge_open { + background-color: transparent; + color: var(--directorist-color-success); +} .directorist-content-active .directorist-listing-single__info__top - .directorist-listing-card-posted-on { + .directorist-info-item.directorist-rating-meta { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -18222,6 +19189,14 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-listing-single__info__top .directorist-listing-card-posted-on { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-box-flex: 0; -webkit-flex: 0 0 100%; -ms-flex: 0 0 100%; @@ -18240,8 +19215,7 @@ input.directorist-toggle-input:checked i { display: none; } -.directorist-content-active .directorist-listing-single__info__badges, -.directorist-content-active .directorist-listing-single__info__list { +.directorist-content-active .directorist-listing-single__info__badges { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -18249,6 +19223,11 @@ input.directorist-toggle-input:checked gap: 10px; } .directorist-content-active .directorist-listing-single__info__list { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 10px; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; @@ -18263,8 +19242,8 @@ input.directorist-toggle-input:checked gap: 8px; } } -.directorist-content-active .directorist-listing-single__info__list > div, -.directorist-content-active .directorist-listing-single__info__list li { +.directorist-content-active .directorist-listing-single__info__list li, +.directorist-content-active .directorist-listing-single__info__list > div { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -18277,22 +19256,22 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single__info__list - > div + li .directorist-icon-mask, .directorist-content-active .directorist-listing-single__info__list - li + > div .directorist-icon-mask { position: relative; top: 2px; } .directorist-content-active .directorist-listing-single__info__list - > div + li .directorist-icon-mask:after, .directorist-content-active .directorist-listing-single__info__list - li + > div .directorist-icon-mask:after { width: 16px; height: 16px; @@ -18300,11 +19279,11 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single__info__list - > div + li .directorist-listing-card-info-label, .directorist-content-active .directorist-listing-single__info__list - li + > div .directorist-listing-card-info-label { display: none; } @@ -18627,7 +19606,20 @@ input.directorist-toggle-input:checked justify-content: space-between; border-top: 1px solid var(--directorist-color-border); } -.directorist-content-active .directorist-listing-single__meta__left, +.directorist-content-active .directorist-listing-single__meta__left { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + gap: 20px; +} .directorist-content-active .directorist-listing-single__meta__right { display: -webkit-box; display: -webkit-flex; @@ -18649,7 +19641,7 @@ input.directorist-toggle-input:checked text-decoration: none; font-size: 14px; color: var(--directorist-color-body); - border-bottom: 0; + border-bottom: 0 none; -webkit-box-shadow: none; box-shadow: none; display: -webkit-box; @@ -18693,6 +19685,11 @@ input.directorist-toggle-input:checked height: 15px; background-color: var(--directorist-color-light-gray); } +.directorist-content-active + .directorist-listing-single__meta + .directorist-view-count { + /* Legacy Icon */ +} .directorist-content-active .directorist-listing-single__meta .directorist-view-count @@ -18755,6 +19752,12 @@ input.directorist-toggle-input:checked width: 14px; height: 14px; } +.directorist-content-active + .directorist-listing-single__meta + .directorist-listing-category + > a { + /* Legacy Icon */ +} .directorist-content-active .directorist-listing-single__meta .directorist-listing-category @@ -18793,10 +19796,10 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single__meta - .directorist-listing-card-phone, + .directorist-rating-meta, .directorist-content-active .directorist-listing-single__meta - .directorist-rating-meta { + .directorist-listing-card-phone { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -18836,11 +19839,11 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-listing-single__thumb .directorist-thumnail-card - .directorist-thumnail-card-back-wrap, + .directorist-thumnail-card-front-wrap, .directorist-content-active .directorist-listing-single__thumb .directorist-thumnail-card - .directorist-thumnail-card-front-wrap { + .directorist-thumnail-card-back-wrap { position: absolute; top: 0; bottom: 0; @@ -18854,12 +19857,12 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-listing-single__thumb .directorist-thumnail-card - .directorist-thumnail-card-back-wrap + .directorist-thumnail-card-front-wrap figure, .directorist-content-active .directorist-listing-single__thumb .directorist-thumnail-card - .directorist-thumnail-card-front-wrap + .directorist-thumnail-card-back-wrap figure { width: 100%; height: 100%; @@ -18883,10 +19886,10 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single__thumb - .directorist-thumnail-card-back-img, + .directorist-thumnail-card-front-img, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumnail-card-front-img { + .directorist-thumnail-card-back-img { width: 100%; height: 100%; -o-object-fit: cover; @@ -18925,16 +19928,16 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-left, + .directorist-thumb-top-right, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-right, + .directorist-thumb-top-left, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-left, + .directorist-thumb-bottom-left, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-right { + .directorist-thumb-bottom-right { position: absolute; display: -webkit-box; display: -webkit-flex; @@ -18951,144 +19954,144 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-left + .directorist-thumb-top-right .directorist-compare-btn i, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-left + .directorist-thumb-top-right .directorist-compare-btn - span.fa, + span.la, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-left + .directorist-thumb-top-right .directorist-compare-btn - span.fab, + span.las, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-left + .directorist-thumb-top-right .directorist-compare-btn - span.fas, + span.fa, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-left + .directorist-thumb-top-right .directorist-compare-btn - span.la, + span.fas, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-left + .directorist-thumb-top-right .directorist-compare-btn span.lab, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-left + .directorist-thumb-top-right .directorist-compare-btn - span.las, + span.fab, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-right + .directorist-thumb-top-left .directorist-compare-btn i, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-right + .directorist-thumb-top-left .directorist-compare-btn - span.fa, + span.la, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-right + .directorist-thumb-top-left .directorist-compare-btn - span.fab, + span.las, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-right + .directorist-thumb-top-left .directorist-compare-btn - span.fas, + span.fa, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-right + .directorist-thumb-top-left .directorist-compare-btn - span.la, + span.fas, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-right + .directorist-thumb-top-left .directorist-compare-btn span.lab, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-right + .directorist-thumb-top-left .directorist-compare-btn - span.las, + span.fab, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-left + .directorist-thumb-bottom-left .directorist-compare-btn i, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-left + .directorist-thumb-bottom-left .directorist-compare-btn - span.fa, + span.la, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-left + .directorist-thumb-bottom-left .directorist-compare-btn - span.fab, + span.las, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-left + .directorist-thumb-bottom-left .directorist-compare-btn - span.fas, + span.fa, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-left + .directorist-thumb-bottom-left .directorist-compare-btn - span.la, + span.fas, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-left + .directorist-thumb-bottom-left .directorist-compare-btn span.lab, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-left + .directorist-thumb-bottom-left .directorist-compare-btn - span.las, + span.fab, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-right + .directorist-thumb-bottom-right .directorist-compare-btn i, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-right + .directorist-thumb-bottom-right .directorist-compare-btn - span.fa, + span.la, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-right + .directorist-thumb-bottom-right .directorist-compare-btn - span.fab, + span.las, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-right + .directorist-thumb-bottom-right .directorist-compare-btn - span.fas, + span.fa, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-right + .directorist-thumb-bottom-right .directorist-compare-btn - span.la, + span.fas, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-right + .directorist-thumb-bottom-right .directorist-compare-btn span.lab, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-right + .directorist-thumb-bottom-right .directorist-compare-btn - span.las { + span.fab { color: var(--directorist-color-white); } .directorist-content-active @@ -19112,31 +20115,41 @@ input.directorist-toggle-input:checked -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; - padding: 20px 22px 0; + padding: 20px 22px 0 22px; } .directorist-content-active .directorist-listing-single__top__left { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; flex-wrap: wrap; } -.directorist-content-active .directorist-listing-single__top__left, .directorist-content-active .directorist-listing-single__top__right { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex: 1; gap: 8px; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; + align-items: center; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; -} -.directorist-content-active .directorist-listing-single__top__right { flex-wrap: wrap; + -webkit-box-flex: 1; -webkit-flex: auto; -ms-flex: auto; flex: auto; @@ -19249,7 +20262,7 @@ input.directorist-toggle-input:checked .directorist-listing-single__thumb { margin: 0; position: relative; - padding: 10px 10px 0; + padding: 10px 10px 0 10px; } .directorist-content-active .directorist-listing-single.directorist-listing-card @@ -19381,7 +20394,7 @@ input.directorist-toggle-input:checked .directorist-rating-avg { margin-left: 0; font-size: 12px; - font-weight: 400; + font-weight: normal; } .directorist-content-active .directorist-listing-single.directorist-listing-list @@ -19415,25 +20428,25 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-listing-single__info__list - > div, + > li, .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-listing-single__info__list - > li { + > div { font-size: 12px; line-height: 1.2; gap: 8px; } .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-listing-category__extran-count, + .directorist-view-count, .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-listing-category a, .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-view-count { + .directorist-listing-category__extran-count { font-size: 12px; } .directorist-content-active @@ -19443,13 +20456,13 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-listing-category - > a - .directorist-icon-mask, + .directorist-thumb-listing-author + a, .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-thumb-listing-author - a { + .directorist-listing-category + > a + .directorist-icon-mask { width: 30px; height: 30px; } @@ -19489,7 +20502,7 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-listing-single__thumb { - padding: 10px 10px 0; + padding: 10px 10px 0 10px; } .directorist-content-active .directorist-listing-single.directorist-listing-list @@ -19501,12 +20514,12 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-listing-single__thumb - .directorist-badge - .directorist-icon-mask:after, + .directorist-favorite-icon:before, .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-listing-single__thumb - .directorist-favorite-icon:before { + .directorist-badge + .directorist-icon-mask:after { width: 10px; height: 10px; } @@ -19546,7 +20559,7 @@ input.directorist-toggle-input:checked -webkit-flex: 2; -ms-flex: 2; flex: 2; - padding: 10px 0; + padding: 10px 0 10px; } @media screen and (max-width: 575px) { .directorist-content-active @@ -19601,10 +20614,12 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-listing-single__info__excerpt, + .directorist-listing-single__info__list { + margin: 10px 0 0; +} .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-listing-single__info__list { + .directorist-listing-single__info__excerpt { margin: 10px 0 0; } @media only screen and (max-width: 575px) { @@ -19769,19 +20784,19 @@ input.directorist-toggle-input:checked .directorist-badge.directorist-badge--only-text, .directorist-content-active .directorist-listing-single.directorist-listing-card - .directorist-badge.directorist-badge-close, + .directorist-badge.directorist-badge-open, .directorist-content-active .directorist-listing-single.directorist-listing-card - .directorist-badge.directorist-badge-open, + .directorist-badge.directorist-badge-close, .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-badge.directorist-badge--only-text, .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-badge.directorist-badge-close, + .directorist-badge.directorist-badge-open, .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-badge.directorist-badge-open { + .directorist-badge.directorist-badge-close { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -19807,19 +20822,19 @@ input.directorist-toggle-input:checked .directorist-badge.directorist-badge--only-text, .directorist-content-active .directorist-listing-single.directorist-listing-card - .directorist-badge.directorist-badge-close, + .directorist-badge.directorist-badge-open, .directorist-content-active .directorist-listing-single.directorist-listing-card - .directorist-badge.directorist-badge-open, + .directorist-badge.directorist-badge-close, .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-badge.directorist-badge--only-text, .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-badge.directorist-badge-close, + .directorist-badge.directorist-badge-open, .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-badge.directorist-badge-open { + .directorist-badge.directorist-badge-close { height: 18px; line-height: 18px; font-size: 8px; @@ -20036,6 +21051,7 @@ input.directorist-toggle-input:checked .directorist-listing-single__header__right { margin-top: 15px; } + .directorist-rating-meta { padding: 0; } @@ -20055,10 +21071,12 @@ input.directorist-toggle-input:checked color: var(--directorist-color-light-gray); } .directorist-rating-meta.directorist-info-item-rating i, -.directorist-rating-meta.directorist-info-item-rating span.fa, -.directorist-rating-meta.directorist-info-item-rating span.la { +.directorist-rating-meta.directorist-info-item-rating span.la, +.directorist-rating-meta.directorist-info-item-rating span.fa { margin-left: 4px; } + +/* mark as favorite btn */ .directorist-mark-as-favorite__btn { display: -webkit-box; display: -webkit-flex; @@ -20084,13 +21102,13 @@ input.directorist-toggle-input:checked border: none; cursor: pointer; } -.directorist-mark-as-favorite__btn:focus, -.directorist-mark-as-favorite__btn:hover { +.directorist-mark-as-favorite__btn:hover, +.directorist-mark-as-favorite__btn:focus { outline: 0; text-decoration: none; } -.directorist-mark-as-favorite__btn:focus .directorist-favorite-icon:before, -.directorist-mark-as-favorite__btn:hover .directorist-favorite-icon:before { +.directorist-mark-as-favorite__btn:hover .directorist-favorite-icon:before, +.directorist-mark-as-favorite__btn:focus .directorist-favorite-icon:before { background-color: var(--directorist-color-danger); } .directorist-mark-as-favorite__btn .directorist-favorite-icon { @@ -20109,8 +21127,8 @@ input.directorist-toggle-input:checked } .directorist-mark-as-favorite__btn .directorist-favorite-icon:before { content: ""; - -webkit-mask-image: url(../images/6bf407d27842391bbcd90343624e694b.svg); - mask-image: url(../images/6bf407d27842391bbcd90343624e694b.svg); + -webkit-mask-image: url(../js/../images/6bf407d27842391bbcd90343624e694b.svg); + mask-image: url(../js/../images/6bf407d27842391bbcd90343624e694b.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 15px; @@ -20121,8 +21139,8 @@ input.directorist-toggle-input:checked } .directorist-mark-as-favorite__btn.directorist-added-to-favorite .directorist-favorite-icon:before { - -webkit-mask-image: url(../images/2e589ffc784b0c43089b0222cab8ed4f.svg); - mask-image: url(../images/2e589ffc784b0c43089b0222cab8ed4f.svg); + -webkit-mask-image: url(../js/../images/2e589ffc784b0c43089b0222cab8ed4f.svg); + mask-image: url(../js/../images/2e589ffc784b0c43089b0222cab8ed4f.svg); background-color: var(--directorist-color-danger); } .directorist-mark-as-favorite__btn .directorist-favorite-tooltip span { @@ -20138,7 +21156,7 @@ input.directorist-toggle-input:checked padding: 5px; z-index: 111; } -.directorist-mark-as-favorite__btn .directorist-favorite-tooltip span:before { +.directorist-mark-as-favorite__btn .directorist-favorite-tooltip span::before { content: ""; position: absolute; border-bottom: 8px solid var(--directorist-color-dark); @@ -20147,6 +21165,8 @@ input.directorist-toggle-input:checked right: 8px; top: -7px; } + +/* listing card without thumbnail */ .directorist-listing-single.directorist-listing-no-thumb .directorist-listing-single__header { display: -webkit-box; @@ -20162,7 +21182,7 @@ input.directorist-toggle-input:checked -webkit-align-items: flex-start; -ms-flex-align: start; align-items: flex-start; - padding: 20px 22px 0; + padding: 20px 22px 0 22px; } .directorist-listing-single.directorist-listing-no-thumb .directorist-listing-single__header__left { @@ -20335,7 +21355,7 @@ input.directorist-toggle-input:checked span { text-decoration: none; color: var(--directorist-color-body); - border-bottom: 0; + border-bottom: 0 none; -webkit-box-shadow: none; box-shadow: none; line-height: 1.7; @@ -20400,7 +21420,7 @@ input.directorist-toggle-input:checked a { text-decoration: none; color: var(--directorist-color-body); - border-bottom: 0; + border-bottom: 0 none; -webkit-box-shadow: none; box-shadow: none; line-height: 1.7; @@ -20424,7 +21444,7 @@ input.directorist-toggle-input:checked } .directorist-listing-single.directorist-listing-no-thumb .directorist-listing-single__content { - border: 0; + border: 0 none; padding: 10px 22px 25px; } .directorist-listing-single.directorist-listing-no-thumb @@ -20445,6 +21465,8 @@ input.directorist-toggle-input:checked align-items: center; gap: 6px; } + +/* listing card without thumbnail list view */ .directorist-listing-single.directorist-listing-list .directorist-listing-single__header { width: 100%; @@ -20460,9 +21482,9 @@ input.directorist-toggle-input:checked display: none; } .directorist-listing-single.directorist-listing-list.directorist-listing-no-thumb - .directorist-info-item.directorist-badge.directorist-badge-close, + .directorist-info-item.directorist-badge.directorist-badge-open, .directorist-listing-single.directorist-listing-list.directorist-listing-no-thumb - .directorist-info-item.directorist-badge.directorist-badge-open { + .directorist-info-item.directorist-badge.directorist-badge-close { padding: 0 5px; } .directorist-listing-single.directorist-listing-list.directorist-listing-no-thumb @@ -20470,6 +21492,7 @@ input.directorist-toggle-input:checked width: auto; height: auto; } + .directorist-archive-grid-view.directorist-archive-grid--fix .directorist-all-listing-col { width: 50%; @@ -20480,24 +21503,26 @@ input.directorist-toggle-input:checked width: 100%; } } + .directorist-listing-category { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; } -.directorist-listing-category, .directorist-listing-category__popup { + position: relative; + margin-left: 10px; + cursor: pointer; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } -.directorist-listing-category__popup { - position: relative; - margin-left: 10px; - cursor: pointer; -} .directorist-listing-category__popup__content { display: block; position: absolute; @@ -20525,7 +21550,7 @@ input.directorist-toggle-input:checked left: 40px; bottom: -11px; border: 6px solid transparent; - border-top: 6px solid var(--directorist-color-white); + border-top-color: var(--directorist-color-white); display: inline-block; position: absolute; } @@ -20552,7 +21577,7 @@ input.directorist-toggle-input:checked width: unset; min-width: unset; } -.directorist-listing-category__popup__content a i:after { +.directorist-listing-category__popup__content a i::after { height: 14px; width: 14px; background-color: var(--directorist-color-body); @@ -20561,7 +21586,7 @@ input.directorist-toggle-input:checked color: var(--directorist-color-primary); background-color: var(--directorist-color-light); } -.directorist-listing-category__popup__content a:hover i:after { +.directorist-listing-category__popup__content a:hover i::after { background-color: var(--directorist-color-primary); } .directorist-listing-category__popup:hover @@ -20570,6 +21595,7 @@ input.directorist-toggle-input:checked opacity: 1; pointer-events: all; } + .directorist-listing-single__meta__right .directorist-listing-category__popup__content { left: unset; @@ -20580,6 +21606,7 @@ input.directorist-toggle-input:checked left: unset; right: 40px; } + .directorist-listing-price-range span { font-weight: 600; color: rgba(122, 130, 166, 0.3); @@ -20587,60 +21614,94 @@ input.directorist-toggle-input:checked .directorist-listing-price-range span.directorist-price-active { color: var(--directorist-color-body); } -#gmap.leaflet-container, + #map.leaflet-container, +#gmap.leaflet-container, .directorist-single-map.leaflet-container { + /*rtl:ignore*/ direction: ltr; } -#gmap.leaflet-container .leaflet-popup-content-wrapper, #map.leaflet-container .leaflet-popup-content-wrapper, +#gmap.leaflet-container .leaflet-popup-content-wrapper, .directorist-single-map.leaflet-container .leaflet-popup-content-wrapper { border-radius: 8px; padding: 0; } -#gmap.leaflet-container .leaflet-popup-content, #map.leaflet-container .leaflet-popup-content, +#gmap.leaflet-container .leaflet-popup-content, .directorist-single-map.leaflet-container .leaflet-popup-content { margin: 0; line-height: 1; width: 350px !important; } @media only screen and (max-width: 480px) { - #gmap.leaflet-container .leaflet-popup-content, #map.leaflet-container .leaflet-popup-content, + #gmap.leaflet-container .leaflet-popup-content, .directorist-single-map.leaflet-container .leaflet-popup-content { width: 300px !important; } } @media only screen and (max-width: 375px) { - #gmap.leaflet-container .leaflet-popup-content, #map.leaflet-container .leaflet-popup-content, + #gmap.leaflet-container .leaflet-popup-content, .directorist-single-map.leaflet-container .leaflet-popup-content { width: 250px !important; } } -#gmap.leaflet-container - .leaflet-popup-content - .atbdp-listings-title-block - h3.atbdp-no-margin, -#map.leaflet-container - .leaflet-popup-content - .atbdp-listings-title-block - h3.atbdp-no-margin, +#map.leaflet-container .leaflet-popup-content .atbdp-map.atbdp-body img, +#gmap.leaflet-container .leaflet-popup-content .atbdp-map.atbdp-body img, .directorist-single-map.leaflet-container .leaflet-popup-content - .atbdp-listings-title-block - h3.atbdp-no-margin { - font-size: 14px; - margin: 0 0 10px; + .atbdp-map.atbdp-body + img { + width: 100%; } -#gmap.leaflet-container .leaflet-popup-content .osm-iw-location, -#map.leaflet-container .leaflet-popup-content .osm-iw-location, +#map.leaflet-container .leaflet-popup-content .media-body, +#gmap.leaflet-container .leaflet-popup-content .media-body, +.directorist-single-map.leaflet-container .leaflet-popup-content .media-body { + padding: 10px 15px; +} +#map.leaflet-container .leaflet-popup-content .media-body a, +#gmap.leaflet-container .leaflet-popup-content .media-body a, +.directorist-single-map.leaflet-container .leaflet-popup-content .media-body a { + text-decoration: none; +} +#map.leaflet-container .leaflet-popup-content .media-body h3 a, +#gmap.leaflet-container .leaflet-popup-content .media-body h3 a, .directorist-single-map.leaflet-container .leaflet-popup-content - .osm-iw-location { - margin-bottom: 6px; - display: -webkit-box; + .media-body + h3 + a { + font-weight: 500; + line-height: 1.2; + color: #272b41; + letter-spacing: normal; + font-size: 18px; + text-decoration: none; +} +#map.leaflet-container + .leaflet-popup-content + .atbdp-listings-title-block + h3.atbdp-no-margin, +#gmap.leaflet-container + .leaflet-popup-content + .atbdp-listings-title-block + h3.atbdp-no-margin, +.directorist-single-map.leaflet-container + .leaflet-popup-content + .atbdp-listings-title-block + h3.atbdp-no-margin { + font-size: 14px; + margin: 0 0 10px; +} +#map.leaflet-container .leaflet-popup-content .osm-iw-location, +#gmap.leaflet-container .leaflet-popup-content .osm-iw-location, +.directorist-single-map.leaflet-container + .leaflet-popup-content + .osm-iw-location { + margin-bottom: 6px; + display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; @@ -20649,11 +21710,11 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; } -#gmap.leaflet-container +#map.leaflet-container .leaflet-popup-content .osm-iw-location .directorist-icon-mask, -#map.leaflet-container +#gmap.leaflet-container .leaflet-popup-content .osm-iw-location .directorist-icon-mask, @@ -20664,8 +21725,8 @@ input.directorist-toggle-input:checked display: inline-block; margin-right: 4px; } -#gmap.leaflet-container .leaflet-popup-content .osm-iw-get-location, #map.leaflet-container .leaflet-popup-content .osm-iw-get-location, +#gmap.leaflet-container .leaflet-popup-content .osm-iw-get-location, .directorist-single-map.leaflet-container .leaflet-popup-content .osm-iw-get-location { @@ -20678,11 +21739,11 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; } -#gmap.leaflet-container +#map.leaflet-container .leaflet-popup-content .osm-iw-get-location .directorist-icon-mask, -#map.leaflet-container +#gmap.leaflet-container .leaflet-popup-content .osm-iw-get-location .directorist-icon-mask, @@ -20693,32 +21754,33 @@ input.directorist-toggle-input:checked display: inline-block; margin-left: 5px; } -#gmap.leaflet-container .leaflet-popup-content .atbdp-map, #map.leaflet-container .leaflet-popup-content .atbdp-map, +#gmap.leaflet-container .leaflet-popup-content .atbdp-map, .directorist-single-map.leaflet-container .leaflet-popup-content .atbdp-map { + margin: 0; line-height: 1; width: 350px !important; } -#gmap.leaflet-container .leaflet-popup-content .atbdp-map.atbdp-body img, #map.leaflet-container .leaflet-popup-content .atbdp-map.atbdp-body img, +#gmap.leaflet-container .leaflet-popup-content .atbdp-map.atbdp-body img, .directorist-single-map.leaflet-container .leaflet-popup-content .atbdp-map.atbdp-body img { width: 100%; } -#gmap.leaflet-container .leaflet-popup-content .media-body, #map.leaflet-container .leaflet-popup-content .media-body, +#gmap.leaflet-container .leaflet-popup-content .media-body, .directorist-single-map.leaflet-container .leaflet-popup-content .media-body { padding: 10px 15px; } -#gmap.leaflet-container .leaflet-popup-content .media-body a, #map.leaflet-container .leaflet-popup-content .media-body a, +#gmap.leaflet-container .leaflet-popup-content .media-body a, .directorist-single-map.leaflet-container .leaflet-popup-content .media-body a { text-decoration: none; } -#gmap.leaflet-container .leaflet-popup-content .media-body h3 a, #map.leaflet-container .leaflet-popup-content .media-body h3 a, +#gmap.leaflet-container .leaflet-popup-content .media-body h3 a, .directorist-single-map.leaflet-container .leaflet-popup-content .media-body @@ -20731,12 +21793,12 @@ input.directorist-toggle-input:checked font-size: 18px; text-decoration: none; } -#gmap.leaflet-container +#map.leaflet-container .leaflet-popup-content .media-body .atbdp-listings-title-block h3.atbdp-no-margin, -#map.leaflet-container +#gmap.leaflet-container .leaflet-popup-content .media-body .atbdp-listings-title-block @@ -20749,8 +21811,8 @@ input.directorist-toggle-input:checked font-size: 14px; margin: 0 0 10px; } -#gmap.leaflet-container .leaflet-popup-content .media-body .osm-iw-location, #map.leaflet-container .leaflet-popup-content .media-body .osm-iw-location, +#gmap.leaflet-container .leaflet-popup-content .media-body .osm-iw-location, .directorist-single-map.leaflet-container .leaflet-popup-content .media-body @@ -20765,12 +21827,12 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; } -#gmap.leaflet-container +#map.leaflet-container .leaflet-popup-content .media-body .osm-iw-location .directorist-icon-mask, -#map.leaflet-container +#gmap.leaflet-container .leaflet-popup-content .media-body .osm-iw-location @@ -20783,8 +21845,8 @@ input.directorist-toggle-input:checked display: inline-block; margin-right: 4px; } -#gmap.leaflet-container .leaflet-popup-content .media-body .osm-iw-get-location, #map.leaflet-container .leaflet-popup-content .media-body .osm-iw-get-location, +#gmap.leaflet-container .leaflet-popup-content .media-body .osm-iw-get-location, .directorist-single-map.leaflet-container .leaflet-popup-content .media-body @@ -20798,12 +21860,12 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; } -#gmap.leaflet-container +#map.leaflet-container .leaflet-popup-content .media-body .osm-iw-get-location .directorist-icon-mask, -#map.leaflet-container +#gmap.leaflet-container .leaflet-popup-content .media-body .osm-iw-get-location @@ -20816,24 +21878,24 @@ input.directorist-toggle-input:checked display: inline-block; margin-left: 5px; } -#gmap.leaflet-container .leaflet-popup-content .atbdp-map, #map.leaflet-container .leaflet-popup-content .atbdp-map, +#gmap.leaflet-container .leaflet-popup-content .atbdp-map, .directorist-single-map.leaflet-container .leaflet-popup-content .atbdp-map { margin: 0; } -#gmap.leaflet-container .leaflet-popup-content .map-info-wrapper img, #map.leaflet-container .leaflet-popup-content .map-info-wrapper img, +#gmap.leaflet-container .leaflet-popup-content .map-info-wrapper img, .directorist-single-map.leaflet-container .leaflet-popup-content .map-info-wrapper img { width: 100%; } -#gmap.leaflet-container +#map.leaflet-container .leaflet-popup-content .map-info-wrapper .map-info-details, -#map.leaflet-container +#gmap.leaflet-container .leaflet-popup-content .map-info-wrapper .map-info-details, @@ -20843,12 +21905,12 @@ input.directorist-toggle-input:checked .map-info-details { padding: 15px; } -#gmap.leaflet-container +#map.leaflet-container .leaflet-popup-content .map-info-wrapper .map-info-details h3, -#map.leaflet-container +#gmap.leaflet-container .leaflet-popup-content .map-info-wrapper .map-info-details @@ -20862,13 +21924,13 @@ input.directorist-toggle-input:checked margin-bottom: 0; margin-top: 0; } -#gmap.leaflet-container +#map.leaflet-container .leaflet-popup-content .map-info-wrapper .map-info-details .miw-contents-footer .iw-close-btn, -#map.leaflet-container +#gmap.leaflet-container .leaflet-popup-content .map-info-wrapper .map-info-details @@ -20882,8 +21944,8 @@ input.directorist-toggle-input:checked .iw-close-btn { display: none; } -#gmap.leaflet-container .leaflet-popup-close-button, #map.leaflet-container .leaflet-popup-close-button, +#gmap.leaflet-container .leaflet-popup-close-button, .directorist-single-map.leaflet-container .leaflet-popup-close-button { position: absolute; width: 25px; @@ -20914,30 +21976,33 @@ input.directorist-toggle-input:checked padding: 0; display: none; } -#gmap.leaflet-container .leaflet-popup-close-button:hover, #map.leaflet-container .leaflet-popup-close-button:hover, +#gmap.leaflet-container .leaflet-popup-close-button:hover, .directorist-single-map.leaflet-container .leaflet-popup-close-button:hover { background-color: #444752; } -#gmap.leaflet-container .leaflet-popup-tip-container, #map.leaflet-container .leaflet-popup-tip-container, +#gmap.leaflet-container .leaflet-popup-tip-container, .directorist-single-map.leaflet-container .leaflet-popup-tip-container { display: none; } + .directorist-single-map .gm-style-iw-c, .directorist-single-map .gm-style-iw-d { max-height: unset !important; } -.directorist-single-map .gm-style-iw-chr, -.directorist-single-map .gm-style-iw-tc { +.directorist-single-map .gm-style-iw-tc, +.directorist-single-map .gm-style-iw-chr { display: none; } + .map-listing-card-single { position: relative; padding: 10px; border-radius: 8px; - -webkit-box-shadow: 0 5px 20px rgba(var(--directorist-color-dark-rgb), 0.33); - box-shadow: 0 5px 20px rgba(var(--directorist-color-dark-rgb), 0.33); + -webkit-box-shadow: 0px 5px 20px + rgba(var(--directorist-color-dark-rgb), 0.33); + box-shadow: 0px 5px 20px rgba(var(--directorist-color-dark-rgb), 0.33); background-color: var(--directorist-color-white); } .map-listing-card-single figure { @@ -20954,7 +22019,7 @@ input.directorist-toggle-input:checked } .map-listing-card-single .directorist-mark-as-favorite__btn - .directorist-favorite-icon:before { + .directorist-favorite-icon::before { width: 16px; height: 16px; } @@ -21093,13 +22158,17 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-gray-hover); } .map-listing-card-single__content__info { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 10px; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; } -.map-listing-card-single__content__info, .map-listing-card-single__content__info .directorist-info-item { display: -webkit-box; display: -webkit-flex; @@ -21139,6 +22208,7 @@ input.directorist-toggle-input:checked .map-listing-card-single__content__location a:not(:first-child) { margin-left: 5px; } + .leaflet-popup-content-wrapper .leaflet-popup-content .map-info-wrapper @@ -21146,11 +22216,13 @@ input.directorist-toggle-input:checked .iw-close-btn { display: none; } + .myDivIcon { text-align: center !important; line-height: 20px !important; position: relative; } + .atbd_map_shape { position: relative; display: -webkit-box; @@ -21185,20 +22257,21 @@ input.directorist-toggle-input:checked transition: all 0.3s ease-in-out; border: none; border: 40px solid rgba(var(--directorist-color-marker-shape-rgb), 0.2); - -webkit-animation: atbd_scale 3s linear infinite alternate; - animation: atbd_scale 3s linear infinite alternate; + -webkit-animation: atbd_scale 3s linear alternate infinite; + animation: atbd_scale 3s linear alternate infinite; } .atbd_map_shape .directorist-icon-mask:after { width: 16px; height: 16px; background-color: var(--directorist-color-marker-icon); - -webkit-mask-image: url(../images/ed83bad2b8ea2a7680575ff079fc63af.svg); - mask-image: url(../images/ed83bad2b8ea2a7680575ff079fc63af.svg); + -webkit-mask-image: url(../js/../images/ed83bad2b8ea2a7680575ff079fc63af.svg); + mask-image: url(../js/../images/ed83bad2b8ea2a7680575ff079fc63af.svg); } .atbd_map_shape:hover:before { opacity: 1; visibility: visible; } + .marker-cluster-shape { width: 35px; height: 35px; @@ -21232,8 +22305,10 @@ input.directorist-toggle-input:checked background: rgba(var(--directorist-color-marker-shape-rgb), 0.15); border-radius: 50%; } -.atbd_google_map .gm-style .gm-style-iw, + +/*style the box*/ .atbdp-map .gm-style .gm-style-iw, +.atbd_google_map .gm-style .gm-style-iw, .directorist-details-info-wrap .gm-style .gm-style-iw { width: 350px; padding: 0; @@ -21243,35 +22318,37 @@ input.directorist-toggle-input:checked max-height: none !important; } @media only screen and (max-width: 375px) { - .atbd_google_map .gm-style .gm-style-iw, .atbdp-map .gm-style .gm-style-iw, + .atbd_google_map .gm-style .gm-style-iw, .directorist-details-info-wrap .gm-style .gm-style-iw { width: 275px; max-width: unset !important; } } -.atbd_google_map .gm-style .gm-style-iw .gm-style-iw-d, .atbdp-map .gm-style .gm-style-iw .gm-style-iw-d, +.atbd_google_map .gm-style .gm-style-iw .gm-style-iw-d, .directorist-details-info-wrap .gm-style .gm-style-iw .gm-style-iw-d { overflow: hidden !important; max-height: 100% !important; } -.atbd_google_map .gm-style .gm-style-iw button.gm-ui-hover-effect, .atbdp-map .gm-style .gm-style-iw button.gm-ui-hover-effect, +.atbd_google_map .gm-style .gm-style-iw button.gm-ui-hover-effect, .directorist-details-info-wrap .gm-style .gm-style-iw button.gm-ui-hover-effect { display: none !important; } -.atbd_google_map .gm-style .gm-style-iw .map-info-wrapper--show, .atbdp-map .gm-style .gm-style-iw .map-info-wrapper--show, +.atbd_google_map .gm-style .gm-style-iw .map-info-wrapper--show, .directorist-details-info-wrap .gm-style .gm-style-iw .map-info-wrapper--show { display: block !important; } + .gm-style div[aria-label="Map"] div[role="button"] { display: none; } + .directorist-report-abuse-modal .directorist-modal__header { padding: 20px 0 15px; } @@ -21279,7 +22356,8 @@ input.directorist-toggle-input:checked .directorist-modal__header .directorist-modal-title { font-size: 1.75rem; - margin: 0 0 0.5rem; + margin: 0; + margin-bottom: 0.5rem; font-weight: 500; line-height: 1.2; color: var(--directorist-color-dark); @@ -21368,9 +22446,9 @@ input.directorist-toggle-input:checked .directorist-modal__footer .directorist-btn.directorist-btn-loading:after { content: ""; - border-radius: 50%; border: 2px solid #f3f3f3; - border-top-color: #656a7a; + border-radius: 50%; + border-top: 2px solid #656a7a; width: 20px; height: 20px; -webkit-animation: rotate360 2s linear infinite; @@ -21381,35 +22459,36 @@ input.directorist-toggle-input:checked top: 4px; } .directorist-report-abuse-modal .directorist-modal__content { - padding: 20px 30px; + padding: 20px 30px 20px; } .directorist-report-abuse-modal #directorist-report-abuse-form { text-align: left; } -.atbd_rated_stars ul, -.directorist-rated-stars ul { + +.directorist-rated-stars ul, +.atbd_rated_stars ul { margin: 0; padding: 0; } -.atbd_rated_stars li, -.directorist-rated-stars li { +.directorist-rated-stars li, +.atbd_rated_stars li { display: inline-block; padding: 0; margin: 0; } -.atbd_rated_stars span, -.directorist-rated-stars span { +.directorist-rated-stars span, +.atbd_rated_stars span { color: #d4d3f3; display: block; width: 14px; height: 14px; position: relative; } -.atbd_rated_stars span:before, -.directorist-rated-stars span:before { +.directorist-rated-stars span:before, +.atbd_rated_stars span:before { content: ""; - -webkit-mask-image: url(../images/9a1043337f37b65647d77feb64df21dd.svg); - mask-image: url(../images/9a1043337f37b65647d77feb64df21dd.svg); + -webkit-mask-image: url(../js/../images/9a1043337f37b65647d77feb64df21dd.svg); + mask-image: url(../js/../images/9a1043337f37b65647d77feb64df21dd.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 15px; @@ -21419,10 +22498,11 @@ input.directorist-toggle-input:checked left: 0; top: 0; } -.atbd_rated_stars span.directorist-rate-active:before, -.directorist-rated-stars span.directorist-rate-active:before { +.directorist-rated-stars span.directorist-rate-active:before, +.atbd_rated_stars span.directorist-rate-active:before { background-color: var(--directorist-color-warning); } + .directorist-single .directorist-single-listing-top button:not(:hover):not(:active):not( @@ -21440,12 +22520,15 @@ input.directorist-toggle-input:checked background-color: transparent; } } + .directorist-listing-details .directorist-listing-single { - border: 0; + border: 0 none; } + .directorist-single-listing-notice { margin-bottom: 15px; } + .directorist-single-tag-list li { margin: 0 0 10px; } @@ -21486,6 +22569,9 @@ input.directorist-toggle-input:checked .directorist-single-tag-list a .directorist-icon-mask:after { font-size: 15px; } +.directorist-single-tag-list a { + /* Legacy Icon */ +} .directorist-single-tag-list a > span:not(.directorist-icon-mask) { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -21515,6 +22601,7 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-primary); color: var(--directorist-color-white); } + .directorist-single-dummy-shortcode { width: 100%; background-color: #556166; @@ -21526,6 +22613,7 @@ input.directorist-toggle-input:checked font-size: 16px; line-height: 1.2; } + .directorist-sidebar .directorist-search-contents { display: -webkit-box; display: -webkit-flex; @@ -21608,775 +22696,84 @@ input.directorist-toggle-input:checked li { margin-top: 0; } -.directorist-single-listing-top { - gap: 20px; - margin: 15px 0 30px; - -webkit-box-align: start; - -webkit-align-items: flex-start; - -ms-flex-align: start; - align-items: flex-start; -} -@media screen and (max-width: 575px) { - .directorist-single-listing-top { - gap: 10px; - } + +.directorist-single-wrapper + .formgent-form-general + .formgent-field-list--frontend { + padding: 0; } -.directorist-single-listing-top .directorist-return-back { - gap: 8px; - margin: 0; - -webkit-box-flex: unset; - -webkit-flex: unset; - -ms-flex: unset; - flex: unset; - min-width: 120px; - text-decoration: none; - -webkit-box-pack: start; - -webkit-justify-content: flex-start; - -ms-flex-pack: start; - justify-content: flex-start; - border: 2px solid var(--directorist-color-white); +.directorist-single-wrapper .formgent-file-upload-progress-text { + min-width: 40px; } -@media screen and (max-width: 575px) { - .directorist-single-listing-top .directorist-return-back { - border: none; - min-width: auto; - } +.directorist-single-wrapper + .formgent-file-preview-action + .formgent-file-delete { + line-height: 1; } -.directorist-single-listing-top - .directorist-return-back - .directorist-single-listing-action__text { - display: block; + +.directorist-single-author-info figure { + margin: 0; } -@media screen and (max-width: 575px) { - .directorist-single-listing-top - .directorist-return-back - .directorist-single-listing-action__text { - display: none; - } +.directorist-single-author-info .diretorist-view-profile-btn { + margin-top: 22px; + padding: 0 30px; } -.directorist-single-listing-top__btn-wrapper { - position: fixed; - width: 100%; - height: 80px; - bottom: 0; - left: 0; + +.directorist-single-author-avatar { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; - background-color: rgba(0, 0, 0, 0.8); - z-index: 999; -} -.directorist-single-listing-top__btn-continue.directorist-btn { - height: 46px; - border-radius: 8px; - font-size: 15px; - font-weight: 600; - padding: 0 25px; - background-color: #394dff !important; - color: var(--directorist-color-white); -} -.directorist-single-listing-top__btn-continue.directorist-btn:hover { - background-color: #2a3cd9 !important; - color: var(--directorist-color-white); - border-color: var(--directorist-color-white) !important; -} -.directorist-single-listing-top__btn-continue.directorist-btn - .directorist-single-listing-action__text { - display: block; -} -.directorist-single-contents-area { - -webkit-box-sizing: border-box; - box-sizing: border-box; } -.directorist-single-contents-area .directorist-card { - padding: 0; - -webkit-filter: none; - filter: none; - margin-bottom: 35px; +.directorist-single-author-avatar .directorist-single-author-avatar-inner { + margin-right: 10px; + width: auto; } -.directorist-single-contents-area .directorist-card .directorist-card__body { - padding: 30px; +.directorist-single-author-avatar .directorist-single-author-avatar-inner img { + width: 50px; + height: 50px; + border-radius: 50%; } -@media screen and (max-width: 575px) { - .directorist-single-contents-area - .directorist-card - .directorist-card__body { - padding: 20px 15px; - } +.directorist-single-author-avatar .directorist-single-author-name h1, +.directorist-single-author-avatar .directorist-single-author-name h2, +.directorist-single-author-avatar .directorist-single-author-name h3, +.directorist-single-author-avatar .directorist-single-author-name h4, +.directorist-single-author-avatar .directorist-single-author-name h5, +.directorist-single-author-avatar .directorist-single-author-name h6 { + font-size: 16px; + font-weight: 500; + line-height: 1.2; + letter-spacing: normal; + margin: 0 0 3px; + color: var(--color-dark); } -.directorist-single-contents-area .directorist-card .directorist-card__header { - padding: 20px 30px; +.directorist-single-author-avatar .directorist-single-author-membership { + font-size: 14px; + color: var(--directorist-color-light-gray); } -@media screen and (max-width: 575px) { - .directorist-single-contents-area - .directorist-card - .directorist-card__header { - padding: 15px 20px; - } + +.directorist-single-author-contact-info { + margin-top: 15px; } -.directorist-single-contents-area - .directorist-card - .directorist-single-author-name - h4 { +.directorist-single-author-contact-info ul { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; margin: 0; + padding: 0; } -.directorist-single-contents-area .directorist-card__header__title { - gap: 12px; - font-size: 18px; - font-weight: 500; - color: var(--directorist-color-dark); -} -.directorist-single-contents-area - .directorist-card__header__title - #directorist-review-counter { - margin-right: 10px; -} -.directorist-single-contents-area .directorist-card__header-icon { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - min-width: 34px; - height: 34px; - border-radius: 50%; - background-color: var(--directorist-color-bg-light); -} -.directorist-single-contents-area - .directorist-card__header-icon - .directorist-icon-mask { - color: var(--directorist-color-dark); -} -.directorist-single-contents-area - .directorist-card__header-icon - .directorist-icon-mask:after { - width: 14px; - height: 14px; -} -.directorist-single-contents-area .directorist-details-info-wrap a { - font-size: 15px; - text-decoration: none; - -webkit-box-shadow: none; - box-shadow: none; - color: var(--directorist-color-body); -} -.directorist-single-contents-area .directorist-details-info-wrap a:hover { - color: var(--directorist-color-primary); -} -.directorist-single-contents-area .directorist-details-info-wrap ul { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - gap: 0 10px; - margin: 0; - list-style-type: none; - padding: 0; -} -.directorist-single-contents-area .directorist-details-info-wrap li { - -webkit-box-flex: 0; - -webkit-flex: 0 0 49%; - -ms-flex: 0 0 49%; - flex: 0 0 49%; -} -.directorist-single-contents-area - .directorist-details-info-wrap - .directorist-social-links - a:hover { - background-color: var(--directorist-color-primary); -} -.directorist-single-contents-area - .directorist-details-info-wrap - .directorist-single-map__location { - padding-top: 18px; -} -.directorist-single-contents-area - .directorist-single-info__label-icon - .directorist-icon-mask:after { - background-color: grey; -} -.directorist-single-contents-area - .directorist-single-listing-slider - .directorist-swiper__nav - i:after { - background-color: var(--directorist-color-white); -} -.directorist-single-contents-area .directorist-related { - padding: 0; -} -.directorist-single-contents-area { - margin-top: 50px; -} -.directorist-single-contents-area - .directorist-single-wrapper - .directorist-details-info-wrap { - gap: 12px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -} -.directorist-single-contents-area - .directorist-single-wrapper - .directorist-details-info-wrap - .directorist-single-info { - margin: 0; -} -.directorist-single-contents-area - .directorist-single-wrapper - .directorist-details-info-wrap - .directorist-single-info.directorist-single-info-number - .directorist-form-group__with-prefix { - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; -} -.directorist-single-contents-area - .directorist-single-wrapper - .directorist-details-info-wrap - .directorist-single-info - .directorist-form-group__with-prefix { - border: none; - margin-top: 4px; -} -.directorist-single-contents-area - .directorist-single-wrapper - .directorist-details-info-wrap - .directorist-single-info - .directorist-form-group__prefix { - height: auto; - line-height: unset; - color: var(--directorist-color-body); -} -.directorist-single-contents-area - .directorist-single-wrapper - .directorist-single-formgent-form - .formgent-form { - width: 100%; -} -.directorist-single-contents-area .directorist-card { - margin-bottom: 25px; -} -.directorist-single-map__location { - gap: 10px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - padding: 30px 0 0; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; -} -@media screen and (max-width: 575px) { - .directorist-single-map__location { - padding: 20px 0 0; - } -} -.directorist-single-map__address { - gap: 10px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - font-size: 14px; -} -.directorist-single-map__address i:after { - width: 14px; - height: 14px; - margin-top: 4px; -} -.directorist-single-map__direction a { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 10px; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; -} -.directorist-single-contents-area .directorist-single-map__direction a { - font-size: 14px; - color: var(--directorist-color-info); -} -.directorist-single-contents-area - .directorist-single-map__direction - a - .directorist-icon-mask:after { - background-color: var(--directorist-color-info); -} -.directorist-single-contents-area .directorist-single-map__direction a:hover { - color: var(--directorist-color-primary); -} -.directorist-single-contents-area - .directorist-single-map__direction - a:hover - .directorist-icon-mask:after { - background-color: var(--directorist-color-primary); -} -.directorist-single-contents-area - .directorist-single-map__direction - .directorist-icon-mask:after { - width: 14px; - height: 14px; - background-color: var(--directorist-color-info); -} -.directorist-single-listing-header { - margin-bottom: 25px; - margin-top: -15px; - padding: 0; -} -.directorist-single-wrapper .directorist-listing-single__info { - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; -} -.directorist-single-wrapper .directorist-single-listing-slider-wrap { - padding: 0; - margin: 15px 0; -} -.directorist-single-wrapper - .directorist-single-listing-slider-wrap.background-contain - .directorist-single-listing-slider - .swiper-slide - img { - -o-object-fit: contain; - object-fit: contain; -} -.directorist-single-listing-quick-action { - width: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; -} -@media screen and (max-width: 767px) { - .directorist-single-listing-quick-action { - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - } -} -@media screen and (max-width: 575px) { - .directorist-single-listing-quick-action { - gap: 12px; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - } -} -.directorist-single-listing-quick-action .directorist-social-share { - position: relative; -} -.directorist-single-listing-quick-action - .directorist-social-share:hover - .directorist-social-share-links { - opacity: 1; - visibility: visible; - top: calc(100% + 5px); -} -@media screen and (max-width: 575px) { - .directorist-single-listing-quick-action .directorist-action-bookmark, - .directorist-single-listing-quick-action .directorist-action-report, - .directorist-single-listing-quick-action .directorist-social-share { - font-size: 0; - } -} -.directorist-single-listing-quick-action .directorist-social-share-links { - position: absolute; - -webkit-transition: all 0.2s ease-in-out; - transition: all 0.2s ease-in-out; - z-index: 2; - visibility: hidden; - opacity: 0; - right: 0; - top: calc(100% + 30px); - background-color: var(--directorist-color-white); - border-radius: 8px; - width: 150px; - -webkit-box-shadow: 0 5px 15px rgba(var(--directorist-color-dark-rgb), 0.15); - box-shadow: 0 5px 15px rgba(var(--directorist-color-dark-rgb), 0.15); - list-style-type: none; - padding: 10px; - margin: 0; -} -.directorist-single-listing-quick-action .directorist-social-links__item { - padding-left: 0; - margin: 0; -} -.directorist-single-listing-quick-action .directorist-social-links__item a { - padding: 8px 12px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 5px; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - text-decoration: none; - font-size: 14px; - font-weight: 500; - border: 0; - border-radius: 8px; - color: var(--directorist-color-body); - -webkit-transition: 0.3s ease; - transition: 0.3s ease; -} -.directorist-single-listing-quick-action .directorist-social-links__item a i, -.directorist-single-listing-quick-action - .directorist-social-links__item - a - span.fa, -.directorist-single-listing-quick-action - .directorist-social-links__item - a - span.la, -.directorist-single-listing-quick-action - .directorist-social-links__item - a - span.lab { - color: var(--directorist-color-body); -} -.directorist-single-listing-quick-action - .directorist-social-links__item - a - i:after, -.directorist-single-listing-quick-action - .directorist-social-links__item - a - span.fa:after, -.directorist-single-listing-quick-action - .directorist-social-links__item - a - span.la:after, -.directorist-single-listing-quick-action - .directorist-social-links__item - a - span.lab:after { - width: 18px; - height: 18px; -} -.directorist-single-listing-quick-action - .directorist-social-links__item - a - .directorist-icon-mask:after { - background-color: var(--directorist-color-body); -} -.directorist-single-listing-quick-action - .directorist-social-links__item - a - span.fa { - font-family: Font Awesome\5 Brands; - font-weight: 900; - font-size: 15px; -} -.directorist-single-listing-quick-action - .directorist-social-links__item - a:hover { - font-weight: 500; - background-color: rgba(var(--directorist-color-primary-rgb), 0.1); - color: var(--directorist-color-primary); -} -.directorist-single-listing-quick-action - .directorist-social-links__item - a:hover - i, -.directorist-single-listing-quick-action - .directorist-social-links__item - a:hover - span.fa, -.directorist-single-listing-quick-action - .directorist-social-links__item - a:hover - span.la { - color: var(--directorist-color-primary); -} -.directorist-single-listing-quick-action - .directorist-social-links__item - a:hover - .directorist-icon-mask:after { - background-color: var(--directorist-color-primary); -} -.directorist-single-listing-quick-action - .directorist-listing-single__quick-actions { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; -} -.directorist-single-listing-action { - gap: 8px; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - font-size: 13px; - font-weight: 400; - border: 0; - border-radius: 8px; - padding: 0 16px; - cursor: pointer; - text-decoration: none; - color: var(--directorist-color-body); - border: 2px solid var(--directorist-color-white) !important; - -webkit-transition: background-color 0.2s ease-in-out; - transition: background-color 0.2s ease-in-out; -} -.directorist-single-listing-action:hover { - background-color: var(--directorist-color-white) !important; - border-color: var(--directorist-color-primary) !important; -} -@media screen and (max-width: 575px) { - .directorist-single-listing-action { - gap: 0; - border: none; - } - .directorist-single-listing-action.directorist-btn.directorist-btn-light { - background-color: var(--directorist-color-white); - border: 1px solid var(--directorist-color-light) !important; - } - .directorist-single-listing-action.directorist-single-listing-top__btn-edit - .directorist-single-listing-action__text { - display: none; - } -} -@media screen and (max-width: 480px) { - .directorist-single-listing-action { - padding: 0 10px; - font-size: 12px; - } -} -@media screen and (max-width: 380px) { - .directorist-single-listing-action.directorist-btn-sm { - min-height: 38px; - } -} -.directorist-single-listing-action.directorist-action-bookmark - .directorist-icon-mask:after { - background-color: var(--directorist-color-dark); -} -.directorist-single-listing-action.directorist-action-bookmark - .directorist-icon-mask.directorist-added-to-favorite:after { - background-color: var(--directorist-color-danger); -} -.directorist-single-listing-action .directorist-icon-mask:after { - width: 15px; - height: 15px; -} -.directorist-single-listing-action a { - -webkit-box-shadow: none; - box-shadow: none; -} -.directorist-single-listing-action .atbdp-require-login, -.directorist-single-listing-action .directorist-action-report-not-loggedin { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - width: 100%; - height: 100%; -} -.directorist-single-listing-action .atbdp-require-login i, -.directorist-single-listing-action .directorist-action-report-not-loggedin i { - pointer-events: none; -} -.directorist-listing-details { - margin: 15px 0 30px; -} -.directorist-listing-details__text p { - margin: 0 0 15px; - color: var(--directorist-color-body); - line-height: 24px; -} -.directorist-listing-details__text ul { - list-style: disc; - padding-left: 20px; - margin-left: 0; -} -.directorist-listing-details__text li { - list-style: disc; -} -.directorist-listing-details__listing-title { - font-size: 30px; - font-weight: 600; - display: inline-block; - margin: 15px 0 0; - color: var(--directorist-color-dark); -} -@media screen and (max-width: 575px) { - .directorist-listing-details__listing-title { - font-size: 24px; - } -} -.directorist-listing-details__tagline { - margin: 10px 0; - color: var(--directorist-color-body); -} -.directorist-listing-details - .directorist-pricing-meta - .directorist-listing-price { - padding: 5px 10px; - border-radius: 6px; - background-color: var(--directorist-color-light); -} -.directorist-listing-details .directorist-listing-single__info { - padding: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; -} -.directorist-single-contents-area .directorist-embaded-video { - width: 100%; - height: 400px; - border: 0; - border-radius: 12px; -} -@media (max-width: 768px) { - .directorist-single-contents-area .directorist-embaded-video { - height: 56.25vw; - } -} -.directorist-single-contents-area .directorist-single-map { - border-radius: 12px; - z-index: 1; -} -.directorist-single-contents-area - .directorist-single-map - .directorist-info-item - a { - font-size: 14px; -} -.directorist-related-listing-header h1, -.directorist-related-listing-header h2, -.directorist-related-listing-header h3, -.directorist-related-listing-header h4, -.directorist-related-listing-header h5, -.directorist-related-listing-header h6 { - font-size: 18px; - margin: 0 0 15px; -} -.directorist-single-author-info figure { - margin: 0; -} -.directorist-single-author-info .diretorist-view-profile-btn { - margin-top: 22px; - padding: 0 30px; -} -.directorist-single-author-avatar { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; -} -.directorist-single-author-avatar .directorist-single-author-avatar-inner { - margin-right: 10px; - width: auto; -} -.directorist-single-author-avatar .directorist-single-author-avatar-inner img { - width: 50px; - height: 50px; - border-radius: 50%; -} -.directorist-single-author-avatar .directorist-single-author-name h1, -.directorist-single-author-avatar .directorist-single-author-name h2, -.directorist-single-author-avatar .directorist-single-author-name h3, -.directorist-single-author-avatar .directorist-single-author-name h4, -.directorist-single-author-avatar .directorist-single-author-name h5, -.directorist-single-author-avatar .directorist-single-author-name h6 { - font-size: 16px; - font-weight: 500; - line-height: 1.2; - letter-spacing: normal; - margin: 0 0 3px; - color: var(--color-dark); -} -.directorist-single-author-avatar .directorist-single-author-membership { - font-size: 14px; - color: var(--directorist-color-light-gray); -} -.directorist-single-author-contact-info { - margin-top: 15px; -} -.directorist-single-author-contact-info ul { - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - margin: 0; - padding: 0; -} -.directorist-single-author-contact-info ul li { - width: 100%; - -webkit-box-flex: 100%; - -webkit-flex: 100%; - -ms-flex: 100%; - flex: 100%; +.directorist-single-author-contact-info ul li { + width: 100%; + -webkit-box-flex: 100%; + -webkit-flex: 100%; + -ms-flex: 100%; + flex: 100%; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -22398,11 +22795,12 @@ input.directorist-toggle-input:checked .directorist-single-author-contact-info ul a:hover { color: var(--directorist-color-primary); } -.directorist-single-author-contact-info ul .directorist-icon-mask:after { +.directorist-single-author-contact-info ul .directorist-icon-mask::after { width: 14px; height: 14px; background-color: var(--directorist-color-light-gray); } + .directorist-single-author-contact-info-text { font-size: 15px; margin-left: 12px; @@ -22410,6 +22808,7 @@ input.directorist-toggle-input:checked box-shadow: none; color: var(--directorist-color-body); } + .directorist-single-author-info .directorist-social-wrap { display: -webkit-box; display: -webkit-flex; @@ -22427,9 +22826,10 @@ input.directorist-toggle-input:checked border-radius: 4px; color: var(--directorist-color-white) !important; overflow: hidden; - -webkit-transition: all 0.3s ease-in-out !important; - transition: all 0.3s ease-in-out !important; + -webkit-transition: all ease-in-out 300ms !important; + transition: all ease-in-out 300ms !important; } + .directorist-details-info-wrap .directorist-single-info { display: -webkit-box; display: -webkit-flex; @@ -22566,6 +22966,7 @@ input.directorist-toggle-input:checked display: none; } } + .directorist-social-links { display: -webkit-box; display: -webkit-flex; @@ -22594,13 +22995,13 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-light); border-radius: 8px; overflow: hidden; - -webkit-transition: all 0.3s ease-in-out !important; - transition: all 0.3s ease-in-out !important; + -webkit-transition: all ease-in-out 300ms !important; + transition: all ease-in-out 300ms !important; } -.directorist-social-links a .directorist-icon-mask:after { +.directorist-social-links a .directorist-icon-mask::after { background-color: var(--directorist-color-body); } -.directorist-social-links a:hover .directorist-icon-mask:after { +.directorist-social-links a:hover .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .directorist-social-links a:hover.facebook { @@ -22611,7 +23012,7 @@ input.directorist-toggle-input:checked } .directorist-social-links a:hover.youtube, .directorist-social-links a:hover.youtube-play { - background-color: red; + background-color: #ff0000; } .directorist-social-links a:hover.instagram { background-color: #c32aa3; @@ -22653,10 +23054,13 @@ input.directorist-toggle-input:checked .directorist-social-links a:hover.behance { background-color: #196ee3; } -.directorist-social-links a:hover.soundcloud, +.directorist-social-links a:hover.soundcloud { + background-color: #ff5500; +} .directorist-social-links a:hover.stack-overflow { - background-color: #f50; + background-color: #ff5500; } + .directorist-contact-owner-form-inner .directorist-form-group { margin-bottom: 15px; } @@ -22671,9 +23075,11 @@ input.directorist-toggle-input:checked text-decoration: none; text-transform: capitalize; } + .directorist-author-social a .fa { - font-family: Font Awesome\5 Brands; + font-family: "Font Awesome 5 Brands"; } + .directorist-google-map, .directorist-single-map { height: 400px; @@ -22684,6 +23090,7 @@ input.directorist-toggle-input:checked height: 320px; } } + .directorist-rating-review-block { display: inline-block; border: 1px solid #e3e6ef; @@ -22691,12 +23098,14 @@ input.directorist-toggle-input:checked border-radius: 2px; margin-bottom: 20px; } + .directorist-review-area .directorist-review-form-action { margin-top: 16px; } .directorist-review-area .directorist-form-group-guest-user { margin-top: 12px; } + .directorist-rating-given-block .directorist-rating-given-block__label, .directorist-rating-given-block .directorist-rating-given-block__stars { display: inline-block; @@ -22709,26 +23118,29 @@ input.directorist-toggle-input:checked box-shadow: none; } .directorist-rating-given-block .directorist-rating-given-block__label { + margin-right: 10px; margin: 0 10px 0 0; } + .directorist-rating-given-block__stars .br-widget a:before { content: ""; - -webkit-mask-image: url(../images/c8cb6a06142934b1fac8df29a41ebf7c.svg); - mask-image: url(../images/c8cb6a06142934b1fac8df29a41ebf7c.svg); + -webkit-mask-image: url(../js/../images/c8cb6a06142934b1fac8df29a41ebf7c.svg); + mask-image: url(../js/../images/c8cb6a06142934b1fac8df29a41ebf7c.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 14px; height: 14px; background-color: #d4d3f3; } -.directorist-rating-given-block__stars .br-widget a.br-active:before, -.directorist-rating-given-block__stars .br-widget a.br-selected:before { +.directorist-rating-given-block__stars .br-widget a.br-selected:before, +.directorist-rating-given-block__stars .br-widget a.br-active:before { color: var(--directorist-color-warning); } .directorist-rating-given-block__stars .br-current-rating { display: inline-block; margin-left: 20px; } + .directorist-review-current-rating { margin-bottom: 16px; } @@ -22756,7 +23168,7 @@ input.directorist-toggle-input:checked span:before { content: "\f005"; font-size: 14px; - font-family: Font Awesome\5 Free; + font-family: "Font Awesome 5 Free"; font-weight: 900; } .directorist-review-current-rating @@ -22764,6 +23176,7 @@ input.directorist-toggle-input:checked span.directorist-rate-active { color: #fa8b0c; } + .directorist-single-review { padding-bottom: 26px; padding-top: 30px; @@ -22811,6 +23224,7 @@ input.directorist-toggle-input:checked span.directorist-rate-active { color: #fa8b0c; } + .atbdp-universal-pagination ul { display: -webkit-box; display: -webkit-flex; @@ -22819,15 +23233,12 @@ input.directorist-toggle-input:checked -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; - -ms-flex-align: center; - margin: -5px; - padding: 0; -} -.atbdp-universal-pagination li, -.atbdp-universal-pagination ul { -webkit-box-align: center; -webkit-align-items: center; + -ms-flex-align: center; align-items: center; + margin: -5px; + padding: 0; } .atbdp-universal-pagination li { -webkit-box-flex: 0; @@ -22841,7 +23252,10 @@ input.directorist-toggle-input:checked display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; -ms-flex-align: center; + align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; @@ -22858,7 +23272,10 @@ input.directorist-toggle-input:checked .atbdp-universal-pagination li.atbd-active { cursor: pointer; } -.atbdp-universal-pagination li.atbd-active:hover, +.atbdp-universal-pagination li.atbd-active:hover { + border-color: var(--directorist-color-primary); + color: var(--directorist-color-primary); +} .atbdp-universal-pagination li.atbd-selected { border-color: var(--directorist-color-primary); color: var(--directorist-color-primary); @@ -22905,21 +23322,27 @@ input.directorist-toggle-input:checked opacity: 0; left: 30%; } + .directorist-card-review-block .directorist-btn-add-review { padding: 0 14px; line-height: 2.55; } + +/*================================== +Review: New Style +===================================*/ .directorist-review-container { padding: 0; margin-bottom: 35px; } -.directorist-review-container .comment-form-cookies-consent, -.directorist-review-container .comment-notes { +.directorist-review-container .comment-notes, +.directorist-review-container .comment-form-cookies-consent { margin-bottom: 20px; font-style: italic; font-size: 14px; - font-weight: 400; + font-weight: normal; } + .directorist-review-content a > i { font-size: 13.5px; } @@ -22932,10 +23355,10 @@ input.directorist-toggle-input:checked margin-left: 15px; color: var(--directorist-color-deep-gray); } -.directorist-review-content #cancel-comment-reply-link:focus, .directorist-review-content #cancel-comment-reply-link:hover, -.directorist-review-content .directorist-js-cancel-comment-edit:focus, -.directorist-review-content .directorist-js-cancel-comment-edit:hover { +.directorist-review-content #cancel-comment-reply-link:focus, +.directorist-review-content .directorist-js-cancel-comment-edit:hover, +.directorist-review-content .directorist-js-cancel-comment-edit:focus { color: var(--directorist-color-dark); } @media screen and (max-width: 575px) { @@ -23006,7 +23429,7 @@ input.directorist-toggle-input:checked .directorist-review-content .directorist-review-content__header .directorist-btn - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .directorist-review-content @@ -23028,7 +23451,14 @@ input.directorist-toggle-input:checked color: #2c99ff; } .directorist-review-content .directorist-review-content__overview { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; -ms-flex-align: center; + align-items: center; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; @@ -23038,23 +23468,20 @@ input.directorist-toggle-input:checked justify-content: space-between; padding: 30px 50px; } -.directorist-review-content .directorist-review-content__overview, -.directorist-review-content .directorist-review-content__overview__rating { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - align-items: center; -} .directorist-review-content .directorist-review-content__overview__rating { -webkit-box-flex: 0; -webkit-flex: 0 0 50%; -ms-flex: 0 0 50%; flex: 0 0 50%; text-align: center; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; -ms-flex-align: center; + align-items: center; } .directorist-review-content .directorist-review-content__overview__rating @@ -23103,8 +23530,8 @@ input.directorist-toggle-input:checked height: 100%; position: absolute; left: 0; - -webkit-mask-image: url(../images/b6ad67158aa2d6258e619021127e704f.svg); - mask-image: url(../images/b6ad67158aa2d6258e619021127e704f.svg); + -webkit-mask-image: url(../js/../images/b6ad67158aa2d6258e619021127e704f.svg); + mask-image: url(../js/../images/b6ad67158aa2d6258e619021127e704f.svg); background-color: #ef8000; } .directorist-review-content @@ -23219,7 +23646,7 @@ input.directorist-toggle-input:checked .directorist-review-content .directorist-review-content__reviews, .directorist-review-content .directorist-review-content__reviews ul { padding: 0; - margin: 10px 0 0; + margin: 10px 0 0 0; list-style-type: none; } .directorist-review-content .directorist-review-content__reviews li, @@ -23242,7 +23669,7 @@ input.directorist-toggle-input:checked } .directorist-review-content .directorist-review-content__reviews - .directorist-comment-edit-request:after { + .directorist-comment-edit-request::after { content: ""; display: block; position: absolute; @@ -23251,12 +23678,12 @@ input.directorist-toggle-input:checked height: 100%; width: 100%; z-index: 99; - background-color: hsla(0, 0%, 100%, 0.8); + background-color: rgba(255, 255, 255, 0.8); border-radius: 4px; } .directorist-review-content .directorist-review-content__reviews - .directorist-comment-edit-request:before { + .directorist-comment-edit-request::before { position: absolute; z-index: 100; left: 50%; @@ -23274,15 +23701,15 @@ input.directorist-toggle-input:checked .directorist-review-content .directorist-review-content__reviews .directorist-comment-editing - .directorist-review-single__content, + .directorist-review-single__report, .directorist-review-content .directorist-review-content__reviews .directorist-comment-editing - .directorist-review-single__reply, + .directorist-review-single__content, .directorist-review-content .directorist-review-content__reviews .directorist-comment-editing - .directorist-review-single__report { + .directorist-review-single__reply { display: none; } .directorist-review-content @@ -23402,14 +23829,14 @@ input.directorist-toggle-input:checked .directorist-review-single__contents-wrap .directorist-review-single__header .directorist-review-single__author__details - h2:after, + h2:before, .directorist-review-content .directorist-review-content__reviews .directorist-review-single .directorist-review-single__contents-wrap .directorist-review-single__header .directorist-review-single__author__details - h2:before { + h2:after { content: none; } .directorist-review-content @@ -23431,7 +23858,7 @@ input.directorist-toggle-input:checked .directorist-review-single__header .directorist-review-single__author__details h2 - time:before { + time::before { content: "-"; padding-right: 8px; padding-left: 3px; @@ -23462,7 +23889,7 @@ input.directorist-toggle-input:checked .directorist-review-single__header .directorist-review-single__author__details .directorist-rating-stars - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 11px; height: 11px; background-color: #ef8000; @@ -23581,7 +24008,7 @@ input.directorist-toggle-input:checked .directorist-review-content__reviews .directorist-review-single__reply a.directorist-comment-edit-link - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 0.9em; height: 0.9em; background-color: #8c90a4; @@ -23603,7 +24030,7 @@ input.directorist-toggle-input:checked .directorist-review-content__reviews .directorist-review-single__comments .directorist-review-single--comment - .directorist-review-single__contents-wrap:before { + .directorist-review-single__contents-wrap::before { content: ""; height: 100%; background-color: #f2f2f2; @@ -23618,7 +24045,7 @@ input.directorist-toggle-input:checked .directorist-review-submit { margin-top: 0 !important; margin-bottom: 0 !important; - border: 0 !important; + border: 0 none !important; } .directorist-review-content .directorist-review-content__reviews @@ -23653,7 +24080,7 @@ input.directorist-toggle-input:checked margin: 25px 0 0; } .directorist-review-content .directorist-review-content__pagination ul { - border: 0; + border: 0 none; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -23708,6 +24135,7 @@ input.directorist-toggle-input:checked .page-numbers.current { border-color: #090e30; } + .directorist-review-submit { margin-top: 25px; margin-bottom: 25px; @@ -23716,6 +24144,21 @@ input.directorist-toggle-input:checked border: 1px solid #eff1f6; } .directorist-review-submit__header { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; gap: 15px; } .directorist-review-submit__header h3 { @@ -23748,12 +24191,20 @@ input.directorist-toggle-input:checked } .directorist-review-submit__header .directorist-btn - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 13px; height: 13px; background-color: var(--directorist-color-white); } .directorist-review-submit__overview { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; @@ -23762,21 +24213,18 @@ input.directorist-toggle-input:checked -ms-flex-pack: justify; justify-content: space-between; padding: 30px 50px; - border-top: 0; + border-top: 0 none; } -.directorist-review-submit__overview, .directorist-review-submit__overview__rating { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + gap: 20px; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -} -.directorist-review-submit__overview__rating { - gap: 20px; text-align: center; } @media (max-width: 480px) { @@ -23812,7 +24260,7 @@ input.directorist-toggle-input:checked margin-bottom: 5px; color: var(--directorist-color-warning); } -.directorist-review-submit__overview__rating .directorist-icon-mask:after { +.directorist-review-submit__overview__rating .directorist-icon-mask::after { width: 16px; height: 16px; background-color: var(--directorist-color-warning); @@ -23828,8 +24276,8 @@ input.directorist-toggle-input:checked height: 100%; position: absolute; left: 0; - -webkit-mask-image: url(../images/b6ad67158aa2d6258e619021127e704f.svg); - mask-image: url(../images/b6ad67158aa2d6258e619021127e704f.svg); + -webkit-mask-image: url(../js/../images/b6ad67158aa2d6258e619021127e704f.svg); + mask-image: url(../js/../images/b6ad67158aa2d6258e619021127e704f.svg); background-color: var(--directorist-color-warning); } .directorist-review-submit__overview__rating .directorist-rating-overall { @@ -23884,8 +24332,9 @@ input.directorist-toggle-input:checked .directorist-review-submit__reviews, .directorist-review-submit__reviews ul { padding: 0; + margin: 10px 0 0 0; list-style-type: none; - margin: 10px 0 0; + margin-left: 0; } .directorist-review-submit > li { border-top: 1px solid var(--directorist-color-border); @@ -23893,7 +24342,7 @@ input.directorist-toggle-input:checked .directorist-review-submit .directorist-comment-edit-request { position: relative; } -.directorist-review-submit .directorist-comment-edit-request:after { +.directorist-review-submit .directorist-comment-edit-request::after { content: ""; display: block; position: absolute; @@ -23902,7 +24351,7 @@ input.directorist-toggle-input:checked height: 100%; width: 100%; z-index: 99; - background-color: hsla(0, 0%, 100%, 0.8); + background-color: rgba(255, 255, 255, 0.8); border-radius: 4px; } .directorist-review-submit .directorist-comment-edit-request > li { @@ -23924,7 +24373,7 @@ input.directorist-toggle-input:checked height: 100%; width: 100%; z-index: 99; - background-color: hsla(0, 0%, 100%, 0.8); + background-color: rgba(255, 255, 255, 0.8); border-radius: 4px; } .directorist-review-submit @@ -23944,23 +24393,25 @@ input.directorist-toggle-input:checked -webkit-animation: directoristCommentEditLoading 0.6s linear infinite; animation: directoristCommentEditLoading 0.6s linear infinite; } + .directorist-review-single .directorist-comment-editing - .directorist-review-single__actions, + .directorist-review-single__report, .directorist-review-single .directorist-comment-editing .directorist-review-single__content, .directorist-review-single .directorist-comment-editing - .directorist-review-single__report { + .directorist-review-single__actions { display: none; } + .directorist-review-content__pagination { padding: 0; margin: 25px 0 35px; } .directorist-review-content__pagination ul { - border: 0; + border: 0 none; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -24007,6 +24458,7 @@ input.directorist-toggle-input:checked .directorist-review-content__pagination li .page-numbers.current { border-color: #090e30; } + .directorist-review-single { padding: 40px 30px; margin: 0; @@ -24032,6 +24484,10 @@ input.directorist-toggle-input:checked font-style: normal; } .directorist-review-single .directorist-review-single__header { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; @@ -24040,9 +24496,11 @@ input.directorist-toggle-input:checked -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; margin-bottom: 20px; } -.directorist-review-single .directorist-review-single__header, .directorist-review-single__author { display: -webkit-box; display: -webkit-flex; @@ -24051,8 +24509,6 @@ input.directorist-toggle-input:checked -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; -} -.directorist-review-single__author { -webkit-box-align: start; -webkit-align-items: flex-start; -ms-flex-align: start; @@ -24147,9 +24603,6 @@ input.directorist-toggle-input:checked display: -webkit-flex; display: -ms-flexbox; display: flex; -} -.directorist-review-single__actions, -.directorist-review-single__actions a { -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; @@ -24161,6 +24614,10 @@ input.directorist-toggle-input:checked display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; background: none; margin: 0 8px; color: var(--directorist-color-deep-gray); @@ -24168,7 +24625,7 @@ input.directorist-toggle-input:checked .directorist-review-single__actions a .directorist-icon-mask { margin-right: 6px; } -.directorist-review-single__actions a .directorist-icon-mask:after { +.directorist-review-single__actions a .directorist-icon-mask::after { width: 13.5px; height: 13.5px; background-color: var(--directorist-color-deep-gray); @@ -24194,7 +24651,7 @@ input.directorist-toggle-input:checked .directorist-review-single .directorist-review-submit { margin-top: 0; margin-bottom: 0; - border: 0; + border: 0 none; -webkit-box-shadow: 0 0; box-shadow: 0 0; } @@ -24249,6 +24706,7 @@ input.directorist-toggle-input:checked content: ""; background-color: var(--directorist-color-border-gray); } + .directorist-review-submit__header { display: -webkit-box; display: -webkit-flex; @@ -24356,8 +24814,8 @@ input.directorist-toggle-input:checked } .directorist-review-submit__form .directorist-review-criteria__single a:before { content: ""; - -webkit-mask-image: url(../images/c8cb6a06142934b1fac8df29a41ebf7c.svg); - mask-image: url(../images/c8cb6a06142934b1fac8df29a41ebf7c.svg); + -webkit-mask-image: url(../js/../images/c8cb6a06142934b1fac8df29a41ebf7c.svg); + mask-image: url(../js/../images/c8cb6a06142934b1fac8df29a41ebf7c.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 14px; @@ -24371,10 +24829,10 @@ input.directorist-toggle-input:checked } .directorist-review-submit__form .directorist-review-criteria__single - a.br-active, + a.br-selected, .directorist-review-submit__form .directorist-review-criteria__single - a.br-selected { + a.br-active { background-color: var(--directorist-color-warning) !important; text-decoration: none; outline: 0; @@ -24407,8 +24865,8 @@ input.directorist-toggle-input:checked color: var(--directorist-color-dark); margin-bottom: 5px; } -.directorist-review-submit__form .directorist-form-group input[type="email"], .directorist-review-submit__form .directorist-form-group input[type="text"], +.directorist-review-submit__form .directorist-form-group input[type="email"], .directorist-review-submit__form .directorist-form-group input[type="url"] { height: 46px; background-color: var(--directorist-color-white); @@ -24416,10 +24874,10 @@ input.directorist-toggle-input:checked } .directorist-review-submit__form .directorist-form-group - input[type="email"]::-webkit-input-placeholder, + input[type="text"]::-webkit-input-placeholder, .directorist-review-submit__form .directorist-form-group - input[type="text"]::-webkit-input-placeholder, + input[type="email"]::-webkit-input-placeholder, .directorist-review-submit__form .directorist-form-group input[type="url"]::-webkit-input-placeholder { @@ -24427,10 +24885,10 @@ input.directorist-toggle-input:checked } .directorist-review-submit__form .directorist-form-group - input[type="email"]::-moz-placeholder, + input[type="text"]::-moz-placeholder, .directorist-review-submit__form .directorist-form-group - input[type="text"]::-moz-placeholder, + input[type="email"]::-moz-placeholder, .directorist-review-submit__form .directorist-form-group input[type="url"]::-moz-placeholder { @@ -24438,10 +24896,10 @@ input.directorist-toggle-input:checked } .directorist-review-submit__form .directorist-form-group - input[type="email"]:-ms-input-placeholder, + input[type="text"]:-ms-input-placeholder, .directorist-review-submit__form .directorist-form-group - input[type="text"]:-ms-input-placeholder, + input[type="email"]:-ms-input-placeholder, .directorist-review-submit__form .directorist-form-group input[type="url"]:-ms-input-placeholder { @@ -24449,10 +24907,10 @@ input.directorist-toggle-input:checked } .directorist-review-submit__form .directorist-form-group - input[type="email"]::-ms-input-placeholder, + input[type="text"]::-ms-input-placeholder, .directorist-review-submit__form .directorist-form-group - input[type="text"]::-ms-input-placeholder, + input[type="email"]::-ms-input-placeholder, .directorist-review-submit__form .directorist-form-group input[type="url"]::-ms-input-placeholder { @@ -24460,10 +24918,10 @@ input.directorist-toggle-input:checked } .directorist-review-submit__form .directorist-form-group - input[type="email"]::placeholder, + input[type="text"]::placeholder, .directorist-review-submit__form .directorist-form-group - input[type="text"]::placeholder, + input[type="email"]::placeholder, .directorist-review-submit__form .directorist-form-group input[type="url"]::placeholder { @@ -24663,20 +25121,23 @@ input.directorist-toggle-input:checked .directorist-review-submit .directorist-btn { padding: 0 20px; } + .directorist-review-content + .directorist-review-submit.directorist-review-submit--hidden { display: none !important; } + @-webkit-keyframes directoristCommentEditLoading { to { - -webkit-transform: rotate(1turn); - transform: rotate(1turn); + -webkit-transform: rotate(360deg); + transform: rotate(360deg); } } + @keyframes directoristCommentEditLoading { to { - -webkit-transform: rotate(1turn); - transform: rotate(1turn); + -webkit-transform: rotate(360deg); + transform: rotate(360deg); } } .directorist-favourite-items-wrap { @@ -24786,7 +25247,7 @@ input.directorist-toggle-input:checked .directorist-favourite-items-wrap .directorist-dashboard-items-list__single .directorist-listing-category - i, + span.la, .directorist-favourite-items-wrap .directorist-dashboard-items-list__single .directorist-listing-category @@ -24798,7 +25259,7 @@ input.directorist-toggle-input:checked .directorist-favourite-items-wrap .directorist-dashboard-items-list__single .directorist-listing-category - span.la { + i { margin-right: 6px; color: var(--directorist-color-light-gray); } @@ -24838,7 +25299,7 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; border-radius: 8px; - padding: 0 14px; + padding: 0px 14px; color: var(--directorist-color-white) !important; line-height: 2.65; opacity: 0; @@ -24856,6 +25317,11 @@ input.directorist-toggle-input:checked .directorist-icon-mask:after { background-color: var(--directorist-color-white); } +.directorist-favourite-items-wrap + .directorist-dashboard-items-list__single__action + .directorist-favourite-remove-btn { + /* Legacy Icon */ +} .directorist-favourite-items-wrap .directorist-dashboard-items-list__single__action .directorist-favourite-remove-btn @@ -24870,6 +25336,7 @@ input.directorist-toggle-input:checked visibility: visible; } } + .directorist-user-dashboard { width: 100% !important; max-width: 100% !important; @@ -24889,7 +25356,7 @@ input.directorist-toggle-input:checked } .directorist-user-dashboard__toggle__link { border: 1px solid #e3e6ef; - padding: 6.5px 8px; + padding: 6.5px 8px 6.5px; border-radius: 8px; display: inline-block; outline: 0; @@ -24911,6 +25378,8 @@ input.directorist-toggle-input:checked margin-top: 15px; margin-bottom: 0; } + +/* user dashboard loader */ #directorist-dashboard-preloader { height: 100%; left: 0; @@ -24930,17 +25399,18 @@ input.directorist-toggle-input:checked width: 64px; height: 64px; margin: 8px; + border: 8px solid var(--directorist-color-primary); border-radius: 50%; -webkit-animation: rotate360 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite; animation: rotate360 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite; - border: 8px solid transparent; - border-top: 8px solid var(--directorist-color-primary); + border-color: var(--directorist-color-primary) transparent transparent + transparent; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } -#directorist-dashboard-preloader div:first-child { +#directorist-dashboard-preloader div:nth-child(1) { -webkit-animation-delay: -0.45s; animation-delay: -0.45s; } @@ -24952,6 +25422,8 @@ input.directorist-toggle-input:checked -webkit-animation-delay: -0.15s; animation-delay: -0.15s; } + +/* My listing tab */ .directorist-user-dashboard-tab__nav { display: -webkit-box; display: -webkit-flex; @@ -25062,12 +25534,12 @@ input.directorist-toggle-input:checked } .directorist-user-dashboard-tab .directorist-user-dashboard-search__icon - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 16px; height: 16px; } .directorist-user-dashboard-tab .directorist-user-dashboard-search input { - border: 0; + border: 0 none; border-radius: 18px; font-size: 14px; font-weight: 400; @@ -25088,6 +25560,7 @@ input.directorist-toggle-input:checked min-width: unset; } } + .directorist-user-dashboard-tabcontent { background-color: var(--directorist-color-white); -webkit-box-shadow: var(--directorist-box-shadow); @@ -25103,7 +25576,7 @@ input.directorist-toggle-input:checked .directorist-listing-table .directorist-table { display: table; - border: 0; + border: 0 none; border-collapse: collapse; border-spacing: 0; empty-cells: show; @@ -25270,7 +25743,7 @@ input.directorist-toggle-input:checked font-weight: 400; color: var(--directorist-color-body); padding: 12.5px 22px; - border: 0; + border: 0 none; } .directorist-user-dashboard-tabcontent .directorist-listing-table tr th { letter-spacing: 1.1px; @@ -25426,7 +25899,7 @@ input.directorist-toggle-input:checked .directorist-listing-table .directorist-actions a.directorist-link-btn - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 16px; height: 16px; background-color: var(--directorist-color-info); @@ -25486,7 +25959,7 @@ input.directorist-toggle-input:checked .directorist-listing-table .directorist-dropdown { position: relative; - border: 0; + border: 0 none; } .directorist-user-dashboard-tabcontent .directorist-listing-table @@ -25514,7 +25987,7 @@ input.directorist-toggle-input:checked .directorist-dropdown-menu { min-width: 230px; border: 1px solid #eff1f6; - padding: 0 0 10px; + padding: 0 0 10px 0; border-radius: 6px; } .directorist-user-dashboard-tabcontent @@ -25618,18 +26091,18 @@ input.directorist-toggle-input:checked .directorist-user-dashboard-tabcontent .directorist_dashboard_category li:not(:last-child) { - margin-right: 0; + margin-right: 0px; margin-bottom: 4px; } .directorist-user-dashboard-tabcontent .directorist_dashboard_category li i, .directorist-user-dashboard-tabcontent .directorist_dashboard_category li - span.fa, + span.fas, .directorist-user-dashboard-tabcontent .directorist_dashboard_category li - span.fas, + span.fa, .directorist-user-dashboard-tabcontent .directorist_dashboard_category li @@ -25652,13 +26125,14 @@ input.directorist-toggle-input:checked -webkit-justify-content: flex-end; -ms-flex-pack: end; justify-content: flex-end; - margin: 2px 22px 0; + margin: 2px 22px 0 22px; padding: 30px 0 40px; border-top: 1px solid #eff1f6; } .directorist-user-dashboard-tabcontent .directorist-dashboard-pagination .page-numbers { + margin: 4px; padding: 0; line-height: normal; height: 40px; @@ -25692,20 +26166,20 @@ input.directorist-toggle-input:checked } .directorist-user-dashboard-tabcontent .directorist-dashboard-pagination - .page-numbers.current, + .page-numbers:hover, .directorist-user-dashboard-tabcontent .directorist-dashboard-pagination - .page-numbers:hover { + .page-numbers.current { border-color: var(--directorist-color-primary); color: var(--directorist-color-primary); } .directorist-user-dashboard-tabcontent .directorist-dashboard-pagination - .page-numbers.current + .page-numbers:hover .directorist-icon-mask:after, .directorist-user-dashboard-tabcontent .directorist-dashboard-pagination - .page-numbers:hover + .page-numbers.current .directorist-icon-mask:after { background-color: var(--directorist-color-primary); } @@ -25717,6 +26191,7 @@ input.directorist-toggle-input:checked height: 14px; background-color: var(--directorist-color-body); } + .directorist-user-dashboard__contents.directorist-tab-content-grid-fix .directorist-user-dashboard-tabcontent .directorist-listing-table @@ -25786,12 +26261,14 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; } + .directorist-table-responsive { display: block !important; width: 100%; overflow-x: auto; overflow-y: visible; } + @media (max-width: 767px) { .directorist-user-dashboard-tab .directorist-user-dashboard-tab__nav { -webkit-box-orient: vertical; @@ -25816,6 +26293,8 @@ input.directorist-toggle-input:checked color: var(--directorist-color-primary); background: rgba(var(--directorist-color-primary), 0.1); } + +/* become author modal */ .directorist-become-author-modal { position: fixed; width: 100%; @@ -25875,7 +26354,7 @@ input.directorist-toggle-input:checked display: inline-block; color: var(--directorist-color-white); text-align: center; - margin: 10px 5px 0; + margin: 10px 5px 0 5px; min-width: 100px; padding: 8px 0 !important; border-radius: 3px; @@ -25889,19 +26368,18 @@ input.directorist-toggle-input:checked background-color: #eee; display: inline-block; text-align: center; - margin: 10px 5px 0; + margin: 10px 5px 0 5px; min-width: 100px; padding: 8px 0 !important; border-radius: 3px; } .directorist-become-author-modal span.directorist-become-author__loader { - border-right: 2px solid var(--directorist-color-primary); + border: 2px solid var(--directorist-color-primary); width: 15px; height: 15px; display: inline-block; border-radius: 50%; - border: 2px solid var(--directorist-color-primary); - border-right-color: var(--directorist-color-white); + border-right: 2px solid var(--directorist-color-white); -webkit-animation: rotate360 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite; animation: rotate360 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite; visibility: hidden; @@ -25911,10 +26389,12 @@ input.directorist-toggle-input:checked visibility: visible; opacity: 1; } + #directorist-become-author-success { color: #388e3c !important; margin-bottom: 15px !important; } + .directorist-shade { position: fixed; top: 0; @@ -25930,6 +26410,7 @@ input.directorist-toggle-input:checked display: block; z-index: 21; } + .table.atbd_single_saved_item { margin: 0; background-color: var(--directorist-color-white); @@ -25959,6 +26440,7 @@ input.directorist-toggle-input:checked border-radius: 8px; display: inline-block; } + .directorist-user-dashboard__nav { min-width: 230px; padding: 20px 10px; @@ -26025,6 +26507,7 @@ input.directorist-toggle-input:checked -webkit-transition: 0.3s ease; transition: 0.3s ease; } + .directorist-tab__nav__items { list-style-type: none; padding: 0; @@ -26046,35 +26529,41 @@ input.directorist-toggle-input:checked padding-left: 25px; text-decoration: none; } + .directorist-tab__nav__link { font-size: 14px; border-radius: 4px; padding: 10px; outline: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; color: var(--directorist-color-body); text-decoration: none; } -.directorist-tab__nav__link, .directorist-tab__nav__link .directorist_menuItem-text { + pointer-events: none; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; -} -.directorist-tab__nav__link .directorist_menuItem-text { - pointer-events: none; gap: 10px; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; } .directorist-tab__nav__link .directorist_menuItem-text @@ -26101,6 +26590,8 @@ input.directorist-toggle-input:checked .directorist-tab__nav__link:focus.atbd-dash-nav-dropdown { background-color: transparent; } + +/* user dashboard sidebar nav action */ .directorist-tab__nav__action { margin-top: 15px; } @@ -26110,20 +26601,26 @@ input.directorist-toggle-input:checked .directorist-tab__nav__action .directorist-btn:not(:last-child) { margin-bottom: 15px; } + +/* user dashboard tab style */ .directorist-tab__pane { display: none; } .directorist-tab__pane.directorist-tab__pane--active { display: block; } + #dashboard_profile #user_profile_form.directorist-profile-responsive - .directorist-col-lg-3, + .directorist-col-lg-3 { + width: 100%; +} #dashboard_profile #user_profile_form.directorist-profile-responsive .directorist-col-lg-9 { width: 100%; } + .directorist-image-profile-wrap { padding: 25px; background-color: var(--directorist-color-white); @@ -26151,7 +26648,7 @@ input.directorist-toggle-input:checked .directorist-image-profile-wrap .directorist-profile-uploader .ezmu__front-item__close-icon - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 16px; height: 16px; } @@ -26164,19 +26661,21 @@ input.directorist-toggle-input:checked mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; - -webkit-mask-image: url(../images/232acb97ace4f437ace78cc02bdfd165.svg); - mask-image: url(../images/232acb97ace4f437ace78cc02bdfd165.svg); + -webkit-mask-image: url(../js/../images/232acb97ace4f437ace78cc02bdfd165.svg); + mask-image: url(../js/../images/232acb97ace4f437ace78cc02bdfd165.svg); } .directorist-image-profile-wrap .ezmu__thumbnail-list-item.ezmu__thumbnail_avater { max-width: 140px; } + .directorist-user-profile-box .directorist-card__header { padding: 18px 20px; } .directorist-user-profile-box .directorist-card__body { - padding: 25px 25px 30px; + padding: 25px 25px 30px 25px; } + .directorist-user-info-wrap .directorist-form-group { margin-bottom: 25px; } @@ -26205,6 +26704,8 @@ input.directorist-toggle-input:checked .directorist-user-info-wrap #directorist-profile-notice .directorist-alert { margin-top: 15px; } + +/* User Preferences */ .directorist-user_preferences .directorist-preference-toggle .directorist-form-group { @@ -26262,12 +26763,12 @@ input.directorist-toggle-input:checked flex-direction: column; gap: 12px; } -.directorist-user_preferences .select2-selection__arrow, -.directorist-user_preferences .select2-selection__clear, .directorist-user_preferences .select2.select2-container.select2-container--default .select2-selection__arrow - b { + b, +.directorist-user_preferences .select2-selection__arrow, +.directorist-user_preferences .select2-selection__clear { display: block !important; } .directorist-user_preferences @@ -26275,6 +26776,8 @@ input.directorist-toggle-input:checked .select2-selection { border-bottom-color: var(--directorist-color-primary); } + +/* Directorist Toggle */ .directorist-toggle { cursor: pointer; display: -webkit-inline-box; @@ -26287,6 +26790,7 @@ input.directorist-toggle-input:checked align-items: center; gap: 10px; } + .directorist-toggle-switch { display: inline-block; background: var(--directorist-color-border); @@ -26298,13 +26802,13 @@ input.directorist-toggle-input:checked -webkit-transition: background 0.25s; transition: background 0.25s; } -.directorist-toggle-switch:after, -.directorist-toggle-switch:before { +.directorist-toggle-switch:before, +.directorist-toggle-switch:after { content: ""; } .directorist-toggle-switch:before { display: block; - background: #fff; + background: white; border-radius: 50%; width: 16px; height: 16px; @@ -26322,7 +26826,7 @@ input.directorist-toggle-input:checked from(#fff), to(#fff) ); - background: linear-gradient(180deg, #fff 0, #fff); + background: linear-gradient(to bottom, #fff 0%, #fff 100%); } .directorist-toggle-checkbox:checked + .directorist-toggle-switch { background: var(--directorist-color-primary); @@ -26330,10 +26834,12 @@ input.directorist-toggle-input:checked .directorist-toggle-checkbox:checked + .directorist-toggle-switch:before { left: 25px; } + .directorist-toggle-checkbox { position: absolute; visibility: hidden; } + .directorist-user-socials .directorist-user-social-label { font-size: 18px; padding-bottom: 18px; @@ -26359,16 +26865,18 @@ input.directorist-toggle-input:checked .directorist-user-socials label .directorist-social-icon - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 16px; height: 16px; background-color: #0a0b1e; } + #directorist-prifile-notice .directorist-alert { width: 100%; display: inline-block; margin-top: 15px; } + .directorist-announcement-wrapper { background-color: var(--directorist-color-white); border-radius: 12px; @@ -26393,7 +26901,7 @@ input.directorist-toggle-input:checked .directorist-announcement-wrapper .directorist-announcement:last-child { padding-bottom: 0; margin-bottom: 0; - border-bottom: 0; + border-bottom: 0 none; } @media (max-width: 479px) { .directorist-announcement-wrapper .directorist-announcement { @@ -26511,7 +27019,9 @@ input.directorist-toggle-input:checked .directorist-announcement-wrapper .directorist-announcement__content .directorist-announcement__title - p:empty, + p:empty { + display: none; +} .directorist-announcement-wrapper .directorist-announcement__content p:empty { display: none; } @@ -26528,7 +27038,7 @@ input.directorist-toggle-input:checked width: 36px; border-radius: 50%; background-color: #f5f5f5; - border: 0; + border: 0 none; padding: 0; -webkit-transition: 0.35s; transition: 0.35s; @@ -26548,7 +27058,7 @@ input.directorist-toggle-input:checked .directorist-announcement-wrapper .directorist-announcement__close .close-announcement - .directorist-icon-mask:after { + .directorist-icon-mask::after { -webkit-transition: 0.35s; transition: 0.35s; background-color: #474868; @@ -26561,12 +27071,13 @@ input.directorist-toggle-input:checked .directorist-announcement-wrapper .directorist-announcement__close .close-announcement:hover - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .directorist-announcement-wrapper .directorist_not-found { margin: 0; } + .directorist-announcement-count { display: none; border-radius: 30px; @@ -26579,40 +27090,46 @@ input.directorist-toggle-input:checked vertical-align: middle; background-color: #ff3c3c; } + .directorist-announcement-count.show { display: inline-block; } + .directorist-payment-instructions, .directorist-payment-thanks-text { font-size: 14px; font-weight: 400; color: var(--directorist-color-body); } + .directorist-payment-instructions { margin-bottom: 38px; } + .directorist-payment-thanks-text { font-size: 15px; } + .directorist-payment-table .directorist-table { margin: 0; border: none; } -.directorist-payment-table th { - text-align: left; - padding: 9px 20px; - background-color: var(--directorist-color-bg-gray); -} -.directorist-payment-table tbody td, .directorist-payment-table th { font-size: 14px; font-weight: 500; + text-align: left; + padding: 9px 20px; border: none; color: var(--directorist-color-dark); + background-color: var(--directorist-color-bg-gray); } .directorist-payment-table tbody td { + font-size: 14px; + font-weight: 500; padding: 5px 0; vertical-align: top; + border: none; + color: var(--directorist-color-dark); } .directorist-payment-table tbody tr:first-child td { padding-top: 20px; @@ -26637,23 +27154,26 @@ input.directorist-toggle-input:checked margin: 0; color: var(--directorist-color-light-gray); } + .directorist-payment-summery-table tbody td { padding: 12px 0; } -.directorist-payment-summery-table tbody td:nth-child(2n) { +.directorist-payment-summery-table tbody td:nth-child(even) { text-align: right; } +.directorist-payment-summery-table tbody tr.directorsit-payment-table-total td, .directorist-payment-summery-table tbody tr.directorsit-payment-table-total - .directorist-payment-table__title, -.directorist-payment-summery-table tbody tr.directorsit-payment-table-total td { + .directorist-payment-table__title { font-size: 16px; } + .directorist-btn-view-listing { min-height: 54px; border-radius: 10px; } + .directorist-checkout-card { -webkit-box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08); box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08); @@ -26697,6 +27217,7 @@ input.directorist-toggle-input:checked font-weight: 500; color: var(--directorist-color-body); } + .directorist-payment-gateways { background-color: var(--directorist-color-white); } @@ -26733,11 +27254,12 @@ input.directorist-toggle-input:checked margin-top: 4px; color: var(--directorist-color-body); } + .directorist-payment-action { -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; - margin: 42px -7px -7px; + margin: 42px -7px -7px -7px; } .directorist-payment-action .directorist-btn { min-height: 54px; @@ -26757,29 +27279,34 @@ input.directorist-toggle-input:checked padding: 0 30px; } } -.directorist-summery-total .directorist-summery-amount, -.directorist-summery-total .directorist-summery-label { + +.directorist-summery-total .directorist-summery-label, +.directorist-summery-total .directorist-summery-amount { font-size: 18px; font-weight: 500; color: var(--color-dark); } + .directorist-iframe { border: none; } + .ads-advanced .bottom-inputs { -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; flex-grow: 1; } + +/*responsive css */ @media (min-width: 992px) and (max-width: 1199px) { + .atbd_content_active .widget.atbd_widget .atbdp, + .atbd_content_active .widget.atbd_widget .directorist, .atbd_content_active #directorist.atbd_wrapper .widget.atbd_widget .atbdp, .atbd_content_active #directorist.atbd_wrapper .widget.atbd_widget - .directorist, - .atbd_content_active .widget.atbd_widget .atbdp, - .atbd_content_active .widget.atbd_widget .directorist { + .directorist { padding: 20px 20px 15px; } .atbd_content_active #directorist.atbd_wrapper .atbdp_column { @@ -26842,6 +27369,7 @@ input.directorist-toggle-input:checked -webkit-flex: 0 0 100%; -ms-flex: 0 0 100%; flex: 0 0 100%; + margin-top: 0; margin-top: 10px; } .atbd_content_active @@ -26899,7 +27427,9 @@ input.directorist-toggle-input:checked #directorist.atbd_wrapper.atbd_add_listing_wrapper #atbdp_socialInFo .atbdp_social_field_wrapper - .form-group, + .form-group { + margin-bottom: 15px; + } .atbd_content_active #directorist.atbd_wrapper.atbd_add_listing_wrapper .atbdp_faqs_wrapper @@ -26914,10 +27444,10 @@ input.directorist-toggle-input:checked .ads-advanced .atbdp-custom-fields-search .form-group { width: 100%; } - .ads-advanced .atbdp-custom-fields-search .form-group.atbdp_cf_color label, - .ads-advanced .atbdp-custom-fields-search .form-group.atbdp_cf_date label, .ads-advanced .atbdp-custom-fields-search .form-group.atbdp_cf_select label, - .ads-advanced .atbdp-custom-fields-search .form-group.atbdp_cf_time label { + .ads-advanced .atbdp-custom-fields-search .form-group.atbdp_cf_date label, + .ads-advanced .atbdp-custom-fields-search .form-group.atbdp_cf_time label, + .ads-advanced .atbdp-custom-fields-search .form-group.atbdp_cf_color label { -webkit-box-flex: 0; -webkit-flex: none; -ms-flex: none; @@ -26949,13 +27479,13 @@ input.directorist-toggle-input:checked } .atbd_content_active #directorist.atbd_wrapper - .atbd_content_module__tittle_area + .atbd_content_module_title_area .atbd_listing_action_area .atbd_action.atbd_share:hover .atbd_directory_social_wrap, .atbd_content_active #directorist.atbd_wrapper - .atbd_content_module_title_area + .atbd_content_module__tittle_area .atbd_listing_action_area .atbd_action.atbd_share:hover .atbd_directory_social_wrap { @@ -27069,7 +27599,7 @@ input.directorist-toggle-input:checked #directorist.atbd_wrapper.dashboard_area .atbd_saved_items_wrapper .atbd_single_saved_item { - border: 0; + border: 0 none; padding: 0; } .atbd_content_active #directorist.atbd_wrapper .atbdp_column { @@ -27097,18 +27627,18 @@ input.directorist-toggle-input:checked .atbd_content_active #directorist.atbd_wrapper .atbd_custom_fields - .atbd_custom_field_content, + .atbd_custom_field_title, .atbd_content_active #directorist.atbd_wrapper .atbd_custom_fields - .atbd_custom_field_title { + .atbd_custom_field_content { width: 100%; } .atbd_content_active #directorist.atbd_wrapper .atbd_custom_fields .atbd_custom_field_content { - border: 0; + border: 0 none; padding-top: 0; padding-right: 30px; padding-left: 30px; @@ -27116,14 +27646,14 @@ input.directorist-toggle-input:checked .ads-advanced .bottom-inputs > div { width: 100%; } - .ads-advanced .atbdp-custom-fields-search .form-group .form-control, - .ads-advanced .atbdp_custom_radios, - .ads-advanced .bads-custom-checks, - .ads-advanced .bads-tags, - .ads-advanced .form-group > .form-control, .ads-advanced .price_ranges, .ads-advanced .select-basic, - .ads-advanced .wp-picker-container { + .ads-advanced .bads-tags, + .ads-advanced .bads-custom-checks, + .ads-advanced .atbdp_custom_radios, + .ads-advanced .wp-picker-container, + .ads-advanced .form-group > .form-control, + .ads-advanced .atbdp-custom-fields-search .form-group .form-control { -webkit-box-flex: 1; -webkit-flex: auto; -ms-flex: auto; @@ -27262,28 +27792,35 @@ input.directorist-toggle-input:checked padding-right: 0; } } +/* Utility */ .adbdp-d-none { display: none; } + .atbdp-px-5 { padding: 0 5px !important; } + .atbdp-mx-5 { margin: 0 5px !important; } + .atbdp-form-actions { margin: 30px 0; text-align: center; } + .atbdp-icon { display: inline-block; } + .atbdp-icon-large { display: block; margin-bottom: 20px; font-size: 45px; text-align: center; } + @media (max-width: 400px) { .atbd_content_active #directorist.atbd_wrapper @@ -27320,17 +27857,17 @@ input.directorist-toggle-input:checked .atbd_content_active #directorist.atbd_wrapper .widget.atbd_widget - .atbd_categorized_listings - ul - li - .atbd_right_content + .atbd_listing_info + .atbd_listing_category .atbd_cat_popup .atbd_cat_popup_wrapper:before, .atbd_content_active #directorist.atbd_wrapper .widget.atbd_widget - .atbd_listing_info - .atbd_listing_category + .atbd_categorized_listings + ul + li + .atbd_right_content .atbd_cat_popup .atbd_cat_popup_wrapper:before, .atbd_content_active @@ -27377,13 +27914,13 @@ input.directorist-toggle-input:checked } .atbd_content_active #directorist.atbd_wrapper - .atbd_content_module__tittle_area + .atbd_content_module_title_area .atbd_listing_action_area .atbd_action.atbd_share:hover .atbd_directory_social_wrap, .atbd_content_active #directorist.atbd_wrapper - .atbd_content_module_title_area + .atbd_content_module__tittle_area .atbd_listing_action_area .atbd_action.atbd_share:hover .atbd_directory_social_wrap { @@ -27484,10 +28021,14 @@ input.directorist-toggle-input:checked .directorist-author-profile-wrap .directorist-author-avatar img { margin-bottom: 15px; } - .directorist-author-profile-wrap .directorist-author-avatar, + .directorist-author-profile-wrap .directorist-author-avatar { + text-align: center; + } .directorist-author-profile-wrap .directorist-author-avatar - .directorist-author-avatar__info, + .directorist-author-avatar__info { + text-align: center; + } .directorist-author-profile-wrap .directorist-author-avatar .directorist-author-avatar__info @@ -27499,3 +28040,5 @@ input.directorist-toggle-input:checked display: inline-block; } } + +/*# sourceMappingURL=all-listings.css.map*/ diff --git a/assets/css/all-listings.rtl.css b/assets/css/all-listings.rtl.css index 98f2066cd8..44d147b682 100644 --- a/assets/css/all-listings.rtl.css +++ b/assets/css/all-listings.rtl.css @@ -1,14 +1,15 @@ /*!******************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-4.use[1]!./node_modules/resolve-url-loader/index.js!./node_modules/postcss-loader/src/index.js??clonedRuleSet-4.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-4.use[4]!./assets/src/scss/layout/public/main-style.scss ***! \******************************************************************************************************************************************************************************************************************************************************************************************************/ +/* typography */ @-webkit-keyframes rotate360 { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } - to { - -webkit-transform: rotate(-1turn); - transform: rotate(-1turn); + 100% { + -webkit-transform: rotate(-360deg); + transform: rotate(-360deg); } } @keyframes rotate360 { @@ -16,17 +17,17 @@ -webkit-transform: rotate(0deg); transform: rotate(0deg); } - to { - -webkit-transform: rotate(-1turn); - transform: rotate(-1turn); + 100% { + -webkit-transform: rotate(-360deg); + transform: rotate(-360deg); } } @-webkit-keyframes atbd_spin { 0% { -webkit-transform: rotate(0deg); } - to { - -webkit-transform: rotate(-1turn); + 100% { + -webkit-transform: rotate(-360deg); } } @keyframes atbd_spin { @@ -34,9 +35,9 @@ -webkit-transform: rotate(0deg); transform: rotate(0deg); } - to { - -webkit-transform: rotate(-1turn); - transform: rotate(-1turn); + 100% { + -webkit-transform: rotate(-360deg); + transform: rotate(-360deg); } } @-webkit-keyframes atbd_spin2 { @@ -44,9 +45,9 @@ -webkit-transform: translate(50%, -50%) rotate(0deg); transform: translate(50%, -50%) rotate(0deg); } - to { - -webkit-transform: translate(50%, -50%) rotate(-1turn); - transform: translate(50%, -50%) rotate(-1turn); + 100% { + -webkit-transform: translate(50%, -50%) rotate(-360deg); + transform: translate(50%, -50%) rotate(-360deg); } } @keyframes atbd_spin2 { @@ -54,9 +55,9 @@ -webkit-transform: translate(50%, -50%) rotate(0deg); transform: translate(50%, -50%) rotate(0deg); } - to { - -webkit-transform: translate(50%, -50%) rotate(-1turn); - transform: translate(50%, -50%) rotate(-1turn); + 100% { + -webkit-transform: translate(50%, -50%) rotate(-360deg); + transform: translate(50%, -50%) rotate(-360deg); } } @-webkit-keyframes atbd_scale { @@ -64,34 +65,48 @@ -webkit-transform: scale(0.8); transform: scale(0.8); } - to { + 100% { + -webkit-transform: scale(1); + transform: scale(1); + } +} +@keyframes atbd_scale { + 0% { + -webkit-transform: scale(0.8); + transform: scale(0.8); + } + 100% { -webkit-transform: scale(1); transform: scale(1); } } +.reset-pseudo-link:visited, .reset-pseudo-link:active, -.reset-pseudo-link:focus, -.reset-pseudo-link:visited { +.reset-pseudo-link:focus { outline: none; -webkit-box-shadow: none; box-shadow: none; } + .cptm-shortcodes { max-height: 300px; overflow: scroll; } + .directorist-center-content { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } + .directorist-center-content-inline { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; } + .directorist-center-content, .directorist-center-content-inline { -webkit-box-pack: center; @@ -111,122 +126,170 @@ -ms-flex-direction: column; flex-direction: column; } + .directorist-text-right { text-align: left; } + +.directorist-text-center { + text-align: center; +} + .directorist-text-left { text-align: right; } + .directorist-mt-0 { margin-top: 0 !important; } + .directorist-mt-5 { margin-top: 5px !important; } + .directorist-mt-10 { margin-top: 10px !important; } + .directorist-mt-15 { margin-top: 15px !important; } + .directorist-mt-20 { margin-top: 20px !important; } + .directorist-mt-30 { margin-top: 30px !important; } + .directorist-mb-0 { margin-bottom: 0 !important; } + +.directorist-mb-35 { + margin-bottom: 35px !important; +} + +.directorist-mb-30 { + margin-bottom: 30px !important; +} + .directorist-mb-25 { margin-bottom: 25px !important; } + +.directorist-mb-20 { + margin-bottom: 20px !important; +} + .directorist-mb-n20 { margin-bottom: -20px !important; } + .directorist-mb-10 { margin-bottom: 10px !important; } + .directorist-mb-15 { margin-bottom: 15px !important; } + .directorist-mb-20 { margin-bottom: 20px !important; } + .directorist-mb-30 { margin-bottom: 30px !important; } + .directorist-mb-35 { margin-bottom: 35px !important; } + .directorist-mb-40 { margin-bottom: 40px !important; } + .directorist-mb-50 { margin-bottom: 50px !important; } + .directorist-mb-70 { margin-bottom: 70px !important; } + .directorist-mb-80 { margin-bottom: 80px !important; } + .directorist-pb-100 { padding-bottom: 100px !important; } + .directorist-w-100 { width: 100% !important; max-width: 100% !important; } + .directorist-flex { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } + .directorist-flex-wrap { -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; } + .directorist-align-center { -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; } + .directorist-justify-content-center { -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; } + .directorist-justify-content-between { -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; } + .directorist-justify-content-around { -webkit-justify-content: space-around; -ms-flex-pack: distribute; justify-content: space-around; } + .directorist-justify-content-start { -webkit-box-pack: start; -webkit-justify-content: flex-start; -ms-flex-pack: start; justify-content: flex-start; } + .directorist-justify-content-end { -webkit-box-pack: end; -webkit-justify-content: flex-end; -ms-flex-pack: end; justify-content: flex-end; } + .directorist-display-none { display: none; } + .directorist-icon-mask:after { content: ""; display: block; @@ -240,16 +303,20 @@ -webkit-mask-image: var(--directorist-icon); mask-image: var(--directorist-icon); } + .directorist-error__msg { color: var(--directorist-color-danger); font-size: 14px; } + .directorist-content-active .entry-content .directorist-search-contents { width: 100% !important; max-width: 100% !important; -webkit-box-sizing: border-box; box-sizing: border-box; } + +/* directorist module style */ .directorist-content-module { border: 1px solid var(--directorist-color-border); } @@ -359,7 +426,7 @@ } .directorist-content-module__contents .directorist-form-description-field - .mce-top-part:before { + .mce-top-part::before { display: none; } .directorist-content-module__contents @@ -387,13 +454,13 @@ .directorist-content-module__contents .directorist-form-description-field .mce-toolbar - .mce-btn-group - .mce-btn.mce-listbox, + .mce-btn + button, .directorist-content-module__contents .directorist-form-description-field .mce-toolbar - .mce-btn - button { + .mce-btn-group + .mce-btn.mce-listbox { background: transparent; } .directorist-content-module__contents @@ -435,7 +502,7 @@ .directorist-content-module__contents .directorist-form-social-info-field .directorist-btn - i:after { + i::after { width: 16px; height: 16px; background-color: var(--directorist-color-btn); @@ -449,7 +516,7 @@ .directorist-content-module__contents .directorist-form-social-info-field .directorist-btn:hover - i:after { + i::after { background-color: var(--directorist-color-white); } .directorist-content-module__contents @@ -462,15 +529,22 @@ .directorist-checkbox__label { margin-right: 0; } + .directorist-content-active #directorist.atbd_wrapper { max-width: 100%; } .directorist-content-active #directorist.atbd_wrapper .atbd_header_bar { margin-bottom: 35px; } + +#directorist-dashboard-preloader { + display: none; +} + .directorist-form-required { color: var(--directorist-color-danger); } + .directory_register_form_wrap .dgr_show_recaptcha { margin-bottom: 20px; } @@ -483,6 +557,7 @@ .directory_register_form_wrap a { text-decoration: none; } + .atbd_login_btn_wrapper .directorist-btn { line-height: 2.55; padding-top: 0; @@ -493,6 +568,7 @@ .directorist-checkbox__label { color: var(--directorist-color-primary); } + .atbdp_login_form_shortcode .directorist-form-group label { display: inline-block; margin-bottom: 5px; @@ -500,6 +576,7 @@ .atbdp_login_form_shortcode a { text-decoration: none; } + .directory_register_form_wrap .directorist-form-group label { display: inline-block; margin-bottom: 5px; @@ -509,6 +586,7 @@ padding-top: 0; padding-bottom: 0; } + .directorist-quick-login .directorist-form-actions { display: -webkit-box; display: -webkit-flex; @@ -520,12 +598,14 @@ -ms-flex-align: center; align-items: center; } + .atbd_success_mesage > p i { top: 2px; margin-left: 5px; position: relative; display: inline-block; } + .directorist-loader { position: relative; } @@ -534,17 +614,20 @@ content: ""; left: 20px; top: 31%; - border-top: 2px solid var(--directorist-color-white); - border-radius: 50%; border: 2px solid var(--directorist-color-white); - border-top-color: var(--directorist-color-primary); + border-radius: 50%; + border-top: 2px solid var(--directorist-color-primary); width: 20px; height: 20px; -webkit-animation: atbd_spin 2s linear infinite; animation: atbd_spin 2s linear infinite; } + .plupload-upload-uic { + width: 420px; + margin: 0 auto !important; border: 1px dashed var(--directorist-color-border-gray); + padding: 30px; } .plupload-upload-uic .atbdp-dropbox-title { font-weight: 500; @@ -568,6 +651,7 @@ margin-top: 10px; color: var(--directorist-color-deep-gray); } + @media (max-width: 575px) { .plupload-upload-uic { width: 100%; @@ -641,11 +725,14 @@ border-bottom: 1px dashed #e9e9e9; } .directorist-address-field .address_result li:last-child, +.directorist-form-address-field .address_result li:last-child { + border: none; +} .directorist-address-field .address_result li:last-child a, -.directorist-form-address-field .address_result li:last-child, .directorist-form-address-field .address_result li:last-child a { border: none; } + .pac-container { list-style: none; margin: 0; @@ -709,16 +796,21 @@ mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; - -webkit-mask-image: url(../images/2823e3547c32a23392a06652e69a8a71.svg); - mask-image: url(../images/2823e3547c32a23392a06652e69a8a71.svg); + -webkit-mask-image: url(../js/../images/2823e3547c32a23392a06652e69a8a71.svg); + mask-image: url(../js/../images/2823e3547c32a23392a06652e69a8a71.svg); +} +.pac-container:after { + display: none; } -.pac-container:after, + p.status:empty { display: none; } + .gateway_list input[type="radio"] { margin-left: 5px; } + .directorist-checkout-form .directorist-container-fluid { -webkit-box-sizing: border-box; box-sizing: border-box; @@ -726,6 +818,7 @@ p.status:empty { .directorist-checkout-form ul { list-style-type: none; } + .directorist-select select { width: 100%; height: 40px; @@ -736,15 +829,18 @@ p.status:empty { .directorist-select select:focus { outline: 0; } + .directorist-content-active .select2-container--open .select2-dropdown--above { top: 0; border-color: var(--directorist-color-border); } + body.logged-in.directorist-content-active .select2-container--open .select2-dropdown--above { top: 32px; } + .directorist-content-active .select2-container--default .select2-dropdown { border: none; border-radius: 10px !important; @@ -756,7 +852,7 @@ body.logged-in.directorist-content-active .directorist-content-active .select2-container--default .select2-search--dropdown { - padding: 20px 20px 10px; + padding: 20px 20px 10px 20px; } .directorist-content-active .select2-container--default .select2-search__field { padding: 10px 18px !important; @@ -959,6 +1055,7 @@ body.logged-in.directorist-content-active .directorist-icon-mask:after { background-color: var(--directorist-color-body) !important; } + .custom-checkbox input { display: none; } @@ -992,7 +1089,7 @@ body.logged-in.directorist-content-active right: 5px; top: 5px; font-weight: 900; - font-family: Font Awesome\5 Free; + font-family: "Font Awesome 5 Free"; content: "\f00c"; display: block; opacity: 0; @@ -1034,17 +1131,20 @@ body.logged-in.directorist-content-active opacity: 1; color: var(--directorist-color-white); } + .directorist-table { display: table; width: 100%; } + +/* Directorist custom grid */ .directorist-container, .directorist-container-fluid, +.directorist-container-xxl, +.directorist-container-xl, .directorist-container-lg, .directorist-container-md, -.directorist-container-sm, -.directorist-container-xl, -.directorist-container-xxl { +.directorist-container-sm { width: 100%; padding-left: 15px; padding-right: 15px; @@ -1053,43 +1153,44 @@ body.logged-in.directorist-content-active -webkit-box-sizing: border-box; box-sizing: border-box; } + @media (min-width: 576px) { - .directorist-container, - .directorist-container-sm { + .directorist-container-sm, + .directorist-container { max-width: 540px; } } @media (min-width: 768px) { - .directorist-container, .directorist-container-md, - .directorist-container-sm { + .directorist-container-sm, + .directorist-container { max-width: 720px; } } @media (min-width: 992px) { - .directorist-container, .directorist-container-lg, .directorist-container-md, - .directorist-container-sm { + .directorist-container-sm, + .directorist-container { max-width: 960px; } } @media (min-width: 1200px) { - .directorist-container, + .directorist-container-xl, .directorist-container-lg, .directorist-container-md, .directorist-container-sm, - .directorist-container-xl { + .directorist-container { max-width: 1140px; } } @media (min-width: 1400px) { - .directorist-container, + .directorist-container-xxl, + .directorist-container-xl, .directorist-container-lg, .directorist-container-md, .directorist-container-sm, - .directorist-container-xl, - .directorist-container-xxl { + .directorist-container { max-width: 1320px; } } @@ -1106,6 +1207,7 @@ body.logged-in.directorist-content-active margin-top: -15px; min-width: 100%; } + .directorist-row > * { -webkit-box-sizing: border-box; box-sizing: border-box; @@ -1118,12 +1220,14 @@ body.logged-in.directorist-content-active padding-right: 15px; margin-top: 15px; } + .directorist-col { -webkit-box-flex: 1; -webkit-flex: 1 0 0%; -ms-flex: 1 0 0%; flex: 1 0 0%; } + .directorist-col-auto { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; @@ -1131,6 +1235,7 @@ body.logged-in.directorist-content-active flex: 0 0 auto; width: auto; } + .directorist-col-1 { -webkit-box-flex: 1; -webkit-flex: 1; @@ -1138,8 +1243,9 @@ body.logged-in.directorist-content-active flex: 1; width: 8.3333333333%; } -.directorist-col-2, + .directorist-col-2-5, +.directorist-col-2, .directorist-col-3, .directorist-col-4, .directorist-col-5, @@ -1156,39 +1262,51 @@ body.logged-in.directorist-content-active flex: 0 0 auto; max-width: 100%; } + .directorist-offset-1 { margin-right: 8.3333333333%; } + .directorist-offset-2 { margin-right: 16.6666666667%; } + .directorist-offset-3 { margin-right: 25%; } + .directorist-offset-4 { margin-right: 33.3333333333%; } + .directorist-offset-5 { margin-right: 41.6666666667%; } + .directorist-offset-6 { margin-right: 50%; } + .directorist-offset-7 { margin-right: 58.3333333333%; } + .directorist-offset-8 { margin-right: 66.6666666667%; } + .directorist-offset-9 { margin-right: 75%; } + .directorist-offset-10 { margin-right: 83.3333333333%; } + .directorist-offset-11 { margin-right: 91.6666666667%; } + @media (min-width: 576px) { .directorist-col-2, .directorist-col-2-5, @@ -1210,82 +1328,88 @@ body.logged-in.directorist-content-active -ms-flex: 1 0 0%; flex: 1 0 0%; } - .directorist-col-sm-auto { - width: auto; - } - .directorist-col-sm-1, .directorist-col-sm-auto { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; + width: auto; } .directorist-col-sm-1 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 8.3333333333%; } .directorist-col-sm-2 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 16.6666666667%; } - .directorist-col-sm-2, .directorist-col-sm-3 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-sm-3 { width: 25%; } .directorist-col-sm-4 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 33.3333333333%; } - .directorist-col-sm-4, .directorist-col-sm-5 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-sm-5 { width: 41.6666666667%; } .directorist-col-sm-6 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 50%; } - .directorist-col-sm-6, .directorist-col-sm-7 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-sm-7 { width: 58.3333333333%; } .directorist-col-sm-8 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 66.6666666667%; } - .directorist-col-sm-8, .directorist-col-sm-9 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-sm-9 { width: 75%; } .directorist-col-sm-10 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 83.3333333333%; } - .directorist-col-sm-10, .directorist-col-sm-11 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-sm-11 { width: 91.6666666667%; } .directorist-col-sm-12 { @@ -1347,82 +1471,88 @@ body.logged-in.directorist-content-active -ms-flex: 1 0 0%; flex: 1 0 0%; } - .directorist-col-md-auto { - width: auto; - } - .directorist-col-md-1, .directorist-col-md-auto { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; + width: auto; } .directorist-col-md-1 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 8.3333333333%; } .directorist-col-md-2 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 16.6666666667%; } - .directorist-col-md-2, .directorist-col-md-3 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-md-3 { width: 25%; } .directorist-col-md-4 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 33.3333333333%; } - .directorist-col-md-4, .directorist-col-md-5 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-md-5 { width: 41.6666666667%; } .directorist-col-md-6 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 50%; } - .directorist-col-md-6, .directorist-col-md-7 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-md-7 { width: 58.3333333333%; } .directorist-col-md-8 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 66.6666666667%; } - .directorist-col-md-8, .directorist-col-md-9 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-md-9 { width: 75%; } .directorist-col-md-10 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 83.3333333333%; } - .directorist-col-md-10, .directorist-col-md-11 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-md-11 { width: 91.6666666667%; } .directorist-col-md-12 { @@ -1534,82 +1664,88 @@ body.logged-in.directorist-content-active -ms-flex: 1 0 0%; flex: 1 0 0%; } - .directorist-col-lg-auto { - width: auto; - } - .directorist-col-lg-1, .directorist-col-lg-auto { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; + width: auto; } .directorist-col-lg-1 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 8.3333333333%; } .directorist-col-lg-2 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 16.6666666667%; } - .directorist-col-lg-2, .directorist-col-lg-3 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-lg-3 { width: 25%; } .directorist-col-lg-4 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 33.3333333333%; } - .directorist-col-lg-4, .directorist-col-lg-5 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-lg-5 { width: 41.6666666667%; } .directorist-col-lg-6 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 50%; } - .directorist-col-lg-6, .directorist-col-lg-7 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-lg-7 { width: 58.3333333333%; } .directorist-col-lg-8 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 66.6666666667%; } - .directorist-col-lg-8, .directorist-col-lg-9 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-lg-9 { width: 75%; } .directorist-col-lg-10 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 83.3333333333%; } - .directorist-col-lg-10, .directorist-col-lg-11 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-lg-11 { width: 91.6666666667%; } .directorist-col-lg-12 { @@ -1670,97 +1806,103 @@ body.logged-in.directorist-content-active flex: 0 0 25%; max-width: 25%; } - .directorist-col-xl-auto { - width: auto; - } - .directorist-col-xl-1, .directorist-col-xl-auto { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; + width: auto; } .directorist-col-xl-1 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 8.3333333333%; } - .directorist-col-xl-2 { - width: 16.6666666667%; - } - .directorist-col-2, - .directorist-col-2-5, .directorist-col-xl-2 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; + width: 16.6666666667%; } .directorist-col-2, .directorist-col-2-5 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 20%; } .directorist-col-xl-3 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 25%; } - .directorist-col-xl-3, .directorist-col-xl-4 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xl-4 { width: 33.3333333333%; } .directorist-col-xl-5 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 41.6666666667%; } - .directorist-col-xl-5, .directorist-col-xl-6 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xl-6 { width: 50%; } .directorist-col-xl-7 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 58.3333333333%; } - .directorist-col-xl-7, .directorist-col-xl-8 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xl-8 { width: 66.6666666667%; } .directorist-col-xl-9 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 75%; } - .directorist-col-xl-9, .directorist-col-xl-10 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xl-10 { width: 83.3333333333%; } .directorist-col-xl-11 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 91.6666666667%; } - .directorist-col-xl-11, .directorist-col-xl-12 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xl-12 { width: 100%; } .directorist-offset-xl-0 { @@ -1814,82 +1956,88 @@ body.logged-in.directorist-content-active -ms-flex: 1 0 0%; flex: 1 0 0%; } - .directorist-col-xxl-auto { - width: auto; - } - .directorist-col-xxl-1, .directorist-col-xxl-auto { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; + width: auto; } .directorist-col-xxl-1 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 8.3333333333%; } .directorist-col-xxl-2 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 16.6666666667%; } - .directorist-col-xxl-2, .directorist-col-xxl-3 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xxl-3 { width: 25%; } .directorist-col-xxl-4 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 33.3333333333%; } - .directorist-col-xxl-4, .directorist-col-xxl-5 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xxl-5 { width: 41.6666666667%; } .directorist-col-xxl-6 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 50%; } - .directorist-col-xxl-6, .directorist-col-xxl-7 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xxl-7 { width: 58.3333333333%; } .directorist-col-xxl-8 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 66.6666666667%; } - .directorist-col-xxl-8, .directorist-col-xxl-9 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xxl-9 { width: 75%; } .directorist-col-xxl-10 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 83.3333333333%; } - .directorist-col-xxl-10, .directorist-col-xxl-11 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xxl-11 { width: 91.6666666667%; } .directorist-col-xxl-12 { @@ -1936,72 +2084,95 @@ body.logged-in.directorist-content-active margin-right: 91.6666666667%; } } +/* typography */ .atbd_color-primary { color: #444752; } + .atbd_bg-primary { background: #444752; } + .atbd_color-secondary { color: #122069; } + .atbd_bg-secondary { background: #122069; } + .atbd_color-success { color: #00ac17; } + .atbd_bg-success { background: #00ac17; } + .atbd_color-info { color: #2c99ff; } + .atbd_bg-info { background: #2c99ff; } + .atbd_color-warning { color: #ef8000; } + .atbd_bg-warning { background: #ef8000; } + .atbd_color-danger { color: #ef0000; } + .atbd_bg-danger { background: #ef0000; } + .atbd_color-light { color: #9497a7; } + .atbd_bg-light { background: #9497a7; } + .atbd_color-dark { color: #202428; } + .atbd_bg-dark { background: #202428; } + .atbd_color-badge-feature { color: #fa8b0c; } + .atbd_bg-badge-feature { background: #fa8b0c; } + .atbd_color-badge-popular { color: #f51957; } + .atbd_bg-badge-popular { background: #f51957; } + +/* typography */ body.stop-scrolling { height: 100%; overflow: hidden; } + .sweet-overlay { - background-color: #000; + background-color: black; -ms-filter: "alpha(opacity=40)"; background-color: rgba(var(--directorist-color-dark-rgb), 0.4); position: fixed; @@ -2012,14 +2183,10 @@ body.stop-scrolling { display: none; z-index: 10000; } + .sweet-alert { - background-color: #fff; - font-family: - Open Sans, - Helvetica Neue, - Helvetica, - Arial, - sans-serif; + background-color: white; + font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; width: 478px; padding: 17px; border-radius: 5px; @@ -2033,7 +2200,8 @@ body.stop-scrolling { display: none; z-index: 99999; } -@media (max-width: 540px) { + +@media all and (max-width: 540px) { .sweet-alert { width: auto; margin-right: 0; @@ -2045,31 +2213,34 @@ body.stop-scrolling { .sweet-alert h2 { color: #575757; font-size: 30px; + text-align: center; font-weight: 600; text-transform: none; + position: relative; margin: 25px 0; + padding: 0; line-height: 40px; display: block; } -.sweet-alert h2, -.sweet-alert p { - text-align: center; - position: relative; - padding: 0; -} + .sweet-alert p { color: #797979; font-size: 16px; + text-align: center; font-weight: 300; + position: relative; text-align: inherit; float: none; margin: 0; + padding: 0; line-height: normal; } + .sweet-alert fieldset { border: 0; position: relative; } + .sweet-alert .sa-error-container { background-color: #f1f1f1; margin-right: -17px; @@ -2087,6 +2258,7 @@ body.stop-scrolling { padding 0.15s, max-height 0.15s; } + .sweet-alert .sa-error-container.show { padding: 10px 0; max-height: 100px; @@ -2100,20 +2272,23 @@ body.stop-scrolling { padding 0.25s, max-height 0.25s; } + .sweet-alert .sa-error-container .icon { display: inline-block; width: 24px; height: 24px; border-radius: 50%; background-color: #ea7d7d; - color: #fff; + color: white; line-height: 24px; text-align: center; margin-left: 3px; } + .sweet-alert .sa-error-container p { display: inline-block; } + .sweet-alert .sa-input-error { position: absolute; top: 29px; @@ -2128,8 +2303,9 @@ body.stop-scrolling { -webkit-transition: all 0.1s; transition: all 0.1s; } -.sweet-alert .sa-input-error:after, -.sweet-alert .sa-input-error:before { + +.sweet-alert .sa-input-error::before, +.sweet-alert .sa-input-error::after { content: ""; width: 20px; height: 6px; @@ -2141,19 +2317,23 @@ body.stop-scrolling { right: 50%; margin-right: -9px; } -.sweet-alert .sa-input-error:before { + +.sweet-alert .sa-input-error::before { -webkit-transform: rotate(45deg); transform: rotate(45deg); } -.sweet-alert .sa-input-error:after { + +.sweet-alert .sa-input-error::after { -webkit-transform: rotate(-45deg); transform: rotate(-45deg); } + .sweet-alert .sa-input-error.show { opacity: 1; -webkit-transform: scale(1); transform: scale(1); } + .sweet-alert input { width: 100%; -webkit-box-sizing: border-box; @@ -2172,43 +2352,53 @@ body.stop-scrolling { -webkit-transition: all 0.3s; transition: all 0.3s; } + .sweet-alert input:focus { outline: 0; -webkit-box-shadow: 0 0 3px #c4e6f5; box-shadow: 0 0 3px #c4e6f5; border: 1px solid #b4dbed; } + .sweet-alert input:focus::-moz-placeholder { -moz-transition: opacity 0.3s 0.03s ease; - transition: opacity 0.3s ease 0.03s; + transition: opacity 0.3s 0.03s ease; opacity: 0.5; } + .sweet-alert input:focus:-ms-input-placeholder { -ms-transition: opacity 0.3s 0.03s ease; - transition: opacity 0.3s ease 0.03s; + transition: opacity 0.3s 0.03s ease; opacity: 0.5; } + .sweet-alert input:focus::-webkit-input-placeholder { - -webkit-transition: opacity 0.3s ease 0.03s; - transition: opacity 0.3s ease 0.03s; + -webkit-transition: opacity 0.3s 0.03s ease; + transition: opacity 0.3s 0.03s ease; opacity: 0.5; } + .sweet-alert input::-moz-placeholder { color: #bdbdbd; } + .sweet-alert input:-ms-input-placeholder { color: #bdbdbd; } + .sweet-alert input::-webkit-input-placeholder { color: #bdbdbd; } + .sweet-alert.show-input input { display: block; } + .sweet-alert .sa-confirm-button-container { display: inline-block; position: relative; } + .sweet-alert .la-ball-fall { position: absolute; right: 50%; @@ -2218,9 +2408,10 @@ body.stop-scrolling { opacity: 0; visibility: hidden; } + .sweet-alert button { background-color: #8cd4f5; - color: #fff; + color: white; border: 0; -webkit-box-shadow: none; box-shadow: none; @@ -2228,9 +2419,10 @@ body.stop-scrolling { font-weight: 500; border-radius: 5px; padding: 10px 32px; - margin: 26px 5px 0; + margin: 26px 5px 0 5px; cursor: pointer; } + .sweet-alert button:focus { outline: 0; -webkit-box-shadow: @@ -2240,21 +2432,27 @@ body.stop-scrolling { 0 0 2px rgba(128, 179, 235, 0.5), inset 0 0 0 1px rgba(var(--directorist-color-dark-rgb), 0.05); } + .sweet-alert button:hover { background-color: #7ecff4; } + .sweet-alert button:active { background-color: #5dc2f1; } + .sweet-alert button.cancel { background-color: #c1c1c1; } + .sweet-alert button.cancel:hover { background-color: #b9b9b9; } + .sweet-alert button.cancel:active { background-color: #a8a8a8; } + .sweet-alert button.cancel:focus { -webkit-box-shadow: rgba(197, 205, 211, 0.8) 0 0 2px, @@ -2263,33 +2461,40 @@ body.stop-scrolling { rgba(197, 205, 211, 0.8) 0 0 2px, rgba(var(--directorist-color-dark-rgb), 0.0470588) 0 0 0 1px inset !important; } + .sweet-alert button[disabled] { opacity: 0.6; cursor: default; } + .sweet-alert button.confirm[disabled] { color: transparent; } + .sweet-alert button.confirm[disabled] ~ .la-ball-fall { opacity: 1; visibility: visible; -webkit-transition-delay: 0; transition-delay: 0; } + .sweet-alert button::-moz-focus-inner { border: 0; } + .sweet-alert[data-has-cancel-button="false"] button { -webkit-box-shadow: none !important; box-shadow: none !important; } + .sweet-alert[data-has-confirm-button="false"][data-has-cancel-button="false"] { padding-bottom: 40px; } + .sweet-alert .sa-icon { width: 80px; height: 80px; - border: 4px solid grey; + border: 4px solid gray; border-radius: 40px; border-radius: 50%; margin: 20px auto; @@ -2298,13 +2503,16 @@ body.stop-scrolling { -webkit-box-sizing: content-box; box-sizing: content-box; } + .sweet-alert .sa-icon.sa-error { border-color: #f27474; } + .sweet-alert .sa-icon.sa-error .sa-x-mark { position: relative; display: block; } + .sweet-alert .sa-icon.sa-error .sa-line { position: absolute; height: 5px; @@ -2314,19 +2522,23 @@ body.stop-scrolling { top: 37px; border-radius: 2px; } + .sweet-alert .sa-icon.sa-error .sa-line.sa-left { -webkit-transform: rotate(-45deg); transform: rotate(-45deg); right: 17px; } + .sweet-alert .sa-icon.sa-error .sa-line.sa-right { -webkit-transform: rotate(45deg); transform: rotate(45deg); left: 16px; } + .sweet-alert .sa-icon.sa-warning { border-color: #f8bb86; } + .sweet-alert .sa-icon.sa-warning .sa-body { position: absolute; width: 5px; @@ -2337,6 +2549,7 @@ body.stop-scrolling { margin-right: -2px; background-color: #f8bb86; } + .sweet-alert .sa-icon.sa-warning .sa-dot { position: absolute; width: 7px; @@ -2347,10 +2560,12 @@ body.stop-scrolling { bottom: 10px; background-color: #f8bb86; } + .sweet-alert .sa-icon.sa-info { border-color: #c9dae1; } -.sweet-alert .sa-icon.sa-info:before { + +.sweet-alert .sa-icon.sa-info::before { content: ""; position: absolute; width: 5px; @@ -2361,7 +2576,8 @@ body.stop-scrolling { margin-right: -2px; background-color: #c9dae1; } -.sweet-alert .sa-icon.sa-info:after { + +.sweet-alert .sa-icon.sa-info::after { content: ""; position: absolute; width: 7px; @@ -2371,22 +2587,25 @@ body.stop-scrolling { top: 19px; background-color: #c9dae1; } + .sweet-alert .sa-icon.sa-success { border-color: #a5dc86; } -.sweet-alert .sa-icon.sa-success:after, -.sweet-alert .sa-icon.sa-success:before { + +.sweet-alert .sa-icon.sa-success::before, +.sweet-alert .sa-icon.sa-success::after { content: ""; border-radius: 40px; border-radius: 50%; position: absolute; width: 60px; height: 120px; - background: #fff; + background: white; -webkit-transform: rotate(-45deg); transform: rotate(-45deg); } -.sweet-alert .sa-icon.sa-success:before { + +.sweet-alert .sa-icon.sa-success::before { border-radius: 0 120px 120px 0; top: -7px; right: -33px; @@ -2395,7 +2614,8 @@ body.stop-scrolling { -webkit-transform-origin: 60px 60px; transform-origin: 60px 60px; } -.sweet-alert .sa-icon.sa-success:after { + +.sweet-alert .sa-icon.sa-success::after { border-radius: 120px 0 0 120px; top: -11px; right: 30px; @@ -2404,6 +2624,7 @@ body.stop-scrolling { -webkit-transform-origin: 100% 60px; transform-origin: 100% 60px; } + .sweet-alert .sa-icon.sa-success .sa-placeholder { width: 80px; height: 80px; @@ -2417,10 +2638,11 @@ body.stop-scrolling { top: -4px; z-index: 2; } + .sweet-alert .sa-icon.sa-success .sa-fix { width: 5px; height: 90px; - background-color: #fff; + background-color: white; position: absolute; right: 28px; top: 8px; @@ -2428,6 +2650,7 @@ body.stop-scrolling { -webkit-transform: rotate(45deg); transform: rotate(45deg); } + .sweet-alert .sa-icon.sa-success .sa-line { height: 5px; background-color: #a5dc86; @@ -2436,6 +2659,7 @@ body.stop-scrolling { position: absolute; z-index: 2; } + .sweet-alert .sa-icon.sa-success .sa-line.sa-tip { width: 25px; right: 14px; @@ -2443,6 +2667,7 @@ body.stop-scrolling { -webkit-transform: rotate(-45deg); transform: rotate(-45deg); } + .sweet-alert .sa-icon.sa-success .sa-line.sa-long { width: 47px; left: 8px; @@ -2450,13 +2675,15 @@ body.stop-scrolling { -webkit-transform: rotate(45deg); transform: rotate(45deg); } + .sweet-alert .sa-icon.sa-custom { background-size: contain; border-radius: 0; border: 0; - background-position: 50%; + background-position: center center; background-repeat: no-repeat; } + @-webkit-keyframes showSweetAlert { 0% { transform: scale(0.7); @@ -2470,7 +2697,7 @@ body.stop-scrolling { transform: scale(0.95); -webkit-transform: scale(0.95); } - to { + 100% { transform: scale(1); -webkit-transform: scale(1); } @@ -2488,7 +2715,7 @@ body.stop-scrolling { transform: scale(0.95); -webkit-transform: scale(0.95); } - to { + 100% { transform: scale(1); -webkit-transform: scale(1); } @@ -2498,7 +2725,7 @@ body.stop-scrolling { transform: scale(1); -webkit-transform: scale(1); } - to { + 100% { transform: scale(0.5); -webkit-transform: scale(0.5); } @@ -2508,7 +2735,7 @@ body.stop-scrolling { transform: scale(1); -webkit-transform: scale(1); } - to { + 100% { transform: scale(0.5); -webkit-transform: scale(0.5); } @@ -2517,7 +2744,7 @@ body.stop-scrolling { 0% { top: 0; } - to { + 100% { top: 50%; } } @@ -2525,7 +2752,7 @@ body.stop-scrolling { 0% { top: 0; } - to { + 100% { top: 50%; } } @@ -2533,7 +2760,7 @@ body.stop-scrolling { 0% { top: 50%; } - to { + 100% { top: 0; } } @@ -2541,7 +2768,7 @@ body.stop-scrolling { 0% { top: 50%; } - to { + 100% { top: 0; } } @@ -2549,7 +2776,7 @@ body.stop-scrolling { 0% { top: 70%; } - to { + 100% { top: 50%; } } @@ -2557,7 +2784,7 @@ body.stop-scrolling { 0% { top: 70%; } - to { + 100% { top: 50%; } } @@ -2565,7 +2792,7 @@ body.stop-scrolling { 0% { top: 50%; } - to { + 100% { top: 70%; } } @@ -2573,7 +2800,7 @@ body.stop-scrolling { 0% { top: 50%; } - to { + 100% { top: 70%; } } @@ -2581,34 +2808,42 @@ body.stop-scrolling { -webkit-animation: showSweetAlert 0.3s; animation: showSweetAlert 0.3s; } + .showSweetAlert[data-animation="none"] { -webkit-animation: none; animation: none; } + .showSweetAlert[data-animation="slide-from-top"] { -webkit-animation: slideFromTop 0.3s; animation: slideFromTop 0.3s; } + .showSweetAlert[data-animation="slide-from-bottom"] { -webkit-animation: slideFromBottom 0.3s; animation: slideFromBottom 0.3s; } + .hideSweetAlert[data-animation="pop"] { -webkit-animation: hideSweetAlert 0.2s; animation: hideSweetAlert 0.2s; } + .hideSweetAlert[data-animation="none"] { -webkit-animation: none; animation: none; } + .hideSweetAlert[data-animation="slide-from-top"] { -webkit-animation: slideToTop 0.4s; animation: slideToTop 0.4s; } + .hideSweetAlert[data-animation="slide-from-bottom"] { -webkit-animation: slideToBottom 0.3s; animation: slideToBottom 0.3s; } + @-webkit-keyframes animateSuccessTip { 0% { width: 0; @@ -2630,7 +2865,7 @@ body.stop-scrolling { right: 21px; top: 48px; } - to { + 100% { width: 25px; right: 14px; top: 45px; @@ -2657,7 +2892,7 @@ body.stop-scrolling { right: 21px; top: 48px; } - to { + 100% { width: 25px; right: 14px; top: 45px; @@ -2679,7 +2914,7 @@ body.stop-scrolling { left: 0; top: 35px; } - to { + 100% { width: 47px; left: 8px; top: 38px; @@ -2701,7 +2936,7 @@ body.stop-scrolling { left: 0; top: 35px; } - to { + 100% { width: 47px; left: 8px; top: 38px; @@ -2720,7 +2955,7 @@ body.stop-scrolling { transform: rotate(405deg); -webkit-transform: rotate(405deg); } - to { + 100% { transform: rotate(405deg); -webkit-transform: rotate(405deg); } @@ -2738,7 +2973,7 @@ body.stop-scrolling { transform: rotate(405deg); -webkit-transform: rotate(405deg); } - to { + 100% { transform: rotate(405deg); -webkit-transform: rotate(405deg); } @@ -2747,21 +2982,24 @@ body.stop-scrolling { -webkit-animation: animateSuccessTip 0.75s; animation: animateSuccessTip 0.75s; } + .animateSuccessLong { -webkit-animation: animateSuccessLong 0.75s; animation: animateSuccessLong 0.75s; } -.sa-icon.sa-success.animate:after { + +.sa-icon.sa-success.animate::after { -webkit-animation: rotatePlaceholder 4.25s ease-in; animation: rotatePlaceholder 4.25s ease-in; } + @-webkit-keyframes animateErrorIcon { 0% { transform: rotateX(100deg); -webkit-transform: rotateX(100deg); opacity: 0; } - to { + 100% { transform: rotateX(0); -webkit-transform: rotateX(0); opacity: 1; @@ -2773,7 +3011,7 @@ body.stop-scrolling { -webkit-transform: rotateX(100deg); opacity: 0; } - to { + 100% { transform: rotateX(0); -webkit-transform: rotateX(0); opacity: 1; @@ -2783,6 +3021,7 @@ body.stop-scrolling { -webkit-animation: animateErrorIcon 0.5s; animation: animateErrorIcon 0.5s; } + @-webkit-keyframes animateXMark { 0% { transform: scale(0.4); @@ -2801,7 +3040,7 @@ body.stop-scrolling { -webkit-transform: scale(1.15); margin-top: -6px; } - to { + 100% { transform: scale(1); -webkit-transform: scale(1); margin-top: 0; @@ -2826,7 +3065,7 @@ body.stop-scrolling { -webkit-transform: scale(1.15); margin-top: -6px; } - to { + 100% { transform: scale(1); -webkit-transform: scale(1); margin-top: 0; @@ -2837,11 +3076,12 @@ body.stop-scrolling { -webkit-animation: animateXMark 0.5s; animation: animateXMark 0.5s; } + @-webkit-keyframes pulseWarning { 0% { border-color: #f8d486; } - to { + 100% { border-color: #f8bb86; } } @@ -2849,7 +3089,7 @@ body.stop-scrolling { 0% { border-color: #f8d486; } - to { + 100% { border-color: #f8bb86; } } @@ -2857,11 +3097,12 @@ body.stop-scrolling { -webkit-animation: pulseWarning 0.75s infinite alternate; animation: pulseWarning 0.75s infinite alternate; } + @-webkit-keyframes pulseWarningIns { 0% { background-color: #f8d486; } - to { + 100% { background-color: #f8bb86; } } @@ -2869,7 +3110,7 @@ body.stop-scrolling { 0% { background-color: #f8d486; } - to { + 100% { background-color: #f8bb86; } } @@ -2877,14 +3118,15 @@ body.stop-scrolling { -webkit-animation: pulseWarningIns 0.75s infinite alternate; animation: pulseWarningIns 0.75s infinite alternate; } + @-webkit-keyframes rotate-loading { 0% { -webkit-transform: rotate(0); transform: rotate(0); } - to { - -webkit-transform: rotate(-1turn); - transform: rotate(-1turn); + 100% { + -webkit-transform: rotate(-360deg); + transform: rotate(-360deg); } } @keyframes rotate-loading { @@ -2892,23 +3134,27 @@ body.stop-scrolling { -webkit-transform: rotate(0); transform: rotate(0); } - to { - -webkit-transform: rotate(-1turn); - transform: rotate(-1turn); + 100% { + -webkit-transform: rotate(-360deg); + transform: rotate(-360deg); } } .sweet-alert .sa-icon.sa-error .sa-line.sa-left { -ms-transform: rotate(-45deg) \9; } + .sweet-alert .sa-icon.sa-error .sa-line.sa-right { -ms-transform: rotate(45deg) \9; } + .sweet-alert .sa-icon.sa-success { border-color: transparent\9; } + .sweet-alert .sa-icon.sa-success .sa-line.sa-tip { -ms-transform: rotate(-45deg) \9; } + .sweet-alert .sa-icon.sa-success .sa-line.sa-long { -ms-transform: rotate(45deg) \9; } @@ -2924,24 +3170,29 @@ body.stop-scrolling { -webkit-box-sizing: border-box; box-sizing: border-box; } + .la-ball-fall { display: block; font-size: 0; color: var(--directorist-color-white); } + .la-ball-fall.la-dark { color: #333; } + .la-ball-fall > div { display: inline-block; float: none; background-color: currentColor; - border: 0 solid; + border: 0 solid currentColor; } + .la-ball-fall { width: 54px; height: 18px; } + .la-ball-fall > div { width: 10px; height: 10px; @@ -2951,45 +3202,55 @@ body.stop-scrolling { -webkit-animation: ball-fall 1s ease-in-out infinite; animation: ball-fall 1s ease-in-out infinite; } -.la-ball-fall > div:first-child { - -webkit-animation-delay: -0.2s; - animation-delay: -0.2s; + +.la-ball-fall > div:nth-child(1) { + -webkit-animation-delay: -200ms; + animation-delay: -200ms; } + .la-ball-fall > div:nth-child(2) { - -webkit-animation-delay: -0.1s; - animation-delay: -0.1s; + -webkit-animation-delay: -100ms; + animation-delay: -100ms; } + .la-ball-fall > div:nth-child(3) { -webkit-animation-delay: 0; animation-delay: 0; } + .la-ball-fall.la-sm { width: 26px; height: 8px; } + .la-ball-fall.la-sm > div { width: 4px; height: 4px; margin: 2px; } + .la-ball-fall.la-2x { width: 108px; height: 36px; } + .la-ball-fall.la-2x > div { width: 20px; height: 20px; margin: 8px; } + .la-ball-fall.la-3x { width: 162px; height: 54px; } + .la-ball-fall.la-3x > div { width: 30px; height: 30px; margin: 12px; } + @-webkit-keyframes ball-fall { 0% { opacity: 0; @@ -3012,7 +3273,7 @@ body.stop-scrolling { 90% { opacity: 0.5; } - to { + 100% { opacity: 0; -webkit-transform: translateY(145%); transform: translateY(145%); @@ -3040,7 +3301,7 @@ body.stop-scrolling { 90% { opacity: 0.5; } - to { + 100% { opacity: 0; -webkit-transform: translateY(145%); transform: translateY(145%); @@ -3058,14 +3319,26 @@ body.stop-scrolling { margin-bottom: 15px; } .directorist-add-listing-types__single__link { - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - background-color: var(--directorist-color-white); - color: var(--directorist-color-primary); - font-size: 16px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: var(--directorist-color-white); + color: var(--directorist-color-primary); + font-size: 16px; font-weight: 500; line-height: 20px; text-align: center; @@ -3078,7 +3351,6 @@ body.stop-scrolling { -webkit-transition: background 0.2s ease; transition: background 0.2s ease; } -.directorist-add-listing-types__single__link, .directorist-add-listing-types__single__link .directorist-icon-mask { display: -webkit-box; display: -webkit-flex; @@ -3092,8 +3364,6 @@ body.stop-scrolling { -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; -} -.directorist-add-listing-types__single__link .directorist-icon-mask { height: 70px; width: 70px; background-color: var(--directorist-color-primary); @@ -3122,10 +3392,14 @@ body.stop-scrolling { .directorist-icon-mask:after { background-color: var(--directorist-color-primary); } +.directorist-add-listing-types__single__link { + /* Legacy Icon */ +} .directorist-add-listing-types__single__link > i:not(.directorist-icon-mask) { display: inline-block; margin-bottom: 10px; } + .directorist-add-listing-wrapper { display: -webkit-box; display: -webkit-flex; @@ -3134,6 +3408,7 @@ body.stop-scrolling { -webkit-box-sizing: border-box; box-sizing: border-box; } + .directorist-add-listing-form .directorist-content-module { -webkit-box-shadow: var(--directorist-box-shadow); box-shadow: var(--directorist-box-shadow); @@ -3154,19 +3429,20 @@ body.stop-scrolling { .directorist-add-listing-form__privacy a { color: var(--directorist-color-info); } -#directiost-listing-fields_wrapper .directorist-content-module, -.directorist-add-listing-form .directorist-content-module { + +.directorist-add-listing-form .directorist-content-module, +#directiost-listing-fields_wrapper .directorist-content-module { margin-bottom: 35px; border-radius: 12px; } @media (max-width: 991px) { - #directiost-listing-fields_wrapper .directorist-content-module, - .directorist-add-listing-form .directorist-content-module { + .directorist-add-listing-form .directorist-content-module, + #directiost-listing-fields_wrapper .directorist-content-module { margin-bottom: 20px; } } -#directiost-listing-fields_wrapper .directorist-content-module__title, -.directorist-add-listing-form .directorist-content-module__title { +.directorist-add-listing-form .directorist-content-module__title, +#directiost-listing-fields_wrapper .directorist-content-module__title { gap: 15px; min-height: 66px; -webkit-box-pack: start; @@ -3174,8 +3450,8 @@ body.stop-scrolling { -ms-flex-pack: start; justify-content: flex-start; } -#directiost-listing-fields_wrapper .directorist-content-module__title i, -.directorist-add-listing-form .directorist-content-module__title i { +.directorist-add-listing-form .directorist-content-module__title i, +#directiost-listing-fields_wrapper .directorist-content-module__title i { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -3192,33 +3468,33 @@ body.stop-scrolling { height: 36px; border-radius: 100%; } -#directiost-listing-fields_wrapper .directorist-content-module__title i:after, -.directorist-add-listing-form .directorist-content-module__title i:after { +.directorist-add-listing-form .directorist-content-module__title i:after, +#directiost-listing-fields_wrapper .directorist-content-module__title i:after { width: 16px; height: 16px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-address-field.atbdp-form-fade, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-address-field.atbdp-form-fade { padding: 0; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-address-field.atbdp-form-fade > input[name="address"], -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-address-field.atbdp-form-fade > input[name="address"] { padding-right: 10px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-address-field.atbdp-form-fade:before, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-address-field.atbdp-form-fade:before { width: 15px; @@ -3227,19 +3503,23 @@ body.stop-scrolling { left: 0; top: 46px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-address-field.atbdp-form-fade:after, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-address-field.atbdp-form-fade:after { height: 40px; top: 26px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module, +#directiost-listing-fields_wrapper .directorist-content-module { + /* social info */ +} +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields { display: -webkit-box; @@ -3256,19 +3536,19 @@ body.stop-scrolling { gap: 20px; margin: 0 0 25px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields:last-child, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields:last-child { margin: 0 0 40px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields .directorist-form-group, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields .directorist-form-group { @@ -3278,12 +3558,12 @@ body.stop-scrolling { flex: 1; margin: 0; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields .directorist-form-group select, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields .directorist-form-group @@ -3292,12 +3572,12 @@ body.stop-scrolling { font-weight: 500; color: var(--directorist-color-dark); } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields .directorist-form-group select.placeholder-item, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields .directorist-form-group @@ -3306,10 +3586,10 @@ body.stop-scrolling { font-weight: 400; color: var(--directorist-color-light-gray); } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input { display: -webkit-box; @@ -3323,10 +3603,10 @@ body.stop-scrolling { flex: 1; } @media screen and (max-width: 480px) { - #directiost-listing-fields_wrapper + .directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input, - .directorist-add-listing-form + #directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input { gap: 10px; @@ -3337,60 +3617,60 @@ body.stop-scrolling { flex-direction: column; } } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-webkit-input-placeholder, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-webkit-input-placeholder { font-weight: 400; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-moz-placeholder, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-moz-placeholder { font-weight: 400; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input:-ms-input-placeholder, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input:-ms-input-placeholder { font-weight: 400; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-ms-input-placeholder, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-ms-input-placeholder { font-weight: 400; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::placeholder, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::placeholder { font-weight: 400; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__remove, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove { display: -webkit-box; @@ -3410,40 +3690,41 @@ body.stop-scrolling { padding: 0; cursor: pointer; border-radius: 100%; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; background-color: var(--directorist-color-light) !important; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__remove - i:after, -.directorist-add-listing-form + i::after, +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove - i:after { + i::after { width: 12px; height: 12px; background-color: var(--directorist-color-light-gray); } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__remove:hover, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove:hover { background-color: var(--directorist-color-primary) !important; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__remove:hover - i:after, -.directorist-add-listing-form + i::after, +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove:hover - i:after { + i::after { background-color: var(--directorist-color-white); } + #directiost-listing-fields_wrapper .directorist-content-module { background-color: var(--directorist-color-white); border-radius: 0; @@ -3472,8 +3753,8 @@ body.stop-scrolling { #directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove - i:after { - background-color: grey; + i::after { + background-color: #808080; } #directiost-listing-fields_wrapper .directorist-content-module @@ -3483,7 +3764,7 @@ body.stop-scrolling { #directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove:hover - i:after { + i::after { background-color: var(--directorist-color-white); } #directiost-listing-fields_wrapper @@ -3542,16 +3823,16 @@ body.stop-scrolling { } #directiost-listing-fields_wrapper .directorist-content-module - .directorist-custom-field-select + .directorist-form-social-fields select.directorist-form-element, #directiost-listing-fields_wrapper .directorist-content-module - .directorist-form-group - .directorist-form-element.directory_pricing_field, + .directorist-custom-field-select + select.directorist-form-element, #directiost-listing-fields_wrapper .directorist-content-module - .directorist-form-social-fields - select.directorist-form-element { + .directorist-form-group + .directorist-form-element.directory_pricing_field { padding-top: 0; padding-bottom: 0; } @@ -3660,7 +3941,7 @@ body.stop-scrolling { height: 6px; border-radius: 50%; background-color: var(--directorist-color-primary); - border: 0; + border: 0 none; -webkit-mask-image: none; mask-image: none; z-index: 2; @@ -3724,8 +4005,8 @@ body.stop-scrolling { right: 5px; top: 5px; content: ""; - -webkit-mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); - mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); + -webkit-mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); + mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 10px; @@ -3749,10 +4030,10 @@ body.stop-scrolling { .directorist-content-module .plupload-upload-uic .plupload-browse-button-label - i:after { + i::after { width: 50px; height: 45px; - background-color: grey; + background-color: #808080; } #directiost-listing-fields_wrapper .directorist-content-module @@ -3775,7 +4056,7 @@ body.stop-scrolling { .directorist-content-module .directorist-form-social-info-field .directorist-btn - i:after { + i::after { background-color: var(--directorist-color-white); } #directiost-listing-fields_wrapper @@ -3784,6 +4065,11 @@ body.stop-scrolling { #gmap { border-radius: 0; } + +/* ========================== + add listing form fields +============================= */ +/* listing label */ .directorist-form-label { display: block; color: var(--directorist-color-dark); @@ -3791,14 +4077,17 @@ body.stop-scrolling { font-size: 14px; font-weight: 500; } -.directorist-custom-field-checkbox > .directorist-form-label, -.directorist-custom-field-file-upload > .directorist-form-label, + .directorist-custom-field-radio > .directorist-form-label, +.directorist-custom-field-checkbox > .directorist-form-label, +.directorist-form-social-info-field > .directorist-form-label, .directorist-form-image-upload-field > .directorist-form-label, -.directorist-form-pricing-field.price-type-both > .directorist-form-label, -.directorist-form-social-info-field > .directorist-form-label { +.directorist-custom-field-file-upload > .directorist-form-label, +.directorist-form-pricing-field.price-type-both > .directorist-form-label { margin-bottom: 18px; } + +/* listing type */ .directorist-form-listing-type { display: -webkit-box; display: -webkit-flex; @@ -3845,9 +4134,10 @@ body.stop-scrolling { + .directorist-radio__label { width: 100%; height: 100%; + padding: 25px; font-size: 14px; font-weight: 500; - padding: 25px 55px 25px 25px; + padding-right: 55px; border-radius: 12px; color: var(--directorist-color-body); border: 3px solid var(--directorist-color-border-gray); @@ -3862,7 +4152,7 @@ body.stop-scrolling { small { display: block; margin-top: 5px; - font-weight: 400; + font-weight: normal; color: var(--directorist-color-success); } .directorist-form-listing-type @@ -3888,6 +4178,8 @@ body.stop-scrolling { border-color: var(--directorist-color-primary); color: var(--directorist-color-primary); } + +/* Pricing */ .directorist-form-pricing-field__options { display: -webkit-box; display: -webkit-flex; @@ -3956,25 +4248,35 @@ body.stop-scrolling { .directorist-form-pricing-field .directorist-form-element { min-width: 100%; } + .price-type-price_range .directorist-form-pricing-field__options, .price-type-price_unit .directorist-form-pricing-field__options { margin: 0; } + +/* location */ .directorist-select-multi select { display: none; } + #directorist-location-select { z-index: 113 !important; } + +/* tags */ #directorist-tag-select { z-index: 112 !important; } + +/* categories */ #directorist-category-select { z-index: 111 !important; } + .directorist-form-group .select2-selection { border-color: #ececec; } + .directorist-form-group .select2-container--default .select2-selection { min-height: 40px; padding-left: 45px; @@ -4001,17 +4303,22 @@ body.stop-scrolling { .directorist-form-group .select2-container--default .select2-selection input { min-height: 26px; } + +/* hide contact owner */ .directorist-hide-owner-field.directorist-checkbox input[type="checkbox"] + .directorist-checkbox__label { font-size: 15px; font-weight: 700; } + +/* Map style */ .directorist-map-coordinate { margin-top: 20px; } + .directorist-map-coordinates { - padding: 0 0 15px; + padding: 0 0 15px 0; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -4039,12 +4346,14 @@ body.stop-scrolling { flex: 0 0 100% !important; max-width: 100% !important; } + .directorist-add-listing-form .directorist-content-module .directorist-map-coordinates .directorist-form-group:not(.directorist-map-coordinates__generate) { margin-bottom: 20px; } + .directorist-form-map-field__wrapper { margin-bottom: 10px; } @@ -4100,8 +4409,8 @@ body.stop-scrolling { border: 50px solid rgba(var(--directorist-color-dark-rgb), 0.2); opacity: 0; visibility: hidden; - -webkit-animation: atbd_scale 3s linear infinite alternate; - animation: atbd_scale 3s linear infinite alternate; + -webkit-animation: atbd_scale 3s linear alternate infinite; + animation: atbd_scale 3s linear alternate infinite; } .directorist-form-map-field__maps #gmap div[role="img"]:after { content: ""; @@ -4115,8 +4424,8 @@ body.stop-scrolling { mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; - -webkit-mask-image: url(../images/ed83bad2b8ea2a7680575ff079fc63af.svg); - mask-image: url(../images/ed83bad2b8ea2a7680575ff079fc63af.svg); + -webkit-mask-image: url(../js/../images/ed83bad2b8ea2a7680575ff079fc63af.svg); + mask-image: url(../js/../images/ed83bad2b8ea2a7680575ff079fc63af.svg); } .directorist-form-map-field__maps #gmap @@ -4129,10 +4438,10 @@ body.stop-scrolling { } .directorist-form-map-field__maps #gmap - div[role="img"].transit-wheelchair-icon:after, + div[role="img"].transit-wheelchair-icon:before, .directorist-form-map-field__maps #gmap - div[role="img"].transit-wheelchair-icon:before { + div[role="img"].transit-wheelchair-icon:after { display: none; } .directorist-form-map-field__maps #gmap div[role="img"]:hover:before { @@ -4179,13 +4488,15 @@ body.stop-scrolling { width: 16px; height: 16px; background-color: var(--directorist-color-marker-icon); - -webkit-mask-image: url(../images/ed83bad2b8ea2a7680575ff079fc63af.svg); - mask-image: url(../images/ed83bad2b8ea2a7680575ff079fc63af.svg); + -webkit-mask-image: url(../js/../images/ed83bad2b8ea2a7680575ff079fc63af.svg); + mask-image: url(../js/../images/ed83bad2b8ea2a7680575ff079fc63af.svg); } .directorist-form-map-field .atbd_map_shape:hover:before { opacity: 1; visibility: visible; } + +/* EZ Media Upload */ .directorist-form-image-upload-field .ez-media-uploader { text-align: center; border-radius: 12px; @@ -4231,7 +4542,7 @@ body.stop-scrolling { .ez-media-uploader .ezmu__media-picker-section .ezmu-icon-upload - i:after { + i::after { width: 90px; height: 80px; background-color: var(--directorist-color-border-gray); @@ -4275,8 +4586,8 @@ body.stop-scrolling { right: 17px; top: 13px; content: ""; - -webkit-mask-image: url(../images/82bc0acb0537c9331637ee2319728e40.svg); - mask-image: url(../images/82bc0acb0537c9331637ee2319728e40.svg); + -webkit-mask-image: url(../js/../images/82bc0acb0537c9331637ee2319728e40.svg); + mask-image: url(../js/../images/82bc0acb0537c9331637ee2319728e40.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 14px; @@ -4353,8 +4664,8 @@ body.stop-scrolling { mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; - -webkit-mask-image: url(../images/6af1e9612a6d7346e1366489fb9fac45.svg); - mask-image: url(../images/6af1e9612a6d7346e1366489fb9fac45.svg); + -webkit-mask-image: url(../js/../images/6af1e9612a6d7346e1366489fb9fac45.svg); + mask-image: url(../js/../images/6af1e9612a6d7346e1366489fb9fac45.svg); } .directorist-form-image-upload-field .ez-media-uploader @@ -4385,7 +4696,7 @@ body.stop-scrolling { .ez-media-uploader .ezmu__preview-section .ezmu__front-item__close-icon - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 12px; height: 12px; } @@ -4393,7 +4704,7 @@ body.stop-scrolling { .ez-media-uploader .ezmu__preview-section .ezmu__front-item__close-icon:hover - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .directorist-form-image-upload-field @@ -4419,6 +4730,7 @@ body.stop-scrolling { .directorist-form-image-upload-field .ezmu__info-list-item:empty { display: none; } + .directorist-add-listing-wrapper { max-width: 1000px !important; margin: 0 auto; @@ -4444,8 +4756,8 @@ body.stop-scrolling { background-color: rgba(var(--directorist-color-dark-rgb), 0.5); opacity: 0; visibility: visible; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } .directorist-add-listing-wrapper .ezmu__thumbnail-list-item:hover @@ -4523,7 +4835,11 @@ body.stop-scrolling { .directorist-add-listing-wrapper .ezmu__info-list .ezmu__info-list-item:before { width: 16px; height: 16px; - background-image: url(../images/83eed1a628ff52c2adf977f50ac7adb4.svg); + background-image: url(../js/../images/83eed1a628ff52c2adf977f50ac7adb4.svg); +} + +.directorist-add-listing-form { + /* form action */ } .directorist-add-listing-form__action { display: -webkit-box; @@ -4550,9 +4866,9 @@ body.stop-scrolling { .directorist-add-listing-form__action .directorist-form-submit__btn.atbd_loading:after { content: ""; - border-radius: 50%; border: 2px solid #f3f3f3; - border-top-color: #656a7a; + border-radius: 50%; + border-top: 2px solid #656a7a; width: 20px; height: 20px; -webkit-animation: rotate360 2s linear infinite; @@ -4579,8 +4895,8 @@ body.stop-scrolling { .directorist-add-listing-form__action #listing_notifier .atbdp_success { color: var(--directorist-color-success); } -.directorist-add-listing-form__action .directorist-checkbox, -.directorist-add-listing-form__action .directorist-form-group { +.directorist-add-listing-form__action .directorist-form-group, +.directorist-add-listing-form__action .directorist-checkbox { margin: 0; padding: 30px 40px 0; -webkit-box-align: start; @@ -4589,37 +4905,35 @@ body.stop-scrolling { align-items: flex-start; } @media only screen and (max-width: 576px) { - .directorist-add-listing-form__action .directorist-checkbox, - .directorist-add-listing-form__action .directorist-form-group { + .directorist-add-listing-form__action .directorist-form-group, + .directorist-add-listing-form__action .directorist-checkbox { padding: 30px 0 0; } .directorist-add-listing-form__action - .directorist-checkbox.directorist-form-privacy, + .directorist-form-group.directorist-form-privacy, .directorist-add-listing-form__action - .directorist-form-group.directorist-form-privacy { + .directorist-checkbox.directorist-form-privacy { padding: 30px 30px 0; } } @media only screen and (max-width: 480px) { - .directorist-add-listing-form__action .directorist-checkbox, - .directorist-add-listing-form__action .directorist-form-group { + .directorist-add-listing-form__action .directorist-form-group, + .directorist-add-listing-form__action .directorist-checkbox { padding: 30px 20px 0; } } -.directorist-add-listing-form__action .directorist-checkbox label, -.directorist-add-listing-form__action .directorist-form-group label { +.directorist-add-listing-form__action .directorist-form-group label, +.directorist-add-listing-form__action .directorist-checkbox label { font-size: 14px; font-weight: 500; margin: 0 0 10px; } -.directorist-add-listing-form__action .directorist-checkbox label a, -.directorist-add-listing-form__action .directorist-form-group label a { +.directorist-add-listing-form__action .directorist-form-group label a, +.directorist-add-listing-form__action .directorist-checkbox label a { color: var(--directorist-color-info); } -.directorist-add-listing-form__action .directorist-checkbox #guest_user_email, -.directorist-add-listing-form__action - .directorist-form-group - #guest_user_email { +.directorist-add-listing-form__action .directorist-form-group #guest_user_email, +.directorist-add-listing-form__action .directorist-checkbox #guest_user_email { margin: 0 0 10px; } .directorist-add-listing-form__action .directorist-form-required { @@ -4673,6 +4987,10 @@ body.stop-scrolling { .directorist-add-listing-form__publish__icon i:after { width: 25px; height: 25px; + } +} +@media only screen and (max-width: 480px) { + .directorist-add-listing-form__publish__icon i:after { width: 22px; height: 22px; } @@ -4705,14 +5023,19 @@ body.stop-scrolling { top: -25px; border: 50px solid rgba(var(--directorist-color-marker-shape-rgb), 0.2); } -.directorist-add-listing-form .atbd_map_shape .directorist-icon-mask:after { +.directorist-add-listing-form .atbd_map_shape .directorist-icon-mask::after { width: 16px; height: 16px; } + +/* Custom Fields */ +/* select */ .directorist-custom-field-select select.directorist-form-element { padding-top: 0; padding-bottom: 0; } + +/* file upload */ .plupload-upload-uic { width: 420px; margin: 0 auto !important; @@ -4729,6 +5052,8 @@ body.stop-scrolling { margin-top: 10px; color: #9299b8; } + +/* quick login */ .directorist-modal-container { display: none; margin: 0 !important; @@ -4741,9 +5066,11 @@ body.stop-scrolling { left: 0; z-index: 999999999999; } + .directorist-modal-container.show { display: block; } + .directorist-modal-wrap { display: -webkit-box; display: -webkit-flex; @@ -4768,6 +5095,7 @@ body.stop-scrolling { -ms-flex-pack: center; justify-content: center; } + .directorist-modals { display: block; width: 100%; @@ -4777,6 +5105,7 @@ body.stop-scrolling { border-radius: 8px; overflow: hidden; } + .directorist-modal-header { display: -webkit-box; display: -webkit-flex; @@ -4793,21 +5122,26 @@ body.stop-scrolling { align-items: center; border-bottom: 1px solid #e4e4e4; } + .directorist-modal-title-area { display: block; } + .directorist-modal-header .directorist-modal-title { margin-bottom: 0 !important; font-size: 24px; } + .directorist-modal-actions-area { display: block; padding: 0 10px; } + .directorist-modal-body { display: block; padding: 20px; } + .directorist-form-privacy { margin-bottom: 10px; font-size: 14px; @@ -4819,6 +5153,7 @@ body.stop-scrolling { + .directorist-checkbox__label:after { border-color: var(--directorist-color-body); } + .directorist-form-privacy, .directorist-form-terms { display: -webkit-box; @@ -4830,6 +5165,10 @@ body.stop-scrolling { .directorist-form-terms a { text-decoration: none; } + +/* ============================= + backend add listing form +================================*/ .add_listing_form_wrapper .hide-if-no-js { display: -webkit-box; display: -webkit-flex; @@ -4844,6 +5183,7 @@ body.stop-scrolling { -ms-flex-pack: center; justify-content: center; } + #listing_form_info .directorist-bh-wrap .directorist-select select { width: calc(100% - 1px); min-height: 42px; @@ -4851,6 +5191,7 @@ body.stop-scrolling { border-color: #ececec !important; padding: 0 10px; } + .directorist-map-field #floating-panel { margin-bottom: 20px; } @@ -4859,13 +5200,15 @@ body.stop-scrolling { border: 1px solid var(--directorist-color-danger); color: var(--directorist-color-white); } + #listing_form_info .atbd_content_module.atbd-booking-information .atbdb_content_module_contents { padding-top: 20px; } -.directorist-custom-field-checkbox, -.directorist-custom-field-radio { + +.directorist-custom-field-radio, +.directorist-custom-field-checkbox { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -4875,60 +5218,60 @@ body.stop-scrolling { -ms-flex-wrap: wrap; flex-wrap: wrap; } -.directorist-custom-field-checkbox .directorist-custom-field-btn-more, -.directorist-custom-field-checkbox .directorist-form-description, -.directorist-custom-field-checkbox .directorist-form-label, -.directorist-custom-field-radio .directorist-custom-field-btn-more, +.directorist-custom-field-radio .directorist-form-label, .directorist-custom-field-radio .directorist-form-description, -.directorist-custom-field-radio .directorist-form-label { +.directorist-custom-field-radio .directorist-custom-field-btn-more, +.directorist-custom-field-checkbox .directorist-form-label, +.directorist-custom-field-checkbox .directorist-form-description, +.directorist-custom-field-checkbox .directorist-custom-field-btn-more { width: 100%; -webkit-box-flex: 0; -webkit-flex: 0 0 100%; -ms-flex: 0 0 100%; flex: 0 0 100%; } -.directorist-custom-field-checkbox .directorist-checkbox, -.directorist-custom-field-checkbox .directorist-radio, .directorist-custom-field-radio .directorist-checkbox, -.directorist-custom-field-radio .directorist-radio { +.directorist-custom-field-radio .directorist-radio, +.directorist-custom-field-checkbox .directorist-checkbox, +.directorist-custom-field-checkbox .directorist-radio { -webkit-box-flex: 0; -webkit-flex: 0 0 49%; -ms-flex: 0 0 49%; flex: 0 0 49%; } @media only screen and (max-width: 767px) { - .directorist-custom-field-checkbox .directorist-checkbox, - .directorist-custom-field-checkbox .directorist-radio, .directorist-custom-field-radio .directorist-checkbox, - .directorist-custom-field-radio .directorist-radio { + .directorist-custom-field-radio .directorist-radio, + .directorist-custom-field-checkbox .directorist-checkbox, + .directorist-custom-field-checkbox .directorist-radio { -webkit-box-flex: 0; -webkit-flex: 0 0 100%; -ms-flex: 0 0 100%; flex: 0 0 100%; } } -.directorist-custom-field-checkbox .directorist-custom-field-btn-more, -.directorist-custom-field-radio .directorist-custom-field-btn-more { +.directorist-custom-field-radio .directorist-custom-field-btn-more, +.directorist-custom-field-checkbox .directorist-custom-field-btn-more { margin-top: 5px; } -.directorist-custom-field-checkbox .directorist-custom-field-btn-more:after, -.directorist-custom-field-radio .directorist-custom-field-btn-more:after { +.directorist-custom-field-radio .directorist-custom-field-btn-more:after, +.directorist-custom-field-checkbox .directorist-custom-field-btn-more:after { content: ""; display: inline-block; margin-right: 5px; - -webkit-mask-image: url(../images/05feea3d261c8b97573023a74fd26f03.svg); - mask-image: url(../images/05feea3d261c8b97573023a74fd26f03.svg); + -webkit-mask-image: url(../js/../images/05feea3d261c8b97573023a74fd26f03.svg); + mask-image: url(../js/../images/05feea3d261c8b97573023a74fd26f03.svg); width: 12px; height: 12px; background-color: var(--directorist-color-body); } +.directorist-custom-field-radio .directorist-custom-field-btn-more.active:after, .directorist-custom-field-checkbox - .directorist-custom-field-btn-more.active:after, -.directorist-custom-field-radio .directorist-custom-field-btn-more.active:after { - -webkit-mask-image: url(../images/c90867d23032298fc0ff1d456a6fdb30.svg); - mask-image: url(../images/c90867d23032298fc0ff1d456a6fdb30.svg); + -webkit-mask-image: url(../js/../images/c90867d23032298fc0ff1d456a6fdb30.svg); + mask-image: url(../js/../images/c90867d23032298fc0ff1d456a6fdb30.svg); } + .directorist-add-listing-form .select2-container--default .select2-selection @@ -4976,6 +5319,7 @@ body.stop-scrolling { li.select2-search--inline:first-child { width: inherit; } + .multistep-wizard { display: -webkit-box; display: -webkit-flex; @@ -5029,11 +5373,13 @@ body.stop-scrolling { width: 270px; min-height: 36px; padding: 7px 16px; + border: none; outline: none; cursor: pointer; font-size: 14px; font-weight: 400; border-radius: 8px; + border: 1px solid transparent; text-decoration: none !important; color: var(--directorist-color-light-gray); background-color: transparent; @@ -5096,8 +5442,8 @@ body.stop-scrolling { -webkit-transform: translateY(-50%); transform: translateY(-50%); content: ""; - -webkit-mask-image: url(../images/bbed57ce5c92c9a7aa71622e408b6a66.svg); - mask-image: url(../images/bbed57ce5c92c9a7aa71622e408b6a66.svg); + -webkit-mask-image: url(../js/../images/bbed57ce5c92c9a7aa71622e408b6a66.svg); + mask-image: url(../js/../images/bbed57ce5c92c9a7aa71622e408b6a66.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 12px; @@ -5126,19 +5472,21 @@ body.stop-scrolling { font-weight: 600; color: var(--directorist-color-primary); } -.multistep-wizard__nav__btn:focus:before, -.multistep-wizard__nav__btn:focus i:after { +.multistep-wizard__nav__btn:focus:before { + background-color: var(--directorist-color-primary); +} +.multistep-wizard__nav__btn:focus i::after { background-color: var(--directorist-color-primary); } .multistep-wizard__nav__btn.completed { color: var(--directorist-color-primary); } .multistep-wizard__nav__btn.completed:before { - -webkit-mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); - mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); + -webkit-mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); + mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); opacity: 1; } -.multistep-wizard__nav__btn.completed i:after { +.multistep-wizard__nav__btn.completed i::after { background-color: var(--directorist-color-primary); } @media only screen and (max-width: 991px) { @@ -5178,8 +5526,8 @@ body.stop-scrolling { -webkit-transform: translateY(-50%); transform: translateY(-50%); content: ""; - -webkit-mask-image: url(../images/20cfd7ae7ffa8fca3b8d48d7ab39da28.svg); - mask-image: url(../images/20cfd7ae7ffa8fca3b8d48d7ab39da28.svg); + -webkit-mask-image: url(../js/../images/20cfd7ae7ffa8fca3b8d48d7ab39da28.svg); + mask-image: url(../js/../images/20cfd7ae7ffa8fca3b8d48d7ab39da28.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 12px; @@ -5187,8 +5535,8 @@ body.stop-scrolling { background-color: var(--directorist-color-dark); } .multistep-wizard__single .directorist-content-module__title.opened:before { - -webkit-mask-image: url(../images/e9f5f62f416fee88e3f2d027b8b705da.svg); - mask-image: url(../images/e9f5f62f416fee88e3f2d027b8b705da.svg); + -webkit-mask-image: url(../js/../images/e9f5f62f416fee88e3f2d027b8b705da.svg); + mask-image: url(../js/../images/e9f5f62f416fee88e3f2d027b8b705da.svg); } .multistep-wizard__single .directorist-content-module__contents { height: 0; @@ -5288,22 +5636,22 @@ body.stop-scrolling { .multistep-wizard__btn.directorist-btn i:after { background-color: var(--directorist-color-body); } -.multistep-wizard__btn.directorist-btn:focus, -.multistep-wizard__btn.directorist-btn:hover { +.multistep-wizard__btn.directorist-btn:hover, +.multistep-wizard__btn.directorist-btn:focus { color: var(--directorist-color-white); background-color: var(--directorist-color-primary); } -.multistep-wizard__btn.directorist-btn:focus i:after, -.multistep-wizard__btn.directorist-btn:hover i:after { +.multistep-wizard__btn.directorist-btn:hover i:after, +.multistep-wizard__btn.directorist-btn:focus i:after { background-color: var(--directorist-color-white); } -.multistep-wizard__btn[disabled="disabled"], -.multistep-wizard__btn[disabled="true"] { +.multistep-wizard__btn[disabled="true"], +.multistep-wizard__btn[disabled="disabled"] { color: var(--directorist-color-light-gray); pointer-events: none; } -.multistep-wizard__btn[disabled="disabled"] i:after, -.multistep-wizard__btn[disabled="true"] i:after { +.multistep-wizard__btn[disabled="true"] i:after, +.multistep-wizard__btn[disabled="disabled"] i:after { background-color: var(--directorist-color-light-gray); } .multistep-wizard__btn i:after { @@ -5393,15 +5741,17 @@ body.stop-scrolling { width: 100%; height: 54px; } + .logged-in .multistep-wizard__nav.sticky { top: 32px; } + @keyframes atbd_scale { 0% { -webkit-transform: scale(0.8); transform: scale(0.8); } - to { + 100% { -webkit-transform: scale(1); transform: scale(1); } @@ -5415,9 +5765,10 @@ body.stop-scrolling { padding: 0; border: none; } -#directorist_submit_privacy_policy:after { +#directorist_submit_privacy_policy::after { display: none; } + .upload-error { display: block !important; clear: both; @@ -5428,85 +5779,105 @@ body.stop-scrolling { border-radius: 3px; padding: 15px 20px; } + #upload-msg { display: block; clear: both; } + #content .category_grid_view li a.post_img { height: 65px; width: 90%; overflow: hidden; } + #content .category_grid_view li a.post_img img { margin: 0 auto; display: block; height: 65px; } + #content .category_list_view li a.post_img { height: 110px; width: 165px; overflow: hidden; } + #content .category_list_view li a.post_img img { margin: 0 auto; display: block; height: 110px; } + #sidebar .recent_comments li img.thumb { width: 40px; } + .post_img_tiny img { width: 35px; } + .single_post_blog img.alignleft { width: 96%; height: auto; } -.ecu_images, + +.ecu_images { + width: 100%; +} + .filelist { width: 100%; } + .filelist .file { padding: 5px; background-color: #ececec; - border: 1px solid #ccc; + border: solid 1px #ccc; margin-bottom: 4px; clear: both; text-align: right; } + .filelist .fileprogress { - width: 0; + width: 0%; height: 5px; background-color: #3385ff; } + #custom-filedropbox, .directorist-custom-field-file-upload__wrapper > div { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: start; -webkit-justify-content: flex-start; -ms-flex-pack: start; justify-content: flex-start; gap: 20px; } -#custom-filedropbox, -.directorist-custom-field-file-upload__wrapper > div, + .plupload-upload-uic { + width: 200px; + height: 150px; + padding: 0; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + gap: 15px; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -} -.plupload-upload-uic { - width: 200px; - height: 150px; - padding: 0; - gap: 15px; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; @@ -5527,7 +5898,7 @@ body.stop-scrolling { .plupload-upload-uic .plupload-browse-button-label { cursor: pointer; } -.plupload-upload-uic .plupload-browse-button-label i:after { +.plupload-upload-uic .plupload-browse-button-label i::after { width: 50px; height: 45px; background-color: var(--directorist-color-border-gray); @@ -5543,10 +5914,12 @@ body.stop-scrolling { height: 200px; } } + .plupload-thumbs { clear: both; overflow: hidden; } + .plupload-thumbs .thumb { position: relative; height: 150px; @@ -5560,7 +5933,7 @@ body.stop-scrolling { object-fit: cover; border-radius: 12px; } -.plupload-thumbs .thumb:hover .atbdp-thumb-actions:before { +.plupload-thumbs .thumb:hover .atbdp-thumb-actions::before { opacity: 1; visibility: visible; } @@ -5625,14 +5998,16 @@ body.stop-scrolling { opacity: 0; visibility: hidden; border-radius: 12px; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; background-color: rgba(var(--directorist-color-dark-rgb), 0.5); } + .plupload-thumbs .thumb.atbdp_file { border: none; width: auto; } + .atbdp-add-files .plupload-thumbs .thumb img, .plupload-thumbs .thumb i.atbdp-file-info { cursor: move; @@ -5640,11 +6015,13 @@ body.stop-scrolling { height: 100%; z-index: 1; } + .plupload-thumbs .thumb i.atbdp-file-info { font-size: 50px; padding-top: 10%; z-index: 1; } + .plupload-thumbs .thumb .thumbi { position: absolute; left: -10px; @@ -5652,107 +6029,133 @@ body.stop-scrolling { height: 18px; width: 18px; } + .plupload-thumbs .thumb .thumbi a { text-indent: -8000px; display: block; } -.plupload-thumbs .atbdp-caption-preview, -.plupload-thumbs .atbdp-title-preview { + +.plupload-thumbs .atbdp-title-preview, +.plupload-thumbs .atbdp-caption-preview { position: absolute; top: 10px; right: 5px; font-size: 10px; line-height: 10px; padding: 1px; - background: hsla(0, 0%, 100%, 0.5); + background: rgba(255, 255, 255, 0.5); z-index: 2; overflow: hidden; height: 10px; } + .plupload-thumbs .atbdp-caption-preview { top: auto; bottom: 10px; } -.leaflet-image-layer, -.leaflet-layer, -.leaflet-marker-icon, -.leaflet-marker-shadow, + +/* required styles */ .leaflet-pane, -.leaflet-pane > canvas, -.leaflet-pane > svg, .leaflet-tile, +.leaflet-marker-icon, +.leaflet-marker-shadow, .leaflet-tile-container, -.leaflet-zoom-box { +.leaflet-pane > svg, +.leaflet-pane > canvas, +.leaflet-zoom-box, +.leaflet-image-layer, +.leaflet-layer { position: absolute; right: 0; top: 0; } + .leaflet-container { overflow: hidden; } + +.leaflet-tile, .leaflet-marker-icon, -.leaflet-marker-shadow, -.leaflet-tile { +.leaflet-marker-shadow { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-user-drag: none; } + +/* Prevents IE11 from highlighting tiles in blue */ .leaflet-tile::-moz-selection { background: transparent; } .leaflet-tile::selection { background: transparent; } + +/* Safari renders non-retina tile on retina better with this, but Chrome is worse */ .leaflet-safari .leaflet-tile { image-rendering: -webkit-optimize-contrast; } + +/* hack that prevents hw layers "stretching" when loading new tiles */ .leaflet-safari .leaflet-tile-container { width: 1600px; height: 1600px; -webkit-transform-origin: 100% 0; } + .leaflet-marker-icon, .leaflet-marker-shadow { display: block; } -.leaflet-container .leaflet-marker-pane img, + +/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */ +/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */ .leaflet-container .leaflet-overlay-pane svg, +.leaflet-container .leaflet-marker-pane img, .leaflet-container .leaflet-shadow-pane img, -.leaflet-container .leaflet-tile, .leaflet-container .leaflet-tile-pane img, -.leaflet-container img.leaflet-image-layer { +.leaflet-container img.leaflet-image-layer, +.leaflet-container .leaflet-tile { max-width: none !important; max-height: none !important; } + .leaflet-container.leaflet-touch-zoom { -ms-touch-action: pan-x pan-y; touch-action: pan-x pan-y; } + .leaflet-container.leaflet-touch-drag { -ms-touch-action: pinch-zoom; + /* Fallback for FF which doesn't support pinch-zoom */ touch-action: none; touch-action: pinch-zoom; } + .leaflet-container.leaflet-touch-drag.leaflet-touch-zoom { -ms-touch-action: none; touch-action: none; } + .leaflet-container { -webkit-tap-highlight-color: transparent; } + .leaflet-container a { -webkit-tap-highlight-color: rgba(145, 175, 186, 0.4); } + .leaflet-tile { -webkit-filter: inherit; filter: inherit; visibility: hidden; } + .leaflet-tile-loaded { visibility: inherit; } + .leaflet-zoom-box { width: 0; height: 0; @@ -5760,106 +6163,141 @@ body.stop-scrolling { box-sizing: border-box; z-index: 800; } + +/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */ .leaflet-overlay-pane svg { -moz-user-select: none; } + .leaflet-pane { z-index: 400; } + .leaflet-tile-pane { z-index: 200; } + .leaflet-overlay-pane { z-index: 400; } + .leaflet-shadow-pane { z-index: 500; } + .leaflet-marker-pane { z-index: 600; } + .leaflet-tooltip-pane { z-index: 650; } + .leaflet-popup-pane { z-index: 700; } + .leaflet-map-pane canvas { z-index: 100; } + .leaflet-map-pane svg { z-index: 200; } + .leaflet-vml-shape { width: 1px; height: 1px; } + .lvml { behavior: url(#default#VML); display: inline-block; position: absolute; } + +/* control positioning */ .leaflet-control { position: relative; z-index: 800; - pointer-events: visiblePainted; + pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */ pointer-events: auto; } -.leaflet-bottom, -.leaflet-top { + +.leaflet-top, +.leaflet-bottom { position: absolute; z-index: 1000; pointer-events: none; } + .leaflet-top { top: 0; } + .leaflet-right { left: 0; display: none; } + .leaflet-bottom { bottom: 0; } + .leaflet-left { right: 0; } + .leaflet-control { float: right; clear: both; } + .leaflet-right .leaflet-control { float: left; } + .leaflet-top .leaflet-control { margin-top: 10px; } + .leaflet-bottom .leaflet-control { margin-bottom: 10px; } + .leaflet-left .leaflet-control { margin-right: 10px; } + .leaflet-right .leaflet-control { margin-left: 10px; } + +/* zoom and fade animations */ .leaflet-fade-anim .leaflet-tile { will-change: opacity; } + .leaflet-fade-anim .leaflet-popup { opacity: 0; -webkit-transition: opacity 0.2s linear; transition: opacity 0.2s linear; } + .leaflet-fade-anim .leaflet-map-pane .leaflet-popup { opacity: 1; } + .leaflet-zoom-animated { -webkit-transform-origin: 100% 0; transform-origin: 100% 0; } + .leaflet-zoom-anim .leaflet-zoom-animated { will-change: transform; +} + +.leaflet-zoom-anim .leaflet-zoom-animated { -webkit-transition: -webkit-transform 0.25s cubic-bezier(0, 0, 0.25, 1); transition: -webkit-transform 0.25s cubic-bezier(0, 0, 0.25, 1); transition: transform 0.25s cubic-bezier(0, 0, 0.25, 1); @@ -5867,29 +6305,37 @@ body.stop-scrolling { transform 0.25s cubic-bezier(0, 0, 0.25, 1), -webkit-transform 0.25s cubic-bezier(0, 0, 0.25, 1); } -.leaflet-pan-anim .leaflet-tile, -.leaflet-zoom-anim .leaflet-tile { + +.leaflet-zoom-anim .leaflet-tile, +.leaflet-pan-anim .leaflet-tile { -webkit-transition: none; transition: none; } + .leaflet-zoom-anim .leaflet-zoom-hide { visibility: hidden; } + +/* cursors */ .leaflet-interactive { cursor: pointer; } + .leaflet-grab { cursor: -webkit-grab; cursor: grab; } + .leaflet-crosshair, .leaflet-crosshair .leaflet-interactive { cursor: crosshair; } -.leaflet-control, -.leaflet-popup-pane { + +.leaflet-popup-pane, +.leaflet-control { cursor: auto; } + .leaflet-dragging .leaflet-grab, .leaflet-dragging .leaflet-grab .leaflet-interactive, .leaflet-dragging .leaflet-marker-draggable { @@ -5897,47 +6343,60 @@ body.stop-scrolling { cursor: -webkit-grabbing; cursor: grabbing; } -.leaflet-image-layer, + +/* marker & overlays interactivity */ .leaflet-marker-icon, .leaflet-marker-shadow, +.leaflet-image-layer, .leaflet-pane > svg path, .leaflet-tile-container { pointer-events: none; } -.leaflet-image-layer.leaflet-interactive, + .leaflet-marker-icon.leaflet-interactive, +.leaflet-image-layer.leaflet-interactive, .leaflet-pane > svg path.leaflet-interactive, svg.leaflet-image-layer.leaflet-interactive path { - pointer-events: visiblePainted; + pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */ pointer-events: auto; } + +/* visual tweaks */ .leaflet-container { background-color: #ddd; outline: 0; } -.leaflet-container .map-listing-card-single__content a, -.leaflet-container a { + +.leaflet-container a, +.leaflet-container .map-listing-card-single__content a { color: #404040; } + .leaflet-container a.leaflet-active { outline: 2px solid #fa8b0c; } + .leaflet-zoom-box { border: 2px dotted var(--directorist-color-info); - background: hsla(0, 0%, 100%, 0.5); + background: rgba(255, 255, 255, 0.5); } + +/* general typography */ .leaflet-container { font: - 12px/1.5 Helvetica Neue, + 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif; } + +/* general toolbar styles */ .leaflet-bar { -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65); box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65); border-radius: 4px; } + .leaflet-bar a, .leaflet-bar a:hover { background-color: var(--directorist-color-white); @@ -5948,130 +6407,163 @@ svg.leaflet-image-layer.leaflet-interactive path { display: block; text-align: center; text-decoration: none; - color: #000; + color: black; } + .leaflet-bar a, .leaflet-control-layers-toggle { background-position: 50% 50%; background-repeat: no-repeat; display: block; } + .leaflet-bar a:hover { background-color: #f4f4f4; } + .leaflet-bar a:first-child { border-top-right-radius: 4px; border-top-left-radius: 4px; } + .leaflet-bar a:last-child { border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; border-bottom: none; } + .leaflet-bar a.leaflet-disabled { cursor: default; background-color: #f4f4f4; color: #bbb; } + .leaflet-touch .leaflet-bar a { width: 30px; height: 30px; line-height: 30px; } + .leaflet-touch .leaflet-bar a:first-child { border-top-right-radius: 2px; border-top-left-radius: 2px; } + .leaflet-touch .leaflet-bar a:last-child { border-bottom-right-radius: 2px; border-bottom-left-radius: 2px; } + +/* zoom control */ .leaflet-control-zoom-in, .leaflet-control-zoom-out { font: - 700 18px Lucida Console, + bold 18px "Lucida Console", Monaco, monospace; text-indent: 1px; } + .leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out { font-size: 22px; } + +/* layers control */ .leaflet-control-layers { -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4); box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4); background-color: var(--directorist-color-white); border-radius: 5px; } + .leaflet-control-layers-toggle { width: 36px; height: 36px; } + .leaflet-retina .leaflet-control-layers-toggle { background-size: 26px 26px; } + .leaflet-touch .leaflet-control-layers-toggle { width: 44px; height: 44px; } -.leaflet-control-layers-expanded .leaflet-control-layers-toggle, -.leaflet-control-layers .leaflet-control-layers-list { + +.leaflet-control-layers .leaflet-control-layers-list, +.leaflet-control-layers-expanded .leaflet-control-layers-toggle { display: none; } + .leaflet-control-layers-expanded .leaflet-control-layers-list { display: block; position: relative; } + .leaflet-control-layers-expanded { padding: 6px 6px 6px 10px; color: #333; background-color: var(--directorist-color-white); } + .leaflet-control-layers-scrollbar { overflow-y: scroll; overflow-x: hidden; padding-left: 5px; } + .leaflet-control-layers-selector { margin-top: 2px; position: relative; top: 1px; } + .leaflet-control-layers label { display: block; } + .leaflet-control-layers-separator { height: 0; border-top: 1px solid #ddd; margin: 5px -6px 5px -10px; } + +/* Default icon URLs */ +/* attribution and scale controls */ .leaflet-container .leaflet-control-attribution { background-color: var(--directorist-color-white); - background: hsla(0, 0%, 100%, 0.7); + background: rgba(255, 255, 255, 0.7); margin: 0; } + .leaflet-control-attribution, .leaflet-control-scale-line { padding: 0 5px; color: #333; } + .leaflet-control-attribution a { text-decoration: none; } + .leaflet-control-attribution a:hover { text-decoration: underline; } + .leaflet-container .leaflet-control-attribution, .leaflet-container .leaflet-control-scale { font-size: 11px; } + .leaflet-left .leaflet-control-scale { margin-right: 5px; } + .leaflet-bottom .leaflet-control-scale { margin-bottom: 5px; } + .leaflet-control-scale-line { border: 2px solid #777; border-top: none; @@ -6083,44 +6575,54 @@ svg.leaflet-image-layer.leaflet-interactive path { -webkit-box-sizing: border-box; box-sizing: border-box; background-color: var(--directorist-color-white); - background: hsla(0, 0%, 100%, 0.5); + background: rgba(255, 255, 255, 0.5); } + .leaflet-control-scale-line:not(:first-child) { border-top: 2px solid #777; border-bottom: none; margin-top: -2px; } + .leaflet-control-scale-line:not(:first-child):not(:last-child) { border-bottom: 2px solid #777; } -.leaflet-touch .leaflet-bar, + .leaflet-touch .leaflet-control-attribution, -.leaflet-touch .leaflet-control-layers { +.leaflet-touch .leaflet-control-layers, +.leaflet-touch .leaflet-bar { -webkit-box-shadow: none; box-shadow: none; } -.leaflet-touch .leaflet-bar, -.leaflet-touch .leaflet-control-layers { + +.leaflet-touch .leaflet-control-layers, +.leaflet-touch .leaflet-bar { border: 2px solid rgba(0, 0, 0, 0.2); background-clip: padding-box; } + +/* popup */ .leaflet-popup { position: absolute; text-align: center; margin-bottom: 20px; } + .leaflet-popup-content-wrapper { padding: 1px; text-align: right; border-radius: 10px; } + .leaflet-popup-content { margin: 13px 19px; line-height: 1.4; } + .leaflet-popup-content p { margin: 18px 0; } + .leaflet-popup-tip-container { width: 40px; height: 20px; @@ -6130,6 +6632,7 @@ svg.leaflet-image-layer.leaflet-interactive path { overflow: hidden; pointer-events: none; } + .leaflet-popup-tip { width: 17px; height: 17px; @@ -6138,13 +6641,15 @@ svg.leaflet-image-layer.leaflet-interactive path { -webkit-transform: rotate(-45deg); transform: rotate(-45deg); } + .leaflet-popup-content-wrapper, .leaflet-popup-tip { - background: #fff; + background: white; color: #333; -webkit-box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4); box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4); } + .leaflet-container a.leaflet-popup-close-button { position: absolute; top: 0; @@ -6160,45 +6665,54 @@ svg.leaflet-image-layer.leaflet-interactive path { sans-serif; color: #c3c3c3; text-decoration: none; - font-weight: 700; + font-weight: bold; background: transparent; } + .leaflet-container a.leaflet-popup-close-button:hover { color: #999; } + .leaflet-popup-scrolled { overflow: auto; border-bottom: 1px solid #ddd; border-top: 1px solid #ddd; } + .leaflet-oldie .leaflet-popup-content-wrapper { zoom: 1; } + .leaflet-oldie .leaflet-popup-tip { width: 24px; margin: 0 auto; -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)"; - filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678,M12=0.70710678,M21=-0.70710678,M22=0.70710678); + filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678); } + .leaflet-oldie .leaflet-popup-tip-container { margin-top: -1px; } -.leaflet-oldie .leaflet-control-layers, + .leaflet-oldie .leaflet-control-zoom, +.leaflet-oldie .leaflet-control-layers, .leaflet-oldie .leaflet-popup-content-wrapper, .leaflet-oldie .leaflet-popup-tip { border: 1px solid #999; } + +/* div icon */ .leaflet-div-icon { - border: 1px solid #666; -} -.leaflet-div-icon, -.leaflet-tooltip { background-color: var(--directorist-color-white); + border: 1px solid #666; } + +/* Tooltip */ +/* Base styles for the element that has a tooltip */ .leaflet-tooltip { position: absolute; padding: 6px; + background-color: var(--directorist-color-white); border: 1px solid var(--directorist-color-white); border-radius: 3px; color: #222; @@ -6211,63 +6725,77 @@ svg.leaflet-image-layer.leaflet-interactive path { -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); } + .leaflet-tooltip.leaflet-clickable { cursor: pointer; pointer-events: auto; } + +.leaflet-tooltip-top:before, .leaflet-tooltip-bottom:before, .leaflet-tooltip-left:before, -.leaflet-tooltip-right:before, -.leaflet-tooltip-top:before { +.leaflet-tooltip-right:before { position: absolute; pointer-events: none; border: 6px solid transparent; background: transparent; content: ""; } + +/* Directions */ .leaflet-tooltip-bottom { margin-top: 6px; } + .leaflet-tooltip-top { margin-top: -6px; } + .leaflet-tooltip-bottom:before, .leaflet-tooltip-top:before { right: 50%; margin-right: -6px; } + .leaflet-tooltip-top:before { bottom: 0; margin-bottom: -12px; border-top-color: var(--directorist-color-white); } + .leaflet-tooltip-bottom:before { top: 0; margin-top: -12px; margin-right: -6px; border-bottom-color: var(--directorist-color-white); } + .leaflet-tooltip-left { margin-right: -6px; } + .leaflet-tooltip-right { margin-right: 6px; } + .leaflet-tooltip-left:before, .leaflet-tooltip-right:before { top: 50%; margin-top: -6px; } + .leaflet-tooltip-left:before { left: 0; margin-left: -12px; border-right-color: var(--directorist-color-white); } + .leaflet-tooltip-right:before { right: 0; margin-right: -12px; border-left-color: var(--directorist-color-white); } + .directorist-content-active #map { position: relative; width: 100%; @@ -6298,7 +6826,7 @@ svg.leaflet-image-layer.leaflet-interactive path { background-color: var(--directorist-color-white); cursor: pointer; } -.directorist-content-active #gmap_full_screen_button i:after { +.directorist-content-active #gmap_full_screen_button i::after { width: 22px; height: 22px; -webkit-transition: all 0.3s ease-in-out; @@ -6319,7 +6847,7 @@ svg.leaflet-image-layer.leaflet-interactive path { margin-top: -20px; margin-right: -100px; background-color: var(--directorist-color-white); - background-color: hsla(0, 0%, 100%, 0.7); + background-color: rgba(255, 255, 255, 0.7); border-radius: 4px; padding: 2px; } @@ -6334,8 +6862,8 @@ svg.leaflet-image-layer.leaflet-interactive path { height: 50px !important; margin: 20px !important; border-radius: 10px !important; - -webkit-box-shadow: 0 2px 20px rgba(0, 0, 0, 0.26) !important; - box-shadow: 0 2px 20px rgba(0, 0, 0, 0.26) !important; + -webkit-box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.26) !important; + box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.26) !important; } .directorist-content-active .gmnoprint { border-radius: 5px; @@ -6360,10 +6888,12 @@ svg.leaflet-image-layer.leaflet-interactive path { .directorist-content-active .version-disabled { text-decoration: line-through; } + +/* wp color picker */ .directorist-form-group .wp-picker-container .button { position: relative; height: 40px; - border: 0; + border: 0 none; width: 140px; padding: 0; font-size: 14px; @@ -6448,7 +6978,9 @@ svg.leaflet-image-layer.leaflet-interactive path { .directorist-form-group .wp-picker-container .wp-picker-container - .wp-picker-input-wrap.hidden, + .wp-picker-input-wrap.hidden { + display: none; +} .directorist-form-group .wp-picker-container .wp-picker-container @@ -6475,16 +7007,23 @@ svg.leaflet-image-layer.leaflet-interactive path { padding-bottom: 0; font-size: 15px; } + .directorist-show { display: block !important; } -.directorist-d-none, + .directorist-hide { display: none !important; } + +.directorist-d-none { + display: none !important; +} + .directorist-text-center { text-align: center; } + .directorist-content-active .entry-content ul { margin: 0; padding: 0; @@ -6509,24 +7048,30 @@ svg.leaflet-image-layer.leaflet-interactive path { -ms-flex-align: center; align-items: center; } + +/* Container within container spacing issue fix */ .directorist-container-fluid > .directorist-container-fluid { padding-right: 0; padding-left: 0; } + .directorist-announcement-wrapper .directorist_not-found p { margin-bottom: 0; } + .directorist-content-active .select2-container--open .select2-dropdown.select2-dropdown--below { top: 0; border-color: var(--directorist-color-border); } + .logged-in.directorist-content-active .select2-container--open .select2-dropdown.select2-dropdown--below { top: 32px; } + .directorist-content-active .directorist-select .select2.select2-container @@ -6535,6 +7080,7 @@ svg.leaflet-image-layer.leaflet-interactive path { .select2-selection__clear { display: none; } + .directorist-content-active .select2.select2-container.select2-container--default { width: 100% !important; @@ -6543,6 +7089,7 @@ svg.leaflet-image-layer.leaflet-interactive path { .select2.select2-container.select2-container--default .select2-selection { min-height: 40px; + min-height: 40px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -6593,8 +7140,8 @@ svg.leaflet-image-layer.leaflet-interactive path { .select2.select2-container.select2-container--default .select2-selection__choice__remove:before { content: ""; - -webkit-mask-image: url(../images/4ff79f85f2a1666e0f80c7ca71039465.svg); - mask-image: url(../images/4ff79f85f2a1666e0f80c7ca71039465.svg); + -webkit-mask-image: url(../js/../images/4ff79f85f2a1666e0f80c7ca71039465.svg); + mask-image: url(../js/../images/4ff79f85f2a1666e0f80c7ca71039465.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 12px; @@ -6622,8 +7169,8 @@ svg.leaflet-image-layer.leaflet-interactive path { -ms-flex-align: center; align-items: center; padding: 0 !important; - -ms-overflow-style: none; - scrollbar-width: none; + -ms-overflow-style: none; /* Internet Explorer 10+ */ + scrollbar-width: none; /* Firefox */ } .directorist-content-active .select2.select2-container.select2-container--default @@ -6648,6 +7195,7 @@ svg.leaflet-image-layer.leaflet-interactive path { border: none; border-bottom: 2px solid var(--directorist-color-primary) !important; } + .directorist-content-active .select2-container.select2-container--open { z-index: 99999; } @@ -6656,6 +7204,7 @@ svg.leaflet-image-layer.leaflet-interactive path { width: calc(100% - 40px); } } + .directorist-content-active .select2-container--default .select2-selection @@ -6663,6 +7212,7 @@ svg.leaflet-image-layer.leaflet-interactive path { b { margin-top: 0; } + .directorist-content-active .select2-container .directorist-select2-addons-area { @@ -6689,15 +7239,19 @@ svg.leaflet-image-layer.leaflet-interactive path { padding: 0; display: none; } + +/* Login/Signup Form CSS */ #recover-pass-modal { display: none; } + .directorist-login-wrapper #recover-pass-modal .directorist-btn { margin-top: 15px; } .directorist-login-wrapper #recover-pass-modal .directorist-btn:hover { text-decoration: none; } + body.modal-overlay-enabled { position: relative; } @@ -6711,6 +7265,7 @@ body.modal-overlay-enabled:before { background-color: rgba(var(--directorist-color-dark-rgb), 0.05); z-index: 1; } + .directorist-widget { margin-bottom: 25px; } @@ -6727,6 +7282,7 @@ body.modal-overlay-enabled:before { .directorist-widget .directorist-card__body.directorist-widget__body { padding: 20px 30px; } + .directorist-sidebar .directorist-card { margin-bottom: 25px; } @@ -6773,6 +7329,7 @@ body.modal-overlay-enabled:before { -ms-flex-pack: justify; justify-content: space-between; } + .directorist-widget__listing-contact .directorist-form-group { display: -webkit-box; display: -webkit-flex; @@ -6803,10 +7360,14 @@ body.modal-overlay-enabled:before { min-height: 130px !important; resize: none; } -.directorist-widget__listing-contact .directorist-btn, +.directorist-widget__listing-contact .directorist-btn { + width: 100%; +} + .directorist-widget__submit-listing .directorist-btn { width: 100%; } + .directorist-widget__author-info figure { margin: 0; } @@ -6814,10 +7375,12 @@ body.modal-overlay-enabled:before { width: 100%; margin-top: 25px; } + .directorist-single-map.directorist-widget__map.leaflet-container { margin-bottom: 0; border-radius: 12px; } + .directorist-widget-listing__single { display: -webkit-box; display: -webkit-flex; @@ -6835,6 +7398,7 @@ body.modal-overlay-enabled:before { .directorist-widget-listing__single:not(:last-child) { margin-bottom: 25px; } + .directorist-widget-listing__image { width: 70px; height: 70px; @@ -6847,6 +7411,7 @@ body.modal-overlay-enabled:before { height: 100%; border-radius: 10px; } + .directorist-widget-listing__content { display: -webkit-box; display: -webkit-flex; @@ -6863,6 +7428,7 @@ body.modal-overlay-enabled:before { font-size: 15px; font-weight: 500; line-height: 1; + margin: 0; color: var(--directorist-color-dark); margin: 0; } @@ -6879,12 +7445,15 @@ body.modal-overlay-enabled:before { outline: none; } .directorist-widget-listing__content .directorist-widget-listing__meta { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; } -.directorist-widget-listing__content .directorist-widget-listing__meta, .directorist-widget-listing__content .directorist-widget-listing__rating { display: -webkit-box; display: -webkit-flex; @@ -6916,11 +7485,13 @@ body.modal-overlay-enabled:before { font-weight: 600; color: var(--directorist-color-dark); } + .directorist-widget__video .directorist-embaded-item { width: 100%; height: 100%; border-radius: 10px; } + .directorist-widget .directorist-widget-list li:hover @@ -6931,8 +7502,8 @@ body.modal-overlay-enabled:before { .directorist-widget .directorist-widget-list li:not(:last-child) { margin-bottom: 10px; } -.directorist-widget .directorist-widget-list li span.fa, -.directorist-widget .directorist-widget-list li span.la { +.directorist-widget .directorist-widget-list li span.la, +.directorist-widget .directorist-widget-list li span.fa { cursor: pointer; margin: 0 0 0 5px; } @@ -6967,6 +7538,7 @@ body.modal-overlay-enabled:before { -webkit-transform: translateY(-50%); transform: translateY(-50%); } + .directorist-widget-taxonomy .directorist-taxonomy-list-one { -webkit-margin-after: 10px; margin-block-end: 10px; @@ -7015,7 +7587,7 @@ body.modal-overlay-enabled:before { justify-content: center; } .directorist-widget-taxonomy - .directorist-taxonomy-list-one__icon-default:after { + .directorist-taxonomy-list-one__icon-default::after { content: ""; width: 8px; height: 8px; @@ -7041,6 +7613,7 @@ body.modal-overlay-enabled:before { -webkit-padding-start: 25px; padding-inline-start: 25px; } + .directorist-widget-location .directorist-taxonomy-list-one:last-child { margin-bottom: 0; } @@ -7051,6 +7624,7 @@ body.modal-overlay-enabled:before { -webkit-padding-start: 25px; padding-inline-start: 25px; } + .directorist-widget-tags ul { margin: 0; padding: 0; @@ -7084,6 +7658,7 @@ body.modal-overlay-enabled:before { color: var(--directorist-color-primary); border-color: var(--directorist-color-primary); } + .directorist-widget-advanced-search .directorist-search-form__box { -webkit-box-orient: vertical; -webkit-box-direction: normal; @@ -7119,7 +7694,7 @@ body.modal-overlay-enabled:before { .directorist-search-modal__contents__body .directorist-search-modal__input .directorist-search-field { - border: 0; + border: 0 none; } .directorist-widget-advanced-search .directorist-search-basic-dropdown @@ -7166,11 +7741,11 @@ body.modal-overlay-enabled:before { } .directorist-widget-advanced-search .directorist-search-form - .directorist-search-field - .directorist-search-basic-dropdown-label, + .directorist-search-field.input-is-focused + > label, .directorist-widget-advanced-search .directorist-search-form - .directorist-search-field.directorist-search-field-radius_search + .directorist-search-field.input-has-value > label, .directorist-widget-advanced-search .directorist-search-form @@ -7178,20 +7753,23 @@ body.modal-overlay-enabled:before { > label, .directorist-widget-advanced-search .directorist-search-form - .directorist-search-field.input-has-value - .directorist-search-field__label, + .directorist-search-field.directorist-search-field-radius_search + > label { + font-size: 16px; + font-weight: 500; +} .directorist-widget-advanced-search .directorist-search-form - .directorist-search-field.input-has-value - > label, + .directorist-search-field.input-is-focused + .directorist-search-field__label, .directorist-widget-advanced-search .directorist-search-form - .directorist-search-field.input-is-focused + .directorist-search-field.input-has-value .directorist-search-field__label, .directorist-widget-advanced-search .directorist-search-form - .directorist-search-field.input-is-focused - > label { + .directorist-search-field + .directorist-search-basic-dropdown-label { font-size: 16px; font-weight: 500; } @@ -7216,7 +7794,7 @@ body.modal-overlay-enabled:before { color: var(--directorist-color-primary); } .directorist-widget-advanced-search .directorist-advanced-filter__action { - padding: 0; + padding: 0 0; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; @@ -7268,11 +7846,12 @@ body.modal-overlay-enabled:before { opacity: 0.5; cursor: not-allowed; } + .directorist-widget-authentication form { margin-bottom: 15px; } -.directorist-widget-authentication p input:not(input[type="checkbox"]), -.directorist-widget-authentication p label { +.directorist-widget-authentication p label, +.directorist-widget-authentication p input:not(input[type="checkbox"]) { display: block; } .directorist-widget-authentication p label { @@ -7290,6 +7869,8 @@ body.modal-overlay-enabled:before { .directorist-widget-authentication .login-submit button { cursor: pointer; } + +/* Directorist button styles */ .directorist-btn { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -7324,8 +7905,8 @@ body.modal-overlay-enabled:before { text-decoration: none; background-color: var(--directorist-color-primary); color: var(--directorist-color-white); - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; text-decoration: none !important; } .directorist-btn .directorist-icon-mask:after { @@ -7337,12 +7918,13 @@ body.modal-overlay-enabled:before { .directorist-btn.directorist-btn--logout { line-height: 43px; } -.directorist-btn:focus, -.directorist-btn:hover { +.directorist-btn:hover, +.directorist-btn:focus { color: var(--directorist-color-white); outline: 0 !important; background-color: rgba(var(--directorist-color-primary-rgb), 0.8); } + .directorist-btn.directorist-btn-primary { background-color: var(--directorist-color-btn-primary-bg); color: var(--directorist-color-btn-primary); @@ -7464,6 +8046,7 @@ body.modal-overlay-enabled:before { pointer-events: none; opacity: 0.75; } + .directorist-btn.directorist-btn-outline { background: transparent; border: 1px solid var(--directorist-color-border) !important; @@ -7554,6 +8137,7 @@ body.modal-overlay-enabled:before { color: var(--directorist-color-white); background-color: var(--directorist-color-dark); } + .directorist-btn.directorist-btn-lg { min-height: 50px; } @@ -7575,24 +8159,26 @@ body.modal-overlay-enabled:before { display: -ms-flexbox; display: flex; } + @-webkit-keyframes spin-centered { - 0% { + from { -webkit-transform: translateX(50%) rotate(0deg); transform: translateX(50%) rotate(0deg); } to { - -webkit-transform: translateX(50%) rotate(-1turn); - transform: translateX(50%) rotate(-1turn); + -webkit-transform: translateX(50%) rotate(-360deg); + transform: translateX(50%) rotate(-360deg); } } + @keyframes spin-centered { - 0% { + from { -webkit-transform: translateX(50%) rotate(0deg); transform: translateX(50%) rotate(0deg); } to { - -webkit-transform: translateX(50%) rotate(-1turn); - transform: translateX(50%) rotate(-1turn); + -webkit-transform: translateX(50%) rotate(-360deg); + transform: translateX(50%) rotate(-360deg); } } .directorist-badge { @@ -7605,6 +8191,7 @@ body.modal-overlay-enabled:before { text-transform: uppercase; border-radius: 5px; } + .directorist-badge.directorist-badge-primary { background-color: var(--directorist-color-primary); } @@ -7626,6 +8213,7 @@ body.modal-overlay-enabled:before { .directorist-badge.directorist-badge-gray { background-color: #525768; } + .directorist-badge.directorist-badge-primary-transparent { color: var(--directorist-color-primary); background-color: rgba(var(--directorist-color-primary-rgb), 0.15); @@ -7654,6 +8242,7 @@ body.modal-overlay-enabled:before { color: var(--directorist-color-gray); background-color: rgba(var(--directorist-color-gray-rgb), 0.15); } + .directorist-badge .directorist-badge-tooltip { position: absolute; top: -35px; @@ -7692,6 +8281,10 @@ body.modal-overlay-enabled:before { opacity: 1; visibility: visible; } + +/*** + Directorist Custom Range Slider Styling; +***/ .directorist-custom-range-slider-target, .directorist-custom-range-slider-target * { -ms-touch-action: none; @@ -7703,6 +8296,7 @@ body.modal-overlay-enabled:before { -webkit-box-sizing: border-box; box-sizing: border-box; } + .directorist-custom-range-slider-base, .directorist-custom-range-slider-connects { width: 100%; @@ -7710,10 +8304,13 @@ body.modal-overlay-enabled:before { position: relative; z-index: 1; } + +/* Wrapper for all connect elements. */ .directorist-custom-range-slider-connects { overflow: hidden; z-index: 0; } + .directorist-custom-range-slider-connect, .directorist-custom-range-slider-origin { will-change: transform; @@ -7728,24 +8325,31 @@ body.modal-overlay-enabled:before { -webkit-transform-style: flat; transform-style: flat; } + +/* Give origins 0 height/width so they don't interfere +* with clicking the connect elements. */ .directorist-custom-range-slider-vertical .directorist-custom-range-slider-origin { top: -100%; width: 0; } + .directorist-custom-range-slider-horizontal .directorist-custom-range-slider-origin { height: 0; } + .directorist-custom-range-slider-handle { -webkit-backface-visibility: hidden; backface-visibility: hidden; position: absolute; } + .directorist-custom-range-slider-touch-area { height: 100%; width: 100%; } + .directorist-custom-range-slider-state-tap .directorist-custom-range-slider-connect, .directorist-custom-range-slider-state-tap @@ -7757,9 +8361,12 @@ body.modal-overlay-enabled:before { transform 0.3s, -webkit-transform 0.3s; } + .directorist-custom-range-slider-state-drag * { cursor: inherit !important; } + +/* Slider size and handle placement; */ .directorist-custom-range-slider-horizontal .directorist-custom-range-slider-handle { width: 20px; @@ -7770,6 +8377,7 @@ body.modal-overlay-enabled:before { top: -8px; cursor: pointer; } + .directorist-custom-range-slider-vertical { width: 18px; } @@ -7780,6 +8388,8 @@ body.modal-overlay-enabled:before { inset-inline-end: -6px; bottom: -17px; } + +/* Giving the connect element a border radius causes issues with using transform: scale */ .directorist-custom-range-slider-target { position: relative; width: 100%; @@ -7788,16 +8398,21 @@ body.modal-overlay-enabled:before { border-radius: 2px; background-color: #d9d9d9; } + .directorist-custom-range-slider-connect { background-color: var(--directorist-color-primary); } + +/* Handles and cursors; */ .directorist-custom-range-slider-draggable { cursor: ew-resize; } + .directorist-custom-range-slider-vertical .directorist-custom-range-slider-draggable { cursor: ns-resize; } + .directorist-custom-range-slider-handle { border: 1px solid #d9d9d9; border-radius: 3px; @@ -7812,6 +8427,7 @@ body.modal-overlay-enabled:before { inset 0 1px 7px #ebebeb, 0 3px 6px -3px #bbb; } + .directorist-custom-range-slider-active { -webkit-box-shadow: inset 0 0 1px #fff, @@ -7822,40 +8438,57 @@ body.modal-overlay-enabled:before { inset 0 1px 7px #ddd, 0 3px 6px -3px #bbb; } + +/* Disabled state; */ [disabled] .directorist-custom-range-slider-connect { background-color: #b8b8b8; } + +[disabled].directorist-custom-range-slider-target, [disabled].directorist-custom-range-slider-handle, -[disabled] .directorist-custom-range-slider-handle, -[disabled].directorist-custom-range-slider-target { +[disabled] .directorist-custom-range-slider-handle { cursor: not-allowed; } + +/* Base; */ .directorist-custom-range-slider-pips, .directorist-custom-range-slider-pips * { -webkit-box-sizing: border-box; box-sizing: border-box; } + .directorist-custom-range-slider-pips { position: absolute; color: #999; } + +/* Values; */ .directorist-custom-range-slider-value { position: absolute; white-space: nowrap; text-align: center; } + .directorist-custom-range-slider-value-sub { color: #ccc; font-size: 10px; } + +/* Markings; */ .directorist-custom-range-slider-marker { position: absolute; background-color: #ccc; } -.directorist-custom-range-slider-marker-large, + .directorist-custom-range-slider-marker-sub { background-color: #aaa; } + +.directorist-custom-range-slider-marker-large { + background-color: #aaa; +} + +/* Horizontal layout; */ .directorist-custom-range-slider-pips-horizontal { padding: 10px 0; height: 80px; @@ -7863,15 +8496,18 @@ body.modal-overlay-enabled:before { right: 0; width: 100%; } + .directorist-custom-range-slider-value-horizontal { -webkit-transform: translate(50%, 50%); transform: translate(50%, 50%); } + .directorist-custom-range-slider-rtl .directorist-custom-range-slider-value-horizontal { -webkit-transform: translate(-50%, 50%); transform: translate(-50%, 50%); } + .directorist-custom-range-slider-marker-horizontal.directorist-custom-range-slider-marker { margin-right: -1px; width: 2px; @@ -7883,22 +8519,27 @@ body.modal-overlay-enabled:before { .directorist-custom-range-slider-marker-horizontal.directorist-custom-range-slider-marker-large { height: 15px; } + +/* Vertical layout; */ .directorist-custom-range-slider-pips-vertical { padding: 0 10px; height: 100%; top: 0; right: 100%; } + .directorist-custom-range-slider-value-vertical { - -webkit-transform: translateY(-50%); - transform: translateY(-50%); + -webkit-transform: translate(0, -50%); + transform: translate(0, -50%); padding-right: 25px; } + .directorist-custom-range-slider-rtl .directorist-custom-range-slider-value-vertical { - -webkit-transform: translateY(50%); - transform: translateY(50%); + -webkit-transform: translate(0, 50%); + transform: translate(0, 50%); } + .directorist-custom-range-slider-marker-vertical.directorist-custom-range-slider-marker { width: 5px; height: 2px; @@ -7910,6 +8551,7 @@ body.modal-overlay-enabled:before { .directorist-custom-range-slider-marker-vertical.directorist-custom-range-slider-marker-large { width: 15px; } + .directorist-custom-range-slider-tooltip { display: block; position: absolute; @@ -7921,36 +8563,39 @@ body.modal-overlay-enabled:before { text-align: center; white-space: nowrap; } + .directorist-custom-range-slider-horizontal .directorist-custom-range-slider-tooltip { - -webkit-transform: translate(50%); - transform: translate(50%); + -webkit-transform: translate(50%, 0); + transform: translate(50%, 0); right: 50%; bottom: 120%; } .directorist-custom-range-slider-horizontal .directorist-custom-range-slider-origin > .directorist-custom-range-slider-tooltip { - -webkit-transform: translate(-50%); - transform: translate(-50%); + -webkit-transform: translate(-50%, 0); + transform: translate(-50%, 0); right: auto; bottom: 10px; } + .directorist-custom-range-slider-vertical .directorist-custom-range-slider-tooltip { - -webkit-transform: translateY(-50%); - transform: translateY(-50%); + -webkit-transform: translate(0, -50%); + transform: translate(0, -50%); top: 50%; left: 120%; } .directorist-custom-range-slider-vertical .directorist-custom-range-slider-origin > .directorist-custom-range-slider-tooltip { - -webkit-transform: translateY(-18px); - transform: translateY(-18px); + -webkit-transform: translate(0, -18px); + transform: translate(0, -18px); top: auto; left: 28px; } + .directorist-swiper { height: 100%; overflow: hidden; @@ -7962,8 +8607,8 @@ body.modal-overlay-enabled:before { display: -ms-flexbox; display: flex; } -.directorist-swiper .swiper-slide > a, -.directorist-swiper .swiper-slide > div { +.directorist-swiper .swiper-slide > div, +.directorist-swiper .swiper-slide > a { width: 100%; height: 100%; } @@ -7975,9 +8620,6 @@ body.modal-overlay-enabled:before { z-index: 1; opacity: 0; cursor: pointer; -} -.directorist-swiper__nav, -.directorist-swiper__nav i { -webkit-transition: all 0.3s ease; transition: all 0.3s ease; } @@ -7997,7 +8639,9 @@ body.modal-overlay-enabled:before { -ms-flex-pack: center; justify-content: center; border-radius: 100%; - background-color: hsla(0, 0%, 100%, 0.9); + -webkit-transition: all 0.3s ease; + transition: all 0.3s ease; + background-color: rgba(255, 255, 255, 0.9); } .directorist-swiper__nav .directorist-icon-mask:after { width: 10px; @@ -8066,6 +8710,7 @@ body.modal-overlay-enabled:before { .directorist-swiper__nav { opacity: 1; } + .directorist-single-listing-slider { width: var(--gallery-crop-width, 740px); height: var(--gallery-crop-height, 580px); @@ -8137,6 +8782,7 @@ body.modal-overlay-enabled:before { .directorist-swiper__pagination { display: none; } + .directorist-single-listing-slider-thumb { width: var(--gallery-crop-width, 740px); max-width: 100%; @@ -8163,7 +8809,9 @@ body.modal-overlay-enabled:before { gap: 10px; } } -.directorist-single-listing-slider-thumb .directorist-swiper__navigation, +.directorist-single-listing-slider-thumb .directorist-swiper__navigation { + display: none; +} .directorist-single-listing-slider-thumb .directorist-swiper__pagination { display: none; } @@ -8218,9 +8866,9 @@ body.modal-overlay-enabled:before { border-radius: 8px; } } +.directorist-single-listing-slider-thumb .swiper-slide:hover:before, .directorist-single-listing-slider-thumb - .swiper-slide.swiper-slide-thumb-active:before, -.directorist-single-listing-slider-thumb .swiper-slide:hover:before { + .swiper-slide.swiper-slide-thumb-active:before { opacity: 1; visibility: visible; } @@ -8229,6 +8877,7 @@ body.modal-overlay-enabled:before { display: none; } } + .directorist-swiper-related-listing.directorist-swiper { padding: 15px; margin: -15px; @@ -8251,12 +8900,13 @@ body.modal-overlay-enabled:before { .directorist-swiper-related-listing.directorist-swiper .swiper-wrapper { height: auto; } -.directorist-swiper-related-listing.slider-has-less-items - > .directorist-swiper__navigation, .directorist-swiper-related-listing.slider-has-one-item + > .directorist-swiper__navigation, +.directorist-swiper-related-listing.slider-has-less-items > .directorist-swiper__navigation { display: none; } + .directorist-dropdown { position: relative; } @@ -8291,8 +8941,8 @@ body.modal-overlay-enabled:before { } .directorist-dropdown__toggle.directorist-toggle-has-icon:after { content: ""; - -webkit-mask-image: url(../images/05feea3d261c8b97573023a74fd26f03.svg); - mask-image: url(../images/05feea3d261c8b97573023a74fd26f03.svg); + -webkit-mask-image: url(../js/../images/05feea3d261c8b97573023a74fd26f03.svg); + mask-image: url(../js/../images/05feea3d261c8b97573023a74fd26f03.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 12px; @@ -8317,6 +8967,7 @@ body.modal-overlay-enabled:before { z-index: 99999; } .directorist-dropdown__links a { + display: block; font-size: 14px; font-weight: 400; display: block; @@ -8324,8 +8975,8 @@ body.modal-overlay-enabled:before { border-radius: 8px; text-decoration: none !important; color: var(--directorist-color-body); - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } .directorist-dropdown__links a.active, .directorist-dropdown__links a:hover { @@ -8352,9 +9003,12 @@ body.modal-overlay-enabled:before { border-radius: 8px; border: 2px solid var(--directorist-color-white); } + +/* custom dropdown with select */ .directorist-dropdown-select { position: relative; } + .directorist-dropdown-select-toggle { display: inline-block; border: 1px solid #eee; @@ -8369,6 +9023,7 @@ body.modal-overlay-enabled:before { right: 0; top: 0; } + .directorist-dropdown-select-items { position: absolute; width: 100%; @@ -8383,15 +9038,18 @@ body.modal-overlay-enabled:before { background-color: var(--directorist-color-white); z-index: 10; } + .directorist-dropdown-select-items.directorist-dropdown-select-show { top: 30px; visibility: visible; opacity: 1; pointer-events: all; } + .directorist-dropdown-select-item { display: block; } + .directorist-switch { position: relative; display: block; @@ -8478,31 +9136,33 @@ body.modal-overlay-enabled:before { -webkit-transform 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; } + .directorist-switch.directorist-switch-primary .directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-primary); } .directorist-switch.directorist-switch-success.directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-success); } .directorist-switch.directorist-switch-secondary.directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-secondary); } .directorist-switch.directorist-switch-danger.directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-danger); } .directorist-switch.directorist-switch-warning.directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-warning); } .directorist-switch.directorist-switch-info.directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-info); } + .directorist-switch-Yn { font-size: 15px; padding: 3px; @@ -8530,7 +9190,6 @@ body.modal-overlay-enabled:before { background-color: #3e62f5; color: var(--directorist-color-white); } -.directorist-switch-Yn input[type="checkbox"] .directorist-switch-yes, .directorist-switch-Yn input[type="checkbox"]:checked + span @@ -8538,6 +9197,10 @@ body.modal-overlay-enabled:before { background-color: transparent; color: #9b9eaf; } +.directorist-switch-Yn input[type="checkbox"] .directorist-switch-yes { + background-color: transparent; + color: #9b9eaf; +} .directorist-switch-Yn input[type="checkbox"] + span + .directorist-switch-no { background-color: #fb6665; color: var(--directorist-color-white); @@ -8548,6 +9211,8 @@ body.modal-overlay-enabled:before { .directorist-switch-Yn .directorist-switch-no { border-radius: 15px 0 0 15px; } + +/* Directorist Tooltip */ .directorist-tooltip { position: relative; } @@ -8563,8 +9228,8 @@ body.modal-overlay-enabled:before { top: 100%; margin-top: 8px; } -.directorist-tooltip[data-label]:after, -.directorist-tooltip[data-label]:before { +.directorist-tooltip[data-label]:before, +.directorist-tooltip[data-label]:after { position: absolute !important; bottom: 100%; display: none; @@ -8581,7 +9246,7 @@ body.modal-overlay-enabled:before { -webkit-transform: translateX(50%); transform: translateX(50%); border: 6px solid transparent; - border-top: 6px solid rgba(var(--directorist-color-dark-rgb), 1); + border-top-color: rgba(var(--directorist-color-dark-rgb), 1); } .directorist-tooltip[data-label]:after { font-size: 14px; @@ -8599,14 +9264,15 @@ body.modal-overlay-enabled:before { max-height: 200px; overflow-y: auto; } -.directorist-tooltip[data-label]:hover:after, -.directorist-tooltip[data-label]:hover:before { +.directorist-tooltip[data-label]:hover:before, +.directorist-tooltip[data-label]:hover:after { display: block; } .directorist-tooltip .directorist-tooltip__label { font-size: 16px; color: var(--directorist-color-primary); } + .directorist-tooltip.directorist-tooltip-primary[data-label]:after { background-color: var(--directorist-color-primary); } @@ -8661,16 +9327,19 @@ body.modal-overlay-enabled:before { .directorist-tooltip.directorist-tooltip-bottom.directorist-tooltip-danger[data-label]:before { border-bottom-color: var(--directorist-color-danger); } + @-webkit-keyframes showTooltip { - 0% { + from { opacity: 0; } } + @keyframes showTooltip { - 0% { + from { opacity: 0; } } +/* Alerts style */ .directorist-alert { font-size: 15px; word-break: break-word; @@ -8705,9 +9374,9 @@ body.modal-overlay-enabled:before { -ms-flex-align: start; align-items: flex-start; } -.directorist-alert__content i, +.directorist-alert__content span.la, .directorist-alert__content span.fa, -.directorist-alert__content span.la { +.directorist-alert__content i { margin-left: 12px; line-height: 1.65; } @@ -8720,7 +9389,7 @@ body.modal-overlay-enabled:before { background: none !important; text-decoration: none; margin-right: auto !important; - border: 0; + border: 0 none; -webkit-box-shadow: none; box-shadow: none; line-height: 1.2; @@ -8737,8 +9406,8 @@ body.modal-overlay-enabled:before { -ms-flex-pack: center; justify-content: center; } -.directorist-alert__close .fa, .directorist-alert__close .la, +.directorist-alert__close .fa, .directorist-alert__close i, .directorist-alert__close span { font-size: 16px; @@ -8752,6 +9421,7 @@ body.modal-overlay-enabled:before { .directorist-alert a { text-decoration: none; } + .directorist-alert.directorist-alert-primary { background: rgba(var(--directorist-color-primary-rgb), 0.1); color: var(--directorist-color-primary); @@ -8790,6 +9460,7 @@ body.modal-overlay-enabled:before { .directorist-alert--sm { padding: 10px 20px; } + .alert-danger { background: rgba(232, 0, 0, 0.3); } @@ -8801,6 +9472,8 @@ body.modal-overlay-enabled:before { .alert-danger.directorist-register-error .directorist-alert__close { color: #e80000; } + +/* Add listing notice alert */ .directorist-single-listing-notice .directorist-alert__content { -webkit-box-pack: justify; -webkit-justify-content: space-between; @@ -8814,6 +9487,7 @@ body.modal-overlay-enabled:before { .directorist-single-listing-notice .directorist-alert__content button span { font-size: 20px; } + .directorist-user-dashboard .directorist-container-fluid { -webkit-box-sizing: border-box; box-sizing: border-box; @@ -8822,6 +9496,8 @@ body.modal-overlay-enabled:before { cursor: pointer; padding-left: 0; } + +/* Modal Core Styles */ .directorist-modal { position: fixed; width: 100%; @@ -8834,6 +9510,7 @@ body.modal-overlay-enabled:before { overflow: auto; outline: 0; } + .directorist-modal__dialog { position: relative; width: 500px; @@ -8857,9 +9534,11 @@ body.modal-overlay-enabled:before { min-height: calc(100% - 80px); pointer-events: none; } + .directorist-modal__dialog-lg { width: 900px; } + .directorist-modal__content { width: 100%; background-color: var(--directorist-color-white); @@ -8902,8 +9581,8 @@ body.modal-overlay-enabled:before { line-height: 1.45; padding: 6px; text-decoration: none; - -webkit-transition: background-color 0.2s ease-in-out; - transition: background-color 0.2s ease-in-out; + -webkit-transition: 0.2s background-color ease-in-out; + transition: 0.2s background-color ease-in-out; background-color: var(--directorist-color-bg-light); } .directorist-modal__content @@ -8950,15 +9629,19 @@ body.modal-overlay-enabled:before { .directorist-form-element { resize: none; } + .directorist-modal__dialog.directorist-modal--lg { width: 800px; } + .directorist-modal__dialog.directorist-modal--xl { width: 1140px; } + .directorist-modal__dialog.directorist-modal--sm { width: 300px; } + .directorist-modal.directorist-fade { -webkit-transition: 0.3s ease; transition: 0.3s ease; @@ -8966,16 +9649,19 @@ body.modal-overlay-enabled:before { visibility: visible; z-index: 9999; } + .directorist-modal.directorist-fade:not(.directorist-show) { opacity: 0; visibility: hidden; } + .directorist-modal.directorist-show .directorist-modal__dialog { opacity: 1; visibility: visible; -webkit-transition: 0.3s ease; transition: 0.3s ease; } + .directorist-search-modal__overlay { position: fixed; top: 0; @@ -8995,8 +9681,8 @@ body.modal-overlay-enabled:before { height: 100%; background: rgba(var(--directorist-color-dark-rgb), 0.5); opacity: 1; - -webkit-transition: all 0.4s ease; - transition: all 0.4s ease; + -webkit-transition: all ease 0.4s; + transition: all ease 0.4s; } .directorist-search-modal__contents { position: fixed; @@ -9012,8 +9698,8 @@ body.modal-overlay-enabled:before { visibility: hidden; z-index: 9999; border-radius: 12px; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; background-color: var(--directorist-color-white); } @media only screen and (max-width: 575px) { @@ -9157,10 +9843,10 @@ body.modal-overlay-enabled:before { .directorist-search-field__input.directorist-form-element[type="date"], .directorist-search-modal__contents__body .directorist-search-field - .directorist-search-field__input.directorist-form-element[type="number"], + .directorist-search-field__input.directorist-form-element[type="time"], .directorist-search-modal__contents__body .directorist-search-field - .directorist-search-field__input.directorist-form-element[type="time"] { + .directorist-search-field__input.directorist-form-element[type="number"] { padding-left: 0; } .directorist-search-modal__contents__body .directorist-search-field__btn { @@ -9176,7 +9862,7 @@ body.modal-overlay-enabled:before { } .directorist-search-modal__contents__body .directorist-search-field__btn--clear - i:after { + i::after { width: 16px; height: 16px; background-color: #bcbcbc; @@ -9185,7 +9871,7 @@ body.modal-overlay-enabled:before { } .directorist-search-modal__contents__body .directorist-search-field__btn--clear:hover - i:after { + i::after { background-color: var(--directorist-color-primary); } .directorist-search-modal__contents__body @@ -9197,7 +9883,9 @@ body.modal-overlay-enabled:before { } .directorist-search-modal__contents__body .directorist-search-field.input-is-focused - .directorist-search-field__input[type="date"], + .directorist-search-field__input[type="date"] { + padding-left: 20px; +} .directorist-search-modal__contents__body .directorist-search-field.input-is-focused .directorist-search-field__input[type="time"] { @@ -9247,10 +9935,10 @@ body.modal-overlay-enabled:before { } .directorist-search-modal__contents__body .directorist-search-field.input-is-focused - .directorist-search-field__input, + .directorist-select, .directorist-search-modal__contents__body .directorist-search-field.input-is-focused - .directorist-select { + .directorist-search-field__input { position: relative; bottom: -5px; } @@ -9316,7 +10004,7 @@ body.modal-overlay-enabled:before { .directorist-search-field .directorist-filter-location-icon .directorist-icon-mask:after { - background-color: grey; + background-color: #808080; } .directorist-search-modal__contents__body .directorist-search-field @@ -9343,7 +10031,7 @@ body.modal-overlay-enabled:before { .directorist-icon-mask:after { width: 12px; height: 12px; - background-color: grey; + background-color: #808080; } .directorist-search-modal__contents__body .directorist-search-form-dropdown { border-bottom: 1px solid var(--directorist-color-border); @@ -9454,14 +10142,14 @@ body.modal-overlay-enabled:before { border: none; cursor: pointer; } -.directorist-search-modal__contents__btn i:after { +.directorist-search-modal__contents__btn i::after { width: 10px; height: 10px; - -webkit-transition: background-color 0.3s ease; - transition: background-color 0.3s ease; + -webkit-transition: background-color ease 0.3s; + transition: background-color ease 0.3s; background-color: var(--directorist-color-dark); } -.directorist-search-modal__contents__btn:hover i:after { +.directorist-search-modal__contents__btn:hover i::after { background-color: var(--directorist-color-danger); } @media only screen and (max-width: 575px) { @@ -9470,7 +10158,7 @@ body.modal-overlay-enabled:before { height: auto; background: transparent; } - .directorist-search-modal__contents__btn i:after { + .directorist-search-modal__contents__btn i::after { width: 12px; height: 12px; } @@ -9533,8 +10221,8 @@ body.modal-overlay-enabled:before { top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; width: 16px; height: 16px; -webkit-mask-position: center; @@ -9542,8 +10230,8 @@ body.modal-overlay-enabled:before { -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; background-color: var(--directorist-color-body); - -webkit-mask-image: url(../images/9ddfe727fdcddbb985d69ce2e9a06358.svg); - mask-image: url(../images/9ddfe727fdcddbb985d69ce2e9a06358.svg); + -webkit-mask-image: url(../js/../images/9ddfe727fdcddbb985d69ce2e9a06358.svg); + mask-image: url(../js/../images/9ddfe727fdcddbb985d69ce2e9a06358.svg); } .directorist-search-modal--basic .directorist-search-form-action__modal__btn-search { @@ -9553,7 +10241,7 @@ body.modal-overlay-enabled:before { } .directorist-search-modal--basic .directorist-search-form-action__modal__btn-search - i:after { + i::after { background-color: currentColor; } @media screen and (max-width: 575px) { @@ -9585,8 +10273,8 @@ body.modal-overlay-enabled:before { mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; - -webkit-mask-image: url(../images/447c512963a6e865700c065e70bb46b7.svg); - mask-image: url(../images/447c512963a6e865700c065e70bb46b7.svg); + -webkit-mask-image: url(../js/../images/447c512963a6e865700c065e70bb46b7.svg); + mask-image: url(../js/../images/447c512963a6e865700c065e70bb46b7.svg); opacity: 0; } .directorist-search-modal--basic @@ -9650,11 +10338,11 @@ body.modal-overlay-enabled:before { .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field - .directorist-search-field__input, + .directorist-select, .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field - .directorist-select { + .directorist-search-field__input { width: 100%; padding-left: 0; } @@ -9779,23 +10467,23 @@ body.modal-overlay-enabled:before { .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field.input-is-focused:not(.input-has-noLabel) - .directorist-filter-location-icon + .directorist-select ~ .directorist-search-field__btn--clear, .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field.input-is-focused:not(.input-has-noLabel) - .directorist-select + .directorist-filter-location-icon ~ .directorist-search-field__btn--clear { left: 5px !important; } .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field.input-is-focused:not(.input-has-noLabel) - .directorist-search-field__input, + .directorist-select, .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field.input-is-focused:not(.input-has-noLabel) - .directorist-select { + .directorist-search-field__input { padding-left: 0; } .directorist-search-modal--basic @@ -9864,32 +10552,32 @@ body.modal-overlay-enabled:before { } .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-has-value, + .directorist-search-field.input-is-focused, .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-is-focused { + .directorist-search-field.input-has-value { padding-left: 0; } .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-has-value + .directorist-search-field.input-is-focused .directorist-select, .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-is-focused + .directorist-search-field.input-has-value .directorist-select { width: 100%; } .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-has-value + .directorist-search-field.input-is-focused .directorist-select .select2-container .directorist-select2-addons-area .directorist-select2-dropdown-toggle, .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-is-focused + .directorist-search-field.input-has-value .directorist-select .select2-container .directorist-select2-addons-area @@ -9898,12 +10586,12 @@ body.modal-overlay-enabled:before { } .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-has-value + .directorist-search-field.input-is-focused .directorist-select ~ .directorist-search-field__btn--clear, .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-is-focused + .directorist-search-field.input-has-value .directorist-select ~ .directorist-search-field__btn--clear { left: 20px !important; @@ -9921,10 +10609,10 @@ body.modal-overlay-enabled:before { .directorist-search-modal--basic .open_now > label { display: none; } +.directorist-search-modal--basic .open_now .check-btn, .directorist-search-modal--basic .directorist-search-modal__input - .directorist-price-ranges, -.directorist-search-modal--basic .open_now .check-btn { + .directorist-price-ranges { padding: 10px 0; } .directorist-search-modal--basic @@ -9976,13 +10664,13 @@ body.modal-overlay-enabled:before { display: -ms-flexbox; display: flex; } -.directorist-search-modal--basic .directorist-search-field-price_range > label, .directorist-search-modal--basic .directorist-search-field-pricing > label, +.directorist-search-modal--basic .directorist-search-field__number > label, +.directorist-search-modal--basic .directorist-search-field-text_range > label, +.directorist-search-modal--basic .directorist-search-field-price_range > label, .directorist-search-modal--basic .directorist-search-field-radius_search - > label, -.directorist-search-modal--basic .directorist-search-field-text_range > label, -.directorist-search-modal--basic .directorist-search-field__number > label { + > label { position: unset; -webkit-transform: unset; transform: unset; @@ -10056,8 +10744,10 @@ body.modal-overlay-enabled:before { opacity: 1; } .directorist-search-modal--full .directorist-search-field-pricing > label, -.directorist-search-modal--full .directorist-search-field-radius_search > label, -.directorist-search-modal--full .directorist-search-field-text_range > label { +.directorist-search-modal--full .directorist-search-field-text_range > label, +.directorist-search-modal--full + .directorist-search-field-radius_search + > label { display: block; font-size: 16px; font-weight: 500; @@ -10076,8 +10766,8 @@ body.modal-overlay-enabled:before { border-radius: 8px; min-height: 40px; margin: 0 0 15px; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } .directorist-search-modal__input .directorist-select { display: -webkit-inline-box; @@ -10092,32 +10782,32 @@ body.modal-overlay-enabled:before { -ms-flex: 1; flex: 1; } +.directorist-search-modal__input .select2.select2-container .select2-selection, .directorist-search-modal__input .directorist-form-group .directorist-form-element, .directorist-search-modal__input .directorist-form-group - .directorist-form-element:focus, -.directorist-search-modal__input .select2.select2-container .select2-selection { - border: 0; + .directorist-form-element:focus { + border: 0 none; } .directorist-search-modal__input__btn { width: 0; padding: 0 10px; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } -.directorist-search-modal__input__btn .directorist-icon-mask:after { +.directorist-search-modal__input__btn .directorist-icon-mask::after { width: 14px; height: 14px; opacity: 0; visibility: hidden; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; background-color: var(--directorist-color-body); } .directorist-search-modal__input - .input-is-focused.directorist-search-query:after { + .input-is-focused.directorist-search-query::after { display: none; } .directorist-search-modal__input @@ -10323,7 +11013,7 @@ body.modal-overlay-enabled:before { i:after { width: 12px; height: 12px; - background-color: grey; + background-color: #808080; } @media screen and (max-width: 575px) { .directorist-search-modal @@ -10377,11 +11067,11 @@ body.modal-overlay-enabled:before { .directorist-search-modal .directorist-search-basic-dropdown .directorist-search-basic-dropdown-content - .directorist-checkbox-wrapper, + .directorist-radio-wrapper, .directorist-search-modal .directorist-search-basic-dropdown .directorist-search-basic-dropdown-content - .directorist-radio-wrapper { + .directorist-checkbox-wrapper { -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; @@ -10395,6 +11085,7 @@ body.modal-overlay-enabled:before { .select2-selection__placeholder { color: var(--directorist-color-dark); } + .directorist-content-active.directorist-overlay-active { overflow: hidden; } @@ -10402,15 +11093,54 @@ body.modal-overlay-enabled:before { .directorist-search-modal__input .select2.select2-container .select2-selection { - border: 0 !important; + border: 0 none !important; +} + +/* Responsive CSS */ +/* Large devices (desktops, 992px and up) */ +@media (min-width: 992px) and (max-width: 1199.98px) { + .at-modal-content.at-modal-xl, + .at-modal-content.at-modal-lg, + .at-modal-content.at-modal-md, + .at-modal-content.at-modal-sm { + width: calc(100% - 60px); + } +} +/* Medium devices (tablets, 768px and up) */ +@media (min-width: 768px) and (max-width: 991.98px) { + .at-modal-content.at-modal-xl, + .at-modal-content.at-modal-lg, + .at-modal-content.at-modal-md, + .at-modal-content.at-modal-sm { + width: calc(100% - 60px); + } +} +/* Small devices (landscape phones, 576px and up) */ +@media (min-width: 576px) and (max-width: 767.98px) { + .at-modal-content.at-modal-xl, + .at-modal-content.at-modal-lg, + .at-modal-content.at-modal-md, + .at-modal-content.at-modal-sm { + width: calc(100% - 60px); + } +} +/* Extra small devices (portrait phones, less than 576px) */ +@media (max-width: 575.98px) { + .at-modal-content.at-modal-xl, + .at-modal-content.at-modal-lg, + .at-modal-content.at-modal-md, + .at-modal-content.at-modal-sm { + width: calc(100% - 30px); + } } input:-webkit-autofill, -input:-webkit-autofill:active, +input:-webkit-autofill:hover, input:-webkit-autofill:focus, -input:-webkit-autofill:hover { +input:-webkit-autofill:active { -webkit-transition: background-color 5000s ease-in-out 0s !important; transition: background-color 5000s ease-in-out 0s !important; } + .directorist-content-active .directorist-card { border: none; padding: 0; @@ -10473,6 +11203,7 @@ input:-webkit-autofill:hover { .directorist-content-active .directorist-card__body p:empty { display: none; } + .directorist-color-picker-wrap .wp-color-result { text-decoration: none; margin: 0 0 0 6px !important; @@ -10496,6 +11227,7 @@ input:-webkit-autofill:hover { font-weight: 500; line-height: 2.4; } + .directorist-form-group { position: relative; width: 100%; @@ -10555,12 +11287,14 @@ input:-webkit-autofill:hover { -ms-flex-order: 2; order: 2; } + .directorist-advanced-filter__advanced__element .directorist-search-field.input-is-focused .directorist-form-group__with-prefix .directorist-search-field__input { padding-left: 0 !important; } + .directorist-form-group label { margin: 0; font-size: 14px; @@ -10596,6 +11330,7 @@ input:-webkit-autofill:hover { margin-top: 10px; color: var(--directorist-color-deep-gray); } + .directorist-form-element.directorist-form-element-lg { height: 50px; } @@ -10610,6 +11345,7 @@ input:-webkit-autofill:hover { height: 30px; line-height: 30px; } + .directorist-form-group.directorist-icon-left .directorist-input-icon { right: 0; } @@ -10651,12 +11387,15 @@ input:-webkit-autofill:hover { margin-top: 0; } } + .directorist-label { margin-bottom: 0; } + input.directorist-toggle-input { display: none; } + .directorist-toggle-input-label { display: -webkit-box; display: -webkit-flex; @@ -10671,6 +11410,7 @@ input.directorist-toggle-input { -ms-flex-pack: justify; justify-content: space-between; } + span.directorist-toggle-input-label-text { -webkit-box-flex: 1; -webkit-flex-grow: 1; @@ -10678,45 +11418,51 @@ span.directorist-toggle-input-label-text { flex-grow: 1; padding-left: 10px; } + span.directorist-toggle-input-label-icon { position: relative; + display: inline-block; width: 50px; height: 25px; border-radius: 30px; background-color: #d9d9d9; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } -span.directorist-toggle-input-label-icon, -span.directorist-toggle-input-label-icon:after { - display: inline-block; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; -} -span.directorist-toggle-input-label-icon:after { + +span.directorist-toggle-input-label-icon::after { content: ""; position: absolute; + display: inline-block; width: 15px; height: 15px; border-radius: 50%; background-color: var(--directorist-color-white); top: 50%; - -webkit-transform: translateY(-50%); - transform: translateY(-50%); + -webkit-transform: translate(0, -50%); + transform: translate(0, -50%); + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } + input.directorist-toggle-input:checked + .directorist-toggle-input-label span.directorist-toggle-input-label-icon { background-color: #4353ff; } + input.directorist-toggle-input:not(:checked) + .directorist-toggle-input-label - span.directorist-toggle-input-label-icon:after { + span.directorist-toggle-input-label-icon::after { right: 5px; } + input.directorist-toggle-input:checked + .directorist-toggle-input-label - span.directorist-toggle-input-label-icon:after { + span.directorist-toggle-input-label-icon::after { right: calc(100% - 20px); } + .directorist-tab-navigation { padding: 0; margin: 0 -10px 20px; @@ -10733,6 +11479,7 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; } + .directorist-tab-navigation-list-item { position: relative; list-style: none; @@ -10753,7 +11500,7 @@ input.directorist-toggle-input:checked color: var(--directorist-color-white); background-color: var(--directorist-color-primary); } -.directorist-tab-navigation-list-item.--is-active:after { +.directorist-tab-navigation-list-item.--is-active::after { content: ""; position: absolute; right: 50%; @@ -10763,13 +11510,14 @@ input.directorist-toggle-input:checked border-right: 10px solid transparent; border-left: 10px solid transparent; border-top: 10px solid var(--directorist-color-primary); - -webkit-transform: translate(50%); - transform: translate(50%); + -webkit-transform: translate(50%, 0); + transform: translate(50%, 0); } .directorist-tab-navigation-list-item .directorist-tab-navigation-list-item-link { margin: -15px -20px; } + .directorist-tab-navigation-list-item-link { position: relative; display: block; @@ -10780,8 +11528,8 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-bg-light); } .directorist-tab-navigation-list-item-link:active, -.directorist-tab-navigation-list-item-link:focus, -.directorist-tab-navigation-list-item-link:visited { +.directorist-tab-navigation-list-item-link:visited, +.directorist-tab-navigation-list-item-link:focus { outline: none; -webkit-box-shadow: none; box-shadow: none; @@ -10792,7 +11540,7 @@ input.directorist-toggle-input:checked color: var(--directorist-color-white); background-color: var(--directorist-color-primary); } -.directorist-tab-navigation-list-item-link.--is-active:after { +.directorist-tab-navigation-list-item-link.--is-active::after { content: ""; position: absolute; right: 50%; @@ -10802,34 +11550,47 @@ input.directorist-toggle-input:checked border-right: 10px solid transparent; border-left: 10px solid transparent; border-top: 10px solid var(--directorist-color-primary); - -webkit-transform: translate(50%); - transform: translate(50%); + -webkit-transform: translate(50%, 0); + transform: translate(50%, 0); } + .directorist-tab-content { display: none; } .directorist-tab-content.--is-active { display: block; } + .directorist-headline-4 { - margin: 0 0 15px; + margin: 0 0 15px 0; font-size: 15px; - font-weight: 400; + font-weight: normal; } + .directorist-label-addon-prepend { margin-left: 10px; } + .--is-hidden { display: none; } + .directorist-flex-center { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; } + .directorist-checkbox, -.directorist-flex-center, .directorist-radio { display: -webkit-box; display: -webkit-flex; @@ -11023,6 +11784,7 @@ input.directorist-toggle-input:checked opacity: 1; visibility: visible; } + .directorist-checkbox input[type="checkbox"] + .directorist-checkbox__label:before { @@ -11030,8 +11792,8 @@ input.directorist-toggle-input:checked right: 5px; top: 5px; content: ""; - -webkit-mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); - mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); + -webkit-mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); + mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 10px; @@ -11051,6 +11813,7 @@ input.directorist-toggle-input:checked right: 3px; } } + .directorist-radio input[type="radio"] + .directorist-radio__label:before { position: absolute; right: 5px; @@ -11059,7 +11822,7 @@ input.directorist-toggle-input:checked height: 8px; border-radius: 50%; background-color: var(--directorist-color-white); - border: 0; + border: 0 none; opacity: 0; visibility: hidden; z-index: 2; @@ -11081,14 +11844,15 @@ input.directorist-toggle-input:checked .directorist-radio.directorist-radio-circle input[type="radio"] + .directorist-radio__label:before { - -webkit-mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); - mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); + -webkit-mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); + mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 10px; height: 10px; background-color: var(--directorist-color-white); } + .directorist-checkbox.directorist-checkbox-circle input[type="checkbox"] + .directorist-checkbox__label:after, @@ -11115,6 +11879,7 @@ input.directorist-toggle-input:checked + .directorist-radio__label:after { border-radius: 50%; } + .directorist-checkbox.directorist-checkbox-primary input[type="checkbox"]:checked + .directorist-checkbox__label:after, @@ -11175,6 +11940,7 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-primary); border-color: var(--directorist-color-primary); } + .directorist-radio.directorist-radio-primary input[type="radio"]:checked + .directorist-radio__label:after { @@ -11208,6 +11974,7 @@ input.directorist-toggle-input:checked + .directorist-radio__label:before { background-color: #3e62f5 !important; } + .directorist-checkbox-rating { gap: 20px; width: 100%; @@ -11243,6 +12010,7 @@ input.directorist-toggle-input:checked height: 14px; margin-top: 1px; } + .directorist-radio.directorist-radio-theme-admin input[type="radio"] + .directorist-radio__label:before { @@ -11270,6 +12038,7 @@ input.directorist-toggle-input:checked .directorist-radio.directorist-radio-theme-admin .directorist-radio__label { padding-right: 35px !important; } + .directorist-checkbox.directorist-checkbox-theme-admin input[type="checkbox"] + .directorist-checkbox__label:before { @@ -11300,6 +12069,7 @@ input.directorist-toggle-input:checked .directorist-checkbox__label { padding-right: 35px !important; } + .directorist-content-active { -webkit-box-sizing: border-box; box-sizing: border-box; @@ -11436,13 +12206,6 @@ input.directorist-toggle-input:checked } } .directorist-content-active .directorist-author-profile__meta-list__item { - gap: 15px; - margin: 0; - padding: 18px 18px 18px 75px; - background-color: var(--directorist-color-bg-gray); -} -.directorist-content-active .directorist-author-profile__meta-list__item, -.directorist-content-active .directorist-author-profile__meta-list__item i { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -11451,9 +12214,22 @@ input.directorist-toggle-input:checked -webkit-align-items: center; -ms-flex-align: center; align-items: center; + gap: 15px; + padding: 18px; + margin: 0; + padding-left: 75px; border-radius: 10px; + background-color: var(--directorist-color-bg-gray); } .directorist-content-active .directorist-author-profile__meta-list__item i { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; @@ -11461,6 +12237,7 @@ input.directorist-toggle-input:checked width: 44px; height: 44px; background-color: var(--directorist-color-primary); + border-radius: 10px; } .directorist-content-active .directorist-author-profile__meta-list__item @@ -11675,7 +12452,7 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-author-info-list__item - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 15px; height: 15px; background-color: var(--directorist-color-deep-gray); @@ -11753,8 +12530,8 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-author-social__item a - .directorist-icon-mask:after { - background-color: grey; + .directorist-icon-mask::after { + background-color: #808080; -webkit-transition: 0.3s ease; transition: 0.3s ease; } @@ -11768,11 +12545,14 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-author-social__item a:hover - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } -.directorist-content-active .directorist-author-social__item a:hover span.fa, -.directorist-content-active .directorist-author-social__item a:hover span.la { +.directorist-content-active .directorist-author-social__item a:hover { + /* Legacy Icon */ +} +.directorist-content-active .directorist-author-social__item a:hover span.la, +.directorist-content-active .directorist-author-social__item a:hover span.fa { background: none; color: var(--directorist-color-white); } @@ -11791,13 +12571,13 @@ input.directorist-toggle-input:checked .directorist-author-info-widget--light .directorist-author-social-item, .directorist-content-active - .directorist-author-social--light + .directorist-single-author-info--light .directorist-author-social-item, .directorist-content-active .directorist-authors-section--light .directorist-author-social-item, .directorist-content-active - .directorist-single-author-info--light + .directorist-author-social--light .directorist-author-social-item { display: inline-block; margin: 0; @@ -11807,7 +12587,7 @@ input.directorist-toggle-input:checked .directorist-author-social-item a, .directorist-content-active - .directorist-author-social--light + .directorist-single-author-info--light .directorist-author-social-item a, .directorist-content-active @@ -11815,7 +12595,7 @@ input.directorist-toggle-input:checked .directorist-author-social-item a, .directorist-content-active - .directorist-single-author-info--light + .directorist-author-social--light .directorist-author-social-item a { font-size: 15px; @@ -11840,8 +12620,8 @@ input.directorist-toggle-input:checked border-radius: 4px; color: var(--directorist-color-white); overflow: hidden; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .directorist-content-active .directorist-author-info-widget--light @@ -11849,7 +12629,7 @@ input.directorist-toggle-input:checked a .directorist-icon-mask:after, .directorist-content-active - .directorist-author-social--light + .directorist-single-author-info--light .directorist-author-social-item a .directorist-icon-mask:after, @@ -11859,7 +12639,7 @@ input.directorist-toggle-input:checked a .directorist-icon-mask:after, .directorist-content-active - .directorist-single-author-info--light + .directorist-author-social--light .directorist-author-social-item a .directorist-icon-mask:after { @@ -11870,7 +12650,7 @@ input.directorist-toggle-input:checked .directorist-author-social-item a:hover, .directorist-content-active - .directorist-author-social--light + .directorist-single-author-info--light .directorist-author-social-item a:hover, .directorist-content-active @@ -11878,7 +12658,7 @@ input.directorist-toggle-input:checked .directorist-author-social-item a:hover, .directorist-content-active - .directorist-single-author-info--light + .directorist-author-social--light .directorist-author-social-item a:hover { background-color: var(--directorist-color-primary); @@ -11889,7 +12669,7 @@ input.directorist-toggle-input:checked a:hover .directorist-icon-mask:after, .directorist-content-active - .directorist-author-social--light + .directorist-single-author-info--light .directorist-author-social-item a:hover .directorist-icon-mask:after, @@ -11899,7 +12679,7 @@ input.directorist-toggle-input:checked a:hover .directorist-icon-mask:after, .directorist-content-active - .directorist-single-author-info--light + .directorist-author-social--light .directorist-author-social-item a:hover .directorist-icon-mask:after { @@ -11989,7 +12769,7 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-author-listing-top .directorist-type-nav__link:hover - i:after { + i::after { background-color: var(--directorist-color-primary); } .directorist-content-active @@ -12015,7 +12795,7 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-author-listing-top .directorist-type-nav__list__current - i:after { + i::after { background-color: var(--directorist-color-primary); } .directorist-content-active @@ -12040,8 +12820,8 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-author-listing-top .directorist-dropdown__toggle:after { - -webkit-mask-image: url(../images/87cd0434594c4fe6756c2af1404a5f32.svg); - mask-image: url(../images/87cd0434594c4fe6756c2af1404a5f32.svg); + -webkit-mask-image: url(../js/../images/87cd0434594c4fe6756c2af1404a5f32.svg); + mask-image: url(../js/../images/87cd0434594c4fe6756c2af1404a5f32.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 16px; @@ -12071,6 +12851,8 @@ input.directorist-toggle-input:checked .directorist-type-nav { background: none; } + +/* category style three */ .directorist-category-child__card { border: 1px solid #eee; border-radius: 4px; @@ -12129,6 +12911,8 @@ input.directorist-toggle-input:checked .directorist-category-child__card__body li a span { color: var(--directorist-color-body); } + +/* All listing archive page styles */ .directorist-archive-contents { -webkit-box-sizing: border-box; box-sizing: border-box; @@ -12157,6 +12941,8 @@ input.directorist-toggle-input:checked display: none; } } + +/* Directory type nav */ .directorist-content-active .directorist-type-nav__link { position: relative; display: -webkit-box; @@ -12186,7 +12972,7 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-type-nav__link:hover - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-primary); } .directorist-content-active .directorist-type-nav__link:focus { @@ -12198,7 +12984,7 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-type-nav__link - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 22px; height: 20px; background-color: var(--directorist-color-body); @@ -12271,13 +13057,15 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-type-nav__list .current - .directorist-icon-mask:after, + .directorist-icon-mask::after, .directorist-content-active .directorist-type-nav__list .directorist-type-nav__list__current - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-primary); } + +/* Archive header bar contents */ .directorist-content-active .directorist-archive-contents__top .directorist-type-nav { @@ -12342,12 +13130,19 @@ input.directorist-toggle-input:checked color: var(--directorist-color-body); } .directorist-content-active .directorist-listings-header__left { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; gap: 15px; } -.directorist-content-active .directorist-listings-header__left, .directorist-content-active .directorist-listings-header__left .directorist-filter-btn { @@ -12359,10 +13154,6 @@ input.directorist-toggle-input:checked -webkit-align-items: center; -ms-flex-align: center; align-items: center; -} -.directorist-content-active - .directorist-listings-header__left - .directorist-filter-btn { gap: 5px; font-size: 14px; font-weight: 400; @@ -12372,13 +13163,13 @@ input.directorist-toggle-input:checked padding: 0 20px; border-radius: 8px; cursor: pointer; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } .directorist-content-active .directorist-listings-header__left .directorist-filter-btn - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 14px; height: 14px; margin-left: 2px; @@ -12447,14 +13238,8 @@ input.directorist-toggle-input:checked .directorist-archive-notfound { padding: 15px; } + .directorist-viewas { - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - gap: 8px; -} -.directorist-viewas, -.directorist-viewas__item { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -12463,12 +13248,24 @@ input.directorist-toggle-input:checked -webkit-align-items: center; -ms-flex-align: center; align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + gap: 8px; } .directorist-viewas__item { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-box-sizing: border-box; box-sizing: border-box; width: 40px; @@ -12478,7 +13275,7 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-light); color: var(--directorist-color-body); } -.directorist-viewas__item i:after { +.directorist-viewas__item i::after { width: 16px; height: 16px; background-color: var(--directorist-color-body); @@ -12487,7 +13284,7 @@ input.directorist-toggle-input:checked border-color: var(--directorist-color-primary); background-color: var(--directorist-color-primary); } -.directorist-viewas__item.active i:after { +.directorist-viewas__item.active i::after { background-color: var(--directorist-color-white); } @media only screen and (max-width: 575px) { @@ -12495,6 +13292,7 @@ input.directorist-toggle-input:checked display: none; } } + .listing-with-sidebar { display: -webkit-box; display: -webkit-flex; @@ -12621,13 +13419,13 @@ input.directorist-toggle-input:checked .directorist-search-field__input { bottom: 0; } -.listing-with-sidebar__searchform .directorist-search-field-price_range > label, .listing-with-sidebar__searchform .directorist-search-field-pricing > label, +.listing-with-sidebar__searchform .directorist-search-field__number > label, +.listing-with-sidebar__searchform .directorist-search-field-text_range > label, +.listing-with-sidebar__searchform .directorist-search-field-price_range > label, .listing-with-sidebar__searchform .directorist-search-field-radius_search - > label, -.listing-with-sidebar__searchform .directorist-search-field-text_range > label, -.listing-with-sidebar__searchform .directorist-search-field__number > label { + > label { position: unset; -webkit-transform: unset; transform: unset; @@ -12649,6 +13447,7 @@ input.directorist-toggle-input:checked } .listing-with-sidebar__header .directorist-archive-sidebar-toggle { width: auto; + padding: 0 20px; font-size: 14px; font-weight: 400; min-height: 40px; @@ -12669,7 +13468,7 @@ input.directorist-toggle-input:checked } .listing-with-sidebar__header .directorist-archive-sidebar-toggle - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: currentColor; width: 14px; height: 14px; @@ -12692,7 +13491,7 @@ input.directorist-toggle-input:checked } .listing-with-sidebar__header .directorist-archive-sidebar-toggle--active - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .listing-with-sidebar__sidebar { @@ -12725,7 +13524,7 @@ input.directorist-toggle-input:checked right: -360px; top: 0; height: 100svh; - background-color: #fff; + background-color: white; z-index: 9999; overflow: auto; -webkit-box-shadow: 0 10px 15px @@ -12840,11 +13639,11 @@ input.directorist-toggle-input:checked } .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element - .directorist-search-field.directorist-search-field-price_range + .directorist-search-field.directorist-search-field-radius_search > label, .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element - .directorist-search-field.directorist-search-field-radius_search + .directorist-search-field.directorist-search-field-price_range > label, .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element @@ -12863,38 +13662,38 @@ input.directorist-toggle-input:checked .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-checkbox-wrapper, + .directorist-search-tags, .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-radio-wrapper, + .directorist-search-review, .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-search-review, + .directorist-radio-wrapper, .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-search-tags { + .directorist-checkbox-wrapper { margin-top: 13px; } @media only screen and (max-width: 575px) { .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-checkbox-wrapper, + .directorist-search-tags, .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-radio-wrapper, + .directorist-search-review, .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-search-review, + .directorist-radio-wrapper, .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-search-tags { + .directorist-checkbox-wrapper { margin-top: 5px; } } @@ -12980,7 +13779,7 @@ input.directorist-toggle-input:checked } .listing-with-sidebar__sidebar .directorist-price-ranges__price-frequency__btn:last-child { - border: 0; + border: 0 none; } .listing-with-sidebar__sidebar .directorist-checkbox-wrapper, .listing-with-sidebar__sidebar .directorist-radio-wrapper, @@ -13162,8 +13961,8 @@ input.directorist-toggle-input:checked -ms-flex-direction: column; flex-direction: column; } -.listing-with-sidebar__listing .directorist-archive-items, -.listing-with-sidebar__listing .directorist-header-bar { +.listing-with-sidebar__listing .directorist-header-bar, +.listing-with-sidebar__listing .directorist-archive-items { width: 100%; display: -webkit-box; display: -webkit-flex; @@ -13171,10 +13970,10 @@ input.directorist-toggle-input:checked display: flex; } .listing-with-sidebar__listing - .directorist-archive-items + .directorist-header-bar .directorist-container-fluid, .listing-with-sidebar__listing - .directorist-header-bar + .directorist-archive-items .directorist-container-fluid { padding: 0; } @@ -13251,6 +14050,7 @@ input.directorist-toggle-input:checked left: -15px; } } + @media only screen and (max-width: 991px) { .logged-in .listing-with-sidebar__sidebar .directorist-search-form__box { padding-top: 30px; @@ -13266,14 +14066,18 @@ input.directorist-toggle-input:checked padding-top: 0; } } + .directorist-advanced-filter__basic { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; } -.directorist-advanced-filter__basic, .directorist-advanced-filter__basic__element { display: -webkit-box; display: -webkit-flex; @@ -13412,9 +14216,9 @@ input.directorist-toggle-input:checked .directorist-advanced-filter__advanced__element { overflow: hidden; } -.directorist-advanced-filter__advanced__element.directorist-search-field-category - .directorist-search-field.input-is-focused, .directorist-advanced-filter__advanced__element.directorist-search-field-location + .directorist-search-field.input-is-focused, +.directorist-advanced-filter__advanced__element.directorist-search-field-category .directorist-search-field.input-is-focused { margin-top: 0; } @@ -13533,7 +14337,9 @@ input.directorist-toggle-input:checked } .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-search-field__input[type="date"], + .directorist-search-field__input[type="date"] { + padding-left: 0; +} .directorist-advanced-filter__advanced__element .directorist-search-field .directorist-search-field__input[type="time"] { @@ -13596,7 +14402,9 @@ input.directorist-toggle-input:checked } .directorist-advanced-filter__advanced__element .directorist-search-field.input-is-focused - .directorist-search-field__input[type="date"], + .directorist-search-field__input[type="date"] { + padding-left: 20px; +} .directorist-advanced-filter__advanced__element .directorist-search-field.input-is-focused .directorist-search-field__input[type="time"] { @@ -13628,10 +14436,10 @@ input.directorist-toggle-input:checked opacity: 1; } .directorist-advanced-filter__advanced__element - .directorist-search-field.directorist-search-field-price_range + .directorist-search-field.directorist-search-field-radius_search > label, .directorist-advanced-filter__advanced__element - .directorist-search-field.directorist-search-field-radius_search + .directorist-search-field.directorist-search-field-price_range > label, .directorist-advanced-filter__advanced__element .directorist-search-field.directorist-search-field-text_range @@ -13758,32 +14566,32 @@ input.directorist-toggle-input:checked margin: 0; color: var(--directorist-color-dark); } +.directorist-advanced-filter__advanced__element.directorist-search-field-tag, +.directorist-advanced-filter__advanced__element.directorist-search-field-radio, +.directorist-advanced-filter__advanced__element.directorist-search-field-review, .directorist-advanced-filter__advanced__element.directorist-search-field-checkbox, -.directorist-advanced-filter__advanced__element.directorist-search-field-color_picker, .directorist-advanced-filter__advanced__element.directorist-search-field-location, .directorist-advanced-filter__advanced__element.directorist-search-field-pricing, -.directorist-advanced-filter__advanced__element.directorist-search-field-radio, -.directorist-advanced-filter__advanced__element.directorist-search-field-review, -.directorist-advanced-filter__advanced__element.directorist-search-field-tag { +.directorist-advanced-filter__advanced__element.directorist-search-field-color_picker { overflow: visible; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } -.directorist-advanced-filter__advanced__element.directorist-search-field-checkbox +.directorist-advanced-filter__advanced__element.directorist-search-field-tag .directorist-search-field, -.directorist-advanced-filter__advanced__element.directorist-search-field-color_picker +.directorist-advanced-filter__advanced__element.directorist-search-field-radio .directorist-search-field, -.directorist-advanced-filter__advanced__element.directorist-search-field-location +.directorist-advanced-filter__advanced__element.directorist-search-field-review .directorist-search-field, -.directorist-advanced-filter__advanced__element.directorist-search-field-pricing +.directorist-advanced-filter__advanced__element.directorist-search-field-checkbox .directorist-search-field, -.directorist-advanced-filter__advanced__element.directorist-search-field-radio +.directorist-advanced-filter__advanced__element.directorist-search-field-location .directorist-search-field, -.directorist-advanced-filter__advanced__element.directorist-search-field-review +.directorist-advanced-filter__advanced__element.directorist-search-field-pricing .directorist-search-field, -.directorist-advanced-filter__advanced__element.directorist-search-field-tag +.directorist-advanced-filter__advanced__element.directorist-search-field-color_picker .directorist-search-field { width: 100%; } @@ -13860,6 +14668,7 @@ input.directorist-toggle-input:checked margin-top: 10px; } } + .directorist-search-field-radius_search { position: relative; } @@ -13869,6 +14678,7 @@ input.directorist-toggle-input:checked left: 0; top: 0; } + .directorist-search-field-review .directorist-checkbox { display: block; width: auto; @@ -13948,46 +14758,55 @@ input.directorist-toggle-input:checked } .directorist-search-field-review .directorist-checkbox - input[value="1"] + input[value="5"] + label - .directorist-icon-mask:first-child:after, + .directorist-icon-mask:after { + background-color: var(--directorist-color-star); +} .directorist-search-field-review .directorist-checkbox - input[value="2"] + input[value="4"] + label - .directorist-icon-mask:first-child:after, + .directorist-icon-mask:not(:nth-child(5)):after { + background-color: var(--directorist-color-star); +} .directorist-search-field-review .directorist-checkbox - input[value="2"] + input[value="3"] + label - .directorist-icon-mask:nth-child(2):after, + .directorist-icon-mask:nth-child(1):after, .directorist-search-field-review .directorist-checkbox input[value="3"] + label - .directorist-icon-mask:first-child:after, + .directorist-icon-mask:nth-child(2):after, .directorist-search-field-review .directorist-checkbox input[value="3"] + label - .directorist-icon-mask:nth-child(2):after, + .directorist-icon-mask:nth-child(3):after { + background-color: var(--directorist-color-star); +} .directorist-search-field-review .directorist-checkbox - input[value="3"] + input[value="2"] + label - .directorist-icon-mask:nth-child(3):after, + .directorist-icon-mask:nth-child(1):after, .directorist-search-field-review .directorist-checkbox - input[value="4"] + input[value="2"] + label - .directorist-icon-mask:not(:nth-child(5)):after, + .directorist-icon-mask:nth-child(2):after { + background-color: var(--directorist-color-star); +} .directorist-search-field-review .directorist-checkbox - input[value="5"] + input[value="1"] + label - .directorist-icon-mask:after { + .directorist-icon-mask:nth-child(1):after { background-color: var(--directorist-color-star); } + .directorist-search-field .directorist-price-ranges { display: -webkit-box; display: -webkit-flex; @@ -14056,7 +14875,7 @@ input.directorist-toggle-input:checked -webkit-flex: 1; -ms-flex: 1; flex: 1; - border: 0 !important; + border: 0 none !important; } .directorist-search-field .directorist-price-ranges__item.directorist-form-group:focus-within { @@ -14174,18 +14993,25 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-white); } } + .directorist-search-field { font-size: 15px; } -.directorist-search-field .wp-picker-container .wp-color-result, -.directorist-search-field .wp-picker-container .wp-picker-clear { +.directorist-search-field .wp-picker-container .wp-picker-clear, +.directorist-search-field .wp-picker-container .wp-color-result { + position: relative; + height: 40px; + border: 0 none; + width: 140px; + -webkit-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; + border-radius: 3px; text-decoration: none; } -.directorist-search-field .wp-picker-container .wp-color-result, -.directorist-search-field .wp-picker-container .wp-picker-clear { +.directorist-search-field .wp-picker-container .wp-color-result { position: relative; height: 40px; - border: 0; + border: 0 none; width: 140px; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; @@ -14218,6 +15044,7 @@ input.directorist-toggle-input:checked position: absolute; z-index: 22; } + .check-btn { display: -webkit-box; display: -webkit-flex; @@ -14276,40 +15103,46 @@ input.directorist-toggle-input:checked display: none; } .check-btn label span:before { + position: absolute; right: 23px; - -webkit-mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); - mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); + top: 50%; + -webkit-transform: translateY(-50%); + transform: translateY(-50%); + content: ""; + -webkit-mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); + mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 10px; height: 10px; + background-color: var(--directorist-color-white); display: block; opacity: 0; -webkit-transition: all 0.3s ease 0s; transition: all 0.3s ease 0s; z-index: 2; } -.check-btn label span:after, -.check-btn label span:before { +.check-btn label span:after { position: absolute; + right: 18px; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); - content: ""; - background-color: var(--directorist-color-white); -} -.check-btn label span:after { - right: 18px; width: 16px; height: 16px; border-radius: 5px; + content: ""; border: 2px solid #d9d9d9; + background-color: var(--directorist-color-white); -webkit-box-sizing: content-box; box-sizing: content-box; } + +/* google map location suggestion container */ .pac-container { z-index: 99999; } + .directorist-search-top { text-align: center; margin-bottom: 34px; @@ -14326,10 +15159,12 @@ input.directorist-toggle-input:checked opacity: 0.8; text-align: center; } + .directorist-search-contents { background-size: cover; padding: 100px 0 120px; } + .directorist-search-field__label { position: absolute; right: 0; @@ -14412,14 +15247,14 @@ input.directorist-toggle-input:checked opacity: 0; visibility: hidden; } -.directorist-search-field__btn--clear i:after { +.directorist-search-field__btn--clear i::after { width: 16px; height: 16px; background-color: #bcbcbc; -webkit-transition: background-color 0.3s ease; transition: background-color 0.3s ease; } -.directorist-search-field__btn--clear:hover i:after { +.directorist-search-field__btn--clear:hover i::after { background-color: var(--directorist-color-primary); } @media screen and (max-width: 575px) { @@ -14487,12 +15322,12 @@ input.directorist-toggle-input:checked .directorist-search-field.input-has-value .directorist-search-field__btn--clear, .directorist-search-field.input-has-value .directorist-search-field__btn - i:after, + i::after, .directorist-search-field.input-is-focused .directorist-search-field__btn--clear, .directorist-search-field.input-is-focused .directorist-search-field__btn - i:after { + i::after { opacity: 1; visibility: visible; } @@ -14522,40 +15357,40 @@ input.directorist-toggle-input:checked .directorist-search-field__input { bottom: 0; } -.directorist-search-field.input-has-value .directorist-search-field__input, .directorist-search-field.input-has-value .directorist-select, -.directorist-search-field.input-is-focused .directorist-search-field__input, -.directorist-search-field.input-is-focused .directorist-select { +.directorist-search-field.input-has-value .directorist-search-field__input, +.directorist-search-field.input-is-focused .directorist-select, +.directorist-search-field.input-is-focused .directorist-search-field__input { position: relative; bottom: -5px; } +.directorist-search-field.input-has-value.input-has-noLabel .directorist-select, .directorist-search-field.input-has-value.input-has-noLabel .directorist-search-field__input, -.directorist-search-field.input-has-value.input-has-noLabel .directorist-select, .directorist-search-field.input-is-focused.input-has-noLabel - .directorist-search-field__input, + .directorist-select, .directorist-search-field.input-is-focused.input-has-noLabel - .directorist-select { + .directorist-search-field__input { bottom: 0; margin-top: 0 !important; } -.directorist-search-field.input-has-value.directorist-color - .directorist-search-field__label, .directorist-search-field.input-has-value.directorist-date .directorist-search-field__label, +.directorist-search-field.input-has-value.directorist-time + .directorist-search-field__label, +.directorist-search-field.input-has-value.directorist-color + .directorist-search-field__label, .directorist-search-field.input-has-value .directorist-select .directorist-search-field__label, -.directorist-search-field.input-has-value.directorist-time +.directorist-search-field.input-is-focused.directorist-date .directorist-search-field__label, -.directorist-search-field.input-is-focused.directorist-color +.directorist-search-field.input-is-focused.directorist-time .directorist-search-field__label, -.directorist-search-field.input-is-focused.directorist-date +.directorist-search-field.input-is-focused.directorist-color .directorist-search-field__label, .directorist-search-field.input-is-focused .directorist-select - .directorist-search-field__label, -.directorist-search-field.input-is-focused.directorist-time .directorist-search-field__label { opacity: 1; } @@ -14587,31 +15422,32 @@ input.directorist-toggle-input:checked .directorist-icon-mask:after { background-color: var(--directorist-color-dark); } -.directorist-search-field.directorist-color .directorist-search-field__label, .directorist-search-field.directorist-date .directorist-search-field__label, -.directorist-search-field .directorist-select .directorist-search-field__label, -.directorist-search-field.directorist-time .directorist-search-field__label { +.directorist-search-field.directorist-time .directorist-search-field__label, +.directorist-search-field.directorist-color .directorist-search-field__label, +.directorist-search-field .directorist-select .directorist-search-field__label { opacity: 0; } .directorist-search-field - .directorist-filter-location-icon + .directorist-select ~ .directorist-search-field__btn--clear, .directorist-search-field - .directorist-select + .directorist-filter-location-icon ~ .directorist-search-field__btn--clear { left: 25px; } +.directorist-search-field .directorist-select .directorist-icon-mask:after, .directorist-search-field .directorist-filter-location-icon - .directorist-icon-mask:after, -.directorist-search-field .directorist-select .directorist-icon-mask:after { - background-color: grey; + .directorist-icon-mask:after { + background-color: #808080; } .directorist-search-field .directorist-filter-location-icon ~ .directorist-search-field__btn--clear { bottom: 8px; } + .directorist-preload .directorist-search-form-top .directorist-search-field__label @@ -14619,6 +15455,7 @@ input.directorist-toggle-input:checked opacity: 0; pointer-events: none; } + .directorist-search-form__box { display: -webkit-box; display: -webkit-flex; @@ -14728,10 +15565,10 @@ input.directorist-toggle-input:checked .directorist-search-modal__contents__body .directorist-search-modal__input .directorist-search-field { - border: 0; + border: 0 none; } .directorist-search-form__top - .directorist-search-modal__input:not(:last-child) + .directorist-search-modal__input:not(:nth-last-child(1)) .directorist-search-field { border-left: 1px solid var(--directorist-color-border); } @@ -14788,15 +15625,15 @@ input.directorist-toggle-input:checked left: 30px; } .directorist-search-form__top - .directorist-search-modal__input:focus-within + .directorist-search-modal__input:focus .directorist-select2-dropdown-toggle, .directorist-search-form__top - .directorist-search-modal__input:focus + .directorist-search-modal__input:focus-within .directorist-select2-dropdown-toggle { display: block; } - .directorist-search-form__top .directorist-search-category, - .directorist-search-form__top .directorist-select { + .directorist-search-form__top .directorist-select, + .directorist-search-form__top .directorist-search-category { width: calc(100% + 15px); } } @@ -14818,7 +15655,10 @@ input.directorist-toggle-input:checked } .directorist-search-form__top .directorist-search-form__single-category - .directorist-category-select, + .directorist-category-select { + opacity: 0.6; + pointer-events: none; +} .directorist-search-form__top .directorist-search-form__single-category .directorist-category-select @@ -14837,7 +15677,10 @@ input.directorist-toggle-input:checked } .directorist-search-form__top .directorist-search-form__single-location - .directorist-location-select, + .directorist-location-select { + opacity: 0.6; + pointer-events: none; +} .directorist-search-form__top .directorist-search-form__single-location .directorist-location-select @@ -14981,33 +15824,33 @@ input.directorist-toggle-input:checked } .directorist-search-form__top .directorist-search-field.input-has-value - .directorist-filter-location-icon, + .directorist-select, .directorist-search-form__top .directorist-search-field.input-has-value - .directorist-select, + .directorist-filter-location-icon, .directorist-search-form__top .directorist-search-field.input-is-focused - .directorist-filter-location-icon, + .directorist-select, .directorist-search-form__top .directorist-search-field.input-is-focused - .directorist-select { + .directorist-filter-location-icon { margin-top: 3px; } .directorist-search-form__top .directorist-search-field.input-has-value - .directorist-filter-location-icon + .directorist-select ~ .directorist-search-field__btn--clear, .directorist-search-form__top .directorist-search-field.input-has-value - .directorist-select + .directorist-filter-location-icon ~ .directorist-search-field__btn--clear, .directorist-search-form__top .directorist-search-field.input-is-focused - .directorist-filter-location-icon + .directorist-select ~ .directorist-search-field__btn--clear, .directorist-search-form__top .directorist-search-field.input-is-focused - .directorist-select + .directorist-filter-location-icon ~ .directorist-search-field__btn--clear { left: 38px; bottom: 8px; @@ -15096,10 +15939,10 @@ input.directorist-toggle-input:checked .directorist-search-form__top .directorist-search-field .directorist-form-element { + border: 0 none; background-color: transparent; -webkit-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; - border: 0; border-bottom: 2px solid transparent; } .directorist-search-form__top @@ -15111,7 +15954,7 @@ input.directorist-toggle-input:checked .directorist-search-form__top .directorist-search-field .directorist-form-element { - border: 0; + border: 0 none; border-radius: 0; overflow: hidden; -ms-text-overflow: ellipsis; @@ -15133,7 +15976,9 @@ input.directorist-toggle-input:checked .directorist-search-form__top .directorist-search-field .directorist-price-ranges__item - .directorist-form-element, + .directorist-form-element { + border: none !important; +} .directorist-search-form__top .directorist-search-field .directorist-price-ranges__item @@ -15148,12 +15993,12 @@ input.directorist-toggle-input:checked .directorist-search-form__top .directorist-search-field .directorist-select - .directorist-select__label, + select, .directorist-search-form__top .directorist-search-field .directorist-select - select { - border: 0; + .directorist-select__label { + border: 0 none; } .directorist-search-form__top .directorist-search-field .wp-picker-container { display: -webkit-box; @@ -15283,8 +16128,8 @@ input.directorist-toggle-input:checked mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; - -webkit-mask-image: url(../images/447c512963a6e865700c065e70bb46b7.svg); - mask-image: url(../images/447c512963a6e865700c065e70bb46b7.svg); + -webkit-mask-image: url(../js/../images/447c512963a6e865700c065e70bb46b7.svg); + mask-image: url(../js/../images/447c512963a6e865700c065e70bb46b7.svg); opacity: 0; } .directorist-search-form__top .directorist-search-field__btn { @@ -15296,7 +16141,7 @@ input.directorist-toggle-input:checked -webkit-transition: all 0.3s ease; transition: all 0.3s ease; } - .directorist-search-form__top .directorist-search-field__btn i:after { + .directorist-search-form__top .directorist-search-field__btn i::after { width: 14px; height: 14px; } @@ -15418,11 +16263,11 @@ input.directorist-toggle-input:checked .directorist-search-form__top .directorist-search-field.input-has-value .directorist-search-field__btn - i:after, + i::after, .directorist-search-form__top .directorist-search-field.input-is-focused .directorist-search-field__btn - i:after { + i::after { width: 14px; height: 14px; opacity: 1; @@ -15440,19 +16285,19 @@ input.directorist-toggle-input:checked } .directorist-search-form__top .directorist-search-field.input-has-value - .directorist-filter-location-icon + .directorist-select ~ .directorist-search-field__btn--clear, .directorist-search-form__top .directorist-search-field.input-has-value - .directorist-select + .directorist-filter-location-icon ~ .directorist-search-field__btn--clear, .directorist-search-form__top .directorist-search-field.input-is-focused - .directorist-filter-location-icon + .directorist-select ~ .directorist-search-field__btn--clear, .directorist-search-form__top .directorist-search-field.input-is-focused - .directorist-select + .directorist-filter-location-icon ~ .directorist-search-field__btn--clear { bottom: 12px; top: unset; @@ -15461,16 +16306,16 @@ input.directorist-toggle-input:checked } .directorist-search-form__top .directorist-search-field.input-has-value - .directorist-search-field__input, + .directorist-select, .directorist-search-form__top .directorist-search-field.input-has-value - .directorist-select, + .directorist-search-field__input, .directorist-search-form__top .directorist-search-field.input-is-focused - .directorist-search-field__input, + .directorist-select, .directorist-search-form__top .directorist-search-field.input-is-focused - .directorist-select { + .directorist-search-field__input { padding-left: 0; } .directorist-search-form__top @@ -15580,7 +16425,7 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; padding: 5px 0; - border: 0 !important; + border: 0 none !important; width: calc(100% - 15px); } .directorist-search-form__top @@ -15613,7 +16458,7 @@ input.directorist-toggle-input:checked .directorist-icon-mask:after { width: 12px; height: 12px; - background-color: grey; + background-color: #808080; } .directorist-search-form__top .select2-container @@ -15627,8 +16472,8 @@ input.directorist-toggle-input:checked padding: 0; width: auto; } -.directorist-search-form__top input[type="number"]::-webkit-inner-spin-button, -.directorist-search-form__top input[type="number"]::-webkit-outer-spin-button { +.directorist-search-form__top input[type="number"]::-webkit-outer-spin-button, +.directorist-search-form__top input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; appearance: none; margin: 0; @@ -15691,14 +16536,14 @@ input.directorist-toggle-input:checked .directorist-search-form__top .directorist-search-form-dropdown.input-has-value .directorist-search-field__btn - i:after, + i::after, .directorist-search-form__top .directorist-search-form-dropdown.input-is-focused .directorist-search-field__btn--clear, .directorist-search-form__top .directorist-search-form-dropdown.input-is-focused .directorist-search-field__btn - i:after { + i::after { opacity: 1; visibility: visible; } @@ -15825,7 +16670,7 @@ input.directorist-toggle-input:checked i:after { width: 12px; height: 12px; - background-color: grey; + background-color: #808080; } @media screen and (max-width: 575px) { .directorist-search-form__top @@ -15862,7 +16707,7 @@ input.directorist-toggle-input:checked .directorist-search-form__top .directorist-search-basic-dropdown .directorist-search-basic-dropdown-content - .directorist-checkbox-wrapper, + .directorist-search-tags, .directorist-search-form__top .directorist-search-basic-dropdown .directorist-search-basic-dropdown-content @@ -15870,7 +16715,7 @@ input.directorist-toggle-input:checked .directorist-search-form__top .directorist-search-basic-dropdown .directorist-search-basic-dropdown-content - .directorist-search-tags { + .directorist-checkbox-wrapper { gap: 12px; } .directorist-search-form__top @@ -15904,6 +16749,7 @@ input.directorist-toggle-input:checked ~ .directorist-search-field__btn--clear { bottom: 12px; } + .directorist-search-form-action { display: -webkit-box; display: -webkit-flex; @@ -15945,7 +16791,7 @@ input.directorist-toggle-input:checked } .directorist-search-form-action__filter .directorist-filter-btn - .directorist-icon-mask:after { + .directorist-icon-mask::after { height: 12px; width: 14px; background-color: var(--directorist-color-btn-primary-bg); @@ -15973,7 +16819,7 @@ input.directorist-toggle-input:checked } .directorist-search-form-action__submit .directorist-btn-search - .directorist-icon-mask:after { + .directorist-icon-mask::after { height: 16px; width: 16px; background-color: var(--directorist-color-white); @@ -16020,7 +16866,7 @@ input.directorist-toggle-input:checked -ms-flex: 1; flex: 1; } -.directorist-search-form-action__modal__btn-search i:after { +.directorist-search-form-action__modal__btn-search i::after { width: 16px; height: 16px; -webkit-transform: rotate(-270deg); @@ -16045,6 +16891,7 @@ input.directorist-toggle-input:checked height: 16px; width: 16px; } + .atbdp-form-fade { position: relative; border-radius: 8px; @@ -16066,7 +16913,7 @@ input.directorist-toggle-input:checked width: 25px; height: 25px; border: 2px solid var(--directorist-color-primary); - border-top: 2px solid transparent; + border-top-color: transparent; border-radius: 50%; right: 50%; top: 50%; @@ -16087,6 +16934,7 @@ input.directorist-toggle-input:checked background: rgba(var(--directorist-color-primary-rgb), 0.3); z-index: 9998; } + .directorist-on-scroll-loading { display: -webkit-box; display: -webkit-flex; @@ -16114,9 +16962,10 @@ input.directorist-toggle-input:checked border-top: 3px solid var(--directorist-color-primary); border-left: 3px solid transparent; border-radius: 50%; - -webkit-animation: rotate360 1s linear infinite; - animation: rotate360 1s linear infinite; + -webkit-animation: 1s rotate360 linear infinite; + animation: 1s rotate360 linear infinite; } + .directorist-listing-type-selection { display: -webkit-box; display: -webkit-flex; @@ -16230,7 +17079,7 @@ input.directorist-toggle-input:checked } .directorist-listing-type-selection__item .directorist-listing-type-selection__link--current - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-primary); } .directorist-listing-type-selection__item @@ -16238,6 +17087,7 @@ input.directorist-toggle-input:checked opacity: 1; visibility: visible; } + .directorist-search-form-wrap .directorist-listing-type-selection { padding: 0; margin: 0; @@ -16247,20 +17097,22 @@ input.directorist-toggle-input:checked margin: 0 auto; } } + .directorist-search-contents .directorist-btn-ml:after { content: ""; display: inline-block; margin-right: 5px; - -webkit-mask-image: url(../images/05feea3d261c8b97573023a74fd26f03.svg); - mask-image: url(../images/05feea3d261c8b97573023a74fd26f03.svg); + -webkit-mask-image: url(../js/../images/05feea3d261c8b97573023a74fd26f03.svg); + mask-image: url(../js/../images/05feea3d261c8b97573023a74fd26f03.svg); width: 12px; height: 12px; background-color: var(--directorist-color-body); } .directorist-search-contents .directorist-btn-ml.active:after { - -webkit-mask-image: url(../images/c90867d23032298fc0ff1d456a6fdb30.svg); - mask-image: url(../images/c90867d23032298fc0ff1d456a6fdb30.svg); + -webkit-mask-image: url(../js/../images/c90867d23032298fc0ff1d456a6fdb30.svg); + mask-image: url(../js/../images/c90867d23032298fc0ff1d456a6fdb30.svg); } + .directorist-listing-category-top { text-align: center; margin-top: 35px; @@ -16330,16 +17182,16 @@ input.directorist-toggle-input:checked } .directorist-listing-category-top li a i, .directorist-listing-category-top li a span, +.directorist-listing-category-top li a span.las, +.directorist-listing-category-top li a span.lar, +.directorist-listing-category-top li a span.lab, .directorist-listing-category-top li a span.fab, .directorist-listing-category-top li a span.fas, -.directorist-listing-category-top li a span.la, -.directorist-listing-category-top li a span.lab, -.directorist-listing-category-top li a span.lar, -.directorist-listing-category-top li a span.las { +.directorist-listing-category-top li a span.la { font-size: 15px; color: var(--directorist-color-body); } -.directorist-listing-category-top li a .directorist-icon-mask:after { +.directorist-listing-category-top li a .directorist-icon-mask::after { position: relative; height: 15px; width: 15px; @@ -16357,6 +17209,7 @@ input.directorist-toggle-input:checked display: none; } } + .directorist-search-field .directorist-location-js + .address_result { position: absolute; width: 100%; @@ -16493,6 +17346,7 @@ input.directorist-toggle-input:checked padding: 0; margin: 0; } + .directorist-zipcode-search .directorist-search-country { position: absolute; width: 100%; @@ -16518,9 +17372,10 @@ input.directorist-toggle-input:checked } .directorist-zipcode-search .directorist-search-country ul li { border-bottom: 1px solid var(--directorist-color-border); - padding: 10px 15px; + padding: 10px 15px 10px; margin: 0; } + .directorist-search-contents .directorist-search-form-top .form-group.open_now { -webkit-box-flex: 30.8%; -webkit-flex: 30.8%; @@ -16528,11 +17383,19 @@ input.directorist-toggle-input:checked flex: 30.8%; border-left: 1px solid var(--directorist-color-border); } + .directorist-custom-range-slider { width: 100%; } .directorist-custom-range-slider__wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; -ms-flex-align: center; + align-items: center; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; @@ -16546,27 +17409,24 @@ input.directorist-toggle-input:checked -ms-flex: 0 0 100%; flex: 0 0 100%; } -.directorist-custom-range-slider__value, -.directorist-custom-range-slider__wrap { +.directorist-custom-range-slider__value { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - align-items: center; -} -.directorist-custom-range-slider__value { - position: relative; -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; + -webkit-box-align: center; + -webkit-align-items: center; -ms-flex-align: center; + align-items: center; background: transparent; border-bottom: 1px solid var(--directorist-color-border); - -webkit-transition: border 0.3s ease; - transition: border 0.3s ease; + -webkit-transition: border ease 0.3s; + transition: border ease 0.3s; } .directorist-custom-range-slider__value:focus-within { border-bottom: 2px solid var(--directorist-color-primary); @@ -16601,6 +17461,10 @@ input.directorist-toggle-input:checked color: var(--directorist-color-primary); } .directorist-custom-range-slider__range__wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; gap: 5px; -webkit-box-align: center; -webkit-align-items: center; @@ -16613,25 +17477,20 @@ input.directorist-toggle-input:checked font-size: 14px; font-weight: 500; } -.directorist-custom-range-slider__range__wrap, + .directorist-pagination { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -} -.directorist-pagination { - gap: 8px; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; -} -.directorist-pagination, -.directorist-pagination .page-numbers { -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + gap: 8px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; } .directorist-pagination .page-numbers { display: -webkit-inline-box; @@ -16642,6 +17501,10 @@ input.directorist-toggle-input:checked -webkit-align-items: center; -ms-flex-align: center; align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; text-decoration: none; width: 40px; height: 40px; @@ -16664,19 +17527,21 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-body); } .directorist-pagination .page-numbers span { - border: 0; + border: 0 none; min-width: auto; margin: 0; } -.directorist-pagination .page-numbers.current, -.directorist-pagination .page-numbers:hover { +.directorist-pagination .page-numbers:hover, +.directorist-pagination .page-numbers.current { border-color: var(--directorist-color-primary); color: var(--directorist-color-primary); } -.directorist-pagination .page-numbers.current .directorist-icon-mask:after, -.directorist-pagination .page-numbers:hover .directorist-icon-mask:after { +.directorist-pagination .page-numbers:hover .directorist-icon-mask:after, +.directorist-pagination .page-numbers.current .directorist-icon-mask:after { background-color: var(--directorist-color-primary); } + +/* New Styles */ .directorist-categories { margin-top: 15px; } @@ -16700,14 +17565,14 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-white); } .directorist-categories__single--image { - background-position: 50%; + background-position: center; background-repeat: no-repeat; background-size: cover; -o-object-fit: cover; object-fit: cover; position: relative; } -.directorist-categories__single--image:before { +.directorist-categories__single--image::before { position: absolute; content: ""; border-radius: inherit; @@ -16725,6 +17590,7 @@ input.directorist-toggle-input:checked .directorist-categories__single__content { position: relative; z-index: 1; + text-align: center; -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; @@ -16741,7 +17607,7 @@ input.directorist-toggle-input:checked font-size: 16px; color: var(--directorist-color-dark); } -.directorist-categories__single__name:before { +.directorist-categories__single__name::before { content: ""; position: absolute; right: 0; @@ -16749,22 +17615,25 @@ input.directorist-toggle-input:checked width: 100%; height: 100%; } +.directorist-categories__single { + /* Styles */ +} .directorist-categories__single--style-one .directorist-categories__single__content - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 50px; height: 50px; } @media screen and (max-width: 991px) { .directorist-categories__single--style-one .directorist-categories__single__content - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 40px; height: 40px; } } .directorist-categories__single--style-one.directorist-categories__single--image - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .directorist-categories__single--style-one:not( @@ -16778,7 +17647,7 @@ input.directorist-toggle-input:checked .directorist-categories__single--style-one:not( .directorist-categories__single--image ) - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 36px; height: 36px; background-color: var(--directorist-color-white); @@ -16796,7 +17665,7 @@ input.directorist-toggle-input:checked border-radius: 50%; padding: 16px; } -.directorist-categories__single--style-two .directorist-icon-mask:after { +.directorist-categories__single--style-two .directorist-icon-mask::after { width: 40px; height: 40px; } @@ -16805,14 +17674,14 @@ input.directorist-toggle-input:checked border-color: var(--directorist-color-white); } .directorist-categories__single--style-two.directorist-categories__single--image - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .directorist-categories__single--style-three { height: var(--directorist-category-box-width); border-radius: 50%; } -.directorist-categories__single--style-three .directorist-icon-mask:after { +.directorist-categories__single--style-three .directorist-icon-mask::after { width: 40px; height: 40px; } @@ -16841,7 +17710,7 @@ input.directorist-toggle-input:checked margin-top: 15px; } .directorist-categories__single--style-three.directorist-categories__single--image - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .directorist-categories__single--style-three .directorist-category-count { @@ -16852,7 +17721,7 @@ input.directorist-toggle-input:checked border-radius: 50%; padding: 17px; } -.directorist-categories__single--style-four .directorist-icon-mask:after { +.directorist-categories__single--style-four .directorist-icon-mask::after { width: 36px; height: 36px; background-color: var(--directorist-color-white); @@ -16877,6 +17746,8 @@ input.directorist-toggle-input:checked .directorist-categories .directorist-type-nav { margin-bottom: 15px; } + +/* Taxonomy List Style One */ .directorist-taxonomy-list-one .directorist-taxonomy-list__card { display: -webkit-box; display: -webkit-flex; @@ -16917,7 +17788,7 @@ input.directorist-toggle-input:checked .directorist-taxonomy-list-one .directorist-taxonomy-list__toggle--open .directorist-taxonomy-list__toggler - .directorist-icon-mask:after { + .directorist-icon-mask::after { -webkit-transform: rotate(-180deg); transform: rotate(-180deg); } @@ -16943,26 +17814,31 @@ input.directorist-toggle-input:checked } .directorist-taxonomy-list-one .directorist-taxonomy-list__icon - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 15px; height: 15px; } -.directorist-taxonomy-list-one .directorist-taxonomy-list__count, .directorist-taxonomy-list-one .directorist-taxonomy-list__name { color: var(--directorist-color-dark); } +.directorist-taxonomy-list-one .directorist-taxonomy-list__count { + color: var(--directorist-color-dark); +} .directorist-taxonomy-list-one .directorist-taxonomy-list__toggler { -webkit-margin-start: auto; margin-inline-start: auto; } .directorist-taxonomy-list-one .directorist-taxonomy-list__toggler - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 10px; height: 10px; -webkit-transition: 0.3s ease; transition: 0.3s ease; } +.directorist-taxonomy-list-one .directorist-taxonomy-list { + /* Sub Item */ +} .directorist-taxonomy-list-one .directorist-taxonomy-list__sub-item { margin: 0; list-style: none; @@ -17039,6 +17915,9 @@ input.directorist-toggle-input:checked opacity: 1; margin-top: 0; } +.directorist-taxonomy-list-one .directorist-taxonomy-list { + /* Sub Item Toggle */ +} .directorist-taxonomy-list-one .directorist-taxonomy-list__sub-item-toggle { display: -webkit-box; display: -webkit-flex; @@ -17069,7 +17948,7 @@ input.directorist-toggle-input:checked } .directorist-taxonomy-list-one .directorist-taxonomy-list__sub-item-toggle.directorist-taxonomy-list__toggle--open - .directorist-taxonomy-list__sub-item-toggler:after { + .directorist-taxonomy-list__sub-item-toggler::after { content: none; } .directorist-taxonomy-list-one .directorist-taxonomy-list__sub-item-toggler { @@ -17081,7 +17960,7 @@ input.directorist-toggle-input:checked display: inline-block; } .directorist-taxonomy-list-one - .directorist-taxonomy-list__sub-item-toggler:before { + .directorist-taxonomy-list__sub-item-toggler::before { position: absolute; content: ""; right: 0; @@ -17093,7 +17972,7 @@ input.directorist-toggle-input:checked transform: translateY(-50%); } .directorist-taxonomy-list-one - .directorist-taxonomy-list__sub-item-toggler:after { + .directorist-taxonomy-list__sub-item-toggler::after { position: absolute; content: ""; width: 1px; @@ -17104,6 +17983,8 @@ input.directorist-toggle-input:checked -webkit-transform: translateX(50%); transform: translateX(50%); } + +/* Taxonomy List Style Two */ .directorist-taxonomy-list-two .directorist-taxonomy-list { -webkit-box-shadow: var(--directorist-box-shadow); box-shadow: var(--directorist-box-shadow); @@ -17159,7 +18040,7 @@ input.directorist-toggle-input:checked } .directorist-taxonomy-list-two .directorist-taxonomy-list__icon - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .directorist-taxonomy-list-two .directorist-taxonomy-list__toggle { @@ -17189,6 +18070,8 @@ input.directorist-toggle-input:checked -webkit-padding-start: 10px; padding-inline-start: 10px; } + +/* Location: Grid One */ .directorist-location { margin-top: 30px; } @@ -17199,7 +18082,7 @@ input.directorist-toggle-input:checked .directorist-location--grid-one .directorist-location__single--img { height: 300px; } -.directorist-location--grid-one .directorist-location__single--img:before { +.directorist-location--grid-one .directorist-location__single--img::before { position: absolute; content: ""; width: 100%; @@ -17237,7 +18120,9 @@ input.directorist-toggle-input:checked .directorist-location--grid-one .directorist-location__single--img .directorist-location__content - a, + a { + color: var(--directorist-color-white); +} .directorist-location--grid-one .directorist-location__single--img .directorist-location__count { @@ -17277,11 +18162,11 @@ input.directorist-toggle-input:checked .directorist-location--grid-one .directorist-location__single:not(.directorist-location__single--img) .directorist-location__content - a, + h3, .directorist-location--grid-one .directorist-location__single:not(.directorist-location__single--img) .directorist-location__content - h3, + a, .directorist-location--grid-one .directorist-location__single:not(.directorist-location__single--img) .directorist-location__content @@ -17300,7 +18185,7 @@ input.directorist-toggle-input:checked color: var(--directorist-color-dark); text-decoration: none; } -.directorist-location--grid-one .directorist-location__content a:after { +.directorist-location--grid-one .directorist-location__content a::after { position: absolute; content: ""; width: 100%; @@ -17323,7 +18208,7 @@ input.directorist-toggle-input:checked .directorist-location--grid-two .directorist-location__single--img .directorist-location__content { - padding: 10px 0 0; + padding: 10px 0 0 0; } .directorist-location--grid-two .directorist-location__single img { width: 100%; @@ -17336,7 +18221,7 @@ input.directorist-toggle-input:checked position: relative; height: 240px; } -.directorist-location--grid-two .directorist-location__single__img:before { +.directorist-location--grid-two .directorist-location__single__img::before { position: absolute; content: ""; width: 100%; @@ -17368,11 +18253,11 @@ input.directorist-toggle-input:checked .directorist-location--grid-two .directorist-location__single:not(.directorist-location__single--img) .directorist-location__content - a, + h3, .directorist-location--grid-two .directorist-location__single:not(.directorist-location__single--img) .directorist-location__content - h3, + a, .directorist-location--grid-two .directorist-location__single:not(.directorist-location__single--img) .directorist-location__content @@ -17390,7 +18275,7 @@ input.directorist-toggle-input:checked .directorist-location--grid-two .directorist-location__content a { text-decoration: none; } -.directorist-location--grid-two .directorist-location__content a:after { +.directorist-location--grid-two .directorist-location__content a::after { position: absolute; content: ""; width: 100%; @@ -17407,13 +18292,17 @@ input.directorist-toggle-input:checked .directorist-location .directorist-type-nav { margin-bottom: 15px; } + +/* Modal Core Styles */ .atm-open { overflow: hidden; } + .atm-open .at-modal { overflow-x: hidden; overflow-y: auto; } + .at-modal { position: fixed; width: 100%; @@ -17426,6 +18315,7 @@ input.directorist-toggle-input:checked overflow: hidden; outline: 0; } + .at-modal-content { position: relative; width: 500px; @@ -17449,6 +18339,7 @@ input.directorist-toggle-input:checked min-height: calc(100% - 5rem); pointer-events: none; } + .atm-contents-inner { width: 100%; background-color: var(--directorist-color-white); @@ -17456,29 +18347,36 @@ input.directorist-toggle-input:checked border-radius: 3px; position: relative; } + .at-modal-content.at-modal-lg { width: 800px; } + .at-modal-content.at-modal-xl { width: 1140px; } + .at-modal-content.at-modal-sm { width: 300px; } + .at-modal.atm-fade { -webkit-transition: 0.3s ease; transition: 0.3s ease; } + .at-modal.atm-fade:not(.atm-show) { opacity: 0; visibility: hidden; } + .at-modal.atm-show .at-modal-content { opacity: 1; visibility: visible; -webkit-transition: 0.3s ease; transition: 0.3s ease; } + .at-modal .atm-contents-inner .at-modal-close { width: 32px; height: 32px; @@ -17509,42 +18407,50 @@ input.directorist-toggle-input:checked justify-content: center; text-decoration: none; } + .at-modal .atm-contents-inner .close span { display: block; line-height: 0; } + +/* Responsive CSS */ +/* Large devices (desktops, 992px and up) */ @media (min-width: 992px) and (max-width: 1199.98px) { + .at-modal-content.at-modal-xl, .at-modal-content.at-modal-lg, .at-modal-content.at-modal-md, - .at-modal-content.at-modal-sm, - .at-modal-content.at-modal-xl { + .at-modal-content.at-modal-sm { width: calc(100% - 60px); } } +/* Medium devices (tablets, 768px and up) */ @media (min-width: 768px) and (max-width: 991.98px) { + .at-modal-content.at-modal-xl, .at-modal-content.at-modal-lg, .at-modal-content.at-modal-md, - .at-modal-content.at-modal-sm, - .at-modal-content.at-modal-xl { + .at-modal-content.at-modal-sm { width: calc(100% - 60px); } } +/* Small devices (landscape phones, 576px and up) */ @media (min-width: 576px) and (max-width: 767.98px) { + .at-modal-content.at-modal-xl, .at-modal-content.at-modal-lg, .at-modal-content.at-modal-md, - .at-modal-content.at-modal-sm, - .at-modal-content.at-modal-xl { + .at-modal-content.at-modal-sm { width: calc(100% - 60px); } } +/* Extra small devices (portrait phones, less than 576px) */ @media (max-width: 575.98px) { + .at-modal-content.at-modal-xl, .at-modal-content.at-modal-lg, .at-modal-content.at-modal-md, - .at-modal-content.at-modal-sm, - .at-modal-content.at-modal-xl { + .at-modal-content.at-modal-sm { width: calc(100% - 30px); } } +/* Authentication style */ .directorist-author__form { max-width: 540px; margin: 0 auto; @@ -17590,7 +18496,11 @@ input.directorist-toggle-input:checked color: var(--directorist-color-primary); border-color: var(--directorist-color-primary); } -.directorist-author__form__actions label, +.directorist-author__form__actions label { + font-size: 14px; + font-weight: 400; + color: var(--directorist-color-body); +} .directorist-author__form__toggle-area { font-size: 14px; font-weight: 400; @@ -17607,14 +18517,18 @@ input.directorist-toggle-input:checked padding: 25px; } .directorist-author__form__recover-pass-modal p { + font-size: 14px; + font-weight: 400; + color: var(--directorist-color-body); margin: 0 0 20px; } -.directorist-author__form__recover-pass-modal p, .directorist-author__message__text { font-size: 14px; font-weight: 400; color: var(--directorist-color-body); } + +/* Authentication style */ .directorist-authentication { height: 0; opacity: 0; @@ -17668,14 +18582,18 @@ input.directorist-toggle-input:checked .directorist-authentication__form__actions a { font-size: 14px; font-weight: 400; - color: grey; - border-bottom: 1px dashed grey; + color: #808080; + border-bottom: 1px dashed #808080; } .directorist-authentication__form__actions a:hover { - color: #000; - border-color: #000; + color: #000000; + border-color: #000000; +} +.directorist-authentication__form__actions label { + font-size: 14px; + font-weight: 400; + color: #404040; } -.directorist-authentication__form__actions label, .directorist-authentication__form__toggle-area { font-size: 14px; font-weight: 400; @@ -17688,7 +18606,7 @@ input.directorist-toggle-input:checked transition: color 0.3s ease; } .directorist-authentication__form__toggle-area a:hover { - color: #000; + color: #000000; } .directorist-authentication__form__recover-pass-modal { display: none; @@ -17708,9 +18626,9 @@ input.directorist-toggle-input:checked margin: 0 0 20px; } .directorist-authentication__form .directorist-form-element { + border: none; padding: 15px 0; border-radius: 0; - border: none; border-bottom: 1px solid #ececec; } .directorist-authentication__form .directorist-form-group > label { @@ -17725,7 +18643,7 @@ input.directorist-toggle-input:checked cursor: pointer; -webkit-box-shadow: none; box-shadow: none; - color: #000; + color: #000000; font-size: 13px; font-weight: 400; padding: 0 6px; @@ -17747,6 +18665,8 @@ input.directorist-toggle-input:checked opacity: 1; visibility: visible; } + +/* Password toggle */ .directorist-password-group { position: relative; } @@ -17768,9 +18688,12 @@ input.directorist-toggle-input:checked stroke: #888; stroke-width: 2; } + +/* Directorist all authors card */ .directorist-authors-section { position: relative; } + .directorist-content-active .directorist-authors__cards { margin-top: -30px; } @@ -17817,11 +18740,14 @@ input.directorist-toggle-input:checked -webkit-transition: 0.3s ease; transition: 0.3s ease; } -.directorist-content-active .directorist-authors__nav li.active a, .directorist-content-active .directorist-authors__nav li a:hover { border-bottom-color: var(--directorist-color-primary); color: var(--directorist-color-primary); } +.directorist-content-active .directorist-authors__nav li.active a { + border-bottom-color: var(--directorist-color-primary); + color: var(--directorist-color-primary); +} .directorist-content-active .directorist-authors__card { padding: 20px; border-radius: 10px; @@ -17850,7 +18776,7 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-authors__card h2 { font-size: 20px; font-weight: 500; - margin: 0 0 16px !important; + margin: 0 0 16px 0 !important; line-height: normal; } .directorist-content-active .directorist-authors__card h2:before { @@ -17860,7 +18786,7 @@ input.directorist-toggle-input:checked font-size: 14px; font-weight: 400; color: #8f8e9f; - margin: 0 0 15px !important; + margin: 0 0 15px 0 !important; line-height: normal; text-transform: none; letter-spacing: normal; @@ -17890,7 +18816,7 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-authors__card__info-list li a { color: #767792; - border: 0; + border: 0 none; -webkit-box-shadow: none; box-shadow: none; text-decoration: none; @@ -17909,6 +18835,9 @@ input.directorist-toggle-input:checked width: 16px; height: 16px; } +.directorist-content-active .directorist-authors__card__info-list li { + /* Legacy Icon */ +} .directorist-content-active .directorist-authors__card__info-list li @@ -17933,7 +18862,7 @@ input.directorist-toggle-input:checked .directorist-authors__card .directorist-author-social a { - border: 0; + border: 0 none; -webkit-box-shadow: none; box-shadow: none; text-decoration: none; @@ -17943,6 +18872,7 @@ input.directorist-toggle-input:checked .directorist-author-social a:hover { background-color: var(--directorist-color-primary); + /* Legacy Icon */ } .directorist-content-active .directorist-authors__card @@ -17958,7 +18888,7 @@ input.directorist-toggle-input:checked margin-bottom: 20px; } .directorist-content-active .directorist-authors__card .directorist-btn { - border: 0; + border: 0 none; -webkit-box-shadow: none; box-shadow: none; -webkit-transition: 0.3s ease; @@ -17968,25 +18898,22 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-primary); color: var(--directorist-color-white); } + +/* Directorist All author Grid */ .directorist-authors__pagination { margin-top: 25px; } + .select2-selection__arrow, .select2-selection__clear { display: none !important; } + .directorist-select2-addons-area { position: absolute; left: 5px; top: 50%; text-align: center; - cursor: pointer; - -webkit-transform: translateY(-50%); - transform: translateY(-50%); - z-index: 8; -} -.directorist-select2-addon, -.directorist-select2-addons-area { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -17999,29 +18926,58 @@ input.directorist-toggle-input:checked -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + cursor: pointer; + -webkit-transform: translate(0, -50%); + transform: translate(0, -50%); + z-index: 8; } + .directorist-select2-addon { padding: 0 5px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; } -.directorist-select2-dropdown-close, + .directorist-select2-dropdown-toggle { height: auto; width: 25px; } -.directorist-select2-dropdown-close .directorist-icon-mask:after { + +.directorist-select2-dropdown-close { + height: auto; + width: 25px; +} +.directorist-select2-dropdown-close .directorist-icon-mask::after { width: 15px; height: 15px; } -.directorist-select2-addon .directorist-icon-mask:after { + +.directorist-select2-addon .directorist-icon-mask::after { width: 13px; height: 13px; } + .directorist-form-section { font-size: 15px; } + +/* Display Each Grid Info on Single Line */ +.directorist-archive-contents + .directorist-single-line + .directorist-listing-title, .directorist-archive-contents .directorist-single-line - .directorist-listing-single__info__excerpt, + .directorist-listing-tagline, .directorist-archive-contents .directorist-single-line .directorist-listing-single__info__list @@ -18030,14 +18986,12 @@ input.directorist-toggle-input:checked div, .directorist-archive-contents .directorist-single-line - .directorist-listing-tagline, -.directorist-archive-contents - .directorist-single-line - .directorist-listing-title { + .directorist-listing-single__info__excerpt { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } + .directorist-all-listing-btn { display: -webkit-box; display: -webkit-flex; @@ -18060,7 +19014,7 @@ input.directorist-toggle-input:checked -ms-flex: 1; flex: 1; } -.directorist-all-listing-btn .directorist-btn__back i:after { +.directorist-all-listing-btn .directorist-btn__back i::after { width: 16px; height: 16px; } @@ -18081,16 +19035,17 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; } -.directorist-all-listing-btn .directorist-modal-btn--basic i:after { +.directorist-all-listing-btn .directorist-modal-btn--basic i::after { width: 16px; height: 16px; -webkit-transform: rotate(-270deg); transform: rotate(-270deg); } -.directorist-all-listing-btn .directorist-modal-btn--advanced i:after { +.directorist-all-listing-btn .directorist-modal-btn--advanced i::after { width: 16px; height: 16px; } + @media screen and (min-width: 576px) { .directorist-all-listing-btn, .directorist-all-listing-modal { @@ -18143,11 +19098,6 @@ input.directorist-toggle-input:checked display: none; } .directorist-content-active .directorist-listing-single__info__top { - gap: 6px; - width: 100%; -} -.directorist-content-active .directorist-listing-single__info__top, -.directorist-content-active .directorist-listing-single__info__top__left { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -18163,9 +19113,26 @@ input.directorist-toggle-input:checked -webkit-flex: 1; -ms-flex: 1; flex: 1; + gap: 6px; + width: 100%; } .directorist-content-active .directorist-listing-single__info__top__left { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; gap: 10px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; } .directorist-content-active .directorist-listing-single__info__top__right { display: -webkit-box; @@ -18195,9 +19162,6 @@ input.directorist-toggle-input:checked background-color: transparent; color: var(--directorist-color-danger); } -.directorist-content-active - .directorist-listing-single__info__top - .atbd_badge.atbd_badge_open, .directorist-content-active .directorist-listing-single__info__top .directorist-badge.directorist-badge-open { @@ -18206,10 +19170,13 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single__info__top - .directorist-info-item.directorist-rating-meta, + .atbd_badge.atbd_badge_open { + background-color: transparent; + color: var(--directorist-color-success); +} .directorist-content-active .directorist-listing-single__info__top - .directorist-listing-card-posted-on { + .directorist-info-item.directorist-rating-meta { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -18222,6 +19189,14 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-listing-single__info__top .directorist-listing-card-posted-on { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-box-flex: 0; -webkit-flex: 0 0 100%; -ms-flex: 0 0 100%; @@ -18240,8 +19215,7 @@ input.directorist-toggle-input:checked i { display: none; } -.directorist-content-active .directorist-listing-single__info__badges, -.directorist-content-active .directorist-listing-single__info__list { +.directorist-content-active .directorist-listing-single__info__badges { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -18249,6 +19223,11 @@ input.directorist-toggle-input:checked gap: 10px; } .directorist-content-active .directorist-listing-single__info__list { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 10px; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; @@ -18263,8 +19242,8 @@ input.directorist-toggle-input:checked gap: 8px; } } -.directorist-content-active .directorist-listing-single__info__list > div, -.directorist-content-active .directorist-listing-single__info__list li { +.directorist-content-active .directorist-listing-single__info__list li, +.directorist-content-active .directorist-listing-single__info__list > div { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -18277,22 +19256,22 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single__info__list - > div + li .directorist-icon-mask, .directorist-content-active .directorist-listing-single__info__list - li + > div .directorist-icon-mask { position: relative; top: 2px; } .directorist-content-active .directorist-listing-single__info__list - > div + li .directorist-icon-mask:after, .directorist-content-active .directorist-listing-single__info__list - li + > div .directorist-icon-mask:after { width: 16px; height: 16px; @@ -18300,11 +19279,11 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single__info__list - > div + li .directorist-listing-card-info-label, .directorist-content-active .directorist-listing-single__info__list - li + > div .directorist-listing-card-info-label { display: none; } @@ -18627,7 +19606,20 @@ input.directorist-toggle-input:checked justify-content: space-between; border-top: 1px solid var(--directorist-color-border); } -.directorist-content-active .directorist-listing-single__meta__left, +.directorist-content-active .directorist-listing-single__meta__left { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + gap: 20px; +} .directorist-content-active .directorist-listing-single__meta__right { display: -webkit-box; display: -webkit-flex; @@ -18649,7 +19641,7 @@ input.directorist-toggle-input:checked text-decoration: none; font-size: 14px; color: var(--directorist-color-body); - border-bottom: 0; + border-bottom: 0 none; -webkit-box-shadow: none; box-shadow: none; display: -webkit-box; @@ -18693,6 +19685,11 @@ input.directorist-toggle-input:checked height: 15px; background-color: var(--directorist-color-light-gray); } +.directorist-content-active + .directorist-listing-single__meta + .directorist-view-count { + /* Legacy Icon */ +} .directorist-content-active .directorist-listing-single__meta .directorist-view-count @@ -18755,6 +19752,12 @@ input.directorist-toggle-input:checked width: 14px; height: 14px; } +.directorist-content-active + .directorist-listing-single__meta + .directorist-listing-category + > a { + /* Legacy Icon */ +} .directorist-content-active .directorist-listing-single__meta .directorist-listing-category @@ -18793,10 +19796,10 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single__meta - .directorist-listing-card-phone, + .directorist-rating-meta, .directorist-content-active .directorist-listing-single__meta - .directorist-rating-meta { + .directorist-listing-card-phone { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -18836,11 +19839,11 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-listing-single__thumb .directorist-thumnail-card - .directorist-thumnail-card-back-wrap, + .directorist-thumnail-card-front-wrap, .directorist-content-active .directorist-listing-single__thumb .directorist-thumnail-card - .directorist-thumnail-card-front-wrap { + .directorist-thumnail-card-back-wrap { position: absolute; top: 0; bottom: 0; @@ -18854,12 +19857,12 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-listing-single__thumb .directorist-thumnail-card - .directorist-thumnail-card-back-wrap + .directorist-thumnail-card-front-wrap figure, .directorist-content-active .directorist-listing-single__thumb .directorist-thumnail-card - .directorist-thumnail-card-front-wrap + .directorist-thumnail-card-back-wrap figure { width: 100%; height: 100%; @@ -18883,10 +19886,10 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single__thumb - .directorist-thumnail-card-back-img, + .directorist-thumnail-card-front-img, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumnail-card-front-img { + .directorist-thumnail-card-back-img { width: 100%; height: 100%; -o-object-fit: cover; @@ -18925,16 +19928,16 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-left, + .directorist-thumb-top-right, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-right, + .directorist-thumb-top-left, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-left, + .directorist-thumb-bottom-left, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-right { + .directorist-thumb-bottom-right { position: absolute; display: -webkit-box; display: -webkit-flex; @@ -18951,144 +19954,144 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-left + .directorist-thumb-top-right .directorist-compare-btn i, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-left + .directorist-thumb-top-right .directorist-compare-btn - span.fa, + span.la, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-left + .directorist-thumb-top-right .directorist-compare-btn - span.fab, + span.las, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-left + .directorist-thumb-top-right .directorist-compare-btn - span.fas, + span.fa, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-left + .directorist-thumb-top-right .directorist-compare-btn - span.la, + span.fas, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-left + .directorist-thumb-top-right .directorist-compare-btn span.lab, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-left + .directorist-thumb-top-right .directorist-compare-btn - span.las, + span.fab, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-right + .directorist-thumb-top-left .directorist-compare-btn i, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-right + .directorist-thumb-top-left .directorist-compare-btn - span.fa, + span.la, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-right + .directorist-thumb-top-left .directorist-compare-btn - span.fab, + span.las, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-right + .directorist-thumb-top-left .directorist-compare-btn - span.fas, + span.fa, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-right + .directorist-thumb-top-left .directorist-compare-btn - span.la, + span.fas, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-right + .directorist-thumb-top-left .directorist-compare-btn span.lab, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-right + .directorist-thumb-top-left .directorist-compare-btn - span.las, + span.fab, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-left + .directorist-thumb-bottom-left .directorist-compare-btn i, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-left + .directorist-thumb-bottom-left .directorist-compare-btn - span.fa, + span.la, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-left + .directorist-thumb-bottom-left .directorist-compare-btn - span.fab, + span.las, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-left + .directorist-thumb-bottom-left .directorist-compare-btn - span.fas, + span.fa, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-left + .directorist-thumb-bottom-left .directorist-compare-btn - span.la, + span.fas, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-left + .directorist-thumb-bottom-left .directorist-compare-btn span.lab, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-left + .directorist-thumb-bottom-left .directorist-compare-btn - span.las, + span.fab, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-right + .directorist-thumb-bottom-right .directorist-compare-btn i, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-right + .directorist-thumb-bottom-right .directorist-compare-btn - span.fa, + span.la, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-right + .directorist-thumb-bottom-right .directorist-compare-btn - span.fab, + span.las, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-right + .directorist-thumb-bottom-right .directorist-compare-btn - span.fas, + span.fa, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-right + .directorist-thumb-bottom-right .directorist-compare-btn - span.la, + span.fas, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-right + .directorist-thumb-bottom-right .directorist-compare-btn span.lab, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-right + .directorist-thumb-bottom-right .directorist-compare-btn - span.las { + span.fab { color: var(--directorist-color-white); } .directorist-content-active @@ -19112,31 +20115,41 @@ input.directorist-toggle-input:checked -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; - padding: 20px 22px 0; + padding: 20px 22px 0 22px; } .directorist-content-active .directorist-listing-single__top__left { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; flex-wrap: wrap; } -.directorist-content-active .directorist-listing-single__top__left, .directorist-content-active .directorist-listing-single__top__right { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex: 1; gap: 8px; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; + align-items: center; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; -} -.directorist-content-active .directorist-listing-single__top__right { flex-wrap: wrap; + -webkit-box-flex: 1; -webkit-flex: auto; -ms-flex: auto; flex: auto; @@ -19249,7 +20262,7 @@ input.directorist-toggle-input:checked .directorist-listing-single__thumb { margin: 0; position: relative; - padding: 10px 10px 0; + padding: 10px 10px 0 10px; } .directorist-content-active .directorist-listing-single.directorist-listing-card @@ -19381,7 +20394,7 @@ input.directorist-toggle-input:checked .directorist-rating-avg { margin-right: 0; font-size: 12px; - font-weight: 400; + font-weight: normal; } .directorist-content-active .directorist-listing-single.directorist-listing-list @@ -19415,25 +20428,25 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-listing-single__info__list - > div, + > li, .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-listing-single__info__list - > li { + > div { font-size: 12px; line-height: 1.2; gap: 8px; } .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-listing-category__extran-count, + .directorist-view-count, .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-listing-category a, .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-view-count { + .directorist-listing-category__extran-count { font-size: 12px; } .directorist-content-active @@ -19443,13 +20456,13 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-listing-category - > a - .directorist-icon-mask, + .directorist-thumb-listing-author + a, .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-thumb-listing-author - a { + .directorist-listing-category + > a + .directorist-icon-mask { width: 30px; height: 30px; } @@ -19489,7 +20502,7 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-listing-single__thumb { - padding: 10px 10px 0; + padding: 10px 10px 0 10px; } .directorist-content-active .directorist-listing-single.directorist-listing-list @@ -19501,12 +20514,12 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-listing-single__thumb - .directorist-badge - .directorist-icon-mask:after, + .directorist-favorite-icon:before, .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-listing-single__thumb - .directorist-favorite-icon:before { + .directorist-badge + .directorist-icon-mask:after { width: 10px; height: 10px; } @@ -19546,7 +20559,7 @@ input.directorist-toggle-input:checked -webkit-flex: 2; -ms-flex: 2; flex: 2; - padding: 10px 0; + padding: 10px 0 10px; } @media screen and (max-width: 575px) { .directorist-content-active @@ -19601,10 +20614,12 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-listing-single__info__excerpt, + .directorist-listing-single__info__list { + margin: 10px 0 0; +} .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-listing-single__info__list { + .directorist-listing-single__info__excerpt { margin: 10px 0 0; } @media only screen and (max-width: 575px) { @@ -19769,19 +20784,19 @@ input.directorist-toggle-input:checked .directorist-badge.directorist-badge--only-text, .directorist-content-active .directorist-listing-single.directorist-listing-card - .directorist-badge.directorist-badge-close, + .directorist-badge.directorist-badge-open, .directorist-content-active .directorist-listing-single.directorist-listing-card - .directorist-badge.directorist-badge-open, + .directorist-badge.directorist-badge-close, .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-badge.directorist-badge--only-text, .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-badge.directorist-badge-close, + .directorist-badge.directorist-badge-open, .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-badge.directorist-badge-open { + .directorist-badge.directorist-badge-close { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -19807,19 +20822,19 @@ input.directorist-toggle-input:checked .directorist-badge.directorist-badge--only-text, .directorist-content-active .directorist-listing-single.directorist-listing-card - .directorist-badge.directorist-badge-close, + .directorist-badge.directorist-badge-open, .directorist-content-active .directorist-listing-single.directorist-listing-card - .directorist-badge.directorist-badge-open, + .directorist-badge.directorist-badge-close, .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-badge.directorist-badge--only-text, .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-badge.directorist-badge-close, + .directorist-badge.directorist-badge-open, .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-badge.directorist-badge-open { + .directorist-badge.directorist-badge-close { height: 18px; line-height: 18px; font-size: 8px; @@ -20036,6 +21051,7 @@ input.directorist-toggle-input:checked .directorist-listing-single__header__right { margin-top: 15px; } + .directorist-rating-meta { padding: 0; } @@ -20055,10 +21071,12 @@ input.directorist-toggle-input:checked color: var(--directorist-color-light-gray); } .directorist-rating-meta.directorist-info-item-rating i, -.directorist-rating-meta.directorist-info-item-rating span.fa, -.directorist-rating-meta.directorist-info-item-rating span.la { +.directorist-rating-meta.directorist-info-item-rating span.la, +.directorist-rating-meta.directorist-info-item-rating span.fa { margin-right: 4px; } + +/* mark as favorite btn */ .directorist-mark-as-favorite__btn { display: -webkit-box; display: -webkit-flex; @@ -20084,13 +21102,13 @@ input.directorist-toggle-input:checked border: none; cursor: pointer; } -.directorist-mark-as-favorite__btn:focus, -.directorist-mark-as-favorite__btn:hover { +.directorist-mark-as-favorite__btn:hover, +.directorist-mark-as-favorite__btn:focus { outline: 0; text-decoration: none; } -.directorist-mark-as-favorite__btn:focus .directorist-favorite-icon:before, -.directorist-mark-as-favorite__btn:hover .directorist-favorite-icon:before { +.directorist-mark-as-favorite__btn:hover .directorist-favorite-icon:before, +.directorist-mark-as-favorite__btn:focus .directorist-favorite-icon:before { background-color: var(--directorist-color-danger); } .directorist-mark-as-favorite__btn .directorist-favorite-icon { @@ -20109,8 +21127,8 @@ input.directorist-toggle-input:checked } .directorist-mark-as-favorite__btn .directorist-favorite-icon:before { content: ""; - -webkit-mask-image: url(../images/6bf407d27842391bbcd90343624e694b.svg); - mask-image: url(../images/6bf407d27842391bbcd90343624e694b.svg); + -webkit-mask-image: url(../js/../images/6bf407d27842391bbcd90343624e694b.svg); + mask-image: url(../js/../images/6bf407d27842391bbcd90343624e694b.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 15px; @@ -20121,8 +21139,8 @@ input.directorist-toggle-input:checked } .directorist-mark-as-favorite__btn.directorist-added-to-favorite .directorist-favorite-icon:before { - -webkit-mask-image: url(../images/2e589ffc784b0c43089b0222cab8ed4f.svg); - mask-image: url(../images/2e589ffc784b0c43089b0222cab8ed4f.svg); + -webkit-mask-image: url(../js/../images/2e589ffc784b0c43089b0222cab8ed4f.svg); + mask-image: url(../js/../images/2e589ffc784b0c43089b0222cab8ed4f.svg); background-color: var(--directorist-color-danger); } .directorist-mark-as-favorite__btn .directorist-favorite-tooltip span { @@ -20138,7 +21156,7 @@ input.directorist-toggle-input:checked padding: 5px; z-index: 111; } -.directorist-mark-as-favorite__btn .directorist-favorite-tooltip span:before { +.directorist-mark-as-favorite__btn .directorist-favorite-tooltip span::before { content: ""; position: absolute; border-bottom: 8px solid var(--directorist-color-dark); @@ -20147,6 +21165,8 @@ input.directorist-toggle-input:checked left: 8px; top: -7px; } + +/* listing card without thumbnail */ .directorist-listing-single.directorist-listing-no-thumb .directorist-listing-single__header { display: -webkit-box; @@ -20162,7 +21182,7 @@ input.directorist-toggle-input:checked -webkit-align-items: flex-start; -ms-flex-align: start; align-items: flex-start; - padding: 20px 22px 0; + padding: 20px 22px 0 22px; } .directorist-listing-single.directorist-listing-no-thumb .directorist-listing-single__header__left { @@ -20335,7 +21355,7 @@ input.directorist-toggle-input:checked span { text-decoration: none; color: var(--directorist-color-body); - border-bottom: 0; + border-bottom: 0 none; -webkit-box-shadow: none; box-shadow: none; line-height: 1.7; @@ -20400,7 +21420,7 @@ input.directorist-toggle-input:checked a { text-decoration: none; color: var(--directorist-color-body); - border-bottom: 0; + border-bottom: 0 none; -webkit-box-shadow: none; box-shadow: none; line-height: 1.7; @@ -20424,7 +21444,7 @@ input.directorist-toggle-input:checked } .directorist-listing-single.directorist-listing-no-thumb .directorist-listing-single__content { - border: 0; + border: 0 none; padding: 10px 22px 25px; } .directorist-listing-single.directorist-listing-no-thumb @@ -20445,6 +21465,8 @@ input.directorist-toggle-input:checked align-items: center; gap: 6px; } + +/* listing card without thumbnail list view */ .directorist-listing-single.directorist-listing-list .directorist-listing-single__header { width: 100%; @@ -20460,9 +21482,9 @@ input.directorist-toggle-input:checked display: none; } .directorist-listing-single.directorist-listing-list.directorist-listing-no-thumb - .directorist-info-item.directorist-badge.directorist-badge-close, + .directorist-info-item.directorist-badge.directorist-badge-open, .directorist-listing-single.directorist-listing-list.directorist-listing-no-thumb - .directorist-info-item.directorist-badge.directorist-badge-open { + .directorist-info-item.directorist-badge.directorist-badge-close { padding: 0 5px; } .directorist-listing-single.directorist-listing-list.directorist-listing-no-thumb @@ -20470,6 +21492,7 @@ input.directorist-toggle-input:checked width: auto; height: auto; } + .directorist-archive-grid-view.directorist-archive-grid--fix .directorist-all-listing-col { width: 50%; @@ -20480,24 +21503,26 @@ input.directorist-toggle-input:checked width: 100%; } } + .directorist-listing-category { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; } -.directorist-listing-category, .directorist-listing-category__popup { + position: relative; + margin-right: 10px; + cursor: pointer; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } -.directorist-listing-category__popup { - position: relative; - margin-right: 10px; - cursor: pointer; -} .directorist-listing-category__popup__content { display: block; position: absolute; @@ -20525,7 +21550,7 @@ input.directorist-toggle-input:checked right: 40px; bottom: -11px; border: 6px solid transparent; - border-top: 6px solid var(--directorist-color-white); + border-top-color: var(--directorist-color-white); display: inline-block; position: absolute; } @@ -20552,7 +21577,7 @@ input.directorist-toggle-input:checked width: unset; min-width: unset; } -.directorist-listing-category__popup__content a i:after { +.directorist-listing-category__popup__content a i::after { height: 14px; width: 14px; background-color: var(--directorist-color-body); @@ -20561,7 +21586,7 @@ input.directorist-toggle-input:checked color: var(--directorist-color-primary); background-color: var(--directorist-color-light); } -.directorist-listing-category__popup__content a:hover i:after { +.directorist-listing-category__popup__content a:hover i::after { background-color: var(--directorist-color-primary); } .directorist-listing-category__popup:hover @@ -20570,6 +21595,7 @@ input.directorist-toggle-input:checked opacity: 1; pointer-events: all; } + .directorist-listing-single__meta__right .directorist-listing-category__popup__content { right: unset; @@ -20580,6 +21606,7 @@ input.directorist-toggle-input:checked right: unset; left: 40px; } + .directorist-listing-price-range span { font-weight: 600; color: rgba(122, 130, 166, 0.3); @@ -20587,60 +21614,93 @@ input.directorist-toggle-input:checked .directorist-listing-price-range span.directorist-price-active { color: var(--directorist-color-body); } -#gmap.leaflet-container, + #map.leaflet-container, +#gmap.leaflet-container, .directorist-single-map.leaflet-container { direction: ltr; } -#gmap.leaflet-container .leaflet-popup-content-wrapper, #map.leaflet-container .leaflet-popup-content-wrapper, +#gmap.leaflet-container .leaflet-popup-content-wrapper, .directorist-single-map.leaflet-container .leaflet-popup-content-wrapper { border-radius: 8px; padding: 0; } -#gmap.leaflet-container .leaflet-popup-content, #map.leaflet-container .leaflet-popup-content, +#gmap.leaflet-container .leaflet-popup-content, .directorist-single-map.leaflet-container .leaflet-popup-content { margin: 0; line-height: 1; width: 350px !important; } @media only screen and (max-width: 480px) { - #gmap.leaflet-container .leaflet-popup-content, #map.leaflet-container .leaflet-popup-content, + #gmap.leaflet-container .leaflet-popup-content, .directorist-single-map.leaflet-container .leaflet-popup-content { width: 300px !important; } } @media only screen and (max-width: 375px) { - #gmap.leaflet-container .leaflet-popup-content, #map.leaflet-container .leaflet-popup-content, + #gmap.leaflet-container .leaflet-popup-content, .directorist-single-map.leaflet-container .leaflet-popup-content { width: 250px !important; } } -#gmap.leaflet-container - .leaflet-popup-content - .atbdp-listings-title-block - h3.atbdp-no-margin, -#map.leaflet-container - .leaflet-popup-content - .atbdp-listings-title-block - h3.atbdp-no-margin, +#map.leaflet-container .leaflet-popup-content .atbdp-map.atbdp-body img, +#gmap.leaflet-container .leaflet-popup-content .atbdp-map.atbdp-body img, .directorist-single-map.leaflet-container .leaflet-popup-content - .atbdp-listings-title-block - h3.atbdp-no-margin { - font-size: 14px; - margin: 0 0 10px; + .atbdp-map.atbdp-body + img { + width: 100%; } -#gmap.leaflet-container .leaflet-popup-content .osm-iw-location, -#map.leaflet-container .leaflet-popup-content .osm-iw-location, +#map.leaflet-container .leaflet-popup-content .media-body, +#gmap.leaflet-container .leaflet-popup-content .media-body, +.directorist-single-map.leaflet-container .leaflet-popup-content .media-body { + padding: 10px 15px; +} +#map.leaflet-container .leaflet-popup-content .media-body a, +#gmap.leaflet-container .leaflet-popup-content .media-body a, +.directorist-single-map.leaflet-container .leaflet-popup-content .media-body a { + text-decoration: none; +} +#map.leaflet-container .leaflet-popup-content .media-body h3 a, +#gmap.leaflet-container .leaflet-popup-content .media-body h3 a, .directorist-single-map.leaflet-container .leaflet-popup-content - .osm-iw-location { - margin-bottom: 6px; - display: -webkit-box; + .media-body + h3 + a { + font-weight: 500; + line-height: 1.2; + color: #272b41; + letter-spacing: normal; + font-size: 18px; + text-decoration: none; +} +#map.leaflet-container + .leaflet-popup-content + .atbdp-listings-title-block + h3.atbdp-no-margin, +#gmap.leaflet-container + .leaflet-popup-content + .atbdp-listings-title-block + h3.atbdp-no-margin, +.directorist-single-map.leaflet-container + .leaflet-popup-content + .atbdp-listings-title-block + h3.atbdp-no-margin { + font-size: 14px; + margin: 0 0 10px; +} +#map.leaflet-container .leaflet-popup-content .osm-iw-location, +#gmap.leaflet-container .leaflet-popup-content .osm-iw-location, +.directorist-single-map.leaflet-container + .leaflet-popup-content + .osm-iw-location { + margin-bottom: 6px; + display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; @@ -20649,11 +21709,11 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; } -#gmap.leaflet-container +#map.leaflet-container .leaflet-popup-content .osm-iw-location .directorist-icon-mask, -#map.leaflet-container +#gmap.leaflet-container .leaflet-popup-content .osm-iw-location .directorist-icon-mask, @@ -20664,8 +21724,8 @@ input.directorist-toggle-input:checked display: inline-block; margin-left: 4px; } -#gmap.leaflet-container .leaflet-popup-content .osm-iw-get-location, #map.leaflet-container .leaflet-popup-content .osm-iw-get-location, +#gmap.leaflet-container .leaflet-popup-content .osm-iw-get-location, .directorist-single-map.leaflet-container .leaflet-popup-content .osm-iw-get-location { @@ -20678,11 +21738,11 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; } -#gmap.leaflet-container +#map.leaflet-container .leaflet-popup-content .osm-iw-get-location .directorist-icon-mask, -#map.leaflet-container +#gmap.leaflet-container .leaflet-popup-content .osm-iw-get-location .directorist-icon-mask, @@ -20693,32 +21753,33 @@ input.directorist-toggle-input:checked display: inline-block; margin-right: 5px; } -#gmap.leaflet-container .leaflet-popup-content .atbdp-map, #map.leaflet-container .leaflet-popup-content .atbdp-map, +#gmap.leaflet-container .leaflet-popup-content .atbdp-map, .directorist-single-map.leaflet-container .leaflet-popup-content .atbdp-map { + margin: 0; line-height: 1; width: 350px !important; } -#gmap.leaflet-container .leaflet-popup-content .atbdp-map.atbdp-body img, #map.leaflet-container .leaflet-popup-content .atbdp-map.atbdp-body img, +#gmap.leaflet-container .leaflet-popup-content .atbdp-map.atbdp-body img, .directorist-single-map.leaflet-container .leaflet-popup-content .atbdp-map.atbdp-body img { width: 100%; } -#gmap.leaflet-container .leaflet-popup-content .media-body, #map.leaflet-container .leaflet-popup-content .media-body, +#gmap.leaflet-container .leaflet-popup-content .media-body, .directorist-single-map.leaflet-container .leaflet-popup-content .media-body { padding: 10px 15px; } -#gmap.leaflet-container .leaflet-popup-content .media-body a, #map.leaflet-container .leaflet-popup-content .media-body a, +#gmap.leaflet-container .leaflet-popup-content .media-body a, .directorist-single-map.leaflet-container .leaflet-popup-content .media-body a { text-decoration: none; } -#gmap.leaflet-container .leaflet-popup-content .media-body h3 a, #map.leaflet-container .leaflet-popup-content .media-body h3 a, +#gmap.leaflet-container .leaflet-popup-content .media-body h3 a, .directorist-single-map.leaflet-container .leaflet-popup-content .media-body @@ -20731,12 +21792,12 @@ input.directorist-toggle-input:checked font-size: 18px; text-decoration: none; } -#gmap.leaflet-container +#map.leaflet-container .leaflet-popup-content .media-body .atbdp-listings-title-block h3.atbdp-no-margin, -#map.leaflet-container +#gmap.leaflet-container .leaflet-popup-content .media-body .atbdp-listings-title-block @@ -20749,8 +21810,8 @@ input.directorist-toggle-input:checked font-size: 14px; margin: 0 0 10px; } -#gmap.leaflet-container .leaflet-popup-content .media-body .osm-iw-location, #map.leaflet-container .leaflet-popup-content .media-body .osm-iw-location, +#gmap.leaflet-container .leaflet-popup-content .media-body .osm-iw-location, .directorist-single-map.leaflet-container .leaflet-popup-content .media-body @@ -20765,12 +21826,12 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; } -#gmap.leaflet-container +#map.leaflet-container .leaflet-popup-content .media-body .osm-iw-location .directorist-icon-mask, -#map.leaflet-container +#gmap.leaflet-container .leaflet-popup-content .media-body .osm-iw-location @@ -20783,8 +21844,8 @@ input.directorist-toggle-input:checked display: inline-block; margin-left: 4px; } -#gmap.leaflet-container .leaflet-popup-content .media-body .osm-iw-get-location, #map.leaflet-container .leaflet-popup-content .media-body .osm-iw-get-location, +#gmap.leaflet-container .leaflet-popup-content .media-body .osm-iw-get-location, .directorist-single-map.leaflet-container .leaflet-popup-content .media-body @@ -20798,12 +21859,12 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; } -#gmap.leaflet-container +#map.leaflet-container .leaflet-popup-content .media-body .osm-iw-get-location .directorist-icon-mask, -#map.leaflet-container +#gmap.leaflet-container .leaflet-popup-content .media-body .osm-iw-get-location @@ -20816,24 +21877,24 @@ input.directorist-toggle-input:checked display: inline-block; margin-right: 5px; } -#gmap.leaflet-container .leaflet-popup-content .atbdp-map, #map.leaflet-container .leaflet-popup-content .atbdp-map, +#gmap.leaflet-container .leaflet-popup-content .atbdp-map, .directorist-single-map.leaflet-container .leaflet-popup-content .atbdp-map { margin: 0; } -#gmap.leaflet-container .leaflet-popup-content .map-info-wrapper img, #map.leaflet-container .leaflet-popup-content .map-info-wrapper img, +#gmap.leaflet-container .leaflet-popup-content .map-info-wrapper img, .directorist-single-map.leaflet-container .leaflet-popup-content .map-info-wrapper img { width: 100%; } -#gmap.leaflet-container +#map.leaflet-container .leaflet-popup-content .map-info-wrapper .map-info-details, -#map.leaflet-container +#gmap.leaflet-container .leaflet-popup-content .map-info-wrapper .map-info-details, @@ -20843,12 +21904,12 @@ input.directorist-toggle-input:checked .map-info-details { padding: 15px; } -#gmap.leaflet-container +#map.leaflet-container .leaflet-popup-content .map-info-wrapper .map-info-details h3, -#map.leaflet-container +#gmap.leaflet-container .leaflet-popup-content .map-info-wrapper .map-info-details @@ -20862,13 +21923,13 @@ input.directorist-toggle-input:checked margin-bottom: 0; margin-top: 0; } -#gmap.leaflet-container +#map.leaflet-container .leaflet-popup-content .map-info-wrapper .map-info-details .miw-contents-footer .iw-close-btn, -#map.leaflet-container +#gmap.leaflet-container .leaflet-popup-content .map-info-wrapper .map-info-details @@ -20882,8 +21943,8 @@ input.directorist-toggle-input:checked .iw-close-btn { display: none; } -#gmap.leaflet-container .leaflet-popup-close-button, #map.leaflet-container .leaflet-popup-close-button, +#gmap.leaflet-container .leaflet-popup-close-button, .directorist-single-map.leaflet-container .leaflet-popup-close-button { position: absolute; width: 25px; @@ -20914,30 +21975,33 @@ input.directorist-toggle-input:checked padding: 0; display: none; } -#gmap.leaflet-container .leaflet-popup-close-button:hover, #map.leaflet-container .leaflet-popup-close-button:hover, +#gmap.leaflet-container .leaflet-popup-close-button:hover, .directorist-single-map.leaflet-container .leaflet-popup-close-button:hover { background-color: #444752; } -#gmap.leaflet-container .leaflet-popup-tip-container, #map.leaflet-container .leaflet-popup-tip-container, +#gmap.leaflet-container .leaflet-popup-tip-container, .directorist-single-map.leaflet-container .leaflet-popup-tip-container { display: none; } + .directorist-single-map .gm-style-iw-c, .directorist-single-map .gm-style-iw-d { max-height: unset !important; } -.directorist-single-map .gm-style-iw-chr, -.directorist-single-map .gm-style-iw-tc { +.directorist-single-map .gm-style-iw-tc, +.directorist-single-map .gm-style-iw-chr { display: none; } + .map-listing-card-single { position: relative; padding: 10px; border-radius: 8px; - -webkit-box-shadow: 0 5px 20px rgba(var(--directorist-color-dark-rgb), 0.33); - box-shadow: 0 5px 20px rgba(var(--directorist-color-dark-rgb), 0.33); + -webkit-box-shadow: 0px 5px 20px + rgba(var(--directorist-color-dark-rgb), 0.33); + box-shadow: 0px 5px 20px rgba(var(--directorist-color-dark-rgb), 0.33); background-color: var(--directorist-color-white); } .map-listing-card-single figure { @@ -20954,7 +22018,7 @@ input.directorist-toggle-input:checked } .map-listing-card-single .directorist-mark-as-favorite__btn - .directorist-favorite-icon:before { + .directorist-favorite-icon::before { width: 16px; height: 16px; } @@ -21093,13 +22157,17 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-gray-hover); } .map-listing-card-single__content__info { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 10px; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; } -.map-listing-card-single__content__info, .map-listing-card-single__content__info .directorist-info-item { display: -webkit-box; display: -webkit-flex; @@ -21139,6 +22207,7 @@ input.directorist-toggle-input:checked .map-listing-card-single__content__location a:not(:first-child) { margin-right: 5px; } + .leaflet-popup-content-wrapper .leaflet-popup-content .map-info-wrapper @@ -21146,11 +22215,13 @@ input.directorist-toggle-input:checked .iw-close-btn { display: none; } + .myDivIcon { text-align: center !important; line-height: 20px !important; position: relative; } + .atbd_map_shape { position: relative; display: -webkit-box; @@ -21185,20 +22256,21 @@ input.directorist-toggle-input:checked transition: all 0.3s ease-in-out; border: none; border: 40px solid rgba(var(--directorist-color-marker-shape-rgb), 0.2); - -webkit-animation: atbd_scale 3s linear infinite alternate; - animation: atbd_scale 3s linear infinite alternate; + -webkit-animation: atbd_scale 3s linear alternate infinite; + animation: atbd_scale 3s linear alternate infinite; } .atbd_map_shape .directorist-icon-mask:after { width: 16px; height: 16px; background-color: var(--directorist-color-marker-icon); - -webkit-mask-image: url(../images/ed83bad2b8ea2a7680575ff079fc63af.svg); - mask-image: url(../images/ed83bad2b8ea2a7680575ff079fc63af.svg); + -webkit-mask-image: url(../js/../images/ed83bad2b8ea2a7680575ff079fc63af.svg); + mask-image: url(../js/../images/ed83bad2b8ea2a7680575ff079fc63af.svg); } .atbd_map_shape:hover:before { opacity: 1; visibility: visible; } + .marker-cluster-shape { width: 35px; height: 35px; @@ -21232,8 +22304,10 @@ input.directorist-toggle-input:checked background: rgba(var(--directorist-color-marker-shape-rgb), 0.15); border-radius: 50%; } -.atbd_google_map .gm-style .gm-style-iw, + +/*style the box*/ .atbdp-map .gm-style .gm-style-iw, +.atbd_google_map .gm-style .gm-style-iw, .directorist-details-info-wrap .gm-style .gm-style-iw { width: 350px; padding: 0; @@ -21243,35 +22317,37 @@ input.directorist-toggle-input:checked max-height: none !important; } @media only screen and (max-width: 375px) { - .atbd_google_map .gm-style .gm-style-iw, .atbdp-map .gm-style .gm-style-iw, + .atbd_google_map .gm-style .gm-style-iw, .directorist-details-info-wrap .gm-style .gm-style-iw { width: 275px; max-width: unset !important; } } -.atbd_google_map .gm-style .gm-style-iw .gm-style-iw-d, .atbdp-map .gm-style .gm-style-iw .gm-style-iw-d, +.atbd_google_map .gm-style .gm-style-iw .gm-style-iw-d, .directorist-details-info-wrap .gm-style .gm-style-iw .gm-style-iw-d { overflow: hidden !important; max-height: 100% !important; } -.atbd_google_map .gm-style .gm-style-iw button.gm-ui-hover-effect, .atbdp-map .gm-style .gm-style-iw button.gm-ui-hover-effect, +.atbd_google_map .gm-style .gm-style-iw button.gm-ui-hover-effect, .directorist-details-info-wrap .gm-style .gm-style-iw button.gm-ui-hover-effect { display: none !important; } -.atbd_google_map .gm-style .gm-style-iw .map-info-wrapper--show, .atbdp-map .gm-style .gm-style-iw .map-info-wrapper--show, +.atbd_google_map .gm-style .gm-style-iw .map-info-wrapper--show, .directorist-details-info-wrap .gm-style .gm-style-iw .map-info-wrapper--show { display: block !important; } + .gm-style div[aria-label="Map"] div[role="button"] { display: none; } + .directorist-report-abuse-modal .directorist-modal__header { padding: 20px 0 15px; } @@ -21279,7 +22355,8 @@ input.directorist-toggle-input:checked .directorist-modal__header .directorist-modal-title { font-size: 1.75rem; - margin: 0 0 0.5rem; + margin: 0; + margin-bottom: 0.5rem; font-weight: 500; line-height: 1.2; color: var(--directorist-color-dark); @@ -21368,9 +22445,9 @@ input.directorist-toggle-input:checked .directorist-modal__footer .directorist-btn.directorist-btn-loading:after { content: ""; - border-radius: 50%; border: 2px solid #f3f3f3; - border-top-color: #656a7a; + border-radius: 50%; + border-top: 2px solid #656a7a; width: 20px; height: 20px; -webkit-animation: rotate360 2s linear infinite; @@ -21381,35 +22458,36 @@ input.directorist-toggle-input:checked top: 4px; } .directorist-report-abuse-modal .directorist-modal__content { - padding: 20px 30px; + padding: 20px 30px 20px; } .directorist-report-abuse-modal #directorist-report-abuse-form { text-align: right; } -.atbd_rated_stars ul, -.directorist-rated-stars ul { + +.directorist-rated-stars ul, +.atbd_rated_stars ul { margin: 0; padding: 0; } -.atbd_rated_stars li, -.directorist-rated-stars li { +.directorist-rated-stars li, +.atbd_rated_stars li { display: inline-block; padding: 0; margin: 0; } -.atbd_rated_stars span, -.directorist-rated-stars span { +.directorist-rated-stars span, +.atbd_rated_stars span { color: #d4d3f3; display: block; width: 14px; height: 14px; position: relative; } -.atbd_rated_stars span:before, -.directorist-rated-stars span:before { +.directorist-rated-stars span:before, +.atbd_rated_stars span:before { content: ""; - -webkit-mask-image: url(../images/9a1043337f37b65647d77feb64df21dd.svg); - mask-image: url(../images/9a1043337f37b65647d77feb64df21dd.svg); + -webkit-mask-image: url(../js/../images/9a1043337f37b65647d77feb64df21dd.svg); + mask-image: url(../js/../images/9a1043337f37b65647d77feb64df21dd.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 15px; @@ -21419,10 +22497,11 @@ input.directorist-toggle-input:checked right: 0; top: 0; } -.atbd_rated_stars span.directorist-rate-active:before, -.directorist-rated-stars span.directorist-rate-active:before { +.directorist-rated-stars span.directorist-rate-active:before, +.atbd_rated_stars span.directorist-rate-active:before { background-color: var(--directorist-color-warning); } + .directorist-single .directorist-single-listing-top button:not(:hover):not(:active):not( @@ -21440,12 +22519,15 @@ input.directorist-toggle-input:checked background-color: transparent; } } + .directorist-listing-details .directorist-listing-single { - border: 0; + border: 0 none; } + .directorist-single-listing-notice { margin-bottom: 15px; } + .directorist-single-tag-list li { margin: 0 0 10px; } @@ -21486,6 +22568,9 @@ input.directorist-toggle-input:checked .directorist-single-tag-list a .directorist-icon-mask:after { font-size: 15px; } +.directorist-single-tag-list a { + /* Legacy Icon */ +} .directorist-single-tag-list a > span:not(.directorist-icon-mask) { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -21515,6 +22600,7 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-primary); color: var(--directorist-color-white); } + .directorist-single-dummy-shortcode { width: 100%; background-color: #556166; @@ -21526,6 +22612,7 @@ input.directorist-toggle-input:checked font-size: 16px; line-height: 1.2; } + .directorist-sidebar .directorist-search-contents { display: -webkit-box; display: -webkit-flex; @@ -21608,775 +22695,84 @@ input.directorist-toggle-input:checked li { margin-top: 0; } -.directorist-single-listing-top { - gap: 20px; - margin: 15px 0 30px; - -webkit-box-align: start; - -webkit-align-items: flex-start; - -ms-flex-align: start; - align-items: flex-start; -} -@media screen and (max-width: 575px) { - .directorist-single-listing-top { - gap: 10px; - } + +.directorist-single-wrapper + .formgent-form-general + .formgent-field-list--frontend { + padding: 0; } -.directorist-single-listing-top .directorist-return-back { - gap: 8px; - margin: 0; - -webkit-box-flex: unset; - -webkit-flex: unset; - -ms-flex: unset; - flex: unset; - min-width: 120px; - text-decoration: none; - -webkit-box-pack: start; - -webkit-justify-content: flex-start; - -ms-flex-pack: start; - justify-content: flex-start; - border: 2px solid var(--directorist-color-white); +.directorist-single-wrapper .formgent-file-upload-progress-text { + min-width: 40px; } -@media screen and (max-width: 575px) { - .directorist-single-listing-top .directorist-return-back { - border: none; - min-width: auto; - } +.directorist-single-wrapper + .formgent-file-preview-action + .formgent-file-delete { + line-height: 1; } -.directorist-single-listing-top - .directorist-return-back - .directorist-single-listing-action__text { - display: block; + +.directorist-single-author-info figure { + margin: 0; } -@media screen and (max-width: 575px) { - .directorist-single-listing-top - .directorist-return-back - .directorist-single-listing-action__text { - display: none; - } +.directorist-single-author-info .diretorist-view-profile-btn { + margin-top: 22px; + padding: 0 30px; } -.directorist-single-listing-top__btn-wrapper { - position: fixed; - width: 100%; - height: 80px; - bottom: 0; - right: 0; + +.directorist-single-author-avatar { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; - background-color: rgba(0, 0, 0, 0.8); - z-index: 999; -} -.directorist-single-listing-top__btn-continue.directorist-btn { - height: 46px; - border-radius: 8px; - font-size: 15px; - font-weight: 600; - padding: 0 25px; - background-color: #394dff !important; - color: var(--directorist-color-white); -} -.directorist-single-listing-top__btn-continue.directorist-btn:hover { - background-color: #2a3cd9 !important; - color: var(--directorist-color-white); - border-color: var(--directorist-color-white) !important; -} -.directorist-single-listing-top__btn-continue.directorist-btn - .directorist-single-listing-action__text { - display: block; -} -.directorist-single-contents-area { - -webkit-box-sizing: border-box; - box-sizing: border-box; } -.directorist-single-contents-area .directorist-card { - padding: 0; - -webkit-filter: none; - filter: none; - margin-bottom: 35px; +.directorist-single-author-avatar .directorist-single-author-avatar-inner { + margin-left: 10px; + width: auto; } -.directorist-single-contents-area .directorist-card .directorist-card__body { - padding: 30px; +.directorist-single-author-avatar .directorist-single-author-avatar-inner img { + width: 50px; + height: 50px; + border-radius: 50%; } -@media screen and (max-width: 575px) { - .directorist-single-contents-area - .directorist-card - .directorist-card__body { - padding: 20px 15px; - } +.directorist-single-author-avatar .directorist-single-author-name h1, +.directorist-single-author-avatar .directorist-single-author-name h2, +.directorist-single-author-avatar .directorist-single-author-name h3, +.directorist-single-author-avatar .directorist-single-author-name h4, +.directorist-single-author-avatar .directorist-single-author-name h5, +.directorist-single-author-avatar .directorist-single-author-name h6 { + font-size: 16px; + font-weight: 500; + line-height: 1.2; + letter-spacing: normal; + margin: 0 0 3px; + color: var(--color-dark); } -.directorist-single-contents-area .directorist-card .directorist-card__header { - padding: 20px 30px; +.directorist-single-author-avatar .directorist-single-author-membership { + font-size: 14px; + color: var(--directorist-color-light-gray); } -@media screen and (max-width: 575px) { - .directorist-single-contents-area - .directorist-card - .directorist-card__header { - padding: 15px 20px; - } + +.directorist-single-author-contact-info { + margin-top: 15px; } -.directorist-single-contents-area - .directorist-card - .directorist-single-author-name - h4 { +.directorist-single-author-contact-info ul { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; margin: 0; + padding: 0; } -.directorist-single-contents-area .directorist-card__header__title { - gap: 12px; - font-size: 18px; - font-weight: 500; - color: var(--directorist-color-dark); -} -.directorist-single-contents-area - .directorist-card__header__title - #directorist-review-counter { - margin-left: 10px; -} -.directorist-single-contents-area .directorist-card__header-icon { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - min-width: 34px; - height: 34px; - border-radius: 50%; - background-color: var(--directorist-color-bg-light); -} -.directorist-single-contents-area - .directorist-card__header-icon - .directorist-icon-mask { - color: var(--directorist-color-dark); -} -.directorist-single-contents-area - .directorist-card__header-icon - .directorist-icon-mask:after { - width: 14px; - height: 14px; -} -.directorist-single-contents-area .directorist-details-info-wrap a { - font-size: 15px; - text-decoration: none; - -webkit-box-shadow: none; - box-shadow: none; - color: var(--directorist-color-body); -} -.directorist-single-contents-area .directorist-details-info-wrap a:hover { - color: var(--directorist-color-primary); -} -.directorist-single-contents-area .directorist-details-info-wrap ul { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - gap: 0 10px; - margin: 0; - list-style-type: none; - padding: 0; -} -.directorist-single-contents-area .directorist-details-info-wrap li { - -webkit-box-flex: 0; - -webkit-flex: 0 0 49%; - -ms-flex: 0 0 49%; - flex: 0 0 49%; -} -.directorist-single-contents-area - .directorist-details-info-wrap - .directorist-social-links - a:hover { - background-color: var(--directorist-color-primary); -} -.directorist-single-contents-area - .directorist-details-info-wrap - .directorist-single-map__location { - padding-top: 18px; -} -.directorist-single-contents-area - .directorist-single-info__label-icon - .directorist-icon-mask:after { - background-color: grey; -} -.directorist-single-contents-area - .directorist-single-listing-slider - .directorist-swiper__nav - i:after { - background-color: var(--directorist-color-white); -} -.directorist-single-contents-area .directorist-related { - padding: 0; -} -.directorist-single-contents-area { - margin-top: 50px; -} -.directorist-single-contents-area - .directorist-single-wrapper - .directorist-details-info-wrap { - gap: 12px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -} -.directorist-single-contents-area - .directorist-single-wrapper - .directorist-details-info-wrap - .directorist-single-info { - margin: 0; -} -.directorist-single-contents-area - .directorist-single-wrapper - .directorist-details-info-wrap - .directorist-single-info.directorist-single-info-number - .directorist-form-group__with-prefix { - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; -} -.directorist-single-contents-area - .directorist-single-wrapper - .directorist-details-info-wrap - .directorist-single-info - .directorist-form-group__with-prefix { - border: none; - margin-top: 4px; -} -.directorist-single-contents-area - .directorist-single-wrapper - .directorist-details-info-wrap - .directorist-single-info - .directorist-form-group__prefix { - height: auto; - line-height: unset; - color: var(--directorist-color-body); -} -.directorist-single-contents-area - .directorist-single-wrapper - .directorist-single-formgent-form - .formgent-form { - width: 100%; -} -.directorist-single-contents-area .directorist-card { - margin-bottom: 25px; -} -.directorist-single-map__location { - gap: 10px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - padding: 30px 0 0; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; -} -@media screen and (max-width: 575px) { - .directorist-single-map__location { - padding: 20px 0 0; - } -} -.directorist-single-map__address { - gap: 10px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - font-size: 14px; -} -.directorist-single-map__address i:after { - width: 14px; - height: 14px; - margin-top: 4px; -} -.directorist-single-map__direction a { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 10px; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; -} -.directorist-single-contents-area .directorist-single-map__direction a { - font-size: 14px; - color: var(--directorist-color-info); -} -.directorist-single-contents-area - .directorist-single-map__direction - a - .directorist-icon-mask:after { - background-color: var(--directorist-color-info); -} -.directorist-single-contents-area .directorist-single-map__direction a:hover { - color: var(--directorist-color-primary); -} -.directorist-single-contents-area - .directorist-single-map__direction - a:hover - .directorist-icon-mask:after { - background-color: var(--directorist-color-primary); -} -.directorist-single-contents-area - .directorist-single-map__direction - .directorist-icon-mask:after { - width: 14px; - height: 14px; - background-color: var(--directorist-color-info); -} -.directorist-single-listing-header { - margin-bottom: 25px; - margin-top: -15px; - padding: 0; -} -.directorist-single-wrapper .directorist-listing-single__info { - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; -} -.directorist-single-wrapper .directorist-single-listing-slider-wrap { - padding: 0; - margin: 15px 0; -} -.directorist-single-wrapper - .directorist-single-listing-slider-wrap.background-contain - .directorist-single-listing-slider - .swiper-slide - img { - -o-object-fit: contain; - object-fit: contain; -} -.directorist-single-listing-quick-action { - width: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; -} -@media screen and (max-width: 767px) { - .directorist-single-listing-quick-action { - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - } -} -@media screen and (max-width: 575px) { - .directorist-single-listing-quick-action { - gap: 12px; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - } -} -.directorist-single-listing-quick-action .directorist-social-share { - position: relative; -} -.directorist-single-listing-quick-action - .directorist-social-share:hover - .directorist-social-share-links { - opacity: 1; - visibility: visible; - top: calc(100% + 5px); -} -@media screen and (max-width: 575px) { - .directorist-single-listing-quick-action .directorist-action-bookmark, - .directorist-single-listing-quick-action .directorist-action-report, - .directorist-single-listing-quick-action .directorist-social-share { - font-size: 0; - } -} -.directorist-single-listing-quick-action .directorist-social-share-links { - position: absolute; - -webkit-transition: all 0.2s ease-in-out; - transition: all 0.2s ease-in-out; - z-index: 2; - visibility: hidden; - opacity: 0; - left: 0; - top: calc(100% + 30px); - background-color: var(--directorist-color-white); - border-radius: 8px; - width: 150px; - -webkit-box-shadow: 0 5px 15px rgba(var(--directorist-color-dark-rgb), 0.15); - box-shadow: 0 5px 15px rgba(var(--directorist-color-dark-rgb), 0.15); - list-style-type: none; - padding: 10px; - margin: 0; -} -.directorist-single-listing-quick-action .directorist-social-links__item { - padding-right: 0; - margin: 0; -} -.directorist-single-listing-quick-action .directorist-social-links__item a { - padding: 8px 12px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 5px; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - text-decoration: none; - font-size: 14px; - font-weight: 500; - border: 0; - border-radius: 8px; - color: var(--directorist-color-body); - -webkit-transition: 0.3s ease; - transition: 0.3s ease; -} -.directorist-single-listing-quick-action .directorist-social-links__item a i, -.directorist-single-listing-quick-action - .directorist-social-links__item - a - span.fa, -.directorist-single-listing-quick-action - .directorist-social-links__item - a - span.la, -.directorist-single-listing-quick-action - .directorist-social-links__item - a - span.lab { - color: var(--directorist-color-body); -} -.directorist-single-listing-quick-action - .directorist-social-links__item - a - i:after, -.directorist-single-listing-quick-action - .directorist-social-links__item - a - span.fa:after, -.directorist-single-listing-quick-action - .directorist-social-links__item - a - span.la:after, -.directorist-single-listing-quick-action - .directorist-social-links__item - a - span.lab:after { - width: 18px; - height: 18px; -} -.directorist-single-listing-quick-action - .directorist-social-links__item - a - .directorist-icon-mask:after { - background-color: var(--directorist-color-body); -} -.directorist-single-listing-quick-action - .directorist-social-links__item - a - span.fa { - font-family: Font Awesome\5 Brands; - font-weight: 900; - font-size: 15px; -} -.directorist-single-listing-quick-action - .directorist-social-links__item - a:hover { - font-weight: 500; - background-color: rgba(var(--directorist-color-primary-rgb), 0.1); - color: var(--directorist-color-primary); -} -.directorist-single-listing-quick-action - .directorist-social-links__item - a:hover - i, -.directorist-single-listing-quick-action - .directorist-social-links__item - a:hover - span.fa, -.directorist-single-listing-quick-action - .directorist-social-links__item - a:hover - span.la { - color: var(--directorist-color-primary); -} -.directorist-single-listing-quick-action - .directorist-social-links__item - a:hover - .directorist-icon-mask:after { - background-color: var(--directorist-color-primary); -} -.directorist-single-listing-quick-action - .directorist-listing-single__quick-actions { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; -} -.directorist-single-listing-action { - gap: 8px; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - font-size: 13px; - font-weight: 400; - border: 0; - border-radius: 8px; - padding: 0 16px; - cursor: pointer; - text-decoration: none; - color: var(--directorist-color-body); - border: 2px solid var(--directorist-color-white) !important; - -webkit-transition: background-color 0.2s ease-in-out; - transition: background-color 0.2s ease-in-out; -} -.directorist-single-listing-action:hover { - background-color: var(--directorist-color-white) !important; - border-color: var(--directorist-color-primary) !important; -} -@media screen and (max-width: 575px) { - .directorist-single-listing-action { - gap: 0; - border: none; - } - .directorist-single-listing-action.directorist-btn.directorist-btn-light { - background-color: var(--directorist-color-white); - border: 1px solid var(--directorist-color-light) !important; - } - .directorist-single-listing-action.directorist-single-listing-top__btn-edit - .directorist-single-listing-action__text { - display: none; - } -} -@media screen and (max-width: 480px) { - .directorist-single-listing-action { - padding: 0 10px; - font-size: 12px; - } -} -@media screen and (max-width: 380px) { - .directorist-single-listing-action.directorist-btn-sm { - min-height: 38px; - } -} -.directorist-single-listing-action.directorist-action-bookmark - .directorist-icon-mask:after { - background-color: var(--directorist-color-dark); -} -.directorist-single-listing-action.directorist-action-bookmark - .directorist-icon-mask.directorist-added-to-favorite:after { - background-color: var(--directorist-color-danger); -} -.directorist-single-listing-action .directorist-icon-mask:after { - width: 15px; - height: 15px; -} -.directorist-single-listing-action a { - -webkit-box-shadow: none; - box-shadow: none; -} -.directorist-single-listing-action .atbdp-require-login, -.directorist-single-listing-action .directorist-action-report-not-loggedin { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - width: 100%; - height: 100%; -} -.directorist-single-listing-action .atbdp-require-login i, -.directorist-single-listing-action .directorist-action-report-not-loggedin i { - pointer-events: none; -} -.directorist-listing-details { - margin: 15px 0 30px; -} -.directorist-listing-details__text p { - margin: 0 0 15px; - color: var(--directorist-color-body); - line-height: 24px; -} -.directorist-listing-details__text ul { - list-style: disc; - padding-right: 20px; - margin-right: 0; -} -.directorist-listing-details__text li { - list-style: disc; -} -.directorist-listing-details__listing-title { - font-size: 30px; - font-weight: 600; - display: inline-block; - margin: 15px 0 0; - color: var(--directorist-color-dark); -} -@media screen and (max-width: 575px) { - .directorist-listing-details__listing-title { - font-size: 24px; - } -} -.directorist-listing-details__tagline { - margin: 10px 0; - color: var(--directorist-color-body); -} -.directorist-listing-details - .directorist-pricing-meta - .directorist-listing-price { - padding: 5px 10px; - border-radius: 6px; - background-color: var(--directorist-color-light); -} -.directorist-listing-details .directorist-listing-single__info { - padding: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; -} -.directorist-single-contents-area .directorist-embaded-video { - width: 100%; - height: 400px; - border: 0; - border-radius: 12px; -} -@media (max-width: 768px) { - .directorist-single-contents-area .directorist-embaded-video { - height: 56.25vw; - } -} -.directorist-single-contents-area .directorist-single-map { - border-radius: 12px; - z-index: 1; -} -.directorist-single-contents-area - .directorist-single-map - .directorist-info-item - a { - font-size: 14px; -} -.directorist-related-listing-header h1, -.directorist-related-listing-header h2, -.directorist-related-listing-header h3, -.directorist-related-listing-header h4, -.directorist-related-listing-header h5, -.directorist-related-listing-header h6 { - font-size: 18px; - margin: 0 0 15px; -} -.directorist-single-author-info figure { - margin: 0; -} -.directorist-single-author-info .diretorist-view-profile-btn { - margin-top: 22px; - padding: 0 30px; -} -.directorist-single-author-avatar { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; -} -.directorist-single-author-avatar .directorist-single-author-avatar-inner { - margin-left: 10px; - width: auto; -} -.directorist-single-author-avatar .directorist-single-author-avatar-inner img { - width: 50px; - height: 50px; - border-radius: 50%; -} -.directorist-single-author-avatar .directorist-single-author-name h1, -.directorist-single-author-avatar .directorist-single-author-name h2, -.directorist-single-author-avatar .directorist-single-author-name h3, -.directorist-single-author-avatar .directorist-single-author-name h4, -.directorist-single-author-avatar .directorist-single-author-name h5, -.directorist-single-author-avatar .directorist-single-author-name h6 { - font-size: 16px; - font-weight: 500; - line-height: 1.2; - letter-spacing: normal; - margin: 0 0 3px; - color: var(--color-dark); -} -.directorist-single-author-avatar .directorist-single-author-membership { - font-size: 14px; - color: var(--directorist-color-light-gray); -} -.directorist-single-author-contact-info { - margin-top: 15px; -} -.directorist-single-author-contact-info ul { - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - margin: 0; - padding: 0; -} -.directorist-single-author-contact-info ul li { - width: 100%; - -webkit-box-flex: 100%; - -webkit-flex: 100%; - -ms-flex: 100%; - flex: 100%; +.directorist-single-author-contact-info ul li { + width: 100%; + -webkit-box-flex: 100%; + -webkit-flex: 100%; + -ms-flex: 100%; + flex: 100%; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -22398,11 +22794,12 @@ input.directorist-toggle-input:checked .directorist-single-author-contact-info ul a:hover { color: var(--directorist-color-primary); } -.directorist-single-author-contact-info ul .directorist-icon-mask:after { +.directorist-single-author-contact-info ul .directorist-icon-mask::after { width: 14px; height: 14px; background-color: var(--directorist-color-light-gray); } + .directorist-single-author-contact-info-text { font-size: 15px; margin-right: 12px; @@ -22410,6 +22807,7 @@ input.directorist-toggle-input:checked box-shadow: none; color: var(--directorist-color-body); } + .directorist-single-author-info .directorist-social-wrap { display: -webkit-box; display: -webkit-flex; @@ -22427,9 +22825,10 @@ input.directorist-toggle-input:checked border-radius: 4px; color: var(--directorist-color-white) !important; overflow: hidden; - -webkit-transition: all 0.3s ease-in-out !important; - transition: all 0.3s ease-in-out !important; + -webkit-transition: all ease-in-out 300ms !important; + transition: all ease-in-out 300ms !important; } + .directorist-details-info-wrap .directorist-single-info { display: -webkit-box; display: -webkit-flex; @@ -22566,6 +22965,7 @@ input.directorist-toggle-input:checked display: none; } } + .directorist-social-links { display: -webkit-box; display: -webkit-flex; @@ -22594,13 +22994,13 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-light); border-radius: 8px; overflow: hidden; - -webkit-transition: all 0.3s ease-in-out !important; - transition: all 0.3s ease-in-out !important; + -webkit-transition: all ease-in-out 300ms !important; + transition: all ease-in-out 300ms !important; } -.directorist-social-links a .directorist-icon-mask:after { +.directorist-social-links a .directorist-icon-mask::after { background-color: var(--directorist-color-body); } -.directorist-social-links a:hover .directorist-icon-mask:after { +.directorist-social-links a:hover .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .directorist-social-links a:hover.facebook { @@ -22611,7 +23011,7 @@ input.directorist-toggle-input:checked } .directorist-social-links a:hover.youtube, .directorist-social-links a:hover.youtube-play { - background-color: red; + background-color: #ff0000; } .directorist-social-links a:hover.instagram { background-color: #c32aa3; @@ -22653,10 +23053,13 @@ input.directorist-toggle-input:checked .directorist-social-links a:hover.behance { background-color: #196ee3; } -.directorist-social-links a:hover.soundcloud, +.directorist-social-links a:hover.soundcloud { + background-color: #ff5500; +} .directorist-social-links a:hover.stack-overflow { - background-color: #f50; + background-color: #ff5500; } + .directorist-contact-owner-form-inner .directorist-form-group { margin-bottom: 15px; } @@ -22671,9 +23074,11 @@ input.directorist-toggle-input:checked text-decoration: none; text-transform: capitalize; } + .directorist-author-social a .fa { - font-family: Font Awesome\5 Brands; + font-family: "Font Awesome 5 Brands"; } + .directorist-google-map, .directorist-single-map { height: 400px; @@ -22684,6 +23089,7 @@ input.directorist-toggle-input:checked height: 320px; } } + .directorist-rating-review-block { display: inline-block; border: 1px solid #e3e6ef; @@ -22691,12 +23097,14 @@ input.directorist-toggle-input:checked border-radius: 2px; margin-bottom: 20px; } + .directorist-review-area .directorist-review-form-action { margin-top: 16px; } .directorist-review-area .directorist-form-group-guest-user { margin-top: 12px; } + .directorist-rating-given-block .directorist-rating-given-block__label, .directorist-rating-given-block .directorist-rating-given-block__stars { display: inline-block; @@ -22709,26 +23117,29 @@ input.directorist-toggle-input:checked box-shadow: none; } .directorist-rating-given-block .directorist-rating-given-block__label { + margin-left: 10px; margin: 0 0 0 10px; } + .directorist-rating-given-block__stars .br-widget a:before { content: ""; - -webkit-mask-image: url(../images/c8cb6a06142934b1fac8df29a41ebf7c.svg); - mask-image: url(../images/c8cb6a06142934b1fac8df29a41ebf7c.svg); + -webkit-mask-image: url(../js/../images/c8cb6a06142934b1fac8df29a41ebf7c.svg); + mask-image: url(../js/../images/c8cb6a06142934b1fac8df29a41ebf7c.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 14px; height: 14px; background-color: #d4d3f3; } -.directorist-rating-given-block__stars .br-widget a.br-active:before, -.directorist-rating-given-block__stars .br-widget a.br-selected:before { +.directorist-rating-given-block__stars .br-widget a.br-selected:before, +.directorist-rating-given-block__stars .br-widget a.br-active:before { color: var(--directorist-color-warning); } .directorist-rating-given-block__stars .br-current-rating { display: inline-block; margin-right: 20px; } + .directorist-review-current-rating { margin-bottom: 16px; } @@ -22756,7 +23167,7 @@ input.directorist-toggle-input:checked span:before { content: "\f005"; font-size: 14px; - font-family: Font Awesome\5 Free; + font-family: "Font Awesome 5 Free"; font-weight: 900; } .directorist-review-current-rating @@ -22764,6 +23175,7 @@ input.directorist-toggle-input:checked span.directorist-rate-active { color: #fa8b0c; } + .directorist-single-review { padding-bottom: 26px; padding-top: 30px; @@ -22811,6 +23223,7 @@ input.directorist-toggle-input:checked span.directorist-rate-active { color: #fa8b0c; } + .atbdp-universal-pagination ul { display: -webkit-box; display: -webkit-flex; @@ -22819,15 +23232,12 @@ input.directorist-toggle-input:checked -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; - -ms-flex-align: center; - margin: -5px; - padding: 0; -} -.atbdp-universal-pagination li, -.atbdp-universal-pagination ul { -webkit-box-align: center; -webkit-align-items: center; + -ms-flex-align: center; align-items: center; + margin: -5px; + padding: 0; } .atbdp-universal-pagination li { -webkit-box-flex: 0; @@ -22841,7 +23251,10 @@ input.directorist-toggle-input:checked display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; -ms-flex-align: center; + align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; @@ -22858,7 +23271,10 @@ input.directorist-toggle-input:checked .atbdp-universal-pagination li.atbd-active { cursor: pointer; } -.atbdp-universal-pagination li.atbd-active:hover, +.atbdp-universal-pagination li.atbd-active:hover { + border-color: var(--directorist-color-primary); + color: var(--directorist-color-primary); +} .atbdp-universal-pagination li.atbd-selected { border-color: var(--directorist-color-primary); color: var(--directorist-color-primary); @@ -22905,21 +23321,27 @@ input.directorist-toggle-input:checked opacity: 0; right: 30%; } + .directorist-card-review-block .directorist-btn-add-review { padding: 0 14px; line-height: 2.55; } + +/*================================== +Review: New Style +===================================*/ .directorist-review-container { padding: 0; margin-bottom: 35px; } -.directorist-review-container .comment-form-cookies-consent, -.directorist-review-container .comment-notes { +.directorist-review-container .comment-notes, +.directorist-review-container .comment-form-cookies-consent { margin-bottom: 20px; font-style: italic; font-size: 14px; - font-weight: 400; + font-weight: normal; } + .directorist-review-content a > i { font-size: 13.5px; } @@ -22932,10 +23354,10 @@ input.directorist-toggle-input:checked margin-right: 15px; color: var(--directorist-color-deep-gray); } -.directorist-review-content #cancel-comment-reply-link:focus, .directorist-review-content #cancel-comment-reply-link:hover, -.directorist-review-content .directorist-js-cancel-comment-edit:focus, -.directorist-review-content .directorist-js-cancel-comment-edit:hover { +.directorist-review-content #cancel-comment-reply-link:focus, +.directorist-review-content .directorist-js-cancel-comment-edit:hover, +.directorist-review-content .directorist-js-cancel-comment-edit:focus { color: var(--directorist-color-dark); } @media screen and (max-width: 575px) { @@ -23006,7 +23428,7 @@ input.directorist-toggle-input:checked .directorist-review-content .directorist-review-content__header .directorist-btn - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .directorist-review-content @@ -23028,7 +23450,14 @@ input.directorist-toggle-input:checked color: #2c99ff; } .directorist-review-content .directorist-review-content__overview { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; -ms-flex-align: center; + align-items: center; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; @@ -23038,23 +23467,20 @@ input.directorist-toggle-input:checked justify-content: space-between; padding: 30px 50px; } -.directorist-review-content .directorist-review-content__overview, -.directorist-review-content .directorist-review-content__overview__rating { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - align-items: center; -} .directorist-review-content .directorist-review-content__overview__rating { -webkit-box-flex: 0; -webkit-flex: 0 0 50%; -ms-flex: 0 0 50%; flex: 0 0 50%; text-align: center; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; -ms-flex-align: center; + align-items: center; } .directorist-review-content .directorist-review-content__overview__rating @@ -23103,8 +23529,8 @@ input.directorist-toggle-input:checked height: 100%; position: absolute; right: 0; - -webkit-mask-image: url(../images/b6ad67158aa2d6258e619021127e704f.svg); - mask-image: url(../images/b6ad67158aa2d6258e619021127e704f.svg); + -webkit-mask-image: url(../js/../images/b6ad67158aa2d6258e619021127e704f.svg); + mask-image: url(../js/../images/b6ad67158aa2d6258e619021127e704f.svg); background-color: #ef8000; } .directorist-review-content @@ -23219,7 +23645,7 @@ input.directorist-toggle-input:checked .directorist-review-content .directorist-review-content__reviews, .directorist-review-content .directorist-review-content__reviews ul { padding: 0; - margin: 10px 0 0; + margin: 10px 0 0 0; list-style-type: none; } .directorist-review-content .directorist-review-content__reviews li, @@ -23242,7 +23668,7 @@ input.directorist-toggle-input:checked } .directorist-review-content .directorist-review-content__reviews - .directorist-comment-edit-request:after { + .directorist-comment-edit-request::after { content: ""; display: block; position: absolute; @@ -23251,12 +23677,12 @@ input.directorist-toggle-input:checked height: 100%; width: 100%; z-index: 99; - background-color: hsla(0, 0%, 100%, 0.8); + background-color: rgba(255, 255, 255, 0.8); border-radius: 4px; } .directorist-review-content .directorist-review-content__reviews - .directorist-comment-edit-request:before { + .directorist-comment-edit-request::before { position: absolute; z-index: 100; right: 50%; @@ -23274,15 +23700,15 @@ input.directorist-toggle-input:checked .directorist-review-content .directorist-review-content__reviews .directorist-comment-editing - .directorist-review-single__content, + .directorist-review-single__report, .directorist-review-content .directorist-review-content__reviews .directorist-comment-editing - .directorist-review-single__reply, + .directorist-review-single__content, .directorist-review-content .directorist-review-content__reviews .directorist-comment-editing - .directorist-review-single__report { + .directorist-review-single__reply { display: none; } .directorist-review-content @@ -23402,14 +23828,14 @@ input.directorist-toggle-input:checked .directorist-review-single__contents-wrap .directorist-review-single__header .directorist-review-single__author__details - h2:after, + h2:before, .directorist-review-content .directorist-review-content__reviews .directorist-review-single .directorist-review-single__contents-wrap .directorist-review-single__header .directorist-review-single__author__details - h2:before { + h2:after { content: none; } .directorist-review-content @@ -23431,7 +23857,7 @@ input.directorist-toggle-input:checked .directorist-review-single__header .directorist-review-single__author__details h2 - time:before { + time::before { content: "-"; padding-left: 8px; padding-right: 3px; @@ -23462,7 +23888,7 @@ input.directorist-toggle-input:checked .directorist-review-single__header .directorist-review-single__author__details .directorist-rating-stars - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 11px; height: 11px; background-color: #ef8000; @@ -23581,7 +24007,7 @@ input.directorist-toggle-input:checked .directorist-review-content__reviews .directorist-review-single__reply a.directorist-comment-edit-link - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 0.9em; height: 0.9em; background-color: #8c90a4; @@ -23603,7 +24029,7 @@ input.directorist-toggle-input:checked .directorist-review-content__reviews .directorist-review-single__comments .directorist-review-single--comment - .directorist-review-single__contents-wrap:before { + .directorist-review-single__contents-wrap::before { content: ""; height: 100%; background-color: #f2f2f2; @@ -23618,7 +24044,7 @@ input.directorist-toggle-input:checked .directorist-review-submit { margin-top: 0 !important; margin-bottom: 0 !important; - border: 0 !important; + border: 0 none !important; } .directorist-review-content .directorist-review-content__reviews @@ -23653,7 +24079,7 @@ input.directorist-toggle-input:checked margin: 25px 0 0; } .directorist-review-content .directorist-review-content__pagination ul { - border: 0; + border: 0 none; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -23708,6 +24134,7 @@ input.directorist-toggle-input:checked .page-numbers.current { border-color: #090e30; } + .directorist-review-submit { margin-top: 25px; margin-bottom: 25px; @@ -23716,6 +24143,21 @@ input.directorist-toggle-input:checked border: 1px solid #eff1f6; } .directorist-review-submit__header { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; gap: 15px; } .directorist-review-submit__header h3 { @@ -23748,12 +24190,20 @@ input.directorist-toggle-input:checked } .directorist-review-submit__header .directorist-btn - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 13px; height: 13px; background-color: var(--directorist-color-white); } .directorist-review-submit__overview { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; @@ -23762,21 +24212,18 @@ input.directorist-toggle-input:checked -ms-flex-pack: justify; justify-content: space-between; padding: 30px 50px; - border-top: 0; + border-top: 0 none; } -.directorist-review-submit__overview, .directorist-review-submit__overview__rating { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + gap: 20px; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -} -.directorist-review-submit__overview__rating { - gap: 20px; text-align: center; } @media (max-width: 480px) { @@ -23812,7 +24259,7 @@ input.directorist-toggle-input:checked margin-bottom: 5px; color: var(--directorist-color-warning); } -.directorist-review-submit__overview__rating .directorist-icon-mask:after { +.directorist-review-submit__overview__rating .directorist-icon-mask::after { width: 16px; height: 16px; background-color: var(--directorist-color-warning); @@ -23828,8 +24275,8 @@ input.directorist-toggle-input:checked height: 100%; position: absolute; right: 0; - -webkit-mask-image: url(../images/b6ad67158aa2d6258e619021127e704f.svg); - mask-image: url(../images/b6ad67158aa2d6258e619021127e704f.svg); + -webkit-mask-image: url(../js/../images/b6ad67158aa2d6258e619021127e704f.svg); + mask-image: url(../js/../images/b6ad67158aa2d6258e619021127e704f.svg); background-color: var(--directorist-color-warning); } .directorist-review-submit__overview__rating .directorist-rating-overall { @@ -23884,8 +24331,9 @@ input.directorist-toggle-input:checked .directorist-review-submit__reviews, .directorist-review-submit__reviews ul { padding: 0; + margin: 10px 0 0 0; list-style-type: none; - margin: 10px 0 0; + margin-right: 0; } .directorist-review-submit > li { border-top: 1px solid var(--directorist-color-border); @@ -23893,7 +24341,7 @@ input.directorist-toggle-input:checked .directorist-review-submit .directorist-comment-edit-request { position: relative; } -.directorist-review-submit .directorist-comment-edit-request:after { +.directorist-review-submit .directorist-comment-edit-request::after { content: ""; display: block; position: absolute; @@ -23902,7 +24350,7 @@ input.directorist-toggle-input:checked height: 100%; width: 100%; z-index: 99; - background-color: hsla(0, 0%, 100%, 0.8); + background-color: rgba(255, 255, 255, 0.8); border-radius: 4px; } .directorist-review-submit .directorist-comment-edit-request > li { @@ -23924,7 +24372,7 @@ input.directorist-toggle-input:checked height: 100%; width: 100%; z-index: 99; - background-color: hsla(0, 0%, 100%, 0.8); + background-color: rgba(255, 255, 255, 0.8); border-radius: 4px; } .directorist-review-submit @@ -23944,23 +24392,25 @@ input.directorist-toggle-input:checked -webkit-animation: directoristCommentEditLoading 0.6s linear infinite; animation: directoristCommentEditLoading 0.6s linear infinite; } + .directorist-review-single .directorist-comment-editing - .directorist-review-single__actions, + .directorist-review-single__report, .directorist-review-single .directorist-comment-editing .directorist-review-single__content, .directorist-review-single .directorist-comment-editing - .directorist-review-single__report { + .directorist-review-single__actions { display: none; } + .directorist-review-content__pagination { padding: 0; margin: 25px 0 35px; } .directorist-review-content__pagination ul { - border: 0; + border: 0 none; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -24007,6 +24457,7 @@ input.directorist-toggle-input:checked .directorist-review-content__pagination li .page-numbers.current { border-color: #090e30; } + .directorist-review-single { padding: 40px 30px; margin: 0; @@ -24032,6 +24483,10 @@ input.directorist-toggle-input:checked font-style: normal; } .directorist-review-single .directorist-review-single__header { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; @@ -24040,9 +24495,11 @@ input.directorist-toggle-input:checked -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; margin-bottom: 20px; } -.directorist-review-single .directorist-review-single__header, .directorist-review-single__author { display: -webkit-box; display: -webkit-flex; @@ -24051,8 +24508,6 @@ input.directorist-toggle-input:checked -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; -} -.directorist-review-single__author { -webkit-box-align: start; -webkit-align-items: flex-start; -ms-flex-align: start; @@ -24147,9 +24602,6 @@ input.directorist-toggle-input:checked display: -webkit-flex; display: -ms-flexbox; display: flex; -} -.directorist-review-single__actions, -.directorist-review-single__actions a { -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; @@ -24161,6 +24613,10 @@ input.directorist-toggle-input:checked display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; background: none; margin: 0 8px; color: var(--directorist-color-deep-gray); @@ -24168,7 +24624,7 @@ input.directorist-toggle-input:checked .directorist-review-single__actions a .directorist-icon-mask { margin-left: 6px; } -.directorist-review-single__actions a .directorist-icon-mask:after { +.directorist-review-single__actions a .directorist-icon-mask::after { width: 13.5px; height: 13.5px; background-color: var(--directorist-color-deep-gray); @@ -24194,7 +24650,7 @@ input.directorist-toggle-input:checked .directorist-review-single .directorist-review-submit { margin-top: 0; margin-bottom: 0; - border: 0; + border: 0 none; -webkit-box-shadow: 0 0; box-shadow: 0 0; } @@ -24249,6 +24705,7 @@ input.directorist-toggle-input:checked content: ""; background-color: var(--directorist-color-border-gray); } + .directorist-review-submit__header { display: -webkit-box; display: -webkit-flex; @@ -24356,8 +24813,8 @@ input.directorist-toggle-input:checked } .directorist-review-submit__form .directorist-review-criteria__single a:before { content: ""; - -webkit-mask-image: url(../images/c8cb6a06142934b1fac8df29a41ebf7c.svg); - mask-image: url(../images/c8cb6a06142934b1fac8df29a41ebf7c.svg); + -webkit-mask-image: url(../js/../images/c8cb6a06142934b1fac8df29a41ebf7c.svg); + mask-image: url(../js/../images/c8cb6a06142934b1fac8df29a41ebf7c.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 14px; @@ -24371,10 +24828,10 @@ input.directorist-toggle-input:checked } .directorist-review-submit__form .directorist-review-criteria__single - a.br-active, + a.br-selected, .directorist-review-submit__form .directorist-review-criteria__single - a.br-selected { + a.br-active { background-color: var(--directorist-color-warning) !important; text-decoration: none; outline: 0; @@ -24407,8 +24864,8 @@ input.directorist-toggle-input:checked color: var(--directorist-color-dark); margin-bottom: 5px; } -.directorist-review-submit__form .directorist-form-group input[type="email"], .directorist-review-submit__form .directorist-form-group input[type="text"], +.directorist-review-submit__form .directorist-form-group input[type="email"], .directorist-review-submit__form .directorist-form-group input[type="url"] { height: 46px; background-color: var(--directorist-color-white); @@ -24416,10 +24873,10 @@ input.directorist-toggle-input:checked } .directorist-review-submit__form .directorist-form-group - input[type="email"]::-webkit-input-placeholder, + input[type="text"]::-webkit-input-placeholder, .directorist-review-submit__form .directorist-form-group - input[type="text"]::-webkit-input-placeholder, + input[type="email"]::-webkit-input-placeholder, .directorist-review-submit__form .directorist-form-group input[type="url"]::-webkit-input-placeholder { @@ -24427,10 +24884,10 @@ input.directorist-toggle-input:checked } .directorist-review-submit__form .directorist-form-group - input[type="email"]::-moz-placeholder, + input[type="text"]::-moz-placeholder, .directorist-review-submit__form .directorist-form-group - input[type="text"]::-moz-placeholder, + input[type="email"]::-moz-placeholder, .directorist-review-submit__form .directorist-form-group input[type="url"]::-moz-placeholder { @@ -24438,10 +24895,10 @@ input.directorist-toggle-input:checked } .directorist-review-submit__form .directorist-form-group - input[type="email"]:-ms-input-placeholder, + input[type="text"]:-ms-input-placeholder, .directorist-review-submit__form .directorist-form-group - input[type="text"]:-ms-input-placeholder, + input[type="email"]:-ms-input-placeholder, .directorist-review-submit__form .directorist-form-group input[type="url"]:-ms-input-placeholder { @@ -24449,10 +24906,10 @@ input.directorist-toggle-input:checked } .directorist-review-submit__form .directorist-form-group - input[type="email"]::-ms-input-placeholder, + input[type="text"]::-ms-input-placeholder, .directorist-review-submit__form .directorist-form-group - input[type="text"]::-ms-input-placeholder, + input[type="email"]::-ms-input-placeholder, .directorist-review-submit__form .directorist-form-group input[type="url"]::-ms-input-placeholder { @@ -24460,10 +24917,10 @@ input.directorist-toggle-input:checked } .directorist-review-submit__form .directorist-form-group - input[type="email"]::placeholder, + input[type="text"]::placeholder, .directorist-review-submit__form .directorist-form-group - input[type="text"]::placeholder, + input[type="email"]::placeholder, .directorist-review-submit__form .directorist-form-group input[type="url"]::placeholder { @@ -24663,20 +25120,23 @@ input.directorist-toggle-input:checked .directorist-review-submit .directorist-btn { padding: 0 20px; } + .directorist-review-content + .directorist-review-submit.directorist-review-submit--hidden { display: none !important; } + @-webkit-keyframes directoristCommentEditLoading { to { - -webkit-transform: rotate(-1turn); - transform: rotate(-1turn); + -webkit-transform: rotate(-360deg); + transform: rotate(-360deg); } } + @keyframes directoristCommentEditLoading { to { - -webkit-transform: rotate(-1turn); - transform: rotate(-1turn); + -webkit-transform: rotate(-360deg); + transform: rotate(-360deg); } } .directorist-favourite-items-wrap { @@ -24786,7 +25246,7 @@ input.directorist-toggle-input:checked .directorist-favourite-items-wrap .directorist-dashboard-items-list__single .directorist-listing-category - i, + span.la, .directorist-favourite-items-wrap .directorist-dashboard-items-list__single .directorist-listing-category @@ -24798,7 +25258,7 @@ input.directorist-toggle-input:checked .directorist-favourite-items-wrap .directorist-dashboard-items-list__single .directorist-listing-category - span.la { + i { margin-left: 6px; color: var(--directorist-color-light-gray); } @@ -24838,7 +25298,7 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; border-radius: 8px; - padding: 0 14px; + padding: 0px 14px; color: var(--directorist-color-white) !important; line-height: 2.65; opacity: 0; @@ -24856,6 +25316,11 @@ input.directorist-toggle-input:checked .directorist-icon-mask:after { background-color: var(--directorist-color-white); } +.directorist-favourite-items-wrap + .directorist-dashboard-items-list__single__action + .directorist-favourite-remove-btn { + /* Legacy Icon */ +} .directorist-favourite-items-wrap .directorist-dashboard-items-list__single__action .directorist-favourite-remove-btn @@ -24870,6 +25335,7 @@ input.directorist-toggle-input:checked visibility: visible; } } + .directorist-user-dashboard { width: 100% !important; max-width: 100% !important; @@ -24889,7 +25355,7 @@ input.directorist-toggle-input:checked } .directorist-user-dashboard__toggle__link { border: 1px solid #e3e6ef; - padding: 6.5px 8px; + padding: 6.5px 8px 6.5px; border-radius: 8px; display: inline-block; outline: 0; @@ -24911,6 +25377,8 @@ input.directorist-toggle-input:checked margin-top: 15px; margin-bottom: 0; } + +/* user dashboard loader */ #directorist-dashboard-preloader { height: 100%; right: 0; @@ -24930,17 +25398,18 @@ input.directorist-toggle-input:checked width: 64px; height: 64px; margin: 8px; + border: 8px solid var(--directorist-color-primary); border-radius: 50%; -webkit-animation: rotate360 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite; animation: rotate360 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite; - border: 8px solid transparent; - border-top: 8px solid var(--directorist-color-primary); + border-color: var(--directorist-color-primary) transparent transparent + transparent; right: 50%; top: 50%; -webkit-transform: translate(50%, -50%); transform: translate(50%, -50%); } -#directorist-dashboard-preloader div:first-child { +#directorist-dashboard-preloader div:nth-child(1) { -webkit-animation-delay: -0.45s; animation-delay: -0.45s; } @@ -24952,6 +25421,8 @@ input.directorist-toggle-input:checked -webkit-animation-delay: -0.15s; animation-delay: -0.15s; } + +/* My listing tab */ .directorist-user-dashboard-tab__nav { display: -webkit-box; display: -webkit-flex; @@ -25062,12 +25533,12 @@ input.directorist-toggle-input:checked } .directorist-user-dashboard-tab .directorist-user-dashboard-search__icon - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 16px; height: 16px; } .directorist-user-dashboard-tab .directorist-user-dashboard-search input { - border: 0; + border: 0 none; border-radius: 18px; font-size: 14px; font-weight: 400; @@ -25088,6 +25559,7 @@ input.directorist-toggle-input:checked min-width: unset; } } + .directorist-user-dashboard-tabcontent { background-color: var(--directorist-color-white); -webkit-box-shadow: var(--directorist-box-shadow); @@ -25103,7 +25575,7 @@ input.directorist-toggle-input:checked .directorist-listing-table .directorist-table { display: table; - border: 0; + border: 0 none; border-collapse: collapse; border-spacing: 0; empty-cells: show; @@ -25270,7 +25742,7 @@ input.directorist-toggle-input:checked font-weight: 400; color: var(--directorist-color-body); padding: 12.5px 22px; - border: 0; + border: 0 none; } .directorist-user-dashboard-tabcontent .directorist-listing-table tr th { letter-spacing: 1.1px; @@ -25426,7 +25898,7 @@ input.directorist-toggle-input:checked .directorist-listing-table .directorist-actions a.directorist-link-btn - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 16px; height: 16px; background-color: var(--directorist-color-info); @@ -25486,7 +25958,7 @@ input.directorist-toggle-input:checked .directorist-listing-table .directorist-dropdown { position: relative; - border: 0; + border: 0 none; } .directorist-user-dashboard-tabcontent .directorist-listing-table @@ -25514,7 +25986,7 @@ input.directorist-toggle-input:checked .directorist-dropdown-menu { min-width: 230px; border: 1px solid #eff1f6; - padding: 0 0 10px; + padding: 0 0 10px 0; border-radius: 6px; } .directorist-user-dashboard-tabcontent @@ -25618,18 +26090,18 @@ input.directorist-toggle-input:checked .directorist-user-dashboard-tabcontent .directorist_dashboard_category li:not(:last-child) { - margin-left: 0; + margin-left: 0px; margin-bottom: 4px; } .directorist-user-dashboard-tabcontent .directorist_dashboard_category li i, .directorist-user-dashboard-tabcontent .directorist_dashboard_category li - span.fa, + span.fas, .directorist-user-dashboard-tabcontent .directorist_dashboard_category li - span.fas, + span.fa, .directorist-user-dashboard-tabcontent .directorist_dashboard_category li @@ -25652,13 +26124,14 @@ input.directorist-toggle-input:checked -webkit-justify-content: flex-end; -ms-flex-pack: end; justify-content: flex-end; - margin: 2px 22px 0; + margin: 2px 22px 0 22px; padding: 30px 0 40px; border-top: 1px solid #eff1f6; } .directorist-user-dashboard-tabcontent .directorist-dashboard-pagination .page-numbers { + margin: 4px; padding: 0; line-height: normal; height: 40px; @@ -25692,20 +26165,20 @@ input.directorist-toggle-input:checked } .directorist-user-dashboard-tabcontent .directorist-dashboard-pagination - .page-numbers.current, + .page-numbers:hover, .directorist-user-dashboard-tabcontent .directorist-dashboard-pagination - .page-numbers:hover { + .page-numbers.current { border-color: var(--directorist-color-primary); color: var(--directorist-color-primary); } .directorist-user-dashboard-tabcontent .directorist-dashboard-pagination - .page-numbers.current + .page-numbers:hover .directorist-icon-mask:after, .directorist-user-dashboard-tabcontent .directorist-dashboard-pagination - .page-numbers:hover + .page-numbers.current .directorist-icon-mask:after { background-color: var(--directorist-color-primary); } @@ -25717,6 +26190,7 @@ input.directorist-toggle-input:checked height: 14px; background-color: var(--directorist-color-body); } + .directorist-user-dashboard__contents.directorist-tab-content-grid-fix .directorist-user-dashboard-tabcontent .directorist-listing-table @@ -25786,12 +26260,14 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; } + .directorist-table-responsive { display: block !important; width: 100%; overflow-x: auto; overflow-y: visible; } + @media (max-width: 767px) { .directorist-user-dashboard-tab .directorist-user-dashboard-tab__nav { -webkit-box-orient: vertical; @@ -25816,6 +26292,8 @@ input.directorist-toggle-input:checked color: var(--directorist-color-primary); background: rgba(var(--directorist-color-primary), 0.1); } + +/* become author modal */ .directorist-become-author-modal { position: fixed; width: 100%; @@ -25875,7 +26353,7 @@ input.directorist-toggle-input:checked display: inline-block; color: var(--directorist-color-white); text-align: center; - margin: 10px 5px 0; + margin: 10px 5px 0 5px; min-width: 100px; padding: 8px 0 !important; border-radius: 3px; @@ -25889,19 +26367,18 @@ input.directorist-toggle-input:checked background-color: #eee; display: inline-block; text-align: center; - margin: 10px 5px 0; + margin: 10px 5px 0 5px; min-width: 100px; padding: 8px 0 !important; border-radius: 3px; } .directorist-become-author-modal span.directorist-become-author__loader { - border-left: 2px solid var(--directorist-color-primary); + border: 2px solid var(--directorist-color-primary); width: 15px; height: 15px; display: inline-block; border-radius: 50%; - border: 2px solid var(--directorist-color-primary); - border-left-color: var(--directorist-color-white); + border-left: 2px solid var(--directorist-color-white); -webkit-animation: rotate360 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite; animation: rotate360 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite; visibility: hidden; @@ -25911,10 +26388,12 @@ input.directorist-toggle-input:checked visibility: visible; opacity: 1; } + #directorist-become-author-success { color: #388e3c !important; margin-bottom: 15px !important; } + .directorist-shade { position: fixed; top: 0; @@ -25930,6 +26409,7 @@ input.directorist-toggle-input:checked display: block; z-index: 21; } + .table.atbd_single_saved_item { margin: 0; background-color: var(--directorist-color-white); @@ -25959,6 +26439,7 @@ input.directorist-toggle-input:checked border-radius: 8px; display: inline-block; } + .directorist-user-dashboard__nav { min-width: 230px; padding: 20px 10px; @@ -26025,6 +26506,7 @@ input.directorist-toggle-input:checked -webkit-transition: 0.3s ease; transition: 0.3s ease; } + .directorist-tab__nav__items { list-style-type: none; padding: 0; @@ -26046,35 +26528,41 @@ input.directorist-toggle-input:checked padding-right: 25px; text-decoration: none; } + .directorist-tab__nav__link { font-size: 14px; border-radius: 4px; padding: 10px; outline: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; color: var(--directorist-color-body); text-decoration: none; } -.directorist-tab__nav__link, .directorist-tab__nav__link .directorist_menuItem-text { + pointer-events: none; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; -} -.directorist-tab__nav__link .directorist_menuItem-text { - pointer-events: none; gap: 10px; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; } .directorist-tab__nav__link .directorist_menuItem-text @@ -26101,6 +26589,8 @@ input.directorist-toggle-input:checked .directorist-tab__nav__link:focus.atbd-dash-nav-dropdown { background-color: transparent; } + +/* user dashboard sidebar nav action */ .directorist-tab__nav__action { margin-top: 15px; } @@ -26110,20 +26600,26 @@ input.directorist-toggle-input:checked .directorist-tab__nav__action .directorist-btn:not(:last-child) { margin-bottom: 15px; } + +/* user dashboard tab style */ .directorist-tab__pane { display: none; } .directorist-tab__pane.directorist-tab__pane--active { display: block; } + #dashboard_profile #user_profile_form.directorist-profile-responsive - .directorist-col-lg-3, + .directorist-col-lg-3 { + width: 100%; +} #dashboard_profile #user_profile_form.directorist-profile-responsive .directorist-col-lg-9 { width: 100%; } + .directorist-image-profile-wrap { padding: 25px; background-color: var(--directorist-color-white); @@ -26151,7 +26647,7 @@ input.directorist-toggle-input:checked .directorist-image-profile-wrap .directorist-profile-uploader .ezmu__front-item__close-icon - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 16px; height: 16px; } @@ -26164,19 +26660,21 @@ input.directorist-toggle-input:checked mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; - -webkit-mask-image: url(../images/232acb97ace4f437ace78cc02bdfd165.svg); - mask-image: url(../images/232acb97ace4f437ace78cc02bdfd165.svg); + -webkit-mask-image: url(../js/../images/232acb97ace4f437ace78cc02bdfd165.svg); + mask-image: url(../js/../images/232acb97ace4f437ace78cc02bdfd165.svg); } .directorist-image-profile-wrap .ezmu__thumbnail-list-item.ezmu__thumbnail_avater { max-width: 140px; } + .directorist-user-profile-box .directorist-card__header { padding: 18px 20px; } .directorist-user-profile-box .directorist-card__body { - padding: 25px 25px 30px; + padding: 25px 25px 30px 25px; } + .directorist-user-info-wrap .directorist-form-group { margin-bottom: 25px; } @@ -26205,6 +26703,8 @@ input.directorist-toggle-input:checked .directorist-user-info-wrap #directorist-profile-notice .directorist-alert { margin-top: 15px; } + +/* User Preferences */ .directorist-user_preferences .directorist-preference-toggle .directorist-form-group { @@ -26262,12 +26762,12 @@ input.directorist-toggle-input:checked flex-direction: column; gap: 12px; } -.directorist-user_preferences .select2-selection__arrow, -.directorist-user_preferences .select2-selection__clear, .directorist-user_preferences .select2.select2-container.select2-container--default .select2-selection__arrow - b { + b, +.directorist-user_preferences .select2-selection__arrow, +.directorist-user_preferences .select2-selection__clear { display: block !important; } .directorist-user_preferences @@ -26275,6 +26775,8 @@ input.directorist-toggle-input:checked .select2-selection { border-bottom-color: var(--directorist-color-primary); } + +/* Directorist Toggle */ .directorist-toggle { cursor: pointer; display: -webkit-inline-box; @@ -26287,6 +26789,7 @@ input.directorist-toggle-input:checked align-items: center; gap: 10px; } + .directorist-toggle-switch { display: inline-block; background: var(--directorist-color-border); @@ -26298,13 +26801,13 @@ input.directorist-toggle-input:checked -webkit-transition: background 0.25s; transition: background 0.25s; } -.directorist-toggle-switch:after, -.directorist-toggle-switch:before { +.directorist-toggle-switch:before, +.directorist-toggle-switch:after { content: ""; } .directorist-toggle-switch:before { display: block; - background: #fff; + background: white; border-radius: 50%; width: 16px; height: 16px; @@ -26322,7 +26825,7 @@ input.directorist-toggle-input:checked from(#fff), to(#fff) ); - background: linear-gradient(180deg, #fff 0, #fff); + background: linear-gradient(to bottom, #fff 0%, #fff 100%); } .directorist-toggle-checkbox:checked + .directorist-toggle-switch { background: var(--directorist-color-primary); @@ -26330,10 +26833,12 @@ input.directorist-toggle-input:checked .directorist-toggle-checkbox:checked + .directorist-toggle-switch:before { right: 25px; } + .directorist-toggle-checkbox { position: absolute; visibility: hidden; } + .directorist-user-socials .directorist-user-social-label { font-size: 18px; padding-bottom: 18px; @@ -26359,16 +26864,18 @@ input.directorist-toggle-input:checked .directorist-user-socials label .directorist-social-icon - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 16px; height: 16px; background-color: #0a0b1e; } + #directorist-prifile-notice .directorist-alert { width: 100%; display: inline-block; margin-top: 15px; } + .directorist-announcement-wrapper { background-color: var(--directorist-color-white); border-radius: 12px; @@ -26393,7 +26900,7 @@ input.directorist-toggle-input:checked .directorist-announcement-wrapper .directorist-announcement:last-child { padding-bottom: 0; margin-bottom: 0; - border-bottom: 0; + border-bottom: 0 none; } @media (max-width: 479px) { .directorist-announcement-wrapper .directorist-announcement { @@ -26511,7 +27018,9 @@ input.directorist-toggle-input:checked .directorist-announcement-wrapper .directorist-announcement__content .directorist-announcement__title - p:empty, + p:empty { + display: none; +} .directorist-announcement-wrapper .directorist-announcement__content p:empty { display: none; } @@ -26528,7 +27037,7 @@ input.directorist-toggle-input:checked width: 36px; border-radius: 50%; background-color: #f5f5f5; - border: 0; + border: 0 none; padding: 0; -webkit-transition: 0.35s; transition: 0.35s; @@ -26548,7 +27057,7 @@ input.directorist-toggle-input:checked .directorist-announcement-wrapper .directorist-announcement__close .close-announcement - .directorist-icon-mask:after { + .directorist-icon-mask::after { -webkit-transition: 0.35s; transition: 0.35s; background-color: #474868; @@ -26561,12 +27070,13 @@ input.directorist-toggle-input:checked .directorist-announcement-wrapper .directorist-announcement__close .close-announcement:hover - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .directorist-announcement-wrapper .directorist_not-found { margin: 0; } + .directorist-announcement-count { display: none; border-radius: 30px; @@ -26579,40 +27089,46 @@ input.directorist-toggle-input:checked vertical-align: middle; background-color: #ff3c3c; } + .directorist-announcement-count.show { display: inline-block; } + .directorist-payment-instructions, .directorist-payment-thanks-text { font-size: 14px; font-weight: 400; color: var(--directorist-color-body); } + .directorist-payment-instructions { margin-bottom: 38px; } + .directorist-payment-thanks-text { font-size: 15px; } + .directorist-payment-table .directorist-table { margin: 0; border: none; } -.directorist-payment-table th { - text-align: right; - padding: 9px 20px; - background-color: var(--directorist-color-bg-gray); -} -.directorist-payment-table tbody td, .directorist-payment-table th { font-size: 14px; font-weight: 500; + text-align: right; + padding: 9px 20px; border: none; color: var(--directorist-color-dark); + background-color: var(--directorist-color-bg-gray); } .directorist-payment-table tbody td { + font-size: 14px; + font-weight: 500; padding: 5px 0; vertical-align: top; + border: none; + color: var(--directorist-color-dark); } .directorist-payment-table tbody tr:first-child td { padding-top: 20px; @@ -26637,23 +27153,26 @@ input.directorist-toggle-input:checked margin: 0; color: var(--directorist-color-light-gray); } + .directorist-payment-summery-table tbody td { padding: 12px 0; } -.directorist-payment-summery-table tbody td:nth-child(2n) { +.directorist-payment-summery-table tbody td:nth-child(even) { text-align: left; } +.directorist-payment-summery-table tbody tr.directorsit-payment-table-total td, .directorist-payment-summery-table tbody tr.directorsit-payment-table-total - .directorist-payment-table__title, -.directorist-payment-summery-table tbody tr.directorsit-payment-table-total td { + .directorist-payment-table__title { font-size: 16px; } + .directorist-btn-view-listing { min-height: 54px; border-radius: 10px; } + .directorist-checkout-card { -webkit-box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08); box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08); @@ -26697,6 +27216,7 @@ input.directorist-toggle-input:checked font-weight: 500; color: var(--directorist-color-body); } + .directorist-payment-gateways { background-color: var(--directorist-color-white); } @@ -26733,11 +27253,12 @@ input.directorist-toggle-input:checked margin-top: 4px; color: var(--directorist-color-body); } + .directorist-payment-action { -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; - margin: 42px -7px -7px; + margin: 42px -7px -7px -7px; } .directorist-payment-action .directorist-btn { min-height: 54px; @@ -26757,29 +27278,34 @@ input.directorist-toggle-input:checked padding: 0 30px; } } -.directorist-summery-total .directorist-summery-amount, -.directorist-summery-total .directorist-summery-label { + +.directorist-summery-total .directorist-summery-label, +.directorist-summery-total .directorist-summery-amount { font-size: 18px; font-weight: 500; color: var(--color-dark); } + .directorist-iframe { border: none; } + .ads-advanced .bottom-inputs { -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; flex-grow: 1; } + +/*responsive css */ @media (min-width: 992px) and (max-width: 1199px) { + .atbd_content_active .widget.atbd_widget .atbdp, + .atbd_content_active .widget.atbd_widget .directorist, .atbd_content_active #directorist.atbd_wrapper .widget.atbd_widget .atbdp, .atbd_content_active #directorist.atbd_wrapper .widget.atbd_widget - .directorist, - .atbd_content_active .widget.atbd_widget .atbdp, - .atbd_content_active .widget.atbd_widget .directorist { + .directorist { padding: 20px 20px 15px; } .atbd_content_active #directorist.atbd_wrapper .atbdp_column { @@ -26842,6 +27368,7 @@ input.directorist-toggle-input:checked -webkit-flex: 0 0 100%; -ms-flex: 0 0 100%; flex: 0 0 100%; + margin-top: 0; margin-top: 10px; } .atbd_content_active @@ -26899,7 +27426,9 @@ input.directorist-toggle-input:checked #directorist.atbd_wrapper.atbd_add_listing_wrapper #atbdp_socialInFo .atbdp_social_field_wrapper - .form-group, + .form-group { + margin-bottom: 15px; + } .atbd_content_active #directorist.atbd_wrapper.atbd_add_listing_wrapper .atbdp_faqs_wrapper @@ -26914,10 +27443,10 @@ input.directorist-toggle-input:checked .ads-advanced .atbdp-custom-fields-search .form-group { width: 100%; } - .ads-advanced .atbdp-custom-fields-search .form-group.atbdp_cf_color label, - .ads-advanced .atbdp-custom-fields-search .form-group.atbdp_cf_date label, .ads-advanced .atbdp-custom-fields-search .form-group.atbdp_cf_select label, - .ads-advanced .atbdp-custom-fields-search .form-group.atbdp_cf_time label { + .ads-advanced .atbdp-custom-fields-search .form-group.atbdp_cf_date label, + .ads-advanced .atbdp-custom-fields-search .form-group.atbdp_cf_time label, + .ads-advanced .atbdp-custom-fields-search .form-group.atbdp_cf_color label { -webkit-box-flex: 0; -webkit-flex: none; -ms-flex: none; @@ -26949,13 +27478,13 @@ input.directorist-toggle-input:checked } .atbd_content_active #directorist.atbd_wrapper - .atbd_content_module__tittle_area + .atbd_content_module_title_area .atbd_listing_action_area .atbd_action.atbd_share:hover .atbd_directory_social_wrap, .atbd_content_active #directorist.atbd_wrapper - .atbd_content_module_title_area + .atbd_content_module__tittle_area .atbd_listing_action_area .atbd_action.atbd_share:hover .atbd_directory_social_wrap { @@ -27069,7 +27598,7 @@ input.directorist-toggle-input:checked #directorist.atbd_wrapper.dashboard_area .atbd_saved_items_wrapper .atbd_single_saved_item { - border: 0; + border: 0 none; padding: 0; } .atbd_content_active #directorist.atbd_wrapper .atbdp_column { @@ -27097,18 +27626,18 @@ input.directorist-toggle-input:checked .atbd_content_active #directorist.atbd_wrapper .atbd_custom_fields - .atbd_custom_field_content, + .atbd_custom_field_title, .atbd_content_active #directorist.atbd_wrapper .atbd_custom_fields - .atbd_custom_field_title { + .atbd_custom_field_content { width: 100%; } .atbd_content_active #directorist.atbd_wrapper .atbd_custom_fields .atbd_custom_field_content { - border: 0; + border: 0 none; padding-top: 0; padding-left: 30px; padding-right: 30px; @@ -27116,14 +27645,14 @@ input.directorist-toggle-input:checked .ads-advanced .bottom-inputs > div { width: 100%; } - .ads-advanced .atbdp-custom-fields-search .form-group .form-control, - .ads-advanced .atbdp_custom_radios, - .ads-advanced .bads-custom-checks, - .ads-advanced .bads-tags, - .ads-advanced .form-group > .form-control, .ads-advanced .price_ranges, .ads-advanced .select-basic, - .ads-advanced .wp-picker-container { + .ads-advanced .bads-tags, + .ads-advanced .bads-custom-checks, + .ads-advanced .atbdp_custom_radios, + .ads-advanced .wp-picker-container, + .ads-advanced .form-group > .form-control, + .ads-advanced .atbdp-custom-fields-search .form-group .form-control { -webkit-box-flex: 1; -webkit-flex: auto; -ms-flex: auto; @@ -27262,28 +27791,35 @@ input.directorist-toggle-input:checked padding-left: 0; } } +/* Utility */ .adbdp-d-none { display: none; } + .atbdp-px-5 { padding: 0 5px !important; } + .atbdp-mx-5 { margin: 0 5px !important; } + .atbdp-form-actions { margin: 30px 0; text-align: center; } + .atbdp-icon { display: inline-block; } + .atbdp-icon-large { display: block; margin-bottom: 20px; font-size: 45px; text-align: center; } + @media (max-width: 400px) { .atbd_content_active #directorist.atbd_wrapper @@ -27320,17 +27856,17 @@ input.directorist-toggle-input:checked .atbd_content_active #directorist.atbd_wrapper .widget.atbd_widget - .atbd_categorized_listings - ul - li - .atbd_right_content + .atbd_listing_info + .atbd_listing_category .atbd_cat_popup .atbd_cat_popup_wrapper:before, .atbd_content_active #directorist.atbd_wrapper .widget.atbd_widget - .atbd_listing_info - .atbd_listing_category + .atbd_categorized_listings + ul + li + .atbd_right_content .atbd_cat_popup .atbd_cat_popup_wrapper:before, .atbd_content_active @@ -27377,13 +27913,13 @@ input.directorist-toggle-input:checked } .atbd_content_active #directorist.atbd_wrapper - .atbd_content_module__tittle_area + .atbd_content_module_title_area .atbd_listing_action_area .atbd_action.atbd_share:hover .atbd_directory_social_wrap, .atbd_content_active #directorist.atbd_wrapper - .atbd_content_module_title_area + .atbd_content_module__tittle_area .atbd_listing_action_area .atbd_action.atbd_share:hover .atbd_directory_social_wrap { @@ -27484,10 +28020,14 @@ input.directorist-toggle-input:checked .directorist-author-profile-wrap .directorist-author-avatar img { margin-bottom: 15px; } - .directorist-author-profile-wrap .directorist-author-avatar, + .directorist-author-profile-wrap .directorist-author-avatar { + text-align: center; + } .directorist-author-profile-wrap .directorist-author-avatar - .directorist-author-avatar__info, + .directorist-author-avatar__info { + text-align: center; + } .directorist-author-profile-wrap .directorist-author-avatar .directorist-author-avatar__info diff --git a/assets/css/formgent-integration.css b/assets/css/formgent-integration.css index 1654a1ba1e..4e5f98bb6d 100644 --- a/assets/css/formgent-integration.css +++ b/assets/css/formgent-integration.css @@ -1,6 +1,227 @@ /*!***********************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-4.use[1]!./node_modules/@wordpress/dataviews/build-style/style.css ***! \***********************************************************************************************************************************/ +/** + * Colors + */ +/** + * Breakpoints & Media Queries + */ +/** + * Colors + */ +/** + * SCSS Variables. + * + * Please use variables from this sheet to ensure consistency across the UI. + * Don't add to this sheet unless you're pretty sure the value will be reused in many places. + * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. + */ +/** + * Fonts & basic variables. + */ +/** + * Typography + */ +/** + * Grid System. + * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ + */ +/** + * Radius scale. + */ +/** + * Elevation scale. + */ +/** + * Dimensions. + */ +/** + * Mobile specific styles + */ +/** + * Editor styles. + */ +/** + * Block & Editor UI. + */ +/** + * Block paddings. + */ +/** + * React Native specific. + * These variables do not appear to be used anywhere else. + */ +/** + * Colors + */ +/** + * SCSS Variables. + * + * Please use variables from this sheet to ensure consistency across the UI. + * Don't add to this sheet unless you're pretty sure the value will be reused in many places. + * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. + */ +/** + * Fonts & basic variables. + */ +/** + * Typography + */ +/** + * Grid System. + * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ + */ +/** + * Radius scale. + */ +/** + * Elevation scale. + */ +/** + * Dimensions. + */ +/** + * Mobile specific styles + */ +/** + * Editor styles. + */ +/** + * Block & Editor UI. + */ +/** + * Block paddings. + */ +/** + * React Native specific. + * These variables do not appear to be used anywhere else. + */ +/** + * Breakpoints & Media Queries + */ +/** +* Converts a hex value into the rgb equivalent. +* +* @param {string} hex - the hexadecimal value to convert +* @return {string} comma separated rgb values +*/ +/** + * Long content fade mixin + * + * Creates a fading overlay to signify that the content is longer + * than the space allows. + */ +/** + * Typography + */ +/** + * Breakpoint mixins + */ +/** + * Focus styles. + */ +/** + * Applies editor left position to the selector passed as argument + */ +/** + * Styles that are reused verbatim in a few places + */ +/** + * Allows users to opt-out of animations via OS-level preferences. + */ +/** + * Reset default styles for JavaScript UI based pages. + * This is a WP-admin agnostic reset + */ +/** + * Reset the WP Admin page styles for Gutenberg-like pages. + */ +/** + * Colors + */ +/** + * SCSS Variables. + * + * Please use variables from this sheet to ensure consistency across the UI. + * Don't add to this sheet unless you're pretty sure the value will be reused in many places. + * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. + */ +/** + * Fonts & basic variables. + */ +/** + * Typography + */ +/** + * Grid System. + * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ + */ +/** + * Radius scale. + */ +/** + * Elevation scale. + */ +/** + * Dimensions. + */ +/** + * Mobile specific styles + */ +/** + * Editor styles. + */ +/** + * Block & Editor UI. + */ +/** + * Block paddings. + */ +/** + * React Native specific. + * These variables do not appear to be used anywhere else. + */ +/** + * Breakpoints & Media Queries + */ +/** +* Converts a hex value into the rgb equivalent. +* +* @param {string} hex - the hexadecimal value to convert +* @return {string} comma separated rgb values +*/ +/** + * Long content fade mixin + * + * Creates a fading overlay to signify that the content is longer + * than the space allows. + */ +/** + * Typography + */ +/** + * Breakpoint mixins + */ +/** + * Focus styles. + */ +/** + * Applies editor left position to the selector passed as argument + */ +/** + * Styles that are reused verbatim in a few places + */ +/** + * Allows users to opt-out of animations via OS-level preferences. + */ +/** + * Reset default styles for JavaScript UI based pages. + * This is a WP-admin agnostic reset + */ +/** + * Reset the WP Admin page styles for Gutenberg-like pages. + */ :root { --wp-block-synced-color: #7a00df; --wp-block-synced-color--rgb: 122, 0, 223; @@ -18,19 +239,22 @@ --wp-admin-border-width-focus: 1.5px; } } + .dataviews-wrapper { height: 100%; overflow: auto; box-sizing: border-box; scroll-padding-bottom: 64px; + /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */ container: dataviews-wrapper/inline-size; display: flex; flex-direction: column; font-size: 13px; line-height: 1.4; } -.dataviews-filters__container, -.dataviews__view-actions { + +.dataviews__view-actions, +.dataviews-filters__container { box-sizing: border-box; padding: 16px 48px; flex-shrink: 0; @@ -38,13 +262,14 @@ left: 0; } @media not (prefers-reduced-motion) { - .dataviews-filters__container, - .dataviews__view-actions { - transition: padding 0.1s ease-out; + .dataviews__view-actions, + .dataviews-filters__container { + transition: padding ease-out 0.1s; } } -.dataviews-loading, -.dataviews-no-results { + +.dataviews-no-results, +.dataviews-loading { padding: 0 48px; flex-grow: 1; display: flex; @@ -52,21 +277,23 @@ justify-content: center; } @media not (prefers-reduced-motion) { - .dataviews-loading, - .dataviews-no-results { - transition: padding 0.1s ease-out; + .dataviews-no-results, + .dataviews-loading { + transition: padding ease-out 0.1s; } } + .dataviews-loading-more { text-align: center; } + @container (max-width: 430px) { - .dataviews-filters__container, - .dataviews__view-actions { + .dataviews__view-actions, + .dataviews-filters__container { padding: 12px 24px; } - .dataviews-loading, - .dataviews-no-results { + .dataviews-no-results, + .dataviews-loading { padding-left: 24px; padding-right: 24px; } @@ -74,19 +301,19 @@ .dataviews-title-field { font-size: 13px; font-weight: 500; - width: 100%; -} -.dataviews-title-field, -.dataviews-title-field a { color: #2f2f2f; text-overflow: ellipsis; white-space: nowrap; + width: 100%; } .dataviews-title-field a { text-decoration: none; + text-overflow: ellipsis; + white-space: nowrap; overflow: hidden; display: block; flex-grow: 0; + color: #2f2f2f; } .dataviews-title-field a:hover { color: var(--wp-admin-theme-color); @@ -110,6 +337,7 @@ .dataviews-title-field button.components-button.is-link:hover { color: var(--wp-admin-theme-color); } + .dataviews-title-field--clickable { cursor: pointer; color: #2f2f2f; @@ -123,16 +351,20 @@ var(--wp-admin-theme-color, #007cba); border-radius: 2px; } + +/** + * Applying a consistent 24px padding when DataViews are placed within cards. + */ .components-card__body:has(> .dataviews-wrapper) { padding: 8px 0 0; overflow: hidden; } +.components-card__body:has(> .dataviews-wrapper) .dataviews__view-actions, .components-card__body:has(> .dataviews-wrapper) .dataviews-filters__container, .components-card__body:has(> .dataviews-wrapper) .dataviews-footer, -.components-card__body:has(> .dataviews-wrapper) .dataviews-loading, -.components-card__body:has(> .dataviews-wrapper) .dataviews-no-results, .components-card__body:has(> .dataviews-wrapper) .dataviews-view-grid, -.components-card__body:has(> .dataviews-wrapper) .dataviews__view-actions { +.components-card__body:has(> .dataviews-wrapper) .dataviews-loading, +.components-card__body:has(> .dataviews-wrapper) .dataviews-no-results { padding-inline: 24px; } .components-card__body:has(> .dataviews-wrapper) @@ -155,22 +387,27 @@ th:last-child { padding-inline-end: 24px; } + .dataviews-bulk-actions-footer__item-count { color: #1e1e1e; font-weight: 500; font-size: 11px; text-transform: uppercase; } + .dataviews-bulk-actions-footer__container { margin-right: auto; min-height: 32px; } + .dataviews-filters__button { position: relative; } + .dataviews-filters__container { padding-top: 0; } + .dataviews-filters__reset-button.dataviews-filters__reset-button[aria-disabled="true"], .dataviews-filters__reset-button.dataviews-filters__reset-button[aria-disabled="true"]:hover { opacity: 0; @@ -178,6 +415,7 @@ .dataviews-filters__reset-button.dataviews-filters__reset-button[aria-disabled="true"]:focus { opacity: 1; } + .dataviews-filters__summary-popover { font-size: 13px; line-height: 1.4; @@ -192,6 +430,7 @@ .components-popover__content { padding: 0; } + .dataviews-filters__summary-operators-container { padding: 8px 16px; } @@ -212,7 +451,7 @@ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; - flex-shrink: 0; + flex-shrink: 0; /* Prevents this element from shrinking */ max-width: calc(100% - 55px); } .dataviews-filters__summary-operators-container @@ -221,6 +460,7 @@ white-space: nowrap; overflow: hidden; } + .dataviews-filters__summary-chip-container { position: relative; white-space: pre-wrap; @@ -246,13 +486,13 @@ .dataviews-filters__summary-chip.has-reset { padding-inline-end: 28px; } -.dataviews-filters__summary-chip-container - .dataviews-filters__summary-chip:focus-visible, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:hover:not( .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.is-not-clickable ), +.dataviews-filters__summary-chip-container + .dataviews-filters__summary-chip:focus-visible, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip[aria-expanded="true"] { background: #e0e0e0; @@ -303,16 +543,16 @@ fill: #757575; } .dataviews-filters__summary-chip-container - .dataviews-filters__summary-chip-remove:focus, + .dataviews-filters__summary-chip-remove:hover, .dataviews-filters__summary-chip-container - .dataviews-filters__summary-chip-remove:hover { + .dataviews-filters__summary-chip-remove:focus { background: #e0e0e0; } .dataviews-filters__summary-chip-container - .dataviews-filters__summary-chip-remove:focus + .dataviews-filters__summary-chip-remove:hover svg, .dataviews-filters__summary-chip-container - .dataviews-filters__summary-chip-remove:hover + .dataviews-filters__summary-chip-remove:focus svg { fill: #1e1e1e; } @@ -331,6 +571,7 @@ box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); } + .dataviews-filters__search-widget-filter-combobox-list { max-height: 184px; padding: 4px; @@ -342,10 +583,12 @@ [data-user-value] { font-weight: 600; } + .dataviews-filters__search-widget-listbox { padding: 4px; overflow: auto; } + .dataviews-filters__search-widget-listitem { display: flex; align-items: center; @@ -356,15 +599,8 @@ cursor: default; min-height: 32px; font-family: - -apple-system, - "system-ui", - Segoe UI, - Roboto, - Oxygen-Sans, - Ubuntu, - Cantarell, - Helvetica Neue, - sans-serif; + -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, + Cantarell, "Helvetica Neue", sans-serif; font-weight: 400; font-size: 13px; line-height: 20px; @@ -372,51 +608,51 @@ .dataviews-filters__search-widget-listitem:last-child { margin-block-end: 0; } -.dataviews-filters__search-widget-listitem:focus, .dataviews-filters__search-widget-listitem:hover, -.dataviews-filters__search-widget-listitem[data-active-item] { +.dataviews-filters__search-widget-listitem[data-active-item], +.dataviews-filters__search-widget-listitem:focus { background-color: var(--wp-admin-theme-color); color: #fff; } -.dataviews-filters__search-widget-listitem:focus - .dataviews-filters__search-widget-listitem-description, .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-description, .dataviews-filters__search-widget-listitem[data-active-item] + .dataviews-filters__search-widget-listitem-description, +.dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-description { color: #fff; } -.dataviews-filters__search-widget-listitem:focus - .dataviews-filters__search-widget-listitem-single-selection, .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-single-selection, .dataviews-filters__search-widget-listitem[data-active-item] + .dataviews-filters__search-widget-listitem-single-selection, +.dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-single-selection { border-color: var(--wp-admin-theme-color-darker-20, #183ad6); background: #fff; } -.dataviews-filters__search-widget-listitem:focus - .dataviews-filters__search-widget-listitem-single-selection.is-selected, .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-single-selection.is-selected, .dataviews-filters__search-widget-listitem[data-active-item] + .dataviews-filters__search-widget-listitem-single-selection.is-selected, +.dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-single-selection.is-selected { border-color: var(--wp-admin-theme-color-darker-20, #183ad6); background: var(--wp-admin-theme-color-darker-20, #183ad6); } -.dataviews-filters__search-widget-listitem:focus - .dataviews-filters__search-widget-listitem-multi-selection, .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-multi-selection, .dataviews-filters__search-widget-listitem[data-active-item] + .dataviews-filters__search-widget-listitem-multi-selection, +.dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-multi-selection { border-color: var(--wp-admin-theme-color-darker-20, #183ad6); } -.dataviews-filters__search-widget-listitem:focus - .dataviews-filters__search-widget-listitem-multi-selection.is-selected, .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-multi-selection.is-selected, .dataviews-filters__search-widget-listitem[data-active-item] + .dataviews-filters__search-widget-listitem-multi-selection.is-selected, +.dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-multi-selection.is-selected { border-color: var(--wp-admin-theme-color-darker-20, #183ad6); background: var(--wp-admin-theme-color-darker-20, #183ad6); @@ -433,6 +669,7 @@ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection { border: 1px solid #1e1e1e; + margin-right: 12px; transition: none; border-radius: 50%; width: 24px; @@ -459,7 +696,7 @@ } } .dataviews-filters__search-widget-listitem - .dataviews-filters__search-widget-listitem-single-selection:checked:before { + .dataviews-filters__search-widget-listitem-single-selection:checked::before { box-sizing: inherit; width: 12px; height: 12px; @@ -473,7 +710,7 @@ } @media (min-width: 600px) { .dataviews-filters__search-widget-listitem - .dataviews-filters__search-widget-listitem-single-selection:checked:before { + .dataviews-filters__search-widget-listitem-single-selection:checked::before { width: 8px; height: 8px; } @@ -496,7 +733,7 @@ border-color: var(--wp-admin-theme-color, #3858e9); } .dataviews-filters__search-widget-listitem - .dataviews-filters__search-widget-listitem-single-selection.is-selected:before { + .dataviews-filters__search-widget-listitem-single-selection.is-selected::before { content: ""; border-radius: 50%; box-sizing: inherit; @@ -512,7 +749,7 @@ } @media (min-width: 600px) { .dataviews-filters__search-widget-listitem - .dataviews-filters__search-widget-listitem-single-selection.is-selected:before { + .dataviews-filters__search-widget-listitem-single-selection.is-selected::before { width: 8px; height: 8px; } @@ -520,18 +757,17 @@ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection { --checkbox-size: 24px; + border: 1px solid #1e1e1e; + margin-right: 12px; transition: none; + border-radius: 2px; font-family: - -apple-system, - BlinkMacSystemFont, - Segoe UI, - Roboto, - Oxygen-Sans, - Ubuntu, - Cantarell, - Helvetica Neue, - sans-serif; + -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, + Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + padding: 6px 8px; + /* Fonts smaller than 16px causes mobile safari to zoom. */ font-size: 16px; + /* Override core line-height. To be reviewed. */ line-height: normal; box-shadow: 0 0 0 transparent; border-radius: 2px; @@ -554,6 +790,7 @@ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection { font-size: 13px; + /* Override core line-height. To be reviewed. */ line-height: normal; } } @@ -561,6 +798,7 @@ .dataviews-filters__search-widget-listitem-multi-selection:focus { border-color: var(--wp-admin-theme-color); box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color); + outline: 2px solid transparent; } .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection::-webkit-input-placeholder { @@ -591,17 +829,17 @@ opacity: 0; } .dataviews-filters__search-widget-listitem - .dataviews-filters__search-widget-listitem-multi-selection:checked:before, + .dataviews-filters__search-widget-listitem-multi-selection:checked::before, .dataviews-filters__search-widget-listitem - .dataviews-filters__search-widget-listitem-multi-selection[aria-checked="mixed"]:before { + .dataviews-filters__search-widget-listitem-multi-selection[aria-checked="mixed"]::before { margin: -3px -5px; color: #fff; } @media (min-width: 782px) { .dataviews-filters__search-widget-listitem - .dataviews-filters__search-widget-listitem-multi-selection:checked:before, + .dataviews-filters__search-widget-listitem-multi-selection:checked::before, .dataviews-filters__search-widget-listitem - .dataviews-filters__search-widget-listitem-multi-selection[aria-checked="mixed"]:before { + .dataviews-filters__search-widget-listitem-multi-selection[aria-checked="mixed"]::before { margin: -4px 0 0 -5px; } } @@ -611,12 +849,13 @@ border-color: var(--wp-admin-theme-color); } .dataviews-filters__search-widget-listitem - .dataviews-filters__search-widget-listitem-multi-selection[aria-checked="mixed"]:before { + .dataviews-filters__search-widget-listitem-multi-selection[aria-checked="mixed"]::before { content: "\f460"; float: left; display: inline-block; vertical-align: middle; width: 16px; + /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */ font: normal 30px/1 dashicons; speak: none; -webkit-font-smoothing: antialiased; @@ -624,15 +863,15 @@ } @media (min-width: 782px) { .dataviews-filters__search-widget-listitem - .dataviews-filters__search-widget-listitem-multi-selection[aria-checked="mixed"]:before { + .dataviews-filters__search-widget-listitem-multi-selection[aria-checked="mixed"]::before { float: none; font-size: 21px; } } .dataviews-filters__search-widget-listitem - .dataviews-filters__search-widget-listitem-multi-selection:disabled, + .dataviews-filters__search-widget-listitem-multi-selection[aria-disabled="true"], .dataviews-filters__search-widget-listitem - .dataviews-filters__search-widget-listitem-multi-selection[aria-disabled="true"] { + .dataviews-filters__search-widget-listitem-multi-selection:disabled { background: #f0f0f0; border-color: #ddd; cursor: default; @@ -647,7 +886,7 @@ @media not (prefers-reduced-motion) { .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection { - transition: border-color 0.1s ease-in-out; + transition: 0.1s border-color ease-in-out; } } .dataviews-filters__search-widget-listitem @@ -674,6 +913,7 @@ --checkmark-size: calc(var(--checkbox-size) + 4px); } } + .dataviews-filters__search-widget-filter-combobox__wrapper { position: relative; padding: 8px; @@ -681,18 +921,16 @@ .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input { font-family: - -apple-system, - BlinkMacSystemFont, - Segoe UI, - Roboto, - Oxygen-Sans, - Ubuntu, - Cantarell, - Helvetica Neue, - sans-serif; + -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, + Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + padding: 6px 8px; + /* Fonts smaller than 16px causes mobile safari to zoom. */ + font-size: 16px; + /* Override core line-height. To be reviewed. */ line-height: normal; box-shadow: 0 0 0 transparent; border-radius: 2px; + border: 1px solid #949494; display: block; padding: 0 32px 0 8px; background: #f0f0f0; @@ -701,6 +939,7 @@ height: 32px; margin-left: 0; margin-right: 0; + /* Fonts smaller than 16px causes mobile safari to zoom. */ font-size: 16px; } @media not (prefers-reduced-motion) { @@ -713,6 +952,7 @@ .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input { font-size: 13px; + /* Override core line-height. To be reviewed. */ line-height: normal; } } @@ -750,10 +990,10 @@ .dataviews-filters__search-widget-filter-combobox__input::placeholder { color: #757575; } -.dataviews-filters__search-widget-filter-combobox__wrapper - .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-cancel-button, .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-decoration, +.dataviews-filters__search-widget-filter-combobox__wrapper + .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-cancel-button, .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-results-button, .dataviews-filters__search-widget-filter-combobox__wrapper @@ -771,10 +1011,12 @@ justify-content: center; width: 24px; } + .dataviews-filters__container-visibility-toggle { position: relative; flex-shrink: 0; } + .dataviews-filters-toggle__count { position: absolute; top: 0; @@ -792,15 +1034,18 @@ color: #fff; box-sizing: border-box; } + .dataviews-search { width: fit-content; } + .dataviews-filters__user-input-widget { padding: 16px; } .dataviews-filters__user-input-widget .components-input-control__prefix { padding-left: 8px; } + .dataviews-footer { position: sticky; bottom: 0; @@ -813,9 +1058,10 @@ } @media not (prefers-reduced-motion) { .dataviews-footer { - transition: padding 0.1s ease-out; + transition: padding ease-out 0.1s; } } + @container (max-width: 430px) { .dataviews-footer { padding: 12px 24px; @@ -847,9 +1093,11 @@ font-weight: 500; } } + .dataviews-action-modal { z-index: 1000001; } + .dataviews-selection-checkbox { --checkbox-input-size: 24px; line-height: 0; @@ -863,12 +1111,15 @@ .dataviews-selection-checkbox .components-checkbox-control__input-container { margin: 0; } + .dataviews-view-config { width: 320px; + /* stylelint-disable-next-line property-no-unknown -- the linter needs to be updated to accepted the container-type property */ container-type: inline-size; font-size: 13px; line-height: 1.4; } + .dataviews-config__popover.is-expanded .dataviews-config__popover-content-wrapper { overflow-y: scroll; @@ -879,68 +1130,84 @@ .dataviews-view-config { width: auto; } + .dataviews-view-config__sort-direction .components-toggle-group-control-option-base { text-transform: uppercase; } + .dataviews-settings-section__title.dataviews-settings-section__title { line-height: 24px; font-size: 15px; } + .dataviews-settings-section__sidebar { grid-column: span 4; } + .dataviews-settings-section__content, .dataviews-settings-section__content > * { grid-column: span 8; } + .dataviews-settings-section__content .is-divided-in-two { display: contents; } .dataviews-settings-section__content .is-divided-in-two > * { grid-column: span 4; } + .dataviews-settings-section:has(.dataviews-settings-section__content:empty) { display: none; } + @container (max-width: 500px) { .dataviews-settings-section.dataviews-settings-section { grid-template-columns: repeat(2, 1fr); } - .dataviews-settings-section.dataviews-settings-section - .dataviews-settings-section__content, .dataviews-settings-section.dataviews-settings-section .dataviews-settings-section__sidebar { grid-column: span 2; } + .dataviews-settings-section.dataviews-settings-section + .dataviews-settings-section__content { + grid-column: span 2; + } } .dataviews-field-control__field { height: 32px; } + .dataviews-field-control__actions { position: absolute; top: -9999em; } + .dataviews-field-control__actions.dataviews-field-control__actions { gap: 4px; } -.dataviews-field-control__field.is-interacting - .dataviews-field-control__actions, + +.dataviews-field-control__field:hover .dataviews-field-control__actions, .dataviews-field-control__field:focus-within .dataviews-field-control__actions, -.dataviews-field-control__field:hover .dataviews-field-control__actions { +.dataviews-field-control__field.is-interacting + .dataviews-field-control__actions { position: unset; top: unset; } + .dataviews-field-control__icon { display: flex; width: 24px; } + .dataviews-field-control__label-sub-label-container { flex-grow: 1; } + .dataviews-field-control__label { display: block; } + .dataviews-field-control__sub-label { margin-top: 8px; margin-bottom: 0; @@ -948,6 +1215,7 @@ font-style: normal; color: #757575; } + .dataviews-view-grid { margin-bottom: auto; display: grid; @@ -956,6 +1224,10 @@ grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); padding: 0 48px 24px; container-type: inline-size; + /** + * Breakpoints were adjusted from media queries breakpoints to account for + * the sidebar width. This was done to match the existing styles we had. + */ } @container (max-width: 480px) { .dataviews-view-grid { @@ -965,7 +1237,7 @@ } @media not (prefers-reduced-motion) { .dataviews-view-grid { - transition: padding 0.1s ease-out; + transition: padding ease-out 0.1s; } } .dataviews-view-grid .dataviews-view-grid__card { @@ -997,22 +1269,22 @@ .dataviews-view-grid__field-value { color: #1e1e1e; } -.dataviews-view-grid - .dataviews-view-grid__card - .dataviews-view-grid__media:focus:after, .dataviews-view-grid .dataviews-view-grid__card.is-selected - .dataviews-view-grid__media:after { + .dataviews-view-grid__media::after, +.dataviews-view-grid + .dataviews-view-grid__card + .dataviews-view-grid__media:focus::after { background-color: rgba(var(--wp-admin-theme-color--rgb), 0.08); } .dataviews-view-grid .dataviews-view-grid__card.is-selected - .dataviews-view-grid__media:after { + .dataviews-view-grid__media::after { box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color); } .dataviews-view-grid .dataviews-view-grid__card - .dataviews-view-grid__media:focus:after { + .dataviews-view-grid__media:focus::after { box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); } @@ -1028,7 +1300,7 @@ width: 100%; height: 100%; } -.dataviews-view-grid .dataviews-view-grid__media:after { +.dataviews-view-grid .dataviews-view-grid__media::after { content: ""; position: absolute; top: 0; @@ -1087,10 +1359,12 @@ .dataviews-view-grid .dataviews-view-grid__badge-fields:not(:empty) { padding-bottom: 12px; } + .dataviews-view-grid__field-value:empty, .dataviews-view-grid__field:empty { display: none; } + .dataviews-view-grid__card .dataviews-selection-checkbox { position: absolute; top: -9999em; @@ -1102,69 +1376,74 @@ top: 8px; } } -.dataviews-view-grid__card.is-selected .dataviews-selection-checkbox, + +.dataviews-view-grid__card:hover .dataviews-selection-checkbox, .dataviews-view-grid__card:focus-within .dataviews-selection-checkbox, -.dataviews-view-grid__card:hover .dataviews-selection-checkbox { +.dataviews-view-grid__card.is-selected .dataviews-selection-checkbox { top: 8px; } + .dataviews-view-grid__media--clickable { cursor: pointer; } + .dataviews-view-grid__group-header { font-size: 15px; font-weight: 500; color: #1e1e1e; - margin: 0 0 8px; + margin: 0 0 8px 0; padding: 0 48px; } + div.dataviews-view-list { list-style-type: none; } + .dataviews-view-list { margin: 0 0 auto; } -.dataviews-view-list div[role="article"], -.dataviews-view-list div[role="row"] { +.dataviews-view-list div[role="row"], +.dataviews-view-list div[role="article"] { margin: 0; border-top: 1px solid #f0f0f0; } -.dataviews-view-list div[role="article"] .dataviews-view-list__item-wrapper, -.dataviews-view-list div[role="row"] .dataviews-view-list__item-wrapper { +.dataviews-view-list div[role="row"] .dataviews-view-list__item-wrapper, +.dataviews-view-list div[role="article"] .dataviews-view-list__item-wrapper { position: relative; padding: 16px 24px; box-sizing: border-box; } -.dataviews-view-list div[role="article"] .dataviews-view-list__item-actions, -.dataviews-view-list div[role="row"] .dataviews-view-list__item-actions { +.dataviews-view-list div[role="row"] .dataviews-view-list__item-actions, +.dataviews-view-list div[role="article"] .dataviews-view-list__item-actions { display: flex; width: max-content; flex: 0 0 auto; gap: 4px; } .dataviews-view-list - div[role="article"] + div[role="row"] .dataviews-view-list__item-actions .components-button, .dataviews-view-list - div[role="row"] + div[role="article"] .dataviews-view-list__item-actions .components-button { position: relative; z-index: 1; } +.dataviews-view-list div[role="row"] .dataviews-view-list__item-actions > div, .dataviews-view-list div[role="article"] .dataviews-view-list__item-actions - > div, -.dataviews-view-list div[role="row"] .dataviews-view-list__item-actions > div { + > div { height: 24px; } .dataviews-view-list - div[role="article"] + div[role="row"] .dataviews-view-list__item-actions > :not(:last-child), .dataviews-view-list - div[role="row"] + div[role="article"] .dataviews-view-list__item-actions > :not(:last-child) { flex: 0; @@ -1172,11 +1451,11 @@ div.dataviews-view-list { width: 0; } .dataviews-view-list - div[role="article"]:where(.is-selected, .is-hovered, :focus-within) + div[role="row"]:where(.is-selected, .is-hovered, :focus-within) .dataviews-view-list__item-actions > :not(:last-child), .dataviews-view-list - div[role="row"]:where(.is-selected, .is-hovered, :focus-within) + div[role="article"]:where(.is-selected, .is-hovered, :focus-within) .dataviews-view-list__item-actions > :not(:last-child) { flex-basis: min-content; @@ -1185,11 +1464,11 @@ div.dataviews-view-list { } @media (hover: none) { .dataviews-view-list - div[role="article"] + div[role="row"] .dataviews-view-list__item-actions > :not(:last-child), .dataviews-view-list - div[role="row"] + div[role="article"] .dataviews-view-list__item-actions > :not(:last-child) { flex-basis: min-content; @@ -1197,122 +1476,124 @@ div.dataviews-view-list { overflow: unset; } } -.dataviews-view-list div[role="article"].is-selected.is-selected, +.dataviews-view-list div[role="row"].is-selected.is-selected, +.dataviews-view-list div[role="article"].is-selected.is-selected { + border-top: 1px solid rgba(var(--wp-admin-theme-color--rgb), 0.12); +} +.dataviews-view-list div[role="row"].is-selected.is-selected + div[role="row"], .dataviews-view-list - div[role="article"].is-selected.is-selected + div[role="row"].is-selected.is-selected + div[role="article"], .dataviews-view-list div[role="article"].is-selected.is-selected + div[role="row"], -.dataviews-view-list div[role="row"].is-selected.is-selected, .dataviews-view-list - div[role="row"].is-selected.is-selected - + div[role="article"], -.dataviews-view-list div[role="row"].is-selected.is-selected + div[role="row"] { + div[role="article"].is-selected.is-selected + + div[role="article"] { border-top: 1px solid rgba(var(--wp-admin-theme-color--rgb), 0.12); } .dataviews-view-list - div[role="article"]:not(.is-selected) + div[role="row"]:not(.is-selected) .dataviews-view-list__title-field, .dataviews-view-list - div[role="row"]:not(.is-selected) + div[role="article"]:not(.is-selected) .dataviews-view-list__title-field { color: #1e1e1e; } -.dataviews-view-list div[role="article"]:not(.is-selected).is-hovered, -.dataviews-view-list div[role="article"]:not(.is-selected):focus-within, -.dataviews-view-list div[role="article"]:not(.is-selected):hover, +.dataviews-view-list div[role="row"]:not(.is-selected):hover, .dataviews-view-list div[role="row"]:not(.is-selected).is-hovered, .dataviews-view-list div[role="row"]:not(.is-selected):focus-within, -.dataviews-view-list div[role="row"]:not(.is-selected):hover { +.dataviews-view-list div[role="article"]:not(.is-selected):hover, +.dataviews-view-list div[role="article"]:not(.is-selected).is-hovered, +.dataviews-view-list div[role="article"]:not(.is-selected):focus-within { color: var(--wp-admin-theme-color); background-color: #f8f8f8; } .dataviews-view-list - div[role="article"]:not(.is-selected).is-hovered + div[role="row"]:not(.is-selected):hover + .dataviews-view-list__title-field, +.dataviews-view-list + div[role="row"]:not(.is-selected):hover .dataviews-view-list__fields, .dataviews-view-list - div[role="article"]:not(.is-selected).is-hovered + div[role="row"]:not(.is-selected).is-hovered .dataviews-view-list__title-field, .dataviews-view-list - div[role="article"]:not(.is-selected):focus-within + div[role="row"]:not(.is-selected).is-hovered .dataviews-view-list__fields, .dataviews-view-list - div[role="article"]:not(.is-selected):focus-within + div[role="row"]:not(.is-selected):focus-within .dataviews-view-list__title-field, .dataviews-view-list - div[role="article"]:not(.is-selected):hover + div[role="row"]:not(.is-selected):focus-within .dataviews-view-list__fields, .dataviews-view-list div[role="article"]:not(.is-selected):hover .dataviews-view-list__title-field, .dataviews-view-list - div[role="row"]:not(.is-selected).is-hovered + div[role="article"]:not(.is-selected):hover .dataviews-view-list__fields, .dataviews-view-list - div[role="row"]:not(.is-selected).is-hovered + div[role="article"]:not(.is-selected).is-hovered .dataviews-view-list__title-field, .dataviews-view-list - div[role="row"]:not(.is-selected):focus-within + div[role="article"]:not(.is-selected).is-hovered .dataviews-view-list__fields, .dataviews-view-list - div[role="row"]:not(.is-selected):focus-within + div[role="article"]:not(.is-selected):focus-within .dataviews-view-list__title-field, .dataviews-view-list - div[role="row"]:not(.is-selected):hover - .dataviews-view-list__fields, -.dataviews-view-list - div[role="row"]:not(.is-selected):hover - .dataviews-view-list__title-field { + div[role="article"]:not(.is-selected):focus-within + .dataviews-view-list__fields { color: var(--wp-admin-theme-color); } .dataviews-view-list - div[role="article"].is-selected + div[role="row"].is-selected .dataviews-view-list__item-wrapper, .dataviews-view-list - div[role="article"].is-selected:focus-within + div[role="row"].is-selected:focus-within .dataviews-view-list__item-wrapper, .dataviews-view-list - div[role="row"].is-selected + div[role="article"].is-selected .dataviews-view-list__item-wrapper, .dataviews-view-list - div[role="row"].is-selected:focus-within + div[role="article"].is-selected:focus-within .dataviews-view-list__item-wrapper { background-color: rgba(var(--wp-admin-theme-color--rgb), 0.04); color: #1e1e1e; } .dataviews-view-list - div[role="article"].is-selected - .dataviews-view-list__item-wrapper - .dataviews-view-list__fields, -.dataviews-view-list - div[role="article"].is-selected + div[role="row"].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__title-field, .dataviews-view-list - div[role="article"].is-selected:focus-within + div[role="row"].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__fields, .dataviews-view-list - div[role="article"].is-selected:focus-within + div[role="row"].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-view-list__title-field, .dataviews-view-list - div[role="row"].is-selected + div[role="row"].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-view-list__fields, .dataviews-view-list - div[role="row"].is-selected + div[role="article"].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__title-field, .dataviews-view-list - div[role="row"].is-selected:focus-within + div[role="article"].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__fields, .dataviews-view-list - div[role="row"].is-selected:focus-within + div[role="article"].is-selected:focus-within .dataviews-view-list__item-wrapper - .dataviews-view-list__title-field { + .dataviews-view-list__title-field, +.dataviews-view-list + div[role="article"].is-selected:focus-within + .dataviews-view-list__item-wrapper + .dataviews-view-list__fields { color: var(--wp-admin-theme-color); } .dataviews-view-list .dataviews-view-list__item { @@ -1329,7 +1610,7 @@ div.dataviews-view-list { .dataviews-view-list .dataviews-view-list__item:focus-visible { outline: none; } -.dataviews-view-list .dataviews-view-list__item:focus-visible:before { +.dataviews-view-list .dataviews-view-list__item:focus-visible::before { position: absolute; content: ""; inset: var(--wp-admin-border-width-focus); @@ -1361,7 +1642,7 @@ div.dataviews-view-list { height: 100%; object-fit: cover; } -.dataviews-view-list .dataviews-view-list__media-wrapper:after { +.dataviews-view-list .dataviews-view-list__media-wrapper::after { content: ""; position: absolute; top: 0; @@ -1402,6 +1683,7 @@ div.dataviews-view-list { .dataviews-view-list + .dataviews-pagination { justify-content: space-between; } + .dataviews-view-table { width: 100%; text-indent: 0; @@ -1414,7 +1696,7 @@ div.dataviews-view-list { .dataviews-view-table th { text-align: left; color: #1e1e1e; - font-weight: 400; + font-weight: normal; font-size: 13px; } .dataviews-view-table td, @@ -1431,8 +1713,8 @@ div.dataviews-view-list { right: 0; background-color: #fff; } -.dataviews-view-table td.dataviews-view-table__actions-column--stuck:after, -.dataviews-view-table th.dataviews-view-table__actions-column--stuck:after { +.dataviews-view-table td.dataviews-view-table__actions-column--stuck::after, +.dataviews-view-table th.dataviews-view-table__actions-column--stuck::after { display: block; content: ""; position: absolute; @@ -1493,10 +1775,10 @@ div.dataviews-view-list { .components-checkbox-control__input.components-checkbox-control__input:checked, .dataviews-view-table tr - .components-checkbox-control__input.components-checkbox-control__input:focus, + .components-checkbox-control__input.components-checkbox-control__input:indeterminate, .dataviews-view-table tr - .components-checkbox-control__input.components-checkbox-control__input:indeterminate { + .components-checkbox-control__input.components-checkbox-control__input:focus { opacity: 1; } .dataviews-view-table @@ -1505,14 +1787,14 @@ div.dataviews-view-list { .components-button:not(.dataviews-all-actions-button) { opacity: 0; } -.dataviews-view-table tr.is-hovered .components-checkbox-control__input, +.dataviews-view-table tr:focus-within .components-checkbox-control__input, .dataviews-view-table - tr.is-hovered + tr:focus-within .dataviews-item-actions .components-button:not(.dataviews-all-actions-button), -.dataviews-view-table tr:focus-within .components-checkbox-control__input, +.dataviews-view-table tr.is-hovered .components-checkbox-control__input, .dataviews-view-table - tr:focus-within + tr.is-hovered .dataviews-item-actions .components-button:not(.dataviews-all-actions-button), .dataviews-view-table tr:hover .components-checkbox-control__input, @@ -1647,16 +1929,17 @@ div.dataviews-view-list { .dataviews-view-table.has-comfortable-density th { padding: 16px 12px; } -.dataviews-view-table.has-comfortable-density - td.dataviews-view-table__checkbox-column, -.dataviews-view-table.has-comfortable-density - th.dataviews-view-table__checkbox-column, .dataviews-view-table.has-compact-density td.dataviews-view-table__checkbox-column, .dataviews-view-table.has-compact-density + th.dataviews-view-table__checkbox-column, +.dataviews-view-table.has-comfortable-density + td.dataviews-view-table__checkbox-column, +.dataviews-view-table.has-comfortable-density th.dataviews-view-table__checkbox-column { padding-right: 0; } + @container (max-width: 430px) { .dataviews-view-table tr td:first-child, .dataviews-view-table tr th:first-child { @@ -1675,6 +1958,7 @@ div.dataviews-view-list { --checkbox-input-size: 16px; } } + .dataviews-column-primary__media { max-width: 60px; overflow: hidden; @@ -1688,7 +1972,7 @@ div.dataviews-view-list { height: 100%; object-fit: cover; } -.dataviews-column-primary__media:after { +.dataviews-column-primary__media::after { content: ""; position: absolute; top: 0; @@ -1698,6 +1982,7 @@ div.dataviews-view-list { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); border-radius: 4px; } + .dataviews-view-table__cell-content-wrapper:not( .dataviews-column-primary__media ), @@ -1707,37 +1992,45 @@ div.dataviews-view-list { min-width: 15ch; max-width: 80ch; } + .dataviews-view-table__group-header-row .dataviews-view-table__group-header-cell { font-weight: 500; padding: 12px 48px; color: #1e1e1e; } + .dataviews-controls__datetime { border: none; padding: 0; } + .dataviews-controls__relative-date-number, .dataviews-controls__relative-date-unit { flex: 1 1 50%; } -.dataviews-controls__date input[type="date"]::-webkit-calendar-picker-indicator, -.dataviews-controls__date input[type="date"]::-webkit-inner-spin-button { + +.dataviews-controls__date input[type="date"]::-webkit-inner-spin-button, +.dataviews-controls__date + input[type="date"]::-webkit-calendar-picker-indicator { display: none; -webkit-appearance: none; } + .dataviews-controls__date-preset { border: 1px solid #ddd; } .dataviews-controls__date-preset:active { background-color: #000; } + .dataforms-layouts-panel__field { width: 100%; min-height: 32px; justify-content: flex-start !important; align-items: flex-start !important; } + .dataforms-layouts-panel__field-label { width: 38%; flex-shrink: 0; @@ -1750,6 +2043,7 @@ div.dataviews-view-list { .dataforms-layouts-panel__field-label--label-position-side { align-self: center; } + .dataforms-layouts-panel__field-control { flex-grow: 1; min-height: 32px; @@ -1770,30 +2064,37 @@ div.dataviews-view-list { .dataforms-layouts-panel__field-control .components-dropdown { max-width: 100%; } + .dataforms-layouts-panel__field-dropdown .components-popover__content { min-width: 320px; padding: 16px; } + .dataforms-layouts-panel__dropdown-header { margin-bottom: 16px; } + .dataforms-layouts-panel__modal-footer { margin-top: 16px; } + .components-popover.components-dropdown__content.dataforms-layouts-panel__field-dropdown { z-index: 159990; } + .dataforms-layouts-regular__field { width: 100%; min-height: 32px; justify-content: flex-start !important; align-items: flex-start !important; } + .dataforms-layouts-regular__field .components-base-control__label { font-size: inherit; - font-weight: 400; + font-weight: normal; text-transform: none; } + .dataforms-layouts-regular__field-label { width: 38%; flex-shrink: 0; @@ -1806,6 +2107,7 @@ div.dataviews-view-list { .dataforms-layouts-regular__field-label--label-position-side { align-self: center; } + .dataforms-layouts-regular__field-control { flex-grow: 1; min-height: 32px; @@ -1826,7 +2128,7 @@ div.dataviews-view-list { border-bottom: 1px solid #e0e0e0; } .directorist-answers-modal .directorist-enquiry-info h3 { - margin: 0 0 15px; + margin: 0 0 15px 0; color: #333; } .directorist-answers-modal .directorist-enquiry-info p { @@ -1834,21 +2136,23 @@ div.dataviews-view-list { color: #666; } .directorist-answers-modal .directorist-answers-section h3 { - margin: 0 0 20px; + margin: 0 0 20px 0; color: #333; } + .directorist-enquiry-modal .components-modal__header { border-bottom: 1px solid #e0e0e0; } + .directorist-formgent-table-modal h1 { font-size: 22px; font-weight: 600; - margin: 0 0 10px; + margin: 0 0 10px 0; } .directorist-formgent-table-modal p { font-size: 16px; font-weight: 400; - margin: 0 0 20px; + margin: 0 0 20px 0; } .directorist-formgent-table-modal .directorist-formgent-table-modal-action { display: -webkit-box; @@ -1861,8 +2165,11 @@ div.dataviews-view-list { justify-content: flex-end; gap: 10px; } + #helpgent-toast div[role="status"] { font-size: 16px; font-family: inherit; font-weight: 400; } + +/*# sourceMappingURL=formgent-integration.css.map*/ diff --git a/assets/css/formgent-integration.rtl.css b/assets/css/formgent-integration.rtl.css index 421386f41d..3f75ecca29 100644 --- a/assets/css/formgent-integration.rtl.css +++ b/assets/css/formgent-integration.rtl.css @@ -1,6 +1,227 @@ /*!***********************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-4.use[1]!./node_modules/@wordpress/dataviews/build-style/style.css ***! \***********************************************************************************************************************************/ +/** + * Colors + */ +/** + * Breakpoints & Media Queries + */ +/** + * Colors + */ +/** + * SCSS Variables. + * + * Please use variables from this sheet to ensure consistency across the UI. + * Don't add to this sheet unless you're pretty sure the value will be reused in many places. + * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. + */ +/** + * Fonts & basic variables. + */ +/** + * Typography + */ +/** + * Grid System. + * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ + */ +/** + * Radius scale. + */ +/** + * Elevation scale. + */ +/** + * Dimensions. + */ +/** + * Mobile specific styles + */ +/** + * Editor styles. + */ +/** + * Block & Editor UI. + */ +/** + * Block paddings. + */ +/** + * React Native specific. + * These variables do not appear to be used anywhere else. + */ +/** + * Colors + */ +/** + * SCSS Variables. + * + * Please use variables from this sheet to ensure consistency across the UI. + * Don't add to this sheet unless you're pretty sure the value will be reused in many places. + * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. + */ +/** + * Fonts & basic variables. + */ +/** + * Typography + */ +/** + * Grid System. + * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ + */ +/** + * Radius scale. + */ +/** + * Elevation scale. + */ +/** + * Dimensions. + */ +/** + * Mobile specific styles + */ +/** + * Editor styles. + */ +/** + * Block & Editor UI. + */ +/** + * Block paddings. + */ +/** + * React Native specific. + * These variables do not appear to be used anywhere else. + */ +/** + * Breakpoints & Media Queries + */ +/** +* Converts a hex value into the rgb equivalent. +* +* @param {string} hex - the hexadecimal value to convert +* @return {string} comma separated rgb values +*/ +/** + * Long content fade mixin + * + * Creates a fading overlay to signify that the content is longer + * than the space allows. + */ +/** + * Typography + */ +/** + * Breakpoint mixins + */ +/** + * Focus styles. + */ +/** + * Applies editor left position to the selector passed as argument + */ +/** + * Styles that are reused verbatim in a few places + */ +/** + * Allows users to opt-out of animations via OS-level preferences. + */ +/** + * Reset default styles for JavaScript UI based pages. + * This is a WP-admin agnostic reset + */ +/** + * Reset the WP Admin page styles for Gutenberg-like pages. + */ +/** + * Colors + */ +/** + * SCSS Variables. + * + * Please use variables from this sheet to ensure consistency across the UI. + * Don't add to this sheet unless you're pretty sure the value will be reused in many places. + * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. + */ +/** + * Fonts & basic variables. + */ +/** + * Typography + */ +/** + * Grid System. + * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ + */ +/** + * Radius scale. + */ +/** + * Elevation scale. + */ +/** + * Dimensions. + */ +/** + * Mobile specific styles + */ +/** + * Editor styles. + */ +/** + * Block & Editor UI. + */ +/** + * Block paddings. + */ +/** + * React Native specific. + * These variables do not appear to be used anywhere else. + */ +/** + * Breakpoints & Media Queries + */ +/** +* Converts a hex value into the rgb equivalent. +* +* @param {string} hex - the hexadecimal value to convert +* @return {string} comma separated rgb values +*/ +/** + * Long content fade mixin + * + * Creates a fading overlay to signify that the content is longer + * than the space allows. + */ +/** + * Typography + */ +/** + * Breakpoint mixins + */ +/** + * Focus styles. + */ +/** + * Applies editor left position to the selector passed as argument + */ +/** + * Styles that are reused verbatim in a few places + */ +/** + * Allows users to opt-out of animations via OS-level preferences. + */ +/** + * Reset default styles for JavaScript UI based pages. + * This is a WP-admin agnostic reset + */ +/** + * Reset the WP Admin page styles for Gutenberg-like pages. + */ :root { --wp-block-synced-color: #7a00df; --wp-block-synced-color--rgb: 122, 0, 223; @@ -18,19 +239,22 @@ --wp-admin-border-width-focus: 1.5px; } } + .dataviews-wrapper { height: 100%; overflow: auto; box-sizing: border-box; scroll-padding-bottom: 64px; + /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */ container: dataviews-wrapper/inline-size; display: flex; flex-direction: column; font-size: 13px; line-height: 1.4; } -.dataviews-filters__container, -.dataviews__view-actions { + +.dataviews__view-actions, +.dataviews-filters__container { box-sizing: border-box; padding: 16px 48px; flex-shrink: 0; @@ -38,13 +262,14 @@ right: 0; } @media not (prefers-reduced-motion) { - .dataviews-filters__container, - .dataviews__view-actions { - transition: padding 0.1s ease-out; + .dataviews__view-actions, + .dataviews-filters__container { + transition: padding ease-out 0.1s; } } -.dataviews-loading, -.dataviews-no-results { + +.dataviews-no-results, +.dataviews-loading { padding: 0 48px; flex-grow: 1; display: flex; @@ -52,21 +277,23 @@ justify-content: center; } @media not (prefers-reduced-motion) { - .dataviews-loading, - .dataviews-no-results { - transition: padding 0.1s ease-out; + .dataviews-no-results, + .dataviews-loading { + transition: padding ease-out 0.1s; } } + .dataviews-loading-more { text-align: center; } + @container (max-width: 430px) { - .dataviews-filters__container, - .dataviews__view-actions { + .dataviews__view-actions, + .dataviews-filters__container { padding: 12px 24px; } - .dataviews-loading, - .dataviews-no-results { + .dataviews-no-results, + .dataviews-loading { padding-right: 24px; padding-left: 24px; } @@ -74,19 +301,19 @@ .dataviews-title-field { font-size: 13px; font-weight: 500; - width: 100%; -} -.dataviews-title-field, -.dataviews-title-field a { color: #2f2f2f; text-overflow: ellipsis; white-space: nowrap; + width: 100%; } .dataviews-title-field a { text-decoration: none; + text-overflow: ellipsis; + white-space: nowrap; overflow: hidden; display: block; flex-grow: 0; + color: #2f2f2f; } .dataviews-title-field a:hover { color: var(--wp-admin-theme-color); @@ -110,6 +337,7 @@ .dataviews-title-field button.components-button.is-link:hover { color: var(--wp-admin-theme-color); } + .dataviews-title-field--clickable { cursor: pointer; color: #2f2f2f; @@ -123,16 +351,20 @@ var(--wp-admin-theme-color, #007cba); border-radius: 2px; } + +/** + * Applying a consistent 24px padding when DataViews are placed within cards. + */ .components-card__body:has(> .dataviews-wrapper) { padding: 8px 0 0; overflow: hidden; } +.components-card__body:has(> .dataviews-wrapper) .dataviews__view-actions, .components-card__body:has(> .dataviews-wrapper) .dataviews-filters__container, .components-card__body:has(> .dataviews-wrapper) .dataviews-footer, -.components-card__body:has(> .dataviews-wrapper) .dataviews-loading, -.components-card__body:has(> .dataviews-wrapper) .dataviews-no-results, .components-card__body:has(> .dataviews-wrapper) .dataviews-view-grid, -.components-card__body:has(> .dataviews-wrapper) .dataviews__view-actions { +.components-card__body:has(> .dataviews-wrapper) .dataviews-loading, +.components-card__body:has(> .dataviews-wrapper) .dataviews-no-results { padding-inline: 24px; } .components-card__body:has(> .dataviews-wrapper) @@ -155,22 +387,27 @@ th:last-child { padding-inline-end: 24px; } + .dataviews-bulk-actions-footer__item-count { color: #1e1e1e; font-weight: 500; font-size: 11px; text-transform: uppercase; } + .dataviews-bulk-actions-footer__container { margin-left: auto; min-height: 32px; } + .dataviews-filters__button { position: relative; } + .dataviews-filters__container { padding-top: 0; } + .dataviews-filters__reset-button.dataviews-filters__reset-button[aria-disabled="true"], .dataviews-filters__reset-button.dataviews-filters__reset-button[aria-disabled="true"]:hover { opacity: 0; @@ -178,6 +415,7 @@ .dataviews-filters__reset-button.dataviews-filters__reset-button[aria-disabled="true"]:focus { opacity: 1; } + .dataviews-filters__summary-popover { font-size: 13px; line-height: 1.4; @@ -192,6 +430,7 @@ .components-popover__content { padding: 0; } + .dataviews-filters__summary-operators-container { padding: 8px 16px; } @@ -212,7 +451,7 @@ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; - flex-shrink: 0; + flex-shrink: 0; /* Prevents this element from shrinking */ max-width: calc(100% - 55px); } .dataviews-filters__summary-operators-container @@ -221,6 +460,7 @@ white-space: nowrap; overflow: hidden; } + .dataviews-filters__summary-chip-container { position: relative; white-space: pre-wrap; @@ -246,13 +486,13 @@ .dataviews-filters__summary-chip.has-reset { padding-inline-end: 28px; } -.dataviews-filters__summary-chip-container - .dataviews-filters__summary-chip:focus-visible, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:hover:not( .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.is-not-clickable ), +.dataviews-filters__summary-chip-container + .dataviews-filters__summary-chip:focus-visible, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip[aria-expanded="true"] { background: #e0e0e0; @@ -303,16 +543,16 @@ fill: #757575; } .dataviews-filters__summary-chip-container - .dataviews-filters__summary-chip-remove:focus, + .dataviews-filters__summary-chip-remove:hover, .dataviews-filters__summary-chip-container - .dataviews-filters__summary-chip-remove:hover { + .dataviews-filters__summary-chip-remove:focus { background: #e0e0e0; } .dataviews-filters__summary-chip-container - .dataviews-filters__summary-chip-remove:focus + .dataviews-filters__summary-chip-remove:hover svg, .dataviews-filters__summary-chip-container - .dataviews-filters__summary-chip-remove:hover + .dataviews-filters__summary-chip-remove:focus svg { fill: #1e1e1e; } @@ -331,6 +571,7 @@ box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); } + .dataviews-filters__search-widget-filter-combobox-list { max-height: 184px; padding: 4px; @@ -342,10 +583,12 @@ [data-user-value] { font-weight: 600; } + .dataviews-filters__search-widget-listbox { padding: 4px; overflow: auto; } + .dataviews-filters__search-widget-listitem { display: flex; align-items: center; @@ -356,15 +599,8 @@ cursor: default; min-height: 32px; font-family: - -apple-system, - "system-ui", - Segoe UI, - Roboto, - Oxygen-Sans, - Ubuntu, - Cantarell, - Helvetica Neue, - sans-serif; + -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, + Cantarell, "Helvetica Neue", sans-serif; font-weight: 400; font-size: 13px; line-height: 20px; @@ -372,51 +608,51 @@ .dataviews-filters__search-widget-listitem:last-child { margin-block-end: 0; } -.dataviews-filters__search-widget-listitem:focus, .dataviews-filters__search-widget-listitem:hover, -.dataviews-filters__search-widget-listitem[data-active-item] { +.dataviews-filters__search-widget-listitem[data-active-item], +.dataviews-filters__search-widget-listitem:focus { background-color: var(--wp-admin-theme-color); color: #fff; } -.dataviews-filters__search-widget-listitem:focus - .dataviews-filters__search-widget-listitem-description, .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-description, .dataviews-filters__search-widget-listitem[data-active-item] + .dataviews-filters__search-widget-listitem-description, +.dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-description { color: #fff; } -.dataviews-filters__search-widget-listitem:focus - .dataviews-filters__search-widget-listitem-single-selection, .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-single-selection, .dataviews-filters__search-widget-listitem[data-active-item] + .dataviews-filters__search-widget-listitem-single-selection, +.dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-single-selection { border-color: var(--wp-admin-theme-color-darker-20, #183ad6); background: #fff; } -.dataviews-filters__search-widget-listitem:focus - .dataviews-filters__search-widget-listitem-single-selection.is-selected, .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-single-selection.is-selected, .dataviews-filters__search-widget-listitem[data-active-item] + .dataviews-filters__search-widget-listitem-single-selection.is-selected, +.dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-single-selection.is-selected { border-color: var(--wp-admin-theme-color-darker-20, #183ad6); background: var(--wp-admin-theme-color-darker-20, #183ad6); } -.dataviews-filters__search-widget-listitem:focus - .dataviews-filters__search-widget-listitem-multi-selection, .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-multi-selection, .dataviews-filters__search-widget-listitem[data-active-item] + .dataviews-filters__search-widget-listitem-multi-selection, +.dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-multi-selection { border-color: var(--wp-admin-theme-color-darker-20, #183ad6); } -.dataviews-filters__search-widget-listitem:focus - .dataviews-filters__search-widget-listitem-multi-selection.is-selected, .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-multi-selection.is-selected, .dataviews-filters__search-widget-listitem[data-active-item] + .dataviews-filters__search-widget-listitem-multi-selection.is-selected, +.dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-multi-selection.is-selected { border-color: var(--wp-admin-theme-color-darker-20, #183ad6); background: var(--wp-admin-theme-color-darker-20, #183ad6); @@ -433,6 +669,7 @@ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection { border: 1px solid #1e1e1e; + margin-left: 12px; transition: none; border-radius: 50%; width: 24px; @@ -459,7 +696,7 @@ } } .dataviews-filters__search-widget-listitem - .dataviews-filters__search-widget-listitem-single-selection:checked:before { + .dataviews-filters__search-widget-listitem-single-selection:checked::before { box-sizing: inherit; width: 12px; height: 12px; @@ -473,7 +710,7 @@ } @media (min-width: 600px) { .dataviews-filters__search-widget-listitem - .dataviews-filters__search-widget-listitem-single-selection:checked:before { + .dataviews-filters__search-widget-listitem-single-selection:checked::before { width: 8px; height: 8px; } @@ -496,7 +733,7 @@ border-color: var(--wp-admin-theme-color, #3858e9); } .dataviews-filters__search-widget-listitem - .dataviews-filters__search-widget-listitem-single-selection.is-selected:before { + .dataviews-filters__search-widget-listitem-single-selection.is-selected::before { content: ""; border-radius: 50%; box-sizing: inherit; @@ -512,7 +749,7 @@ } @media (min-width: 600px) { .dataviews-filters__search-widget-listitem - .dataviews-filters__search-widget-listitem-single-selection.is-selected:before { + .dataviews-filters__search-widget-listitem-single-selection.is-selected::before { width: 8px; height: 8px; } @@ -520,18 +757,17 @@ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection { --checkbox-size: 24px; + border: 1px solid #1e1e1e; + margin-left: 12px; transition: none; + border-radius: 2px; font-family: - -apple-system, - BlinkMacSystemFont, - Segoe UI, - Roboto, - Oxygen-Sans, - Ubuntu, - Cantarell, - Helvetica Neue, - sans-serif; + -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, + Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + padding: 6px 8px; + /* Fonts smaller than 16px causes mobile safari to zoom. */ font-size: 16px; + /* Override core line-height. To be reviewed. */ line-height: normal; box-shadow: 0 0 0 transparent; border-radius: 2px; @@ -554,6 +790,7 @@ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection { font-size: 13px; + /* Override core line-height. To be reviewed. */ line-height: normal; } } @@ -561,6 +798,7 @@ .dataviews-filters__search-widget-listitem-multi-selection:focus { border-color: var(--wp-admin-theme-color); box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color); + outline: 2px solid transparent; } .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection::-webkit-input-placeholder { @@ -591,17 +829,17 @@ opacity: 0; } .dataviews-filters__search-widget-listitem - .dataviews-filters__search-widget-listitem-multi-selection:checked:before, + .dataviews-filters__search-widget-listitem-multi-selection:checked::before, .dataviews-filters__search-widget-listitem - .dataviews-filters__search-widget-listitem-multi-selection[aria-checked="mixed"]:before { + .dataviews-filters__search-widget-listitem-multi-selection[aria-checked="mixed"]::before { margin: -3px -5px; color: #fff; } @media (min-width: 782px) { .dataviews-filters__search-widget-listitem - .dataviews-filters__search-widget-listitem-multi-selection:checked:before, + .dataviews-filters__search-widget-listitem-multi-selection:checked::before, .dataviews-filters__search-widget-listitem - .dataviews-filters__search-widget-listitem-multi-selection[aria-checked="mixed"]:before { + .dataviews-filters__search-widget-listitem-multi-selection[aria-checked="mixed"]::before { margin: -4px -5px 0 0; } } @@ -611,12 +849,13 @@ border-color: var(--wp-admin-theme-color); } .dataviews-filters__search-widget-listitem - .dataviews-filters__search-widget-listitem-multi-selection[aria-checked="mixed"]:before { + .dataviews-filters__search-widget-listitem-multi-selection[aria-checked="mixed"]::before { content: "\f460"; float: right; display: inline-block; vertical-align: middle; width: 16px; + /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */ font: normal 30px/1 dashicons; speak: none; -webkit-font-smoothing: antialiased; @@ -624,15 +863,15 @@ } @media (min-width: 782px) { .dataviews-filters__search-widget-listitem - .dataviews-filters__search-widget-listitem-multi-selection[aria-checked="mixed"]:before { + .dataviews-filters__search-widget-listitem-multi-selection[aria-checked="mixed"]::before { float: none; font-size: 21px; } } .dataviews-filters__search-widget-listitem - .dataviews-filters__search-widget-listitem-multi-selection:disabled, + .dataviews-filters__search-widget-listitem-multi-selection[aria-disabled="true"], .dataviews-filters__search-widget-listitem - .dataviews-filters__search-widget-listitem-multi-selection[aria-disabled="true"] { + .dataviews-filters__search-widget-listitem-multi-selection:disabled { background: #f0f0f0; border-color: #ddd; cursor: default; @@ -647,7 +886,7 @@ @media not (prefers-reduced-motion) { .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection { - transition: border-color 0.1s ease-in-out; + transition: 0.1s border-color ease-in-out; } } .dataviews-filters__search-widget-listitem @@ -674,6 +913,7 @@ --checkmark-size: calc(var(--checkbox-size) + 4px); } } + .dataviews-filters__search-widget-filter-combobox__wrapper { position: relative; padding: 8px; @@ -681,18 +921,16 @@ .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input { font-family: - -apple-system, - BlinkMacSystemFont, - Segoe UI, - Roboto, - Oxygen-Sans, - Ubuntu, - Cantarell, - Helvetica Neue, - sans-serif; + -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, + Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + padding: 6px 8px; + /* Fonts smaller than 16px causes mobile safari to zoom. */ + font-size: 16px; + /* Override core line-height. To be reviewed. */ line-height: normal; box-shadow: 0 0 0 transparent; border-radius: 2px; + border: 1px solid #949494; display: block; padding: 0 8px 0 32px; background: #f0f0f0; @@ -701,6 +939,7 @@ height: 32px; margin-right: 0; margin-left: 0; + /* Fonts smaller than 16px causes mobile safari to zoom. */ font-size: 16px; } @media not (prefers-reduced-motion) { @@ -713,6 +952,7 @@ .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input { font-size: 13px; + /* Override core line-height. To be reviewed. */ line-height: normal; } } @@ -750,10 +990,10 @@ .dataviews-filters__search-widget-filter-combobox__input::placeholder { color: #757575; } -.dataviews-filters__search-widget-filter-combobox__wrapper - .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-cancel-button, .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-decoration, +.dataviews-filters__search-widget-filter-combobox__wrapper + .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-cancel-button, .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-results-button, .dataviews-filters__search-widget-filter-combobox__wrapper @@ -771,10 +1011,12 @@ justify-content: center; width: 24px; } + .dataviews-filters__container-visibility-toggle { position: relative; flex-shrink: 0; } + .dataviews-filters-toggle__count { position: absolute; top: 0; @@ -792,15 +1034,18 @@ color: #fff; box-sizing: border-box; } + .dataviews-search { width: fit-content; } + .dataviews-filters__user-input-widget { padding: 16px; } .dataviews-filters__user-input-widget .components-input-control__prefix { padding-right: 8px; } + .dataviews-footer { position: sticky; bottom: 0; @@ -813,9 +1058,10 @@ } @media not (prefers-reduced-motion) { .dataviews-footer { - transition: padding 0.1s ease-out; + transition: padding ease-out 0.1s; } } + @container (max-width: 430px) { .dataviews-footer { padding: 12px 24px; @@ -847,9 +1093,11 @@ font-weight: 500; } } + .dataviews-action-modal { z-index: 1000001; } + .dataviews-selection-checkbox { --checkbox-input-size: 24px; line-height: 0; @@ -863,12 +1111,15 @@ .dataviews-selection-checkbox .components-checkbox-control__input-container { margin: 0; } + .dataviews-view-config { width: 320px; + /* stylelint-disable-next-line property-no-unknown -- the linter needs to be updated to accepted the container-type property */ container-type: inline-size; font-size: 13px; line-height: 1.4; } + .dataviews-config__popover.is-expanded .dataviews-config__popover-content-wrapper { overflow-y: scroll; @@ -879,68 +1130,84 @@ .dataviews-view-config { width: auto; } + .dataviews-view-config__sort-direction .components-toggle-group-control-option-base { text-transform: uppercase; } + .dataviews-settings-section__title.dataviews-settings-section__title { line-height: 24px; font-size: 15px; } + .dataviews-settings-section__sidebar { grid-column: span 4; } + .dataviews-settings-section__content, .dataviews-settings-section__content > * { grid-column: span 8; } + .dataviews-settings-section__content .is-divided-in-two { display: contents; } .dataviews-settings-section__content .is-divided-in-two > * { grid-column: span 4; } + .dataviews-settings-section:has(.dataviews-settings-section__content:empty) { display: none; } + @container (max-width: 500px) { .dataviews-settings-section.dataviews-settings-section { grid-template-columns: repeat(2, 1fr); } - .dataviews-settings-section.dataviews-settings-section - .dataviews-settings-section__content, .dataviews-settings-section.dataviews-settings-section .dataviews-settings-section__sidebar { grid-column: span 2; } + .dataviews-settings-section.dataviews-settings-section + .dataviews-settings-section__content { + grid-column: span 2; + } } .dataviews-field-control__field { height: 32px; } + .dataviews-field-control__actions { position: absolute; top: -9999em; } + .dataviews-field-control__actions.dataviews-field-control__actions { gap: 4px; } -.dataviews-field-control__field.is-interacting - .dataviews-field-control__actions, + +.dataviews-field-control__field:hover .dataviews-field-control__actions, .dataviews-field-control__field:focus-within .dataviews-field-control__actions, -.dataviews-field-control__field:hover .dataviews-field-control__actions { +.dataviews-field-control__field.is-interacting + .dataviews-field-control__actions { position: unset; top: unset; } + .dataviews-field-control__icon { display: flex; width: 24px; } + .dataviews-field-control__label-sub-label-container { flex-grow: 1; } + .dataviews-field-control__label { display: block; } + .dataviews-field-control__sub-label { margin-top: 8px; margin-bottom: 0; @@ -948,6 +1215,7 @@ font-style: normal; color: #757575; } + .dataviews-view-grid { margin-bottom: auto; display: grid; @@ -956,6 +1224,10 @@ grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); padding: 0 48px 24px; container-type: inline-size; + /** + * Breakpoints were adjusted from media queries breakpoints to account for + * the sidebar width. This was done to match the existing styles we had. + */ } @container (max-width: 480px) { .dataviews-view-grid { @@ -965,7 +1237,7 @@ } @media not (prefers-reduced-motion) { .dataviews-view-grid { - transition: padding 0.1s ease-out; + transition: padding ease-out 0.1s; } } .dataviews-view-grid .dataviews-view-grid__card { @@ -997,22 +1269,22 @@ .dataviews-view-grid__field-value { color: #1e1e1e; } -.dataviews-view-grid - .dataviews-view-grid__card - .dataviews-view-grid__media:focus:after, .dataviews-view-grid .dataviews-view-grid__card.is-selected - .dataviews-view-grid__media:after { + .dataviews-view-grid__media::after, +.dataviews-view-grid + .dataviews-view-grid__card + .dataviews-view-grid__media:focus::after { background-color: rgba(var(--wp-admin-theme-color--rgb), 0.08); } .dataviews-view-grid .dataviews-view-grid__card.is-selected - .dataviews-view-grid__media:after { + .dataviews-view-grid__media::after { box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color); } .dataviews-view-grid .dataviews-view-grid__card - .dataviews-view-grid__media:focus:after { + .dataviews-view-grid__media:focus::after { box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); } @@ -1028,7 +1300,7 @@ width: 100%; height: 100%; } -.dataviews-view-grid .dataviews-view-grid__media:after { +.dataviews-view-grid .dataviews-view-grid__media::after { content: ""; position: absolute; top: 0; @@ -1087,10 +1359,12 @@ .dataviews-view-grid .dataviews-view-grid__badge-fields:not(:empty) { padding-bottom: 12px; } + .dataviews-view-grid__field-value:empty, .dataviews-view-grid__field:empty { display: none; } + .dataviews-view-grid__card .dataviews-selection-checkbox { position: absolute; top: -9999em; @@ -1102,69 +1376,74 @@ top: 8px; } } -.dataviews-view-grid__card.is-selected .dataviews-selection-checkbox, + +.dataviews-view-grid__card:hover .dataviews-selection-checkbox, .dataviews-view-grid__card:focus-within .dataviews-selection-checkbox, -.dataviews-view-grid__card:hover .dataviews-selection-checkbox { +.dataviews-view-grid__card.is-selected .dataviews-selection-checkbox { top: 8px; } + .dataviews-view-grid__media--clickable { cursor: pointer; } + .dataviews-view-grid__group-header { font-size: 15px; font-weight: 500; color: #1e1e1e; - margin: 0 0 8px; + margin: 0 0 8px 0; padding: 0 48px; } + div.dataviews-view-list { list-style-type: none; } + .dataviews-view-list { margin: 0 0 auto; } -.dataviews-view-list div[role="article"], -.dataviews-view-list div[role="row"] { +.dataviews-view-list div[role="row"], +.dataviews-view-list div[role="article"] { margin: 0; border-top: 1px solid #f0f0f0; } -.dataviews-view-list div[role="article"] .dataviews-view-list__item-wrapper, -.dataviews-view-list div[role="row"] .dataviews-view-list__item-wrapper { +.dataviews-view-list div[role="row"] .dataviews-view-list__item-wrapper, +.dataviews-view-list div[role="article"] .dataviews-view-list__item-wrapper { position: relative; padding: 16px 24px; box-sizing: border-box; } -.dataviews-view-list div[role="article"] .dataviews-view-list__item-actions, -.dataviews-view-list div[role="row"] .dataviews-view-list__item-actions { +.dataviews-view-list div[role="row"] .dataviews-view-list__item-actions, +.dataviews-view-list div[role="article"] .dataviews-view-list__item-actions { display: flex; width: max-content; flex: 0 0 auto; gap: 4px; } .dataviews-view-list - div[role="article"] + div[role="row"] .dataviews-view-list__item-actions .components-button, .dataviews-view-list - div[role="row"] + div[role="article"] .dataviews-view-list__item-actions .components-button { position: relative; z-index: 1; } +.dataviews-view-list div[role="row"] .dataviews-view-list__item-actions > div, .dataviews-view-list div[role="article"] .dataviews-view-list__item-actions - > div, -.dataviews-view-list div[role="row"] .dataviews-view-list__item-actions > div { + > div { height: 24px; } .dataviews-view-list - div[role="article"] + div[role="row"] .dataviews-view-list__item-actions > :not(:last-child), .dataviews-view-list - div[role="row"] + div[role="article"] .dataviews-view-list__item-actions > :not(:last-child) { flex: 0; @@ -1172,11 +1451,11 @@ div.dataviews-view-list { width: 0; } .dataviews-view-list - div[role="article"]:where(.is-selected, .is-hovered, :focus-within) + div[role="row"]:where(.is-selected, .is-hovered, :focus-within) .dataviews-view-list__item-actions > :not(:last-child), .dataviews-view-list - div[role="row"]:where(.is-selected, .is-hovered, :focus-within) + div[role="article"]:where(.is-selected, .is-hovered, :focus-within) .dataviews-view-list__item-actions > :not(:last-child) { flex-basis: min-content; @@ -1185,11 +1464,11 @@ div.dataviews-view-list { } @media (hover: none) { .dataviews-view-list - div[role="article"] + div[role="row"] .dataviews-view-list__item-actions > :not(:last-child), .dataviews-view-list - div[role="row"] + div[role="article"] .dataviews-view-list__item-actions > :not(:last-child) { flex-basis: min-content; @@ -1197,122 +1476,124 @@ div.dataviews-view-list { overflow: unset; } } -.dataviews-view-list div[role="article"].is-selected.is-selected, +.dataviews-view-list div[role="row"].is-selected.is-selected, +.dataviews-view-list div[role="article"].is-selected.is-selected { + border-top: 1px solid rgba(var(--wp-admin-theme-color--rgb), 0.12); +} +.dataviews-view-list div[role="row"].is-selected.is-selected + div[role="row"], .dataviews-view-list - div[role="article"].is-selected.is-selected + div[role="row"].is-selected.is-selected + div[role="article"], .dataviews-view-list div[role="article"].is-selected.is-selected + div[role="row"], -.dataviews-view-list div[role="row"].is-selected.is-selected, .dataviews-view-list - div[role="row"].is-selected.is-selected - + div[role="article"], -.dataviews-view-list div[role="row"].is-selected.is-selected + div[role="row"] { + div[role="article"].is-selected.is-selected + + div[role="article"] { border-top: 1px solid rgba(var(--wp-admin-theme-color--rgb), 0.12); } .dataviews-view-list - div[role="article"]:not(.is-selected) + div[role="row"]:not(.is-selected) .dataviews-view-list__title-field, .dataviews-view-list - div[role="row"]:not(.is-selected) + div[role="article"]:not(.is-selected) .dataviews-view-list__title-field { color: #1e1e1e; } -.dataviews-view-list div[role="article"]:not(.is-selected).is-hovered, -.dataviews-view-list div[role="article"]:not(.is-selected):focus-within, -.dataviews-view-list div[role="article"]:not(.is-selected):hover, +.dataviews-view-list div[role="row"]:not(.is-selected):hover, .dataviews-view-list div[role="row"]:not(.is-selected).is-hovered, .dataviews-view-list div[role="row"]:not(.is-selected):focus-within, -.dataviews-view-list div[role="row"]:not(.is-selected):hover { +.dataviews-view-list div[role="article"]:not(.is-selected):hover, +.dataviews-view-list div[role="article"]:not(.is-selected).is-hovered, +.dataviews-view-list div[role="article"]:not(.is-selected):focus-within { color: var(--wp-admin-theme-color); background-color: #f8f8f8; } .dataviews-view-list - div[role="article"]:not(.is-selected).is-hovered + div[role="row"]:not(.is-selected):hover + .dataviews-view-list__title-field, +.dataviews-view-list + div[role="row"]:not(.is-selected):hover .dataviews-view-list__fields, .dataviews-view-list - div[role="article"]:not(.is-selected).is-hovered + div[role="row"]:not(.is-selected).is-hovered .dataviews-view-list__title-field, .dataviews-view-list - div[role="article"]:not(.is-selected):focus-within + div[role="row"]:not(.is-selected).is-hovered .dataviews-view-list__fields, .dataviews-view-list - div[role="article"]:not(.is-selected):focus-within + div[role="row"]:not(.is-selected):focus-within .dataviews-view-list__title-field, .dataviews-view-list - div[role="article"]:not(.is-selected):hover + div[role="row"]:not(.is-selected):focus-within .dataviews-view-list__fields, .dataviews-view-list div[role="article"]:not(.is-selected):hover .dataviews-view-list__title-field, .dataviews-view-list - div[role="row"]:not(.is-selected).is-hovered + div[role="article"]:not(.is-selected):hover .dataviews-view-list__fields, .dataviews-view-list - div[role="row"]:not(.is-selected).is-hovered + div[role="article"]:not(.is-selected).is-hovered .dataviews-view-list__title-field, .dataviews-view-list - div[role="row"]:not(.is-selected):focus-within + div[role="article"]:not(.is-selected).is-hovered .dataviews-view-list__fields, .dataviews-view-list - div[role="row"]:not(.is-selected):focus-within + div[role="article"]:not(.is-selected):focus-within .dataviews-view-list__title-field, .dataviews-view-list - div[role="row"]:not(.is-selected):hover - .dataviews-view-list__fields, -.dataviews-view-list - div[role="row"]:not(.is-selected):hover - .dataviews-view-list__title-field { + div[role="article"]:not(.is-selected):focus-within + .dataviews-view-list__fields { color: var(--wp-admin-theme-color); } .dataviews-view-list - div[role="article"].is-selected + div[role="row"].is-selected .dataviews-view-list__item-wrapper, .dataviews-view-list - div[role="article"].is-selected:focus-within + div[role="row"].is-selected:focus-within .dataviews-view-list__item-wrapper, .dataviews-view-list - div[role="row"].is-selected + div[role="article"].is-selected .dataviews-view-list__item-wrapper, .dataviews-view-list - div[role="row"].is-selected:focus-within + div[role="article"].is-selected:focus-within .dataviews-view-list__item-wrapper { background-color: rgba(var(--wp-admin-theme-color--rgb), 0.04); color: #1e1e1e; } .dataviews-view-list - div[role="article"].is-selected - .dataviews-view-list__item-wrapper - .dataviews-view-list__fields, -.dataviews-view-list - div[role="article"].is-selected + div[role="row"].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__title-field, .dataviews-view-list - div[role="article"].is-selected:focus-within + div[role="row"].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__fields, .dataviews-view-list - div[role="article"].is-selected:focus-within + div[role="row"].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-view-list__title-field, .dataviews-view-list - div[role="row"].is-selected + div[role="row"].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-view-list__fields, .dataviews-view-list - div[role="row"].is-selected + div[role="article"].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__title-field, .dataviews-view-list - div[role="row"].is-selected:focus-within + div[role="article"].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__fields, .dataviews-view-list - div[role="row"].is-selected:focus-within + div[role="article"].is-selected:focus-within .dataviews-view-list__item-wrapper - .dataviews-view-list__title-field { + .dataviews-view-list__title-field, +.dataviews-view-list + div[role="article"].is-selected:focus-within + .dataviews-view-list__item-wrapper + .dataviews-view-list__fields { color: var(--wp-admin-theme-color); } .dataviews-view-list .dataviews-view-list__item { @@ -1329,7 +1610,7 @@ div.dataviews-view-list { .dataviews-view-list .dataviews-view-list__item:focus-visible { outline: none; } -.dataviews-view-list .dataviews-view-list__item:focus-visible:before { +.dataviews-view-list .dataviews-view-list__item:focus-visible::before { position: absolute; content: ""; inset: var(--wp-admin-border-width-focus); @@ -1361,7 +1642,7 @@ div.dataviews-view-list { height: 100%; object-fit: cover; } -.dataviews-view-list .dataviews-view-list__media-wrapper:after { +.dataviews-view-list .dataviews-view-list__media-wrapper::after { content: ""; position: absolute; top: 0; @@ -1402,6 +1683,7 @@ div.dataviews-view-list { .dataviews-view-list + .dataviews-pagination { justify-content: space-between; } + .dataviews-view-table { width: 100%; text-indent: 0; @@ -1414,7 +1696,7 @@ div.dataviews-view-list { .dataviews-view-table th { text-align: right; color: #1e1e1e; - font-weight: 400; + font-weight: normal; font-size: 13px; } .dataviews-view-table td, @@ -1431,8 +1713,8 @@ div.dataviews-view-list { left: 0; background-color: #fff; } -.dataviews-view-table td.dataviews-view-table__actions-column--stuck:after, -.dataviews-view-table th.dataviews-view-table__actions-column--stuck:after { +.dataviews-view-table td.dataviews-view-table__actions-column--stuck::after, +.dataviews-view-table th.dataviews-view-table__actions-column--stuck::after { display: block; content: ""; position: absolute; @@ -1493,10 +1775,10 @@ div.dataviews-view-list { .components-checkbox-control__input.components-checkbox-control__input:checked, .dataviews-view-table tr - .components-checkbox-control__input.components-checkbox-control__input:focus, + .components-checkbox-control__input.components-checkbox-control__input:indeterminate, .dataviews-view-table tr - .components-checkbox-control__input.components-checkbox-control__input:indeterminate { + .components-checkbox-control__input.components-checkbox-control__input:focus { opacity: 1; } .dataviews-view-table @@ -1505,14 +1787,14 @@ div.dataviews-view-list { .components-button:not(.dataviews-all-actions-button) { opacity: 0; } -.dataviews-view-table tr.is-hovered .components-checkbox-control__input, +.dataviews-view-table tr:focus-within .components-checkbox-control__input, .dataviews-view-table - tr.is-hovered + tr:focus-within .dataviews-item-actions .components-button:not(.dataviews-all-actions-button), -.dataviews-view-table tr:focus-within .components-checkbox-control__input, +.dataviews-view-table tr.is-hovered .components-checkbox-control__input, .dataviews-view-table - tr:focus-within + tr.is-hovered .dataviews-item-actions .components-button:not(.dataviews-all-actions-button), .dataviews-view-table tr:hover .components-checkbox-control__input, @@ -1647,16 +1929,17 @@ div.dataviews-view-list { .dataviews-view-table.has-comfortable-density th { padding: 16px 12px; } -.dataviews-view-table.has-comfortable-density - td.dataviews-view-table__checkbox-column, -.dataviews-view-table.has-comfortable-density - th.dataviews-view-table__checkbox-column, .dataviews-view-table.has-compact-density td.dataviews-view-table__checkbox-column, .dataviews-view-table.has-compact-density + th.dataviews-view-table__checkbox-column, +.dataviews-view-table.has-comfortable-density + td.dataviews-view-table__checkbox-column, +.dataviews-view-table.has-comfortable-density th.dataviews-view-table__checkbox-column { padding-left: 0; } + @container (max-width: 430px) { .dataviews-view-table tr td:first-child, .dataviews-view-table tr th:first-child { @@ -1675,6 +1958,7 @@ div.dataviews-view-list { --checkbox-input-size: 16px; } } + .dataviews-column-primary__media { max-width: 60px; overflow: hidden; @@ -1688,7 +1972,7 @@ div.dataviews-view-list { height: 100%; object-fit: cover; } -.dataviews-column-primary__media:after { +.dataviews-column-primary__media::after { content: ""; position: absolute; top: 0; @@ -1698,6 +1982,7 @@ div.dataviews-view-list { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); border-radius: 4px; } + .dataviews-view-table__cell-content-wrapper:not( .dataviews-column-primary__media ), @@ -1707,37 +1992,45 @@ div.dataviews-view-list { min-width: 15ch; max-width: 80ch; } + .dataviews-view-table__group-header-row .dataviews-view-table__group-header-cell { font-weight: 500; padding: 12px 48px; color: #1e1e1e; } + .dataviews-controls__datetime { border: none; padding: 0; } + .dataviews-controls__relative-date-number, .dataviews-controls__relative-date-unit { flex: 1 1 50%; } -.dataviews-controls__date input[type="date"]::-webkit-calendar-picker-indicator, -.dataviews-controls__date input[type="date"]::-webkit-inner-spin-button { + +.dataviews-controls__date input[type="date"]::-webkit-inner-spin-button, +.dataviews-controls__date + input[type="date"]::-webkit-calendar-picker-indicator { display: none; -webkit-appearance: none; } + .dataviews-controls__date-preset { border: 1px solid #ddd; } .dataviews-controls__date-preset:active { background-color: #000; } + .dataforms-layouts-panel__field { width: 100%; min-height: 32px; justify-content: flex-start !important; align-items: flex-start !important; } + .dataforms-layouts-panel__field-label { width: 38%; flex-shrink: 0; @@ -1750,6 +2043,7 @@ div.dataviews-view-list { .dataforms-layouts-panel__field-label--label-position-side { align-self: center; } + .dataforms-layouts-panel__field-control { flex-grow: 1; min-height: 32px; @@ -1770,30 +2064,37 @@ div.dataviews-view-list { .dataforms-layouts-panel__field-control .components-dropdown { max-width: 100%; } + .dataforms-layouts-panel__field-dropdown .components-popover__content { min-width: 320px; padding: 16px; } + .dataforms-layouts-panel__dropdown-header { margin-bottom: 16px; } + .dataforms-layouts-panel__modal-footer { margin-top: 16px; } + .components-popover.components-dropdown__content.dataforms-layouts-panel__field-dropdown { z-index: 159990; } + .dataforms-layouts-regular__field { width: 100%; min-height: 32px; justify-content: flex-start !important; align-items: flex-start !important; } + .dataforms-layouts-regular__field .components-base-control__label { font-size: inherit; - font-weight: 400; + font-weight: normal; text-transform: none; } + .dataforms-layouts-regular__field-label { width: 38%; flex-shrink: 0; @@ -1806,6 +2107,7 @@ div.dataviews-view-list { .dataforms-layouts-regular__field-label--label-position-side { align-self: center; } + .dataforms-layouts-regular__field-control { flex-grow: 1; min-height: 32px; @@ -1826,7 +2128,7 @@ div.dataviews-view-list { border-bottom: 1px solid #e0e0e0; } .directorist-answers-modal .directorist-enquiry-info h3 { - margin: 0 0 15px; + margin: 0 0 15px 0; color: #333; } .directorist-answers-modal .directorist-enquiry-info p { @@ -1834,21 +2136,23 @@ div.dataviews-view-list { color: #666; } .directorist-answers-modal .directorist-answers-section h3 { - margin: 0 0 20px; + margin: 0 0 20px 0; color: #333; } + .directorist-enquiry-modal .components-modal__header { border-bottom: 1px solid #e0e0e0; } + .directorist-formgent-table-modal h1 { font-size: 22px; font-weight: 600; - margin: 0 0 10px; + margin: 0 0 10px 0; } .directorist-formgent-table-modal p { font-size: 16px; font-weight: 400; - margin: 0 0 20px; + margin: 0 0 20px 0; } .directorist-formgent-table-modal .directorist-formgent-table-modal-action { display: -webkit-box; @@ -1861,6 +2165,7 @@ div.dataviews-view-list { justify-content: flex-end; gap: 10px; } + #helpgent-toast div[role="status"] { font-size: 16px; font-family: inherit; diff --git a/assets/css/public-main.css b/assets/css/public-main.css index a5a7ffe917..1332823332 100644 --- a/assets/css/public-main.css +++ b/assets/css/public-main.css @@ -1,14 +1,15 @@ /*!******************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-4.use[1]!./node_modules/resolve-url-loader/index.js!./node_modules/postcss-loader/src/index.js??clonedRuleSet-4.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-4.use[4]!./assets/src/scss/layout/public/main-style.scss ***! \******************************************************************************************************************************************************************************************************************************************************************************************************/ +/* typography */ @-webkit-keyframes rotate360 { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } - to { - -webkit-transform: rotate(1turn); - transform: rotate(1turn); + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); } } @keyframes rotate360 { @@ -16,17 +17,17 @@ -webkit-transform: rotate(0deg); transform: rotate(0deg); } - to { - -webkit-transform: rotate(1turn); - transform: rotate(1turn); + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); } } @-webkit-keyframes atbd_spin { 0% { -webkit-transform: rotate(0deg); } - to { - -webkit-transform: rotate(1turn); + 100% { + -webkit-transform: rotate(360deg); } } @keyframes atbd_spin { @@ -34,9 +35,9 @@ -webkit-transform: rotate(0deg); transform: rotate(0deg); } - to { - -webkit-transform: rotate(1turn); - transform: rotate(1turn); + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); } } @-webkit-keyframes atbd_spin2 { @@ -44,9 +45,9 @@ -webkit-transform: translate(-50%, -50%) rotate(0deg); transform: translate(-50%, -50%) rotate(0deg); } - to { - -webkit-transform: translate(-50%, -50%) rotate(1turn); - transform: translate(-50%, -50%) rotate(1turn); + 100% { + -webkit-transform: translate(-50%, -50%) rotate(360deg); + transform: translate(-50%, -50%) rotate(360deg); } } @keyframes atbd_spin2 { @@ -54,9 +55,9 @@ -webkit-transform: translate(-50%, -50%) rotate(0deg); transform: translate(-50%, -50%) rotate(0deg); } - to { - -webkit-transform: translate(-50%, -50%) rotate(1turn); - transform: translate(-50%, -50%) rotate(1turn); + 100% { + -webkit-transform: translate(-50%, -50%) rotate(360deg); + transform: translate(-50%, -50%) rotate(360deg); } } @-webkit-keyframes atbd_scale { @@ -64,34 +65,48 @@ -webkit-transform: scale(0.8); transform: scale(0.8); } - to { + 100% { + -webkit-transform: scale(1); + transform: scale(1); + } +} +@keyframes atbd_scale { + 0% { + -webkit-transform: scale(0.8); + transform: scale(0.8); + } + 100% { -webkit-transform: scale(1); transform: scale(1); } } +.reset-pseudo-link:visited, .reset-pseudo-link:active, -.reset-pseudo-link:focus, -.reset-pseudo-link:visited { +.reset-pseudo-link:focus { outline: none; -webkit-box-shadow: none; box-shadow: none; } + .cptm-shortcodes { max-height: 300px; overflow: scroll; } + .directorist-center-content { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } + .directorist-center-content-inline { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; } + .directorist-center-content, .directorist-center-content-inline { -webkit-box-pack: center; @@ -111,122 +126,170 @@ -ms-flex-direction: column; flex-direction: column; } + .directorist-text-right { text-align: right; } + +.directorist-text-center { + text-align: center; +} + .directorist-text-left { text-align: left; } + .directorist-mt-0 { margin-top: 0 !important; } + .directorist-mt-5 { margin-top: 5px !important; } + .directorist-mt-10 { margin-top: 10px !important; } + .directorist-mt-15 { margin-top: 15px !important; } + .directorist-mt-20 { margin-top: 20px !important; } + .directorist-mt-30 { margin-top: 30px !important; } + .directorist-mb-0 { margin-bottom: 0 !important; } + +.directorist-mb-35 { + margin-bottom: 35px !important; +} + +.directorist-mb-30 { + margin-bottom: 30px !important; +} + .directorist-mb-25 { margin-bottom: 25px !important; } + +.directorist-mb-20 { + margin-bottom: 20px !important; +} + .directorist-mb-n20 { margin-bottom: -20px !important; } + .directorist-mb-10 { margin-bottom: 10px !important; } + .directorist-mb-15 { margin-bottom: 15px !important; } + .directorist-mb-20 { margin-bottom: 20px !important; } + .directorist-mb-30 { margin-bottom: 30px !important; } + .directorist-mb-35 { margin-bottom: 35px !important; } + .directorist-mb-40 { margin-bottom: 40px !important; } + .directorist-mb-50 { margin-bottom: 50px !important; } + .directorist-mb-70 { margin-bottom: 70px !important; } + .directorist-mb-80 { margin-bottom: 80px !important; } + .directorist-pb-100 { padding-bottom: 100px !important; } + .directorist-w-100 { width: 100% !important; max-width: 100% !important; } + .directorist-flex { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } + .directorist-flex-wrap { -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; } + .directorist-align-center { -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; } + .directorist-justify-content-center { -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; } + .directorist-justify-content-between { -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; } + .directorist-justify-content-around { -webkit-justify-content: space-around; -ms-flex-pack: distribute; justify-content: space-around; } + .directorist-justify-content-start { -webkit-box-pack: start; -webkit-justify-content: flex-start; -ms-flex-pack: start; justify-content: flex-start; } + .directorist-justify-content-end { -webkit-box-pack: end; -webkit-justify-content: flex-end; -ms-flex-pack: end; justify-content: flex-end; } + .directorist-display-none { display: none; } + .directorist-icon-mask:after { content: ""; display: block; @@ -240,16 +303,20 @@ -webkit-mask-image: var(--directorist-icon); mask-image: var(--directorist-icon); } + .directorist-error__msg { color: var(--directorist-color-danger); font-size: 14px; } + .directorist-content-active .entry-content .directorist-search-contents { width: 100% !important; max-width: 100% !important; -webkit-box-sizing: border-box; box-sizing: border-box; } + +/* directorist module style */ .directorist-content-module { border: 1px solid var(--directorist-color-border); } @@ -359,7 +426,7 @@ } .directorist-content-module__contents .directorist-form-description-field - .mce-top-part:before { + .mce-top-part::before { display: none; } .directorist-content-module__contents @@ -387,13 +454,13 @@ .directorist-content-module__contents .directorist-form-description-field .mce-toolbar - .mce-btn-group - .mce-btn.mce-listbox, + .mce-btn + button, .directorist-content-module__contents .directorist-form-description-field .mce-toolbar - .mce-btn - button { + .mce-btn-group + .mce-btn.mce-listbox { background: transparent; } .directorist-content-module__contents @@ -435,7 +502,7 @@ .directorist-content-module__contents .directorist-form-social-info-field .directorist-btn - i:after { + i::after { width: 16px; height: 16px; background-color: var(--directorist-color-btn); @@ -449,7 +516,7 @@ .directorist-content-module__contents .directorist-form-social-info-field .directorist-btn:hover - i:after { + i::after { background-color: var(--directorist-color-white); } .directorist-content-module__contents @@ -462,15 +529,22 @@ .directorist-checkbox__label { margin-left: 0; } + .directorist-content-active #directorist.atbd_wrapper { max-width: 100%; } .directorist-content-active #directorist.atbd_wrapper .atbd_header_bar { margin-bottom: 35px; } + +#directorist-dashboard-preloader { + display: none; +} + .directorist-form-required { color: var(--directorist-color-danger); } + .directory_register_form_wrap .dgr_show_recaptcha { margin-bottom: 20px; } @@ -483,6 +557,7 @@ .directory_register_form_wrap a { text-decoration: none; } + .atbd_login_btn_wrapper .directorist-btn { line-height: 2.55; padding-top: 0; @@ -493,6 +568,7 @@ .directorist-checkbox__label { color: var(--directorist-color-primary); } + .atbdp_login_form_shortcode .directorist-form-group label { display: inline-block; margin-bottom: 5px; @@ -500,6 +576,7 @@ .atbdp_login_form_shortcode a { text-decoration: none; } + .directory_register_form_wrap .directorist-form-group label { display: inline-block; margin-bottom: 5px; @@ -509,6 +586,7 @@ padding-top: 0; padding-bottom: 0; } + .directorist-quick-login .directorist-form-actions { display: -webkit-box; display: -webkit-flex; @@ -520,12 +598,14 @@ -ms-flex-align: center; align-items: center; } + .atbd_success_mesage > p i { top: 2px; margin-right: 5px; position: relative; display: inline-block; } + .directorist-loader { position: relative; } @@ -534,17 +614,20 @@ content: ""; right: 20px; top: 31%; - border-top: 2px solid var(--directorist-color-white); - border-radius: 50%; border: 2px solid var(--directorist-color-white); - border-top-color: var(--directorist-color-primary); + border-radius: 50%; + border-top: 2px solid var(--directorist-color-primary); width: 20px; height: 20px; -webkit-animation: atbd_spin 2s linear infinite; animation: atbd_spin 2s linear infinite; } + .plupload-upload-uic { + width: 420px; + margin: 0 auto !important; border: 1px dashed var(--directorist-color-border-gray); + padding: 30px; } .plupload-upload-uic .atbdp-dropbox-title { font-weight: 500; @@ -568,6 +651,7 @@ margin-top: 10px; color: var(--directorist-color-deep-gray); } + @media (max-width: 575px) { .plupload-upload-uic { width: 100%; @@ -641,11 +725,14 @@ border-bottom: 1px dashed #e9e9e9; } .directorist-address-field .address_result li:last-child, +.directorist-form-address-field .address_result li:last-child { + border: none; +} .directorist-address-field .address_result li:last-child a, -.directorist-form-address-field .address_result li:last-child, .directorist-form-address-field .address_result li:last-child a { border: none; } + .pac-container { list-style: none; margin: 0; @@ -709,16 +796,21 @@ mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; - -webkit-mask-image: url(../images/2823e3547c32a23392a06652e69a8a71.svg); - mask-image: url(../images/2823e3547c32a23392a06652e69a8a71.svg); + -webkit-mask-image: url(../js/../images/2823e3547c32a23392a06652e69a8a71.svg); + mask-image: url(../js/../images/2823e3547c32a23392a06652e69a8a71.svg); +} +.pac-container:after { + display: none; } -.pac-container:after, + p.status:empty { display: none; } + .gateway_list input[type="radio"] { margin-right: 5px; } + .directorist-checkout-form .directorist-container-fluid { -webkit-box-sizing: border-box; box-sizing: border-box; @@ -726,6 +818,7 @@ p.status:empty { .directorist-checkout-form ul { list-style-type: none; } + .directorist-select select { width: 100%; height: 40px; @@ -736,15 +829,18 @@ p.status:empty { .directorist-select select:focus { outline: 0; } + .directorist-content-active .select2-container--open .select2-dropdown--above { top: 0; border-color: var(--directorist-color-border); } + body.logged-in.directorist-content-active .select2-container--open .select2-dropdown--above { top: 32px; } + .directorist-content-active .select2-container--default .select2-dropdown { border: none; border-radius: 10px !important; @@ -756,7 +852,7 @@ body.logged-in.directorist-content-active .directorist-content-active .select2-container--default .select2-search--dropdown { - padding: 20px 20px 10px; + padding: 20px 20px 10px 20px; } .directorist-content-active .select2-container--default .select2-search__field { padding: 10px 18px !important; @@ -959,6 +1055,7 @@ body.logged-in.directorist-content-active .directorist-icon-mask:after { background-color: var(--directorist-color-body) !important; } + .custom-checkbox input { display: none; } @@ -992,7 +1089,7 @@ body.logged-in.directorist-content-active left: 5px; top: 5px; font-weight: 900; - font-family: Font Awesome\5 Free; + font-family: "Font Awesome 5 Free"; content: "\f00c"; display: block; opacity: 0; @@ -1034,17 +1131,20 @@ body.logged-in.directorist-content-active opacity: 1; color: var(--directorist-color-white); } + .directorist-table { display: table; width: 100%; } + +/* Directorist custom grid */ .directorist-container, .directorist-container-fluid, +.directorist-container-xxl, +.directorist-container-xl, .directorist-container-lg, .directorist-container-md, -.directorist-container-sm, -.directorist-container-xl, -.directorist-container-xxl { +.directorist-container-sm { width: 100%; padding-right: 15px; padding-left: 15px; @@ -1053,43 +1153,44 @@ body.logged-in.directorist-content-active -webkit-box-sizing: border-box; box-sizing: border-box; } + @media (min-width: 576px) { - .directorist-container, - .directorist-container-sm { + .directorist-container-sm, + .directorist-container { max-width: 540px; } } @media (min-width: 768px) { - .directorist-container, .directorist-container-md, - .directorist-container-sm { + .directorist-container-sm, + .directorist-container { max-width: 720px; } } @media (min-width: 992px) { - .directorist-container, .directorist-container-lg, .directorist-container-md, - .directorist-container-sm { + .directorist-container-sm, + .directorist-container { max-width: 960px; } } @media (min-width: 1200px) { - .directorist-container, + .directorist-container-xl, .directorist-container-lg, .directorist-container-md, .directorist-container-sm, - .directorist-container-xl { + .directorist-container { max-width: 1140px; } } @media (min-width: 1400px) { - .directorist-container, + .directorist-container-xxl, + .directorist-container-xl, .directorist-container-lg, .directorist-container-md, .directorist-container-sm, - .directorist-container-xl, - .directorist-container-xxl { + .directorist-container { max-width: 1320px; } } @@ -1106,6 +1207,7 @@ body.logged-in.directorist-content-active margin-top: -15px; min-width: 100%; } + .directorist-row > * { -webkit-box-sizing: border-box; box-sizing: border-box; @@ -1118,12 +1220,14 @@ body.logged-in.directorist-content-active padding-left: 15px; margin-top: 15px; } + .directorist-col { -webkit-box-flex: 1; -webkit-flex: 1 0 0%; -ms-flex: 1 0 0%; flex: 1 0 0%; } + .directorist-col-auto { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; @@ -1131,6 +1235,7 @@ body.logged-in.directorist-content-active flex: 0 0 auto; width: auto; } + .directorist-col-1 { -webkit-box-flex: 1; -webkit-flex: 1; @@ -1138,8 +1243,9 @@ body.logged-in.directorist-content-active flex: 1; width: 8.3333333333%; } -.directorist-col-2, + .directorist-col-2-5, +.directorist-col-2, .directorist-col-3, .directorist-col-4, .directorist-col-5, @@ -1156,39 +1262,51 @@ body.logged-in.directorist-content-active flex: 0 0 auto; max-width: 100%; } + .directorist-offset-1 { margin-left: 8.3333333333%; } + .directorist-offset-2 { margin-left: 16.6666666667%; } + .directorist-offset-3 { margin-left: 25%; } + .directorist-offset-4 { margin-left: 33.3333333333%; } + .directorist-offset-5 { margin-left: 41.6666666667%; } + .directorist-offset-6 { margin-left: 50%; } + .directorist-offset-7 { margin-left: 58.3333333333%; } + .directorist-offset-8 { margin-left: 66.6666666667%; } + .directorist-offset-9 { margin-left: 75%; } + .directorist-offset-10 { margin-left: 83.3333333333%; } + .directorist-offset-11 { margin-left: 91.6666666667%; } + @media (min-width: 576px) { .directorist-col-2, .directorist-col-2-5, @@ -1210,82 +1328,88 @@ body.logged-in.directorist-content-active -ms-flex: 1 0 0%; flex: 1 0 0%; } - .directorist-col-sm-auto { - width: auto; - } - .directorist-col-sm-1, .directorist-col-sm-auto { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; + width: auto; } .directorist-col-sm-1 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 8.3333333333%; } .directorist-col-sm-2 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 16.6666666667%; } - .directorist-col-sm-2, .directorist-col-sm-3 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-sm-3 { width: 25%; } .directorist-col-sm-4 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 33.3333333333%; } - .directorist-col-sm-4, .directorist-col-sm-5 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-sm-5 { width: 41.6666666667%; } .directorist-col-sm-6 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 50%; } - .directorist-col-sm-6, .directorist-col-sm-7 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-sm-7 { width: 58.3333333333%; } .directorist-col-sm-8 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 66.6666666667%; } - .directorist-col-sm-8, .directorist-col-sm-9 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-sm-9 { width: 75%; } .directorist-col-sm-10 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 83.3333333333%; } - .directorist-col-sm-10, .directorist-col-sm-11 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-sm-11 { width: 91.6666666667%; } .directorist-col-sm-12 { @@ -1347,82 +1471,88 @@ body.logged-in.directorist-content-active -ms-flex: 1 0 0%; flex: 1 0 0%; } - .directorist-col-md-auto { - width: auto; - } - .directorist-col-md-1, .directorist-col-md-auto { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; + width: auto; } .directorist-col-md-1 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 8.3333333333%; } .directorist-col-md-2 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 16.6666666667%; } - .directorist-col-md-2, .directorist-col-md-3 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-md-3 { width: 25%; } .directorist-col-md-4 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 33.3333333333%; } - .directorist-col-md-4, .directorist-col-md-5 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-md-5 { width: 41.6666666667%; } .directorist-col-md-6 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 50%; } - .directorist-col-md-6, .directorist-col-md-7 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-md-7 { width: 58.3333333333%; } .directorist-col-md-8 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 66.6666666667%; } - .directorist-col-md-8, .directorist-col-md-9 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-md-9 { width: 75%; } .directorist-col-md-10 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 83.3333333333%; } - .directorist-col-md-10, .directorist-col-md-11 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-md-11 { width: 91.6666666667%; } .directorist-col-md-12 { @@ -1534,82 +1664,88 @@ body.logged-in.directorist-content-active -ms-flex: 1 0 0%; flex: 1 0 0%; } - .directorist-col-lg-auto { - width: auto; - } - .directorist-col-lg-1, .directorist-col-lg-auto { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; + width: auto; } .directorist-col-lg-1 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 8.3333333333%; } .directorist-col-lg-2 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 16.6666666667%; } - .directorist-col-lg-2, .directorist-col-lg-3 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-lg-3 { width: 25%; } .directorist-col-lg-4 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 33.3333333333%; } - .directorist-col-lg-4, .directorist-col-lg-5 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-lg-5 { width: 41.6666666667%; } .directorist-col-lg-6 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 50%; } - .directorist-col-lg-6, .directorist-col-lg-7 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-lg-7 { width: 58.3333333333%; } .directorist-col-lg-8 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 66.6666666667%; } - .directorist-col-lg-8, .directorist-col-lg-9 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-lg-9 { width: 75%; } .directorist-col-lg-10 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 83.3333333333%; } - .directorist-col-lg-10, .directorist-col-lg-11 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-lg-11 { width: 91.6666666667%; } .directorist-col-lg-12 { @@ -1670,97 +1806,103 @@ body.logged-in.directorist-content-active flex: 0 0 25%; max-width: 25%; } - .directorist-col-xl-auto { - width: auto; - } - .directorist-col-xl-1, .directorist-col-xl-auto { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; + width: auto; } .directorist-col-xl-1 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 8.3333333333%; } - .directorist-col-xl-2 { - width: 16.6666666667%; - } - .directorist-col-2, - .directorist-col-2-5, .directorist-col-xl-2 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; + width: 16.6666666667%; } .directorist-col-2, .directorist-col-2-5 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 20%; } .directorist-col-xl-3 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 25%; } - .directorist-col-xl-3, .directorist-col-xl-4 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xl-4 { width: 33.3333333333%; } .directorist-col-xl-5 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 41.6666666667%; } - .directorist-col-xl-5, .directorist-col-xl-6 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xl-6 { width: 50%; } .directorist-col-xl-7 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 58.3333333333%; } - .directorist-col-xl-7, .directorist-col-xl-8 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xl-8 { width: 66.6666666667%; } .directorist-col-xl-9 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 75%; } - .directorist-col-xl-9, .directorist-col-xl-10 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xl-10 { width: 83.3333333333%; } .directorist-col-xl-11 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 91.6666666667%; } - .directorist-col-xl-11, .directorist-col-xl-12 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xl-12 { width: 100%; } .directorist-offset-xl-0 { @@ -1814,82 +1956,88 @@ body.logged-in.directorist-content-active -ms-flex: 1 0 0%; flex: 1 0 0%; } - .directorist-col-xxl-auto { - width: auto; - } - .directorist-col-xxl-1, .directorist-col-xxl-auto { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; + width: auto; } .directorist-col-xxl-1 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 8.3333333333%; } .directorist-col-xxl-2 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 16.6666666667%; } - .directorist-col-xxl-2, .directorist-col-xxl-3 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xxl-3 { width: 25%; } .directorist-col-xxl-4 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 33.3333333333%; } - .directorist-col-xxl-4, .directorist-col-xxl-5 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xxl-5 { width: 41.6666666667%; } .directorist-col-xxl-6 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 50%; } - .directorist-col-xxl-6, .directorist-col-xxl-7 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xxl-7 { width: 58.3333333333%; } .directorist-col-xxl-8 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 66.6666666667%; } - .directorist-col-xxl-8, .directorist-col-xxl-9 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xxl-9 { width: 75%; } .directorist-col-xxl-10 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 83.3333333333%; } - .directorist-col-xxl-10, .directorist-col-xxl-11 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xxl-11 { width: 91.6666666667%; } .directorist-col-xxl-12 { @@ -1936,72 +2084,95 @@ body.logged-in.directorist-content-active margin-left: 91.6666666667%; } } +/* typography */ .atbd_color-primary { color: #444752; } + .atbd_bg-primary { background: #444752; } + .atbd_color-secondary { color: #122069; } + .atbd_bg-secondary { background: #122069; } + .atbd_color-success { color: #00ac17; } + .atbd_bg-success { background: #00ac17; } + .atbd_color-info { color: #2c99ff; } + .atbd_bg-info { background: #2c99ff; } + .atbd_color-warning { color: #ef8000; } + .atbd_bg-warning { background: #ef8000; } + .atbd_color-danger { color: #ef0000; } + .atbd_bg-danger { background: #ef0000; } + .atbd_color-light { color: #9497a7; } + .atbd_bg-light { background: #9497a7; } + .atbd_color-dark { color: #202428; } + .atbd_bg-dark { background: #202428; } + .atbd_color-badge-feature { color: #fa8b0c; } + .atbd_bg-badge-feature { background: #fa8b0c; } + .atbd_color-badge-popular { color: #f51957; } + .atbd_bg-badge-popular { background: #f51957; } + +/* typography */ body.stop-scrolling { height: 100%; overflow: hidden; } + .sweet-overlay { - background-color: #000; + background-color: black; -ms-filter: "alpha(opacity=40)"; background-color: rgba(var(--directorist-color-dark-rgb), 0.4); position: fixed; @@ -2012,14 +2183,10 @@ body.stop-scrolling { display: none; z-index: 10000; } + .sweet-alert { - background-color: #fff; - font-family: - Open Sans, - Helvetica Neue, - Helvetica, - Arial, - sans-serif; + background-color: white; + font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; width: 478px; padding: 17px; border-radius: 5px; @@ -2033,7 +2200,8 @@ body.stop-scrolling { display: none; z-index: 99999; } -@media (max-width: 540px) { + +@media all and (max-width: 540px) { .sweet-alert { width: auto; margin-left: 0; @@ -2045,31 +2213,34 @@ body.stop-scrolling { .sweet-alert h2 { color: #575757; font-size: 30px; + text-align: center; font-weight: 600; text-transform: none; + position: relative; margin: 25px 0; + padding: 0; line-height: 40px; display: block; } -.sweet-alert h2, -.sweet-alert p { - text-align: center; - position: relative; - padding: 0; -} + .sweet-alert p { color: #797979; font-size: 16px; + text-align: center; font-weight: 300; + position: relative; text-align: inherit; float: none; margin: 0; + padding: 0; line-height: normal; } + .sweet-alert fieldset { border: 0; position: relative; } + .sweet-alert .sa-error-container { background-color: #f1f1f1; margin-left: -17px; @@ -2087,6 +2258,7 @@ body.stop-scrolling { padding 0.15s, max-height 0.15s; } + .sweet-alert .sa-error-container.show { padding: 10px 0; max-height: 100px; @@ -2100,20 +2272,23 @@ body.stop-scrolling { padding 0.25s, max-height 0.25s; } + .sweet-alert .sa-error-container .icon { display: inline-block; width: 24px; height: 24px; border-radius: 50%; background-color: #ea7d7d; - color: #fff; + color: white; line-height: 24px; text-align: center; margin-right: 3px; } + .sweet-alert .sa-error-container p { display: inline-block; } + .sweet-alert .sa-input-error { position: absolute; top: 29px; @@ -2128,8 +2303,9 @@ body.stop-scrolling { -webkit-transition: all 0.1s; transition: all 0.1s; } -.sweet-alert .sa-input-error:after, -.sweet-alert .sa-input-error:before { + +.sweet-alert .sa-input-error::before, +.sweet-alert .sa-input-error::after { content: ""; width: 20px; height: 6px; @@ -2141,19 +2317,23 @@ body.stop-scrolling { left: 50%; margin-left: -9px; } -.sweet-alert .sa-input-error:before { + +.sweet-alert .sa-input-error::before { -webkit-transform: rotate(-45deg); transform: rotate(-45deg); } -.sweet-alert .sa-input-error:after { + +.sweet-alert .sa-input-error::after { -webkit-transform: rotate(45deg); transform: rotate(45deg); } + .sweet-alert .sa-input-error.show { opacity: 1; -webkit-transform: scale(1); transform: scale(1); } + .sweet-alert input { width: 100%; -webkit-box-sizing: border-box; @@ -2172,43 +2352,53 @@ body.stop-scrolling { -webkit-transition: all 0.3s; transition: all 0.3s; } + .sweet-alert input:focus { outline: 0; -webkit-box-shadow: 0 0 3px #c4e6f5; box-shadow: 0 0 3px #c4e6f5; border: 1px solid #b4dbed; } + .sweet-alert input:focus::-moz-placeholder { -moz-transition: opacity 0.3s 0.03s ease; - transition: opacity 0.3s ease 0.03s; + transition: opacity 0.3s 0.03s ease; opacity: 0.5; } + .sweet-alert input:focus:-ms-input-placeholder { -ms-transition: opacity 0.3s 0.03s ease; - transition: opacity 0.3s ease 0.03s; + transition: opacity 0.3s 0.03s ease; opacity: 0.5; } + .sweet-alert input:focus::-webkit-input-placeholder { - -webkit-transition: opacity 0.3s ease 0.03s; - transition: opacity 0.3s ease 0.03s; + -webkit-transition: opacity 0.3s 0.03s ease; + transition: opacity 0.3s 0.03s ease; opacity: 0.5; } + .sweet-alert input::-moz-placeholder { color: #bdbdbd; } + .sweet-alert input:-ms-input-placeholder { color: #bdbdbd; } + .sweet-alert input::-webkit-input-placeholder { color: #bdbdbd; } + .sweet-alert.show-input input { display: block; } + .sweet-alert .sa-confirm-button-container { display: inline-block; position: relative; } + .sweet-alert .la-ball-fall { position: absolute; left: 50%; @@ -2218,9 +2408,10 @@ body.stop-scrolling { opacity: 0; visibility: hidden; } + .sweet-alert button { background-color: #8cd4f5; - color: #fff; + color: white; border: 0; -webkit-box-shadow: none; box-shadow: none; @@ -2228,9 +2419,10 @@ body.stop-scrolling { font-weight: 500; border-radius: 5px; padding: 10px 32px; - margin: 26px 5px 0; + margin: 26px 5px 0 5px; cursor: pointer; } + .sweet-alert button:focus { outline: 0; -webkit-box-shadow: @@ -2240,21 +2432,27 @@ body.stop-scrolling { 0 0 2px rgba(128, 179, 235, 0.5), inset 0 0 0 1px rgba(var(--directorist-color-dark-rgb), 0.05); } + .sweet-alert button:hover { background-color: #7ecff4; } + .sweet-alert button:active { background-color: #5dc2f1; } + .sweet-alert button.cancel { background-color: #c1c1c1; } + .sweet-alert button.cancel:hover { background-color: #b9b9b9; } + .sweet-alert button.cancel:active { background-color: #a8a8a8; } + .sweet-alert button.cancel:focus { -webkit-box-shadow: rgba(197, 205, 211, 0.8) 0 0 2px, @@ -2263,33 +2461,40 @@ body.stop-scrolling { rgba(197, 205, 211, 0.8) 0 0 2px, rgba(var(--directorist-color-dark-rgb), 0.0470588) 0 0 0 1px inset !important; } + .sweet-alert button[disabled] { opacity: 0.6; cursor: default; } + .sweet-alert button.confirm[disabled] { color: transparent; } + .sweet-alert button.confirm[disabled] ~ .la-ball-fall { opacity: 1; visibility: visible; -webkit-transition-delay: 0; transition-delay: 0; } + .sweet-alert button::-moz-focus-inner { border: 0; } + .sweet-alert[data-has-cancel-button="false"] button { -webkit-box-shadow: none !important; box-shadow: none !important; } + .sweet-alert[data-has-confirm-button="false"][data-has-cancel-button="false"] { padding-bottom: 40px; } + .sweet-alert .sa-icon { width: 80px; height: 80px; - border: 4px solid grey; + border: 4px solid gray; border-radius: 40px; border-radius: 50%; margin: 20px auto; @@ -2298,13 +2503,16 @@ body.stop-scrolling { -webkit-box-sizing: content-box; box-sizing: content-box; } + .sweet-alert .sa-icon.sa-error { border-color: #f27474; } + .sweet-alert .sa-icon.sa-error .sa-x-mark { position: relative; display: block; } + .sweet-alert .sa-icon.sa-error .sa-line { position: absolute; height: 5px; @@ -2314,19 +2522,23 @@ body.stop-scrolling { top: 37px; border-radius: 2px; } + .sweet-alert .sa-icon.sa-error .sa-line.sa-left { -webkit-transform: rotate(45deg); transform: rotate(45deg); left: 17px; } + .sweet-alert .sa-icon.sa-error .sa-line.sa-right { -webkit-transform: rotate(-45deg); transform: rotate(-45deg); right: 16px; } + .sweet-alert .sa-icon.sa-warning { border-color: #f8bb86; } + .sweet-alert .sa-icon.sa-warning .sa-body { position: absolute; width: 5px; @@ -2337,6 +2549,7 @@ body.stop-scrolling { margin-left: -2px; background-color: #f8bb86; } + .sweet-alert .sa-icon.sa-warning .sa-dot { position: absolute; width: 7px; @@ -2347,10 +2560,12 @@ body.stop-scrolling { bottom: 10px; background-color: #f8bb86; } + .sweet-alert .sa-icon.sa-info { border-color: #c9dae1; } -.sweet-alert .sa-icon.sa-info:before { + +.sweet-alert .sa-icon.sa-info::before { content: ""; position: absolute; width: 5px; @@ -2361,7 +2576,8 @@ body.stop-scrolling { margin-left: -2px; background-color: #c9dae1; } -.sweet-alert .sa-icon.sa-info:after { + +.sweet-alert .sa-icon.sa-info::after { content: ""; position: absolute; width: 7px; @@ -2371,22 +2587,25 @@ body.stop-scrolling { top: 19px; background-color: #c9dae1; } + .sweet-alert .sa-icon.sa-success { border-color: #a5dc86; } -.sweet-alert .sa-icon.sa-success:after, -.sweet-alert .sa-icon.sa-success:before { + +.sweet-alert .sa-icon.sa-success::before, +.sweet-alert .sa-icon.sa-success::after { content: ""; border-radius: 40px; border-radius: 50%; position: absolute; width: 60px; height: 120px; - background: #fff; + background: white; -webkit-transform: rotate(45deg); transform: rotate(45deg); } -.sweet-alert .sa-icon.sa-success:before { + +.sweet-alert .sa-icon.sa-success::before { border-radius: 120px 0 0 120px; top: -7px; left: -33px; @@ -2395,7 +2614,8 @@ body.stop-scrolling { -webkit-transform-origin: 60px 60px; transform-origin: 60px 60px; } -.sweet-alert .sa-icon.sa-success:after { + +.sweet-alert .sa-icon.sa-success::after { border-radius: 0 120px 120px 0; top: -11px; left: 30px; @@ -2404,6 +2624,7 @@ body.stop-scrolling { -webkit-transform-origin: 0 60px; transform-origin: 0 60px; } + .sweet-alert .sa-icon.sa-success .sa-placeholder { width: 80px; height: 80px; @@ -2417,10 +2638,11 @@ body.stop-scrolling { top: -4px; z-index: 2; } + .sweet-alert .sa-icon.sa-success .sa-fix { width: 5px; height: 90px; - background-color: #fff; + background-color: white; position: absolute; left: 28px; top: 8px; @@ -2428,6 +2650,7 @@ body.stop-scrolling { -webkit-transform: rotate(-45deg); transform: rotate(-45deg); } + .sweet-alert .sa-icon.sa-success .sa-line { height: 5px; background-color: #a5dc86; @@ -2436,6 +2659,7 @@ body.stop-scrolling { position: absolute; z-index: 2; } + .sweet-alert .sa-icon.sa-success .sa-line.sa-tip { width: 25px; left: 14px; @@ -2443,6 +2667,7 @@ body.stop-scrolling { -webkit-transform: rotate(45deg); transform: rotate(45deg); } + .sweet-alert .sa-icon.sa-success .sa-line.sa-long { width: 47px; right: 8px; @@ -2450,13 +2675,15 @@ body.stop-scrolling { -webkit-transform: rotate(-45deg); transform: rotate(-45deg); } + .sweet-alert .sa-icon.sa-custom { background-size: contain; border-radius: 0; border: 0; - background-position: 50%; + background-position: center center; background-repeat: no-repeat; } + @-webkit-keyframes showSweetAlert { 0% { transform: scale(0.7); @@ -2470,7 +2697,7 @@ body.stop-scrolling { transform: scale(0.95); -webkit-transform: scale(0.95); } - to { + 100% { transform: scale(1); -webkit-transform: scale(1); } @@ -2488,7 +2715,7 @@ body.stop-scrolling { transform: scale(0.95); -webkit-transform: scale(0.95); } - to { + 100% { transform: scale(1); -webkit-transform: scale(1); } @@ -2498,7 +2725,7 @@ body.stop-scrolling { transform: scale(1); -webkit-transform: scale(1); } - to { + 100% { transform: scale(0.5); -webkit-transform: scale(0.5); } @@ -2508,7 +2735,7 @@ body.stop-scrolling { transform: scale(1); -webkit-transform: scale(1); } - to { + 100% { transform: scale(0.5); -webkit-transform: scale(0.5); } @@ -2517,7 +2744,7 @@ body.stop-scrolling { 0% { top: 0; } - to { + 100% { top: 50%; } } @@ -2525,7 +2752,7 @@ body.stop-scrolling { 0% { top: 0; } - to { + 100% { top: 50%; } } @@ -2533,7 +2760,7 @@ body.stop-scrolling { 0% { top: 50%; } - to { + 100% { top: 0; } } @@ -2541,7 +2768,7 @@ body.stop-scrolling { 0% { top: 50%; } - to { + 100% { top: 0; } } @@ -2549,7 +2776,7 @@ body.stop-scrolling { 0% { top: 70%; } - to { + 100% { top: 50%; } } @@ -2557,7 +2784,7 @@ body.stop-scrolling { 0% { top: 70%; } - to { + 100% { top: 50%; } } @@ -2565,7 +2792,7 @@ body.stop-scrolling { 0% { top: 50%; } - to { + 100% { top: 70%; } } @@ -2573,7 +2800,7 @@ body.stop-scrolling { 0% { top: 50%; } - to { + 100% { top: 70%; } } @@ -2581,34 +2808,42 @@ body.stop-scrolling { -webkit-animation: showSweetAlert 0.3s; animation: showSweetAlert 0.3s; } + .showSweetAlert[data-animation="none"] { -webkit-animation: none; animation: none; } + .showSweetAlert[data-animation="slide-from-top"] { -webkit-animation: slideFromTop 0.3s; animation: slideFromTop 0.3s; } + .showSweetAlert[data-animation="slide-from-bottom"] { -webkit-animation: slideFromBottom 0.3s; animation: slideFromBottom 0.3s; } + .hideSweetAlert[data-animation="pop"] { -webkit-animation: hideSweetAlert 0.2s; animation: hideSweetAlert 0.2s; } + .hideSweetAlert[data-animation="none"] { -webkit-animation: none; animation: none; } + .hideSweetAlert[data-animation="slide-from-top"] { -webkit-animation: slideToTop 0.4s; animation: slideToTop 0.4s; } + .hideSweetAlert[data-animation="slide-from-bottom"] { -webkit-animation: slideToBottom 0.3s; animation: slideToBottom 0.3s; } + @-webkit-keyframes animateSuccessTip { 0% { width: 0; @@ -2630,7 +2865,7 @@ body.stop-scrolling { left: 21px; top: 48px; } - to { + 100% { width: 25px; left: 14px; top: 45px; @@ -2657,7 +2892,7 @@ body.stop-scrolling { left: 21px; top: 48px; } - to { + 100% { width: 25px; left: 14px; top: 45px; @@ -2679,7 +2914,7 @@ body.stop-scrolling { right: 0; top: 35px; } - to { + 100% { width: 47px; right: 8px; top: 38px; @@ -2701,7 +2936,7 @@ body.stop-scrolling { right: 0; top: 35px; } - to { + 100% { width: 47px; right: 8px; top: 38px; @@ -2720,7 +2955,7 @@ body.stop-scrolling { transform: rotate(-405deg); -webkit-transform: rotate(-405deg); } - to { + 100% { transform: rotate(-405deg); -webkit-transform: rotate(-405deg); } @@ -2738,7 +2973,7 @@ body.stop-scrolling { transform: rotate(-405deg); -webkit-transform: rotate(-405deg); } - to { + 100% { transform: rotate(-405deg); -webkit-transform: rotate(-405deg); } @@ -2747,21 +2982,24 @@ body.stop-scrolling { -webkit-animation: animateSuccessTip 0.75s; animation: animateSuccessTip 0.75s; } + .animateSuccessLong { -webkit-animation: animateSuccessLong 0.75s; animation: animateSuccessLong 0.75s; } -.sa-icon.sa-success.animate:after { + +.sa-icon.sa-success.animate::after { -webkit-animation: rotatePlaceholder 4.25s ease-in; animation: rotatePlaceholder 4.25s ease-in; } + @-webkit-keyframes animateErrorIcon { 0% { transform: rotateX(100deg); -webkit-transform: rotateX(100deg); opacity: 0; } - to { + 100% { transform: rotateX(0); -webkit-transform: rotateX(0); opacity: 1; @@ -2773,7 +3011,7 @@ body.stop-scrolling { -webkit-transform: rotateX(100deg); opacity: 0; } - to { + 100% { transform: rotateX(0); -webkit-transform: rotateX(0); opacity: 1; @@ -2783,6 +3021,7 @@ body.stop-scrolling { -webkit-animation: animateErrorIcon 0.5s; animation: animateErrorIcon 0.5s; } + @-webkit-keyframes animateXMark { 0% { transform: scale(0.4); @@ -2801,7 +3040,7 @@ body.stop-scrolling { -webkit-transform: scale(1.15); margin-top: -6px; } - to { + 100% { transform: scale(1); -webkit-transform: scale(1); margin-top: 0; @@ -2826,7 +3065,7 @@ body.stop-scrolling { -webkit-transform: scale(1.15); margin-top: -6px; } - to { + 100% { transform: scale(1); -webkit-transform: scale(1); margin-top: 0; @@ -2837,11 +3076,12 @@ body.stop-scrolling { -webkit-animation: animateXMark 0.5s; animation: animateXMark 0.5s; } + @-webkit-keyframes pulseWarning { 0% { border-color: #f8d486; } - to { + 100% { border-color: #f8bb86; } } @@ -2849,7 +3089,7 @@ body.stop-scrolling { 0% { border-color: #f8d486; } - to { + 100% { border-color: #f8bb86; } } @@ -2857,11 +3097,12 @@ body.stop-scrolling { -webkit-animation: pulseWarning 0.75s infinite alternate; animation: pulseWarning 0.75s infinite alternate; } + @-webkit-keyframes pulseWarningIns { 0% { background-color: #f8d486; } - to { + 100% { background-color: #f8bb86; } } @@ -2869,7 +3110,7 @@ body.stop-scrolling { 0% { background-color: #f8d486; } - to { + 100% { background-color: #f8bb86; } } @@ -2877,14 +3118,15 @@ body.stop-scrolling { -webkit-animation: pulseWarningIns 0.75s infinite alternate; animation: pulseWarningIns 0.75s infinite alternate; } + @-webkit-keyframes rotate-loading { 0% { -webkit-transform: rotate(0); transform: rotate(0); } - to { - -webkit-transform: rotate(1turn); - transform: rotate(1turn); + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); } } @keyframes rotate-loading { @@ -2892,23 +3134,27 @@ body.stop-scrolling { -webkit-transform: rotate(0); transform: rotate(0); } - to { - -webkit-transform: rotate(1turn); - transform: rotate(1turn); + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); } } .sweet-alert .sa-icon.sa-error .sa-line.sa-left { -ms-transform: rotate(45deg) \9; } + .sweet-alert .sa-icon.sa-error .sa-line.sa-right { -ms-transform: rotate(-45deg) \9; } + .sweet-alert .sa-icon.sa-success { border-color: transparent\9; } + .sweet-alert .sa-icon.sa-success .sa-line.sa-tip { -ms-transform: rotate(45deg) \9; } + .sweet-alert .sa-icon.sa-success .sa-line.sa-long { -ms-transform: rotate(-45deg) \9; } @@ -2924,24 +3170,29 @@ body.stop-scrolling { -webkit-box-sizing: border-box; box-sizing: border-box; } + .la-ball-fall { display: block; font-size: 0; color: var(--directorist-color-white); } + .la-ball-fall.la-dark { color: #333; } + .la-ball-fall > div { display: inline-block; float: none; background-color: currentColor; - border: 0 solid; + border: 0 solid currentColor; } + .la-ball-fall { width: 54px; height: 18px; } + .la-ball-fall > div { width: 10px; height: 10px; @@ -2951,45 +3202,55 @@ body.stop-scrolling { -webkit-animation: ball-fall 1s ease-in-out infinite; animation: ball-fall 1s ease-in-out infinite; } -.la-ball-fall > div:first-child { - -webkit-animation-delay: -0.2s; - animation-delay: -0.2s; + +.la-ball-fall > div:nth-child(1) { + -webkit-animation-delay: -200ms; + animation-delay: -200ms; } + .la-ball-fall > div:nth-child(2) { - -webkit-animation-delay: -0.1s; - animation-delay: -0.1s; + -webkit-animation-delay: -100ms; + animation-delay: -100ms; } + .la-ball-fall > div:nth-child(3) { -webkit-animation-delay: 0; animation-delay: 0; } + .la-ball-fall.la-sm { width: 26px; height: 8px; } + .la-ball-fall.la-sm > div { width: 4px; height: 4px; margin: 2px; } + .la-ball-fall.la-2x { width: 108px; height: 36px; } + .la-ball-fall.la-2x > div { width: 20px; height: 20px; margin: 8px; } + .la-ball-fall.la-3x { width: 162px; height: 54px; } + .la-ball-fall.la-3x > div { width: 30px; height: 30px; margin: 12px; } + @-webkit-keyframes ball-fall { 0% { opacity: 0; @@ -3012,7 +3273,7 @@ body.stop-scrolling { 90% { opacity: 0.5; } - to { + 100% { opacity: 0; -webkit-transform: translateY(145%); transform: translateY(145%); @@ -3040,7 +3301,7 @@ body.stop-scrolling { 90% { opacity: 0.5; } - to { + 100% { opacity: 0; -webkit-transform: translateY(145%); transform: translateY(145%); @@ -3058,14 +3319,26 @@ body.stop-scrolling { margin-bottom: 15px; } .directorist-add-listing-types__single__link { - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - background-color: var(--directorist-color-white); - color: var(--directorist-color-primary); - font-size: 16px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: var(--directorist-color-white); + color: var(--directorist-color-primary); + font-size: 16px; font-weight: 500; line-height: 20px; text-align: center; @@ -3078,7 +3351,6 @@ body.stop-scrolling { -webkit-transition: background 0.2s ease; transition: background 0.2s ease; } -.directorist-add-listing-types__single__link, .directorist-add-listing-types__single__link .directorist-icon-mask { display: -webkit-box; display: -webkit-flex; @@ -3092,8 +3364,6 @@ body.stop-scrolling { -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; -} -.directorist-add-listing-types__single__link .directorist-icon-mask { height: 70px; width: 70px; background-color: var(--directorist-color-primary); @@ -3122,10 +3392,14 @@ body.stop-scrolling { .directorist-icon-mask:after { background-color: var(--directorist-color-primary); } +.directorist-add-listing-types__single__link { + /* Legacy Icon */ +} .directorist-add-listing-types__single__link > i:not(.directorist-icon-mask) { display: inline-block; margin-bottom: 10px; } + .directorist-add-listing-wrapper { display: -webkit-box; display: -webkit-flex; @@ -3134,6 +3408,7 @@ body.stop-scrolling { -webkit-box-sizing: border-box; box-sizing: border-box; } + .directorist-add-listing-form .directorist-content-module { -webkit-box-shadow: var(--directorist-box-shadow); box-shadow: var(--directorist-box-shadow); @@ -3154,19 +3429,20 @@ body.stop-scrolling { .directorist-add-listing-form__privacy a { color: var(--directorist-color-info); } -#directiost-listing-fields_wrapper .directorist-content-module, -.directorist-add-listing-form .directorist-content-module { + +.directorist-add-listing-form .directorist-content-module, +#directiost-listing-fields_wrapper .directorist-content-module { margin-bottom: 35px; border-radius: 12px; } @media (max-width: 991px) { - #directiost-listing-fields_wrapper .directorist-content-module, - .directorist-add-listing-form .directorist-content-module { + .directorist-add-listing-form .directorist-content-module, + #directiost-listing-fields_wrapper .directorist-content-module { margin-bottom: 20px; } } -#directiost-listing-fields_wrapper .directorist-content-module__title, -.directorist-add-listing-form .directorist-content-module__title { +.directorist-add-listing-form .directorist-content-module__title, +#directiost-listing-fields_wrapper .directorist-content-module__title { gap: 15px; min-height: 66px; -webkit-box-pack: start; @@ -3174,8 +3450,8 @@ body.stop-scrolling { -ms-flex-pack: start; justify-content: flex-start; } -#directiost-listing-fields_wrapper .directorist-content-module__title i, -.directorist-add-listing-form .directorist-content-module__title i { +.directorist-add-listing-form .directorist-content-module__title i, +#directiost-listing-fields_wrapper .directorist-content-module__title i { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -3192,33 +3468,33 @@ body.stop-scrolling { height: 36px; border-radius: 100%; } -#directiost-listing-fields_wrapper .directorist-content-module__title i:after, -.directorist-add-listing-form .directorist-content-module__title i:after { +.directorist-add-listing-form .directorist-content-module__title i:after, +#directiost-listing-fields_wrapper .directorist-content-module__title i:after { width: 16px; height: 16px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-address-field.atbdp-form-fade, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-address-field.atbdp-form-fade { padding: 0; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-address-field.atbdp-form-fade > input[name="address"], -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-address-field.atbdp-form-fade > input[name="address"] { padding-left: 10px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-address-field.atbdp-form-fade:before, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-address-field.atbdp-form-fade:before { width: 15px; @@ -3227,19 +3503,23 @@ body.stop-scrolling { right: 0; top: 46px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-address-field.atbdp-form-fade:after, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-address-field.atbdp-form-fade:after { height: 40px; top: 26px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module, +#directiost-listing-fields_wrapper .directorist-content-module { + /* social info */ +} +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields { display: -webkit-box; @@ -3256,19 +3536,19 @@ body.stop-scrolling { gap: 20px; margin: 0 0 25px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields:last-child, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields:last-child { margin: 0 0 40px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields .directorist-form-group, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields .directorist-form-group { @@ -3278,12 +3558,12 @@ body.stop-scrolling { flex: 1; margin: 0; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields .directorist-form-group select, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields .directorist-form-group @@ -3292,12 +3572,12 @@ body.stop-scrolling { font-weight: 500; color: var(--directorist-color-dark); } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields .directorist-form-group select.placeholder-item, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields .directorist-form-group @@ -3306,10 +3586,10 @@ body.stop-scrolling { font-weight: 400; color: var(--directorist-color-light-gray); } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input { display: -webkit-box; @@ -3323,10 +3603,10 @@ body.stop-scrolling { flex: 1; } @media screen and (max-width: 480px) { - #directiost-listing-fields_wrapper + .directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input, - .directorist-add-listing-form + #directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input { gap: 10px; @@ -3337,60 +3617,60 @@ body.stop-scrolling { flex-direction: column; } } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-webkit-input-placeholder, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-webkit-input-placeholder { font-weight: 400; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-moz-placeholder, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-moz-placeholder { font-weight: 400; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input:-ms-input-placeholder, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input:-ms-input-placeholder { font-weight: 400; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-ms-input-placeholder, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-ms-input-placeholder { font-weight: 400; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::placeholder, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::placeholder { font-weight: 400; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__remove, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove { display: -webkit-box; @@ -3410,40 +3690,41 @@ body.stop-scrolling { padding: 0; cursor: pointer; border-radius: 100%; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; background-color: var(--directorist-color-light) !important; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__remove - i:after, -.directorist-add-listing-form + i::after, +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove - i:after { + i::after { width: 12px; height: 12px; background-color: var(--directorist-color-light-gray); } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__remove:hover, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove:hover { background-color: var(--directorist-color-primary) !important; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__remove:hover - i:after, -.directorist-add-listing-form + i::after, +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove:hover - i:after { + i::after { background-color: var(--directorist-color-white); } + #directiost-listing-fields_wrapper .directorist-content-module { background-color: var(--directorist-color-white); border-radius: 0; @@ -3472,8 +3753,8 @@ body.stop-scrolling { #directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove - i:after { - background-color: grey; + i::after { + background-color: #808080; } #directiost-listing-fields_wrapper .directorist-content-module @@ -3483,7 +3764,7 @@ body.stop-scrolling { #directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove:hover - i:after { + i::after { background-color: var(--directorist-color-white); } #directiost-listing-fields_wrapper @@ -3542,16 +3823,16 @@ body.stop-scrolling { } #directiost-listing-fields_wrapper .directorist-content-module - .directorist-custom-field-select + .directorist-form-social-fields select.directorist-form-element, #directiost-listing-fields_wrapper .directorist-content-module - .directorist-form-group - .directorist-form-element.directory_pricing_field, + .directorist-custom-field-select + select.directorist-form-element, #directiost-listing-fields_wrapper .directorist-content-module - .directorist-form-social-fields - select.directorist-form-element { + .directorist-form-group + .directorist-form-element.directory_pricing_field { padding-top: 0; padding-bottom: 0; } @@ -3660,7 +3941,7 @@ body.stop-scrolling { height: 6px; border-radius: 50%; background-color: var(--directorist-color-primary); - border: 0; + border: 0 none; -webkit-mask-image: none; mask-image: none; z-index: 2; @@ -3724,8 +4005,8 @@ body.stop-scrolling { left: 5px; top: 5px; content: ""; - -webkit-mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); - mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); + -webkit-mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); + mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 10px; @@ -3749,10 +4030,10 @@ body.stop-scrolling { .directorist-content-module .plupload-upload-uic .plupload-browse-button-label - i:after { + i::after { width: 50px; height: 45px; - background-color: grey; + background-color: #808080; } #directiost-listing-fields_wrapper .directorist-content-module @@ -3775,7 +4056,7 @@ body.stop-scrolling { .directorist-content-module .directorist-form-social-info-field .directorist-btn - i:after { + i::after { background-color: var(--directorist-color-white); } #directiost-listing-fields_wrapper @@ -3784,6 +4065,11 @@ body.stop-scrolling { #gmap { border-radius: 0; } + +/* ========================== + add listing form fields +============================= */ +/* listing label */ .directorist-form-label { display: block; color: var(--directorist-color-dark); @@ -3791,14 +4077,17 @@ body.stop-scrolling { font-size: 14px; font-weight: 500; } -.directorist-custom-field-checkbox > .directorist-form-label, -.directorist-custom-field-file-upload > .directorist-form-label, + .directorist-custom-field-radio > .directorist-form-label, +.directorist-custom-field-checkbox > .directorist-form-label, +.directorist-form-social-info-field > .directorist-form-label, .directorist-form-image-upload-field > .directorist-form-label, -.directorist-form-pricing-field.price-type-both > .directorist-form-label, -.directorist-form-social-info-field > .directorist-form-label { +.directorist-custom-field-file-upload > .directorist-form-label, +.directorist-form-pricing-field.price-type-both > .directorist-form-label { margin-bottom: 18px; } + +/* listing type */ .directorist-form-listing-type { display: -webkit-box; display: -webkit-flex; @@ -3845,9 +4134,10 @@ body.stop-scrolling { + .directorist-radio__label { width: 100%; height: 100%; + padding: 25px; font-size: 14px; font-weight: 500; - padding: 25px 25px 25px 55px; + padding-left: 55px; border-radius: 12px; color: var(--directorist-color-body); border: 3px solid var(--directorist-color-border-gray); @@ -3862,7 +4152,7 @@ body.stop-scrolling { small { display: block; margin-top: 5px; - font-weight: 400; + font-weight: normal; color: var(--directorist-color-success); } .directorist-form-listing-type @@ -3888,6 +4178,8 @@ body.stop-scrolling { border-color: var(--directorist-color-primary); color: var(--directorist-color-primary); } + +/* Pricing */ .directorist-form-pricing-field__options { display: -webkit-box; display: -webkit-flex; @@ -3956,25 +4248,35 @@ body.stop-scrolling { .directorist-form-pricing-field .directorist-form-element { min-width: 100%; } + .price-type-price_range .directorist-form-pricing-field__options, .price-type-price_unit .directorist-form-pricing-field__options { margin: 0; } + +/* location */ .directorist-select-multi select { display: none; } + #directorist-location-select { z-index: 113 !important; } + +/* tags */ #directorist-tag-select { z-index: 112 !important; } + +/* categories */ #directorist-category-select { z-index: 111 !important; } + .directorist-form-group .select2-selection { border-color: #ececec; } + .directorist-form-group .select2-container--default .select2-selection { min-height: 40px; padding-right: 45px; @@ -4001,17 +4303,22 @@ body.stop-scrolling { .directorist-form-group .select2-container--default .select2-selection input { min-height: 26px; } + +/* hide contact owner */ .directorist-hide-owner-field.directorist-checkbox input[type="checkbox"] + .directorist-checkbox__label { font-size: 15px; font-weight: 700; } + +/* Map style */ .directorist-map-coordinate { margin-top: 20px; } + .directorist-map-coordinates { - padding: 0 0 15px; + padding: 0 0 15px 0; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -4039,12 +4346,14 @@ body.stop-scrolling { flex: 0 0 100% !important; max-width: 100% !important; } + .directorist-add-listing-form .directorist-content-module .directorist-map-coordinates .directorist-form-group:not(.directorist-map-coordinates__generate) { margin-bottom: 20px; } + .directorist-form-map-field__wrapper { margin-bottom: 10px; } @@ -4100,8 +4409,8 @@ body.stop-scrolling { border: 50px solid rgba(var(--directorist-color-dark-rgb), 0.2); opacity: 0; visibility: hidden; - -webkit-animation: atbd_scale 3s linear infinite alternate; - animation: atbd_scale 3s linear infinite alternate; + -webkit-animation: atbd_scale 3s linear alternate infinite; + animation: atbd_scale 3s linear alternate infinite; } .directorist-form-map-field__maps #gmap div[role="img"]:after { content: ""; @@ -4115,8 +4424,8 @@ body.stop-scrolling { mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; - -webkit-mask-image: url(../images/ed83bad2b8ea2a7680575ff079fc63af.svg); - mask-image: url(../images/ed83bad2b8ea2a7680575ff079fc63af.svg); + -webkit-mask-image: url(../js/../images/ed83bad2b8ea2a7680575ff079fc63af.svg); + mask-image: url(../js/../images/ed83bad2b8ea2a7680575ff079fc63af.svg); } .directorist-form-map-field__maps #gmap @@ -4129,10 +4438,10 @@ body.stop-scrolling { } .directorist-form-map-field__maps #gmap - div[role="img"].transit-wheelchair-icon:after, + div[role="img"].transit-wheelchair-icon:before, .directorist-form-map-field__maps #gmap - div[role="img"].transit-wheelchair-icon:before { + div[role="img"].transit-wheelchair-icon:after { display: none; } .directorist-form-map-field__maps #gmap div[role="img"]:hover:before { @@ -4179,13 +4488,15 @@ body.stop-scrolling { width: 16px; height: 16px; background-color: var(--directorist-color-marker-icon); - -webkit-mask-image: url(../images/ed83bad2b8ea2a7680575ff079fc63af.svg); - mask-image: url(../images/ed83bad2b8ea2a7680575ff079fc63af.svg); + -webkit-mask-image: url(../js/../images/ed83bad2b8ea2a7680575ff079fc63af.svg); + mask-image: url(../js/../images/ed83bad2b8ea2a7680575ff079fc63af.svg); } .directorist-form-map-field .atbd_map_shape:hover:before { opacity: 1; visibility: visible; } + +/* EZ Media Upload */ .directorist-form-image-upload-field .ez-media-uploader { text-align: center; border-radius: 12px; @@ -4231,7 +4542,7 @@ body.stop-scrolling { .ez-media-uploader .ezmu__media-picker-section .ezmu-icon-upload - i:after { + i::after { width: 90px; height: 80px; background-color: var(--directorist-color-border-gray); @@ -4275,8 +4586,8 @@ body.stop-scrolling { left: 17px; top: 13px; content: ""; - -webkit-mask-image: url(../images/82bc0acb0537c9331637ee2319728e40.svg); - mask-image: url(../images/82bc0acb0537c9331637ee2319728e40.svg); + -webkit-mask-image: url(../js/../images/82bc0acb0537c9331637ee2319728e40.svg); + mask-image: url(../js/../images/82bc0acb0537c9331637ee2319728e40.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 14px; @@ -4353,8 +4664,8 @@ body.stop-scrolling { mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; - -webkit-mask-image: url(../images/6af1e9612a6d7346e1366489fb9fac45.svg); - mask-image: url(../images/6af1e9612a6d7346e1366489fb9fac45.svg); + -webkit-mask-image: url(../js/../images/6af1e9612a6d7346e1366489fb9fac45.svg); + mask-image: url(../js/../images/6af1e9612a6d7346e1366489fb9fac45.svg); } .directorist-form-image-upload-field .ez-media-uploader @@ -4385,7 +4696,7 @@ body.stop-scrolling { .ez-media-uploader .ezmu__preview-section .ezmu__front-item__close-icon - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 12px; height: 12px; } @@ -4393,7 +4704,7 @@ body.stop-scrolling { .ez-media-uploader .ezmu__preview-section .ezmu__front-item__close-icon:hover - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .directorist-form-image-upload-field @@ -4419,6 +4730,7 @@ body.stop-scrolling { .directorist-form-image-upload-field .ezmu__info-list-item:empty { display: none; } + .directorist-add-listing-wrapper { max-width: 1000px !important; margin: 0 auto; @@ -4444,8 +4756,8 @@ body.stop-scrolling { background-color: rgba(var(--directorist-color-dark-rgb), 0.5); opacity: 0; visibility: visible; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } .directorist-add-listing-wrapper .ezmu__thumbnail-list-item:hover @@ -4523,7 +4835,11 @@ body.stop-scrolling { .directorist-add-listing-wrapper .ezmu__info-list .ezmu__info-list-item:before { width: 16px; height: 16px; - background-image: url(../images/83eed1a628ff52c2adf977f50ac7adb4.svg); + background-image: url(../js/../images/83eed1a628ff52c2adf977f50ac7adb4.svg); +} + +.directorist-add-listing-form { + /* form action */ } .directorist-add-listing-form__action { display: -webkit-box; @@ -4550,9 +4866,9 @@ body.stop-scrolling { .directorist-add-listing-form__action .directorist-form-submit__btn.atbd_loading:after { content: ""; - border-radius: 50%; border: 2px solid #f3f3f3; - border-top-color: #656a7a; + border-radius: 50%; + border-top: 2px solid #656a7a; width: 20px; height: 20px; -webkit-animation: rotate360 2s linear infinite; @@ -4579,8 +4895,8 @@ body.stop-scrolling { .directorist-add-listing-form__action #listing_notifier .atbdp_success { color: var(--directorist-color-success); } -.directorist-add-listing-form__action .directorist-checkbox, -.directorist-add-listing-form__action .directorist-form-group { +.directorist-add-listing-form__action .directorist-form-group, +.directorist-add-listing-form__action .directorist-checkbox { margin: 0; padding: 30px 40px 0; -webkit-box-align: start; @@ -4589,37 +4905,35 @@ body.stop-scrolling { align-items: flex-start; } @media only screen and (max-width: 576px) { - .directorist-add-listing-form__action .directorist-checkbox, - .directorist-add-listing-form__action .directorist-form-group { + .directorist-add-listing-form__action .directorist-form-group, + .directorist-add-listing-form__action .directorist-checkbox { padding: 30px 0 0; } .directorist-add-listing-form__action - .directorist-checkbox.directorist-form-privacy, + .directorist-form-group.directorist-form-privacy, .directorist-add-listing-form__action - .directorist-form-group.directorist-form-privacy { + .directorist-checkbox.directorist-form-privacy { padding: 30px 30px 0; } } @media only screen and (max-width: 480px) { - .directorist-add-listing-form__action .directorist-checkbox, - .directorist-add-listing-form__action .directorist-form-group { + .directorist-add-listing-form__action .directorist-form-group, + .directorist-add-listing-form__action .directorist-checkbox { padding: 30px 20px 0; } } -.directorist-add-listing-form__action .directorist-checkbox label, -.directorist-add-listing-form__action .directorist-form-group label { +.directorist-add-listing-form__action .directorist-form-group label, +.directorist-add-listing-form__action .directorist-checkbox label { font-size: 14px; font-weight: 500; margin: 0 0 10px; } -.directorist-add-listing-form__action .directorist-checkbox label a, -.directorist-add-listing-form__action .directorist-form-group label a { +.directorist-add-listing-form__action .directorist-form-group label a, +.directorist-add-listing-form__action .directorist-checkbox label a { color: var(--directorist-color-info); } -.directorist-add-listing-form__action .directorist-checkbox #guest_user_email, -.directorist-add-listing-form__action - .directorist-form-group - #guest_user_email { +.directorist-add-listing-form__action .directorist-form-group #guest_user_email, +.directorist-add-listing-form__action .directorist-checkbox #guest_user_email { margin: 0 0 10px; } .directorist-add-listing-form__action .directorist-form-required { @@ -4673,6 +4987,10 @@ body.stop-scrolling { .directorist-add-listing-form__publish__icon i:after { width: 25px; height: 25px; + } +} +@media only screen and (max-width: 480px) { + .directorist-add-listing-form__publish__icon i:after { width: 22px; height: 22px; } @@ -4705,14 +5023,19 @@ body.stop-scrolling { top: -25px; border: 50px solid rgba(var(--directorist-color-marker-shape-rgb), 0.2); } -.directorist-add-listing-form .atbd_map_shape .directorist-icon-mask:after { +.directorist-add-listing-form .atbd_map_shape .directorist-icon-mask::after { width: 16px; height: 16px; } + +/* Custom Fields */ +/* select */ .directorist-custom-field-select select.directorist-form-element { padding-top: 0; padding-bottom: 0; } + +/* file upload */ .plupload-upload-uic { width: 420px; margin: 0 auto !important; @@ -4729,6 +5052,8 @@ body.stop-scrolling { margin-top: 10px; color: #9299b8; } + +/* quick login */ .directorist-modal-container { display: none; margin: 0 !important; @@ -4741,9 +5066,11 @@ body.stop-scrolling { right: 0; z-index: 999999999999; } + .directorist-modal-container.show { display: block; } + .directorist-modal-wrap { display: -webkit-box; display: -webkit-flex; @@ -4768,6 +5095,7 @@ body.stop-scrolling { -ms-flex-pack: center; justify-content: center; } + .directorist-modals { display: block; width: 100%; @@ -4777,6 +5105,7 @@ body.stop-scrolling { border-radius: 8px; overflow: hidden; } + .directorist-modal-header { display: -webkit-box; display: -webkit-flex; @@ -4793,21 +5122,26 @@ body.stop-scrolling { align-items: center; border-bottom: 1px solid #e4e4e4; } + .directorist-modal-title-area { display: block; } + .directorist-modal-header .directorist-modal-title { margin-bottom: 0 !important; font-size: 24px; } + .directorist-modal-actions-area { display: block; padding: 0 10px; } + .directorist-modal-body { display: block; padding: 20px; } + .directorist-form-privacy { margin-bottom: 10px; font-size: 14px; @@ -4819,6 +5153,7 @@ body.stop-scrolling { + .directorist-checkbox__label:after { border-color: var(--directorist-color-body); } + .directorist-form-privacy, .directorist-form-terms { display: -webkit-box; @@ -4830,6 +5165,10 @@ body.stop-scrolling { .directorist-form-terms a { text-decoration: none; } + +/* ============================= + backend add listing form +================================*/ .add_listing_form_wrapper .hide-if-no-js { display: -webkit-box; display: -webkit-flex; @@ -4844,6 +5183,7 @@ body.stop-scrolling { -ms-flex-pack: center; justify-content: center; } + #listing_form_info .directorist-bh-wrap .directorist-select select { width: calc(100% - 1px); min-height: 42px; @@ -4851,6 +5191,7 @@ body.stop-scrolling { border-color: #ececec !important; padding: 0 10px; } + .directorist-map-field #floating-panel { margin-bottom: 20px; } @@ -4859,13 +5200,15 @@ body.stop-scrolling { border: 1px solid var(--directorist-color-danger); color: var(--directorist-color-white); } + #listing_form_info .atbd_content_module.atbd-booking-information .atbdb_content_module_contents { padding-top: 20px; } -.directorist-custom-field-checkbox, -.directorist-custom-field-radio { + +.directorist-custom-field-radio, +.directorist-custom-field-checkbox { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -4875,60 +5218,60 @@ body.stop-scrolling { -ms-flex-wrap: wrap; flex-wrap: wrap; } -.directorist-custom-field-checkbox .directorist-custom-field-btn-more, -.directorist-custom-field-checkbox .directorist-form-description, -.directorist-custom-field-checkbox .directorist-form-label, -.directorist-custom-field-radio .directorist-custom-field-btn-more, +.directorist-custom-field-radio .directorist-form-label, .directorist-custom-field-radio .directorist-form-description, -.directorist-custom-field-radio .directorist-form-label { +.directorist-custom-field-radio .directorist-custom-field-btn-more, +.directorist-custom-field-checkbox .directorist-form-label, +.directorist-custom-field-checkbox .directorist-form-description, +.directorist-custom-field-checkbox .directorist-custom-field-btn-more { width: 100%; -webkit-box-flex: 0; -webkit-flex: 0 0 100%; -ms-flex: 0 0 100%; flex: 0 0 100%; } -.directorist-custom-field-checkbox .directorist-checkbox, -.directorist-custom-field-checkbox .directorist-radio, .directorist-custom-field-radio .directorist-checkbox, -.directorist-custom-field-radio .directorist-radio { +.directorist-custom-field-radio .directorist-radio, +.directorist-custom-field-checkbox .directorist-checkbox, +.directorist-custom-field-checkbox .directorist-radio { -webkit-box-flex: 0; -webkit-flex: 0 0 49%; -ms-flex: 0 0 49%; flex: 0 0 49%; } @media only screen and (max-width: 767px) { - .directorist-custom-field-checkbox .directorist-checkbox, - .directorist-custom-field-checkbox .directorist-radio, .directorist-custom-field-radio .directorist-checkbox, - .directorist-custom-field-radio .directorist-radio { + .directorist-custom-field-radio .directorist-radio, + .directorist-custom-field-checkbox .directorist-checkbox, + .directorist-custom-field-checkbox .directorist-radio { -webkit-box-flex: 0; -webkit-flex: 0 0 100%; -ms-flex: 0 0 100%; flex: 0 0 100%; } } -.directorist-custom-field-checkbox .directorist-custom-field-btn-more, -.directorist-custom-field-radio .directorist-custom-field-btn-more { +.directorist-custom-field-radio .directorist-custom-field-btn-more, +.directorist-custom-field-checkbox .directorist-custom-field-btn-more { margin-top: 5px; } -.directorist-custom-field-checkbox .directorist-custom-field-btn-more:after, -.directorist-custom-field-radio .directorist-custom-field-btn-more:after { +.directorist-custom-field-radio .directorist-custom-field-btn-more:after, +.directorist-custom-field-checkbox .directorist-custom-field-btn-more:after { content: ""; display: inline-block; margin-left: 5px; - -webkit-mask-image: url(../images/05feea3d261c8b97573023a74fd26f03.svg); - mask-image: url(../images/05feea3d261c8b97573023a74fd26f03.svg); + -webkit-mask-image: url(../js/../images/05feea3d261c8b97573023a74fd26f03.svg); + mask-image: url(../js/../images/05feea3d261c8b97573023a74fd26f03.svg); width: 12px; height: 12px; background-color: var(--directorist-color-body); } +.directorist-custom-field-radio .directorist-custom-field-btn-more.active:after, .directorist-custom-field-checkbox - .directorist-custom-field-btn-more.active:after, -.directorist-custom-field-radio .directorist-custom-field-btn-more.active:after { - -webkit-mask-image: url(../images/c90867d23032298fc0ff1d456a6fdb30.svg); - mask-image: url(../images/c90867d23032298fc0ff1d456a6fdb30.svg); + -webkit-mask-image: url(../js/../images/c90867d23032298fc0ff1d456a6fdb30.svg); + mask-image: url(../js/../images/c90867d23032298fc0ff1d456a6fdb30.svg); } + .directorist-add-listing-form .select2-container--default .select2-selection @@ -4976,6 +5319,7 @@ body.stop-scrolling { li.select2-search--inline:first-child { width: inherit; } + .multistep-wizard { display: -webkit-box; display: -webkit-flex; @@ -5029,11 +5373,13 @@ body.stop-scrolling { width: 270px; min-height: 36px; padding: 7px 16px; + border: none; outline: none; cursor: pointer; font-size: 14px; font-weight: 400; border-radius: 8px; + border: 1px solid transparent; text-decoration: none !important; color: var(--directorist-color-light-gray); background-color: transparent; @@ -5096,8 +5442,8 @@ body.stop-scrolling { -webkit-transform: translateY(-50%); transform: translateY(-50%); content: ""; - -webkit-mask-image: url(../images/bbed57ce5c92c9a7aa71622e408b6a66.svg); - mask-image: url(../images/bbed57ce5c92c9a7aa71622e408b6a66.svg); + -webkit-mask-image: url(../js/../images/bbed57ce5c92c9a7aa71622e408b6a66.svg); + mask-image: url(../js/../images/bbed57ce5c92c9a7aa71622e408b6a66.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 12px; @@ -5126,19 +5472,21 @@ body.stop-scrolling { font-weight: 600; color: var(--directorist-color-primary); } -.multistep-wizard__nav__btn:focus:before, -.multistep-wizard__nav__btn:focus i:after { +.multistep-wizard__nav__btn:focus:before { + background-color: var(--directorist-color-primary); +} +.multistep-wizard__nav__btn:focus i::after { background-color: var(--directorist-color-primary); } .multistep-wizard__nav__btn.completed { color: var(--directorist-color-primary); } .multistep-wizard__nav__btn.completed:before { - -webkit-mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); - mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); + -webkit-mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); + mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); opacity: 1; } -.multistep-wizard__nav__btn.completed i:after { +.multistep-wizard__nav__btn.completed i::after { background-color: var(--directorist-color-primary); } @media only screen and (max-width: 991px) { @@ -5178,8 +5526,8 @@ body.stop-scrolling { -webkit-transform: translateY(-50%); transform: translateY(-50%); content: ""; - -webkit-mask-image: url(../images/20cfd7ae7ffa8fca3b8d48d7ab39da28.svg); - mask-image: url(../images/20cfd7ae7ffa8fca3b8d48d7ab39da28.svg); + -webkit-mask-image: url(../js/../images/20cfd7ae7ffa8fca3b8d48d7ab39da28.svg); + mask-image: url(../js/../images/20cfd7ae7ffa8fca3b8d48d7ab39da28.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 12px; @@ -5187,8 +5535,8 @@ body.stop-scrolling { background-color: var(--directorist-color-dark); } .multistep-wizard__single .directorist-content-module__title.opened:before { - -webkit-mask-image: url(../images/e9f5f62f416fee88e3f2d027b8b705da.svg); - mask-image: url(../images/e9f5f62f416fee88e3f2d027b8b705da.svg); + -webkit-mask-image: url(../js/../images/e9f5f62f416fee88e3f2d027b8b705da.svg); + mask-image: url(../js/../images/e9f5f62f416fee88e3f2d027b8b705da.svg); } .multistep-wizard__single .directorist-content-module__contents { height: 0; @@ -5288,22 +5636,22 @@ body.stop-scrolling { .multistep-wizard__btn.directorist-btn i:after { background-color: var(--directorist-color-body); } -.multistep-wizard__btn.directorist-btn:focus, -.multistep-wizard__btn.directorist-btn:hover { +.multistep-wizard__btn.directorist-btn:hover, +.multistep-wizard__btn.directorist-btn:focus { color: var(--directorist-color-white); background-color: var(--directorist-color-primary); } -.multistep-wizard__btn.directorist-btn:focus i:after, -.multistep-wizard__btn.directorist-btn:hover i:after { +.multistep-wizard__btn.directorist-btn:hover i:after, +.multistep-wizard__btn.directorist-btn:focus i:after { background-color: var(--directorist-color-white); } -.multistep-wizard__btn[disabled="disabled"], -.multistep-wizard__btn[disabled="true"] { +.multistep-wizard__btn[disabled="true"], +.multistep-wizard__btn[disabled="disabled"] { color: var(--directorist-color-light-gray); pointer-events: none; } -.multistep-wizard__btn[disabled="disabled"] i:after, -.multistep-wizard__btn[disabled="true"] i:after { +.multistep-wizard__btn[disabled="true"] i:after, +.multistep-wizard__btn[disabled="disabled"] i:after { background-color: var(--directorist-color-light-gray); } .multistep-wizard__btn i:after { @@ -5393,15 +5741,17 @@ body.stop-scrolling { width: 100%; height: 54px; } + .logged-in .multistep-wizard__nav.sticky { top: 32px; } + @keyframes atbd_scale { 0% { -webkit-transform: scale(0.8); transform: scale(0.8); } - to { + 100% { -webkit-transform: scale(1); transform: scale(1); } @@ -5415,9 +5765,10 @@ body.stop-scrolling { padding: 0; border: none; } -#directorist_submit_privacy_policy:after { +#directorist_submit_privacy_policy::after { display: none; } + .upload-error { display: block !important; clear: both; @@ -5428,85 +5779,105 @@ body.stop-scrolling { border-radius: 3px; padding: 15px 20px; } + #upload-msg { display: block; clear: both; } + #content .category_grid_view li a.post_img { height: 65px; width: 90%; overflow: hidden; } + #content .category_grid_view li a.post_img img { margin: 0 auto; display: block; height: 65px; } + #content .category_list_view li a.post_img { height: 110px; width: 165px; overflow: hidden; } + #content .category_list_view li a.post_img img { margin: 0 auto; display: block; height: 110px; } + #sidebar .recent_comments li img.thumb { width: 40px; } + .post_img_tiny img { width: 35px; } + .single_post_blog img.alignleft { width: 96%; height: auto; } -.ecu_images, + +.ecu_images { + width: 100%; +} + .filelist { width: 100%; } + .filelist .file { padding: 5px; background-color: #ececec; - border: 1px solid #ccc; + border: solid 1px #ccc; margin-bottom: 4px; clear: both; text-align: left; } + .filelist .fileprogress { - width: 0; + width: 0%; height: 5px; background-color: #3385ff; } + #custom-filedropbox, .directorist-custom-field-file-upload__wrapper > div { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: start; -webkit-justify-content: flex-start; -ms-flex-pack: start; justify-content: flex-start; gap: 20px; } -#custom-filedropbox, -.directorist-custom-field-file-upload__wrapper > div, + .plupload-upload-uic { + width: 200px; + height: 150px; + padding: 0; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + gap: 15px; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -} -.plupload-upload-uic { - width: 200px; - height: 150px; - padding: 0; - gap: 15px; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; @@ -5527,7 +5898,7 @@ body.stop-scrolling { .plupload-upload-uic .plupload-browse-button-label { cursor: pointer; } -.plupload-upload-uic .plupload-browse-button-label i:after { +.plupload-upload-uic .plupload-browse-button-label i::after { width: 50px; height: 45px; background-color: var(--directorist-color-border-gray); @@ -5543,10 +5914,12 @@ body.stop-scrolling { height: 200px; } } + .plupload-thumbs { clear: both; overflow: hidden; } + .plupload-thumbs .thumb { position: relative; height: 150px; @@ -5560,7 +5933,7 @@ body.stop-scrolling { object-fit: cover; border-radius: 12px; } -.plupload-thumbs .thumb:hover .atbdp-thumb-actions:before { +.plupload-thumbs .thumb:hover .atbdp-thumb-actions::before { opacity: 1; visibility: visible; } @@ -5625,14 +5998,16 @@ body.stop-scrolling { opacity: 0; visibility: hidden; border-radius: 12px; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; background-color: rgba(var(--directorist-color-dark-rgb), 0.5); } + .plupload-thumbs .thumb.atbdp_file { border: none; width: auto; } + .atbdp-add-files .plupload-thumbs .thumb img, .plupload-thumbs .thumb i.atbdp-file-info { cursor: move; @@ -5640,11 +6015,13 @@ body.stop-scrolling { height: 100%; z-index: 1; } + .plupload-thumbs .thumb i.atbdp-file-info { font-size: 50px; padding-top: 10%; z-index: 1; } + .plupload-thumbs .thumb .thumbi { position: absolute; right: -10px; @@ -5652,107 +6029,133 @@ body.stop-scrolling { height: 18px; width: 18px; } + .plupload-thumbs .thumb .thumbi a { text-indent: -8000px; display: block; } -.plupload-thumbs .atbdp-caption-preview, -.plupload-thumbs .atbdp-title-preview { + +.plupload-thumbs .atbdp-title-preview, +.plupload-thumbs .atbdp-caption-preview { position: absolute; top: 10px; left: 5px; font-size: 10px; line-height: 10px; padding: 1px; - background: hsla(0, 0%, 100%, 0.5); + background: rgba(255, 255, 255, 0.5); z-index: 2; overflow: hidden; height: 10px; } + .plupload-thumbs .atbdp-caption-preview { top: auto; bottom: 10px; } -.leaflet-image-layer, -.leaflet-layer, -.leaflet-marker-icon, -.leaflet-marker-shadow, + +/* required styles */ .leaflet-pane, -.leaflet-pane > canvas, -.leaflet-pane > svg, .leaflet-tile, +.leaflet-marker-icon, +.leaflet-marker-shadow, .leaflet-tile-container, -.leaflet-zoom-box { +.leaflet-pane > svg, +.leaflet-pane > canvas, +.leaflet-zoom-box, +.leaflet-image-layer, +.leaflet-layer { position: absolute; left: 0; top: 0; } + .leaflet-container { overflow: hidden; } + +.leaflet-tile, .leaflet-marker-icon, -.leaflet-marker-shadow, -.leaflet-tile { +.leaflet-marker-shadow { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-user-drag: none; } + +/* Prevents IE11 from highlighting tiles in blue */ .leaflet-tile::-moz-selection { background: transparent; } .leaflet-tile::selection { background: transparent; } + +/* Safari renders non-retina tile on retina better with this, but Chrome is worse */ .leaflet-safari .leaflet-tile { image-rendering: -webkit-optimize-contrast; } + +/* hack that prevents hw layers "stretching" when loading new tiles */ .leaflet-safari .leaflet-tile-container { width: 1600px; height: 1600px; -webkit-transform-origin: 0 0; } + .leaflet-marker-icon, .leaflet-marker-shadow { display: block; } -.leaflet-container .leaflet-marker-pane img, + +/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */ +/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */ .leaflet-container .leaflet-overlay-pane svg, +.leaflet-container .leaflet-marker-pane img, .leaflet-container .leaflet-shadow-pane img, -.leaflet-container .leaflet-tile, .leaflet-container .leaflet-tile-pane img, -.leaflet-container img.leaflet-image-layer { +.leaflet-container img.leaflet-image-layer, +.leaflet-container .leaflet-tile { max-width: none !important; max-height: none !important; } + .leaflet-container.leaflet-touch-zoom { -ms-touch-action: pan-x pan-y; touch-action: pan-x pan-y; } + .leaflet-container.leaflet-touch-drag { -ms-touch-action: pinch-zoom; + /* Fallback for FF which doesn't support pinch-zoom */ touch-action: none; touch-action: pinch-zoom; } + .leaflet-container.leaflet-touch-drag.leaflet-touch-zoom { -ms-touch-action: none; touch-action: none; } + .leaflet-container { -webkit-tap-highlight-color: transparent; } + .leaflet-container a { -webkit-tap-highlight-color: rgba(145, 175, 186, 0.4); } + .leaflet-tile { -webkit-filter: inherit; filter: inherit; visibility: hidden; } + .leaflet-tile-loaded { visibility: inherit; } + .leaflet-zoom-box { width: 0; height: 0; @@ -5760,106 +6163,141 @@ body.stop-scrolling { box-sizing: border-box; z-index: 800; } + +/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */ .leaflet-overlay-pane svg { -moz-user-select: none; } + .leaflet-pane { z-index: 400; } + .leaflet-tile-pane { z-index: 200; } + .leaflet-overlay-pane { z-index: 400; } + .leaflet-shadow-pane { z-index: 500; } + .leaflet-marker-pane { z-index: 600; } + .leaflet-tooltip-pane { z-index: 650; } + .leaflet-popup-pane { z-index: 700; } + .leaflet-map-pane canvas { z-index: 100; } + .leaflet-map-pane svg { z-index: 200; } + .leaflet-vml-shape { width: 1px; height: 1px; } + .lvml { behavior: url(#default#VML); display: inline-block; position: absolute; } + +/* control positioning */ .leaflet-control { position: relative; z-index: 800; - pointer-events: visiblePainted; + pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */ pointer-events: auto; } -.leaflet-bottom, -.leaflet-top { + +.leaflet-top, +.leaflet-bottom { position: absolute; z-index: 1000; pointer-events: none; } + .leaflet-top { top: 0; } + .leaflet-right { right: 0; display: none; } + .leaflet-bottom { bottom: 0; } + .leaflet-left { left: 0; } + .leaflet-control { float: left; clear: both; } + .leaflet-right .leaflet-control { float: right; } + .leaflet-top .leaflet-control { margin-top: 10px; } + .leaflet-bottom .leaflet-control { margin-bottom: 10px; } + .leaflet-left .leaflet-control { margin-left: 10px; } + .leaflet-right .leaflet-control { margin-right: 10px; } + +/* zoom and fade animations */ .leaflet-fade-anim .leaflet-tile { will-change: opacity; } + .leaflet-fade-anim .leaflet-popup { opacity: 0; -webkit-transition: opacity 0.2s linear; transition: opacity 0.2s linear; } + .leaflet-fade-anim .leaflet-map-pane .leaflet-popup { opacity: 1; } + .leaflet-zoom-animated { -webkit-transform-origin: 0 0; transform-origin: 0 0; } + .leaflet-zoom-anim .leaflet-zoom-animated { will-change: transform; +} + +.leaflet-zoom-anim .leaflet-zoom-animated { -webkit-transition: -webkit-transform 0.25s cubic-bezier(0, 0, 0.25, 1); transition: -webkit-transform 0.25s cubic-bezier(0, 0, 0.25, 1); transition: transform 0.25s cubic-bezier(0, 0, 0.25, 1); @@ -5867,29 +6305,37 @@ body.stop-scrolling { transform 0.25s cubic-bezier(0, 0, 0.25, 1), -webkit-transform 0.25s cubic-bezier(0, 0, 0.25, 1); } -.leaflet-pan-anim .leaflet-tile, -.leaflet-zoom-anim .leaflet-tile { + +.leaflet-zoom-anim .leaflet-tile, +.leaflet-pan-anim .leaflet-tile { -webkit-transition: none; transition: none; } + .leaflet-zoom-anim .leaflet-zoom-hide { visibility: hidden; } + +/* cursors */ .leaflet-interactive { cursor: pointer; } + .leaflet-grab { cursor: -webkit-grab; cursor: grab; } + .leaflet-crosshair, .leaflet-crosshair .leaflet-interactive { cursor: crosshair; } -.leaflet-control, -.leaflet-popup-pane { + +.leaflet-popup-pane, +.leaflet-control { cursor: auto; } + .leaflet-dragging .leaflet-grab, .leaflet-dragging .leaflet-grab .leaflet-interactive, .leaflet-dragging .leaflet-marker-draggable { @@ -5897,47 +6343,60 @@ body.stop-scrolling { cursor: -webkit-grabbing; cursor: grabbing; } -.leaflet-image-layer, + +/* marker & overlays interactivity */ .leaflet-marker-icon, .leaflet-marker-shadow, +.leaflet-image-layer, .leaflet-pane > svg path, .leaflet-tile-container { pointer-events: none; } -.leaflet-image-layer.leaflet-interactive, + .leaflet-marker-icon.leaflet-interactive, +.leaflet-image-layer.leaflet-interactive, .leaflet-pane > svg path.leaflet-interactive, svg.leaflet-image-layer.leaflet-interactive path { - pointer-events: visiblePainted; + pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */ pointer-events: auto; } + +/* visual tweaks */ .leaflet-container { background-color: #ddd; outline: 0; } -.leaflet-container .map-listing-card-single__content a, -.leaflet-container a { + +.leaflet-container a, +.leaflet-container .map-listing-card-single__content a { color: #404040; } + .leaflet-container a.leaflet-active { outline: 2px solid #fa8b0c; } + .leaflet-zoom-box { border: 2px dotted var(--directorist-color-info); - background: hsla(0, 0%, 100%, 0.5); + background: rgba(255, 255, 255, 0.5); } + +/* general typography */ .leaflet-container { font: - 12px/1.5 Helvetica Neue, + 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif; } + +/* general toolbar styles */ .leaflet-bar { -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65); box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65); border-radius: 4px; } + .leaflet-bar a, .leaflet-bar a:hover { background-color: var(--directorist-color-white); @@ -5948,130 +6407,163 @@ svg.leaflet-image-layer.leaflet-interactive path { display: block; text-align: center; text-decoration: none; - color: #000; + color: black; } + .leaflet-bar a, .leaflet-control-layers-toggle { background-position: 50% 50%; background-repeat: no-repeat; display: block; } + .leaflet-bar a:hover { background-color: #f4f4f4; } + .leaflet-bar a:first-child { border-top-left-radius: 4px; border-top-right-radius: 4px; } + .leaflet-bar a:last-child { border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-bottom: none; } + .leaflet-bar a.leaflet-disabled { cursor: default; background-color: #f4f4f4; color: #bbb; } + .leaflet-touch .leaflet-bar a { width: 30px; height: 30px; line-height: 30px; } + .leaflet-touch .leaflet-bar a:first-child { border-top-left-radius: 2px; border-top-right-radius: 2px; } + .leaflet-touch .leaflet-bar a:last-child { border-bottom-left-radius: 2px; border-bottom-right-radius: 2px; } + +/* zoom control */ .leaflet-control-zoom-in, .leaflet-control-zoom-out { font: - 700 18px Lucida Console, + bold 18px "Lucida Console", Monaco, monospace; text-indent: 1px; } + .leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out { font-size: 22px; } + +/* layers control */ .leaflet-control-layers { -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4); box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4); background-color: var(--directorist-color-white); border-radius: 5px; } + .leaflet-control-layers-toggle { width: 36px; height: 36px; } + .leaflet-retina .leaflet-control-layers-toggle { background-size: 26px 26px; } + .leaflet-touch .leaflet-control-layers-toggle { width: 44px; height: 44px; } -.leaflet-control-layers-expanded .leaflet-control-layers-toggle, -.leaflet-control-layers .leaflet-control-layers-list { + +.leaflet-control-layers .leaflet-control-layers-list, +.leaflet-control-layers-expanded .leaflet-control-layers-toggle { display: none; } + .leaflet-control-layers-expanded .leaflet-control-layers-list { display: block; position: relative; } + .leaflet-control-layers-expanded { padding: 6px 10px 6px 6px; color: #333; background-color: var(--directorist-color-white); } + .leaflet-control-layers-scrollbar { overflow-y: scroll; overflow-x: hidden; padding-right: 5px; } + .leaflet-control-layers-selector { margin-top: 2px; position: relative; top: 1px; } + .leaflet-control-layers label { display: block; } + .leaflet-control-layers-separator { height: 0; border-top: 1px solid #ddd; margin: 5px -10px 5px -6px; } + +/* Default icon URLs */ +/* attribution and scale controls */ .leaflet-container .leaflet-control-attribution { background-color: var(--directorist-color-white); - background: hsla(0, 0%, 100%, 0.7); + background: rgba(255, 255, 255, 0.7); margin: 0; } + .leaflet-control-attribution, .leaflet-control-scale-line { padding: 0 5px; color: #333; } + .leaflet-control-attribution a { text-decoration: none; } + .leaflet-control-attribution a:hover { text-decoration: underline; } + .leaflet-container .leaflet-control-attribution, .leaflet-container .leaflet-control-scale { font-size: 11px; } + .leaflet-left .leaflet-control-scale { margin-left: 5px; } + .leaflet-bottom .leaflet-control-scale { margin-bottom: 5px; } + .leaflet-control-scale-line { border: 2px solid #777; border-top: none; @@ -6083,44 +6575,54 @@ svg.leaflet-image-layer.leaflet-interactive path { -webkit-box-sizing: border-box; box-sizing: border-box; background-color: var(--directorist-color-white); - background: hsla(0, 0%, 100%, 0.5); + background: rgba(255, 255, 255, 0.5); } + .leaflet-control-scale-line:not(:first-child) { border-top: 2px solid #777; border-bottom: none; margin-top: -2px; } + .leaflet-control-scale-line:not(:first-child):not(:last-child) { border-bottom: 2px solid #777; } -.leaflet-touch .leaflet-bar, + .leaflet-touch .leaflet-control-attribution, -.leaflet-touch .leaflet-control-layers { +.leaflet-touch .leaflet-control-layers, +.leaflet-touch .leaflet-bar { -webkit-box-shadow: none; box-shadow: none; } -.leaflet-touch .leaflet-bar, -.leaflet-touch .leaflet-control-layers { + +.leaflet-touch .leaflet-control-layers, +.leaflet-touch .leaflet-bar { border: 2px solid rgba(0, 0, 0, 0.2); background-clip: padding-box; } + +/* popup */ .leaflet-popup { position: absolute; text-align: center; margin-bottom: 20px; } + .leaflet-popup-content-wrapper { padding: 1px; text-align: left; border-radius: 10px; } + .leaflet-popup-content { margin: 13px 19px; line-height: 1.4; } + .leaflet-popup-content p { margin: 18px 0; } + .leaflet-popup-tip-container { width: 40px; height: 20px; @@ -6130,6 +6632,7 @@ svg.leaflet-image-layer.leaflet-interactive path { overflow: hidden; pointer-events: none; } + .leaflet-popup-tip { width: 17px; height: 17px; @@ -6138,13 +6641,15 @@ svg.leaflet-image-layer.leaflet-interactive path { -webkit-transform: rotate(45deg); transform: rotate(45deg); } + .leaflet-popup-content-wrapper, .leaflet-popup-tip { - background: #fff; + background: white; color: #333; -webkit-box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4); box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4); } + .leaflet-container a.leaflet-popup-close-button { position: absolute; top: 0; @@ -6160,45 +6665,54 @@ svg.leaflet-image-layer.leaflet-interactive path { sans-serif; color: #c3c3c3; text-decoration: none; - font-weight: 700; + font-weight: bold; background: transparent; } + .leaflet-container a.leaflet-popup-close-button:hover { color: #999; } + .leaflet-popup-scrolled { overflow: auto; border-bottom: 1px solid #ddd; border-top: 1px solid #ddd; } + .leaflet-oldie .leaflet-popup-content-wrapper { zoom: 1; } + .leaflet-oldie .leaflet-popup-tip { width: 24px; margin: 0 auto; -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)"; - filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678,M12=0.70710678,M21=-0.70710678,M22=0.70710678); + filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678); } + .leaflet-oldie .leaflet-popup-tip-container { margin-top: -1px; } -.leaflet-oldie .leaflet-control-layers, + .leaflet-oldie .leaflet-control-zoom, +.leaflet-oldie .leaflet-control-layers, .leaflet-oldie .leaflet-popup-content-wrapper, .leaflet-oldie .leaflet-popup-tip { border: 1px solid #999; } + +/* div icon */ .leaflet-div-icon { - border: 1px solid #666; -} -.leaflet-div-icon, -.leaflet-tooltip { background-color: var(--directorist-color-white); + border: 1px solid #666; } + +/* Tooltip */ +/* Base styles for the element that has a tooltip */ .leaflet-tooltip { position: absolute; padding: 6px; + background-color: var(--directorist-color-white); border: 1px solid var(--directorist-color-white); border-radius: 3px; color: #222; @@ -6211,63 +6725,77 @@ svg.leaflet-image-layer.leaflet-interactive path { -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); } + .leaflet-tooltip.leaflet-clickable { cursor: pointer; pointer-events: auto; } + +.leaflet-tooltip-top:before, .leaflet-tooltip-bottom:before, .leaflet-tooltip-left:before, -.leaflet-tooltip-right:before, -.leaflet-tooltip-top:before { +.leaflet-tooltip-right:before { position: absolute; pointer-events: none; border: 6px solid transparent; background: transparent; content: ""; } + +/* Directions */ .leaflet-tooltip-bottom { margin-top: 6px; } + .leaflet-tooltip-top { margin-top: -6px; } + .leaflet-tooltip-bottom:before, .leaflet-tooltip-top:before { left: 50%; margin-left: -6px; } + .leaflet-tooltip-top:before { bottom: 0; margin-bottom: -12px; border-top-color: var(--directorist-color-white); } + .leaflet-tooltip-bottom:before { top: 0; margin-top: -12px; margin-left: -6px; border-bottom-color: var(--directorist-color-white); } + .leaflet-tooltip-left { margin-left: -6px; } + .leaflet-tooltip-right { margin-left: 6px; } + .leaflet-tooltip-left:before, .leaflet-tooltip-right:before { top: 50%; margin-top: -6px; } + .leaflet-tooltip-left:before { right: 0; margin-right: -12px; border-left-color: var(--directorist-color-white); } + .leaflet-tooltip-right:before { left: 0; margin-left: -12px; border-right-color: var(--directorist-color-white); } + .directorist-content-active #map { position: relative; width: 100%; @@ -6298,7 +6826,7 @@ svg.leaflet-image-layer.leaflet-interactive path { background-color: var(--directorist-color-white); cursor: pointer; } -.directorist-content-active #gmap_full_screen_button i:after { +.directorist-content-active #gmap_full_screen_button i::after { width: 22px; height: 22px; -webkit-transition: all 0.3s ease-in-out; @@ -6319,7 +6847,7 @@ svg.leaflet-image-layer.leaflet-interactive path { margin-top: -20px; margin-left: -100px; background-color: var(--directorist-color-white); - background-color: hsla(0, 0%, 100%, 0.7); + background-color: rgba(255, 255, 255, 0.7); border-radius: 4px; padding: 2px; } @@ -6334,8 +6862,8 @@ svg.leaflet-image-layer.leaflet-interactive path { height: 50px !important; margin: 20px !important; border-radius: 10px !important; - -webkit-box-shadow: 0 2px 20px rgba(0, 0, 0, 0.26) !important; - box-shadow: 0 2px 20px rgba(0, 0, 0, 0.26) !important; + -webkit-box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.26) !important; + box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.26) !important; } .directorist-content-active .gmnoprint { border-radius: 5px; @@ -6360,10 +6888,12 @@ svg.leaflet-image-layer.leaflet-interactive path { .directorist-content-active .version-disabled { text-decoration: line-through; } + +/* wp color picker */ .directorist-form-group .wp-picker-container .button { position: relative; height: 40px; - border: 0; + border: 0 none; width: 140px; padding: 0; font-size: 14px; @@ -6448,7 +6978,9 @@ svg.leaflet-image-layer.leaflet-interactive path { .directorist-form-group .wp-picker-container .wp-picker-container - .wp-picker-input-wrap.hidden, + .wp-picker-input-wrap.hidden { + display: none; +} .directorist-form-group .wp-picker-container .wp-picker-container @@ -6475,16 +7007,23 @@ svg.leaflet-image-layer.leaflet-interactive path { padding-bottom: 0; font-size: 15px; } + .directorist-show { display: block !important; } -.directorist-d-none, + .directorist-hide { display: none !important; } + +.directorist-d-none { + display: none !important; +} + .directorist-text-center { text-align: center; } + .directorist-content-active .entry-content ul { margin: 0; padding: 0; @@ -6509,24 +7048,30 @@ svg.leaflet-image-layer.leaflet-interactive path { -ms-flex-align: center; align-items: center; } + +/* Container within container spacing issue fix */ .directorist-container-fluid > .directorist-container-fluid { padding-left: 0; padding-right: 0; } + .directorist-announcement-wrapper .directorist_not-found p { margin-bottom: 0; } + .directorist-content-active .select2-container--open .select2-dropdown.select2-dropdown--below { top: 0; border-color: var(--directorist-color-border); } + .logged-in.directorist-content-active .select2-container--open .select2-dropdown.select2-dropdown--below { top: 32px; } + .directorist-content-active .directorist-select .select2.select2-container @@ -6535,6 +7080,7 @@ svg.leaflet-image-layer.leaflet-interactive path { .select2-selection__clear { display: none; } + .directorist-content-active .select2.select2-container.select2-container--default { width: 100% !important; @@ -6543,6 +7089,7 @@ svg.leaflet-image-layer.leaflet-interactive path { .select2.select2-container.select2-container--default .select2-selection { min-height: 40px; + min-height: 40px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -6593,8 +7140,8 @@ svg.leaflet-image-layer.leaflet-interactive path { .select2.select2-container.select2-container--default .select2-selection__choice__remove:before { content: ""; - -webkit-mask-image: url(../images/4ff79f85f2a1666e0f80c7ca71039465.svg); - mask-image: url(../images/4ff79f85f2a1666e0f80c7ca71039465.svg); + -webkit-mask-image: url(../js/../images/4ff79f85f2a1666e0f80c7ca71039465.svg); + mask-image: url(../js/../images/4ff79f85f2a1666e0f80c7ca71039465.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 12px; @@ -6622,8 +7169,8 @@ svg.leaflet-image-layer.leaflet-interactive path { -ms-flex-align: center; align-items: center; padding: 0 !important; - -ms-overflow-style: none; - scrollbar-width: none; + -ms-overflow-style: none; /* Internet Explorer 10+ */ + scrollbar-width: none; /* Firefox */ } .directorist-content-active .select2.select2-container.select2-container--default @@ -6648,6 +7195,7 @@ svg.leaflet-image-layer.leaflet-interactive path { border: none; border-bottom: 2px solid var(--directorist-color-primary) !important; } + .directorist-content-active .select2-container.select2-container--open { z-index: 99999; } @@ -6656,6 +7204,7 @@ svg.leaflet-image-layer.leaflet-interactive path { width: calc(100% - 40px); } } + .directorist-content-active .select2-container--default .select2-selection @@ -6663,6 +7212,7 @@ svg.leaflet-image-layer.leaflet-interactive path { b { margin-top: 0; } + .directorist-content-active .select2-container .directorist-select2-addons-area { @@ -6689,15 +7239,19 @@ svg.leaflet-image-layer.leaflet-interactive path { padding: 0; display: none; } + +/* Login/Signup Form CSS */ #recover-pass-modal { display: none; } + .directorist-login-wrapper #recover-pass-modal .directorist-btn { margin-top: 15px; } .directorist-login-wrapper #recover-pass-modal .directorist-btn:hover { text-decoration: none; } + body.modal-overlay-enabled { position: relative; } @@ -6711,6 +7265,7 @@ body.modal-overlay-enabled:before { background-color: rgba(var(--directorist-color-dark-rgb), 0.05); z-index: 1; } + .directorist-widget { margin-bottom: 25px; } @@ -6727,6 +7282,7 @@ body.modal-overlay-enabled:before { .directorist-widget .directorist-card__body.directorist-widget__body { padding: 20px 30px; } + .directorist-sidebar .directorist-card { margin-bottom: 25px; } @@ -6773,6 +7329,7 @@ body.modal-overlay-enabled:before { -ms-flex-pack: justify; justify-content: space-between; } + .directorist-widget__listing-contact .directorist-form-group { display: -webkit-box; display: -webkit-flex; @@ -6803,10 +7360,14 @@ body.modal-overlay-enabled:before { min-height: 130px !important; resize: none; } -.directorist-widget__listing-contact .directorist-btn, +.directorist-widget__listing-contact .directorist-btn { + width: 100%; +} + .directorist-widget__submit-listing .directorist-btn { width: 100%; } + .directorist-widget__author-info figure { margin: 0; } @@ -6814,10 +7375,12 @@ body.modal-overlay-enabled:before { width: 100%; margin-top: 25px; } + .directorist-single-map.directorist-widget__map.leaflet-container { margin-bottom: 0; border-radius: 12px; } + .directorist-widget-listing__single { display: -webkit-box; display: -webkit-flex; @@ -6835,6 +7398,7 @@ body.modal-overlay-enabled:before { .directorist-widget-listing__single:not(:last-child) { margin-bottom: 25px; } + .directorist-widget-listing__image { width: 70px; height: 70px; @@ -6847,6 +7411,7 @@ body.modal-overlay-enabled:before { height: 100%; border-radius: 10px; } + .directorist-widget-listing__content { display: -webkit-box; display: -webkit-flex; @@ -6863,6 +7428,7 @@ body.modal-overlay-enabled:before { font-size: 15px; font-weight: 500; line-height: 1; + margin: 0; color: var(--directorist-color-dark); margin: 0; } @@ -6879,12 +7445,15 @@ body.modal-overlay-enabled:before { outline: none; } .directorist-widget-listing__content .directorist-widget-listing__meta { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; } -.directorist-widget-listing__content .directorist-widget-listing__meta, .directorist-widget-listing__content .directorist-widget-listing__rating { display: -webkit-box; display: -webkit-flex; @@ -6916,11 +7485,13 @@ body.modal-overlay-enabled:before { font-weight: 600; color: var(--directorist-color-dark); } + .directorist-widget__video .directorist-embaded-item { width: 100%; height: 100%; border-radius: 10px; } + .directorist-widget .directorist-widget-list li:hover @@ -6931,8 +7502,8 @@ body.modal-overlay-enabled:before { .directorist-widget .directorist-widget-list li:not(:last-child) { margin-bottom: 10px; } -.directorist-widget .directorist-widget-list li span.fa, -.directorist-widget .directorist-widget-list li span.la { +.directorist-widget .directorist-widget-list li span.la, +.directorist-widget .directorist-widget-list li span.fa { cursor: pointer; margin: 0 5px 0 0; } @@ -6967,6 +7538,7 @@ body.modal-overlay-enabled:before { -webkit-transform: translateY(-50%); transform: translateY(-50%); } + .directorist-widget-taxonomy .directorist-taxonomy-list-one { -webkit-margin-after: 10px; margin-block-end: 10px; @@ -7015,7 +7587,7 @@ body.modal-overlay-enabled:before { justify-content: center; } .directorist-widget-taxonomy - .directorist-taxonomy-list-one__icon-default:after { + .directorist-taxonomy-list-one__icon-default::after { content: ""; width: 8px; height: 8px; @@ -7041,6 +7613,7 @@ body.modal-overlay-enabled:before { -webkit-padding-start: 25px; padding-inline-start: 25px; } + .directorist-widget-location .directorist-taxonomy-list-one:last-child { margin-bottom: 0; } @@ -7051,6 +7624,7 @@ body.modal-overlay-enabled:before { -webkit-padding-start: 25px; padding-inline-start: 25px; } + .directorist-widget-tags ul { margin: 0; padding: 0; @@ -7084,6 +7658,7 @@ body.modal-overlay-enabled:before { color: var(--directorist-color-primary); border-color: var(--directorist-color-primary); } + .directorist-widget-advanced-search .directorist-search-form__box { -webkit-box-orient: vertical; -webkit-box-direction: normal; @@ -7119,7 +7694,7 @@ body.modal-overlay-enabled:before { .directorist-search-modal__contents__body .directorist-search-modal__input .directorist-search-field { - border: 0; + border: 0 none; } .directorist-widget-advanced-search .directorist-search-basic-dropdown @@ -7166,11 +7741,11 @@ body.modal-overlay-enabled:before { } .directorist-widget-advanced-search .directorist-search-form - .directorist-search-field - .directorist-search-basic-dropdown-label, + .directorist-search-field.input-is-focused + > label, .directorist-widget-advanced-search .directorist-search-form - .directorist-search-field.directorist-search-field-radius_search + .directorist-search-field.input-has-value > label, .directorist-widget-advanced-search .directorist-search-form @@ -7178,20 +7753,23 @@ body.modal-overlay-enabled:before { > label, .directorist-widget-advanced-search .directorist-search-form - .directorist-search-field.input-has-value - .directorist-search-field__label, + .directorist-search-field.directorist-search-field-radius_search + > label { + font-size: 16px; + font-weight: 500; +} .directorist-widget-advanced-search .directorist-search-form - .directorist-search-field.input-has-value - > label, + .directorist-search-field.input-is-focused + .directorist-search-field__label, .directorist-widget-advanced-search .directorist-search-form - .directorist-search-field.input-is-focused + .directorist-search-field.input-has-value .directorist-search-field__label, .directorist-widget-advanced-search .directorist-search-form - .directorist-search-field.input-is-focused - > label { + .directorist-search-field + .directorist-search-basic-dropdown-label { font-size: 16px; font-weight: 500; } @@ -7216,7 +7794,7 @@ body.modal-overlay-enabled:before { color: var(--directorist-color-primary); } .directorist-widget-advanced-search .directorist-advanced-filter__action { - padding: 0; + padding: 0 0; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; @@ -7268,11 +7846,12 @@ body.modal-overlay-enabled:before { opacity: 0.5; cursor: not-allowed; } + .directorist-widget-authentication form { margin-bottom: 15px; } -.directorist-widget-authentication p input:not(input[type="checkbox"]), -.directorist-widget-authentication p label { +.directorist-widget-authentication p label, +.directorist-widget-authentication p input:not(input[type="checkbox"]) { display: block; } .directorist-widget-authentication p label { @@ -7290,6 +7869,8 @@ body.modal-overlay-enabled:before { .directorist-widget-authentication .login-submit button { cursor: pointer; } + +/* Directorist button styles */ .directorist-btn { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -7324,8 +7905,8 @@ body.modal-overlay-enabled:before { text-decoration: none; background-color: var(--directorist-color-primary); color: var(--directorist-color-white); - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; text-decoration: none !important; } .directorist-btn .directorist-icon-mask:after { @@ -7337,12 +7918,13 @@ body.modal-overlay-enabled:before { .directorist-btn.directorist-btn--logout { line-height: 43px; } -.directorist-btn:focus, -.directorist-btn:hover { +.directorist-btn:hover, +.directorist-btn:focus { color: var(--directorist-color-white); outline: 0 !important; background-color: rgba(var(--directorist-color-primary-rgb), 0.8); } + .directorist-btn.directorist-btn-primary { background-color: var(--directorist-color-btn-primary-bg); color: var(--directorist-color-btn-primary); @@ -7464,6 +8046,7 @@ body.modal-overlay-enabled:before { pointer-events: none; opacity: 0.75; } + .directorist-btn.directorist-btn-outline { background: transparent; border: 1px solid var(--directorist-color-border) !important; @@ -7554,6 +8137,7 @@ body.modal-overlay-enabled:before { color: var(--directorist-color-white); background-color: var(--directorist-color-dark); } + .directorist-btn.directorist-btn-lg { min-height: 50px; } @@ -7575,24 +8159,26 @@ body.modal-overlay-enabled:before { display: -ms-flexbox; display: flex; } + @-webkit-keyframes spin-centered { - 0% { + from { -webkit-transform: translateX(-50%) rotate(0deg); transform: translateX(-50%) rotate(0deg); } to { - -webkit-transform: translateX(-50%) rotate(1turn); - transform: translateX(-50%) rotate(1turn); + -webkit-transform: translateX(-50%) rotate(360deg); + transform: translateX(-50%) rotate(360deg); } } + @keyframes spin-centered { - 0% { + from { -webkit-transform: translateX(-50%) rotate(0deg); transform: translateX(-50%) rotate(0deg); } to { - -webkit-transform: translateX(-50%) rotate(1turn); - transform: translateX(-50%) rotate(1turn); + -webkit-transform: translateX(-50%) rotate(360deg); + transform: translateX(-50%) rotate(360deg); } } .directorist-badge { @@ -7605,6 +8191,7 @@ body.modal-overlay-enabled:before { text-transform: uppercase; border-radius: 5px; } + .directorist-badge.directorist-badge-primary { background-color: var(--directorist-color-primary); } @@ -7626,6 +8213,7 @@ body.modal-overlay-enabled:before { .directorist-badge.directorist-badge-gray { background-color: #525768; } + .directorist-badge.directorist-badge-primary-transparent { color: var(--directorist-color-primary); background-color: rgba(var(--directorist-color-primary-rgb), 0.15); @@ -7654,6 +8242,7 @@ body.modal-overlay-enabled:before { color: var(--directorist-color-gray); background-color: rgba(var(--directorist-color-gray-rgb), 0.15); } + .directorist-badge .directorist-badge-tooltip { position: absolute; top: -35px; @@ -7692,6 +8281,10 @@ body.modal-overlay-enabled:before { opacity: 1; visibility: visible; } + +/*** + Directorist Custom Range Slider Styling; +***/ .directorist-custom-range-slider-target, .directorist-custom-range-slider-target * { -ms-touch-action: none; @@ -7703,6 +8296,7 @@ body.modal-overlay-enabled:before { -webkit-box-sizing: border-box; box-sizing: border-box; } + .directorist-custom-range-slider-base, .directorist-custom-range-slider-connects { width: 100%; @@ -7710,10 +8304,13 @@ body.modal-overlay-enabled:before { position: relative; z-index: 1; } + +/* Wrapper for all connect elements. */ .directorist-custom-range-slider-connects { overflow: hidden; z-index: 0; } + .directorist-custom-range-slider-connect, .directorist-custom-range-slider-origin { will-change: transform; @@ -7728,24 +8325,31 @@ body.modal-overlay-enabled:before { -webkit-transform-style: flat; transform-style: flat; } + +/* Give origins 0 height/width so they don't interfere +* with clicking the connect elements. */ .directorist-custom-range-slider-vertical .directorist-custom-range-slider-origin { top: -100%; width: 0; } + .directorist-custom-range-slider-horizontal .directorist-custom-range-slider-origin { height: 0; } + .directorist-custom-range-slider-handle { -webkit-backface-visibility: hidden; backface-visibility: hidden; position: absolute; } + .directorist-custom-range-slider-touch-area { height: 100%; width: 100%; } + .directorist-custom-range-slider-state-tap .directorist-custom-range-slider-connect, .directorist-custom-range-slider-state-tap @@ -7757,9 +8361,12 @@ body.modal-overlay-enabled:before { transform 0.3s, -webkit-transform 0.3s; } + .directorist-custom-range-slider-state-drag * { cursor: inherit !important; } + +/* Slider size and handle placement; */ .directorist-custom-range-slider-horizontal .directorist-custom-range-slider-handle { width: 20px; @@ -7770,6 +8377,7 @@ body.modal-overlay-enabled:before { top: -8px; cursor: pointer; } + .directorist-custom-range-slider-vertical { width: 18px; } @@ -7780,6 +8388,8 @@ body.modal-overlay-enabled:before { inset-inline-end: -6px; bottom: -17px; } + +/* Giving the connect element a border radius causes issues with using transform: scale */ .directorist-custom-range-slider-target { position: relative; width: 100%; @@ -7788,16 +8398,21 @@ body.modal-overlay-enabled:before { border-radius: 2px; background-color: #d9d9d9; } + .directorist-custom-range-slider-connect { background-color: var(--directorist-color-primary); } + +/* Handles and cursors; */ .directorist-custom-range-slider-draggable { cursor: ew-resize; } + .directorist-custom-range-slider-vertical .directorist-custom-range-slider-draggable { cursor: ns-resize; } + .directorist-custom-range-slider-handle { border: 1px solid #d9d9d9; border-radius: 3px; @@ -7812,6 +8427,7 @@ body.modal-overlay-enabled:before { inset 0 1px 7px #ebebeb, 0 3px 6px -3px #bbb; } + .directorist-custom-range-slider-active { -webkit-box-shadow: inset 0 0 1px #fff, @@ -7822,40 +8438,57 @@ body.modal-overlay-enabled:before { inset 0 1px 7px #ddd, 0 3px 6px -3px #bbb; } + +/* Disabled state; */ [disabled] .directorist-custom-range-slider-connect { background-color: #b8b8b8; } + +[disabled].directorist-custom-range-slider-target, [disabled].directorist-custom-range-slider-handle, -[disabled] .directorist-custom-range-slider-handle, -[disabled].directorist-custom-range-slider-target { +[disabled] .directorist-custom-range-slider-handle { cursor: not-allowed; } + +/* Base; */ .directorist-custom-range-slider-pips, .directorist-custom-range-slider-pips * { -webkit-box-sizing: border-box; box-sizing: border-box; } + .directorist-custom-range-slider-pips { position: absolute; color: #999; } + +/* Values; */ .directorist-custom-range-slider-value { position: absolute; white-space: nowrap; text-align: center; } + .directorist-custom-range-slider-value-sub { color: #ccc; font-size: 10px; } + +/* Markings; */ .directorist-custom-range-slider-marker { position: absolute; background-color: #ccc; } -.directorist-custom-range-slider-marker-large, + .directorist-custom-range-slider-marker-sub { background-color: #aaa; } + +.directorist-custom-range-slider-marker-large { + background-color: #aaa; +} + +/* Horizontal layout; */ .directorist-custom-range-slider-pips-horizontal { padding: 10px 0; height: 80px; @@ -7863,15 +8496,18 @@ body.modal-overlay-enabled:before { left: 0; width: 100%; } + .directorist-custom-range-slider-value-horizontal { -webkit-transform: translate(-50%, 50%); transform: translate(-50%, 50%); } + .directorist-custom-range-slider-rtl .directorist-custom-range-slider-value-horizontal { -webkit-transform: translate(50%, 50%); transform: translate(50%, 50%); } + .directorist-custom-range-slider-marker-horizontal.directorist-custom-range-slider-marker { margin-left: -1px; width: 2px; @@ -7883,22 +8519,27 @@ body.modal-overlay-enabled:before { .directorist-custom-range-slider-marker-horizontal.directorist-custom-range-slider-marker-large { height: 15px; } + +/* Vertical layout; */ .directorist-custom-range-slider-pips-vertical { padding: 0 10px; height: 100%; top: 0; left: 100%; } + .directorist-custom-range-slider-value-vertical { - -webkit-transform: translateY(-50%); - transform: translateY(-50%); + -webkit-transform: translate(0, -50%); + transform: translate(0, -50%); padding-left: 25px; } + .directorist-custom-range-slider-rtl .directorist-custom-range-slider-value-vertical { - -webkit-transform: translateY(50%); - transform: translateY(50%); + -webkit-transform: translate(0, 50%); + transform: translate(0, 50%); } + .directorist-custom-range-slider-marker-vertical.directorist-custom-range-slider-marker { width: 5px; height: 2px; @@ -7910,6 +8551,7 @@ body.modal-overlay-enabled:before { .directorist-custom-range-slider-marker-vertical.directorist-custom-range-slider-marker-large { width: 15px; } + .directorist-custom-range-slider-tooltip { display: block; position: absolute; @@ -7921,36 +8563,39 @@ body.modal-overlay-enabled:before { text-align: center; white-space: nowrap; } + .directorist-custom-range-slider-horizontal .directorist-custom-range-slider-tooltip { - -webkit-transform: translate(-50%); - transform: translate(-50%); + -webkit-transform: translate(-50%, 0); + transform: translate(-50%, 0); left: 50%; bottom: 120%; } .directorist-custom-range-slider-horizontal .directorist-custom-range-slider-origin > .directorist-custom-range-slider-tooltip { - -webkit-transform: translate(50%); - transform: translate(50%); + -webkit-transform: translate(50%, 0); + transform: translate(50%, 0); left: auto; bottom: 10px; } + .directorist-custom-range-slider-vertical .directorist-custom-range-slider-tooltip { - -webkit-transform: translateY(-50%); - transform: translateY(-50%); + -webkit-transform: translate(0, -50%); + transform: translate(0, -50%); top: 50%; right: 120%; } .directorist-custom-range-slider-vertical .directorist-custom-range-slider-origin > .directorist-custom-range-slider-tooltip { - -webkit-transform: translateY(-18px); - transform: translateY(-18px); + -webkit-transform: translate(0, -18px); + transform: translate(0, -18px); top: auto; right: 28px; } + .directorist-swiper { height: 100%; overflow: hidden; @@ -7962,8 +8607,8 @@ body.modal-overlay-enabled:before { display: -ms-flexbox; display: flex; } -.directorist-swiper .swiper-slide > a, -.directorist-swiper .swiper-slide > div { +.directorist-swiper .swiper-slide > div, +.directorist-swiper .swiper-slide > a { width: 100%; height: 100%; } @@ -7975,9 +8620,6 @@ body.modal-overlay-enabled:before { z-index: 1; opacity: 0; cursor: pointer; -} -.directorist-swiper__nav, -.directorist-swiper__nav i { -webkit-transition: all 0.3s ease; transition: all 0.3s ease; } @@ -7997,7 +8639,9 @@ body.modal-overlay-enabled:before { -ms-flex-pack: center; justify-content: center; border-radius: 100%; - background-color: hsla(0, 0%, 100%, 0.9); + -webkit-transition: all 0.3s ease; + transition: all 0.3s ease; + background-color: rgba(255, 255, 255, 0.9); } .directorist-swiper__nav .directorist-icon-mask:after { width: 10px; @@ -8066,6 +8710,7 @@ body.modal-overlay-enabled:before { .directorist-swiper__nav { opacity: 1; } + .directorist-single-listing-slider { width: var(--gallery-crop-width, 740px); height: var(--gallery-crop-height, 580px); @@ -8137,6 +8782,7 @@ body.modal-overlay-enabled:before { .directorist-swiper__pagination { display: none; } + .directorist-single-listing-slider-thumb { width: var(--gallery-crop-width, 740px); max-width: 100%; @@ -8163,7 +8809,9 @@ body.modal-overlay-enabled:before { gap: 10px; } } -.directorist-single-listing-slider-thumb .directorist-swiper__navigation, +.directorist-single-listing-slider-thumb .directorist-swiper__navigation { + display: none; +} .directorist-single-listing-slider-thumb .directorist-swiper__pagination { display: none; } @@ -8218,9 +8866,9 @@ body.modal-overlay-enabled:before { border-radius: 8px; } } +.directorist-single-listing-slider-thumb .swiper-slide:hover:before, .directorist-single-listing-slider-thumb - .swiper-slide.swiper-slide-thumb-active:before, -.directorist-single-listing-slider-thumb .swiper-slide:hover:before { + .swiper-slide.swiper-slide-thumb-active:before { opacity: 1; visibility: visible; } @@ -8229,6 +8877,7 @@ body.modal-overlay-enabled:before { display: none; } } + .directorist-swiper-related-listing.directorist-swiper { padding: 15px; margin: -15px; @@ -8251,12 +8900,13 @@ body.modal-overlay-enabled:before { .directorist-swiper-related-listing.directorist-swiper .swiper-wrapper { height: auto; } -.directorist-swiper-related-listing.slider-has-less-items - > .directorist-swiper__navigation, .directorist-swiper-related-listing.slider-has-one-item + > .directorist-swiper__navigation, +.directorist-swiper-related-listing.slider-has-less-items > .directorist-swiper__navigation { display: none; } + .directorist-dropdown { position: relative; } @@ -8291,8 +8941,8 @@ body.modal-overlay-enabled:before { } .directorist-dropdown__toggle.directorist-toggle-has-icon:after { content: ""; - -webkit-mask-image: url(../images/05feea3d261c8b97573023a74fd26f03.svg); - mask-image: url(../images/05feea3d261c8b97573023a74fd26f03.svg); + -webkit-mask-image: url(../js/../images/05feea3d261c8b97573023a74fd26f03.svg); + mask-image: url(../js/../images/05feea3d261c8b97573023a74fd26f03.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 12px; @@ -8317,6 +8967,7 @@ body.modal-overlay-enabled:before { z-index: 99999; } .directorist-dropdown__links a { + display: block; font-size: 14px; font-weight: 400; display: block; @@ -8324,8 +8975,8 @@ body.modal-overlay-enabled:before { border-radius: 8px; text-decoration: none !important; color: var(--directorist-color-body); - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } .directorist-dropdown__links a.active, .directorist-dropdown__links a:hover { @@ -8352,9 +9003,12 @@ body.modal-overlay-enabled:before { border-radius: 8px; border: 2px solid var(--directorist-color-white); } + +/* custom dropdown with select */ .directorist-dropdown-select { position: relative; } + .directorist-dropdown-select-toggle { display: inline-block; border: 1px solid #eee; @@ -8369,6 +9023,7 @@ body.modal-overlay-enabled:before { left: 0; top: 0; } + .directorist-dropdown-select-items { position: absolute; width: 100%; @@ -8383,15 +9038,18 @@ body.modal-overlay-enabled:before { background-color: var(--directorist-color-white); z-index: 10; } + .directorist-dropdown-select-items.directorist-dropdown-select-show { top: 30px; visibility: visible; opacity: 1; pointer-events: all; } + .directorist-dropdown-select-item { display: block; } + .directorist-switch { position: relative; display: block; @@ -8478,31 +9136,33 @@ body.modal-overlay-enabled:before { -webkit-transform 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; } + .directorist-switch.directorist-switch-primary .directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-primary); } .directorist-switch.directorist-switch-success.directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-success); } .directorist-switch.directorist-switch-secondary.directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-secondary); } .directorist-switch.directorist-switch-danger.directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-danger); } .directorist-switch.directorist-switch-warning.directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-warning); } .directorist-switch.directorist-switch-info.directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-info); } + .directorist-switch-Yn { font-size: 15px; padding: 3px; @@ -8530,7 +9190,6 @@ body.modal-overlay-enabled:before { background-color: #3e62f5; color: var(--directorist-color-white); } -.directorist-switch-Yn input[type="checkbox"] .directorist-switch-yes, .directorist-switch-Yn input[type="checkbox"]:checked + span @@ -8538,6 +9197,10 @@ body.modal-overlay-enabled:before { background-color: transparent; color: #9b9eaf; } +.directorist-switch-Yn input[type="checkbox"] .directorist-switch-yes { + background-color: transparent; + color: #9b9eaf; +} .directorist-switch-Yn input[type="checkbox"] + span + .directorist-switch-no { background-color: #fb6665; color: var(--directorist-color-white); @@ -8548,6 +9211,8 @@ body.modal-overlay-enabled:before { .directorist-switch-Yn .directorist-switch-no { border-radius: 0 15px 15px 0; } + +/* Directorist Tooltip */ .directorist-tooltip { position: relative; } @@ -8563,8 +9228,8 @@ body.modal-overlay-enabled:before { top: 100%; margin-top: 8px; } -.directorist-tooltip[data-label]:after, -.directorist-tooltip[data-label]:before { +.directorist-tooltip[data-label]:before, +.directorist-tooltip[data-label]:after { position: absolute !important; bottom: 100%; display: none; @@ -8581,7 +9246,7 @@ body.modal-overlay-enabled:before { -webkit-transform: translateX(-50%); transform: translateX(-50%); border: 6px solid transparent; - border-top: 6px solid rgba(var(--directorist-color-dark-rgb), 1); + border-top-color: rgba(var(--directorist-color-dark-rgb), 1); } .directorist-tooltip[data-label]:after { font-size: 14px; @@ -8599,14 +9264,15 @@ body.modal-overlay-enabled:before { max-height: 200px; overflow-y: auto; } -.directorist-tooltip[data-label]:hover:after, -.directorist-tooltip[data-label]:hover:before { +.directorist-tooltip[data-label]:hover:before, +.directorist-tooltip[data-label]:hover:after { display: block; } .directorist-tooltip .directorist-tooltip__label { font-size: 16px; color: var(--directorist-color-primary); } + .directorist-tooltip.directorist-tooltip-primary[data-label]:after { background-color: var(--directorist-color-primary); } @@ -8661,16 +9327,19 @@ body.modal-overlay-enabled:before { .directorist-tooltip.directorist-tooltip-bottom.directorist-tooltip-danger[data-label]:before { border-bottom-color: var(--directorist-color-danger); } + @-webkit-keyframes showTooltip { - 0% { + from { opacity: 0; } } + @keyframes showTooltip { - 0% { + from { opacity: 0; } } +/* Alerts style */ .directorist-alert { font-size: 15px; word-break: break-word; @@ -8705,9 +9374,9 @@ body.modal-overlay-enabled:before { -ms-flex-align: start; align-items: flex-start; } -.directorist-alert__content i, +.directorist-alert__content span.la, .directorist-alert__content span.fa, -.directorist-alert__content span.la { +.directorist-alert__content i { margin-right: 12px; line-height: 1.65; } @@ -8720,7 +9389,7 @@ body.modal-overlay-enabled:before { background: none !important; text-decoration: none; margin-left: auto !important; - border: 0; + border: 0 none; -webkit-box-shadow: none; box-shadow: none; line-height: 1.2; @@ -8737,8 +9406,8 @@ body.modal-overlay-enabled:before { -ms-flex-pack: center; justify-content: center; } -.directorist-alert__close .fa, .directorist-alert__close .la, +.directorist-alert__close .fa, .directorist-alert__close i, .directorist-alert__close span { font-size: 16px; @@ -8752,6 +9421,7 @@ body.modal-overlay-enabled:before { .directorist-alert a { text-decoration: none; } + .directorist-alert.directorist-alert-primary { background: rgba(var(--directorist-color-primary-rgb), 0.1); color: var(--directorist-color-primary); @@ -8790,6 +9460,7 @@ body.modal-overlay-enabled:before { .directorist-alert--sm { padding: 10px 20px; } + .alert-danger { background: rgba(232, 0, 0, 0.3); } @@ -8801,6 +9472,8 @@ body.modal-overlay-enabled:before { .alert-danger.directorist-register-error .directorist-alert__close { color: #e80000; } + +/* Add listing notice alert */ .directorist-single-listing-notice .directorist-alert__content { -webkit-box-pack: justify; -webkit-justify-content: space-between; @@ -8814,6 +9487,7 @@ body.modal-overlay-enabled:before { .directorist-single-listing-notice .directorist-alert__content button span { font-size: 20px; } + .directorist-user-dashboard .directorist-container-fluid { -webkit-box-sizing: border-box; box-sizing: border-box; @@ -8822,6 +9496,8 @@ body.modal-overlay-enabled:before { cursor: pointer; padding-right: 0; } + +/* Modal Core Styles */ .directorist-modal { position: fixed; width: 100%; @@ -8834,6 +9510,7 @@ body.modal-overlay-enabled:before { overflow: auto; outline: 0; } + .directorist-modal__dialog { position: relative; width: 500px; @@ -8857,9 +9534,11 @@ body.modal-overlay-enabled:before { min-height: calc(100% - 80px); pointer-events: none; } + .directorist-modal__dialog-lg { width: 900px; } + .directorist-modal__content { width: 100%; background-color: var(--directorist-color-white); @@ -8902,8 +9581,8 @@ body.modal-overlay-enabled:before { line-height: 1.45; padding: 6px; text-decoration: none; - -webkit-transition: background-color 0.2s ease-in-out; - transition: background-color 0.2s ease-in-out; + -webkit-transition: 0.2s background-color ease-in-out; + transition: 0.2s background-color ease-in-out; background-color: var(--directorist-color-bg-light); } .directorist-modal__content @@ -8950,15 +9629,19 @@ body.modal-overlay-enabled:before { .directorist-form-element { resize: none; } + .directorist-modal__dialog.directorist-modal--lg { width: 800px; } + .directorist-modal__dialog.directorist-modal--xl { width: 1140px; } + .directorist-modal__dialog.directorist-modal--sm { width: 300px; } + .directorist-modal.directorist-fade { -webkit-transition: 0.3s ease; transition: 0.3s ease; @@ -8966,16 +9649,19 @@ body.modal-overlay-enabled:before { visibility: visible; z-index: 9999; } + .directorist-modal.directorist-fade:not(.directorist-show) { opacity: 0; visibility: hidden; } + .directorist-modal.directorist-show .directorist-modal__dialog { opacity: 1; visibility: visible; -webkit-transition: 0.3s ease; transition: 0.3s ease; } + .directorist-search-modal__overlay { position: fixed; top: 0; @@ -8995,8 +9681,8 @@ body.modal-overlay-enabled:before { height: 100%; background: rgba(var(--directorist-color-dark-rgb), 0.5); opacity: 1; - -webkit-transition: all 0.4s ease; - transition: all 0.4s ease; + -webkit-transition: all ease 0.4s; + transition: all ease 0.4s; } .directorist-search-modal__contents { position: fixed; @@ -9012,8 +9698,8 @@ body.modal-overlay-enabled:before { visibility: hidden; z-index: 9999; border-radius: 12px; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; background-color: var(--directorist-color-white); } @media only screen and (max-width: 575px) { @@ -9157,10 +9843,10 @@ body.modal-overlay-enabled:before { .directorist-search-field__input.directorist-form-element[type="date"], .directorist-search-modal__contents__body .directorist-search-field - .directorist-search-field__input.directorist-form-element[type="number"], + .directorist-search-field__input.directorist-form-element[type="time"], .directorist-search-modal__contents__body .directorist-search-field - .directorist-search-field__input.directorist-form-element[type="time"] { + .directorist-search-field__input.directorist-form-element[type="number"] { padding-right: 0; } .directorist-search-modal__contents__body .directorist-search-field__btn { @@ -9176,7 +9862,7 @@ body.modal-overlay-enabled:before { } .directorist-search-modal__contents__body .directorist-search-field__btn--clear - i:after { + i::after { width: 16px; height: 16px; background-color: #bcbcbc; @@ -9185,7 +9871,7 @@ body.modal-overlay-enabled:before { } .directorist-search-modal__contents__body .directorist-search-field__btn--clear:hover - i:after { + i::after { background-color: var(--directorist-color-primary); } .directorist-search-modal__contents__body @@ -9197,7 +9883,9 @@ body.modal-overlay-enabled:before { } .directorist-search-modal__contents__body .directorist-search-field.input-is-focused - .directorist-search-field__input[type="date"], + .directorist-search-field__input[type="date"] { + padding-right: 20px; +} .directorist-search-modal__contents__body .directorist-search-field.input-is-focused .directorist-search-field__input[type="time"] { @@ -9247,10 +9935,10 @@ body.modal-overlay-enabled:before { } .directorist-search-modal__contents__body .directorist-search-field.input-is-focused - .directorist-search-field__input, + .directorist-select, .directorist-search-modal__contents__body .directorist-search-field.input-is-focused - .directorist-select { + .directorist-search-field__input { position: relative; bottom: -5px; } @@ -9316,7 +10004,7 @@ body.modal-overlay-enabled:before { .directorist-search-field .directorist-filter-location-icon .directorist-icon-mask:after { - background-color: grey; + background-color: #808080; } .directorist-search-modal__contents__body .directorist-search-field @@ -9343,7 +10031,7 @@ body.modal-overlay-enabled:before { .directorist-icon-mask:after { width: 12px; height: 12px; - background-color: grey; + background-color: #808080; } .directorist-search-modal__contents__body .directorist-search-form-dropdown { border-bottom: 1px solid var(--directorist-color-border); @@ -9454,14 +10142,14 @@ body.modal-overlay-enabled:before { border: none; cursor: pointer; } -.directorist-search-modal__contents__btn i:after { +.directorist-search-modal__contents__btn i::after { width: 10px; height: 10px; - -webkit-transition: background-color 0.3s ease; - transition: background-color 0.3s ease; + -webkit-transition: background-color ease 0.3s; + transition: background-color ease 0.3s; background-color: var(--directorist-color-dark); } -.directorist-search-modal__contents__btn:hover i:after { +.directorist-search-modal__contents__btn:hover i::after { background-color: var(--directorist-color-danger); } @media only screen and (max-width: 575px) { @@ -9470,7 +10158,7 @@ body.modal-overlay-enabled:before { height: auto; background: transparent; } - .directorist-search-modal__contents__btn i:after { + .directorist-search-modal__contents__btn i::after { width: 12px; height: 12px; } @@ -9533,8 +10221,8 @@ body.modal-overlay-enabled:before { top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; width: 16px; height: 16px; -webkit-mask-position: center; @@ -9542,8 +10230,8 @@ body.modal-overlay-enabled:before { -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; background-color: var(--directorist-color-body); - -webkit-mask-image: url(../images/9ddfe727fdcddbb985d69ce2e9a06358.svg); - mask-image: url(../images/9ddfe727fdcddbb985d69ce2e9a06358.svg); + -webkit-mask-image: url(../js/../images/9ddfe727fdcddbb985d69ce2e9a06358.svg); + mask-image: url(../js/../images/9ddfe727fdcddbb985d69ce2e9a06358.svg); } .directorist-search-modal--basic .directorist-search-form-action__modal__btn-search { @@ -9553,7 +10241,7 @@ body.modal-overlay-enabled:before { } .directorist-search-modal--basic .directorist-search-form-action__modal__btn-search - i:after { + i::after { background-color: currentColor; } @media screen and (max-width: 575px) { @@ -9585,8 +10273,8 @@ body.modal-overlay-enabled:before { mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; - -webkit-mask-image: url(../images/447c512963a6e865700c065e70bb46b7.svg); - mask-image: url(../images/447c512963a6e865700c065e70bb46b7.svg); + -webkit-mask-image: url(../js/../images/447c512963a6e865700c065e70bb46b7.svg); + mask-image: url(../js/../images/447c512963a6e865700c065e70bb46b7.svg); opacity: 0; } .directorist-search-modal--basic @@ -9650,11 +10338,11 @@ body.modal-overlay-enabled:before { .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field - .directorist-search-field__input, + .directorist-select, .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field - .directorist-select { + .directorist-search-field__input { width: 100%; padding-right: 0; } @@ -9779,23 +10467,23 @@ body.modal-overlay-enabled:before { .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field.input-is-focused:not(.input-has-noLabel) - .directorist-filter-location-icon + .directorist-select ~ .directorist-search-field__btn--clear, .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field.input-is-focused:not(.input-has-noLabel) - .directorist-select + .directorist-filter-location-icon ~ .directorist-search-field__btn--clear { right: 5px !important; } .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field.input-is-focused:not(.input-has-noLabel) - .directorist-search-field__input, + .directorist-select, .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field.input-is-focused:not(.input-has-noLabel) - .directorist-select { + .directorist-search-field__input { padding-right: 0; } .directorist-search-modal--basic @@ -9864,32 +10552,32 @@ body.modal-overlay-enabled:before { } .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-has-value, + .directorist-search-field.input-is-focused, .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-is-focused { + .directorist-search-field.input-has-value { padding-right: 0; } .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-has-value + .directorist-search-field.input-is-focused .directorist-select, .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-is-focused + .directorist-search-field.input-has-value .directorist-select { width: 100%; } .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-has-value + .directorist-search-field.input-is-focused .directorist-select .select2-container .directorist-select2-addons-area .directorist-select2-dropdown-toggle, .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-is-focused + .directorist-search-field.input-has-value .directorist-select .select2-container .directorist-select2-addons-area @@ -9898,12 +10586,12 @@ body.modal-overlay-enabled:before { } .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-has-value + .directorist-search-field.input-is-focused .directorist-select ~ .directorist-search-field__btn--clear, .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-is-focused + .directorist-search-field.input-has-value .directorist-select ~ .directorist-search-field__btn--clear { right: 20px !important; @@ -9921,10 +10609,10 @@ body.modal-overlay-enabled:before { .directorist-search-modal--basic .open_now > label { display: none; } +.directorist-search-modal--basic .open_now .check-btn, .directorist-search-modal--basic .directorist-search-modal__input - .directorist-price-ranges, -.directorist-search-modal--basic .open_now .check-btn { + .directorist-price-ranges { padding: 10px 0; } .directorist-search-modal--basic @@ -9976,13 +10664,13 @@ body.modal-overlay-enabled:before { display: -ms-flexbox; display: flex; } -.directorist-search-modal--basic .directorist-search-field-price_range > label, .directorist-search-modal--basic .directorist-search-field-pricing > label, +.directorist-search-modal--basic .directorist-search-field__number > label, +.directorist-search-modal--basic .directorist-search-field-text_range > label, +.directorist-search-modal--basic .directorist-search-field-price_range > label, .directorist-search-modal--basic .directorist-search-field-radius_search - > label, -.directorist-search-modal--basic .directorist-search-field-text_range > label, -.directorist-search-modal--basic .directorist-search-field__number > label { + > label { position: unset; -webkit-transform: unset; transform: unset; @@ -10056,8 +10744,10 @@ body.modal-overlay-enabled:before { opacity: 1; } .directorist-search-modal--full .directorist-search-field-pricing > label, -.directorist-search-modal--full .directorist-search-field-radius_search > label, -.directorist-search-modal--full .directorist-search-field-text_range > label { +.directorist-search-modal--full .directorist-search-field-text_range > label, +.directorist-search-modal--full + .directorist-search-field-radius_search + > label { display: block; font-size: 16px; font-weight: 500; @@ -10076,8 +10766,8 @@ body.modal-overlay-enabled:before { border-radius: 8px; min-height: 40px; margin: 0 0 15px; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } .directorist-search-modal__input .directorist-select { display: -webkit-inline-box; @@ -10092,32 +10782,32 @@ body.modal-overlay-enabled:before { -ms-flex: 1; flex: 1; } +.directorist-search-modal__input .select2.select2-container .select2-selection, .directorist-search-modal__input .directorist-form-group .directorist-form-element, .directorist-search-modal__input .directorist-form-group - .directorist-form-element:focus, -.directorist-search-modal__input .select2.select2-container .select2-selection { - border: 0; + .directorist-form-element:focus { + border: 0 none; } .directorist-search-modal__input__btn { width: 0; padding: 0 10px; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } -.directorist-search-modal__input__btn .directorist-icon-mask:after { +.directorist-search-modal__input__btn .directorist-icon-mask::after { width: 14px; height: 14px; opacity: 0; visibility: hidden; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; background-color: var(--directorist-color-body); } .directorist-search-modal__input - .input-is-focused.directorist-search-query:after { + .input-is-focused.directorist-search-query::after { display: none; } .directorist-search-modal__input @@ -10323,7 +11013,7 @@ body.modal-overlay-enabled:before { i:after { width: 12px; height: 12px; - background-color: grey; + background-color: #808080; } @media screen and (max-width: 575px) { .directorist-search-modal @@ -10377,11 +11067,11 @@ body.modal-overlay-enabled:before { .directorist-search-modal .directorist-search-basic-dropdown .directorist-search-basic-dropdown-content - .directorist-checkbox-wrapper, + .directorist-radio-wrapper, .directorist-search-modal .directorist-search-basic-dropdown .directorist-search-basic-dropdown-content - .directorist-radio-wrapper { + .directorist-checkbox-wrapper { -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; @@ -10395,6 +11085,7 @@ body.modal-overlay-enabled:before { .select2-selection__placeholder { color: var(--directorist-color-dark); } + .directorist-content-active.directorist-overlay-active { overflow: hidden; } @@ -10402,15 +11093,54 @@ body.modal-overlay-enabled:before { .directorist-search-modal__input .select2.select2-container .select2-selection { - border: 0 !important; + border: 0 none !important; +} + +/* Responsive CSS */ +/* Large devices (desktops, 992px and up) */ +@media (min-width: 992px) and (max-width: 1199.98px) { + .at-modal-content.at-modal-xl, + .at-modal-content.at-modal-lg, + .at-modal-content.at-modal-md, + .at-modal-content.at-modal-sm { + width: calc(100% - 60px); + } +} +/* Medium devices (tablets, 768px and up) */ +@media (min-width: 768px) and (max-width: 991.98px) { + .at-modal-content.at-modal-xl, + .at-modal-content.at-modal-lg, + .at-modal-content.at-modal-md, + .at-modal-content.at-modal-sm { + width: calc(100% - 60px); + } +} +/* Small devices (landscape phones, 576px and up) */ +@media (min-width: 576px) and (max-width: 767.98px) { + .at-modal-content.at-modal-xl, + .at-modal-content.at-modal-lg, + .at-modal-content.at-modal-md, + .at-modal-content.at-modal-sm { + width: calc(100% - 60px); + } +} +/* Extra small devices (portrait phones, less than 576px) */ +@media (max-width: 575.98px) { + .at-modal-content.at-modal-xl, + .at-modal-content.at-modal-lg, + .at-modal-content.at-modal-md, + .at-modal-content.at-modal-sm { + width: calc(100% - 30px); + } } input:-webkit-autofill, -input:-webkit-autofill:active, +input:-webkit-autofill:hover, input:-webkit-autofill:focus, -input:-webkit-autofill:hover { +input:-webkit-autofill:active { -webkit-transition: background-color 5000s ease-in-out 0s !important; transition: background-color 5000s ease-in-out 0s !important; } + .directorist-content-active .directorist-card { border: none; padding: 0; @@ -10473,6 +11203,7 @@ input:-webkit-autofill:hover { .directorist-content-active .directorist-card__body p:empty { display: none; } + .directorist-color-picker-wrap .wp-color-result { text-decoration: none; margin: 0 6px 0 0 !important; @@ -10496,6 +11227,7 @@ input:-webkit-autofill:hover { font-weight: 500; line-height: 2.4; } + .directorist-form-group { position: relative; width: 100%; @@ -10555,12 +11287,14 @@ input:-webkit-autofill:hover { -ms-flex-order: 2; order: 2; } + .directorist-advanced-filter__advanced__element .directorist-search-field.input-is-focused .directorist-form-group__with-prefix .directorist-search-field__input { padding-right: 0 !important; } + .directorist-form-group label { margin: 0; font-size: 14px; @@ -10596,6 +11330,7 @@ input:-webkit-autofill:hover { margin-top: 10px; color: var(--directorist-color-deep-gray); } + .directorist-form-element.directorist-form-element-lg { height: 50px; } @@ -10610,6 +11345,7 @@ input:-webkit-autofill:hover { height: 30px; line-height: 30px; } + .directorist-form-group.directorist-icon-left .directorist-input-icon { left: 0; } @@ -10651,12 +11387,15 @@ input:-webkit-autofill:hover { margin-top: 0; } } + .directorist-label { margin-bottom: 0; } + input.directorist-toggle-input { display: none; } + .directorist-toggle-input-label { display: -webkit-box; display: -webkit-flex; @@ -10671,6 +11410,7 @@ input.directorist-toggle-input { -ms-flex-pack: justify; justify-content: space-between; } + span.directorist-toggle-input-label-text { -webkit-box-flex: 1; -webkit-flex-grow: 1; @@ -10678,45 +11418,51 @@ span.directorist-toggle-input-label-text { flex-grow: 1; padding-right: 10px; } + span.directorist-toggle-input-label-icon { position: relative; + display: inline-block; width: 50px; height: 25px; border-radius: 30px; background-color: #d9d9d9; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } -span.directorist-toggle-input-label-icon, -span.directorist-toggle-input-label-icon:after { - display: inline-block; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; -} -span.directorist-toggle-input-label-icon:after { + +span.directorist-toggle-input-label-icon::after { content: ""; position: absolute; + display: inline-block; width: 15px; height: 15px; border-radius: 50%; background-color: var(--directorist-color-white); top: 50%; - -webkit-transform: translateY(-50%); - transform: translateY(-50%); + -webkit-transform: translate(0, -50%); + transform: translate(0, -50%); + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } + input.directorist-toggle-input:checked + .directorist-toggle-input-label span.directorist-toggle-input-label-icon { background-color: #4353ff; } + input.directorist-toggle-input:not(:checked) + .directorist-toggle-input-label - span.directorist-toggle-input-label-icon:after { + span.directorist-toggle-input-label-icon::after { left: 5px; } + input.directorist-toggle-input:checked + .directorist-toggle-input-label - span.directorist-toggle-input-label-icon:after { + span.directorist-toggle-input-label-icon::after { left: calc(100% - 20px); } + .directorist-tab-navigation { padding: 0; margin: 0 -10px 20px; @@ -10733,6 +11479,7 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; } + .directorist-tab-navigation-list-item { position: relative; list-style: none; @@ -10753,7 +11500,7 @@ input.directorist-toggle-input:checked color: var(--directorist-color-white); background-color: var(--directorist-color-primary); } -.directorist-tab-navigation-list-item.--is-active:after { +.directorist-tab-navigation-list-item.--is-active::after { content: ""; position: absolute; left: 50%; @@ -10763,13 +11510,14 @@ input.directorist-toggle-input:checked border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 10px solid var(--directorist-color-primary); - -webkit-transform: translate(-50%); - transform: translate(-50%); + -webkit-transform: translate(-50%, 0); + transform: translate(-50%, 0); } .directorist-tab-navigation-list-item .directorist-tab-navigation-list-item-link { margin: -15px -20px; } + .directorist-tab-navigation-list-item-link { position: relative; display: block; @@ -10780,8 +11528,8 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-bg-light); } .directorist-tab-navigation-list-item-link:active, -.directorist-tab-navigation-list-item-link:focus, -.directorist-tab-navigation-list-item-link:visited { +.directorist-tab-navigation-list-item-link:visited, +.directorist-tab-navigation-list-item-link:focus { outline: none; -webkit-box-shadow: none; box-shadow: none; @@ -10792,7 +11540,7 @@ input.directorist-toggle-input:checked color: var(--directorist-color-white); background-color: var(--directorist-color-primary); } -.directorist-tab-navigation-list-item-link.--is-active:after { +.directorist-tab-navigation-list-item-link.--is-active::after { content: ""; position: absolute; left: 50%; @@ -10802,34 +11550,47 @@ input.directorist-toggle-input:checked border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 10px solid var(--directorist-color-primary); - -webkit-transform: translate(-50%); - transform: translate(-50%); + -webkit-transform: translate(-50%, 0); + transform: translate(-50%, 0); } + .directorist-tab-content { display: none; } .directorist-tab-content.--is-active { display: block; } + .directorist-headline-4 { - margin: 0 0 15px; + margin: 0 0 15px 0; font-size: 15px; - font-weight: 400; + font-weight: normal; } + .directorist-label-addon-prepend { margin-right: 10px; } + .--is-hidden { display: none; } + .directorist-flex-center { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; } + .directorist-checkbox, -.directorist-flex-center, .directorist-radio { display: -webkit-box; display: -webkit-flex; @@ -11023,6 +11784,7 @@ input.directorist-toggle-input:checked opacity: 1; visibility: visible; } + .directorist-checkbox input[type="checkbox"] + .directorist-checkbox__label:before { @@ -11030,8 +11792,8 @@ input.directorist-toggle-input:checked left: 5px; top: 5px; content: ""; - -webkit-mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); - mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); + -webkit-mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); + mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 10px; @@ -11051,6 +11813,7 @@ input.directorist-toggle-input:checked left: 3px; } } + .directorist-radio input[type="radio"] + .directorist-radio__label:before { position: absolute; left: 5px; @@ -11059,7 +11822,7 @@ input.directorist-toggle-input:checked height: 8px; border-radius: 50%; background-color: var(--directorist-color-white); - border: 0; + border: 0 none; opacity: 0; visibility: hidden; z-index: 2; @@ -11081,14 +11844,15 @@ input.directorist-toggle-input:checked .directorist-radio.directorist-radio-circle input[type="radio"] + .directorist-radio__label:before { - -webkit-mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); - mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); + -webkit-mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); + mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 10px; height: 10px; background-color: var(--directorist-color-white); } + .directorist-checkbox.directorist-checkbox-circle input[type="checkbox"] + .directorist-checkbox__label:after, @@ -11115,6 +11879,7 @@ input.directorist-toggle-input:checked + .directorist-radio__label:after { border-radius: 50%; } + .directorist-checkbox.directorist-checkbox-primary input[type="checkbox"]:checked + .directorist-checkbox__label:after, @@ -11175,6 +11940,7 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-primary); border-color: var(--directorist-color-primary); } + .directorist-radio.directorist-radio-primary input[type="radio"]:checked + .directorist-radio__label:after { @@ -11208,6 +11974,7 @@ input.directorist-toggle-input:checked + .directorist-radio__label:before { background-color: #3e62f5 !important; } + .directorist-checkbox-rating { gap: 20px; width: 100%; @@ -11243,6 +12010,7 @@ input.directorist-toggle-input:checked height: 14px; margin-top: 1px; } + .directorist-radio.directorist-radio-theme-admin input[type="radio"] + .directorist-radio__label:before { @@ -11270,6 +12038,7 @@ input.directorist-toggle-input:checked .directorist-radio.directorist-radio-theme-admin .directorist-radio__label { padding-left: 35px !important; } + .directorist-checkbox.directorist-checkbox-theme-admin input[type="checkbox"] + .directorist-checkbox__label:before { @@ -11300,6 +12069,7 @@ input.directorist-toggle-input:checked .directorist-checkbox__label { padding-left: 35px !important; } + .directorist-content-active { -webkit-box-sizing: border-box; box-sizing: border-box; @@ -11436,13 +12206,6 @@ input.directorist-toggle-input:checked } } .directorist-content-active .directorist-author-profile__meta-list__item { - gap: 15px; - margin: 0; - padding: 18px 75px 18px 18px; - background-color: var(--directorist-color-bg-gray); -} -.directorist-content-active .directorist-author-profile__meta-list__item, -.directorist-content-active .directorist-author-profile__meta-list__item i { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -11451,9 +12214,22 @@ input.directorist-toggle-input:checked -webkit-align-items: center; -ms-flex-align: center; align-items: center; + gap: 15px; + padding: 18px; + margin: 0; + padding-right: 75px; border-radius: 10px; + background-color: var(--directorist-color-bg-gray); } .directorist-content-active .directorist-author-profile__meta-list__item i { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; @@ -11461,6 +12237,7 @@ input.directorist-toggle-input:checked width: 44px; height: 44px; background-color: var(--directorist-color-primary); + border-radius: 10px; } .directorist-content-active .directorist-author-profile__meta-list__item @@ -11675,7 +12452,7 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-author-info-list__item - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 15px; height: 15px; background-color: var(--directorist-color-deep-gray); @@ -11753,8 +12530,8 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-author-social__item a - .directorist-icon-mask:after { - background-color: grey; + .directorist-icon-mask::after { + background-color: #808080; -webkit-transition: 0.3s ease; transition: 0.3s ease; } @@ -11768,11 +12545,14 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-author-social__item a:hover - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } -.directorist-content-active .directorist-author-social__item a:hover span.fa, -.directorist-content-active .directorist-author-social__item a:hover span.la { +.directorist-content-active .directorist-author-social__item a:hover { + /* Legacy Icon */ +} +.directorist-content-active .directorist-author-social__item a:hover span.la, +.directorist-content-active .directorist-author-social__item a:hover span.fa { background: none; color: var(--directorist-color-white); } @@ -11791,13 +12571,13 @@ input.directorist-toggle-input:checked .directorist-author-info-widget--light .directorist-author-social-item, .directorist-content-active - .directorist-author-social--light + .directorist-single-author-info--light .directorist-author-social-item, .directorist-content-active .directorist-authors-section--light .directorist-author-social-item, .directorist-content-active - .directorist-single-author-info--light + .directorist-author-social--light .directorist-author-social-item { display: inline-block; margin: 0; @@ -11807,7 +12587,7 @@ input.directorist-toggle-input:checked .directorist-author-social-item a, .directorist-content-active - .directorist-author-social--light + .directorist-single-author-info--light .directorist-author-social-item a, .directorist-content-active @@ -11815,7 +12595,7 @@ input.directorist-toggle-input:checked .directorist-author-social-item a, .directorist-content-active - .directorist-single-author-info--light + .directorist-author-social--light .directorist-author-social-item a { font-size: 15px; @@ -11840,8 +12620,8 @@ input.directorist-toggle-input:checked border-radius: 4px; color: var(--directorist-color-white); overflow: hidden; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .directorist-content-active .directorist-author-info-widget--light @@ -11849,7 +12629,7 @@ input.directorist-toggle-input:checked a .directorist-icon-mask:after, .directorist-content-active - .directorist-author-social--light + .directorist-single-author-info--light .directorist-author-social-item a .directorist-icon-mask:after, @@ -11859,7 +12639,7 @@ input.directorist-toggle-input:checked a .directorist-icon-mask:after, .directorist-content-active - .directorist-single-author-info--light + .directorist-author-social--light .directorist-author-social-item a .directorist-icon-mask:after { @@ -11870,7 +12650,7 @@ input.directorist-toggle-input:checked .directorist-author-social-item a:hover, .directorist-content-active - .directorist-author-social--light + .directorist-single-author-info--light .directorist-author-social-item a:hover, .directorist-content-active @@ -11878,7 +12658,7 @@ input.directorist-toggle-input:checked .directorist-author-social-item a:hover, .directorist-content-active - .directorist-single-author-info--light + .directorist-author-social--light .directorist-author-social-item a:hover { background-color: var(--directorist-color-primary); @@ -11889,7 +12669,7 @@ input.directorist-toggle-input:checked a:hover .directorist-icon-mask:after, .directorist-content-active - .directorist-author-social--light + .directorist-single-author-info--light .directorist-author-social-item a:hover .directorist-icon-mask:after, @@ -11899,7 +12679,7 @@ input.directorist-toggle-input:checked a:hover .directorist-icon-mask:after, .directorist-content-active - .directorist-single-author-info--light + .directorist-author-social--light .directorist-author-social-item a:hover .directorist-icon-mask:after { @@ -11989,7 +12769,7 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-author-listing-top .directorist-type-nav__link:hover - i:after { + i::after { background-color: var(--directorist-color-primary); } .directorist-content-active @@ -12015,7 +12795,7 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-author-listing-top .directorist-type-nav__list__current - i:after { + i::after { background-color: var(--directorist-color-primary); } .directorist-content-active @@ -12040,8 +12820,8 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-author-listing-top .directorist-dropdown__toggle:after { - -webkit-mask-image: url(../images/87cd0434594c4fe6756c2af1404a5f32.svg); - mask-image: url(../images/87cd0434594c4fe6756c2af1404a5f32.svg); + -webkit-mask-image: url(../js/../images/87cd0434594c4fe6756c2af1404a5f32.svg); + mask-image: url(../js/../images/87cd0434594c4fe6756c2af1404a5f32.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 16px; @@ -12071,6 +12851,8 @@ input.directorist-toggle-input:checked .directorist-type-nav { background: none; } + +/* category style three */ .directorist-category-child__card { border: 1px solid #eee; border-radius: 4px; @@ -12129,6 +12911,8 @@ input.directorist-toggle-input:checked .directorist-category-child__card__body li a span { color: var(--directorist-color-body); } + +/* All listing archive page styles */ .directorist-archive-contents { -webkit-box-sizing: border-box; box-sizing: border-box; @@ -12157,6 +12941,8 @@ input.directorist-toggle-input:checked display: none; } } + +/* Directory type nav */ .directorist-content-active .directorist-type-nav__link { position: relative; display: -webkit-box; @@ -12186,7 +12972,7 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-type-nav__link:hover - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-primary); } .directorist-content-active .directorist-type-nav__link:focus { @@ -12198,7 +12984,7 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-type-nav__link - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 22px; height: 20px; background-color: var(--directorist-color-body); @@ -12271,13 +13057,15 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-type-nav__list .current - .directorist-icon-mask:after, + .directorist-icon-mask::after, .directorist-content-active .directorist-type-nav__list .directorist-type-nav__list__current - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-primary); } + +/* Archive header bar contents */ .directorist-content-active .directorist-archive-contents__top .directorist-type-nav { @@ -12342,12 +13130,19 @@ input.directorist-toggle-input:checked color: var(--directorist-color-body); } .directorist-content-active .directorist-listings-header__left { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; gap: 15px; } -.directorist-content-active .directorist-listings-header__left, .directorist-content-active .directorist-listings-header__left .directorist-filter-btn { @@ -12359,10 +13154,6 @@ input.directorist-toggle-input:checked -webkit-align-items: center; -ms-flex-align: center; align-items: center; -} -.directorist-content-active - .directorist-listings-header__left - .directorist-filter-btn { gap: 5px; font-size: 14px; font-weight: 400; @@ -12372,13 +13163,13 @@ input.directorist-toggle-input:checked padding: 0 20px; border-radius: 8px; cursor: pointer; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } .directorist-content-active .directorist-listings-header__left .directorist-filter-btn - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 14px; height: 14px; margin-right: 2px; @@ -12447,14 +13238,8 @@ input.directorist-toggle-input:checked .directorist-archive-notfound { padding: 15px; } + .directorist-viewas { - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - gap: 8px; -} -.directorist-viewas, -.directorist-viewas__item { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -12463,12 +13248,24 @@ input.directorist-toggle-input:checked -webkit-align-items: center; -ms-flex-align: center; align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + gap: 8px; } .directorist-viewas__item { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-box-sizing: border-box; box-sizing: border-box; width: 40px; @@ -12478,7 +13275,7 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-light); color: var(--directorist-color-body); } -.directorist-viewas__item i:after { +.directorist-viewas__item i::after { width: 16px; height: 16px; background-color: var(--directorist-color-body); @@ -12487,7 +13284,7 @@ input.directorist-toggle-input:checked border-color: var(--directorist-color-primary); background-color: var(--directorist-color-primary); } -.directorist-viewas__item.active i:after { +.directorist-viewas__item.active i::after { background-color: var(--directorist-color-white); } @media only screen and (max-width: 575px) { @@ -12495,6 +13292,7 @@ input.directorist-toggle-input:checked display: none; } } + .listing-with-sidebar { display: -webkit-box; display: -webkit-flex; @@ -12621,13 +13419,13 @@ input.directorist-toggle-input:checked .directorist-search-field__input { bottom: 0; } -.listing-with-sidebar__searchform .directorist-search-field-price_range > label, .listing-with-sidebar__searchform .directorist-search-field-pricing > label, +.listing-with-sidebar__searchform .directorist-search-field__number > label, +.listing-with-sidebar__searchform .directorist-search-field-text_range > label, +.listing-with-sidebar__searchform .directorist-search-field-price_range > label, .listing-with-sidebar__searchform .directorist-search-field-radius_search - > label, -.listing-with-sidebar__searchform .directorist-search-field-text_range > label, -.listing-with-sidebar__searchform .directorist-search-field__number > label { + > label { position: unset; -webkit-transform: unset; transform: unset; @@ -12649,6 +13447,7 @@ input.directorist-toggle-input:checked } .listing-with-sidebar__header .directorist-archive-sidebar-toggle { width: auto; + padding: 0 20px; font-size: 14px; font-weight: 400; min-height: 40px; @@ -12669,7 +13468,7 @@ input.directorist-toggle-input:checked } .listing-with-sidebar__header .directorist-archive-sidebar-toggle - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: currentColor; width: 14px; height: 14px; @@ -12692,7 +13491,7 @@ input.directorist-toggle-input:checked } .listing-with-sidebar__header .directorist-archive-sidebar-toggle--active - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .listing-with-sidebar__sidebar { @@ -12725,7 +13524,7 @@ input.directorist-toggle-input:checked left: -360px; top: 0; height: 100svh; - background-color: #fff; + background-color: white; z-index: 9999; overflow: auto; -webkit-box-shadow: 0 10px 15px @@ -12840,11 +13639,11 @@ input.directorist-toggle-input:checked } .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element - .directorist-search-field.directorist-search-field-price_range + .directorist-search-field.directorist-search-field-radius_search > label, .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element - .directorist-search-field.directorist-search-field-radius_search + .directorist-search-field.directorist-search-field-price_range > label, .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element @@ -12863,38 +13662,38 @@ input.directorist-toggle-input:checked .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-checkbox-wrapper, + .directorist-search-tags, .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-radio-wrapper, + .directorist-search-review, .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-search-review, + .directorist-radio-wrapper, .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-search-tags { + .directorist-checkbox-wrapper { margin-top: 13px; } @media only screen and (max-width: 575px) { .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-checkbox-wrapper, + .directorist-search-tags, .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-radio-wrapper, + .directorist-search-review, .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-search-review, + .directorist-radio-wrapper, .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-search-tags { + .directorist-checkbox-wrapper { margin-top: 5px; } } @@ -12980,7 +13779,7 @@ input.directorist-toggle-input:checked } .listing-with-sidebar__sidebar .directorist-price-ranges__price-frequency__btn:last-child { - border: 0; + border: 0 none; } .listing-with-sidebar__sidebar .directorist-checkbox-wrapper, .listing-with-sidebar__sidebar .directorist-radio-wrapper, @@ -13162,8 +13961,8 @@ input.directorist-toggle-input:checked -ms-flex-direction: column; flex-direction: column; } -.listing-with-sidebar__listing .directorist-archive-items, -.listing-with-sidebar__listing .directorist-header-bar { +.listing-with-sidebar__listing .directorist-header-bar, +.listing-with-sidebar__listing .directorist-archive-items { width: 100%; display: -webkit-box; display: -webkit-flex; @@ -13171,10 +13970,10 @@ input.directorist-toggle-input:checked display: flex; } .listing-with-sidebar__listing - .directorist-archive-items + .directorist-header-bar .directorist-container-fluid, .listing-with-sidebar__listing - .directorist-header-bar + .directorist-archive-items .directorist-container-fluid { padding: 0; } @@ -13251,6 +14050,7 @@ input.directorist-toggle-input:checked right: -15px; } } + @media only screen and (max-width: 991px) { .logged-in .listing-with-sidebar__sidebar .directorist-search-form__box { padding-top: 30px; @@ -13266,14 +14066,18 @@ input.directorist-toggle-input:checked padding-top: 0; } } + .directorist-advanced-filter__basic { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; } -.directorist-advanced-filter__basic, .directorist-advanced-filter__basic__element { display: -webkit-box; display: -webkit-flex; @@ -13412,9 +14216,9 @@ input.directorist-toggle-input:checked .directorist-advanced-filter__advanced__element { overflow: hidden; } -.directorist-advanced-filter__advanced__element.directorist-search-field-category - .directorist-search-field.input-is-focused, .directorist-advanced-filter__advanced__element.directorist-search-field-location + .directorist-search-field.input-is-focused, +.directorist-advanced-filter__advanced__element.directorist-search-field-category .directorist-search-field.input-is-focused { margin-top: 0; } @@ -13533,7 +14337,9 @@ input.directorist-toggle-input:checked } .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-search-field__input[type="date"], + .directorist-search-field__input[type="date"] { + padding-right: 0; +} .directorist-advanced-filter__advanced__element .directorist-search-field .directorist-search-field__input[type="time"] { @@ -13596,7 +14402,9 @@ input.directorist-toggle-input:checked } .directorist-advanced-filter__advanced__element .directorist-search-field.input-is-focused - .directorist-search-field__input[type="date"], + .directorist-search-field__input[type="date"] { + padding-right: 20px; +} .directorist-advanced-filter__advanced__element .directorist-search-field.input-is-focused .directorist-search-field__input[type="time"] { @@ -13628,10 +14436,10 @@ input.directorist-toggle-input:checked opacity: 1; } .directorist-advanced-filter__advanced__element - .directorist-search-field.directorist-search-field-price_range + .directorist-search-field.directorist-search-field-radius_search > label, .directorist-advanced-filter__advanced__element - .directorist-search-field.directorist-search-field-radius_search + .directorist-search-field.directorist-search-field-price_range > label, .directorist-advanced-filter__advanced__element .directorist-search-field.directorist-search-field-text_range @@ -13758,32 +14566,32 @@ input.directorist-toggle-input:checked margin: 0; color: var(--directorist-color-dark); } +.directorist-advanced-filter__advanced__element.directorist-search-field-tag, +.directorist-advanced-filter__advanced__element.directorist-search-field-radio, +.directorist-advanced-filter__advanced__element.directorist-search-field-review, .directorist-advanced-filter__advanced__element.directorist-search-field-checkbox, -.directorist-advanced-filter__advanced__element.directorist-search-field-color_picker, .directorist-advanced-filter__advanced__element.directorist-search-field-location, .directorist-advanced-filter__advanced__element.directorist-search-field-pricing, -.directorist-advanced-filter__advanced__element.directorist-search-field-radio, -.directorist-advanced-filter__advanced__element.directorist-search-field-review, -.directorist-advanced-filter__advanced__element.directorist-search-field-tag { +.directorist-advanced-filter__advanced__element.directorist-search-field-color_picker { overflow: visible; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } -.directorist-advanced-filter__advanced__element.directorist-search-field-checkbox +.directorist-advanced-filter__advanced__element.directorist-search-field-tag .directorist-search-field, -.directorist-advanced-filter__advanced__element.directorist-search-field-color_picker +.directorist-advanced-filter__advanced__element.directorist-search-field-radio .directorist-search-field, -.directorist-advanced-filter__advanced__element.directorist-search-field-location +.directorist-advanced-filter__advanced__element.directorist-search-field-review .directorist-search-field, -.directorist-advanced-filter__advanced__element.directorist-search-field-pricing +.directorist-advanced-filter__advanced__element.directorist-search-field-checkbox .directorist-search-field, -.directorist-advanced-filter__advanced__element.directorist-search-field-radio +.directorist-advanced-filter__advanced__element.directorist-search-field-location .directorist-search-field, -.directorist-advanced-filter__advanced__element.directorist-search-field-review +.directorist-advanced-filter__advanced__element.directorist-search-field-pricing .directorist-search-field, -.directorist-advanced-filter__advanced__element.directorist-search-field-tag +.directorist-advanced-filter__advanced__element.directorist-search-field-color_picker .directorist-search-field { width: 100%; } @@ -13860,6 +14668,7 @@ input.directorist-toggle-input:checked margin-top: 10px; } } + .directorist-search-field-radius_search { position: relative; } @@ -13869,6 +14678,7 @@ input.directorist-toggle-input:checked right: 0; top: 0; } + .directorist-search-field-review .directorist-checkbox { display: block; width: auto; @@ -13948,46 +14758,55 @@ input.directorist-toggle-input:checked } .directorist-search-field-review .directorist-checkbox - input[value="1"] + input[value="5"] + label - .directorist-icon-mask:first-child:after, + .directorist-icon-mask:after { + background-color: var(--directorist-color-star); +} .directorist-search-field-review .directorist-checkbox - input[value="2"] + input[value="4"] + label - .directorist-icon-mask:first-child:after, + .directorist-icon-mask:not(:nth-child(5)):after { + background-color: var(--directorist-color-star); +} .directorist-search-field-review .directorist-checkbox - input[value="2"] + input[value="3"] + label - .directorist-icon-mask:nth-child(2):after, + .directorist-icon-mask:nth-child(1):after, .directorist-search-field-review .directorist-checkbox input[value="3"] + label - .directorist-icon-mask:first-child:after, + .directorist-icon-mask:nth-child(2):after, .directorist-search-field-review .directorist-checkbox input[value="3"] + label - .directorist-icon-mask:nth-child(2):after, + .directorist-icon-mask:nth-child(3):after { + background-color: var(--directorist-color-star); +} .directorist-search-field-review .directorist-checkbox - input[value="3"] + input[value="2"] + label - .directorist-icon-mask:nth-child(3):after, + .directorist-icon-mask:nth-child(1):after, .directorist-search-field-review .directorist-checkbox - input[value="4"] + input[value="2"] + label - .directorist-icon-mask:not(:nth-child(5)):after, + .directorist-icon-mask:nth-child(2):after { + background-color: var(--directorist-color-star); +} .directorist-search-field-review .directorist-checkbox - input[value="5"] + input[value="1"] + label - .directorist-icon-mask:after { + .directorist-icon-mask:nth-child(1):after { background-color: var(--directorist-color-star); } + .directorist-search-field .directorist-price-ranges { display: -webkit-box; display: -webkit-flex; @@ -14056,7 +14875,7 @@ input.directorist-toggle-input:checked -webkit-flex: 1; -ms-flex: 1; flex: 1; - border: 0 !important; + border: 0 none !important; } .directorist-search-field .directorist-price-ranges__item.directorist-form-group:focus-within { @@ -14174,18 +14993,25 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-white); } } + .directorist-search-field { font-size: 15px; } -.directorist-search-field .wp-picker-container .wp-color-result, -.directorist-search-field .wp-picker-container .wp-picker-clear { +.directorist-search-field .wp-picker-container .wp-picker-clear, +.directorist-search-field .wp-picker-container .wp-color-result { + position: relative; + height: 40px; + border: 0 none; + width: 140px; + -webkit-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; + border-radius: 3px; text-decoration: none; } -.directorist-search-field .wp-picker-container .wp-color-result, -.directorist-search-field .wp-picker-container .wp-picker-clear { +.directorist-search-field .wp-picker-container .wp-color-result { position: relative; height: 40px; - border: 0; + border: 0 none; width: 140px; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; @@ -14218,6 +15044,7 @@ input.directorist-toggle-input:checked position: absolute; z-index: 22; } + .check-btn { display: -webkit-box; display: -webkit-flex; @@ -14276,40 +15103,46 @@ input.directorist-toggle-input:checked display: none; } .check-btn label span:before { + position: absolute; left: 23px; - -webkit-mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); - mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); + top: 50%; + -webkit-transform: translateY(-50%); + transform: translateY(-50%); + content: ""; + -webkit-mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); + mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 10px; height: 10px; + background-color: var(--directorist-color-white); display: block; opacity: 0; -webkit-transition: all 0.3s ease 0s; transition: all 0.3s ease 0s; z-index: 2; } -.check-btn label span:after, -.check-btn label span:before { +.check-btn label span:after { position: absolute; + left: 18px; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); - content: ""; - background-color: var(--directorist-color-white); -} -.check-btn label span:after { - left: 18px; width: 16px; height: 16px; border-radius: 5px; + content: ""; border: 2px solid #d9d9d9; + background-color: var(--directorist-color-white); -webkit-box-sizing: content-box; box-sizing: content-box; } + +/* google map location suggestion container */ .pac-container { z-index: 99999; } + .directorist-search-top { text-align: center; margin-bottom: 34px; @@ -14326,10 +15159,12 @@ input.directorist-toggle-input:checked opacity: 0.8; text-align: center; } + .directorist-search-contents { background-size: cover; padding: 100px 0 120px; } + .directorist-search-field__label { position: absolute; left: 0; @@ -14412,14 +15247,14 @@ input.directorist-toggle-input:checked opacity: 0; visibility: hidden; } -.directorist-search-field__btn--clear i:after { +.directorist-search-field__btn--clear i::after { width: 16px; height: 16px; background-color: #bcbcbc; -webkit-transition: background-color 0.3s ease; transition: background-color 0.3s ease; } -.directorist-search-field__btn--clear:hover i:after { +.directorist-search-field__btn--clear:hover i::after { background-color: var(--directorist-color-primary); } @media screen and (max-width: 575px) { @@ -14487,12 +15322,12 @@ input.directorist-toggle-input:checked .directorist-search-field.input-has-value .directorist-search-field__btn--clear, .directorist-search-field.input-has-value .directorist-search-field__btn - i:after, + i::after, .directorist-search-field.input-is-focused .directorist-search-field__btn--clear, .directorist-search-field.input-is-focused .directorist-search-field__btn - i:after { + i::after { opacity: 1; visibility: visible; } @@ -14522,40 +15357,40 @@ input.directorist-toggle-input:checked .directorist-search-field__input { bottom: 0; } -.directorist-search-field.input-has-value .directorist-search-field__input, .directorist-search-field.input-has-value .directorist-select, -.directorist-search-field.input-is-focused .directorist-search-field__input, -.directorist-search-field.input-is-focused .directorist-select { +.directorist-search-field.input-has-value .directorist-search-field__input, +.directorist-search-field.input-is-focused .directorist-select, +.directorist-search-field.input-is-focused .directorist-search-field__input { position: relative; bottom: -5px; } +.directorist-search-field.input-has-value.input-has-noLabel .directorist-select, .directorist-search-field.input-has-value.input-has-noLabel .directorist-search-field__input, -.directorist-search-field.input-has-value.input-has-noLabel .directorist-select, .directorist-search-field.input-is-focused.input-has-noLabel - .directorist-search-field__input, + .directorist-select, .directorist-search-field.input-is-focused.input-has-noLabel - .directorist-select { + .directorist-search-field__input { bottom: 0; margin-top: 0 !important; } -.directorist-search-field.input-has-value.directorist-color - .directorist-search-field__label, .directorist-search-field.input-has-value.directorist-date .directorist-search-field__label, +.directorist-search-field.input-has-value.directorist-time + .directorist-search-field__label, +.directorist-search-field.input-has-value.directorist-color + .directorist-search-field__label, .directorist-search-field.input-has-value .directorist-select .directorist-search-field__label, -.directorist-search-field.input-has-value.directorist-time +.directorist-search-field.input-is-focused.directorist-date .directorist-search-field__label, -.directorist-search-field.input-is-focused.directorist-color +.directorist-search-field.input-is-focused.directorist-time .directorist-search-field__label, -.directorist-search-field.input-is-focused.directorist-date +.directorist-search-field.input-is-focused.directorist-color .directorist-search-field__label, .directorist-search-field.input-is-focused .directorist-select - .directorist-search-field__label, -.directorist-search-field.input-is-focused.directorist-time .directorist-search-field__label { opacity: 1; } @@ -14587,31 +15422,32 @@ input.directorist-toggle-input:checked .directorist-icon-mask:after { background-color: var(--directorist-color-dark); } -.directorist-search-field.directorist-color .directorist-search-field__label, .directorist-search-field.directorist-date .directorist-search-field__label, -.directorist-search-field .directorist-select .directorist-search-field__label, -.directorist-search-field.directorist-time .directorist-search-field__label { +.directorist-search-field.directorist-time .directorist-search-field__label, +.directorist-search-field.directorist-color .directorist-search-field__label, +.directorist-search-field .directorist-select .directorist-search-field__label { opacity: 0; } .directorist-search-field - .directorist-filter-location-icon + .directorist-select ~ .directorist-search-field__btn--clear, .directorist-search-field - .directorist-select + .directorist-filter-location-icon ~ .directorist-search-field__btn--clear { right: 25px; } +.directorist-search-field .directorist-select .directorist-icon-mask:after, .directorist-search-field .directorist-filter-location-icon - .directorist-icon-mask:after, -.directorist-search-field .directorist-select .directorist-icon-mask:after { - background-color: grey; + .directorist-icon-mask:after { + background-color: #808080; } .directorist-search-field .directorist-filter-location-icon ~ .directorist-search-field__btn--clear { bottom: 8px; } + .directorist-preload .directorist-search-form-top .directorist-search-field__label @@ -14619,6 +15455,7 @@ input.directorist-toggle-input:checked opacity: 0; pointer-events: none; } + .directorist-search-form__box { display: -webkit-box; display: -webkit-flex; @@ -14728,10 +15565,10 @@ input.directorist-toggle-input:checked .directorist-search-modal__contents__body .directorist-search-modal__input .directorist-search-field { - border: 0; + border: 0 none; } .directorist-search-form__top - .directorist-search-modal__input:not(:last-child) + .directorist-search-modal__input:not(:nth-last-child(1)) .directorist-search-field { border-right: 1px solid var(--directorist-color-border); } @@ -14788,15 +15625,15 @@ input.directorist-toggle-input:checked right: 30px; } .directorist-search-form__top - .directorist-search-modal__input:focus-within + .directorist-search-modal__input:focus .directorist-select2-dropdown-toggle, .directorist-search-form__top - .directorist-search-modal__input:focus + .directorist-search-modal__input:focus-within .directorist-select2-dropdown-toggle { display: block; } - .directorist-search-form__top .directorist-search-category, - .directorist-search-form__top .directorist-select { + .directorist-search-form__top .directorist-select, + .directorist-search-form__top .directorist-search-category { width: calc(100% + 15px); } } @@ -14818,7 +15655,10 @@ input.directorist-toggle-input:checked } .directorist-search-form__top .directorist-search-form__single-category - .directorist-category-select, + .directorist-category-select { + opacity: 0.6; + pointer-events: none; +} .directorist-search-form__top .directorist-search-form__single-category .directorist-category-select @@ -14837,7 +15677,10 @@ input.directorist-toggle-input:checked } .directorist-search-form__top .directorist-search-form__single-location - .directorist-location-select, + .directorist-location-select { + opacity: 0.6; + pointer-events: none; +} .directorist-search-form__top .directorist-search-form__single-location .directorist-location-select @@ -14981,33 +15824,33 @@ input.directorist-toggle-input:checked } .directorist-search-form__top .directorist-search-field.input-has-value - .directorist-filter-location-icon, + .directorist-select, .directorist-search-form__top .directorist-search-field.input-has-value - .directorist-select, + .directorist-filter-location-icon, .directorist-search-form__top .directorist-search-field.input-is-focused - .directorist-filter-location-icon, + .directorist-select, .directorist-search-form__top .directorist-search-field.input-is-focused - .directorist-select { + .directorist-filter-location-icon { margin-top: 3px; } .directorist-search-form__top .directorist-search-field.input-has-value - .directorist-filter-location-icon + .directorist-select ~ .directorist-search-field__btn--clear, .directorist-search-form__top .directorist-search-field.input-has-value - .directorist-select + .directorist-filter-location-icon ~ .directorist-search-field__btn--clear, .directorist-search-form__top .directorist-search-field.input-is-focused - .directorist-filter-location-icon + .directorist-select ~ .directorist-search-field__btn--clear, .directorist-search-form__top .directorist-search-field.input-is-focused - .directorist-select + .directorist-filter-location-icon ~ .directorist-search-field__btn--clear { right: 38px; bottom: 8px; @@ -15096,10 +15939,10 @@ input.directorist-toggle-input:checked .directorist-search-form__top .directorist-search-field .directorist-form-element { + border: 0 none; background-color: transparent; -webkit-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; - border: 0; border-bottom: 2px solid transparent; } .directorist-search-form__top @@ -15111,7 +15954,7 @@ input.directorist-toggle-input:checked .directorist-search-form__top .directorist-search-field .directorist-form-element { - border: 0; + border: 0 none; border-radius: 0; overflow: hidden; -ms-text-overflow: ellipsis; @@ -15133,7 +15976,9 @@ input.directorist-toggle-input:checked .directorist-search-form__top .directorist-search-field .directorist-price-ranges__item - .directorist-form-element, + .directorist-form-element { + border: none !important; +} .directorist-search-form__top .directorist-search-field .directorist-price-ranges__item @@ -15148,12 +15993,12 @@ input.directorist-toggle-input:checked .directorist-search-form__top .directorist-search-field .directorist-select - .directorist-select__label, + select, .directorist-search-form__top .directorist-search-field .directorist-select - select { - border: 0; + .directorist-select__label { + border: 0 none; } .directorist-search-form__top .directorist-search-field .wp-picker-container { display: -webkit-box; @@ -15283,8 +16128,8 @@ input.directorist-toggle-input:checked mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; - -webkit-mask-image: url(../images/447c512963a6e865700c065e70bb46b7.svg); - mask-image: url(../images/447c512963a6e865700c065e70bb46b7.svg); + -webkit-mask-image: url(../js/../images/447c512963a6e865700c065e70bb46b7.svg); + mask-image: url(../js/../images/447c512963a6e865700c065e70bb46b7.svg); opacity: 0; } .directorist-search-form__top .directorist-search-field__btn { @@ -15296,7 +16141,7 @@ input.directorist-toggle-input:checked -webkit-transition: all 0.3s ease; transition: all 0.3s ease; } - .directorist-search-form__top .directorist-search-field__btn i:after { + .directorist-search-form__top .directorist-search-field__btn i::after { width: 14px; height: 14px; } @@ -15418,11 +16263,11 @@ input.directorist-toggle-input:checked .directorist-search-form__top .directorist-search-field.input-has-value .directorist-search-field__btn - i:after, + i::after, .directorist-search-form__top .directorist-search-field.input-is-focused .directorist-search-field__btn - i:after { + i::after { width: 14px; height: 14px; opacity: 1; @@ -15440,19 +16285,19 @@ input.directorist-toggle-input:checked } .directorist-search-form__top .directorist-search-field.input-has-value - .directorist-filter-location-icon + .directorist-select ~ .directorist-search-field__btn--clear, .directorist-search-form__top .directorist-search-field.input-has-value - .directorist-select + .directorist-filter-location-icon ~ .directorist-search-field__btn--clear, .directorist-search-form__top .directorist-search-field.input-is-focused - .directorist-filter-location-icon + .directorist-select ~ .directorist-search-field__btn--clear, .directorist-search-form__top .directorist-search-field.input-is-focused - .directorist-select + .directorist-filter-location-icon ~ .directorist-search-field__btn--clear { bottom: 12px; top: unset; @@ -15461,16 +16306,16 @@ input.directorist-toggle-input:checked } .directorist-search-form__top .directorist-search-field.input-has-value - .directorist-search-field__input, + .directorist-select, .directorist-search-form__top .directorist-search-field.input-has-value - .directorist-select, + .directorist-search-field__input, .directorist-search-form__top .directorist-search-field.input-is-focused - .directorist-search-field__input, + .directorist-select, .directorist-search-form__top .directorist-search-field.input-is-focused - .directorist-select { + .directorist-search-field__input { padding-right: 0; } .directorist-search-form__top @@ -15580,7 +16425,7 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; padding: 5px 0; - border: 0 !important; + border: 0 none !important; width: calc(100% - 15px); } .directorist-search-form__top @@ -15613,7 +16458,7 @@ input.directorist-toggle-input:checked .directorist-icon-mask:after { width: 12px; height: 12px; - background-color: grey; + background-color: #808080; } .directorist-search-form__top .select2-container @@ -15627,8 +16472,8 @@ input.directorist-toggle-input:checked padding: 0; width: auto; } -.directorist-search-form__top input[type="number"]::-webkit-inner-spin-button, -.directorist-search-form__top input[type="number"]::-webkit-outer-spin-button { +.directorist-search-form__top input[type="number"]::-webkit-outer-spin-button, +.directorist-search-form__top input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; appearance: none; margin: 0; @@ -15691,14 +16536,14 @@ input.directorist-toggle-input:checked .directorist-search-form__top .directorist-search-form-dropdown.input-has-value .directorist-search-field__btn - i:after, + i::after, .directorist-search-form__top .directorist-search-form-dropdown.input-is-focused .directorist-search-field__btn--clear, .directorist-search-form__top .directorist-search-form-dropdown.input-is-focused .directorist-search-field__btn - i:after { + i::after { opacity: 1; visibility: visible; } @@ -15825,7 +16670,7 @@ input.directorist-toggle-input:checked i:after { width: 12px; height: 12px; - background-color: grey; + background-color: #808080; } @media screen and (max-width: 575px) { .directorist-search-form__top @@ -15862,7 +16707,7 @@ input.directorist-toggle-input:checked .directorist-search-form__top .directorist-search-basic-dropdown .directorist-search-basic-dropdown-content - .directorist-checkbox-wrapper, + .directorist-search-tags, .directorist-search-form__top .directorist-search-basic-dropdown .directorist-search-basic-dropdown-content @@ -15870,7 +16715,7 @@ input.directorist-toggle-input:checked .directorist-search-form__top .directorist-search-basic-dropdown .directorist-search-basic-dropdown-content - .directorist-search-tags { + .directorist-checkbox-wrapper { gap: 12px; } .directorist-search-form__top @@ -15904,6 +16749,7 @@ input.directorist-toggle-input:checked ~ .directorist-search-field__btn--clear { bottom: 12px; } + .directorist-search-form-action { display: -webkit-box; display: -webkit-flex; @@ -15945,7 +16791,7 @@ input.directorist-toggle-input:checked } .directorist-search-form-action__filter .directorist-filter-btn - .directorist-icon-mask:after { + .directorist-icon-mask::after { height: 12px; width: 14px; background-color: var(--directorist-color-btn-primary-bg); @@ -15973,7 +16819,7 @@ input.directorist-toggle-input:checked } .directorist-search-form-action__submit .directorist-btn-search - .directorist-icon-mask:after { + .directorist-icon-mask::after { height: 16px; width: 16px; background-color: var(--directorist-color-white); @@ -16020,7 +16866,7 @@ input.directorist-toggle-input:checked -ms-flex: 1; flex: 1; } -.directorist-search-form-action__modal__btn-search i:after { +.directorist-search-form-action__modal__btn-search i::after { width: 16px; height: 16px; -webkit-transform: rotate(270deg); @@ -16045,6 +16891,7 @@ input.directorist-toggle-input:checked height: 16px; width: 16px; } + .atbdp-form-fade { position: relative; border-radius: 8px; @@ -16066,7 +16913,7 @@ input.directorist-toggle-input:checked width: 25px; height: 25px; border: 2px solid var(--directorist-color-primary); - border-top: 2px solid transparent; + border-top-color: transparent; border-radius: 50%; left: 50%; top: 50%; @@ -16087,6 +16934,7 @@ input.directorist-toggle-input:checked background: rgba(var(--directorist-color-primary-rgb), 0.3); z-index: 9998; } + .directorist-on-scroll-loading { display: -webkit-box; display: -webkit-flex; @@ -16114,9 +16962,10 @@ input.directorist-toggle-input:checked border-top: 3px solid var(--directorist-color-primary); border-right: 3px solid transparent; border-radius: 50%; - -webkit-animation: rotate360 1s linear infinite; - animation: rotate360 1s linear infinite; + -webkit-animation: 1s rotate360 linear infinite; + animation: 1s rotate360 linear infinite; } + .directorist-listing-type-selection { display: -webkit-box; display: -webkit-flex; @@ -16230,7 +17079,7 @@ input.directorist-toggle-input:checked } .directorist-listing-type-selection__item .directorist-listing-type-selection__link--current - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-primary); } .directorist-listing-type-selection__item @@ -16238,6 +17087,7 @@ input.directorist-toggle-input:checked opacity: 1; visibility: visible; } + .directorist-search-form-wrap .directorist-listing-type-selection { padding: 0; margin: 0; @@ -16247,20 +17097,22 @@ input.directorist-toggle-input:checked margin: 0 auto; } } + .directorist-search-contents .directorist-btn-ml:after { content: ""; display: inline-block; margin-left: 5px; - -webkit-mask-image: url(../images/05feea3d261c8b97573023a74fd26f03.svg); - mask-image: url(../images/05feea3d261c8b97573023a74fd26f03.svg); + -webkit-mask-image: url(../js/../images/05feea3d261c8b97573023a74fd26f03.svg); + mask-image: url(../js/../images/05feea3d261c8b97573023a74fd26f03.svg); width: 12px; height: 12px; background-color: var(--directorist-color-body); } .directorist-search-contents .directorist-btn-ml.active:after { - -webkit-mask-image: url(../images/c90867d23032298fc0ff1d456a6fdb30.svg); - mask-image: url(../images/c90867d23032298fc0ff1d456a6fdb30.svg); + -webkit-mask-image: url(../js/../images/c90867d23032298fc0ff1d456a6fdb30.svg); + mask-image: url(../js/../images/c90867d23032298fc0ff1d456a6fdb30.svg); } + .directorist-listing-category-top { text-align: center; margin-top: 35px; @@ -16330,16 +17182,16 @@ input.directorist-toggle-input:checked } .directorist-listing-category-top li a i, .directorist-listing-category-top li a span, +.directorist-listing-category-top li a span.las, +.directorist-listing-category-top li a span.lar, +.directorist-listing-category-top li a span.lab, .directorist-listing-category-top li a span.fab, .directorist-listing-category-top li a span.fas, -.directorist-listing-category-top li a span.la, -.directorist-listing-category-top li a span.lab, -.directorist-listing-category-top li a span.lar, -.directorist-listing-category-top li a span.las { +.directorist-listing-category-top li a span.la { font-size: 15px; color: var(--directorist-color-body); } -.directorist-listing-category-top li a .directorist-icon-mask:after { +.directorist-listing-category-top li a .directorist-icon-mask::after { position: relative; height: 15px; width: 15px; @@ -16357,6 +17209,7 @@ input.directorist-toggle-input:checked display: none; } } + .directorist-search-field .directorist-location-js + .address_result { position: absolute; width: 100%; @@ -16493,6 +17346,7 @@ input.directorist-toggle-input:checked padding: 0; margin: 0; } + .directorist-zipcode-search .directorist-search-country { position: absolute; width: 100%; @@ -16518,9 +17372,10 @@ input.directorist-toggle-input:checked } .directorist-zipcode-search .directorist-search-country ul li { border-bottom: 1px solid var(--directorist-color-border); - padding: 10px 15px; + padding: 10px 15px 10px; margin: 0; } + .directorist-search-contents .directorist-search-form-top .form-group.open_now { -webkit-box-flex: 30.8%; -webkit-flex: 30.8%; @@ -16528,11 +17383,19 @@ input.directorist-toggle-input:checked flex: 30.8%; border-right: 1px solid var(--directorist-color-border); } + .directorist-custom-range-slider { width: 100%; } .directorist-custom-range-slider__wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; -ms-flex-align: center; + align-items: center; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; @@ -16546,27 +17409,24 @@ input.directorist-toggle-input:checked -ms-flex: 0 0 100%; flex: 0 0 100%; } -.directorist-custom-range-slider__value, -.directorist-custom-range-slider__wrap { +.directorist-custom-range-slider__value { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - align-items: center; -} -.directorist-custom-range-slider__value { - position: relative; -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; + -webkit-box-align: center; + -webkit-align-items: center; -ms-flex-align: center; + align-items: center; background: transparent; border-bottom: 1px solid var(--directorist-color-border); - -webkit-transition: border 0.3s ease; - transition: border 0.3s ease; + -webkit-transition: border ease 0.3s; + transition: border ease 0.3s; } .directorist-custom-range-slider__value:focus-within { border-bottom: 2px solid var(--directorist-color-primary); @@ -16601,6 +17461,10 @@ input.directorist-toggle-input:checked color: var(--directorist-color-primary); } .directorist-custom-range-slider__range__wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; gap: 5px; -webkit-box-align: center; -webkit-align-items: center; @@ -16613,25 +17477,20 @@ input.directorist-toggle-input:checked font-size: 14px; font-weight: 500; } -.directorist-custom-range-slider__range__wrap, + .directorist-pagination { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -} -.directorist-pagination { - gap: 8px; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; -} -.directorist-pagination, -.directorist-pagination .page-numbers { -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + gap: 8px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; } .directorist-pagination .page-numbers { display: -webkit-inline-box; @@ -16642,6 +17501,10 @@ input.directorist-toggle-input:checked -webkit-align-items: center; -ms-flex-align: center; align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; text-decoration: none; width: 40px; height: 40px; @@ -16664,19 +17527,21 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-body); } .directorist-pagination .page-numbers span { - border: 0; + border: 0 none; min-width: auto; margin: 0; } -.directorist-pagination .page-numbers.current, -.directorist-pagination .page-numbers:hover { +.directorist-pagination .page-numbers:hover, +.directorist-pagination .page-numbers.current { border-color: var(--directorist-color-primary); color: var(--directorist-color-primary); } -.directorist-pagination .page-numbers.current .directorist-icon-mask:after, -.directorist-pagination .page-numbers:hover .directorist-icon-mask:after { +.directorist-pagination .page-numbers:hover .directorist-icon-mask:after, +.directorist-pagination .page-numbers.current .directorist-icon-mask:after { background-color: var(--directorist-color-primary); } + +/* New Styles */ .directorist-categories { margin-top: 15px; } @@ -16700,14 +17565,14 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-white); } .directorist-categories__single--image { - background-position: 50%; + background-position: center; background-repeat: no-repeat; background-size: cover; -o-object-fit: cover; object-fit: cover; position: relative; } -.directorist-categories__single--image:before { +.directorist-categories__single--image::before { position: absolute; content: ""; border-radius: inherit; @@ -16725,6 +17590,7 @@ input.directorist-toggle-input:checked .directorist-categories__single__content { position: relative; z-index: 1; + text-align: center; -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; @@ -16741,7 +17607,7 @@ input.directorist-toggle-input:checked font-size: 16px; color: var(--directorist-color-dark); } -.directorist-categories__single__name:before { +.directorist-categories__single__name::before { content: ""; position: absolute; left: 0; @@ -16749,22 +17615,25 @@ input.directorist-toggle-input:checked width: 100%; height: 100%; } +.directorist-categories__single { + /* Styles */ +} .directorist-categories__single--style-one .directorist-categories__single__content - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 50px; height: 50px; } @media screen and (max-width: 991px) { .directorist-categories__single--style-one .directorist-categories__single__content - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 40px; height: 40px; } } .directorist-categories__single--style-one.directorist-categories__single--image - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .directorist-categories__single--style-one:not( @@ -16778,7 +17647,7 @@ input.directorist-toggle-input:checked .directorist-categories__single--style-one:not( .directorist-categories__single--image ) - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 36px; height: 36px; background-color: var(--directorist-color-white); @@ -16796,7 +17665,7 @@ input.directorist-toggle-input:checked border-radius: 50%; padding: 16px; } -.directorist-categories__single--style-two .directorist-icon-mask:after { +.directorist-categories__single--style-two .directorist-icon-mask::after { width: 40px; height: 40px; } @@ -16805,14 +17674,14 @@ input.directorist-toggle-input:checked border-color: var(--directorist-color-white); } .directorist-categories__single--style-two.directorist-categories__single--image - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .directorist-categories__single--style-three { height: var(--directorist-category-box-width); border-radius: 50%; } -.directorist-categories__single--style-three .directorist-icon-mask:after { +.directorist-categories__single--style-three .directorist-icon-mask::after { width: 40px; height: 40px; } @@ -16841,7 +17710,7 @@ input.directorist-toggle-input:checked margin-top: 15px; } .directorist-categories__single--style-three.directorist-categories__single--image - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .directorist-categories__single--style-three .directorist-category-count { @@ -16852,7 +17721,7 @@ input.directorist-toggle-input:checked border-radius: 50%; padding: 17px; } -.directorist-categories__single--style-four .directorist-icon-mask:after { +.directorist-categories__single--style-four .directorist-icon-mask::after { width: 36px; height: 36px; background-color: var(--directorist-color-white); @@ -16877,6 +17746,8 @@ input.directorist-toggle-input:checked .directorist-categories .directorist-type-nav { margin-bottom: 15px; } + +/* Taxonomy List Style One */ .directorist-taxonomy-list-one .directorist-taxonomy-list__card { display: -webkit-box; display: -webkit-flex; @@ -16917,7 +17788,7 @@ input.directorist-toggle-input:checked .directorist-taxonomy-list-one .directorist-taxonomy-list__toggle--open .directorist-taxonomy-list__toggler - .directorist-icon-mask:after { + .directorist-icon-mask::after { -webkit-transform: rotate(180deg); transform: rotate(180deg); } @@ -16943,26 +17814,31 @@ input.directorist-toggle-input:checked } .directorist-taxonomy-list-one .directorist-taxonomy-list__icon - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 15px; height: 15px; } -.directorist-taxonomy-list-one .directorist-taxonomy-list__count, .directorist-taxonomy-list-one .directorist-taxonomy-list__name { color: var(--directorist-color-dark); } +.directorist-taxonomy-list-one .directorist-taxonomy-list__count { + color: var(--directorist-color-dark); +} .directorist-taxonomy-list-one .directorist-taxonomy-list__toggler { -webkit-margin-start: auto; margin-inline-start: auto; } .directorist-taxonomy-list-one .directorist-taxonomy-list__toggler - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 10px; height: 10px; -webkit-transition: 0.3s ease; transition: 0.3s ease; } +.directorist-taxonomy-list-one .directorist-taxonomy-list { + /* Sub Item */ +} .directorist-taxonomy-list-one .directorist-taxonomy-list__sub-item { margin: 0; list-style: none; @@ -17039,6 +17915,9 @@ input.directorist-toggle-input:checked opacity: 1; margin-top: 0; } +.directorist-taxonomy-list-one .directorist-taxonomy-list { + /* Sub Item Toggle */ +} .directorist-taxonomy-list-one .directorist-taxonomy-list__sub-item-toggle { display: -webkit-box; display: -webkit-flex; @@ -17069,7 +17948,7 @@ input.directorist-toggle-input:checked } .directorist-taxonomy-list-one .directorist-taxonomy-list__sub-item-toggle.directorist-taxonomy-list__toggle--open - .directorist-taxonomy-list__sub-item-toggler:after { + .directorist-taxonomy-list__sub-item-toggler::after { content: none; } .directorist-taxonomy-list-one .directorist-taxonomy-list__sub-item-toggler { @@ -17081,7 +17960,7 @@ input.directorist-toggle-input:checked display: inline-block; } .directorist-taxonomy-list-one - .directorist-taxonomy-list__sub-item-toggler:before { + .directorist-taxonomy-list__sub-item-toggler::before { position: absolute; content: ""; left: 0; @@ -17093,7 +17972,7 @@ input.directorist-toggle-input:checked transform: translateY(-50%); } .directorist-taxonomy-list-one - .directorist-taxonomy-list__sub-item-toggler:after { + .directorist-taxonomy-list__sub-item-toggler::after { position: absolute; content: ""; width: 1px; @@ -17104,6 +17983,8 @@ input.directorist-toggle-input:checked -webkit-transform: translateX(-50%); transform: translateX(-50%); } + +/* Taxonomy List Style Two */ .directorist-taxonomy-list-two .directorist-taxonomy-list { -webkit-box-shadow: var(--directorist-box-shadow); box-shadow: var(--directorist-box-shadow); @@ -17159,7 +18040,7 @@ input.directorist-toggle-input:checked } .directorist-taxonomy-list-two .directorist-taxonomy-list__icon - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .directorist-taxonomy-list-two .directorist-taxonomy-list__toggle { @@ -17189,6 +18070,8 @@ input.directorist-toggle-input:checked -webkit-padding-start: 10px; padding-inline-start: 10px; } + +/* Location: Grid One */ .directorist-location { margin-top: 30px; } @@ -17199,7 +18082,7 @@ input.directorist-toggle-input:checked .directorist-location--grid-one .directorist-location__single--img { height: 300px; } -.directorist-location--grid-one .directorist-location__single--img:before { +.directorist-location--grid-one .directorist-location__single--img::before { position: absolute; content: ""; width: 100%; @@ -17237,7 +18120,9 @@ input.directorist-toggle-input:checked .directorist-location--grid-one .directorist-location__single--img .directorist-location__content - a, + a { + color: var(--directorist-color-white); +} .directorist-location--grid-one .directorist-location__single--img .directorist-location__count { @@ -17277,11 +18162,11 @@ input.directorist-toggle-input:checked .directorist-location--grid-one .directorist-location__single:not(.directorist-location__single--img) .directorist-location__content - a, + h3, .directorist-location--grid-one .directorist-location__single:not(.directorist-location__single--img) .directorist-location__content - h3, + a, .directorist-location--grid-one .directorist-location__single:not(.directorist-location__single--img) .directorist-location__content @@ -17300,7 +18185,7 @@ input.directorist-toggle-input:checked color: var(--directorist-color-dark); text-decoration: none; } -.directorist-location--grid-one .directorist-location__content a:after { +.directorist-location--grid-one .directorist-location__content a::after { position: absolute; content: ""; width: 100%; @@ -17323,7 +18208,7 @@ input.directorist-toggle-input:checked .directorist-location--grid-two .directorist-location__single--img .directorist-location__content { - padding: 10px 0 0; + padding: 10px 0 0 0; } .directorist-location--grid-two .directorist-location__single img { width: 100%; @@ -17336,7 +18221,7 @@ input.directorist-toggle-input:checked position: relative; height: 240px; } -.directorist-location--grid-two .directorist-location__single__img:before { +.directorist-location--grid-two .directorist-location__single__img::before { position: absolute; content: ""; width: 100%; @@ -17368,11 +18253,11 @@ input.directorist-toggle-input:checked .directorist-location--grid-two .directorist-location__single:not(.directorist-location__single--img) .directorist-location__content - a, + h3, .directorist-location--grid-two .directorist-location__single:not(.directorist-location__single--img) .directorist-location__content - h3, + a, .directorist-location--grid-two .directorist-location__single:not(.directorist-location__single--img) .directorist-location__content @@ -17390,7 +18275,7 @@ input.directorist-toggle-input:checked .directorist-location--grid-two .directorist-location__content a { text-decoration: none; } -.directorist-location--grid-two .directorist-location__content a:after { +.directorist-location--grid-two .directorist-location__content a::after { position: absolute; content: ""; width: 100%; @@ -17407,13 +18292,17 @@ input.directorist-toggle-input:checked .directorist-location .directorist-type-nav { margin-bottom: 15px; } + +/* Modal Core Styles */ .atm-open { overflow: hidden; } + .atm-open .at-modal { overflow-x: hidden; overflow-y: auto; } + .at-modal { position: fixed; width: 100%; @@ -17426,6 +18315,7 @@ input.directorist-toggle-input:checked overflow: hidden; outline: 0; } + .at-modal-content { position: relative; width: 500px; @@ -17449,6 +18339,7 @@ input.directorist-toggle-input:checked min-height: calc(100% - 5rem); pointer-events: none; } + .atm-contents-inner { width: 100%; background-color: var(--directorist-color-white); @@ -17456,29 +18347,36 @@ input.directorist-toggle-input:checked border-radius: 3px; position: relative; } + .at-modal-content.at-modal-lg { width: 800px; } + .at-modal-content.at-modal-xl { width: 1140px; } + .at-modal-content.at-modal-sm { width: 300px; } + .at-modal.atm-fade { -webkit-transition: 0.3s ease; transition: 0.3s ease; } + .at-modal.atm-fade:not(.atm-show) { opacity: 0; visibility: hidden; } + .at-modal.atm-show .at-modal-content { opacity: 1; visibility: visible; -webkit-transition: 0.3s ease; transition: 0.3s ease; } + .at-modal .atm-contents-inner .at-modal-close { width: 32px; height: 32px; @@ -17509,42 +18407,50 @@ input.directorist-toggle-input:checked justify-content: center; text-decoration: none; } + .at-modal .atm-contents-inner .close span { display: block; line-height: 0; } + +/* Responsive CSS */ +/* Large devices (desktops, 992px and up) */ @media (min-width: 992px) and (max-width: 1199.98px) { + .at-modal-content.at-modal-xl, .at-modal-content.at-modal-lg, .at-modal-content.at-modal-md, - .at-modal-content.at-modal-sm, - .at-modal-content.at-modal-xl { + .at-modal-content.at-modal-sm { width: calc(100% - 60px); } } +/* Medium devices (tablets, 768px and up) */ @media (min-width: 768px) and (max-width: 991.98px) { + .at-modal-content.at-modal-xl, .at-modal-content.at-modal-lg, .at-modal-content.at-modal-md, - .at-modal-content.at-modal-sm, - .at-modal-content.at-modal-xl { + .at-modal-content.at-modal-sm { width: calc(100% - 60px); } } +/* Small devices (landscape phones, 576px and up) */ @media (min-width: 576px) and (max-width: 767.98px) { + .at-modal-content.at-modal-xl, .at-modal-content.at-modal-lg, .at-modal-content.at-modal-md, - .at-modal-content.at-modal-sm, - .at-modal-content.at-modal-xl { + .at-modal-content.at-modal-sm { width: calc(100% - 60px); } } +/* Extra small devices (portrait phones, less than 576px) */ @media (max-width: 575.98px) { + .at-modal-content.at-modal-xl, .at-modal-content.at-modal-lg, .at-modal-content.at-modal-md, - .at-modal-content.at-modal-sm, - .at-modal-content.at-modal-xl { + .at-modal-content.at-modal-sm { width: calc(100% - 30px); } } +/* Authentication style */ .directorist-author__form { max-width: 540px; margin: 0 auto; @@ -17590,7 +18496,11 @@ input.directorist-toggle-input:checked color: var(--directorist-color-primary); border-color: var(--directorist-color-primary); } -.directorist-author__form__actions label, +.directorist-author__form__actions label { + font-size: 14px; + font-weight: 400; + color: var(--directorist-color-body); +} .directorist-author__form__toggle-area { font-size: 14px; font-weight: 400; @@ -17607,14 +18517,18 @@ input.directorist-toggle-input:checked padding: 25px; } .directorist-author__form__recover-pass-modal p { + font-size: 14px; + font-weight: 400; + color: var(--directorist-color-body); margin: 0 0 20px; } -.directorist-author__form__recover-pass-modal p, .directorist-author__message__text { font-size: 14px; font-weight: 400; color: var(--directorist-color-body); } + +/* Authentication style */ .directorist-authentication { height: 0; opacity: 0; @@ -17668,14 +18582,18 @@ input.directorist-toggle-input:checked .directorist-authentication__form__actions a { font-size: 14px; font-weight: 400; - color: grey; - border-bottom: 1px dashed grey; + color: #808080; + border-bottom: 1px dashed #808080; } .directorist-authentication__form__actions a:hover { - color: #000; - border-color: #000; + color: #000000; + border-color: #000000; +} +.directorist-authentication__form__actions label { + font-size: 14px; + font-weight: 400; + color: #404040; } -.directorist-authentication__form__actions label, .directorist-authentication__form__toggle-area { font-size: 14px; font-weight: 400; @@ -17688,7 +18606,7 @@ input.directorist-toggle-input:checked transition: color 0.3s ease; } .directorist-authentication__form__toggle-area a:hover { - color: #000; + color: #000000; } .directorist-authentication__form__recover-pass-modal { display: none; @@ -17708,9 +18626,9 @@ input.directorist-toggle-input:checked margin: 0 0 20px; } .directorist-authentication__form .directorist-form-element { + border: none; padding: 15px 0; border-radius: 0; - border: none; border-bottom: 1px solid #ececec; } .directorist-authentication__form .directorist-form-group > label { @@ -17725,7 +18643,7 @@ input.directorist-toggle-input:checked cursor: pointer; -webkit-box-shadow: none; box-shadow: none; - color: #000; + color: #000000; font-size: 13px; font-weight: 400; padding: 0 6px; @@ -17747,6 +18665,8 @@ input.directorist-toggle-input:checked opacity: 1; visibility: visible; } + +/* Password toggle */ .directorist-password-group { position: relative; } @@ -17768,9 +18688,12 @@ input.directorist-toggle-input:checked stroke: #888; stroke-width: 2; } + +/* Directorist all authors card */ .directorist-authors-section { position: relative; } + .directorist-content-active .directorist-authors__cards { margin-top: -30px; } @@ -17817,11 +18740,14 @@ input.directorist-toggle-input:checked -webkit-transition: 0.3s ease; transition: 0.3s ease; } -.directorist-content-active .directorist-authors__nav li.active a, .directorist-content-active .directorist-authors__nav li a:hover { border-bottom-color: var(--directorist-color-primary); color: var(--directorist-color-primary); } +.directorist-content-active .directorist-authors__nav li.active a { + border-bottom-color: var(--directorist-color-primary); + color: var(--directorist-color-primary); +} .directorist-content-active .directorist-authors__card { padding: 20px; border-radius: 10px; @@ -17850,7 +18776,7 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-authors__card h2 { font-size: 20px; font-weight: 500; - margin: 0 0 16px !important; + margin: 0 0 16px 0 !important; line-height: normal; } .directorist-content-active .directorist-authors__card h2:before { @@ -17860,7 +18786,7 @@ input.directorist-toggle-input:checked font-size: 14px; font-weight: 400; color: #8f8e9f; - margin: 0 0 15px !important; + margin: 0 0 15px 0 !important; line-height: normal; text-transform: none; letter-spacing: normal; @@ -17890,7 +18816,7 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-authors__card__info-list li a { color: #767792; - border: 0; + border: 0 none; -webkit-box-shadow: none; box-shadow: none; text-decoration: none; @@ -17909,6 +18835,9 @@ input.directorist-toggle-input:checked width: 16px; height: 16px; } +.directorist-content-active .directorist-authors__card__info-list li { + /* Legacy Icon */ +} .directorist-content-active .directorist-authors__card__info-list li @@ -17933,7 +18862,7 @@ input.directorist-toggle-input:checked .directorist-authors__card .directorist-author-social a { - border: 0; + border: 0 none; -webkit-box-shadow: none; box-shadow: none; text-decoration: none; @@ -17943,6 +18872,7 @@ input.directorist-toggle-input:checked .directorist-author-social a:hover { background-color: var(--directorist-color-primary); + /* Legacy Icon */ } .directorist-content-active .directorist-authors__card @@ -17958,7 +18888,7 @@ input.directorist-toggle-input:checked margin-bottom: 20px; } .directorist-content-active .directorist-authors__card .directorist-btn { - border: 0; + border: 0 none; -webkit-box-shadow: none; box-shadow: none; -webkit-transition: 0.3s ease; @@ -17968,25 +18898,22 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-primary); color: var(--directorist-color-white); } + +/* Directorist All author Grid */ .directorist-authors__pagination { margin-top: 25px; } + .select2-selection__arrow, .select2-selection__clear { display: none !important; } + .directorist-select2-addons-area { position: absolute; right: 5px; top: 50%; text-align: center; - cursor: pointer; - -webkit-transform: translateY(-50%); - transform: translateY(-50%); - z-index: 8; -} -.directorist-select2-addon, -.directorist-select2-addons-area { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -17999,29 +18926,58 @@ input.directorist-toggle-input:checked -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + cursor: pointer; + -webkit-transform: translate(0, -50%); + transform: translate(0, -50%); + z-index: 8; } + .directorist-select2-addon { padding: 0 5px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; } -.directorist-select2-dropdown-close, + .directorist-select2-dropdown-toggle { height: auto; width: 25px; } -.directorist-select2-dropdown-close .directorist-icon-mask:after { + +.directorist-select2-dropdown-close { + height: auto; + width: 25px; +} +.directorist-select2-dropdown-close .directorist-icon-mask::after { width: 15px; height: 15px; } -.directorist-select2-addon .directorist-icon-mask:after { + +.directorist-select2-addon .directorist-icon-mask::after { width: 13px; height: 13px; } + .directorist-form-section { font-size: 15px; } + +/* Display Each Grid Info on Single Line */ +.directorist-archive-contents + .directorist-single-line + .directorist-listing-title, .directorist-archive-contents .directorist-single-line - .directorist-listing-single__info__excerpt, + .directorist-listing-tagline, .directorist-archive-contents .directorist-single-line .directorist-listing-single__info__list @@ -18030,14 +18986,12 @@ input.directorist-toggle-input:checked div, .directorist-archive-contents .directorist-single-line - .directorist-listing-tagline, -.directorist-archive-contents - .directorist-single-line - .directorist-listing-title { + .directorist-listing-single__info__excerpt { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } + .directorist-all-listing-btn { display: -webkit-box; display: -webkit-flex; @@ -18060,7 +19014,7 @@ input.directorist-toggle-input:checked -ms-flex: 1; flex: 1; } -.directorist-all-listing-btn .directorist-btn__back i:after { +.directorist-all-listing-btn .directorist-btn__back i::after { width: 16px; height: 16px; } @@ -18081,16 +19035,17 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; } -.directorist-all-listing-btn .directorist-modal-btn--basic i:after { +.directorist-all-listing-btn .directorist-modal-btn--basic i::after { width: 16px; height: 16px; -webkit-transform: rotate(270deg); transform: rotate(270deg); } -.directorist-all-listing-btn .directorist-modal-btn--advanced i:after { +.directorist-all-listing-btn .directorist-modal-btn--advanced i::after { width: 16px; height: 16px; } + @media screen and (min-width: 576px) { .directorist-all-listing-btn, .directorist-all-listing-modal { @@ -18143,11 +19098,6 @@ input.directorist-toggle-input:checked display: none; } .directorist-content-active .directorist-listing-single__info__top { - gap: 6px; - width: 100%; -} -.directorist-content-active .directorist-listing-single__info__top, -.directorist-content-active .directorist-listing-single__info__top__left { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -18163,9 +19113,26 @@ input.directorist-toggle-input:checked -webkit-flex: 1; -ms-flex: 1; flex: 1; + gap: 6px; + width: 100%; } .directorist-content-active .directorist-listing-single__info__top__left { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; gap: 10px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; } .directorist-content-active .directorist-listing-single__info__top__right { display: -webkit-box; @@ -18195,9 +19162,6 @@ input.directorist-toggle-input:checked background-color: transparent; color: var(--directorist-color-danger); } -.directorist-content-active - .directorist-listing-single__info__top - .atbd_badge.atbd_badge_open, .directorist-content-active .directorist-listing-single__info__top .directorist-badge.directorist-badge-open { @@ -18206,10 +19170,13 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single__info__top - .directorist-info-item.directorist-rating-meta, + .atbd_badge.atbd_badge_open { + background-color: transparent; + color: var(--directorist-color-success); +} .directorist-content-active .directorist-listing-single__info__top - .directorist-listing-card-posted-on { + .directorist-info-item.directorist-rating-meta { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -18222,6 +19189,14 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-listing-single__info__top .directorist-listing-card-posted-on { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-box-flex: 0; -webkit-flex: 0 0 100%; -ms-flex: 0 0 100%; @@ -18240,8 +19215,7 @@ input.directorist-toggle-input:checked i { display: none; } -.directorist-content-active .directorist-listing-single__info__badges, -.directorist-content-active .directorist-listing-single__info__list { +.directorist-content-active .directorist-listing-single__info__badges { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -18249,6 +19223,11 @@ input.directorist-toggle-input:checked gap: 10px; } .directorist-content-active .directorist-listing-single__info__list { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 10px; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; @@ -18263,8 +19242,8 @@ input.directorist-toggle-input:checked gap: 8px; } } -.directorist-content-active .directorist-listing-single__info__list > div, -.directorist-content-active .directorist-listing-single__info__list li { +.directorist-content-active .directorist-listing-single__info__list li, +.directorist-content-active .directorist-listing-single__info__list > div { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -18277,22 +19256,22 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single__info__list - > div + li .directorist-icon-mask, .directorist-content-active .directorist-listing-single__info__list - li + > div .directorist-icon-mask { position: relative; top: 2px; } .directorist-content-active .directorist-listing-single__info__list - > div + li .directorist-icon-mask:after, .directorist-content-active .directorist-listing-single__info__list - li + > div .directorist-icon-mask:after { width: 16px; height: 16px; @@ -18300,11 +19279,11 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single__info__list - > div + li .directorist-listing-card-info-label, .directorist-content-active .directorist-listing-single__info__list - li + > div .directorist-listing-card-info-label { display: none; } @@ -18627,7 +19606,20 @@ input.directorist-toggle-input:checked justify-content: space-between; border-top: 1px solid var(--directorist-color-border); } -.directorist-content-active .directorist-listing-single__meta__left, +.directorist-content-active .directorist-listing-single__meta__left { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + gap: 20px; +} .directorist-content-active .directorist-listing-single__meta__right { display: -webkit-box; display: -webkit-flex; @@ -18649,7 +19641,7 @@ input.directorist-toggle-input:checked text-decoration: none; font-size: 14px; color: var(--directorist-color-body); - border-bottom: 0; + border-bottom: 0 none; -webkit-box-shadow: none; box-shadow: none; display: -webkit-box; @@ -18693,6 +19685,11 @@ input.directorist-toggle-input:checked height: 15px; background-color: var(--directorist-color-light-gray); } +.directorist-content-active + .directorist-listing-single__meta + .directorist-view-count { + /* Legacy Icon */ +} .directorist-content-active .directorist-listing-single__meta .directorist-view-count @@ -18755,6 +19752,12 @@ input.directorist-toggle-input:checked width: 14px; height: 14px; } +.directorist-content-active + .directorist-listing-single__meta + .directorist-listing-category + > a { + /* Legacy Icon */ +} .directorist-content-active .directorist-listing-single__meta .directorist-listing-category @@ -18793,10 +19796,10 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single__meta - .directorist-listing-card-phone, + .directorist-rating-meta, .directorist-content-active .directorist-listing-single__meta - .directorist-rating-meta { + .directorist-listing-card-phone { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -18836,11 +19839,11 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-listing-single__thumb .directorist-thumnail-card - .directorist-thumnail-card-back-wrap, + .directorist-thumnail-card-front-wrap, .directorist-content-active .directorist-listing-single__thumb .directorist-thumnail-card - .directorist-thumnail-card-front-wrap { + .directorist-thumnail-card-back-wrap { position: absolute; top: 0; bottom: 0; @@ -18854,12 +19857,12 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-listing-single__thumb .directorist-thumnail-card - .directorist-thumnail-card-back-wrap + .directorist-thumnail-card-front-wrap figure, .directorist-content-active .directorist-listing-single__thumb .directorist-thumnail-card - .directorist-thumnail-card-front-wrap + .directorist-thumnail-card-back-wrap figure { width: 100%; height: 100%; @@ -18883,10 +19886,10 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single__thumb - .directorist-thumnail-card-back-img, + .directorist-thumnail-card-front-img, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumnail-card-front-img { + .directorist-thumnail-card-back-img { width: 100%; height: 100%; -o-object-fit: cover; @@ -18925,16 +19928,16 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-left, + .directorist-thumb-top-right, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-right, + .directorist-thumb-top-left, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-left, + .directorist-thumb-bottom-left, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-right { + .directorist-thumb-bottom-right { position: absolute; display: -webkit-box; display: -webkit-flex; @@ -18951,144 +19954,144 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-left + .directorist-thumb-top-right .directorist-compare-btn i, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-left + .directorist-thumb-top-right .directorist-compare-btn - span.fa, + span.la, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-left + .directorist-thumb-top-right .directorist-compare-btn - span.fab, + span.las, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-left + .directorist-thumb-top-right .directorist-compare-btn - span.fas, + span.fa, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-left + .directorist-thumb-top-right .directorist-compare-btn - span.la, + span.fas, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-left + .directorist-thumb-top-right .directorist-compare-btn span.lab, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-left + .directorist-thumb-top-right .directorist-compare-btn - span.las, + span.fab, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-right + .directorist-thumb-top-left .directorist-compare-btn i, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-right + .directorist-thumb-top-left .directorist-compare-btn - span.fa, + span.la, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-right + .directorist-thumb-top-left .directorist-compare-btn - span.fab, + span.las, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-right + .directorist-thumb-top-left .directorist-compare-btn - span.fas, + span.fa, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-right + .directorist-thumb-top-left .directorist-compare-btn - span.la, + span.fas, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-right + .directorist-thumb-top-left .directorist-compare-btn span.lab, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-right + .directorist-thumb-top-left .directorist-compare-btn - span.las, + span.fab, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-left + .directorist-thumb-bottom-left .directorist-compare-btn i, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-left + .directorist-thumb-bottom-left .directorist-compare-btn - span.fa, + span.la, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-left + .directorist-thumb-bottom-left .directorist-compare-btn - span.fab, + span.las, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-left + .directorist-thumb-bottom-left .directorist-compare-btn - span.fas, + span.fa, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-left + .directorist-thumb-bottom-left .directorist-compare-btn - span.la, + span.fas, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-left + .directorist-thumb-bottom-left .directorist-compare-btn span.lab, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-left + .directorist-thumb-bottom-left .directorist-compare-btn - span.las, + span.fab, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-right + .directorist-thumb-bottom-right .directorist-compare-btn i, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-right + .directorist-thumb-bottom-right .directorist-compare-btn - span.fa, + span.la, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-right + .directorist-thumb-bottom-right .directorist-compare-btn - span.fab, + span.las, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-right + .directorist-thumb-bottom-right .directorist-compare-btn - span.fas, + span.fa, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-right + .directorist-thumb-bottom-right .directorist-compare-btn - span.la, + span.fas, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-right + .directorist-thumb-bottom-right .directorist-compare-btn span.lab, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-right + .directorist-thumb-bottom-right .directorist-compare-btn - span.las { + span.fab { color: var(--directorist-color-white); } .directorist-content-active @@ -19112,31 +20115,41 @@ input.directorist-toggle-input:checked -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; - padding: 20px 22px 0; + padding: 20px 22px 0 22px; } .directorist-content-active .directorist-listing-single__top__left { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; flex-wrap: wrap; } -.directorist-content-active .directorist-listing-single__top__left, .directorist-content-active .directorist-listing-single__top__right { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex: 1; gap: 8px; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; + align-items: center; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; -} -.directorist-content-active .directorist-listing-single__top__right { flex-wrap: wrap; + -webkit-box-flex: 1; -webkit-flex: auto; -ms-flex: auto; flex: auto; @@ -19249,7 +20262,7 @@ input.directorist-toggle-input:checked .directorist-listing-single__thumb { margin: 0; position: relative; - padding: 10px 10px 0; + padding: 10px 10px 0 10px; } .directorist-content-active .directorist-listing-single.directorist-listing-card @@ -19381,7 +20394,7 @@ input.directorist-toggle-input:checked .directorist-rating-avg { margin-left: 0; font-size: 12px; - font-weight: 400; + font-weight: normal; } .directorist-content-active .directorist-listing-single.directorist-listing-list @@ -19415,25 +20428,25 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-listing-single__info__list - > div, + > li, .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-listing-single__info__list - > li { + > div { font-size: 12px; line-height: 1.2; gap: 8px; } .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-listing-category__extran-count, + .directorist-view-count, .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-listing-category a, .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-view-count { + .directorist-listing-category__extran-count { font-size: 12px; } .directorist-content-active @@ -19443,13 +20456,13 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-listing-category - > a - .directorist-icon-mask, + .directorist-thumb-listing-author + a, .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-thumb-listing-author - a { + .directorist-listing-category + > a + .directorist-icon-mask { width: 30px; height: 30px; } @@ -19489,7 +20502,7 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-listing-single__thumb { - padding: 10px 10px 0; + padding: 10px 10px 0 10px; } .directorist-content-active .directorist-listing-single.directorist-listing-list @@ -19501,12 +20514,12 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-listing-single__thumb - .directorist-badge - .directorist-icon-mask:after, + .directorist-favorite-icon:before, .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-listing-single__thumb - .directorist-favorite-icon:before { + .directorist-badge + .directorist-icon-mask:after { width: 10px; height: 10px; } @@ -19546,7 +20559,7 @@ input.directorist-toggle-input:checked -webkit-flex: 2; -ms-flex: 2; flex: 2; - padding: 10px 0; + padding: 10px 0 10px; } @media screen and (max-width: 575px) { .directorist-content-active @@ -19601,10 +20614,12 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-listing-single__info__excerpt, + .directorist-listing-single__info__list { + margin: 10px 0 0; +} .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-listing-single__info__list { + .directorist-listing-single__info__excerpt { margin: 10px 0 0; } @media only screen and (max-width: 575px) { @@ -19769,19 +20784,19 @@ input.directorist-toggle-input:checked .directorist-badge.directorist-badge--only-text, .directorist-content-active .directorist-listing-single.directorist-listing-card - .directorist-badge.directorist-badge-close, + .directorist-badge.directorist-badge-open, .directorist-content-active .directorist-listing-single.directorist-listing-card - .directorist-badge.directorist-badge-open, + .directorist-badge.directorist-badge-close, .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-badge.directorist-badge--only-text, .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-badge.directorist-badge-close, + .directorist-badge.directorist-badge-open, .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-badge.directorist-badge-open { + .directorist-badge.directorist-badge-close { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -19807,19 +20822,19 @@ input.directorist-toggle-input:checked .directorist-badge.directorist-badge--only-text, .directorist-content-active .directorist-listing-single.directorist-listing-card - .directorist-badge.directorist-badge-close, + .directorist-badge.directorist-badge-open, .directorist-content-active .directorist-listing-single.directorist-listing-card - .directorist-badge.directorist-badge-open, + .directorist-badge.directorist-badge-close, .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-badge.directorist-badge--only-text, .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-badge.directorist-badge-close, + .directorist-badge.directorist-badge-open, .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-badge.directorist-badge-open { + .directorist-badge.directorist-badge-close { height: 18px; line-height: 18px; font-size: 8px; @@ -20036,6 +21051,7 @@ input.directorist-toggle-input:checked .directorist-listing-single__header__right { margin-top: 15px; } + .directorist-rating-meta { padding: 0; } @@ -20055,10 +21071,12 @@ input.directorist-toggle-input:checked color: var(--directorist-color-light-gray); } .directorist-rating-meta.directorist-info-item-rating i, -.directorist-rating-meta.directorist-info-item-rating span.fa, -.directorist-rating-meta.directorist-info-item-rating span.la { +.directorist-rating-meta.directorist-info-item-rating span.la, +.directorist-rating-meta.directorist-info-item-rating span.fa { margin-left: 4px; } + +/* mark as favorite btn */ .directorist-mark-as-favorite__btn { display: -webkit-box; display: -webkit-flex; @@ -20084,13 +21102,13 @@ input.directorist-toggle-input:checked border: none; cursor: pointer; } -.directorist-mark-as-favorite__btn:focus, -.directorist-mark-as-favorite__btn:hover { +.directorist-mark-as-favorite__btn:hover, +.directorist-mark-as-favorite__btn:focus { outline: 0; text-decoration: none; } -.directorist-mark-as-favorite__btn:focus .directorist-favorite-icon:before, -.directorist-mark-as-favorite__btn:hover .directorist-favorite-icon:before { +.directorist-mark-as-favorite__btn:hover .directorist-favorite-icon:before, +.directorist-mark-as-favorite__btn:focus .directorist-favorite-icon:before { background-color: var(--directorist-color-danger); } .directorist-mark-as-favorite__btn .directorist-favorite-icon { @@ -20109,8 +21127,8 @@ input.directorist-toggle-input:checked } .directorist-mark-as-favorite__btn .directorist-favorite-icon:before { content: ""; - -webkit-mask-image: url(../images/6bf407d27842391bbcd90343624e694b.svg); - mask-image: url(../images/6bf407d27842391bbcd90343624e694b.svg); + -webkit-mask-image: url(../js/../images/6bf407d27842391bbcd90343624e694b.svg); + mask-image: url(../js/../images/6bf407d27842391bbcd90343624e694b.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 15px; @@ -20121,8 +21139,8 @@ input.directorist-toggle-input:checked } .directorist-mark-as-favorite__btn.directorist-added-to-favorite .directorist-favorite-icon:before { - -webkit-mask-image: url(../images/2e589ffc784b0c43089b0222cab8ed4f.svg); - mask-image: url(../images/2e589ffc784b0c43089b0222cab8ed4f.svg); + -webkit-mask-image: url(../js/../images/2e589ffc784b0c43089b0222cab8ed4f.svg); + mask-image: url(../js/../images/2e589ffc784b0c43089b0222cab8ed4f.svg); background-color: var(--directorist-color-danger); } .directorist-mark-as-favorite__btn .directorist-favorite-tooltip span { @@ -20138,7 +21156,7 @@ input.directorist-toggle-input:checked padding: 5px; z-index: 111; } -.directorist-mark-as-favorite__btn .directorist-favorite-tooltip span:before { +.directorist-mark-as-favorite__btn .directorist-favorite-tooltip span::before { content: ""; position: absolute; border-bottom: 8px solid var(--directorist-color-dark); @@ -20147,6 +21165,8 @@ input.directorist-toggle-input:checked right: 8px; top: -7px; } + +/* listing card without thumbnail */ .directorist-listing-single.directorist-listing-no-thumb .directorist-listing-single__header { display: -webkit-box; @@ -20162,7 +21182,7 @@ input.directorist-toggle-input:checked -webkit-align-items: flex-start; -ms-flex-align: start; align-items: flex-start; - padding: 20px 22px 0; + padding: 20px 22px 0 22px; } .directorist-listing-single.directorist-listing-no-thumb .directorist-listing-single__header__left { @@ -20335,7 +21355,7 @@ input.directorist-toggle-input:checked span { text-decoration: none; color: var(--directorist-color-body); - border-bottom: 0; + border-bottom: 0 none; -webkit-box-shadow: none; box-shadow: none; line-height: 1.7; @@ -20400,7 +21420,7 @@ input.directorist-toggle-input:checked a { text-decoration: none; color: var(--directorist-color-body); - border-bottom: 0; + border-bottom: 0 none; -webkit-box-shadow: none; box-shadow: none; line-height: 1.7; @@ -20424,7 +21444,7 @@ input.directorist-toggle-input:checked } .directorist-listing-single.directorist-listing-no-thumb .directorist-listing-single__content { - border: 0; + border: 0 none; padding: 10px 22px 25px; } .directorist-listing-single.directorist-listing-no-thumb @@ -20445,6 +21465,8 @@ input.directorist-toggle-input:checked align-items: center; gap: 6px; } + +/* listing card without thumbnail list view */ .directorist-listing-single.directorist-listing-list .directorist-listing-single__header { width: 100%; @@ -20460,9 +21482,9 @@ input.directorist-toggle-input:checked display: none; } .directorist-listing-single.directorist-listing-list.directorist-listing-no-thumb - .directorist-info-item.directorist-badge.directorist-badge-close, + .directorist-info-item.directorist-badge.directorist-badge-open, .directorist-listing-single.directorist-listing-list.directorist-listing-no-thumb - .directorist-info-item.directorist-badge.directorist-badge-open { + .directorist-info-item.directorist-badge.directorist-badge-close { padding: 0 5px; } .directorist-listing-single.directorist-listing-list.directorist-listing-no-thumb @@ -20470,6 +21492,7 @@ input.directorist-toggle-input:checked width: auto; height: auto; } + .directorist-archive-grid-view.directorist-archive-grid--fix .directorist-all-listing-col { width: 50%; @@ -20480,24 +21503,26 @@ input.directorist-toggle-input:checked width: 100%; } } + .directorist-listing-category { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; } -.directorist-listing-category, .directorist-listing-category__popup { + position: relative; + margin-left: 10px; + cursor: pointer; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } -.directorist-listing-category__popup { - position: relative; - margin-left: 10px; - cursor: pointer; -} .directorist-listing-category__popup__content { display: block; position: absolute; @@ -20525,7 +21550,7 @@ input.directorist-toggle-input:checked left: 40px; bottom: -11px; border: 6px solid transparent; - border-top: 6px solid var(--directorist-color-white); + border-top-color: var(--directorist-color-white); display: inline-block; position: absolute; } @@ -20552,7 +21577,7 @@ input.directorist-toggle-input:checked width: unset; min-width: unset; } -.directorist-listing-category__popup__content a i:after { +.directorist-listing-category__popup__content a i::after { height: 14px; width: 14px; background-color: var(--directorist-color-body); @@ -20561,7 +21586,7 @@ input.directorist-toggle-input:checked color: var(--directorist-color-primary); background-color: var(--directorist-color-light); } -.directorist-listing-category__popup__content a:hover i:after { +.directorist-listing-category__popup__content a:hover i::after { background-color: var(--directorist-color-primary); } .directorist-listing-category__popup:hover @@ -20570,6 +21595,7 @@ input.directorist-toggle-input:checked opacity: 1; pointer-events: all; } + .directorist-listing-single__meta__right .directorist-listing-category__popup__content { left: unset; @@ -20580,6 +21606,7 @@ input.directorist-toggle-input:checked left: unset; right: 40px; } + .directorist-listing-price-range span { font-weight: 600; color: rgba(122, 130, 166, 0.3); @@ -20587,60 +21614,94 @@ input.directorist-toggle-input:checked .directorist-listing-price-range span.directorist-price-active { color: var(--directorist-color-body); } -#gmap.leaflet-container, + #map.leaflet-container, +#gmap.leaflet-container, .directorist-single-map.leaflet-container { + /*rtl:ignore*/ direction: ltr; } -#gmap.leaflet-container .leaflet-popup-content-wrapper, #map.leaflet-container .leaflet-popup-content-wrapper, +#gmap.leaflet-container .leaflet-popup-content-wrapper, .directorist-single-map.leaflet-container .leaflet-popup-content-wrapper { border-radius: 8px; padding: 0; } -#gmap.leaflet-container .leaflet-popup-content, #map.leaflet-container .leaflet-popup-content, +#gmap.leaflet-container .leaflet-popup-content, .directorist-single-map.leaflet-container .leaflet-popup-content { margin: 0; line-height: 1; width: 350px !important; } @media only screen and (max-width: 480px) { - #gmap.leaflet-container .leaflet-popup-content, #map.leaflet-container .leaflet-popup-content, + #gmap.leaflet-container .leaflet-popup-content, .directorist-single-map.leaflet-container .leaflet-popup-content { width: 300px !important; } } @media only screen and (max-width: 375px) { - #gmap.leaflet-container .leaflet-popup-content, #map.leaflet-container .leaflet-popup-content, + #gmap.leaflet-container .leaflet-popup-content, .directorist-single-map.leaflet-container .leaflet-popup-content { width: 250px !important; } } -#gmap.leaflet-container - .leaflet-popup-content - .atbdp-listings-title-block - h3.atbdp-no-margin, -#map.leaflet-container - .leaflet-popup-content - .atbdp-listings-title-block - h3.atbdp-no-margin, +#map.leaflet-container .leaflet-popup-content .atbdp-map.atbdp-body img, +#gmap.leaflet-container .leaflet-popup-content .atbdp-map.atbdp-body img, .directorist-single-map.leaflet-container .leaflet-popup-content - .atbdp-listings-title-block - h3.atbdp-no-margin { - font-size: 14px; - margin: 0 0 10px; + .atbdp-map.atbdp-body + img { + width: 100%; } -#gmap.leaflet-container .leaflet-popup-content .osm-iw-location, -#map.leaflet-container .leaflet-popup-content .osm-iw-location, +#map.leaflet-container .leaflet-popup-content .media-body, +#gmap.leaflet-container .leaflet-popup-content .media-body, +.directorist-single-map.leaflet-container .leaflet-popup-content .media-body { + padding: 10px 15px; +} +#map.leaflet-container .leaflet-popup-content .media-body a, +#gmap.leaflet-container .leaflet-popup-content .media-body a, +.directorist-single-map.leaflet-container .leaflet-popup-content .media-body a { + text-decoration: none; +} +#map.leaflet-container .leaflet-popup-content .media-body h3 a, +#gmap.leaflet-container .leaflet-popup-content .media-body h3 a, .directorist-single-map.leaflet-container .leaflet-popup-content - .osm-iw-location { - margin-bottom: 6px; - display: -webkit-box; + .media-body + h3 + a { + font-weight: 500; + line-height: 1.2; + color: #272b41; + letter-spacing: normal; + font-size: 18px; + text-decoration: none; +} +#map.leaflet-container + .leaflet-popup-content + .atbdp-listings-title-block + h3.atbdp-no-margin, +#gmap.leaflet-container + .leaflet-popup-content + .atbdp-listings-title-block + h3.atbdp-no-margin, +.directorist-single-map.leaflet-container + .leaflet-popup-content + .atbdp-listings-title-block + h3.atbdp-no-margin { + font-size: 14px; + margin: 0 0 10px; +} +#map.leaflet-container .leaflet-popup-content .osm-iw-location, +#gmap.leaflet-container .leaflet-popup-content .osm-iw-location, +.directorist-single-map.leaflet-container + .leaflet-popup-content + .osm-iw-location { + margin-bottom: 6px; + display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; @@ -20649,11 +21710,11 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; } -#gmap.leaflet-container +#map.leaflet-container .leaflet-popup-content .osm-iw-location .directorist-icon-mask, -#map.leaflet-container +#gmap.leaflet-container .leaflet-popup-content .osm-iw-location .directorist-icon-mask, @@ -20664,8 +21725,8 @@ input.directorist-toggle-input:checked display: inline-block; margin-right: 4px; } -#gmap.leaflet-container .leaflet-popup-content .osm-iw-get-location, #map.leaflet-container .leaflet-popup-content .osm-iw-get-location, +#gmap.leaflet-container .leaflet-popup-content .osm-iw-get-location, .directorist-single-map.leaflet-container .leaflet-popup-content .osm-iw-get-location { @@ -20678,11 +21739,11 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; } -#gmap.leaflet-container +#map.leaflet-container .leaflet-popup-content .osm-iw-get-location .directorist-icon-mask, -#map.leaflet-container +#gmap.leaflet-container .leaflet-popup-content .osm-iw-get-location .directorist-icon-mask, @@ -20693,32 +21754,33 @@ input.directorist-toggle-input:checked display: inline-block; margin-left: 5px; } -#gmap.leaflet-container .leaflet-popup-content .atbdp-map, #map.leaflet-container .leaflet-popup-content .atbdp-map, +#gmap.leaflet-container .leaflet-popup-content .atbdp-map, .directorist-single-map.leaflet-container .leaflet-popup-content .atbdp-map { + margin: 0; line-height: 1; width: 350px !important; } -#gmap.leaflet-container .leaflet-popup-content .atbdp-map.atbdp-body img, #map.leaflet-container .leaflet-popup-content .atbdp-map.atbdp-body img, +#gmap.leaflet-container .leaflet-popup-content .atbdp-map.atbdp-body img, .directorist-single-map.leaflet-container .leaflet-popup-content .atbdp-map.atbdp-body img { width: 100%; } -#gmap.leaflet-container .leaflet-popup-content .media-body, #map.leaflet-container .leaflet-popup-content .media-body, +#gmap.leaflet-container .leaflet-popup-content .media-body, .directorist-single-map.leaflet-container .leaflet-popup-content .media-body { padding: 10px 15px; } -#gmap.leaflet-container .leaflet-popup-content .media-body a, #map.leaflet-container .leaflet-popup-content .media-body a, +#gmap.leaflet-container .leaflet-popup-content .media-body a, .directorist-single-map.leaflet-container .leaflet-popup-content .media-body a { text-decoration: none; } -#gmap.leaflet-container .leaflet-popup-content .media-body h3 a, #map.leaflet-container .leaflet-popup-content .media-body h3 a, +#gmap.leaflet-container .leaflet-popup-content .media-body h3 a, .directorist-single-map.leaflet-container .leaflet-popup-content .media-body @@ -20731,12 +21793,12 @@ input.directorist-toggle-input:checked font-size: 18px; text-decoration: none; } -#gmap.leaflet-container +#map.leaflet-container .leaflet-popup-content .media-body .atbdp-listings-title-block h3.atbdp-no-margin, -#map.leaflet-container +#gmap.leaflet-container .leaflet-popup-content .media-body .atbdp-listings-title-block @@ -20749,8 +21811,8 @@ input.directorist-toggle-input:checked font-size: 14px; margin: 0 0 10px; } -#gmap.leaflet-container .leaflet-popup-content .media-body .osm-iw-location, #map.leaflet-container .leaflet-popup-content .media-body .osm-iw-location, +#gmap.leaflet-container .leaflet-popup-content .media-body .osm-iw-location, .directorist-single-map.leaflet-container .leaflet-popup-content .media-body @@ -20765,12 +21827,12 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; } -#gmap.leaflet-container +#map.leaflet-container .leaflet-popup-content .media-body .osm-iw-location .directorist-icon-mask, -#map.leaflet-container +#gmap.leaflet-container .leaflet-popup-content .media-body .osm-iw-location @@ -20783,8 +21845,8 @@ input.directorist-toggle-input:checked display: inline-block; margin-right: 4px; } -#gmap.leaflet-container .leaflet-popup-content .media-body .osm-iw-get-location, #map.leaflet-container .leaflet-popup-content .media-body .osm-iw-get-location, +#gmap.leaflet-container .leaflet-popup-content .media-body .osm-iw-get-location, .directorist-single-map.leaflet-container .leaflet-popup-content .media-body @@ -20798,12 +21860,12 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; } -#gmap.leaflet-container +#map.leaflet-container .leaflet-popup-content .media-body .osm-iw-get-location .directorist-icon-mask, -#map.leaflet-container +#gmap.leaflet-container .leaflet-popup-content .media-body .osm-iw-get-location @@ -20816,24 +21878,24 @@ input.directorist-toggle-input:checked display: inline-block; margin-left: 5px; } -#gmap.leaflet-container .leaflet-popup-content .atbdp-map, #map.leaflet-container .leaflet-popup-content .atbdp-map, +#gmap.leaflet-container .leaflet-popup-content .atbdp-map, .directorist-single-map.leaflet-container .leaflet-popup-content .atbdp-map { margin: 0; } -#gmap.leaflet-container .leaflet-popup-content .map-info-wrapper img, #map.leaflet-container .leaflet-popup-content .map-info-wrapper img, +#gmap.leaflet-container .leaflet-popup-content .map-info-wrapper img, .directorist-single-map.leaflet-container .leaflet-popup-content .map-info-wrapper img { width: 100%; } -#gmap.leaflet-container +#map.leaflet-container .leaflet-popup-content .map-info-wrapper .map-info-details, -#map.leaflet-container +#gmap.leaflet-container .leaflet-popup-content .map-info-wrapper .map-info-details, @@ -20843,12 +21905,12 @@ input.directorist-toggle-input:checked .map-info-details { padding: 15px; } -#gmap.leaflet-container +#map.leaflet-container .leaflet-popup-content .map-info-wrapper .map-info-details h3, -#map.leaflet-container +#gmap.leaflet-container .leaflet-popup-content .map-info-wrapper .map-info-details @@ -20862,13 +21924,13 @@ input.directorist-toggle-input:checked margin-bottom: 0; margin-top: 0; } -#gmap.leaflet-container +#map.leaflet-container .leaflet-popup-content .map-info-wrapper .map-info-details .miw-contents-footer .iw-close-btn, -#map.leaflet-container +#gmap.leaflet-container .leaflet-popup-content .map-info-wrapper .map-info-details @@ -20882,8 +21944,8 @@ input.directorist-toggle-input:checked .iw-close-btn { display: none; } -#gmap.leaflet-container .leaflet-popup-close-button, #map.leaflet-container .leaflet-popup-close-button, +#gmap.leaflet-container .leaflet-popup-close-button, .directorist-single-map.leaflet-container .leaflet-popup-close-button { position: absolute; width: 25px; @@ -20914,30 +21976,33 @@ input.directorist-toggle-input:checked padding: 0; display: none; } -#gmap.leaflet-container .leaflet-popup-close-button:hover, #map.leaflet-container .leaflet-popup-close-button:hover, +#gmap.leaflet-container .leaflet-popup-close-button:hover, .directorist-single-map.leaflet-container .leaflet-popup-close-button:hover { background-color: #444752; } -#gmap.leaflet-container .leaflet-popup-tip-container, #map.leaflet-container .leaflet-popup-tip-container, +#gmap.leaflet-container .leaflet-popup-tip-container, .directorist-single-map.leaflet-container .leaflet-popup-tip-container { display: none; } + .directorist-single-map .gm-style-iw-c, .directorist-single-map .gm-style-iw-d { max-height: unset !important; } -.directorist-single-map .gm-style-iw-chr, -.directorist-single-map .gm-style-iw-tc { +.directorist-single-map .gm-style-iw-tc, +.directorist-single-map .gm-style-iw-chr { display: none; } + .map-listing-card-single { position: relative; padding: 10px; border-radius: 8px; - -webkit-box-shadow: 0 5px 20px rgba(var(--directorist-color-dark-rgb), 0.33); - box-shadow: 0 5px 20px rgba(var(--directorist-color-dark-rgb), 0.33); + -webkit-box-shadow: 0px 5px 20px + rgba(var(--directorist-color-dark-rgb), 0.33); + box-shadow: 0px 5px 20px rgba(var(--directorist-color-dark-rgb), 0.33); background-color: var(--directorist-color-white); } .map-listing-card-single figure { @@ -20954,7 +22019,7 @@ input.directorist-toggle-input:checked } .map-listing-card-single .directorist-mark-as-favorite__btn - .directorist-favorite-icon:before { + .directorist-favorite-icon::before { width: 16px; height: 16px; } @@ -21093,13 +22158,17 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-gray-hover); } .map-listing-card-single__content__info { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 10px; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; } -.map-listing-card-single__content__info, .map-listing-card-single__content__info .directorist-info-item { display: -webkit-box; display: -webkit-flex; @@ -21139,6 +22208,7 @@ input.directorist-toggle-input:checked .map-listing-card-single__content__location a:not(:first-child) { margin-left: 5px; } + .leaflet-popup-content-wrapper .leaflet-popup-content .map-info-wrapper @@ -21146,11 +22216,13 @@ input.directorist-toggle-input:checked .iw-close-btn { display: none; } + .myDivIcon { text-align: center !important; line-height: 20px !important; position: relative; } + .atbd_map_shape { position: relative; display: -webkit-box; @@ -21185,20 +22257,21 @@ input.directorist-toggle-input:checked transition: all 0.3s ease-in-out; border: none; border: 40px solid rgba(var(--directorist-color-marker-shape-rgb), 0.2); - -webkit-animation: atbd_scale 3s linear infinite alternate; - animation: atbd_scale 3s linear infinite alternate; + -webkit-animation: atbd_scale 3s linear alternate infinite; + animation: atbd_scale 3s linear alternate infinite; } .atbd_map_shape .directorist-icon-mask:after { width: 16px; height: 16px; background-color: var(--directorist-color-marker-icon); - -webkit-mask-image: url(../images/ed83bad2b8ea2a7680575ff079fc63af.svg); - mask-image: url(../images/ed83bad2b8ea2a7680575ff079fc63af.svg); + -webkit-mask-image: url(../js/../images/ed83bad2b8ea2a7680575ff079fc63af.svg); + mask-image: url(../js/../images/ed83bad2b8ea2a7680575ff079fc63af.svg); } .atbd_map_shape:hover:before { opacity: 1; visibility: visible; } + .marker-cluster-shape { width: 35px; height: 35px; @@ -21232,8 +22305,10 @@ input.directorist-toggle-input:checked background: rgba(var(--directorist-color-marker-shape-rgb), 0.15); border-radius: 50%; } -.atbd_google_map .gm-style .gm-style-iw, + +/*style the box*/ .atbdp-map .gm-style .gm-style-iw, +.atbd_google_map .gm-style .gm-style-iw, .directorist-details-info-wrap .gm-style .gm-style-iw { width: 350px; padding: 0; @@ -21243,35 +22318,37 @@ input.directorist-toggle-input:checked max-height: none !important; } @media only screen and (max-width: 375px) { - .atbd_google_map .gm-style .gm-style-iw, .atbdp-map .gm-style .gm-style-iw, + .atbd_google_map .gm-style .gm-style-iw, .directorist-details-info-wrap .gm-style .gm-style-iw { width: 275px; max-width: unset !important; } } -.atbd_google_map .gm-style .gm-style-iw .gm-style-iw-d, .atbdp-map .gm-style .gm-style-iw .gm-style-iw-d, +.atbd_google_map .gm-style .gm-style-iw .gm-style-iw-d, .directorist-details-info-wrap .gm-style .gm-style-iw .gm-style-iw-d { overflow: hidden !important; max-height: 100% !important; } -.atbd_google_map .gm-style .gm-style-iw button.gm-ui-hover-effect, .atbdp-map .gm-style .gm-style-iw button.gm-ui-hover-effect, +.atbd_google_map .gm-style .gm-style-iw button.gm-ui-hover-effect, .directorist-details-info-wrap .gm-style .gm-style-iw button.gm-ui-hover-effect { display: none !important; } -.atbd_google_map .gm-style .gm-style-iw .map-info-wrapper--show, .atbdp-map .gm-style .gm-style-iw .map-info-wrapper--show, +.atbd_google_map .gm-style .gm-style-iw .map-info-wrapper--show, .directorist-details-info-wrap .gm-style .gm-style-iw .map-info-wrapper--show { display: block !important; } + .gm-style div[aria-label="Map"] div[role="button"] { display: none; } + .directorist-report-abuse-modal .directorist-modal__header { padding: 20px 0 15px; } @@ -21279,7 +22356,8 @@ input.directorist-toggle-input:checked .directorist-modal__header .directorist-modal-title { font-size: 1.75rem; - margin: 0 0 0.5rem; + margin: 0; + margin-bottom: 0.5rem; font-weight: 500; line-height: 1.2; color: var(--directorist-color-dark); @@ -21368,9 +22446,9 @@ input.directorist-toggle-input:checked .directorist-modal__footer .directorist-btn.directorist-btn-loading:after { content: ""; - border-radius: 50%; border: 2px solid #f3f3f3; - border-top-color: #656a7a; + border-radius: 50%; + border-top: 2px solid #656a7a; width: 20px; height: 20px; -webkit-animation: rotate360 2s linear infinite; @@ -21381,35 +22459,36 @@ input.directorist-toggle-input:checked top: 4px; } .directorist-report-abuse-modal .directorist-modal__content { - padding: 20px 30px; + padding: 20px 30px 20px; } .directorist-report-abuse-modal #directorist-report-abuse-form { text-align: left; } -.atbd_rated_stars ul, -.directorist-rated-stars ul { + +.directorist-rated-stars ul, +.atbd_rated_stars ul { margin: 0; padding: 0; } -.atbd_rated_stars li, -.directorist-rated-stars li { +.directorist-rated-stars li, +.atbd_rated_stars li { display: inline-block; padding: 0; margin: 0; } -.atbd_rated_stars span, -.directorist-rated-stars span { +.directorist-rated-stars span, +.atbd_rated_stars span { color: #d4d3f3; display: block; width: 14px; height: 14px; position: relative; } -.atbd_rated_stars span:before, -.directorist-rated-stars span:before { +.directorist-rated-stars span:before, +.atbd_rated_stars span:before { content: ""; - -webkit-mask-image: url(../images/9a1043337f37b65647d77feb64df21dd.svg); - mask-image: url(../images/9a1043337f37b65647d77feb64df21dd.svg); + -webkit-mask-image: url(../js/../images/9a1043337f37b65647d77feb64df21dd.svg); + mask-image: url(../js/../images/9a1043337f37b65647d77feb64df21dd.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 15px; @@ -21419,10 +22498,11 @@ input.directorist-toggle-input:checked left: 0; top: 0; } -.atbd_rated_stars span.directorist-rate-active:before, -.directorist-rated-stars span.directorist-rate-active:before { +.directorist-rated-stars span.directorist-rate-active:before, +.atbd_rated_stars span.directorist-rate-active:before { background-color: var(--directorist-color-warning); } + .directorist-single .directorist-single-listing-top button:not(:hover):not(:active):not( @@ -21440,12 +22520,15 @@ input.directorist-toggle-input:checked background-color: transparent; } } + .directorist-listing-details .directorist-listing-single { - border: 0; + border: 0 none; } + .directorist-single-listing-notice { margin-bottom: 15px; } + .directorist-single-tag-list li { margin: 0 0 10px; } @@ -21486,6 +22569,9 @@ input.directorist-toggle-input:checked .directorist-single-tag-list a .directorist-icon-mask:after { font-size: 15px; } +.directorist-single-tag-list a { + /* Legacy Icon */ +} .directorist-single-tag-list a > span:not(.directorist-icon-mask) { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -21515,6 +22601,7 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-primary); color: var(--directorist-color-white); } + .directorist-single-dummy-shortcode { width: 100%; background-color: #556166; @@ -21526,6 +22613,7 @@ input.directorist-toggle-input:checked font-size: 16px; line-height: 1.2; } + .directorist-sidebar .directorist-search-contents { display: -webkit-box; display: -webkit-flex; @@ -21608,775 +22696,84 @@ input.directorist-toggle-input:checked li { margin-top: 0; } -.directorist-single-listing-top { - gap: 20px; - margin: 15px 0 30px; - -webkit-box-align: start; - -webkit-align-items: flex-start; - -ms-flex-align: start; - align-items: flex-start; -} -@media screen and (max-width: 575px) { - .directorist-single-listing-top { - gap: 10px; - } + +.directorist-single-wrapper + .formgent-form-general + .formgent-field-list--frontend { + padding: 0; } -.directorist-single-listing-top .directorist-return-back { - gap: 8px; - margin: 0; - -webkit-box-flex: unset; - -webkit-flex: unset; - -ms-flex: unset; - flex: unset; - min-width: 120px; - text-decoration: none; - -webkit-box-pack: start; - -webkit-justify-content: flex-start; - -ms-flex-pack: start; - justify-content: flex-start; - border: 2px solid var(--directorist-color-white); +.directorist-single-wrapper .formgent-file-upload-progress-text { + min-width: 40px; } -@media screen and (max-width: 575px) { - .directorist-single-listing-top .directorist-return-back { - border: none; - min-width: auto; - } +.directorist-single-wrapper + .formgent-file-preview-action + .formgent-file-delete { + line-height: 1; } -.directorist-single-listing-top - .directorist-return-back - .directorist-single-listing-action__text { - display: block; + +.directorist-single-author-info figure { + margin: 0; } -@media screen and (max-width: 575px) { - .directorist-single-listing-top - .directorist-return-back - .directorist-single-listing-action__text { - display: none; - } +.directorist-single-author-info .diretorist-view-profile-btn { + margin-top: 22px; + padding: 0 30px; } -.directorist-single-listing-top__btn-wrapper { - position: fixed; - width: 100%; - height: 80px; - bottom: 0; - left: 0; + +.directorist-single-author-avatar { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; - background-color: rgba(0, 0, 0, 0.8); - z-index: 999; -} -.directorist-single-listing-top__btn-continue.directorist-btn { - height: 46px; - border-radius: 8px; - font-size: 15px; - font-weight: 600; - padding: 0 25px; - background-color: #394dff !important; - color: var(--directorist-color-white); -} -.directorist-single-listing-top__btn-continue.directorist-btn:hover { - background-color: #2a3cd9 !important; - color: var(--directorist-color-white); - border-color: var(--directorist-color-white) !important; -} -.directorist-single-listing-top__btn-continue.directorist-btn - .directorist-single-listing-action__text { - display: block; -} -.directorist-single-contents-area { - -webkit-box-sizing: border-box; - box-sizing: border-box; } -.directorist-single-contents-area .directorist-card { - padding: 0; - -webkit-filter: none; - filter: none; - margin-bottom: 35px; +.directorist-single-author-avatar .directorist-single-author-avatar-inner { + margin-right: 10px; + width: auto; } -.directorist-single-contents-area .directorist-card .directorist-card__body { - padding: 30px; +.directorist-single-author-avatar .directorist-single-author-avatar-inner img { + width: 50px; + height: 50px; + border-radius: 50%; } -@media screen and (max-width: 575px) { - .directorist-single-contents-area - .directorist-card - .directorist-card__body { - padding: 20px 15px; - } +.directorist-single-author-avatar .directorist-single-author-name h1, +.directorist-single-author-avatar .directorist-single-author-name h2, +.directorist-single-author-avatar .directorist-single-author-name h3, +.directorist-single-author-avatar .directorist-single-author-name h4, +.directorist-single-author-avatar .directorist-single-author-name h5, +.directorist-single-author-avatar .directorist-single-author-name h6 { + font-size: 16px; + font-weight: 500; + line-height: 1.2; + letter-spacing: normal; + margin: 0 0 3px; + color: var(--color-dark); } -.directorist-single-contents-area .directorist-card .directorist-card__header { - padding: 20px 30px; +.directorist-single-author-avatar .directorist-single-author-membership { + font-size: 14px; + color: var(--directorist-color-light-gray); } -@media screen and (max-width: 575px) { - .directorist-single-contents-area - .directorist-card - .directorist-card__header { - padding: 15px 20px; - } + +.directorist-single-author-contact-info { + margin-top: 15px; } -.directorist-single-contents-area - .directorist-card - .directorist-single-author-name - h4 { +.directorist-single-author-contact-info ul { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; margin: 0; + padding: 0; } -.directorist-single-contents-area .directorist-card__header__title { - gap: 12px; - font-size: 18px; - font-weight: 500; - color: var(--directorist-color-dark); -} -.directorist-single-contents-area - .directorist-card__header__title - #directorist-review-counter { - margin-right: 10px; -} -.directorist-single-contents-area .directorist-card__header-icon { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - min-width: 34px; - height: 34px; - border-radius: 50%; - background-color: var(--directorist-color-bg-light); -} -.directorist-single-contents-area - .directorist-card__header-icon - .directorist-icon-mask { - color: var(--directorist-color-dark); -} -.directorist-single-contents-area - .directorist-card__header-icon - .directorist-icon-mask:after { - width: 14px; - height: 14px; -} -.directorist-single-contents-area .directorist-details-info-wrap a { - font-size: 15px; - text-decoration: none; - -webkit-box-shadow: none; - box-shadow: none; - color: var(--directorist-color-body); -} -.directorist-single-contents-area .directorist-details-info-wrap a:hover { - color: var(--directorist-color-primary); -} -.directorist-single-contents-area .directorist-details-info-wrap ul { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - gap: 0 10px; - margin: 0; - list-style-type: none; - padding: 0; -} -.directorist-single-contents-area .directorist-details-info-wrap li { - -webkit-box-flex: 0; - -webkit-flex: 0 0 49%; - -ms-flex: 0 0 49%; - flex: 0 0 49%; -} -.directorist-single-contents-area - .directorist-details-info-wrap - .directorist-social-links - a:hover { - background-color: var(--directorist-color-primary); -} -.directorist-single-contents-area - .directorist-details-info-wrap - .directorist-single-map__location { - padding-top: 18px; -} -.directorist-single-contents-area - .directorist-single-info__label-icon - .directorist-icon-mask:after { - background-color: grey; -} -.directorist-single-contents-area - .directorist-single-listing-slider - .directorist-swiper__nav - i:after { - background-color: var(--directorist-color-white); -} -.directorist-single-contents-area .directorist-related { - padding: 0; -} -.directorist-single-contents-area { - margin-top: 50px; -} -.directorist-single-contents-area - .directorist-single-wrapper - .directorist-details-info-wrap { - gap: 12px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -} -.directorist-single-contents-area - .directorist-single-wrapper - .directorist-details-info-wrap - .directorist-single-info { - margin: 0; -} -.directorist-single-contents-area - .directorist-single-wrapper - .directorist-details-info-wrap - .directorist-single-info.directorist-single-info-number - .directorist-form-group__with-prefix { - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; -} -.directorist-single-contents-area - .directorist-single-wrapper - .directorist-details-info-wrap - .directorist-single-info - .directorist-form-group__with-prefix { - border: none; - margin-top: 4px; -} -.directorist-single-contents-area - .directorist-single-wrapper - .directorist-details-info-wrap - .directorist-single-info - .directorist-form-group__prefix { - height: auto; - line-height: unset; - color: var(--directorist-color-body); -} -.directorist-single-contents-area - .directorist-single-wrapper - .directorist-single-formgent-form - .formgent-form { - width: 100%; -} -.directorist-single-contents-area .directorist-card { - margin-bottom: 25px; -} -.directorist-single-map__location { - gap: 10px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - padding: 30px 0 0; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; -} -@media screen and (max-width: 575px) { - .directorist-single-map__location { - padding: 20px 0 0; - } -} -.directorist-single-map__address { - gap: 10px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - font-size: 14px; -} -.directorist-single-map__address i:after { - width: 14px; - height: 14px; - margin-top: 4px; -} -.directorist-single-map__direction a { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 10px; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; -} -.directorist-single-contents-area .directorist-single-map__direction a { - font-size: 14px; - color: var(--directorist-color-info); -} -.directorist-single-contents-area - .directorist-single-map__direction - a - .directorist-icon-mask:after { - background-color: var(--directorist-color-info); -} -.directorist-single-contents-area .directorist-single-map__direction a:hover { - color: var(--directorist-color-primary); -} -.directorist-single-contents-area - .directorist-single-map__direction - a:hover - .directorist-icon-mask:after { - background-color: var(--directorist-color-primary); -} -.directorist-single-contents-area - .directorist-single-map__direction - .directorist-icon-mask:after { - width: 14px; - height: 14px; - background-color: var(--directorist-color-info); -} -.directorist-single-listing-header { - margin-bottom: 25px; - margin-top: -15px; - padding: 0; -} -.directorist-single-wrapper .directorist-listing-single__info { - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; -} -.directorist-single-wrapper .directorist-single-listing-slider-wrap { - padding: 0; - margin: 15px 0; -} -.directorist-single-wrapper - .directorist-single-listing-slider-wrap.background-contain - .directorist-single-listing-slider - .swiper-slide - img { - -o-object-fit: contain; - object-fit: contain; -} -.directorist-single-listing-quick-action { - width: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; -} -@media screen and (max-width: 767px) { - .directorist-single-listing-quick-action { - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - } -} -@media screen and (max-width: 575px) { - .directorist-single-listing-quick-action { - gap: 12px; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - } -} -.directorist-single-listing-quick-action .directorist-social-share { - position: relative; -} -.directorist-single-listing-quick-action - .directorist-social-share:hover - .directorist-social-share-links { - opacity: 1; - visibility: visible; - top: calc(100% + 5px); -} -@media screen and (max-width: 575px) { - .directorist-single-listing-quick-action .directorist-action-bookmark, - .directorist-single-listing-quick-action .directorist-action-report, - .directorist-single-listing-quick-action .directorist-social-share { - font-size: 0; - } -} -.directorist-single-listing-quick-action .directorist-social-share-links { - position: absolute; - -webkit-transition: all 0.2s ease-in-out; - transition: all 0.2s ease-in-out; - z-index: 2; - visibility: hidden; - opacity: 0; - right: 0; - top: calc(100% + 30px); - background-color: var(--directorist-color-white); - border-radius: 8px; - width: 150px; - -webkit-box-shadow: 0 5px 15px rgba(var(--directorist-color-dark-rgb), 0.15); - box-shadow: 0 5px 15px rgba(var(--directorist-color-dark-rgb), 0.15); - list-style-type: none; - padding: 10px; - margin: 0; -} -.directorist-single-listing-quick-action .directorist-social-links__item { - padding-left: 0; - margin: 0; -} -.directorist-single-listing-quick-action .directorist-social-links__item a { - padding: 8px 12px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 5px; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - text-decoration: none; - font-size: 14px; - font-weight: 500; - border: 0; - border-radius: 8px; - color: var(--directorist-color-body); - -webkit-transition: 0.3s ease; - transition: 0.3s ease; -} -.directorist-single-listing-quick-action .directorist-social-links__item a i, -.directorist-single-listing-quick-action - .directorist-social-links__item - a - span.fa, -.directorist-single-listing-quick-action - .directorist-social-links__item - a - span.la, -.directorist-single-listing-quick-action - .directorist-social-links__item - a - span.lab { - color: var(--directorist-color-body); -} -.directorist-single-listing-quick-action - .directorist-social-links__item - a - i:after, -.directorist-single-listing-quick-action - .directorist-social-links__item - a - span.fa:after, -.directorist-single-listing-quick-action - .directorist-social-links__item - a - span.la:after, -.directorist-single-listing-quick-action - .directorist-social-links__item - a - span.lab:after { - width: 18px; - height: 18px; -} -.directorist-single-listing-quick-action - .directorist-social-links__item - a - .directorist-icon-mask:after { - background-color: var(--directorist-color-body); -} -.directorist-single-listing-quick-action - .directorist-social-links__item - a - span.fa { - font-family: Font Awesome\5 Brands; - font-weight: 900; - font-size: 15px; -} -.directorist-single-listing-quick-action - .directorist-social-links__item - a:hover { - font-weight: 500; - background-color: rgba(var(--directorist-color-primary-rgb), 0.1); - color: var(--directorist-color-primary); -} -.directorist-single-listing-quick-action - .directorist-social-links__item - a:hover - i, -.directorist-single-listing-quick-action - .directorist-social-links__item - a:hover - span.fa, -.directorist-single-listing-quick-action - .directorist-social-links__item - a:hover - span.la { - color: var(--directorist-color-primary); -} -.directorist-single-listing-quick-action - .directorist-social-links__item - a:hover - .directorist-icon-mask:after { - background-color: var(--directorist-color-primary); -} -.directorist-single-listing-quick-action - .directorist-listing-single__quick-actions { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; -} -.directorist-single-listing-action { - gap: 8px; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - font-size: 13px; - font-weight: 400; - border: 0; - border-radius: 8px; - padding: 0 16px; - cursor: pointer; - text-decoration: none; - color: var(--directorist-color-body); - border: 2px solid var(--directorist-color-white) !important; - -webkit-transition: background-color 0.2s ease-in-out; - transition: background-color 0.2s ease-in-out; -} -.directorist-single-listing-action:hover { - background-color: var(--directorist-color-white) !important; - border-color: var(--directorist-color-primary) !important; -} -@media screen and (max-width: 575px) { - .directorist-single-listing-action { - gap: 0; - border: none; - } - .directorist-single-listing-action.directorist-btn.directorist-btn-light { - background-color: var(--directorist-color-white); - border: 1px solid var(--directorist-color-light) !important; - } - .directorist-single-listing-action.directorist-single-listing-top__btn-edit - .directorist-single-listing-action__text { - display: none; - } -} -@media screen and (max-width: 480px) { - .directorist-single-listing-action { - padding: 0 10px; - font-size: 12px; - } -} -@media screen and (max-width: 380px) { - .directorist-single-listing-action.directorist-btn-sm { - min-height: 38px; - } -} -.directorist-single-listing-action.directorist-action-bookmark - .directorist-icon-mask:after { - background-color: var(--directorist-color-dark); -} -.directorist-single-listing-action.directorist-action-bookmark - .directorist-icon-mask.directorist-added-to-favorite:after { - background-color: var(--directorist-color-danger); -} -.directorist-single-listing-action .directorist-icon-mask:after { - width: 15px; - height: 15px; -} -.directorist-single-listing-action a { - -webkit-box-shadow: none; - box-shadow: none; -} -.directorist-single-listing-action .atbdp-require-login, -.directorist-single-listing-action .directorist-action-report-not-loggedin { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - width: 100%; - height: 100%; -} -.directorist-single-listing-action .atbdp-require-login i, -.directorist-single-listing-action .directorist-action-report-not-loggedin i { - pointer-events: none; -} -.directorist-listing-details { - margin: 15px 0 30px; -} -.directorist-listing-details__text p { - margin: 0 0 15px; - color: var(--directorist-color-body); - line-height: 24px; -} -.directorist-listing-details__text ul { - list-style: disc; - padding-left: 20px; - margin-left: 0; -} -.directorist-listing-details__text li { - list-style: disc; -} -.directorist-listing-details__listing-title { - font-size: 30px; - font-weight: 600; - display: inline-block; - margin: 15px 0 0; - color: var(--directorist-color-dark); -} -@media screen and (max-width: 575px) { - .directorist-listing-details__listing-title { - font-size: 24px; - } -} -.directorist-listing-details__tagline { - margin: 10px 0; - color: var(--directorist-color-body); -} -.directorist-listing-details - .directorist-pricing-meta - .directorist-listing-price { - padding: 5px 10px; - border-radius: 6px; - background-color: var(--directorist-color-light); -} -.directorist-listing-details .directorist-listing-single__info { - padding: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; -} -.directorist-single-contents-area .directorist-embaded-video { - width: 100%; - height: 400px; - border: 0; - border-radius: 12px; -} -@media (max-width: 768px) { - .directorist-single-contents-area .directorist-embaded-video { - height: 56.25vw; - } -} -.directorist-single-contents-area .directorist-single-map { - border-radius: 12px; - z-index: 1; -} -.directorist-single-contents-area - .directorist-single-map - .directorist-info-item - a { - font-size: 14px; -} -.directorist-related-listing-header h1, -.directorist-related-listing-header h2, -.directorist-related-listing-header h3, -.directorist-related-listing-header h4, -.directorist-related-listing-header h5, -.directorist-related-listing-header h6 { - font-size: 18px; - margin: 0 0 15px; -} -.directorist-single-author-info figure { - margin: 0; -} -.directorist-single-author-info .diretorist-view-profile-btn { - margin-top: 22px; - padding: 0 30px; -} -.directorist-single-author-avatar { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; -} -.directorist-single-author-avatar .directorist-single-author-avatar-inner { - margin-right: 10px; - width: auto; -} -.directorist-single-author-avatar .directorist-single-author-avatar-inner img { - width: 50px; - height: 50px; - border-radius: 50%; -} -.directorist-single-author-avatar .directorist-single-author-name h1, -.directorist-single-author-avatar .directorist-single-author-name h2, -.directorist-single-author-avatar .directorist-single-author-name h3, -.directorist-single-author-avatar .directorist-single-author-name h4, -.directorist-single-author-avatar .directorist-single-author-name h5, -.directorist-single-author-avatar .directorist-single-author-name h6 { - font-size: 16px; - font-weight: 500; - line-height: 1.2; - letter-spacing: normal; - margin: 0 0 3px; - color: var(--color-dark); -} -.directorist-single-author-avatar .directorist-single-author-membership { - font-size: 14px; - color: var(--directorist-color-light-gray); -} -.directorist-single-author-contact-info { - margin-top: 15px; -} -.directorist-single-author-contact-info ul { - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - margin: 0; - padding: 0; -} -.directorist-single-author-contact-info ul li { - width: 100%; - -webkit-box-flex: 100%; - -webkit-flex: 100%; - -ms-flex: 100%; - flex: 100%; +.directorist-single-author-contact-info ul li { + width: 100%; + -webkit-box-flex: 100%; + -webkit-flex: 100%; + -ms-flex: 100%; + flex: 100%; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -22398,11 +22795,12 @@ input.directorist-toggle-input:checked .directorist-single-author-contact-info ul a:hover { color: var(--directorist-color-primary); } -.directorist-single-author-contact-info ul .directorist-icon-mask:after { +.directorist-single-author-contact-info ul .directorist-icon-mask::after { width: 14px; height: 14px; background-color: var(--directorist-color-light-gray); } + .directorist-single-author-contact-info-text { font-size: 15px; margin-left: 12px; @@ -22410,6 +22808,7 @@ input.directorist-toggle-input:checked box-shadow: none; color: var(--directorist-color-body); } + .directorist-single-author-info .directorist-social-wrap { display: -webkit-box; display: -webkit-flex; @@ -22427,9 +22826,10 @@ input.directorist-toggle-input:checked border-radius: 4px; color: var(--directorist-color-white) !important; overflow: hidden; - -webkit-transition: all 0.3s ease-in-out !important; - transition: all 0.3s ease-in-out !important; + -webkit-transition: all ease-in-out 300ms !important; + transition: all ease-in-out 300ms !important; } + .directorist-details-info-wrap .directorist-single-info { display: -webkit-box; display: -webkit-flex; @@ -22566,6 +22966,7 @@ input.directorist-toggle-input:checked display: none; } } + .directorist-social-links { display: -webkit-box; display: -webkit-flex; @@ -22594,13 +22995,13 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-light); border-radius: 8px; overflow: hidden; - -webkit-transition: all 0.3s ease-in-out !important; - transition: all 0.3s ease-in-out !important; + -webkit-transition: all ease-in-out 300ms !important; + transition: all ease-in-out 300ms !important; } -.directorist-social-links a .directorist-icon-mask:after { +.directorist-social-links a .directorist-icon-mask::after { background-color: var(--directorist-color-body); } -.directorist-social-links a:hover .directorist-icon-mask:after { +.directorist-social-links a:hover .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .directorist-social-links a:hover.facebook { @@ -22611,7 +23012,7 @@ input.directorist-toggle-input:checked } .directorist-social-links a:hover.youtube, .directorist-social-links a:hover.youtube-play { - background-color: red; + background-color: #ff0000; } .directorist-social-links a:hover.instagram { background-color: #c32aa3; @@ -22653,10 +23054,13 @@ input.directorist-toggle-input:checked .directorist-social-links a:hover.behance { background-color: #196ee3; } -.directorist-social-links a:hover.soundcloud, +.directorist-social-links a:hover.soundcloud { + background-color: #ff5500; +} .directorist-social-links a:hover.stack-overflow { - background-color: #f50; + background-color: #ff5500; } + .directorist-contact-owner-form-inner .directorist-form-group { margin-bottom: 15px; } @@ -22671,9 +23075,11 @@ input.directorist-toggle-input:checked text-decoration: none; text-transform: capitalize; } + .directorist-author-social a .fa { - font-family: Font Awesome\5 Brands; + font-family: "Font Awesome 5 Brands"; } + .directorist-google-map, .directorist-single-map { height: 400px; @@ -22684,6 +23090,7 @@ input.directorist-toggle-input:checked height: 320px; } } + .directorist-rating-review-block { display: inline-block; border: 1px solid #e3e6ef; @@ -22691,12 +23098,14 @@ input.directorist-toggle-input:checked border-radius: 2px; margin-bottom: 20px; } + .directorist-review-area .directorist-review-form-action { margin-top: 16px; } .directorist-review-area .directorist-form-group-guest-user { margin-top: 12px; } + .directorist-rating-given-block .directorist-rating-given-block__label, .directorist-rating-given-block .directorist-rating-given-block__stars { display: inline-block; @@ -22709,26 +23118,29 @@ input.directorist-toggle-input:checked box-shadow: none; } .directorist-rating-given-block .directorist-rating-given-block__label { + margin-right: 10px; margin: 0 10px 0 0; } + .directorist-rating-given-block__stars .br-widget a:before { content: ""; - -webkit-mask-image: url(../images/c8cb6a06142934b1fac8df29a41ebf7c.svg); - mask-image: url(../images/c8cb6a06142934b1fac8df29a41ebf7c.svg); + -webkit-mask-image: url(../js/../images/c8cb6a06142934b1fac8df29a41ebf7c.svg); + mask-image: url(../js/../images/c8cb6a06142934b1fac8df29a41ebf7c.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 14px; height: 14px; background-color: #d4d3f3; } -.directorist-rating-given-block__stars .br-widget a.br-active:before, -.directorist-rating-given-block__stars .br-widget a.br-selected:before { +.directorist-rating-given-block__stars .br-widget a.br-selected:before, +.directorist-rating-given-block__stars .br-widget a.br-active:before { color: var(--directorist-color-warning); } .directorist-rating-given-block__stars .br-current-rating { display: inline-block; margin-left: 20px; } + .directorist-review-current-rating { margin-bottom: 16px; } @@ -22756,7 +23168,7 @@ input.directorist-toggle-input:checked span:before { content: "\f005"; font-size: 14px; - font-family: Font Awesome\5 Free; + font-family: "Font Awesome 5 Free"; font-weight: 900; } .directorist-review-current-rating @@ -22764,6 +23176,7 @@ input.directorist-toggle-input:checked span.directorist-rate-active { color: #fa8b0c; } + .directorist-single-review { padding-bottom: 26px; padding-top: 30px; @@ -22811,6 +23224,7 @@ input.directorist-toggle-input:checked span.directorist-rate-active { color: #fa8b0c; } + .atbdp-universal-pagination ul { display: -webkit-box; display: -webkit-flex; @@ -22819,15 +23233,12 @@ input.directorist-toggle-input:checked -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; - -ms-flex-align: center; - margin: -5px; - padding: 0; -} -.atbdp-universal-pagination li, -.atbdp-universal-pagination ul { -webkit-box-align: center; -webkit-align-items: center; + -ms-flex-align: center; align-items: center; + margin: -5px; + padding: 0; } .atbdp-universal-pagination li { -webkit-box-flex: 0; @@ -22841,7 +23252,10 @@ input.directorist-toggle-input:checked display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; -ms-flex-align: center; + align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; @@ -22858,7 +23272,10 @@ input.directorist-toggle-input:checked .atbdp-universal-pagination li.atbd-active { cursor: pointer; } -.atbdp-universal-pagination li.atbd-active:hover, +.atbdp-universal-pagination li.atbd-active:hover { + border-color: var(--directorist-color-primary); + color: var(--directorist-color-primary); +} .atbdp-universal-pagination li.atbd-selected { border-color: var(--directorist-color-primary); color: var(--directorist-color-primary); @@ -22905,21 +23322,27 @@ input.directorist-toggle-input:checked opacity: 0; left: 30%; } + .directorist-card-review-block .directorist-btn-add-review { padding: 0 14px; line-height: 2.55; } + +/*================================== +Review: New Style +===================================*/ .directorist-review-container { padding: 0; margin-bottom: 35px; } -.directorist-review-container .comment-form-cookies-consent, -.directorist-review-container .comment-notes { +.directorist-review-container .comment-notes, +.directorist-review-container .comment-form-cookies-consent { margin-bottom: 20px; font-style: italic; font-size: 14px; - font-weight: 400; + font-weight: normal; } + .directorist-review-content a > i { font-size: 13.5px; } @@ -22932,10 +23355,10 @@ input.directorist-toggle-input:checked margin-left: 15px; color: var(--directorist-color-deep-gray); } -.directorist-review-content #cancel-comment-reply-link:focus, .directorist-review-content #cancel-comment-reply-link:hover, -.directorist-review-content .directorist-js-cancel-comment-edit:focus, -.directorist-review-content .directorist-js-cancel-comment-edit:hover { +.directorist-review-content #cancel-comment-reply-link:focus, +.directorist-review-content .directorist-js-cancel-comment-edit:hover, +.directorist-review-content .directorist-js-cancel-comment-edit:focus { color: var(--directorist-color-dark); } @media screen and (max-width: 575px) { @@ -23006,7 +23429,7 @@ input.directorist-toggle-input:checked .directorist-review-content .directorist-review-content__header .directorist-btn - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .directorist-review-content @@ -23028,7 +23451,14 @@ input.directorist-toggle-input:checked color: #2c99ff; } .directorist-review-content .directorist-review-content__overview { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; -ms-flex-align: center; + align-items: center; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; @@ -23038,23 +23468,20 @@ input.directorist-toggle-input:checked justify-content: space-between; padding: 30px 50px; } -.directorist-review-content .directorist-review-content__overview, -.directorist-review-content .directorist-review-content__overview__rating { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - align-items: center; -} .directorist-review-content .directorist-review-content__overview__rating { -webkit-box-flex: 0; -webkit-flex: 0 0 50%; -ms-flex: 0 0 50%; flex: 0 0 50%; text-align: center; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; -ms-flex-align: center; + align-items: center; } .directorist-review-content .directorist-review-content__overview__rating @@ -23103,8 +23530,8 @@ input.directorist-toggle-input:checked height: 100%; position: absolute; left: 0; - -webkit-mask-image: url(../images/b6ad67158aa2d6258e619021127e704f.svg); - mask-image: url(../images/b6ad67158aa2d6258e619021127e704f.svg); + -webkit-mask-image: url(../js/../images/b6ad67158aa2d6258e619021127e704f.svg); + mask-image: url(../js/../images/b6ad67158aa2d6258e619021127e704f.svg); background-color: #ef8000; } .directorist-review-content @@ -23219,7 +23646,7 @@ input.directorist-toggle-input:checked .directorist-review-content .directorist-review-content__reviews, .directorist-review-content .directorist-review-content__reviews ul { padding: 0; - margin: 10px 0 0; + margin: 10px 0 0 0; list-style-type: none; } .directorist-review-content .directorist-review-content__reviews li, @@ -23242,7 +23669,7 @@ input.directorist-toggle-input:checked } .directorist-review-content .directorist-review-content__reviews - .directorist-comment-edit-request:after { + .directorist-comment-edit-request::after { content: ""; display: block; position: absolute; @@ -23251,12 +23678,12 @@ input.directorist-toggle-input:checked height: 100%; width: 100%; z-index: 99; - background-color: hsla(0, 0%, 100%, 0.8); + background-color: rgba(255, 255, 255, 0.8); border-radius: 4px; } .directorist-review-content .directorist-review-content__reviews - .directorist-comment-edit-request:before { + .directorist-comment-edit-request::before { position: absolute; z-index: 100; left: 50%; @@ -23274,15 +23701,15 @@ input.directorist-toggle-input:checked .directorist-review-content .directorist-review-content__reviews .directorist-comment-editing - .directorist-review-single__content, + .directorist-review-single__report, .directorist-review-content .directorist-review-content__reviews .directorist-comment-editing - .directorist-review-single__reply, + .directorist-review-single__content, .directorist-review-content .directorist-review-content__reviews .directorist-comment-editing - .directorist-review-single__report { + .directorist-review-single__reply { display: none; } .directorist-review-content @@ -23402,14 +23829,14 @@ input.directorist-toggle-input:checked .directorist-review-single__contents-wrap .directorist-review-single__header .directorist-review-single__author__details - h2:after, + h2:before, .directorist-review-content .directorist-review-content__reviews .directorist-review-single .directorist-review-single__contents-wrap .directorist-review-single__header .directorist-review-single__author__details - h2:before { + h2:after { content: none; } .directorist-review-content @@ -23431,7 +23858,7 @@ input.directorist-toggle-input:checked .directorist-review-single__header .directorist-review-single__author__details h2 - time:before { + time::before { content: "-"; padding-right: 8px; padding-left: 3px; @@ -23462,7 +23889,7 @@ input.directorist-toggle-input:checked .directorist-review-single__header .directorist-review-single__author__details .directorist-rating-stars - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 11px; height: 11px; background-color: #ef8000; @@ -23581,7 +24008,7 @@ input.directorist-toggle-input:checked .directorist-review-content__reviews .directorist-review-single__reply a.directorist-comment-edit-link - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 0.9em; height: 0.9em; background-color: #8c90a4; @@ -23603,7 +24030,7 @@ input.directorist-toggle-input:checked .directorist-review-content__reviews .directorist-review-single__comments .directorist-review-single--comment - .directorist-review-single__contents-wrap:before { + .directorist-review-single__contents-wrap::before { content: ""; height: 100%; background-color: #f2f2f2; @@ -23618,7 +24045,7 @@ input.directorist-toggle-input:checked .directorist-review-submit { margin-top: 0 !important; margin-bottom: 0 !important; - border: 0 !important; + border: 0 none !important; } .directorist-review-content .directorist-review-content__reviews @@ -23653,7 +24080,7 @@ input.directorist-toggle-input:checked margin: 25px 0 0; } .directorist-review-content .directorist-review-content__pagination ul { - border: 0; + border: 0 none; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -23708,6 +24135,7 @@ input.directorist-toggle-input:checked .page-numbers.current { border-color: #090e30; } + .directorist-review-submit { margin-top: 25px; margin-bottom: 25px; @@ -23716,6 +24144,21 @@ input.directorist-toggle-input:checked border: 1px solid #eff1f6; } .directorist-review-submit__header { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; gap: 15px; } .directorist-review-submit__header h3 { @@ -23748,12 +24191,20 @@ input.directorist-toggle-input:checked } .directorist-review-submit__header .directorist-btn - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 13px; height: 13px; background-color: var(--directorist-color-white); } .directorist-review-submit__overview { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; @@ -23762,21 +24213,18 @@ input.directorist-toggle-input:checked -ms-flex-pack: justify; justify-content: space-between; padding: 30px 50px; - border-top: 0; + border-top: 0 none; } -.directorist-review-submit__overview, .directorist-review-submit__overview__rating { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + gap: 20px; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -} -.directorist-review-submit__overview__rating { - gap: 20px; text-align: center; } @media (max-width: 480px) { @@ -23812,7 +24260,7 @@ input.directorist-toggle-input:checked margin-bottom: 5px; color: var(--directorist-color-warning); } -.directorist-review-submit__overview__rating .directorist-icon-mask:after { +.directorist-review-submit__overview__rating .directorist-icon-mask::after { width: 16px; height: 16px; background-color: var(--directorist-color-warning); @@ -23828,8 +24276,8 @@ input.directorist-toggle-input:checked height: 100%; position: absolute; left: 0; - -webkit-mask-image: url(../images/b6ad67158aa2d6258e619021127e704f.svg); - mask-image: url(../images/b6ad67158aa2d6258e619021127e704f.svg); + -webkit-mask-image: url(../js/../images/b6ad67158aa2d6258e619021127e704f.svg); + mask-image: url(../js/../images/b6ad67158aa2d6258e619021127e704f.svg); background-color: var(--directorist-color-warning); } .directorist-review-submit__overview__rating .directorist-rating-overall { @@ -23884,8 +24332,9 @@ input.directorist-toggle-input:checked .directorist-review-submit__reviews, .directorist-review-submit__reviews ul { padding: 0; + margin: 10px 0 0 0; list-style-type: none; - margin: 10px 0 0; + margin-left: 0; } .directorist-review-submit > li { border-top: 1px solid var(--directorist-color-border); @@ -23893,7 +24342,7 @@ input.directorist-toggle-input:checked .directorist-review-submit .directorist-comment-edit-request { position: relative; } -.directorist-review-submit .directorist-comment-edit-request:after { +.directorist-review-submit .directorist-comment-edit-request::after { content: ""; display: block; position: absolute; @@ -23902,7 +24351,7 @@ input.directorist-toggle-input:checked height: 100%; width: 100%; z-index: 99; - background-color: hsla(0, 0%, 100%, 0.8); + background-color: rgba(255, 255, 255, 0.8); border-radius: 4px; } .directorist-review-submit .directorist-comment-edit-request > li { @@ -23924,7 +24373,7 @@ input.directorist-toggle-input:checked height: 100%; width: 100%; z-index: 99; - background-color: hsla(0, 0%, 100%, 0.8); + background-color: rgba(255, 255, 255, 0.8); border-radius: 4px; } .directorist-review-submit @@ -23944,23 +24393,25 @@ input.directorist-toggle-input:checked -webkit-animation: directoristCommentEditLoading 0.6s linear infinite; animation: directoristCommentEditLoading 0.6s linear infinite; } + .directorist-review-single .directorist-comment-editing - .directorist-review-single__actions, + .directorist-review-single__report, .directorist-review-single .directorist-comment-editing .directorist-review-single__content, .directorist-review-single .directorist-comment-editing - .directorist-review-single__report { + .directorist-review-single__actions { display: none; } + .directorist-review-content__pagination { padding: 0; margin: 25px 0 35px; } .directorist-review-content__pagination ul { - border: 0; + border: 0 none; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -24007,6 +24458,7 @@ input.directorist-toggle-input:checked .directorist-review-content__pagination li .page-numbers.current { border-color: #090e30; } + .directorist-review-single { padding: 40px 30px; margin: 0; @@ -24032,6 +24484,10 @@ input.directorist-toggle-input:checked font-style: normal; } .directorist-review-single .directorist-review-single__header { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; @@ -24040,9 +24496,11 @@ input.directorist-toggle-input:checked -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; margin-bottom: 20px; } -.directorist-review-single .directorist-review-single__header, .directorist-review-single__author { display: -webkit-box; display: -webkit-flex; @@ -24051,8 +24509,6 @@ input.directorist-toggle-input:checked -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; -} -.directorist-review-single__author { -webkit-box-align: start; -webkit-align-items: flex-start; -ms-flex-align: start; @@ -24147,9 +24603,6 @@ input.directorist-toggle-input:checked display: -webkit-flex; display: -ms-flexbox; display: flex; -} -.directorist-review-single__actions, -.directorist-review-single__actions a { -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; @@ -24161,6 +24614,10 @@ input.directorist-toggle-input:checked display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; background: none; margin: 0 8px; color: var(--directorist-color-deep-gray); @@ -24168,7 +24625,7 @@ input.directorist-toggle-input:checked .directorist-review-single__actions a .directorist-icon-mask { margin-right: 6px; } -.directorist-review-single__actions a .directorist-icon-mask:after { +.directorist-review-single__actions a .directorist-icon-mask::after { width: 13.5px; height: 13.5px; background-color: var(--directorist-color-deep-gray); @@ -24194,7 +24651,7 @@ input.directorist-toggle-input:checked .directorist-review-single .directorist-review-submit { margin-top: 0; margin-bottom: 0; - border: 0; + border: 0 none; -webkit-box-shadow: 0 0; box-shadow: 0 0; } @@ -24249,6 +24706,7 @@ input.directorist-toggle-input:checked content: ""; background-color: var(--directorist-color-border-gray); } + .directorist-review-submit__header { display: -webkit-box; display: -webkit-flex; @@ -24356,8 +24814,8 @@ input.directorist-toggle-input:checked } .directorist-review-submit__form .directorist-review-criteria__single a:before { content: ""; - -webkit-mask-image: url(../images/c8cb6a06142934b1fac8df29a41ebf7c.svg); - mask-image: url(../images/c8cb6a06142934b1fac8df29a41ebf7c.svg); + -webkit-mask-image: url(../js/../images/c8cb6a06142934b1fac8df29a41ebf7c.svg); + mask-image: url(../js/../images/c8cb6a06142934b1fac8df29a41ebf7c.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 14px; @@ -24371,10 +24829,10 @@ input.directorist-toggle-input:checked } .directorist-review-submit__form .directorist-review-criteria__single - a.br-active, + a.br-selected, .directorist-review-submit__form .directorist-review-criteria__single - a.br-selected { + a.br-active { background-color: var(--directorist-color-warning) !important; text-decoration: none; outline: 0; @@ -24407,8 +24865,8 @@ input.directorist-toggle-input:checked color: var(--directorist-color-dark); margin-bottom: 5px; } -.directorist-review-submit__form .directorist-form-group input[type="email"], .directorist-review-submit__form .directorist-form-group input[type="text"], +.directorist-review-submit__form .directorist-form-group input[type="email"], .directorist-review-submit__form .directorist-form-group input[type="url"] { height: 46px; background-color: var(--directorist-color-white); @@ -24416,10 +24874,10 @@ input.directorist-toggle-input:checked } .directorist-review-submit__form .directorist-form-group - input[type="email"]::-webkit-input-placeholder, + input[type="text"]::-webkit-input-placeholder, .directorist-review-submit__form .directorist-form-group - input[type="text"]::-webkit-input-placeholder, + input[type="email"]::-webkit-input-placeholder, .directorist-review-submit__form .directorist-form-group input[type="url"]::-webkit-input-placeholder { @@ -24427,10 +24885,10 @@ input.directorist-toggle-input:checked } .directorist-review-submit__form .directorist-form-group - input[type="email"]::-moz-placeholder, + input[type="text"]::-moz-placeholder, .directorist-review-submit__form .directorist-form-group - input[type="text"]::-moz-placeholder, + input[type="email"]::-moz-placeholder, .directorist-review-submit__form .directorist-form-group input[type="url"]::-moz-placeholder { @@ -24438,10 +24896,10 @@ input.directorist-toggle-input:checked } .directorist-review-submit__form .directorist-form-group - input[type="email"]:-ms-input-placeholder, + input[type="text"]:-ms-input-placeholder, .directorist-review-submit__form .directorist-form-group - input[type="text"]:-ms-input-placeholder, + input[type="email"]:-ms-input-placeholder, .directorist-review-submit__form .directorist-form-group input[type="url"]:-ms-input-placeholder { @@ -24449,10 +24907,10 @@ input.directorist-toggle-input:checked } .directorist-review-submit__form .directorist-form-group - input[type="email"]::-ms-input-placeholder, + input[type="text"]::-ms-input-placeholder, .directorist-review-submit__form .directorist-form-group - input[type="text"]::-ms-input-placeholder, + input[type="email"]::-ms-input-placeholder, .directorist-review-submit__form .directorist-form-group input[type="url"]::-ms-input-placeholder { @@ -24460,10 +24918,10 @@ input.directorist-toggle-input:checked } .directorist-review-submit__form .directorist-form-group - input[type="email"]::placeholder, + input[type="text"]::placeholder, .directorist-review-submit__form .directorist-form-group - input[type="text"]::placeholder, + input[type="email"]::placeholder, .directorist-review-submit__form .directorist-form-group input[type="url"]::placeholder { @@ -24663,20 +25121,23 @@ input.directorist-toggle-input:checked .directorist-review-submit .directorist-btn { padding: 0 20px; } + .directorist-review-content + .directorist-review-submit.directorist-review-submit--hidden { display: none !important; } + @-webkit-keyframes directoristCommentEditLoading { to { - -webkit-transform: rotate(1turn); - transform: rotate(1turn); + -webkit-transform: rotate(360deg); + transform: rotate(360deg); } } + @keyframes directoristCommentEditLoading { to { - -webkit-transform: rotate(1turn); - transform: rotate(1turn); + -webkit-transform: rotate(360deg); + transform: rotate(360deg); } } .directorist-favourite-items-wrap { @@ -24786,7 +25247,7 @@ input.directorist-toggle-input:checked .directorist-favourite-items-wrap .directorist-dashboard-items-list__single .directorist-listing-category - i, + span.la, .directorist-favourite-items-wrap .directorist-dashboard-items-list__single .directorist-listing-category @@ -24798,7 +25259,7 @@ input.directorist-toggle-input:checked .directorist-favourite-items-wrap .directorist-dashboard-items-list__single .directorist-listing-category - span.la { + i { margin-right: 6px; color: var(--directorist-color-light-gray); } @@ -24838,7 +25299,7 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; border-radius: 8px; - padding: 0 14px; + padding: 0px 14px; color: var(--directorist-color-white) !important; line-height: 2.65; opacity: 0; @@ -24856,6 +25317,11 @@ input.directorist-toggle-input:checked .directorist-icon-mask:after { background-color: var(--directorist-color-white); } +.directorist-favourite-items-wrap + .directorist-dashboard-items-list__single__action + .directorist-favourite-remove-btn { + /* Legacy Icon */ +} .directorist-favourite-items-wrap .directorist-dashboard-items-list__single__action .directorist-favourite-remove-btn @@ -24870,6 +25336,7 @@ input.directorist-toggle-input:checked visibility: visible; } } + .directorist-user-dashboard { width: 100% !important; max-width: 100% !important; @@ -24889,7 +25356,7 @@ input.directorist-toggle-input:checked } .directorist-user-dashboard__toggle__link { border: 1px solid #e3e6ef; - padding: 6.5px 8px; + padding: 6.5px 8px 6.5px; border-radius: 8px; display: inline-block; outline: 0; @@ -24911,6 +25378,8 @@ input.directorist-toggle-input:checked margin-top: 15px; margin-bottom: 0; } + +/* user dashboard loader */ #directorist-dashboard-preloader { height: 100%; left: 0; @@ -24930,17 +25399,18 @@ input.directorist-toggle-input:checked width: 64px; height: 64px; margin: 8px; + border: 8px solid var(--directorist-color-primary); border-radius: 50%; -webkit-animation: rotate360 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite; animation: rotate360 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite; - border: 8px solid transparent; - border-top: 8px solid var(--directorist-color-primary); + border-color: var(--directorist-color-primary) transparent transparent + transparent; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } -#directorist-dashboard-preloader div:first-child { +#directorist-dashboard-preloader div:nth-child(1) { -webkit-animation-delay: -0.45s; animation-delay: -0.45s; } @@ -24952,6 +25422,8 @@ input.directorist-toggle-input:checked -webkit-animation-delay: -0.15s; animation-delay: -0.15s; } + +/* My listing tab */ .directorist-user-dashboard-tab__nav { display: -webkit-box; display: -webkit-flex; @@ -25062,12 +25534,12 @@ input.directorist-toggle-input:checked } .directorist-user-dashboard-tab .directorist-user-dashboard-search__icon - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 16px; height: 16px; } .directorist-user-dashboard-tab .directorist-user-dashboard-search input { - border: 0; + border: 0 none; border-radius: 18px; font-size: 14px; font-weight: 400; @@ -25088,6 +25560,7 @@ input.directorist-toggle-input:checked min-width: unset; } } + .directorist-user-dashboard-tabcontent { background-color: var(--directorist-color-white); -webkit-box-shadow: var(--directorist-box-shadow); @@ -25103,7 +25576,7 @@ input.directorist-toggle-input:checked .directorist-listing-table .directorist-table { display: table; - border: 0; + border: 0 none; border-collapse: collapse; border-spacing: 0; empty-cells: show; @@ -25270,7 +25743,7 @@ input.directorist-toggle-input:checked font-weight: 400; color: var(--directorist-color-body); padding: 12.5px 22px; - border: 0; + border: 0 none; } .directorist-user-dashboard-tabcontent .directorist-listing-table tr th { letter-spacing: 1.1px; @@ -25426,7 +25899,7 @@ input.directorist-toggle-input:checked .directorist-listing-table .directorist-actions a.directorist-link-btn - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 16px; height: 16px; background-color: var(--directorist-color-info); @@ -25486,7 +25959,7 @@ input.directorist-toggle-input:checked .directorist-listing-table .directorist-dropdown { position: relative; - border: 0; + border: 0 none; } .directorist-user-dashboard-tabcontent .directorist-listing-table @@ -25514,7 +25987,7 @@ input.directorist-toggle-input:checked .directorist-dropdown-menu { min-width: 230px; border: 1px solid #eff1f6; - padding: 0 0 10px; + padding: 0 0 10px 0; border-radius: 6px; } .directorist-user-dashboard-tabcontent @@ -25618,18 +26091,18 @@ input.directorist-toggle-input:checked .directorist-user-dashboard-tabcontent .directorist_dashboard_category li:not(:last-child) { - margin-right: 0; + margin-right: 0px; margin-bottom: 4px; } .directorist-user-dashboard-tabcontent .directorist_dashboard_category li i, .directorist-user-dashboard-tabcontent .directorist_dashboard_category li - span.fa, + span.fas, .directorist-user-dashboard-tabcontent .directorist_dashboard_category li - span.fas, + span.fa, .directorist-user-dashboard-tabcontent .directorist_dashboard_category li @@ -25652,13 +26125,14 @@ input.directorist-toggle-input:checked -webkit-justify-content: flex-end; -ms-flex-pack: end; justify-content: flex-end; - margin: 2px 22px 0; + margin: 2px 22px 0 22px; padding: 30px 0 40px; border-top: 1px solid #eff1f6; } .directorist-user-dashboard-tabcontent .directorist-dashboard-pagination .page-numbers { + margin: 4px; padding: 0; line-height: normal; height: 40px; @@ -25692,20 +26166,20 @@ input.directorist-toggle-input:checked } .directorist-user-dashboard-tabcontent .directorist-dashboard-pagination - .page-numbers.current, + .page-numbers:hover, .directorist-user-dashboard-tabcontent .directorist-dashboard-pagination - .page-numbers:hover { + .page-numbers.current { border-color: var(--directorist-color-primary); color: var(--directorist-color-primary); } .directorist-user-dashboard-tabcontent .directorist-dashboard-pagination - .page-numbers.current + .page-numbers:hover .directorist-icon-mask:after, .directorist-user-dashboard-tabcontent .directorist-dashboard-pagination - .page-numbers:hover + .page-numbers.current .directorist-icon-mask:after { background-color: var(--directorist-color-primary); } @@ -25717,6 +26191,7 @@ input.directorist-toggle-input:checked height: 14px; background-color: var(--directorist-color-body); } + .directorist-user-dashboard__contents.directorist-tab-content-grid-fix .directorist-user-dashboard-tabcontent .directorist-listing-table @@ -25786,12 +26261,14 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; } + .directorist-table-responsive { display: block !important; width: 100%; overflow-x: auto; overflow-y: visible; } + @media (max-width: 767px) { .directorist-user-dashboard-tab .directorist-user-dashboard-tab__nav { -webkit-box-orient: vertical; @@ -25816,6 +26293,8 @@ input.directorist-toggle-input:checked color: var(--directorist-color-primary); background: rgba(var(--directorist-color-primary), 0.1); } + +/* become author modal */ .directorist-become-author-modal { position: fixed; width: 100%; @@ -25875,7 +26354,7 @@ input.directorist-toggle-input:checked display: inline-block; color: var(--directorist-color-white); text-align: center; - margin: 10px 5px 0; + margin: 10px 5px 0 5px; min-width: 100px; padding: 8px 0 !important; border-radius: 3px; @@ -25889,19 +26368,18 @@ input.directorist-toggle-input:checked background-color: #eee; display: inline-block; text-align: center; - margin: 10px 5px 0; + margin: 10px 5px 0 5px; min-width: 100px; padding: 8px 0 !important; border-radius: 3px; } .directorist-become-author-modal span.directorist-become-author__loader { - border-right: 2px solid var(--directorist-color-primary); + border: 2px solid var(--directorist-color-primary); width: 15px; height: 15px; display: inline-block; border-radius: 50%; - border: 2px solid var(--directorist-color-primary); - border-right-color: var(--directorist-color-white); + border-right: 2px solid var(--directorist-color-white); -webkit-animation: rotate360 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite; animation: rotate360 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite; visibility: hidden; @@ -25911,10 +26389,12 @@ input.directorist-toggle-input:checked visibility: visible; opacity: 1; } + #directorist-become-author-success { color: #388e3c !important; margin-bottom: 15px !important; } + .directorist-shade { position: fixed; top: 0; @@ -25930,6 +26410,7 @@ input.directorist-toggle-input:checked display: block; z-index: 21; } + .table.atbd_single_saved_item { margin: 0; background-color: var(--directorist-color-white); @@ -25959,6 +26440,7 @@ input.directorist-toggle-input:checked border-radius: 8px; display: inline-block; } + .directorist-user-dashboard__nav { min-width: 230px; padding: 20px 10px; @@ -26025,6 +26507,7 @@ input.directorist-toggle-input:checked -webkit-transition: 0.3s ease; transition: 0.3s ease; } + .directorist-tab__nav__items { list-style-type: none; padding: 0; @@ -26046,35 +26529,41 @@ input.directorist-toggle-input:checked padding-left: 25px; text-decoration: none; } + .directorist-tab__nav__link { font-size: 14px; border-radius: 4px; padding: 10px; outline: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; color: var(--directorist-color-body); text-decoration: none; } -.directorist-tab__nav__link, .directorist-tab__nav__link .directorist_menuItem-text { + pointer-events: none; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; -} -.directorist-tab__nav__link .directorist_menuItem-text { - pointer-events: none; gap: 10px; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; } .directorist-tab__nav__link .directorist_menuItem-text @@ -26101,6 +26590,8 @@ input.directorist-toggle-input:checked .directorist-tab__nav__link:focus.atbd-dash-nav-dropdown { background-color: transparent; } + +/* user dashboard sidebar nav action */ .directorist-tab__nav__action { margin-top: 15px; } @@ -26110,20 +26601,26 @@ input.directorist-toggle-input:checked .directorist-tab__nav__action .directorist-btn:not(:last-child) { margin-bottom: 15px; } + +/* user dashboard tab style */ .directorist-tab__pane { display: none; } .directorist-tab__pane.directorist-tab__pane--active { display: block; } + #dashboard_profile #user_profile_form.directorist-profile-responsive - .directorist-col-lg-3, + .directorist-col-lg-3 { + width: 100%; +} #dashboard_profile #user_profile_form.directorist-profile-responsive .directorist-col-lg-9 { width: 100%; } + .directorist-image-profile-wrap { padding: 25px; background-color: var(--directorist-color-white); @@ -26151,7 +26648,7 @@ input.directorist-toggle-input:checked .directorist-image-profile-wrap .directorist-profile-uploader .ezmu__front-item__close-icon - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 16px; height: 16px; } @@ -26164,19 +26661,21 @@ input.directorist-toggle-input:checked mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; - -webkit-mask-image: url(../images/232acb97ace4f437ace78cc02bdfd165.svg); - mask-image: url(../images/232acb97ace4f437ace78cc02bdfd165.svg); + -webkit-mask-image: url(../js/../images/232acb97ace4f437ace78cc02bdfd165.svg); + mask-image: url(../js/../images/232acb97ace4f437ace78cc02bdfd165.svg); } .directorist-image-profile-wrap .ezmu__thumbnail-list-item.ezmu__thumbnail_avater { max-width: 140px; } + .directorist-user-profile-box .directorist-card__header { padding: 18px 20px; } .directorist-user-profile-box .directorist-card__body { - padding: 25px 25px 30px; + padding: 25px 25px 30px 25px; } + .directorist-user-info-wrap .directorist-form-group { margin-bottom: 25px; } @@ -26205,6 +26704,8 @@ input.directorist-toggle-input:checked .directorist-user-info-wrap #directorist-profile-notice .directorist-alert { margin-top: 15px; } + +/* User Preferences */ .directorist-user_preferences .directorist-preference-toggle .directorist-form-group { @@ -26262,12 +26763,12 @@ input.directorist-toggle-input:checked flex-direction: column; gap: 12px; } -.directorist-user_preferences .select2-selection__arrow, -.directorist-user_preferences .select2-selection__clear, .directorist-user_preferences .select2.select2-container.select2-container--default .select2-selection__arrow - b { + b, +.directorist-user_preferences .select2-selection__arrow, +.directorist-user_preferences .select2-selection__clear { display: block !important; } .directorist-user_preferences @@ -26275,6 +26776,8 @@ input.directorist-toggle-input:checked .select2-selection { border-bottom-color: var(--directorist-color-primary); } + +/* Directorist Toggle */ .directorist-toggle { cursor: pointer; display: -webkit-inline-box; @@ -26287,6 +26790,7 @@ input.directorist-toggle-input:checked align-items: center; gap: 10px; } + .directorist-toggle-switch { display: inline-block; background: var(--directorist-color-border); @@ -26298,13 +26802,13 @@ input.directorist-toggle-input:checked -webkit-transition: background 0.25s; transition: background 0.25s; } -.directorist-toggle-switch:after, -.directorist-toggle-switch:before { +.directorist-toggle-switch:before, +.directorist-toggle-switch:after { content: ""; } .directorist-toggle-switch:before { display: block; - background: #fff; + background: white; border-radius: 50%; width: 16px; height: 16px; @@ -26322,7 +26826,7 @@ input.directorist-toggle-input:checked from(#fff), to(#fff) ); - background: linear-gradient(180deg, #fff 0, #fff); + background: linear-gradient(to bottom, #fff 0%, #fff 100%); } .directorist-toggle-checkbox:checked + .directorist-toggle-switch { background: var(--directorist-color-primary); @@ -26330,10 +26834,12 @@ input.directorist-toggle-input:checked .directorist-toggle-checkbox:checked + .directorist-toggle-switch:before { left: 25px; } + .directorist-toggle-checkbox { position: absolute; visibility: hidden; } + .directorist-user-socials .directorist-user-social-label { font-size: 18px; padding-bottom: 18px; @@ -26359,16 +26865,18 @@ input.directorist-toggle-input:checked .directorist-user-socials label .directorist-social-icon - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 16px; height: 16px; background-color: #0a0b1e; } + #directorist-prifile-notice .directorist-alert { width: 100%; display: inline-block; margin-top: 15px; } + .directorist-announcement-wrapper { background-color: var(--directorist-color-white); border-radius: 12px; @@ -26393,7 +26901,7 @@ input.directorist-toggle-input:checked .directorist-announcement-wrapper .directorist-announcement:last-child { padding-bottom: 0; margin-bottom: 0; - border-bottom: 0; + border-bottom: 0 none; } @media (max-width: 479px) { .directorist-announcement-wrapper .directorist-announcement { @@ -26511,7 +27019,9 @@ input.directorist-toggle-input:checked .directorist-announcement-wrapper .directorist-announcement__content .directorist-announcement__title - p:empty, + p:empty { + display: none; +} .directorist-announcement-wrapper .directorist-announcement__content p:empty { display: none; } @@ -26528,7 +27038,7 @@ input.directorist-toggle-input:checked width: 36px; border-radius: 50%; background-color: #f5f5f5; - border: 0; + border: 0 none; padding: 0; -webkit-transition: 0.35s; transition: 0.35s; @@ -26548,7 +27058,7 @@ input.directorist-toggle-input:checked .directorist-announcement-wrapper .directorist-announcement__close .close-announcement - .directorist-icon-mask:after { + .directorist-icon-mask::after { -webkit-transition: 0.35s; transition: 0.35s; background-color: #474868; @@ -26561,12 +27071,13 @@ input.directorist-toggle-input:checked .directorist-announcement-wrapper .directorist-announcement__close .close-announcement:hover - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .directorist-announcement-wrapper .directorist_not-found { margin: 0; } + .directorist-announcement-count { display: none; border-radius: 30px; @@ -26579,40 +27090,46 @@ input.directorist-toggle-input:checked vertical-align: middle; background-color: #ff3c3c; } + .directorist-announcement-count.show { display: inline-block; } + .directorist-payment-instructions, .directorist-payment-thanks-text { font-size: 14px; font-weight: 400; color: var(--directorist-color-body); } + .directorist-payment-instructions { margin-bottom: 38px; } + .directorist-payment-thanks-text { font-size: 15px; } + .directorist-payment-table .directorist-table { margin: 0; border: none; } -.directorist-payment-table th { - text-align: left; - padding: 9px 20px; - background-color: var(--directorist-color-bg-gray); -} -.directorist-payment-table tbody td, .directorist-payment-table th { font-size: 14px; font-weight: 500; + text-align: left; + padding: 9px 20px; border: none; color: var(--directorist-color-dark); + background-color: var(--directorist-color-bg-gray); } .directorist-payment-table tbody td { + font-size: 14px; + font-weight: 500; padding: 5px 0; vertical-align: top; + border: none; + color: var(--directorist-color-dark); } .directorist-payment-table tbody tr:first-child td { padding-top: 20px; @@ -26637,23 +27154,26 @@ input.directorist-toggle-input:checked margin: 0; color: var(--directorist-color-light-gray); } + .directorist-payment-summery-table tbody td { padding: 12px 0; } -.directorist-payment-summery-table tbody td:nth-child(2n) { +.directorist-payment-summery-table tbody td:nth-child(even) { text-align: right; } +.directorist-payment-summery-table tbody tr.directorsit-payment-table-total td, .directorist-payment-summery-table tbody tr.directorsit-payment-table-total - .directorist-payment-table__title, -.directorist-payment-summery-table tbody tr.directorsit-payment-table-total td { + .directorist-payment-table__title { font-size: 16px; } + .directorist-btn-view-listing { min-height: 54px; border-radius: 10px; } + .directorist-checkout-card { -webkit-box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08); box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08); @@ -26697,6 +27217,7 @@ input.directorist-toggle-input:checked font-weight: 500; color: var(--directorist-color-body); } + .directorist-payment-gateways { background-color: var(--directorist-color-white); } @@ -26733,11 +27254,12 @@ input.directorist-toggle-input:checked margin-top: 4px; color: var(--directorist-color-body); } + .directorist-payment-action { -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; - margin: 42px -7px -7px; + margin: 42px -7px -7px -7px; } .directorist-payment-action .directorist-btn { min-height: 54px; @@ -26757,29 +27279,34 @@ input.directorist-toggle-input:checked padding: 0 30px; } } -.directorist-summery-total .directorist-summery-amount, -.directorist-summery-total .directorist-summery-label { + +.directorist-summery-total .directorist-summery-label, +.directorist-summery-total .directorist-summery-amount { font-size: 18px; font-weight: 500; color: var(--color-dark); } + .directorist-iframe { border: none; } + .ads-advanced .bottom-inputs { -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; flex-grow: 1; } + +/*responsive css */ @media (min-width: 992px) and (max-width: 1199px) { + .atbd_content_active .widget.atbd_widget .atbdp, + .atbd_content_active .widget.atbd_widget .directorist, .atbd_content_active #directorist.atbd_wrapper .widget.atbd_widget .atbdp, .atbd_content_active #directorist.atbd_wrapper .widget.atbd_widget - .directorist, - .atbd_content_active .widget.atbd_widget .atbdp, - .atbd_content_active .widget.atbd_widget .directorist { + .directorist { padding: 20px 20px 15px; } .atbd_content_active #directorist.atbd_wrapper .atbdp_column { @@ -26842,6 +27369,7 @@ input.directorist-toggle-input:checked -webkit-flex: 0 0 100%; -ms-flex: 0 0 100%; flex: 0 0 100%; + margin-top: 0; margin-top: 10px; } .atbd_content_active @@ -26899,7 +27427,9 @@ input.directorist-toggle-input:checked #directorist.atbd_wrapper.atbd_add_listing_wrapper #atbdp_socialInFo .atbdp_social_field_wrapper - .form-group, + .form-group { + margin-bottom: 15px; + } .atbd_content_active #directorist.atbd_wrapper.atbd_add_listing_wrapper .atbdp_faqs_wrapper @@ -26914,10 +27444,10 @@ input.directorist-toggle-input:checked .ads-advanced .atbdp-custom-fields-search .form-group { width: 100%; } - .ads-advanced .atbdp-custom-fields-search .form-group.atbdp_cf_color label, - .ads-advanced .atbdp-custom-fields-search .form-group.atbdp_cf_date label, .ads-advanced .atbdp-custom-fields-search .form-group.atbdp_cf_select label, - .ads-advanced .atbdp-custom-fields-search .form-group.atbdp_cf_time label { + .ads-advanced .atbdp-custom-fields-search .form-group.atbdp_cf_date label, + .ads-advanced .atbdp-custom-fields-search .form-group.atbdp_cf_time label, + .ads-advanced .atbdp-custom-fields-search .form-group.atbdp_cf_color label { -webkit-box-flex: 0; -webkit-flex: none; -ms-flex: none; @@ -26949,13 +27479,13 @@ input.directorist-toggle-input:checked } .atbd_content_active #directorist.atbd_wrapper - .atbd_content_module__tittle_area + .atbd_content_module_title_area .atbd_listing_action_area .atbd_action.atbd_share:hover .atbd_directory_social_wrap, .atbd_content_active #directorist.atbd_wrapper - .atbd_content_module_title_area + .atbd_content_module__tittle_area .atbd_listing_action_area .atbd_action.atbd_share:hover .atbd_directory_social_wrap { @@ -27069,7 +27599,7 @@ input.directorist-toggle-input:checked #directorist.atbd_wrapper.dashboard_area .atbd_saved_items_wrapper .atbd_single_saved_item { - border: 0; + border: 0 none; padding: 0; } .atbd_content_active #directorist.atbd_wrapper .atbdp_column { @@ -27097,18 +27627,18 @@ input.directorist-toggle-input:checked .atbd_content_active #directorist.atbd_wrapper .atbd_custom_fields - .atbd_custom_field_content, + .atbd_custom_field_title, .atbd_content_active #directorist.atbd_wrapper .atbd_custom_fields - .atbd_custom_field_title { + .atbd_custom_field_content { width: 100%; } .atbd_content_active #directorist.atbd_wrapper .atbd_custom_fields .atbd_custom_field_content { - border: 0; + border: 0 none; padding-top: 0; padding-right: 30px; padding-left: 30px; @@ -27116,14 +27646,14 @@ input.directorist-toggle-input:checked .ads-advanced .bottom-inputs > div { width: 100%; } - .ads-advanced .atbdp-custom-fields-search .form-group .form-control, - .ads-advanced .atbdp_custom_radios, - .ads-advanced .bads-custom-checks, - .ads-advanced .bads-tags, - .ads-advanced .form-group > .form-control, .ads-advanced .price_ranges, .ads-advanced .select-basic, - .ads-advanced .wp-picker-container { + .ads-advanced .bads-tags, + .ads-advanced .bads-custom-checks, + .ads-advanced .atbdp_custom_radios, + .ads-advanced .wp-picker-container, + .ads-advanced .form-group > .form-control, + .ads-advanced .atbdp-custom-fields-search .form-group .form-control { -webkit-box-flex: 1; -webkit-flex: auto; -ms-flex: auto; @@ -27262,28 +27792,35 @@ input.directorist-toggle-input:checked padding-right: 0; } } +/* Utility */ .adbdp-d-none { display: none; } + .atbdp-px-5 { padding: 0 5px !important; } + .atbdp-mx-5 { margin: 0 5px !important; } + .atbdp-form-actions { margin: 30px 0; text-align: center; } + .atbdp-icon { display: inline-block; } + .atbdp-icon-large { display: block; margin-bottom: 20px; font-size: 45px; text-align: center; } + @media (max-width: 400px) { .atbd_content_active #directorist.atbd_wrapper @@ -27320,17 +27857,17 @@ input.directorist-toggle-input:checked .atbd_content_active #directorist.atbd_wrapper .widget.atbd_widget - .atbd_categorized_listings - ul - li - .atbd_right_content + .atbd_listing_info + .atbd_listing_category .atbd_cat_popup .atbd_cat_popup_wrapper:before, .atbd_content_active #directorist.atbd_wrapper .widget.atbd_widget - .atbd_listing_info - .atbd_listing_category + .atbd_categorized_listings + ul + li + .atbd_right_content .atbd_cat_popup .atbd_cat_popup_wrapper:before, .atbd_content_active @@ -27377,13 +27914,13 @@ input.directorist-toggle-input:checked } .atbd_content_active #directorist.atbd_wrapper - .atbd_content_module__tittle_area + .atbd_content_module_title_area .atbd_listing_action_area .atbd_action.atbd_share:hover .atbd_directory_social_wrap, .atbd_content_active #directorist.atbd_wrapper - .atbd_content_module_title_area + .atbd_content_module__tittle_area .atbd_listing_action_area .atbd_action.atbd_share:hover .atbd_directory_social_wrap { @@ -27484,10 +28021,14 @@ input.directorist-toggle-input:checked .directorist-author-profile-wrap .directorist-author-avatar img { margin-bottom: 15px; } - .directorist-author-profile-wrap .directorist-author-avatar, + .directorist-author-profile-wrap .directorist-author-avatar { + text-align: center; + } .directorist-author-profile-wrap .directorist-author-avatar - .directorist-author-avatar__info, + .directorist-author-avatar__info { + text-align: center; + } .directorist-author-profile-wrap .directorist-author-avatar .directorist-author-avatar__info @@ -27499,3 +28040,5 @@ input.directorist-toggle-input:checked display: inline-block; } } + +/*# sourceMappingURL=public-main.css.map*/ diff --git a/assets/css/public-main.rtl.css b/assets/css/public-main.rtl.css index 98f2066cd8..44d147b682 100644 --- a/assets/css/public-main.rtl.css +++ b/assets/css/public-main.rtl.css @@ -1,14 +1,15 @@ /*!******************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-4.use[1]!./node_modules/resolve-url-loader/index.js!./node_modules/postcss-loader/src/index.js??clonedRuleSet-4.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-4.use[4]!./assets/src/scss/layout/public/main-style.scss ***! \******************************************************************************************************************************************************************************************************************************************************************************************************/ +/* typography */ @-webkit-keyframes rotate360 { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } - to { - -webkit-transform: rotate(-1turn); - transform: rotate(-1turn); + 100% { + -webkit-transform: rotate(-360deg); + transform: rotate(-360deg); } } @keyframes rotate360 { @@ -16,17 +17,17 @@ -webkit-transform: rotate(0deg); transform: rotate(0deg); } - to { - -webkit-transform: rotate(-1turn); - transform: rotate(-1turn); + 100% { + -webkit-transform: rotate(-360deg); + transform: rotate(-360deg); } } @-webkit-keyframes atbd_spin { 0% { -webkit-transform: rotate(0deg); } - to { - -webkit-transform: rotate(-1turn); + 100% { + -webkit-transform: rotate(-360deg); } } @keyframes atbd_spin { @@ -34,9 +35,9 @@ -webkit-transform: rotate(0deg); transform: rotate(0deg); } - to { - -webkit-transform: rotate(-1turn); - transform: rotate(-1turn); + 100% { + -webkit-transform: rotate(-360deg); + transform: rotate(-360deg); } } @-webkit-keyframes atbd_spin2 { @@ -44,9 +45,9 @@ -webkit-transform: translate(50%, -50%) rotate(0deg); transform: translate(50%, -50%) rotate(0deg); } - to { - -webkit-transform: translate(50%, -50%) rotate(-1turn); - transform: translate(50%, -50%) rotate(-1turn); + 100% { + -webkit-transform: translate(50%, -50%) rotate(-360deg); + transform: translate(50%, -50%) rotate(-360deg); } } @keyframes atbd_spin2 { @@ -54,9 +55,9 @@ -webkit-transform: translate(50%, -50%) rotate(0deg); transform: translate(50%, -50%) rotate(0deg); } - to { - -webkit-transform: translate(50%, -50%) rotate(-1turn); - transform: translate(50%, -50%) rotate(-1turn); + 100% { + -webkit-transform: translate(50%, -50%) rotate(-360deg); + transform: translate(50%, -50%) rotate(-360deg); } } @-webkit-keyframes atbd_scale { @@ -64,34 +65,48 @@ -webkit-transform: scale(0.8); transform: scale(0.8); } - to { + 100% { + -webkit-transform: scale(1); + transform: scale(1); + } +} +@keyframes atbd_scale { + 0% { + -webkit-transform: scale(0.8); + transform: scale(0.8); + } + 100% { -webkit-transform: scale(1); transform: scale(1); } } +.reset-pseudo-link:visited, .reset-pseudo-link:active, -.reset-pseudo-link:focus, -.reset-pseudo-link:visited { +.reset-pseudo-link:focus { outline: none; -webkit-box-shadow: none; box-shadow: none; } + .cptm-shortcodes { max-height: 300px; overflow: scroll; } + .directorist-center-content { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } + .directorist-center-content-inline { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; } + .directorist-center-content, .directorist-center-content-inline { -webkit-box-pack: center; @@ -111,122 +126,170 @@ -ms-flex-direction: column; flex-direction: column; } + .directorist-text-right { text-align: left; } + +.directorist-text-center { + text-align: center; +} + .directorist-text-left { text-align: right; } + .directorist-mt-0 { margin-top: 0 !important; } + .directorist-mt-5 { margin-top: 5px !important; } + .directorist-mt-10 { margin-top: 10px !important; } + .directorist-mt-15 { margin-top: 15px !important; } + .directorist-mt-20 { margin-top: 20px !important; } + .directorist-mt-30 { margin-top: 30px !important; } + .directorist-mb-0 { margin-bottom: 0 !important; } + +.directorist-mb-35 { + margin-bottom: 35px !important; +} + +.directorist-mb-30 { + margin-bottom: 30px !important; +} + .directorist-mb-25 { margin-bottom: 25px !important; } + +.directorist-mb-20 { + margin-bottom: 20px !important; +} + .directorist-mb-n20 { margin-bottom: -20px !important; } + .directorist-mb-10 { margin-bottom: 10px !important; } + .directorist-mb-15 { margin-bottom: 15px !important; } + .directorist-mb-20 { margin-bottom: 20px !important; } + .directorist-mb-30 { margin-bottom: 30px !important; } + .directorist-mb-35 { margin-bottom: 35px !important; } + .directorist-mb-40 { margin-bottom: 40px !important; } + .directorist-mb-50 { margin-bottom: 50px !important; } + .directorist-mb-70 { margin-bottom: 70px !important; } + .directorist-mb-80 { margin-bottom: 80px !important; } + .directorist-pb-100 { padding-bottom: 100px !important; } + .directorist-w-100 { width: 100% !important; max-width: 100% !important; } + .directorist-flex { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } + .directorist-flex-wrap { -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; } + .directorist-align-center { -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; } + .directorist-justify-content-center { -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; } + .directorist-justify-content-between { -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; } + .directorist-justify-content-around { -webkit-justify-content: space-around; -ms-flex-pack: distribute; justify-content: space-around; } + .directorist-justify-content-start { -webkit-box-pack: start; -webkit-justify-content: flex-start; -ms-flex-pack: start; justify-content: flex-start; } + .directorist-justify-content-end { -webkit-box-pack: end; -webkit-justify-content: flex-end; -ms-flex-pack: end; justify-content: flex-end; } + .directorist-display-none { display: none; } + .directorist-icon-mask:after { content: ""; display: block; @@ -240,16 +303,20 @@ -webkit-mask-image: var(--directorist-icon); mask-image: var(--directorist-icon); } + .directorist-error__msg { color: var(--directorist-color-danger); font-size: 14px; } + .directorist-content-active .entry-content .directorist-search-contents { width: 100% !important; max-width: 100% !important; -webkit-box-sizing: border-box; box-sizing: border-box; } + +/* directorist module style */ .directorist-content-module { border: 1px solid var(--directorist-color-border); } @@ -359,7 +426,7 @@ } .directorist-content-module__contents .directorist-form-description-field - .mce-top-part:before { + .mce-top-part::before { display: none; } .directorist-content-module__contents @@ -387,13 +454,13 @@ .directorist-content-module__contents .directorist-form-description-field .mce-toolbar - .mce-btn-group - .mce-btn.mce-listbox, + .mce-btn + button, .directorist-content-module__contents .directorist-form-description-field .mce-toolbar - .mce-btn - button { + .mce-btn-group + .mce-btn.mce-listbox { background: transparent; } .directorist-content-module__contents @@ -435,7 +502,7 @@ .directorist-content-module__contents .directorist-form-social-info-field .directorist-btn - i:after { + i::after { width: 16px; height: 16px; background-color: var(--directorist-color-btn); @@ -449,7 +516,7 @@ .directorist-content-module__contents .directorist-form-social-info-field .directorist-btn:hover - i:after { + i::after { background-color: var(--directorist-color-white); } .directorist-content-module__contents @@ -462,15 +529,22 @@ .directorist-checkbox__label { margin-right: 0; } + .directorist-content-active #directorist.atbd_wrapper { max-width: 100%; } .directorist-content-active #directorist.atbd_wrapper .atbd_header_bar { margin-bottom: 35px; } + +#directorist-dashboard-preloader { + display: none; +} + .directorist-form-required { color: var(--directorist-color-danger); } + .directory_register_form_wrap .dgr_show_recaptcha { margin-bottom: 20px; } @@ -483,6 +557,7 @@ .directory_register_form_wrap a { text-decoration: none; } + .atbd_login_btn_wrapper .directorist-btn { line-height: 2.55; padding-top: 0; @@ -493,6 +568,7 @@ .directorist-checkbox__label { color: var(--directorist-color-primary); } + .atbdp_login_form_shortcode .directorist-form-group label { display: inline-block; margin-bottom: 5px; @@ -500,6 +576,7 @@ .atbdp_login_form_shortcode a { text-decoration: none; } + .directory_register_form_wrap .directorist-form-group label { display: inline-block; margin-bottom: 5px; @@ -509,6 +586,7 @@ padding-top: 0; padding-bottom: 0; } + .directorist-quick-login .directorist-form-actions { display: -webkit-box; display: -webkit-flex; @@ -520,12 +598,14 @@ -ms-flex-align: center; align-items: center; } + .atbd_success_mesage > p i { top: 2px; margin-left: 5px; position: relative; display: inline-block; } + .directorist-loader { position: relative; } @@ -534,17 +614,20 @@ content: ""; left: 20px; top: 31%; - border-top: 2px solid var(--directorist-color-white); - border-radius: 50%; border: 2px solid var(--directorist-color-white); - border-top-color: var(--directorist-color-primary); + border-radius: 50%; + border-top: 2px solid var(--directorist-color-primary); width: 20px; height: 20px; -webkit-animation: atbd_spin 2s linear infinite; animation: atbd_spin 2s linear infinite; } + .plupload-upload-uic { + width: 420px; + margin: 0 auto !important; border: 1px dashed var(--directorist-color-border-gray); + padding: 30px; } .plupload-upload-uic .atbdp-dropbox-title { font-weight: 500; @@ -568,6 +651,7 @@ margin-top: 10px; color: var(--directorist-color-deep-gray); } + @media (max-width: 575px) { .plupload-upload-uic { width: 100%; @@ -641,11 +725,14 @@ border-bottom: 1px dashed #e9e9e9; } .directorist-address-field .address_result li:last-child, +.directorist-form-address-field .address_result li:last-child { + border: none; +} .directorist-address-field .address_result li:last-child a, -.directorist-form-address-field .address_result li:last-child, .directorist-form-address-field .address_result li:last-child a { border: none; } + .pac-container { list-style: none; margin: 0; @@ -709,16 +796,21 @@ mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; - -webkit-mask-image: url(../images/2823e3547c32a23392a06652e69a8a71.svg); - mask-image: url(../images/2823e3547c32a23392a06652e69a8a71.svg); + -webkit-mask-image: url(../js/../images/2823e3547c32a23392a06652e69a8a71.svg); + mask-image: url(../js/../images/2823e3547c32a23392a06652e69a8a71.svg); +} +.pac-container:after { + display: none; } -.pac-container:after, + p.status:empty { display: none; } + .gateway_list input[type="radio"] { margin-left: 5px; } + .directorist-checkout-form .directorist-container-fluid { -webkit-box-sizing: border-box; box-sizing: border-box; @@ -726,6 +818,7 @@ p.status:empty { .directorist-checkout-form ul { list-style-type: none; } + .directorist-select select { width: 100%; height: 40px; @@ -736,15 +829,18 @@ p.status:empty { .directorist-select select:focus { outline: 0; } + .directorist-content-active .select2-container--open .select2-dropdown--above { top: 0; border-color: var(--directorist-color-border); } + body.logged-in.directorist-content-active .select2-container--open .select2-dropdown--above { top: 32px; } + .directorist-content-active .select2-container--default .select2-dropdown { border: none; border-radius: 10px !important; @@ -756,7 +852,7 @@ body.logged-in.directorist-content-active .directorist-content-active .select2-container--default .select2-search--dropdown { - padding: 20px 20px 10px; + padding: 20px 20px 10px 20px; } .directorist-content-active .select2-container--default .select2-search__field { padding: 10px 18px !important; @@ -959,6 +1055,7 @@ body.logged-in.directorist-content-active .directorist-icon-mask:after { background-color: var(--directorist-color-body) !important; } + .custom-checkbox input { display: none; } @@ -992,7 +1089,7 @@ body.logged-in.directorist-content-active right: 5px; top: 5px; font-weight: 900; - font-family: Font Awesome\5 Free; + font-family: "Font Awesome 5 Free"; content: "\f00c"; display: block; opacity: 0; @@ -1034,17 +1131,20 @@ body.logged-in.directorist-content-active opacity: 1; color: var(--directorist-color-white); } + .directorist-table { display: table; width: 100%; } + +/* Directorist custom grid */ .directorist-container, .directorist-container-fluid, +.directorist-container-xxl, +.directorist-container-xl, .directorist-container-lg, .directorist-container-md, -.directorist-container-sm, -.directorist-container-xl, -.directorist-container-xxl { +.directorist-container-sm { width: 100%; padding-left: 15px; padding-right: 15px; @@ -1053,43 +1153,44 @@ body.logged-in.directorist-content-active -webkit-box-sizing: border-box; box-sizing: border-box; } + @media (min-width: 576px) { - .directorist-container, - .directorist-container-sm { + .directorist-container-sm, + .directorist-container { max-width: 540px; } } @media (min-width: 768px) { - .directorist-container, .directorist-container-md, - .directorist-container-sm { + .directorist-container-sm, + .directorist-container { max-width: 720px; } } @media (min-width: 992px) { - .directorist-container, .directorist-container-lg, .directorist-container-md, - .directorist-container-sm { + .directorist-container-sm, + .directorist-container { max-width: 960px; } } @media (min-width: 1200px) { - .directorist-container, + .directorist-container-xl, .directorist-container-lg, .directorist-container-md, .directorist-container-sm, - .directorist-container-xl { + .directorist-container { max-width: 1140px; } } @media (min-width: 1400px) { - .directorist-container, + .directorist-container-xxl, + .directorist-container-xl, .directorist-container-lg, .directorist-container-md, .directorist-container-sm, - .directorist-container-xl, - .directorist-container-xxl { + .directorist-container { max-width: 1320px; } } @@ -1106,6 +1207,7 @@ body.logged-in.directorist-content-active margin-top: -15px; min-width: 100%; } + .directorist-row > * { -webkit-box-sizing: border-box; box-sizing: border-box; @@ -1118,12 +1220,14 @@ body.logged-in.directorist-content-active padding-right: 15px; margin-top: 15px; } + .directorist-col { -webkit-box-flex: 1; -webkit-flex: 1 0 0%; -ms-flex: 1 0 0%; flex: 1 0 0%; } + .directorist-col-auto { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; @@ -1131,6 +1235,7 @@ body.logged-in.directorist-content-active flex: 0 0 auto; width: auto; } + .directorist-col-1 { -webkit-box-flex: 1; -webkit-flex: 1; @@ -1138,8 +1243,9 @@ body.logged-in.directorist-content-active flex: 1; width: 8.3333333333%; } -.directorist-col-2, + .directorist-col-2-5, +.directorist-col-2, .directorist-col-3, .directorist-col-4, .directorist-col-5, @@ -1156,39 +1262,51 @@ body.logged-in.directorist-content-active flex: 0 0 auto; max-width: 100%; } + .directorist-offset-1 { margin-right: 8.3333333333%; } + .directorist-offset-2 { margin-right: 16.6666666667%; } + .directorist-offset-3 { margin-right: 25%; } + .directorist-offset-4 { margin-right: 33.3333333333%; } + .directorist-offset-5 { margin-right: 41.6666666667%; } + .directorist-offset-6 { margin-right: 50%; } + .directorist-offset-7 { margin-right: 58.3333333333%; } + .directorist-offset-8 { margin-right: 66.6666666667%; } + .directorist-offset-9 { margin-right: 75%; } + .directorist-offset-10 { margin-right: 83.3333333333%; } + .directorist-offset-11 { margin-right: 91.6666666667%; } + @media (min-width: 576px) { .directorist-col-2, .directorist-col-2-5, @@ -1210,82 +1328,88 @@ body.logged-in.directorist-content-active -ms-flex: 1 0 0%; flex: 1 0 0%; } - .directorist-col-sm-auto { - width: auto; - } - .directorist-col-sm-1, .directorist-col-sm-auto { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; + width: auto; } .directorist-col-sm-1 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 8.3333333333%; } .directorist-col-sm-2 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 16.6666666667%; } - .directorist-col-sm-2, .directorist-col-sm-3 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-sm-3 { width: 25%; } .directorist-col-sm-4 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 33.3333333333%; } - .directorist-col-sm-4, .directorist-col-sm-5 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-sm-5 { width: 41.6666666667%; } .directorist-col-sm-6 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 50%; } - .directorist-col-sm-6, .directorist-col-sm-7 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-sm-7 { width: 58.3333333333%; } .directorist-col-sm-8 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 66.6666666667%; } - .directorist-col-sm-8, .directorist-col-sm-9 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-sm-9 { width: 75%; } .directorist-col-sm-10 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 83.3333333333%; } - .directorist-col-sm-10, .directorist-col-sm-11 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-sm-11 { width: 91.6666666667%; } .directorist-col-sm-12 { @@ -1347,82 +1471,88 @@ body.logged-in.directorist-content-active -ms-flex: 1 0 0%; flex: 1 0 0%; } - .directorist-col-md-auto { - width: auto; - } - .directorist-col-md-1, .directorist-col-md-auto { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; + width: auto; } .directorist-col-md-1 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 8.3333333333%; } .directorist-col-md-2 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 16.6666666667%; } - .directorist-col-md-2, .directorist-col-md-3 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-md-3 { width: 25%; } .directorist-col-md-4 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 33.3333333333%; } - .directorist-col-md-4, .directorist-col-md-5 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-md-5 { width: 41.6666666667%; } .directorist-col-md-6 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 50%; } - .directorist-col-md-6, .directorist-col-md-7 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-md-7 { width: 58.3333333333%; } .directorist-col-md-8 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 66.6666666667%; } - .directorist-col-md-8, .directorist-col-md-9 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-md-9 { width: 75%; } .directorist-col-md-10 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 83.3333333333%; } - .directorist-col-md-10, .directorist-col-md-11 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-md-11 { width: 91.6666666667%; } .directorist-col-md-12 { @@ -1534,82 +1664,88 @@ body.logged-in.directorist-content-active -ms-flex: 1 0 0%; flex: 1 0 0%; } - .directorist-col-lg-auto { - width: auto; - } - .directorist-col-lg-1, .directorist-col-lg-auto { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; + width: auto; } .directorist-col-lg-1 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 8.3333333333%; } .directorist-col-lg-2 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 16.6666666667%; } - .directorist-col-lg-2, .directorist-col-lg-3 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-lg-3 { width: 25%; } .directorist-col-lg-4 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 33.3333333333%; } - .directorist-col-lg-4, .directorist-col-lg-5 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-lg-5 { width: 41.6666666667%; } .directorist-col-lg-6 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 50%; } - .directorist-col-lg-6, .directorist-col-lg-7 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-lg-7 { width: 58.3333333333%; } .directorist-col-lg-8 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 66.6666666667%; } - .directorist-col-lg-8, .directorist-col-lg-9 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-lg-9 { width: 75%; } .directorist-col-lg-10 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 83.3333333333%; } - .directorist-col-lg-10, .directorist-col-lg-11 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-lg-11 { width: 91.6666666667%; } .directorist-col-lg-12 { @@ -1670,97 +1806,103 @@ body.logged-in.directorist-content-active flex: 0 0 25%; max-width: 25%; } - .directorist-col-xl-auto { - width: auto; - } - .directorist-col-xl-1, .directorist-col-xl-auto { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; + width: auto; } .directorist-col-xl-1 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 8.3333333333%; } - .directorist-col-xl-2 { - width: 16.6666666667%; - } - .directorist-col-2, - .directorist-col-2-5, .directorist-col-xl-2 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; + width: 16.6666666667%; } .directorist-col-2, .directorist-col-2-5 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 20%; } .directorist-col-xl-3 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 25%; } - .directorist-col-xl-3, .directorist-col-xl-4 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xl-4 { width: 33.3333333333%; } .directorist-col-xl-5 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 41.6666666667%; } - .directorist-col-xl-5, .directorist-col-xl-6 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xl-6 { width: 50%; } .directorist-col-xl-7 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 58.3333333333%; } - .directorist-col-xl-7, .directorist-col-xl-8 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xl-8 { width: 66.6666666667%; } .directorist-col-xl-9 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 75%; } - .directorist-col-xl-9, .directorist-col-xl-10 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xl-10 { width: 83.3333333333%; } .directorist-col-xl-11 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 91.6666666667%; } - .directorist-col-xl-11, .directorist-col-xl-12 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xl-12 { width: 100%; } .directorist-offset-xl-0 { @@ -1814,82 +1956,88 @@ body.logged-in.directorist-content-active -ms-flex: 1 0 0%; flex: 1 0 0%; } - .directorist-col-xxl-auto { - width: auto; - } - .directorist-col-xxl-1, .directorist-col-xxl-auto { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; + width: auto; } .directorist-col-xxl-1 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 8.3333333333%; } .directorist-col-xxl-2 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 16.6666666667%; } - .directorist-col-xxl-2, .directorist-col-xxl-3 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xxl-3 { width: 25%; } .directorist-col-xxl-4 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 33.3333333333%; } - .directorist-col-xxl-4, .directorist-col-xxl-5 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xxl-5 { width: 41.6666666667%; } .directorist-col-xxl-6 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 50%; } - .directorist-col-xxl-6, .directorist-col-xxl-7 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xxl-7 { width: 58.3333333333%; } .directorist-col-xxl-8 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 66.6666666667%; } - .directorist-col-xxl-8, .directorist-col-xxl-9 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xxl-9 { width: 75%; } .directorist-col-xxl-10 { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; width: 83.3333333333%; } - .directorist-col-xxl-10, .directorist-col-xxl-11 { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; - } - .directorist-col-xxl-11 { width: 91.6666666667%; } .directorist-col-xxl-12 { @@ -1936,72 +2084,95 @@ body.logged-in.directorist-content-active margin-right: 91.6666666667%; } } +/* typography */ .atbd_color-primary { color: #444752; } + .atbd_bg-primary { background: #444752; } + .atbd_color-secondary { color: #122069; } + .atbd_bg-secondary { background: #122069; } + .atbd_color-success { color: #00ac17; } + .atbd_bg-success { background: #00ac17; } + .atbd_color-info { color: #2c99ff; } + .atbd_bg-info { background: #2c99ff; } + .atbd_color-warning { color: #ef8000; } + .atbd_bg-warning { background: #ef8000; } + .atbd_color-danger { color: #ef0000; } + .atbd_bg-danger { background: #ef0000; } + .atbd_color-light { color: #9497a7; } + .atbd_bg-light { background: #9497a7; } + .atbd_color-dark { color: #202428; } + .atbd_bg-dark { background: #202428; } + .atbd_color-badge-feature { color: #fa8b0c; } + .atbd_bg-badge-feature { background: #fa8b0c; } + .atbd_color-badge-popular { color: #f51957; } + .atbd_bg-badge-popular { background: #f51957; } + +/* typography */ body.stop-scrolling { height: 100%; overflow: hidden; } + .sweet-overlay { - background-color: #000; + background-color: black; -ms-filter: "alpha(opacity=40)"; background-color: rgba(var(--directorist-color-dark-rgb), 0.4); position: fixed; @@ -2012,14 +2183,10 @@ body.stop-scrolling { display: none; z-index: 10000; } + .sweet-alert { - background-color: #fff; - font-family: - Open Sans, - Helvetica Neue, - Helvetica, - Arial, - sans-serif; + background-color: white; + font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; width: 478px; padding: 17px; border-radius: 5px; @@ -2033,7 +2200,8 @@ body.stop-scrolling { display: none; z-index: 99999; } -@media (max-width: 540px) { + +@media all and (max-width: 540px) { .sweet-alert { width: auto; margin-right: 0; @@ -2045,31 +2213,34 @@ body.stop-scrolling { .sweet-alert h2 { color: #575757; font-size: 30px; + text-align: center; font-weight: 600; text-transform: none; + position: relative; margin: 25px 0; + padding: 0; line-height: 40px; display: block; } -.sweet-alert h2, -.sweet-alert p { - text-align: center; - position: relative; - padding: 0; -} + .sweet-alert p { color: #797979; font-size: 16px; + text-align: center; font-weight: 300; + position: relative; text-align: inherit; float: none; margin: 0; + padding: 0; line-height: normal; } + .sweet-alert fieldset { border: 0; position: relative; } + .sweet-alert .sa-error-container { background-color: #f1f1f1; margin-right: -17px; @@ -2087,6 +2258,7 @@ body.stop-scrolling { padding 0.15s, max-height 0.15s; } + .sweet-alert .sa-error-container.show { padding: 10px 0; max-height: 100px; @@ -2100,20 +2272,23 @@ body.stop-scrolling { padding 0.25s, max-height 0.25s; } + .sweet-alert .sa-error-container .icon { display: inline-block; width: 24px; height: 24px; border-radius: 50%; background-color: #ea7d7d; - color: #fff; + color: white; line-height: 24px; text-align: center; margin-left: 3px; } + .sweet-alert .sa-error-container p { display: inline-block; } + .sweet-alert .sa-input-error { position: absolute; top: 29px; @@ -2128,8 +2303,9 @@ body.stop-scrolling { -webkit-transition: all 0.1s; transition: all 0.1s; } -.sweet-alert .sa-input-error:after, -.sweet-alert .sa-input-error:before { + +.sweet-alert .sa-input-error::before, +.sweet-alert .sa-input-error::after { content: ""; width: 20px; height: 6px; @@ -2141,19 +2317,23 @@ body.stop-scrolling { right: 50%; margin-right: -9px; } -.sweet-alert .sa-input-error:before { + +.sweet-alert .sa-input-error::before { -webkit-transform: rotate(45deg); transform: rotate(45deg); } -.sweet-alert .sa-input-error:after { + +.sweet-alert .sa-input-error::after { -webkit-transform: rotate(-45deg); transform: rotate(-45deg); } + .sweet-alert .sa-input-error.show { opacity: 1; -webkit-transform: scale(1); transform: scale(1); } + .sweet-alert input { width: 100%; -webkit-box-sizing: border-box; @@ -2172,43 +2352,53 @@ body.stop-scrolling { -webkit-transition: all 0.3s; transition: all 0.3s; } + .sweet-alert input:focus { outline: 0; -webkit-box-shadow: 0 0 3px #c4e6f5; box-shadow: 0 0 3px #c4e6f5; border: 1px solid #b4dbed; } + .sweet-alert input:focus::-moz-placeholder { -moz-transition: opacity 0.3s 0.03s ease; - transition: opacity 0.3s ease 0.03s; + transition: opacity 0.3s 0.03s ease; opacity: 0.5; } + .sweet-alert input:focus:-ms-input-placeholder { -ms-transition: opacity 0.3s 0.03s ease; - transition: opacity 0.3s ease 0.03s; + transition: opacity 0.3s 0.03s ease; opacity: 0.5; } + .sweet-alert input:focus::-webkit-input-placeholder { - -webkit-transition: opacity 0.3s ease 0.03s; - transition: opacity 0.3s ease 0.03s; + -webkit-transition: opacity 0.3s 0.03s ease; + transition: opacity 0.3s 0.03s ease; opacity: 0.5; } + .sweet-alert input::-moz-placeholder { color: #bdbdbd; } + .sweet-alert input:-ms-input-placeholder { color: #bdbdbd; } + .sweet-alert input::-webkit-input-placeholder { color: #bdbdbd; } + .sweet-alert.show-input input { display: block; } + .sweet-alert .sa-confirm-button-container { display: inline-block; position: relative; } + .sweet-alert .la-ball-fall { position: absolute; right: 50%; @@ -2218,9 +2408,10 @@ body.stop-scrolling { opacity: 0; visibility: hidden; } + .sweet-alert button { background-color: #8cd4f5; - color: #fff; + color: white; border: 0; -webkit-box-shadow: none; box-shadow: none; @@ -2228,9 +2419,10 @@ body.stop-scrolling { font-weight: 500; border-radius: 5px; padding: 10px 32px; - margin: 26px 5px 0; + margin: 26px 5px 0 5px; cursor: pointer; } + .sweet-alert button:focus { outline: 0; -webkit-box-shadow: @@ -2240,21 +2432,27 @@ body.stop-scrolling { 0 0 2px rgba(128, 179, 235, 0.5), inset 0 0 0 1px rgba(var(--directorist-color-dark-rgb), 0.05); } + .sweet-alert button:hover { background-color: #7ecff4; } + .sweet-alert button:active { background-color: #5dc2f1; } + .sweet-alert button.cancel { background-color: #c1c1c1; } + .sweet-alert button.cancel:hover { background-color: #b9b9b9; } + .sweet-alert button.cancel:active { background-color: #a8a8a8; } + .sweet-alert button.cancel:focus { -webkit-box-shadow: rgba(197, 205, 211, 0.8) 0 0 2px, @@ -2263,33 +2461,40 @@ body.stop-scrolling { rgba(197, 205, 211, 0.8) 0 0 2px, rgba(var(--directorist-color-dark-rgb), 0.0470588) 0 0 0 1px inset !important; } + .sweet-alert button[disabled] { opacity: 0.6; cursor: default; } + .sweet-alert button.confirm[disabled] { color: transparent; } + .sweet-alert button.confirm[disabled] ~ .la-ball-fall { opacity: 1; visibility: visible; -webkit-transition-delay: 0; transition-delay: 0; } + .sweet-alert button::-moz-focus-inner { border: 0; } + .sweet-alert[data-has-cancel-button="false"] button { -webkit-box-shadow: none !important; box-shadow: none !important; } + .sweet-alert[data-has-confirm-button="false"][data-has-cancel-button="false"] { padding-bottom: 40px; } + .sweet-alert .sa-icon { width: 80px; height: 80px; - border: 4px solid grey; + border: 4px solid gray; border-radius: 40px; border-radius: 50%; margin: 20px auto; @@ -2298,13 +2503,16 @@ body.stop-scrolling { -webkit-box-sizing: content-box; box-sizing: content-box; } + .sweet-alert .sa-icon.sa-error { border-color: #f27474; } + .sweet-alert .sa-icon.sa-error .sa-x-mark { position: relative; display: block; } + .sweet-alert .sa-icon.sa-error .sa-line { position: absolute; height: 5px; @@ -2314,19 +2522,23 @@ body.stop-scrolling { top: 37px; border-radius: 2px; } + .sweet-alert .sa-icon.sa-error .sa-line.sa-left { -webkit-transform: rotate(-45deg); transform: rotate(-45deg); right: 17px; } + .sweet-alert .sa-icon.sa-error .sa-line.sa-right { -webkit-transform: rotate(45deg); transform: rotate(45deg); left: 16px; } + .sweet-alert .sa-icon.sa-warning { border-color: #f8bb86; } + .sweet-alert .sa-icon.sa-warning .sa-body { position: absolute; width: 5px; @@ -2337,6 +2549,7 @@ body.stop-scrolling { margin-right: -2px; background-color: #f8bb86; } + .sweet-alert .sa-icon.sa-warning .sa-dot { position: absolute; width: 7px; @@ -2347,10 +2560,12 @@ body.stop-scrolling { bottom: 10px; background-color: #f8bb86; } + .sweet-alert .sa-icon.sa-info { border-color: #c9dae1; } -.sweet-alert .sa-icon.sa-info:before { + +.sweet-alert .sa-icon.sa-info::before { content: ""; position: absolute; width: 5px; @@ -2361,7 +2576,8 @@ body.stop-scrolling { margin-right: -2px; background-color: #c9dae1; } -.sweet-alert .sa-icon.sa-info:after { + +.sweet-alert .sa-icon.sa-info::after { content: ""; position: absolute; width: 7px; @@ -2371,22 +2587,25 @@ body.stop-scrolling { top: 19px; background-color: #c9dae1; } + .sweet-alert .sa-icon.sa-success { border-color: #a5dc86; } -.sweet-alert .sa-icon.sa-success:after, -.sweet-alert .sa-icon.sa-success:before { + +.sweet-alert .sa-icon.sa-success::before, +.sweet-alert .sa-icon.sa-success::after { content: ""; border-radius: 40px; border-radius: 50%; position: absolute; width: 60px; height: 120px; - background: #fff; + background: white; -webkit-transform: rotate(-45deg); transform: rotate(-45deg); } -.sweet-alert .sa-icon.sa-success:before { + +.sweet-alert .sa-icon.sa-success::before { border-radius: 0 120px 120px 0; top: -7px; right: -33px; @@ -2395,7 +2614,8 @@ body.stop-scrolling { -webkit-transform-origin: 60px 60px; transform-origin: 60px 60px; } -.sweet-alert .sa-icon.sa-success:after { + +.sweet-alert .sa-icon.sa-success::after { border-radius: 120px 0 0 120px; top: -11px; right: 30px; @@ -2404,6 +2624,7 @@ body.stop-scrolling { -webkit-transform-origin: 100% 60px; transform-origin: 100% 60px; } + .sweet-alert .sa-icon.sa-success .sa-placeholder { width: 80px; height: 80px; @@ -2417,10 +2638,11 @@ body.stop-scrolling { top: -4px; z-index: 2; } + .sweet-alert .sa-icon.sa-success .sa-fix { width: 5px; height: 90px; - background-color: #fff; + background-color: white; position: absolute; right: 28px; top: 8px; @@ -2428,6 +2650,7 @@ body.stop-scrolling { -webkit-transform: rotate(45deg); transform: rotate(45deg); } + .sweet-alert .sa-icon.sa-success .sa-line { height: 5px; background-color: #a5dc86; @@ -2436,6 +2659,7 @@ body.stop-scrolling { position: absolute; z-index: 2; } + .sweet-alert .sa-icon.sa-success .sa-line.sa-tip { width: 25px; right: 14px; @@ -2443,6 +2667,7 @@ body.stop-scrolling { -webkit-transform: rotate(-45deg); transform: rotate(-45deg); } + .sweet-alert .sa-icon.sa-success .sa-line.sa-long { width: 47px; left: 8px; @@ -2450,13 +2675,15 @@ body.stop-scrolling { -webkit-transform: rotate(45deg); transform: rotate(45deg); } + .sweet-alert .sa-icon.sa-custom { background-size: contain; border-radius: 0; border: 0; - background-position: 50%; + background-position: center center; background-repeat: no-repeat; } + @-webkit-keyframes showSweetAlert { 0% { transform: scale(0.7); @@ -2470,7 +2697,7 @@ body.stop-scrolling { transform: scale(0.95); -webkit-transform: scale(0.95); } - to { + 100% { transform: scale(1); -webkit-transform: scale(1); } @@ -2488,7 +2715,7 @@ body.stop-scrolling { transform: scale(0.95); -webkit-transform: scale(0.95); } - to { + 100% { transform: scale(1); -webkit-transform: scale(1); } @@ -2498,7 +2725,7 @@ body.stop-scrolling { transform: scale(1); -webkit-transform: scale(1); } - to { + 100% { transform: scale(0.5); -webkit-transform: scale(0.5); } @@ -2508,7 +2735,7 @@ body.stop-scrolling { transform: scale(1); -webkit-transform: scale(1); } - to { + 100% { transform: scale(0.5); -webkit-transform: scale(0.5); } @@ -2517,7 +2744,7 @@ body.stop-scrolling { 0% { top: 0; } - to { + 100% { top: 50%; } } @@ -2525,7 +2752,7 @@ body.stop-scrolling { 0% { top: 0; } - to { + 100% { top: 50%; } } @@ -2533,7 +2760,7 @@ body.stop-scrolling { 0% { top: 50%; } - to { + 100% { top: 0; } } @@ -2541,7 +2768,7 @@ body.stop-scrolling { 0% { top: 50%; } - to { + 100% { top: 0; } } @@ -2549,7 +2776,7 @@ body.stop-scrolling { 0% { top: 70%; } - to { + 100% { top: 50%; } } @@ -2557,7 +2784,7 @@ body.stop-scrolling { 0% { top: 70%; } - to { + 100% { top: 50%; } } @@ -2565,7 +2792,7 @@ body.stop-scrolling { 0% { top: 50%; } - to { + 100% { top: 70%; } } @@ -2573,7 +2800,7 @@ body.stop-scrolling { 0% { top: 50%; } - to { + 100% { top: 70%; } } @@ -2581,34 +2808,42 @@ body.stop-scrolling { -webkit-animation: showSweetAlert 0.3s; animation: showSweetAlert 0.3s; } + .showSweetAlert[data-animation="none"] { -webkit-animation: none; animation: none; } + .showSweetAlert[data-animation="slide-from-top"] { -webkit-animation: slideFromTop 0.3s; animation: slideFromTop 0.3s; } + .showSweetAlert[data-animation="slide-from-bottom"] { -webkit-animation: slideFromBottom 0.3s; animation: slideFromBottom 0.3s; } + .hideSweetAlert[data-animation="pop"] { -webkit-animation: hideSweetAlert 0.2s; animation: hideSweetAlert 0.2s; } + .hideSweetAlert[data-animation="none"] { -webkit-animation: none; animation: none; } + .hideSweetAlert[data-animation="slide-from-top"] { -webkit-animation: slideToTop 0.4s; animation: slideToTop 0.4s; } + .hideSweetAlert[data-animation="slide-from-bottom"] { -webkit-animation: slideToBottom 0.3s; animation: slideToBottom 0.3s; } + @-webkit-keyframes animateSuccessTip { 0% { width: 0; @@ -2630,7 +2865,7 @@ body.stop-scrolling { right: 21px; top: 48px; } - to { + 100% { width: 25px; right: 14px; top: 45px; @@ -2657,7 +2892,7 @@ body.stop-scrolling { right: 21px; top: 48px; } - to { + 100% { width: 25px; right: 14px; top: 45px; @@ -2679,7 +2914,7 @@ body.stop-scrolling { left: 0; top: 35px; } - to { + 100% { width: 47px; left: 8px; top: 38px; @@ -2701,7 +2936,7 @@ body.stop-scrolling { left: 0; top: 35px; } - to { + 100% { width: 47px; left: 8px; top: 38px; @@ -2720,7 +2955,7 @@ body.stop-scrolling { transform: rotate(405deg); -webkit-transform: rotate(405deg); } - to { + 100% { transform: rotate(405deg); -webkit-transform: rotate(405deg); } @@ -2738,7 +2973,7 @@ body.stop-scrolling { transform: rotate(405deg); -webkit-transform: rotate(405deg); } - to { + 100% { transform: rotate(405deg); -webkit-transform: rotate(405deg); } @@ -2747,21 +2982,24 @@ body.stop-scrolling { -webkit-animation: animateSuccessTip 0.75s; animation: animateSuccessTip 0.75s; } + .animateSuccessLong { -webkit-animation: animateSuccessLong 0.75s; animation: animateSuccessLong 0.75s; } -.sa-icon.sa-success.animate:after { + +.sa-icon.sa-success.animate::after { -webkit-animation: rotatePlaceholder 4.25s ease-in; animation: rotatePlaceholder 4.25s ease-in; } + @-webkit-keyframes animateErrorIcon { 0% { transform: rotateX(100deg); -webkit-transform: rotateX(100deg); opacity: 0; } - to { + 100% { transform: rotateX(0); -webkit-transform: rotateX(0); opacity: 1; @@ -2773,7 +3011,7 @@ body.stop-scrolling { -webkit-transform: rotateX(100deg); opacity: 0; } - to { + 100% { transform: rotateX(0); -webkit-transform: rotateX(0); opacity: 1; @@ -2783,6 +3021,7 @@ body.stop-scrolling { -webkit-animation: animateErrorIcon 0.5s; animation: animateErrorIcon 0.5s; } + @-webkit-keyframes animateXMark { 0% { transform: scale(0.4); @@ -2801,7 +3040,7 @@ body.stop-scrolling { -webkit-transform: scale(1.15); margin-top: -6px; } - to { + 100% { transform: scale(1); -webkit-transform: scale(1); margin-top: 0; @@ -2826,7 +3065,7 @@ body.stop-scrolling { -webkit-transform: scale(1.15); margin-top: -6px; } - to { + 100% { transform: scale(1); -webkit-transform: scale(1); margin-top: 0; @@ -2837,11 +3076,12 @@ body.stop-scrolling { -webkit-animation: animateXMark 0.5s; animation: animateXMark 0.5s; } + @-webkit-keyframes pulseWarning { 0% { border-color: #f8d486; } - to { + 100% { border-color: #f8bb86; } } @@ -2849,7 +3089,7 @@ body.stop-scrolling { 0% { border-color: #f8d486; } - to { + 100% { border-color: #f8bb86; } } @@ -2857,11 +3097,12 @@ body.stop-scrolling { -webkit-animation: pulseWarning 0.75s infinite alternate; animation: pulseWarning 0.75s infinite alternate; } + @-webkit-keyframes pulseWarningIns { 0% { background-color: #f8d486; } - to { + 100% { background-color: #f8bb86; } } @@ -2869,7 +3110,7 @@ body.stop-scrolling { 0% { background-color: #f8d486; } - to { + 100% { background-color: #f8bb86; } } @@ -2877,14 +3118,15 @@ body.stop-scrolling { -webkit-animation: pulseWarningIns 0.75s infinite alternate; animation: pulseWarningIns 0.75s infinite alternate; } + @-webkit-keyframes rotate-loading { 0% { -webkit-transform: rotate(0); transform: rotate(0); } - to { - -webkit-transform: rotate(-1turn); - transform: rotate(-1turn); + 100% { + -webkit-transform: rotate(-360deg); + transform: rotate(-360deg); } } @keyframes rotate-loading { @@ -2892,23 +3134,27 @@ body.stop-scrolling { -webkit-transform: rotate(0); transform: rotate(0); } - to { - -webkit-transform: rotate(-1turn); - transform: rotate(-1turn); + 100% { + -webkit-transform: rotate(-360deg); + transform: rotate(-360deg); } } .sweet-alert .sa-icon.sa-error .sa-line.sa-left { -ms-transform: rotate(-45deg) \9; } + .sweet-alert .sa-icon.sa-error .sa-line.sa-right { -ms-transform: rotate(45deg) \9; } + .sweet-alert .sa-icon.sa-success { border-color: transparent\9; } + .sweet-alert .sa-icon.sa-success .sa-line.sa-tip { -ms-transform: rotate(-45deg) \9; } + .sweet-alert .sa-icon.sa-success .sa-line.sa-long { -ms-transform: rotate(45deg) \9; } @@ -2924,24 +3170,29 @@ body.stop-scrolling { -webkit-box-sizing: border-box; box-sizing: border-box; } + .la-ball-fall { display: block; font-size: 0; color: var(--directorist-color-white); } + .la-ball-fall.la-dark { color: #333; } + .la-ball-fall > div { display: inline-block; float: none; background-color: currentColor; - border: 0 solid; + border: 0 solid currentColor; } + .la-ball-fall { width: 54px; height: 18px; } + .la-ball-fall > div { width: 10px; height: 10px; @@ -2951,45 +3202,55 @@ body.stop-scrolling { -webkit-animation: ball-fall 1s ease-in-out infinite; animation: ball-fall 1s ease-in-out infinite; } -.la-ball-fall > div:first-child { - -webkit-animation-delay: -0.2s; - animation-delay: -0.2s; + +.la-ball-fall > div:nth-child(1) { + -webkit-animation-delay: -200ms; + animation-delay: -200ms; } + .la-ball-fall > div:nth-child(2) { - -webkit-animation-delay: -0.1s; - animation-delay: -0.1s; + -webkit-animation-delay: -100ms; + animation-delay: -100ms; } + .la-ball-fall > div:nth-child(3) { -webkit-animation-delay: 0; animation-delay: 0; } + .la-ball-fall.la-sm { width: 26px; height: 8px; } + .la-ball-fall.la-sm > div { width: 4px; height: 4px; margin: 2px; } + .la-ball-fall.la-2x { width: 108px; height: 36px; } + .la-ball-fall.la-2x > div { width: 20px; height: 20px; margin: 8px; } + .la-ball-fall.la-3x { width: 162px; height: 54px; } + .la-ball-fall.la-3x > div { width: 30px; height: 30px; margin: 12px; } + @-webkit-keyframes ball-fall { 0% { opacity: 0; @@ -3012,7 +3273,7 @@ body.stop-scrolling { 90% { opacity: 0.5; } - to { + 100% { opacity: 0; -webkit-transform: translateY(145%); transform: translateY(145%); @@ -3040,7 +3301,7 @@ body.stop-scrolling { 90% { opacity: 0.5; } - to { + 100% { opacity: 0; -webkit-transform: translateY(145%); transform: translateY(145%); @@ -3058,14 +3319,26 @@ body.stop-scrolling { margin-bottom: 15px; } .directorist-add-listing-types__single__link { - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - background-color: var(--directorist-color-white); - color: var(--directorist-color-primary); - font-size: 16px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: var(--directorist-color-white); + color: var(--directorist-color-primary); + font-size: 16px; font-weight: 500; line-height: 20px; text-align: center; @@ -3078,7 +3351,6 @@ body.stop-scrolling { -webkit-transition: background 0.2s ease; transition: background 0.2s ease; } -.directorist-add-listing-types__single__link, .directorist-add-listing-types__single__link .directorist-icon-mask { display: -webkit-box; display: -webkit-flex; @@ -3092,8 +3364,6 @@ body.stop-scrolling { -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; -} -.directorist-add-listing-types__single__link .directorist-icon-mask { height: 70px; width: 70px; background-color: var(--directorist-color-primary); @@ -3122,10 +3392,14 @@ body.stop-scrolling { .directorist-icon-mask:after { background-color: var(--directorist-color-primary); } +.directorist-add-listing-types__single__link { + /* Legacy Icon */ +} .directorist-add-listing-types__single__link > i:not(.directorist-icon-mask) { display: inline-block; margin-bottom: 10px; } + .directorist-add-listing-wrapper { display: -webkit-box; display: -webkit-flex; @@ -3134,6 +3408,7 @@ body.stop-scrolling { -webkit-box-sizing: border-box; box-sizing: border-box; } + .directorist-add-listing-form .directorist-content-module { -webkit-box-shadow: var(--directorist-box-shadow); box-shadow: var(--directorist-box-shadow); @@ -3154,19 +3429,20 @@ body.stop-scrolling { .directorist-add-listing-form__privacy a { color: var(--directorist-color-info); } -#directiost-listing-fields_wrapper .directorist-content-module, -.directorist-add-listing-form .directorist-content-module { + +.directorist-add-listing-form .directorist-content-module, +#directiost-listing-fields_wrapper .directorist-content-module { margin-bottom: 35px; border-radius: 12px; } @media (max-width: 991px) { - #directiost-listing-fields_wrapper .directorist-content-module, - .directorist-add-listing-form .directorist-content-module { + .directorist-add-listing-form .directorist-content-module, + #directiost-listing-fields_wrapper .directorist-content-module { margin-bottom: 20px; } } -#directiost-listing-fields_wrapper .directorist-content-module__title, -.directorist-add-listing-form .directorist-content-module__title { +.directorist-add-listing-form .directorist-content-module__title, +#directiost-listing-fields_wrapper .directorist-content-module__title { gap: 15px; min-height: 66px; -webkit-box-pack: start; @@ -3174,8 +3450,8 @@ body.stop-scrolling { -ms-flex-pack: start; justify-content: flex-start; } -#directiost-listing-fields_wrapper .directorist-content-module__title i, -.directorist-add-listing-form .directorist-content-module__title i { +.directorist-add-listing-form .directorist-content-module__title i, +#directiost-listing-fields_wrapper .directorist-content-module__title i { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -3192,33 +3468,33 @@ body.stop-scrolling { height: 36px; border-radius: 100%; } -#directiost-listing-fields_wrapper .directorist-content-module__title i:after, -.directorist-add-listing-form .directorist-content-module__title i:after { +.directorist-add-listing-form .directorist-content-module__title i:after, +#directiost-listing-fields_wrapper .directorist-content-module__title i:after { width: 16px; height: 16px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-address-field.atbdp-form-fade, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-address-field.atbdp-form-fade { padding: 0; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-address-field.atbdp-form-fade > input[name="address"], -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-address-field.atbdp-form-fade > input[name="address"] { padding-right: 10px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-address-field.atbdp-form-fade:before, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-address-field.atbdp-form-fade:before { width: 15px; @@ -3227,19 +3503,23 @@ body.stop-scrolling { left: 0; top: 46px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-address-field.atbdp-form-fade:after, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-address-field.atbdp-form-fade:after { height: 40px; top: 26px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module, +#directiost-listing-fields_wrapper .directorist-content-module { + /* social info */ +} +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields { display: -webkit-box; @@ -3256,19 +3536,19 @@ body.stop-scrolling { gap: 20px; margin: 0 0 25px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields:last-child, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields:last-child { margin: 0 0 40px; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields .directorist-form-group, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields .directorist-form-group { @@ -3278,12 +3558,12 @@ body.stop-scrolling { flex: 1; margin: 0; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields .directorist-form-group select, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields .directorist-form-group @@ -3292,12 +3572,12 @@ body.stop-scrolling { font-weight: 500; color: var(--directorist-color-dark); } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields .directorist-form-group select.placeholder-item, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields .directorist-form-group @@ -3306,10 +3586,10 @@ body.stop-scrolling { font-weight: 400; color: var(--directorist-color-light-gray); } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input { display: -webkit-box; @@ -3323,10 +3603,10 @@ body.stop-scrolling { flex: 1; } @media screen and (max-width: 480px) { - #directiost-listing-fields_wrapper + .directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input, - .directorist-add-listing-form + #directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input { gap: 10px; @@ -3337,60 +3617,60 @@ body.stop-scrolling { flex-direction: column; } } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-webkit-input-placeholder, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-webkit-input-placeholder { font-weight: 400; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-moz-placeholder, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-moz-placeholder { font-weight: 400; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input:-ms-input-placeholder, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input:-ms-input-placeholder { font-weight: 400; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-ms-input-placeholder, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::-ms-input-placeholder { font-weight: 400; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::placeholder, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__input .atbdp_social_input::placeholder { font-weight: 400; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__remove, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove { display: -webkit-box; @@ -3410,40 +3690,41 @@ body.stop-scrolling { padding: 0; cursor: pointer; border-radius: 100%; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; background-color: var(--directorist-color-light) !important; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__remove - i:after, -.directorist-add-listing-form + i::after, +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove - i:after { + i::after { width: 12px; height: 12px; background-color: var(--directorist-color-light-gray); } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__remove:hover, -.directorist-add-listing-form +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove:hover { background-color: var(--directorist-color-primary) !important; } -#directiost-listing-fields_wrapper +.directorist-add-listing-form .directorist-content-module .directorist-form-social-fields__remove:hover - i:after, -.directorist-add-listing-form + i::after, +#directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove:hover - i:after { + i::after { background-color: var(--directorist-color-white); } + #directiost-listing-fields_wrapper .directorist-content-module { background-color: var(--directorist-color-white); border-radius: 0; @@ -3472,8 +3753,8 @@ body.stop-scrolling { #directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove - i:after { - background-color: grey; + i::after { + background-color: #808080; } #directiost-listing-fields_wrapper .directorist-content-module @@ -3483,7 +3764,7 @@ body.stop-scrolling { #directiost-listing-fields_wrapper .directorist-content-module .directorist-form-social-fields__remove:hover - i:after { + i::after { background-color: var(--directorist-color-white); } #directiost-listing-fields_wrapper @@ -3542,16 +3823,16 @@ body.stop-scrolling { } #directiost-listing-fields_wrapper .directorist-content-module - .directorist-custom-field-select + .directorist-form-social-fields select.directorist-form-element, #directiost-listing-fields_wrapper .directorist-content-module - .directorist-form-group - .directorist-form-element.directory_pricing_field, + .directorist-custom-field-select + select.directorist-form-element, #directiost-listing-fields_wrapper .directorist-content-module - .directorist-form-social-fields - select.directorist-form-element { + .directorist-form-group + .directorist-form-element.directory_pricing_field { padding-top: 0; padding-bottom: 0; } @@ -3660,7 +3941,7 @@ body.stop-scrolling { height: 6px; border-radius: 50%; background-color: var(--directorist-color-primary); - border: 0; + border: 0 none; -webkit-mask-image: none; mask-image: none; z-index: 2; @@ -3724,8 +4005,8 @@ body.stop-scrolling { right: 5px; top: 5px; content: ""; - -webkit-mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); - mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); + -webkit-mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); + mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 10px; @@ -3749,10 +4030,10 @@ body.stop-scrolling { .directorist-content-module .plupload-upload-uic .plupload-browse-button-label - i:after { + i::after { width: 50px; height: 45px; - background-color: grey; + background-color: #808080; } #directiost-listing-fields_wrapper .directorist-content-module @@ -3775,7 +4056,7 @@ body.stop-scrolling { .directorist-content-module .directorist-form-social-info-field .directorist-btn - i:after { + i::after { background-color: var(--directorist-color-white); } #directiost-listing-fields_wrapper @@ -3784,6 +4065,11 @@ body.stop-scrolling { #gmap { border-radius: 0; } + +/* ========================== + add listing form fields +============================= */ +/* listing label */ .directorist-form-label { display: block; color: var(--directorist-color-dark); @@ -3791,14 +4077,17 @@ body.stop-scrolling { font-size: 14px; font-weight: 500; } -.directorist-custom-field-checkbox > .directorist-form-label, -.directorist-custom-field-file-upload > .directorist-form-label, + .directorist-custom-field-radio > .directorist-form-label, +.directorist-custom-field-checkbox > .directorist-form-label, +.directorist-form-social-info-field > .directorist-form-label, .directorist-form-image-upload-field > .directorist-form-label, -.directorist-form-pricing-field.price-type-both > .directorist-form-label, -.directorist-form-social-info-field > .directorist-form-label { +.directorist-custom-field-file-upload > .directorist-form-label, +.directorist-form-pricing-field.price-type-both > .directorist-form-label { margin-bottom: 18px; } + +/* listing type */ .directorist-form-listing-type { display: -webkit-box; display: -webkit-flex; @@ -3845,9 +4134,10 @@ body.stop-scrolling { + .directorist-radio__label { width: 100%; height: 100%; + padding: 25px; font-size: 14px; font-weight: 500; - padding: 25px 55px 25px 25px; + padding-right: 55px; border-radius: 12px; color: var(--directorist-color-body); border: 3px solid var(--directorist-color-border-gray); @@ -3862,7 +4152,7 @@ body.stop-scrolling { small { display: block; margin-top: 5px; - font-weight: 400; + font-weight: normal; color: var(--directorist-color-success); } .directorist-form-listing-type @@ -3888,6 +4178,8 @@ body.stop-scrolling { border-color: var(--directorist-color-primary); color: var(--directorist-color-primary); } + +/* Pricing */ .directorist-form-pricing-field__options { display: -webkit-box; display: -webkit-flex; @@ -3956,25 +4248,35 @@ body.stop-scrolling { .directorist-form-pricing-field .directorist-form-element { min-width: 100%; } + .price-type-price_range .directorist-form-pricing-field__options, .price-type-price_unit .directorist-form-pricing-field__options { margin: 0; } + +/* location */ .directorist-select-multi select { display: none; } + #directorist-location-select { z-index: 113 !important; } + +/* tags */ #directorist-tag-select { z-index: 112 !important; } + +/* categories */ #directorist-category-select { z-index: 111 !important; } + .directorist-form-group .select2-selection { border-color: #ececec; } + .directorist-form-group .select2-container--default .select2-selection { min-height: 40px; padding-left: 45px; @@ -4001,17 +4303,22 @@ body.stop-scrolling { .directorist-form-group .select2-container--default .select2-selection input { min-height: 26px; } + +/* hide contact owner */ .directorist-hide-owner-field.directorist-checkbox input[type="checkbox"] + .directorist-checkbox__label { font-size: 15px; font-weight: 700; } + +/* Map style */ .directorist-map-coordinate { margin-top: 20px; } + .directorist-map-coordinates { - padding: 0 0 15px; + padding: 0 0 15px 0; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -4039,12 +4346,14 @@ body.stop-scrolling { flex: 0 0 100% !important; max-width: 100% !important; } + .directorist-add-listing-form .directorist-content-module .directorist-map-coordinates .directorist-form-group:not(.directorist-map-coordinates__generate) { margin-bottom: 20px; } + .directorist-form-map-field__wrapper { margin-bottom: 10px; } @@ -4100,8 +4409,8 @@ body.stop-scrolling { border: 50px solid rgba(var(--directorist-color-dark-rgb), 0.2); opacity: 0; visibility: hidden; - -webkit-animation: atbd_scale 3s linear infinite alternate; - animation: atbd_scale 3s linear infinite alternate; + -webkit-animation: atbd_scale 3s linear alternate infinite; + animation: atbd_scale 3s linear alternate infinite; } .directorist-form-map-field__maps #gmap div[role="img"]:after { content: ""; @@ -4115,8 +4424,8 @@ body.stop-scrolling { mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; - -webkit-mask-image: url(../images/ed83bad2b8ea2a7680575ff079fc63af.svg); - mask-image: url(../images/ed83bad2b8ea2a7680575ff079fc63af.svg); + -webkit-mask-image: url(../js/../images/ed83bad2b8ea2a7680575ff079fc63af.svg); + mask-image: url(../js/../images/ed83bad2b8ea2a7680575ff079fc63af.svg); } .directorist-form-map-field__maps #gmap @@ -4129,10 +4438,10 @@ body.stop-scrolling { } .directorist-form-map-field__maps #gmap - div[role="img"].transit-wheelchair-icon:after, + div[role="img"].transit-wheelchair-icon:before, .directorist-form-map-field__maps #gmap - div[role="img"].transit-wheelchair-icon:before { + div[role="img"].transit-wheelchair-icon:after { display: none; } .directorist-form-map-field__maps #gmap div[role="img"]:hover:before { @@ -4179,13 +4488,15 @@ body.stop-scrolling { width: 16px; height: 16px; background-color: var(--directorist-color-marker-icon); - -webkit-mask-image: url(../images/ed83bad2b8ea2a7680575ff079fc63af.svg); - mask-image: url(../images/ed83bad2b8ea2a7680575ff079fc63af.svg); + -webkit-mask-image: url(../js/../images/ed83bad2b8ea2a7680575ff079fc63af.svg); + mask-image: url(../js/../images/ed83bad2b8ea2a7680575ff079fc63af.svg); } .directorist-form-map-field .atbd_map_shape:hover:before { opacity: 1; visibility: visible; } + +/* EZ Media Upload */ .directorist-form-image-upload-field .ez-media-uploader { text-align: center; border-radius: 12px; @@ -4231,7 +4542,7 @@ body.stop-scrolling { .ez-media-uploader .ezmu__media-picker-section .ezmu-icon-upload - i:after { + i::after { width: 90px; height: 80px; background-color: var(--directorist-color-border-gray); @@ -4275,8 +4586,8 @@ body.stop-scrolling { right: 17px; top: 13px; content: ""; - -webkit-mask-image: url(../images/82bc0acb0537c9331637ee2319728e40.svg); - mask-image: url(../images/82bc0acb0537c9331637ee2319728e40.svg); + -webkit-mask-image: url(../js/../images/82bc0acb0537c9331637ee2319728e40.svg); + mask-image: url(../js/../images/82bc0acb0537c9331637ee2319728e40.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 14px; @@ -4353,8 +4664,8 @@ body.stop-scrolling { mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; - -webkit-mask-image: url(../images/6af1e9612a6d7346e1366489fb9fac45.svg); - mask-image: url(../images/6af1e9612a6d7346e1366489fb9fac45.svg); + -webkit-mask-image: url(../js/../images/6af1e9612a6d7346e1366489fb9fac45.svg); + mask-image: url(../js/../images/6af1e9612a6d7346e1366489fb9fac45.svg); } .directorist-form-image-upload-field .ez-media-uploader @@ -4385,7 +4696,7 @@ body.stop-scrolling { .ez-media-uploader .ezmu__preview-section .ezmu__front-item__close-icon - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 12px; height: 12px; } @@ -4393,7 +4704,7 @@ body.stop-scrolling { .ez-media-uploader .ezmu__preview-section .ezmu__front-item__close-icon:hover - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .directorist-form-image-upload-field @@ -4419,6 +4730,7 @@ body.stop-scrolling { .directorist-form-image-upload-field .ezmu__info-list-item:empty { display: none; } + .directorist-add-listing-wrapper { max-width: 1000px !important; margin: 0 auto; @@ -4444,8 +4756,8 @@ body.stop-scrolling { background-color: rgba(var(--directorist-color-dark-rgb), 0.5); opacity: 0; visibility: visible; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } .directorist-add-listing-wrapper .ezmu__thumbnail-list-item:hover @@ -4523,7 +4835,11 @@ body.stop-scrolling { .directorist-add-listing-wrapper .ezmu__info-list .ezmu__info-list-item:before { width: 16px; height: 16px; - background-image: url(../images/83eed1a628ff52c2adf977f50ac7adb4.svg); + background-image: url(../js/../images/83eed1a628ff52c2adf977f50ac7adb4.svg); +} + +.directorist-add-listing-form { + /* form action */ } .directorist-add-listing-form__action { display: -webkit-box; @@ -4550,9 +4866,9 @@ body.stop-scrolling { .directorist-add-listing-form__action .directorist-form-submit__btn.atbd_loading:after { content: ""; - border-radius: 50%; border: 2px solid #f3f3f3; - border-top-color: #656a7a; + border-radius: 50%; + border-top: 2px solid #656a7a; width: 20px; height: 20px; -webkit-animation: rotate360 2s linear infinite; @@ -4579,8 +4895,8 @@ body.stop-scrolling { .directorist-add-listing-form__action #listing_notifier .atbdp_success { color: var(--directorist-color-success); } -.directorist-add-listing-form__action .directorist-checkbox, -.directorist-add-listing-form__action .directorist-form-group { +.directorist-add-listing-form__action .directorist-form-group, +.directorist-add-listing-form__action .directorist-checkbox { margin: 0; padding: 30px 40px 0; -webkit-box-align: start; @@ -4589,37 +4905,35 @@ body.stop-scrolling { align-items: flex-start; } @media only screen and (max-width: 576px) { - .directorist-add-listing-form__action .directorist-checkbox, - .directorist-add-listing-form__action .directorist-form-group { + .directorist-add-listing-form__action .directorist-form-group, + .directorist-add-listing-form__action .directorist-checkbox { padding: 30px 0 0; } .directorist-add-listing-form__action - .directorist-checkbox.directorist-form-privacy, + .directorist-form-group.directorist-form-privacy, .directorist-add-listing-form__action - .directorist-form-group.directorist-form-privacy { + .directorist-checkbox.directorist-form-privacy { padding: 30px 30px 0; } } @media only screen and (max-width: 480px) { - .directorist-add-listing-form__action .directorist-checkbox, - .directorist-add-listing-form__action .directorist-form-group { + .directorist-add-listing-form__action .directorist-form-group, + .directorist-add-listing-form__action .directorist-checkbox { padding: 30px 20px 0; } } -.directorist-add-listing-form__action .directorist-checkbox label, -.directorist-add-listing-form__action .directorist-form-group label { +.directorist-add-listing-form__action .directorist-form-group label, +.directorist-add-listing-form__action .directorist-checkbox label { font-size: 14px; font-weight: 500; margin: 0 0 10px; } -.directorist-add-listing-form__action .directorist-checkbox label a, -.directorist-add-listing-form__action .directorist-form-group label a { +.directorist-add-listing-form__action .directorist-form-group label a, +.directorist-add-listing-form__action .directorist-checkbox label a { color: var(--directorist-color-info); } -.directorist-add-listing-form__action .directorist-checkbox #guest_user_email, -.directorist-add-listing-form__action - .directorist-form-group - #guest_user_email { +.directorist-add-listing-form__action .directorist-form-group #guest_user_email, +.directorist-add-listing-form__action .directorist-checkbox #guest_user_email { margin: 0 0 10px; } .directorist-add-listing-form__action .directorist-form-required { @@ -4673,6 +4987,10 @@ body.stop-scrolling { .directorist-add-listing-form__publish__icon i:after { width: 25px; height: 25px; + } +} +@media only screen and (max-width: 480px) { + .directorist-add-listing-form__publish__icon i:after { width: 22px; height: 22px; } @@ -4705,14 +5023,19 @@ body.stop-scrolling { top: -25px; border: 50px solid rgba(var(--directorist-color-marker-shape-rgb), 0.2); } -.directorist-add-listing-form .atbd_map_shape .directorist-icon-mask:after { +.directorist-add-listing-form .atbd_map_shape .directorist-icon-mask::after { width: 16px; height: 16px; } + +/* Custom Fields */ +/* select */ .directorist-custom-field-select select.directorist-form-element { padding-top: 0; padding-bottom: 0; } + +/* file upload */ .plupload-upload-uic { width: 420px; margin: 0 auto !important; @@ -4729,6 +5052,8 @@ body.stop-scrolling { margin-top: 10px; color: #9299b8; } + +/* quick login */ .directorist-modal-container { display: none; margin: 0 !important; @@ -4741,9 +5066,11 @@ body.stop-scrolling { left: 0; z-index: 999999999999; } + .directorist-modal-container.show { display: block; } + .directorist-modal-wrap { display: -webkit-box; display: -webkit-flex; @@ -4768,6 +5095,7 @@ body.stop-scrolling { -ms-flex-pack: center; justify-content: center; } + .directorist-modals { display: block; width: 100%; @@ -4777,6 +5105,7 @@ body.stop-scrolling { border-radius: 8px; overflow: hidden; } + .directorist-modal-header { display: -webkit-box; display: -webkit-flex; @@ -4793,21 +5122,26 @@ body.stop-scrolling { align-items: center; border-bottom: 1px solid #e4e4e4; } + .directorist-modal-title-area { display: block; } + .directorist-modal-header .directorist-modal-title { margin-bottom: 0 !important; font-size: 24px; } + .directorist-modal-actions-area { display: block; padding: 0 10px; } + .directorist-modal-body { display: block; padding: 20px; } + .directorist-form-privacy { margin-bottom: 10px; font-size: 14px; @@ -4819,6 +5153,7 @@ body.stop-scrolling { + .directorist-checkbox__label:after { border-color: var(--directorist-color-body); } + .directorist-form-privacy, .directorist-form-terms { display: -webkit-box; @@ -4830,6 +5165,10 @@ body.stop-scrolling { .directorist-form-terms a { text-decoration: none; } + +/* ============================= + backend add listing form +================================*/ .add_listing_form_wrapper .hide-if-no-js { display: -webkit-box; display: -webkit-flex; @@ -4844,6 +5183,7 @@ body.stop-scrolling { -ms-flex-pack: center; justify-content: center; } + #listing_form_info .directorist-bh-wrap .directorist-select select { width: calc(100% - 1px); min-height: 42px; @@ -4851,6 +5191,7 @@ body.stop-scrolling { border-color: #ececec !important; padding: 0 10px; } + .directorist-map-field #floating-panel { margin-bottom: 20px; } @@ -4859,13 +5200,15 @@ body.stop-scrolling { border: 1px solid var(--directorist-color-danger); color: var(--directorist-color-white); } + #listing_form_info .atbd_content_module.atbd-booking-information .atbdb_content_module_contents { padding-top: 20px; } -.directorist-custom-field-checkbox, -.directorist-custom-field-radio { + +.directorist-custom-field-radio, +.directorist-custom-field-checkbox { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -4875,60 +5218,60 @@ body.stop-scrolling { -ms-flex-wrap: wrap; flex-wrap: wrap; } -.directorist-custom-field-checkbox .directorist-custom-field-btn-more, -.directorist-custom-field-checkbox .directorist-form-description, -.directorist-custom-field-checkbox .directorist-form-label, -.directorist-custom-field-radio .directorist-custom-field-btn-more, +.directorist-custom-field-radio .directorist-form-label, .directorist-custom-field-radio .directorist-form-description, -.directorist-custom-field-radio .directorist-form-label { +.directorist-custom-field-radio .directorist-custom-field-btn-more, +.directorist-custom-field-checkbox .directorist-form-label, +.directorist-custom-field-checkbox .directorist-form-description, +.directorist-custom-field-checkbox .directorist-custom-field-btn-more { width: 100%; -webkit-box-flex: 0; -webkit-flex: 0 0 100%; -ms-flex: 0 0 100%; flex: 0 0 100%; } -.directorist-custom-field-checkbox .directorist-checkbox, -.directorist-custom-field-checkbox .directorist-radio, .directorist-custom-field-radio .directorist-checkbox, -.directorist-custom-field-radio .directorist-radio { +.directorist-custom-field-radio .directorist-radio, +.directorist-custom-field-checkbox .directorist-checkbox, +.directorist-custom-field-checkbox .directorist-radio { -webkit-box-flex: 0; -webkit-flex: 0 0 49%; -ms-flex: 0 0 49%; flex: 0 0 49%; } @media only screen and (max-width: 767px) { - .directorist-custom-field-checkbox .directorist-checkbox, - .directorist-custom-field-checkbox .directorist-radio, .directorist-custom-field-radio .directorist-checkbox, - .directorist-custom-field-radio .directorist-radio { + .directorist-custom-field-radio .directorist-radio, + .directorist-custom-field-checkbox .directorist-checkbox, + .directorist-custom-field-checkbox .directorist-radio { -webkit-box-flex: 0; -webkit-flex: 0 0 100%; -ms-flex: 0 0 100%; flex: 0 0 100%; } } -.directorist-custom-field-checkbox .directorist-custom-field-btn-more, -.directorist-custom-field-radio .directorist-custom-field-btn-more { +.directorist-custom-field-radio .directorist-custom-field-btn-more, +.directorist-custom-field-checkbox .directorist-custom-field-btn-more { margin-top: 5px; } -.directorist-custom-field-checkbox .directorist-custom-field-btn-more:after, -.directorist-custom-field-radio .directorist-custom-field-btn-more:after { +.directorist-custom-field-radio .directorist-custom-field-btn-more:after, +.directorist-custom-field-checkbox .directorist-custom-field-btn-more:after { content: ""; display: inline-block; margin-right: 5px; - -webkit-mask-image: url(../images/05feea3d261c8b97573023a74fd26f03.svg); - mask-image: url(../images/05feea3d261c8b97573023a74fd26f03.svg); + -webkit-mask-image: url(../js/../images/05feea3d261c8b97573023a74fd26f03.svg); + mask-image: url(../js/../images/05feea3d261c8b97573023a74fd26f03.svg); width: 12px; height: 12px; background-color: var(--directorist-color-body); } +.directorist-custom-field-radio .directorist-custom-field-btn-more.active:after, .directorist-custom-field-checkbox - .directorist-custom-field-btn-more.active:after, -.directorist-custom-field-radio .directorist-custom-field-btn-more.active:after { - -webkit-mask-image: url(../images/c90867d23032298fc0ff1d456a6fdb30.svg); - mask-image: url(../images/c90867d23032298fc0ff1d456a6fdb30.svg); + -webkit-mask-image: url(../js/../images/c90867d23032298fc0ff1d456a6fdb30.svg); + mask-image: url(../js/../images/c90867d23032298fc0ff1d456a6fdb30.svg); } + .directorist-add-listing-form .select2-container--default .select2-selection @@ -4976,6 +5319,7 @@ body.stop-scrolling { li.select2-search--inline:first-child { width: inherit; } + .multistep-wizard { display: -webkit-box; display: -webkit-flex; @@ -5029,11 +5373,13 @@ body.stop-scrolling { width: 270px; min-height: 36px; padding: 7px 16px; + border: none; outline: none; cursor: pointer; font-size: 14px; font-weight: 400; border-radius: 8px; + border: 1px solid transparent; text-decoration: none !important; color: var(--directorist-color-light-gray); background-color: transparent; @@ -5096,8 +5442,8 @@ body.stop-scrolling { -webkit-transform: translateY(-50%); transform: translateY(-50%); content: ""; - -webkit-mask-image: url(../images/bbed57ce5c92c9a7aa71622e408b6a66.svg); - mask-image: url(../images/bbed57ce5c92c9a7aa71622e408b6a66.svg); + -webkit-mask-image: url(../js/../images/bbed57ce5c92c9a7aa71622e408b6a66.svg); + mask-image: url(../js/../images/bbed57ce5c92c9a7aa71622e408b6a66.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 12px; @@ -5126,19 +5472,21 @@ body.stop-scrolling { font-weight: 600; color: var(--directorist-color-primary); } -.multistep-wizard__nav__btn:focus:before, -.multistep-wizard__nav__btn:focus i:after { +.multistep-wizard__nav__btn:focus:before { + background-color: var(--directorist-color-primary); +} +.multistep-wizard__nav__btn:focus i::after { background-color: var(--directorist-color-primary); } .multistep-wizard__nav__btn.completed { color: var(--directorist-color-primary); } .multistep-wizard__nav__btn.completed:before { - -webkit-mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); - mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); + -webkit-mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); + mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); opacity: 1; } -.multistep-wizard__nav__btn.completed i:after { +.multistep-wizard__nav__btn.completed i::after { background-color: var(--directorist-color-primary); } @media only screen and (max-width: 991px) { @@ -5178,8 +5526,8 @@ body.stop-scrolling { -webkit-transform: translateY(-50%); transform: translateY(-50%); content: ""; - -webkit-mask-image: url(../images/20cfd7ae7ffa8fca3b8d48d7ab39da28.svg); - mask-image: url(../images/20cfd7ae7ffa8fca3b8d48d7ab39da28.svg); + -webkit-mask-image: url(../js/../images/20cfd7ae7ffa8fca3b8d48d7ab39da28.svg); + mask-image: url(../js/../images/20cfd7ae7ffa8fca3b8d48d7ab39da28.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 12px; @@ -5187,8 +5535,8 @@ body.stop-scrolling { background-color: var(--directorist-color-dark); } .multistep-wizard__single .directorist-content-module__title.opened:before { - -webkit-mask-image: url(../images/e9f5f62f416fee88e3f2d027b8b705da.svg); - mask-image: url(../images/e9f5f62f416fee88e3f2d027b8b705da.svg); + -webkit-mask-image: url(../js/../images/e9f5f62f416fee88e3f2d027b8b705da.svg); + mask-image: url(../js/../images/e9f5f62f416fee88e3f2d027b8b705da.svg); } .multistep-wizard__single .directorist-content-module__contents { height: 0; @@ -5288,22 +5636,22 @@ body.stop-scrolling { .multistep-wizard__btn.directorist-btn i:after { background-color: var(--directorist-color-body); } -.multistep-wizard__btn.directorist-btn:focus, -.multistep-wizard__btn.directorist-btn:hover { +.multistep-wizard__btn.directorist-btn:hover, +.multistep-wizard__btn.directorist-btn:focus { color: var(--directorist-color-white); background-color: var(--directorist-color-primary); } -.multistep-wizard__btn.directorist-btn:focus i:after, -.multistep-wizard__btn.directorist-btn:hover i:after { +.multistep-wizard__btn.directorist-btn:hover i:after, +.multistep-wizard__btn.directorist-btn:focus i:after { background-color: var(--directorist-color-white); } -.multistep-wizard__btn[disabled="disabled"], -.multistep-wizard__btn[disabled="true"] { +.multistep-wizard__btn[disabled="true"], +.multistep-wizard__btn[disabled="disabled"] { color: var(--directorist-color-light-gray); pointer-events: none; } -.multistep-wizard__btn[disabled="disabled"] i:after, -.multistep-wizard__btn[disabled="true"] i:after { +.multistep-wizard__btn[disabled="true"] i:after, +.multistep-wizard__btn[disabled="disabled"] i:after { background-color: var(--directorist-color-light-gray); } .multistep-wizard__btn i:after { @@ -5393,15 +5741,17 @@ body.stop-scrolling { width: 100%; height: 54px; } + .logged-in .multistep-wizard__nav.sticky { top: 32px; } + @keyframes atbd_scale { 0% { -webkit-transform: scale(0.8); transform: scale(0.8); } - to { + 100% { -webkit-transform: scale(1); transform: scale(1); } @@ -5415,9 +5765,10 @@ body.stop-scrolling { padding: 0; border: none; } -#directorist_submit_privacy_policy:after { +#directorist_submit_privacy_policy::after { display: none; } + .upload-error { display: block !important; clear: both; @@ -5428,85 +5779,105 @@ body.stop-scrolling { border-radius: 3px; padding: 15px 20px; } + #upload-msg { display: block; clear: both; } + #content .category_grid_view li a.post_img { height: 65px; width: 90%; overflow: hidden; } + #content .category_grid_view li a.post_img img { margin: 0 auto; display: block; height: 65px; } + #content .category_list_view li a.post_img { height: 110px; width: 165px; overflow: hidden; } + #content .category_list_view li a.post_img img { margin: 0 auto; display: block; height: 110px; } + #sidebar .recent_comments li img.thumb { width: 40px; } + .post_img_tiny img { width: 35px; } + .single_post_blog img.alignleft { width: 96%; height: auto; } -.ecu_images, + +.ecu_images { + width: 100%; +} + .filelist { width: 100%; } + .filelist .file { padding: 5px; background-color: #ececec; - border: 1px solid #ccc; + border: solid 1px #ccc; margin-bottom: 4px; clear: both; text-align: right; } + .filelist .fileprogress { - width: 0; + width: 0%; height: 5px; background-color: #3385ff; } + #custom-filedropbox, .directorist-custom-field-file-upload__wrapper > div { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: start; -webkit-justify-content: flex-start; -ms-flex-pack: start; justify-content: flex-start; gap: 20px; } -#custom-filedropbox, -.directorist-custom-field-file-upload__wrapper > div, + .plupload-upload-uic { + width: 200px; + height: 150px; + padding: 0; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + gap: 15px; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -} -.plupload-upload-uic { - width: 200px; - height: 150px; - padding: 0; - gap: 15px; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; @@ -5527,7 +5898,7 @@ body.stop-scrolling { .plupload-upload-uic .plupload-browse-button-label { cursor: pointer; } -.plupload-upload-uic .plupload-browse-button-label i:after { +.plupload-upload-uic .plupload-browse-button-label i::after { width: 50px; height: 45px; background-color: var(--directorist-color-border-gray); @@ -5543,10 +5914,12 @@ body.stop-scrolling { height: 200px; } } + .plupload-thumbs { clear: both; overflow: hidden; } + .plupload-thumbs .thumb { position: relative; height: 150px; @@ -5560,7 +5933,7 @@ body.stop-scrolling { object-fit: cover; border-radius: 12px; } -.plupload-thumbs .thumb:hover .atbdp-thumb-actions:before { +.plupload-thumbs .thumb:hover .atbdp-thumb-actions::before { opacity: 1; visibility: visible; } @@ -5625,14 +5998,16 @@ body.stop-scrolling { opacity: 0; visibility: hidden; border-radius: 12px; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; background-color: rgba(var(--directorist-color-dark-rgb), 0.5); } + .plupload-thumbs .thumb.atbdp_file { border: none; width: auto; } + .atbdp-add-files .plupload-thumbs .thumb img, .plupload-thumbs .thumb i.atbdp-file-info { cursor: move; @@ -5640,11 +6015,13 @@ body.stop-scrolling { height: 100%; z-index: 1; } + .plupload-thumbs .thumb i.atbdp-file-info { font-size: 50px; padding-top: 10%; z-index: 1; } + .plupload-thumbs .thumb .thumbi { position: absolute; left: -10px; @@ -5652,107 +6029,133 @@ body.stop-scrolling { height: 18px; width: 18px; } + .plupload-thumbs .thumb .thumbi a { text-indent: -8000px; display: block; } -.plupload-thumbs .atbdp-caption-preview, -.plupload-thumbs .atbdp-title-preview { + +.plupload-thumbs .atbdp-title-preview, +.plupload-thumbs .atbdp-caption-preview { position: absolute; top: 10px; right: 5px; font-size: 10px; line-height: 10px; padding: 1px; - background: hsla(0, 0%, 100%, 0.5); + background: rgba(255, 255, 255, 0.5); z-index: 2; overflow: hidden; height: 10px; } + .plupload-thumbs .atbdp-caption-preview { top: auto; bottom: 10px; } -.leaflet-image-layer, -.leaflet-layer, -.leaflet-marker-icon, -.leaflet-marker-shadow, + +/* required styles */ .leaflet-pane, -.leaflet-pane > canvas, -.leaflet-pane > svg, .leaflet-tile, +.leaflet-marker-icon, +.leaflet-marker-shadow, .leaflet-tile-container, -.leaflet-zoom-box { +.leaflet-pane > svg, +.leaflet-pane > canvas, +.leaflet-zoom-box, +.leaflet-image-layer, +.leaflet-layer { position: absolute; right: 0; top: 0; } + .leaflet-container { overflow: hidden; } + +.leaflet-tile, .leaflet-marker-icon, -.leaflet-marker-shadow, -.leaflet-tile { +.leaflet-marker-shadow { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-user-drag: none; } + +/* Prevents IE11 from highlighting tiles in blue */ .leaflet-tile::-moz-selection { background: transparent; } .leaflet-tile::selection { background: transparent; } + +/* Safari renders non-retina tile on retina better with this, but Chrome is worse */ .leaflet-safari .leaflet-tile { image-rendering: -webkit-optimize-contrast; } + +/* hack that prevents hw layers "stretching" when loading new tiles */ .leaflet-safari .leaflet-tile-container { width: 1600px; height: 1600px; -webkit-transform-origin: 100% 0; } + .leaflet-marker-icon, .leaflet-marker-shadow { display: block; } -.leaflet-container .leaflet-marker-pane img, + +/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */ +/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */ .leaflet-container .leaflet-overlay-pane svg, +.leaflet-container .leaflet-marker-pane img, .leaflet-container .leaflet-shadow-pane img, -.leaflet-container .leaflet-tile, .leaflet-container .leaflet-tile-pane img, -.leaflet-container img.leaflet-image-layer { +.leaflet-container img.leaflet-image-layer, +.leaflet-container .leaflet-tile { max-width: none !important; max-height: none !important; } + .leaflet-container.leaflet-touch-zoom { -ms-touch-action: pan-x pan-y; touch-action: pan-x pan-y; } + .leaflet-container.leaflet-touch-drag { -ms-touch-action: pinch-zoom; + /* Fallback for FF which doesn't support pinch-zoom */ touch-action: none; touch-action: pinch-zoom; } + .leaflet-container.leaflet-touch-drag.leaflet-touch-zoom { -ms-touch-action: none; touch-action: none; } + .leaflet-container { -webkit-tap-highlight-color: transparent; } + .leaflet-container a { -webkit-tap-highlight-color: rgba(145, 175, 186, 0.4); } + .leaflet-tile { -webkit-filter: inherit; filter: inherit; visibility: hidden; } + .leaflet-tile-loaded { visibility: inherit; } + .leaflet-zoom-box { width: 0; height: 0; @@ -5760,106 +6163,141 @@ body.stop-scrolling { box-sizing: border-box; z-index: 800; } + +/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */ .leaflet-overlay-pane svg { -moz-user-select: none; } + .leaflet-pane { z-index: 400; } + .leaflet-tile-pane { z-index: 200; } + .leaflet-overlay-pane { z-index: 400; } + .leaflet-shadow-pane { z-index: 500; } + .leaflet-marker-pane { z-index: 600; } + .leaflet-tooltip-pane { z-index: 650; } + .leaflet-popup-pane { z-index: 700; } + .leaflet-map-pane canvas { z-index: 100; } + .leaflet-map-pane svg { z-index: 200; } + .leaflet-vml-shape { width: 1px; height: 1px; } + .lvml { behavior: url(#default#VML); display: inline-block; position: absolute; } + +/* control positioning */ .leaflet-control { position: relative; z-index: 800; - pointer-events: visiblePainted; + pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */ pointer-events: auto; } -.leaflet-bottom, -.leaflet-top { + +.leaflet-top, +.leaflet-bottom { position: absolute; z-index: 1000; pointer-events: none; } + .leaflet-top { top: 0; } + .leaflet-right { left: 0; display: none; } + .leaflet-bottom { bottom: 0; } + .leaflet-left { right: 0; } + .leaflet-control { float: right; clear: both; } + .leaflet-right .leaflet-control { float: left; } + .leaflet-top .leaflet-control { margin-top: 10px; } + .leaflet-bottom .leaflet-control { margin-bottom: 10px; } + .leaflet-left .leaflet-control { margin-right: 10px; } + .leaflet-right .leaflet-control { margin-left: 10px; } + +/* zoom and fade animations */ .leaflet-fade-anim .leaflet-tile { will-change: opacity; } + .leaflet-fade-anim .leaflet-popup { opacity: 0; -webkit-transition: opacity 0.2s linear; transition: opacity 0.2s linear; } + .leaflet-fade-anim .leaflet-map-pane .leaflet-popup { opacity: 1; } + .leaflet-zoom-animated { -webkit-transform-origin: 100% 0; transform-origin: 100% 0; } + .leaflet-zoom-anim .leaflet-zoom-animated { will-change: transform; +} + +.leaflet-zoom-anim .leaflet-zoom-animated { -webkit-transition: -webkit-transform 0.25s cubic-bezier(0, 0, 0.25, 1); transition: -webkit-transform 0.25s cubic-bezier(0, 0, 0.25, 1); transition: transform 0.25s cubic-bezier(0, 0, 0.25, 1); @@ -5867,29 +6305,37 @@ body.stop-scrolling { transform 0.25s cubic-bezier(0, 0, 0.25, 1), -webkit-transform 0.25s cubic-bezier(0, 0, 0.25, 1); } -.leaflet-pan-anim .leaflet-tile, -.leaflet-zoom-anim .leaflet-tile { + +.leaflet-zoom-anim .leaflet-tile, +.leaflet-pan-anim .leaflet-tile { -webkit-transition: none; transition: none; } + .leaflet-zoom-anim .leaflet-zoom-hide { visibility: hidden; } + +/* cursors */ .leaflet-interactive { cursor: pointer; } + .leaflet-grab { cursor: -webkit-grab; cursor: grab; } + .leaflet-crosshair, .leaflet-crosshair .leaflet-interactive { cursor: crosshair; } -.leaflet-control, -.leaflet-popup-pane { + +.leaflet-popup-pane, +.leaflet-control { cursor: auto; } + .leaflet-dragging .leaflet-grab, .leaflet-dragging .leaflet-grab .leaflet-interactive, .leaflet-dragging .leaflet-marker-draggable { @@ -5897,47 +6343,60 @@ body.stop-scrolling { cursor: -webkit-grabbing; cursor: grabbing; } -.leaflet-image-layer, + +/* marker & overlays interactivity */ .leaflet-marker-icon, .leaflet-marker-shadow, +.leaflet-image-layer, .leaflet-pane > svg path, .leaflet-tile-container { pointer-events: none; } -.leaflet-image-layer.leaflet-interactive, + .leaflet-marker-icon.leaflet-interactive, +.leaflet-image-layer.leaflet-interactive, .leaflet-pane > svg path.leaflet-interactive, svg.leaflet-image-layer.leaflet-interactive path { - pointer-events: visiblePainted; + pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */ pointer-events: auto; } + +/* visual tweaks */ .leaflet-container { background-color: #ddd; outline: 0; } -.leaflet-container .map-listing-card-single__content a, -.leaflet-container a { + +.leaflet-container a, +.leaflet-container .map-listing-card-single__content a { color: #404040; } + .leaflet-container a.leaflet-active { outline: 2px solid #fa8b0c; } + .leaflet-zoom-box { border: 2px dotted var(--directorist-color-info); - background: hsla(0, 0%, 100%, 0.5); + background: rgba(255, 255, 255, 0.5); } + +/* general typography */ .leaflet-container { font: - 12px/1.5 Helvetica Neue, + 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif; } + +/* general toolbar styles */ .leaflet-bar { -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65); box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65); border-radius: 4px; } + .leaflet-bar a, .leaflet-bar a:hover { background-color: var(--directorist-color-white); @@ -5948,130 +6407,163 @@ svg.leaflet-image-layer.leaflet-interactive path { display: block; text-align: center; text-decoration: none; - color: #000; + color: black; } + .leaflet-bar a, .leaflet-control-layers-toggle { background-position: 50% 50%; background-repeat: no-repeat; display: block; } + .leaflet-bar a:hover { background-color: #f4f4f4; } + .leaflet-bar a:first-child { border-top-right-radius: 4px; border-top-left-radius: 4px; } + .leaflet-bar a:last-child { border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; border-bottom: none; } + .leaflet-bar a.leaflet-disabled { cursor: default; background-color: #f4f4f4; color: #bbb; } + .leaflet-touch .leaflet-bar a { width: 30px; height: 30px; line-height: 30px; } + .leaflet-touch .leaflet-bar a:first-child { border-top-right-radius: 2px; border-top-left-radius: 2px; } + .leaflet-touch .leaflet-bar a:last-child { border-bottom-right-radius: 2px; border-bottom-left-radius: 2px; } + +/* zoom control */ .leaflet-control-zoom-in, .leaflet-control-zoom-out { font: - 700 18px Lucida Console, + bold 18px "Lucida Console", Monaco, monospace; text-indent: 1px; } + .leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out { font-size: 22px; } + +/* layers control */ .leaflet-control-layers { -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4); box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4); background-color: var(--directorist-color-white); border-radius: 5px; } + .leaflet-control-layers-toggle { width: 36px; height: 36px; } + .leaflet-retina .leaflet-control-layers-toggle { background-size: 26px 26px; } + .leaflet-touch .leaflet-control-layers-toggle { width: 44px; height: 44px; } -.leaflet-control-layers-expanded .leaflet-control-layers-toggle, -.leaflet-control-layers .leaflet-control-layers-list { + +.leaflet-control-layers .leaflet-control-layers-list, +.leaflet-control-layers-expanded .leaflet-control-layers-toggle { display: none; } + .leaflet-control-layers-expanded .leaflet-control-layers-list { display: block; position: relative; } + .leaflet-control-layers-expanded { padding: 6px 6px 6px 10px; color: #333; background-color: var(--directorist-color-white); } + .leaflet-control-layers-scrollbar { overflow-y: scroll; overflow-x: hidden; padding-left: 5px; } + .leaflet-control-layers-selector { margin-top: 2px; position: relative; top: 1px; } + .leaflet-control-layers label { display: block; } + .leaflet-control-layers-separator { height: 0; border-top: 1px solid #ddd; margin: 5px -6px 5px -10px; } + +/* Default icon URLs */ +/* attribution and scale controls */ .leaflet-container .leaflet-control-attribution { background-color: var(--directorist-color-white); - background: hsla(0, 0%, 100%, 0.7); + background: rgba(255, 255, 255, 0.7); margin: 0; } + .leaflet-control-attribution, .leaflet-control-scale-line { padding: 0 5px; color: #333; } + .leaflet-control-attribution a { text-decoration: none; } + .leaflet-control-attribution a:hover { text-decoration: underline; } + .leaflet-container .leaflet-control-attribution, .leaflet-container .leaflet-control-scale { font-size: 11px; } + .leaflet-left .leaflet-control-scale { margin-right: 5px; } + .leaflet-bottom .leaflet-control-scale { margin-bottom: 5px; } + .leaflet-control-scale-line { border: 2px solid #777; border-top: none; @@ -6083,44 +6575,54 @@ svg.leaflet-image-layer.leaflet-interactive path { -webkit-box-sizing: border-box; box-sizing: border-box; background-color: var(--directorist-color-white); - background: hsla(0, 0%, 100%, 0.5); + background: rgba(255, 255, 255, 0.5); } + .leaflet-control-scale-line:not(:first-child) { border-top: 2px solid #777; border-bottom: none; margin-top: -2px; } + .leaflet-control-scale-line:not(:first-child):not(:last-child) { border-bottom: 2px solid #777; } -.leaflet-touch .leaflet-bar, + .leaflet-touch .leaflet-control-attribution, -.leaflet-touch .leaflet-control-layers { +.leaflet-touch .leaflet-control-layers, +.leaflet-touch .leaflet-bar { -webkit-box-shadow: none; box-shadow: none; } -.leaflet-touch .leaflet-bar, -.leaflet-touch .leaflet-control-layers { + +.leaflet-touch .leaflet-control-layers, +.leaflet-touch .leaflet-bar { border: 2px solid rgba(0, 0, 0, 0.2); background-clip: padding-box; } + +/* popup */ .leaflet-popup { position: absolute; text-align: center; margin-bottom: 20px; } + .leaflet-popup-content-wrapper { padding: 1px; text-align: right; border-radius: 10px; } + .leaflet-popup-content { margin: 13px 19px; line-height: 1.4; } + .leaflet-popup-content p { margin: 18px 0; } + .leaflet-popup-tip-container { width: 40px; height: 20px; @@ -6130,6 +6632,7 @@ svg.leaflet-image-layer.leaflet-interactive path { overflow: hidden; pointer-events: none; } + .leaflet-popup-tip { width: 17px; height: 17px; @@ -6138,13 +6641,15 @@ svg.leaflet-image-layer.leaflet-interactive path { -webkit-transform: rotate(-45deg); transform: rotate(-45deg); } + .leaflet-popup-content-wrapper, .leaflet-popup-tip { - background: #fff; + background: white; color: #333; -webkit-box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4); box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4); } + .leaflet-container a.leaflet-popup-close-button { position: absolute; top: 0; @@ -6160,45 +6665,54 @@ svg.leaflet-image-layer.leaflet-interactive path { sans-serif; color: #c3c3c3; text-decoration: none; - font-weight: 700; + font-weight: bold; background: transparent; } + .leaflet-container a.leaflet-popup-close-button:hover { color: #999; } + .leaflet-popup-scrolled { overflow: auto; border-bottom: 1px solid #ddd; border-top: 1px solid #ddd; } + .leaflet-oldie .leaflet-popup-content-wrapper { zoom: 1; } + .leaflet-oldie .leaflet-popup-tip { width: 24px; margin: 0 auto; -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)"; - filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678,M12=0.70710678,M21=-0.70710678,M22=0.70710678); + filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678); } + .leaflet-oldie .leaflet-popup-tip-container { margin-top: -1px; } -.leaflet-oldie .leaflet-control-layers, + .leaflet-oldie .leaflet-control-zoom, +.leaflet-oldie .leaflet-control-layers, .leaflet-oldie .leaflet-popup-content-wrapper, .leaflet-oldie .leaflet-popup-tip { border: 1px solid #999; } + +/* div icon */ .leaflet-div-icon { - border: 1px solid #666; -} -.leaflet-div-icon, -.leaflet-tooltip { background-color: var(--directorist-color-white); + border: 1px solid #666; } + +/* Tooltip */ +/* Base styles for the element that has a tooltip */ .leaflet-tooltip { position: absolute; padding: 6px; + background-color: var(--directorist-color-white); border: 1px solid var(--directorist-color-white); border-radius: 3px; color: #222; @@ -6211,63 +6725,77 @@ svg.leaflet-image-layer.leaflet-interactive path { -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); } + .leaflet-tooltip.leaflet-clickable { cursor: pointer; pointer-events: auto; } + +.leaflet-tooltip-top:before, .leaflet-tooltip-bottom:before, .leaflet-tooltip-left:before, -.leaflet-tooltip-right:before, -.leaflet-tooltip-top:before { +.leaflet-tooltip-right:before { position: absolute; pointer-events: none; border: 6px solid transparent; background: transparent; content: ""; } + +/* Directions */ .leaflet-tooltip-bottom { margin-top: 6px; } + .leaflet-tooltip-top { margin-top: -6px; } + .leaflet-tooltip-bottom:before, .leaflet-tooltip-top:before { right: 50%; margin-right: -6px; } + .leaflet-tooltip-top:before { bottom: 0; margin-bottom: -12px; border-top-color: var(--directorist-color-white); } + .leaflet-tooltip-bottom:before { top: 0; margin-top: -12px; margin-right: -6px; border-bottom-color: var(--directorist-color-white); } + .leaflet-tooltip-left { margin-right: -6px; } + .leaflet-tooltip-right { margin-right: 6px; } + .leaflet-tooltip-left:before, .leaflet-tooltip-right:before { top: 50%; margin-top: -6px; } + .leaflet-tooltip-left:before { left: 0; margin-left: -12px; border-right-color: var(--directorist-color-white); } + .leaflet-tooltip-right:before { right: 0; margin-right: -12px; border-left-color: var(--directorist-color-white); } + .directorist-content-active #map { position: relative; width: 100%; @@ -6298,7 +6826,7 @@ svg.leaflet-image-layer.leaflet-interactive path { background-color: var(--directorist-color-white); cursor: pointer; } -.directorist-content-active #gmap_full_screen_button i:after { +.directorist-content-active #gmap_full_screen_button i::after { width: 22px; height: 22px; -webkit-transition: all 0.3s ease-in-out; @@ -6319,7 +6847,7 @@ svg.leaflet-image-layer.leaflet-interactive path { margin-top: -20px; margin-right: -100px; background-color: var(--directorist-color-white); - background-color: hsla(0, 0%, 100%, 0.7); + background-color: rgba(255, 255, 255, 0.7); border-radius: 4px; padding: 2px; } @@ -6334,8 +6862,8 @@ svg.leaflet-image-layer.leaflet-interactive path { height: 50px !important; margin: 20px !important; border-radius: 10px !important; - -webkit-box-shadow: 0 2px 20px rgba(0, 0, 0, 0.26) !important; - box-shadow: 0 2px 20px rgba(0, 0, 0, 0.26) !important; + -webkit-box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.26) !important; + box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.26) !important; } .directorist-content-active .gmnoprint { border-radius: 5px; @@ -6360,10 +6888,12 @@ svg.leaflet-image-layer.leaflet-interactive path { .directorist-content-active .version-disabled { text-decoration: line-through; } + +/* wp color picker */ .directorist-form-group .wp-picker-container .button { position: relative; height: 40px; - border: 0; + border: 0 none; width: 140px; padding: 0; font-size: 14px; @@ -6448,7 +6978,9 @@ svg.leaflet-image-layer.leaflet-interactive path { .directorist-form-group .wp-picker-container .wp-picker-container - .wp-picker-input-wrap.hidden, + .wp-picker-input-wrap.hidden { + display: none; +} .directorist-form-group .wp-picker-container .wp-picker-container @@ -6475,16 +7007,23 @@ svg.leaflet-image-layer.leaflet-interactive path { padding-bottom: 0; font-size: 15px; } + .directorist-show { display: block !important; } -.directorist-d-none, + .directorist-hide { display: none !important; } + +.directorist-d-none { + display: none !important; +} + .directorist-text-center { text-align: center; } + .directorist-content-active .entry-content ul { margin: 0; padding: 0; @@ -6509,24 +7048,30 @@ svg.leaflet-image-layer.leaflet-interactive path { -ms-flex-align: center; align-items: center; } + +/* Container within container spacing issue fix */ .directorist-container-fluid > .directorist-container-fluid { padding-right: 0; padding-left: 0; } + .directorist-announcement-wrapper .directorist_not-found p { margin-bottom: 0; } + .directorist-content-active .select2-container--open .select2-dropdown.select2-dropdown--below { top: 0; border-color: var(--directorist-color-border); } + .logged-in.directorist-content-active .select2-container--open .select2-dropdown.select2-dropdown--below { top: 32px; } + .directorist-content-active .directorist-select .select2.select2-container @@ -6535,6 +7080,7 @@ svg.leaflet-image-layer.leaflet-interactive path { .select2-selection__clear { display: none; } + .directorist-content-active .select2.select2-container.select2-container--default { width: 100% !important; @@ -6543,6 +7089,7 @@ svg.leaflet-image-layer.leaflet-interactive path { .select2.select2-container.select2-container--default .select2-selection { min-height: 40px; + min-height: 40px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -6593,8 +7140,8 @@ svg.leaflet-image-layer.leaflet-interactive path { .select2.select2-container.select2-container--default .select2-selection__choice__remove:before { content: ""; - -webkit-mask-image: url(../images/4ff79f85f2a1666e0f80c7ca71039465.svg); - mask-image: url(../images/4ff79f85f2a1666e0f80c7ca71039465.svg); + -webkit-mask-image: url(../js/../images/4ff79f85f2a1666e0f80c7ca71039465.svg); + mask-image: url(../js/../images/4ff79f85f2a1666e0f80c7ca71039465.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 12px; @@ -6622,8 +7169,8 @@ svg.leaflet-image-layer.leaflet-interactive path { -ms-flex-align: center; align-items: center; padding: 0 !important; - -ms-overflow-style: none; - scrollbar-width: none; + -ms-overflow-style: none; /* Internet Explorer 10+ */ + scrollbar-width: none; /* Firefox */ } .directorist-content-active .select2.select2-container.select2-container--default @@ -6648,6 +7195,7 @@ svg.leaflet-image-layer.leaflet-interactive path { border: none; border-bottom: 2px solid var(--directorist-color-primary) !important; } + .directorist-content-active .select2-container.select2-container--open { z-index: 99999; } @@ -6656,6 +7204,7 @@ svg.leaflet-image-layer.leaflet-interactive path { width: calc(100% - 40px); } } + .directorist-content-active .select2-container--default .select2-selection @@ -6663,6 +7212,7 @@ svg.leaflet-image-layer.leaflet-interactive path { b { margin-top: 0; } + .directorist-content-active .select2-container .directorist-select2-addons-area { @@ -6689,15 +7239,19 @@ svg.leaflet-image-layer.leaflet-interactive path { padding: 0; display: none; } + +/* Login/Signup Form CSS */ #recover-pass-modal { display: none; } + .directorist-login-wrapper #recover-pass-modal .directorist-btn { margin-top: 15px; } .directorist-login-wrapper #recover-pass-modal .directorist-btn:hover { text-decoration: none; } + body.modal-overlay-enabled { position: relative; } @@ -6711,6 +7265,7 @@ body.modal-overlay-enabled:before { background-color: rgba(var(--directorist-color-dark-rgb), 0.05); z-index: 1; } + .directorist-widget { margin-bottom: 25px; } @@ -6727,6 +7282,7 @@ body.modal-overlay-enabled:before { .directorist-widget .directorist-card__body.directorist-widget__body { padding: 20px 30px; } + .directorist-sidebar .directorist-card { margin-bottom: 25px; } @@ -6773,6 +7329,7 @@ body.modal-overlay-enabled:before { -ms-flex-pack: justify; justify-content: space-between; } + .directorist-widget__listing-contact .directorist-form-group { display: -webkit-box; display: -webkit-flex; @@ -6803,10 +7360,14 @@ body.modal-overlay-enabled:before { min-height: 130px !important; resize: none; } -.directorist-widget__listing-contact .directorist-btn, +.directorist-widget__listing-contact .directorist-btn { + width: 100%; +} + .directorist-widget__submit-listing .directorist-btn { width: 100%; } + .directorist-widget__author-info figure { margin: 0; } @@ -6814,10 +7375,12 @@ body.modal-overlay-enabled:before { width: 100%; margin-top: 25px; } + .directorist-single-map.directorist-widget__map.leaflet-container { margin-bottom: 0; border-radius: 12px; } + .directorist-widget-listing__single { display: -webkit-box; display: -webkit-flex; @@ -6835,6 +7398,7 @@ body.modal-overlay-enabled:before { .directorist-widget-listing__single:not(:last-child) { margin-bottom: 25px; } + .directorist-widget-listing__image { width: 70px; height: 70px; @@ -6847,6 +7411,7 @@ body.modal-overlay-enabled:before { height: 100%; border-radius: 10px; } + .directorist-widget-listing__content { display: -webkit-box; display: -webkit-flex; @@ -6863,6 +7428,7 @@ body.modal-overlay-enabled:before { font-size: 15px; font-weight: 500; line-height: 1; + margin: 0; color: var(--directorist-color-dark); margin: 0; } @@ -6879,12 +7445,15 @@ body.modal-overlay-enabled:before { outline: none; } .directorist-widget-listing__content .directorist-widget-listing__meta { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; } -.directorist-widget-listing__content .directorist-widget-listing__meta, .directorist-widget-listing__content .directorist-widget-listing__rating { display: -webkit-box; display: -webkit-flex; @@ -6916,11 +7485,13 @@ body.modal-overlay-enabled:before { font-weight: 600; color: var(--directorist-color-dark); } + .directorist-widget__video .directorist-embaded-item { width: 100%; height: 100%; border-radius: 10px; } + .directorist-widget .directorist-widget-list li:hover @@ -6931,8 +7502,8 @@ body.modal-overlay-enabled:before { .directorist-widget .directorist-widget-list li:not(:last-child) { margin-bottom: 10px; } -.directorist-widget .directorist-widget-list li span.fa, -.directorist-widget .directorist-widget-list li span.la { +.directorist-widget .directorist-widget-list li span.la, +.directorist-widget .directorist-widget-list li span.fa { cursor: pointer; margin: 0 0 0 5px; } @@ -6967,6 +7538,7 @@ body.modal-overlay-enabled:before { -webkit-transform: translateY(-50%); transform: translateY(-50%); } + .directorist-widget-taxonomy .directorist-taxonomy-list-one { -webkit-margin-after: 10px; margin-block-end: 10px; @@ -7015,7 +7587,7 @@ body.modal-overlay-enabled:before { justify-content: center; } .directorist-widget-taxonomy - .directorist-taxonomy-list-one__icon-default:after { + .directorist-taxonomy-list-one__icon-default::after { content: ""; width: 8px; height: 8px; @@ -7041,6 +7613,7 @@ body.modal-overlay-enabled:before { -webkit-padding-start: 25px; padding-inline-start: 25px; } + .directorist-widget-location .directorist-taxonomy-list-one:last-child { margin-bottom: 0; } @@ -7051,6 +7624,7 @@ body.modal-overlay-enabled:before { -webkit-padding-start: 25px; padding-inline-start: 25px; } + .directorist-widget-tags ul { margin: 0; padding: 0; @@ -7084,6 +7658,7 @@ body.modal-overlay-enabled:before { color: var(--directorist-color-primary); border-color: var(--directorist-color-primary); } + .directorist-widget-advanced-search .directorist-search-form__box { -webkit-box-orient: vertical; -webkit-box-direction: normal; @@ -7119,7 +7694,7 @@ body.modal-overlay-enabled:before { .directorist-search-modal__contents__body .directorist-search-modal__input .directorist-search-field { - border: 0; + border: 0 none; } .directorist-widget-advanced-search .directorist-search-basic-dropdown @@ -7166,11 +7741,11 @@ body.modal-overlay-enabled:before { } .directorist-widget-advanced-search .directorist-search-form - .directorist-search-field - .directorist-search-basic-dropdown-label, + .directorist-search-field.input-is-focused + > label, .directorist-widget-advanced-search .directorist-search-form - .directorist-search-field.directorist-search-field-radius_search + .directorist-search-field.input-has-value > label, .directorist-widget-advanced-search .directorist-search-form @@ -7178,20 +7753,23 @@ body.modal-overlay-enabled:before { > label, .directorist-widget-advanced-search .directorist-search-form - .directorist-search-field.input-has-value - .directorist-search-field__label, + .directorist-search-field.directorist-search-field-radius_search + > label { + font-size: 16px; + font-weight: 500; +} .directorist-widget-advanced-search .directorist-search-form - .directorist-search-field.input-has-value - > label, + .directorist-search-field.input-is-focused + .directorist-search-field__label, .directorist-widget-advanced-search .directorist-search-form - .directorist-search-field.input-is-focused + .directorist-search-field.input-has-value .directorist-search-field__label, .directorist-widget-advanced-search .directorist-search-form - .directorist-search-field.input-is-focused - > label { + .directorist-search-field + .directorist-search-basic-dropdown-label { font-size: 16px; font-weight: 500; } @@ -7216,7 +7794,7 @@ body.modal-overlay-enabled:before { color: var(--directorist-color-primary); } .directorist-widget-advanced-search .directorist-advanced-filter__action { - padding: 0; + padding: 0 0; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; @@ -7268,11 +7846,12 @@ body.modal-overlay-enabled:before { opacity: 0.5; cursor: not-allowed; } + .directorist-widget-authentication form { margin-bottom: 15px; } -.directorist-widget-authentication p input:not(input[type="checkbox"]), -.directorist-widget-authentication p label { +.directorist-widget-authentication p label, +.directorist-widget-authentication p input:not(input[type="checkbox"]) { display: block; } .directorist-widget-authentication p label { @@ -7290,6 +7869,8 @@ body.modal-overlay-enabled:before { .directorist-widget-authentication .login-submit button { cursor: pointer; } + +/* Directorist button styles */ .directorist-btn { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -7324,8 +7905,8 @@ body.modal-overlay-enabled:before { text-decoration: none; background-color: var(--directorist-color-primary); color: var(--directorist-color-white); - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; text-decoration: none !important; } .directorist-btn .directorist-icon-mask:after { @@ -7337,12 +7918,13 @@ body.modal-overlay-enabled:before { .directorist-btn.directorist-btn--logout { line-height: 43px; } -.directorist-btn:focus, -.directorist-btn:hover { +.directorist-btn:hover, +.directorist-btn:focus { color: var(--directorist-color-white); outline: 0 !important; background-color: rgba(var(--directorist-color-primary-rgb), 0.8); } + .directorist-btn.directorist-btn-primary { background-color: var(--directorist-color-btn-primary-bg); color: var(--directorist-color-btn-primary); @@ -7464,6 +8046,7 @@ body.modal-overlay-enabled:before { pointer-events: none; opacity: 0.75; } + .directorist-btn.directorist-btn-outline { background: transparent; border: 1px solid var(--directorist-color-border) !important; @@ -7554,6 +8137,7 @@ body.modal-overlay-enabled:before { color: var(--directorist-color-white); background-color: var(--directorist-color-dark); } + .directorist-btn.directorist-btn-lg { min-height: 50px; } @@ -7575,24 +8159,26 @@ body.modal-overlay-enabled:before { display: -ms-flexbox; display: flex; } + @-webkit-keyframes spin-centered { - 0% { + from { -webkit-transform: translateX(50%) rotate(0deg); transform: translateX(50%) rotate(0deg); } to { - -webkit-transform: translateX(50%) rotate(-1turn); - transform: translateX(50%) rotate(-1turn); + -webkit-transform: translateX(50%) rotate(-360deg); + transform: translateX(50%) rotate(-360deg); } } + @keyframes spin-centered { - 0% { + from { -webkit-transform: translateX(50%) rotate(0deg); transform: translateX(50%) rotate(0deg); } to { - -webkit-transform: translateX(50%) rotate(-1turn); - transform: translateX(50%) rotate(-1turn); + -webkit-transform: translateX(50%) rotate(-360deg); + transform: translateX(50%) rotate(-360deg); } } .directorist-badge { @@ -7605,6 +8191,7 @@ body.modal-overlay-enabled:before { text-transform: uppercase; border-radius: 5px; } + .directorist-badge.directorist-badge-primary { background-color: var(--directorist-color-primary); } @@ -7626,6 +8213,7 @@ body.modal-overlay-enabled:before { .directorist-badge.directorist-badge-gray { background-color: #525768; } + .directorist-badge.directorist-badge-primary-transparent { color: var(--directorist-color-primary); background-color: rgba(var(--directorist-color-primary-rgb), 0.15); @@ -7654,6 +8242,7 @@ body.modal-overlay-enabled:before { color: var(--directorist-color-gray); background-color: rgba(var(--directorist-color-gray-rgb), 0.15); } + .directorist-badge .directorist-badge-tooltip { position: absolute; top: -35px; @@ -7692,6 +8281,10 @@ body.modal-overlay-enabled:before { opacity: 1; visibility: visible; } + +/*** + Directorist Custom Range Slider Styling; +***/ .directorist-custom-range-slider-target, .directorist-custom-range-slider-target * { -ms-touch-action: none; @@ -7703,6 +8296,7 @@ body.modal-overlay-enabled:before { -webkit-box-sizing: border-box; box-sizing: border-box; } + .directorist-custom-range-slider-base, .directorist-custom-range-slider-connects { width: 100%; @@ -7710,10 +8304,13 @@ body.modal-overlay-enabled:before { position: relative; z-index: 1; } + +/* Wrapper for all connect elements. */ .directorist-custom-range-slider-connects { overflow: hidden; z-index: 0; } + .directorist-custom-range-slider-connect, .directorist-custom-range-slider-origin { will-change: transform; @@ -7728,24 +8325,31 @@ body.modal-overlay-enabled:before { -webkit-transform-style: flat; transform-style: flat; } + +/* Give origins 0 height/width so they don't interfere +* with clicking the connect elements. */ .directorist-custom-range-slider-vertical .directorist-custom-range-slider-origin { top: -100%; width: 0; } + .directorist-custom-range-slider-horizontal .directorist-custom-range-slider-origin { height: 0; } + .directorist-custom-range-slider-handle { -webkit-backface-visibility: hidden; backface-visibility: hidden; position: absolute; } + .directorist-custom-range-slider-touch-area { height: 100%; width: 100%; } + .directorist-custom-range-slider-state-tap .directorist-custom-range-slider-connect, .directorist-custom-range-slider-state-tap @@ -7757,9 +8361,12 @@ body.modal-overlay-enabled:before { transform 0.3s, -webkit-transform 0.3s; } + .directorist-custom-range-slider-state-drag * { cursor: inherit !important; } + +/* Slider size and handle placement; */ .directorist-custom-range-slider-horizontal .directorist-custom-range-slider-handle { width: 20px; @@ -7770,6 +8377,7 @@ body.modal-overlay-enabled:before { top: -8px; cursor: pointer; } + .directorist-custom-range-slider-vertical { width: 18px; } @@ -7780,6 +8388,8 @@ body.modal-overlay-enabled:before { inset-inline-end: -6px; bottom: -17px; } + +/* Giving the connect element a border radius causes issues with using transform: scale */ .directorist-custom-range-slider-target { position: relative; width: 100%; @@ -7788,16 +8398,21 @@ body.modal-overlay-enabled:before { border-radius: 2px; background-color: #d9d9d9; } + .directorist-custom-range-slider-connect { background-color: var(--directorist-color-primary); } + +/* Handles and cursors; */ .directorist-custom-range-slider-draggable { cursor: ew-resize; } + .directorist-custom-range-slider-vertical .directorist-custom-range-slider-draggable { cursor: ns-resize; } + .directorist-custom-range-slider-handle { border: 1px solid #d9d9d9; border-radius: 3px; @@ -7812,6 +8427,7 @@ body.modal-overlay-enabled:before { inset 0 1px 7px #ebebeb, 0 3px 6px -3px #bbb; } + .directorist-custom-range-slider-active { -webkit-box-shadow: inset 0 0 1px #fff, @@ -7822,40 +8438,57 @@ body.modal-overlay-enabled:before { inset 0 1px 7px #ddd, 0 3px 6px -3px #bbb; } + +/* Disabled state; */ [disabled] .directorist-custom-range-slider-connect { background-color: #b8b8b8; } + +[disabled].directorist-custom-range-slider-target, [disabled].directorist-custom-range-slider-handle, -[disabled] .directorist-custom-range-slider-handle, -[disabled].directorist-custom-range-slider-target { +[disabled] .directorist-custom-range-slider-handle { cursor: not-allowed; } + +/* Base; */ .directorist-custom-range-slider-pips, .directorist-custom-range-slider-pips * { -webkit-box-sizing: border-box; box-sizing: border-box; } + .directorist-custom-range-slider-pips { position: absolute; color: #999; } + +/* Values; */ .directorist-custom-range-slider-value { position: absolute; white-space: nowrap; text-align: center; } + .directorist-custom-range-slider-value-sub { color: #ccc; font-size: 10px; } + +/* Markings; */ .directorist-custom-range-slider-marker { position: absolute; background-color: #ccc; } -.directorist-custom-range-slider-marker-large, + .directorist-custom-range-slider-marker-sub { background-color: #aaa; } + +.directorist-custom-range-slider-marker-large { + background-color: #aaa; +} + +/* Horizontal layout; */ .directorist-custom-range-slider-pips-horizontal { padding: 10px 0; height: 80px; @@ -7863,15 +8496,18 @@ body.modal-overlay-enabled:before { right: 0; width: 100%; } + .directorist-custom-range-slider-value-horizontal { -webkit-transform: translate(50%, 50%); transform: translate(50%, 50%); } + .directorist-custom-range-slider-rtl .directorist-custom-range-slider-value-horizontal { -webkit-transform: translate(-50%, 50%); transform: translate(-50%, 50%); } + .directorist-custom-range-slider-marker-horizontal.directorist-custom-range-slider-marker { margin-right: -1px; width: 2px; @@ -7883,22 +8519,27 @@ body.modal-overlay-enabled:before { .directorist-custom-range-slider-marker-horizontal.directorist-custom-range-slider-marker-large { height: 15px; } + +/* Vertical layout; */ .directorist-custom-range-slider-pips-vertical { padding: 0 10px; height: 100%; top: 0; right: 100%; } + .directorist-custom-range-slider-value-vertical { - -webkit-transform: translateY(-50%); - transform: translateY(-50%); + -webkit-transform: translate(0, -50%); + transform: translate(0, -50%); padding-right: 25px; } + .directorist-custom-range-slider-rtl .directorist-custom-range-slider-value-vertical { - -webkit-transform: translateY(50%); - transform: translateY(50%); + -webkit-transform: translate(0, 50%); + transform: translate(0, 50%); } + .directorist-custom-range-slider-marker-vertical.directorist-custom-range-slider-marker { width: 5px; height: 2px; @@ -7910,6 +8551,7 @@ body.modal-overlay-enabled:before { .directorist-custom-range-slider-marker-vertical.directorist-custom-range-slider-marker-large { width: 15px; } + .directorist-custom-range-slider-tooltip { display: block; position: absolute; @@ -7921,36 +8563,39 @@ body.modal-overlay-enabled:before { text-align: center; white-space: nowrap; } + .directorist-custom-range-slider-horizontal .directorist-custom-range-slider-tooltip { - -webkit-transform: translate(50%); - transform: translate(50%); + -webkit-transform: translate(50%, 0); + transform: translate(50%, 0); right: 50%; bottom: 120%; } .directorist-custom-range-slider-horizontal .directorist-custom-range-slider-origin > .directorist-custom-range-slider-tooltip { - -webkit-transform: translate(-50%); - transform: translate(-50%); + -webkit-transform: translate(-50%, 0); + transform: translate(-50%, 0); right: auto; bottom: 10px; } + .directorist-custom-range-slider-vertical .directorist-custom-range-slider-tooltip { - -webkit-transform: translateY(-50%); - transform: translateY(-50%); + -webkit-transform: translate(0, -50%); + transform: translate(0, -50%); top: 50%; left: 120%; } .directorist-custom-range-slider-vertical .directorist-custom-range-slider-origin > .directorist-custom-range-slider-tooltip { - -webkit-transform: translateY(-18px); - transform: translateY(-18px); + -webkit-transform: translate(0, -18px); + transform: translate(0, -18px); top: auto; left: 28px; } + .directorist-swiper { height: 100%; overflow: hidden; @@ -7962,8 +8607,8 @@ body.modal-overlay-enabled:before { display: -ms-flexbox; display: flex; } -.directorist-swiper .swiper-slide > a, -.directorist-swiper .swiper-slide > div { +.directorist-swiper .swiper-slide > div, +.directorist-swiper .swiper-slide > a { width: 100%; height: 100%; } @@ -7975,9 +8620,6 @@ body.modal-overlay-enabled:before { z-index: 1; opacity: 0; cursor: pointer; -} -.directorist-swiper__nav, -.directorist-swiper__nav i { -webkit-transition: all 0.3s ease; transition: all 0.3s ease; } @@ -7997,7 +8639,9 @@ body.modal-overlay-enabled:before { -ms-flex-pack: center; justify-content: center; border-radius: 100%; - background-color: hsla(0, 0%, 100%, 0.9); + -webkit-transition: all 0.3s ease; + transition: all 0.3s ease; + background-color: rgba(255, 255, 255, 0.9); } .directorist-swiper__nav .directorist-icon-mask:after { width: 10px; @@ -8066,6 +8710,7 @@ body.modal-overlay-enabled:before { .directorist-swiper__nav { opacity: 1; } + .directorist-single-listing-slider { width: var(--gallery-crop-width, 740px); height: var(--gallery-crop-height, 580px); @@ -8137,6 +8782,7 @@ body.modal-overlay-enabled:before { .directorist-swiper__pagination { display: none; } + .directorist-single-listing-slider-thumb { width: var(--gallery-crop-width, 740px); max-width: 100%; @@ -8163,7 +8809,9 @@ body.modal-overlay-enabled:before { gap: 10px; } } -.directorist-single-listing-slider-thumb .directorist-swiper__navigation, +.directorist-single-listing-slider-thumb .directorist-swiper__navigation { + display: none; +} .directorist-single-listing-slider-thumb .directorist-swiper__pagination { display: none; } @@ -8218,9 +8866,9 @@ body.modal-overlay-enabled:before { border-radius: 8px; } } +.directorist-single-listing-slider-thumb .swiper-slide:hover:before, .directorist-single-listing-slider-thumb - .swiper-slide.swiper-slide-thumb-active:before, -.directorist-single-listing-slider-thumb .swiper-slide:hover:before { + .swiper-slide.swiper-slide-thumb-active:before { opacity: 1; visibility: visible; } @@ -8229,6 +8877,7 @@ body.modal-overlay-enabled:before { display: none; } } + .directorist-swiper-related-listing.directorist-swiper { padding: 15px; margin: -15px; @@ -8251,12 +8900,13 @@ body.modal-overlay-enabled:before { .directorist-swiper-related-listing.directorist-swiper .swiper-wrapper { height: auto; } -.directorist-swiper-related-listing.slider-has-less-items - > .directorist-swiper__navigation, .directorist-swiper-related-listing.slider-has-one-item + > .directorist-swiper__navigation, +.directorist-swiper-related-listing.slider-has-less-items > .directorist-swiper__navigation { display: none; } + .directorist-dropdown { position: relative; } @@ -8291,8 +8941,8 @@ body.modal-overlay-enabled:before { } .directorist-dropdown__toggle.directorist-toggle-has-icon:after { content: ""; - -webkit-mask-image: url(../images/05feea3d261c8b97573023a74fd26f03.svg); - mask-image: url(../images/05feea3d261c8b97573023a74fd26f03.svg); + -webkit-mask-image: url(../js/../images/05feea3d261c8b97573023a74fd26f03.svg); + mask-image: url(../js/../images/05feea3d261c8b97573023a74fd26f03.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 12px; @@ -8317,6 +8967,7 @@ body.modal-overlay-enabled:before { z-index: 99999; } .directorist-dropdown__links a { + display: block; font-size: 14px; font-weight: 400; display: block; @@ -8324,8 +8975,8 @@ body.modal-overlay-enabled:before { border-radius: 8px; text-decoration: none !important; color: var(--directorist-color-body); - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } .directorist-dropdown__links a.active, .directorist-dropdown__links a:hover { @@ -8352,9 +9003,12 @@ body.modal-overlay-enabled:before { border-radius: 8px; border: 2px solid var(--directorist-color-white); } + +/* custom dropdown with select */ .directorist-dropdown-select { position: relative; } + .directorist-dropdown-select-toggle { display: inline-block; border: 1px solid #eee; @@ -8369,6 +9023,7 @@ body.modal-overlay-enabled:before { right: 0; top: 0; } + .directorist-dropdown-select-items { position: absolute; width: 100%; @@ -8383,15 +9038,18 @@ body.modal-overlay-enabled:before { background-color: var(--directorist-color-white); z-index: 10; } + .directorist-dropdown-select-items.directorist-dropdown-select-show { top: 30px; visibility: visible; opacity: 1; pointer-events: all; } + .directorist-dropdown-select-item { display: block; } + .directorist-switch { position: relative; display: block; @@ -8478,31 +9136,33 @@ body.modal-overlay-enabled:before { -webkit-transform 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; } + .directorist-switch.directorist-switch-primary .directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-primary); } .directorist-switch.directorist-switch-success.directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-success); } .directorist-switch.directorist-switch-secondary.directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-secondary); } .directorist-switch.directorist-switch-danger.directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-danger); } .directorist-switch.directorist-switch-warning.directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-warning); } .directorist-switch.directorist-switch-info.directorist-switch-input:checked - + .directorist-switch-label:before { + + .directorist-switch-label::before { background-color: var(--directorist-color-info); } + .directorist-switch-Yn { font-size: 15px; padding: 3px; @@ -8530,7 +9190,6 @@ body.modal-overlay-enabled:before { background-color: #3e62f5; color: var(--directorist-color-white); } -.directorist-switch-Yn input[type="checkbox"] .directorist-switch-yes, .directorist-switch-Yn input[type="checkbox"]:checked + span @@ -8538,6 +9197,10 @@ body.modal-overlay-enabled:before { background-color: transparent; color: #9b9eaf; } +.directorist-switch-Yn input[type="checkbox"] .directorist-switch-yes { + background-color: transparent; + color: #9b9eaf; +} .directorist-switch-Yn input[type="checkbox"] + span + .directorist-switch-no { background-color: #fb6665; color: var(--directorist-color-white); @@ -8548,6 +9211,8 @@ body.modal-overlay-enabled:before { .directorist-switch-Yn .directorist-switch-no { border-radius: 15px 0 0 15px; } + +/* Directorist Tooltip */ .directorist-tooltip { position: relative; } @@ -8563,8 +9228,8 @@ body.modal-overlay-enabled:before { top: 100%; margin-top: 8px; } -.directorist-tooltip[data-label]:after, -.directorist-tooltip[data-label]:before { +.directorist-tooltip[data-label]:before, +.directorist-tooltip[data-label]:after { position: absolute !important; bottom: 100%; display: none; @@ -8581,7 +9246,7 @@ body.modal-overlay-enabled:before { -webkit-transform: translateX(50%); transform: translateX(50%); border: 6px solid transparent; - border-top: 6px solid rgba(var(--directorist-color-dark-rgb), 1); + border-top-color: rgba(var(--directorist-color-dark-rgb), 1); } .directorist-tooltip[data-label]:after { font-size: 14px; @@ -8599,14 +9264,15 @@ body.modal-overlay-enabled:before { max-height: 200px; overflow-y: auto; } -.directorist-tooltip[data-label]:hover:after, -.directorist-tooltip[data-label]:hover:before { +.directorist-tooltip[data-label]:hover:before, +.directorist-tooltip[data-label]:hover:after { display: block; } .directorist-tooltip .directorist-tooltip__label { font-size: 16px; color: var(--directorist-color-primary); } + .directorist-tooltip.directorist-tooltip-primary[data-label]:after { background-color: var(--directorist-color-primary); } @@ -8661,16 +9327,19 @@ body.modal-overlay-enabled:before { .directorist-tooltip.directorist-tooltip-bottom.directorist-tooltip-danger[data-label]:before { border-bottom-color: var(--directorist-color-danger); } + @-webkit-keyframes showTooltip { - 0% { + from { opacity: 0; } } + @keyframes showTooltip { - 0% { + from { opacity: 0; } } +/* Alerts style */ .directorist-alert { font-size: 15px; word-break: break-word; @@ -8705,9 +9374,9 @@ body.modal-overlay-enabled:before { -ms-flex-align: start; align-items: flex-start; } -.directorist-alert__content i, +.directorist-alert__content span.la, .directorist-alert__content span.fa, -.directorist-alert__content span.la { +.directorist-alert__content i { margin-left: 12px; line-height: 1.65; } @@ -8720,7 +9389,7 @@ body.modal-overlay-enabled:before { background: none !important; text-decoration: none; margin-right: auto !important; - border: 0; + border: 0 none; -webkit-box-shadow: none; box-shadow: none; line-height: 1.2; @@ -8737,8 +9406,8 @@ body.modal-overlay-enabled:before { -ms-flex-pack: center; justify-content: center; } -.directorist-alert__close .fa, .directorist-alert__close .la, +.directorist-alert__close .fa, .directorist-alert__close i, .directorist-alert__close span { font-size: 16px; @@ -8752,6 +9421,7 @@ body.modal-overlay-enabled:before { .directorist-alert a { text-decoration: none; } + .directorist-alert.directorist-alert-primary { background: rgba(var(--directorist-color-primary-rgb), 0.1); color: var(--directorist-color-primary); @@ -8790,6 +9460,7 @@ body.modal-overlay-enabled:before { .directorist-alert--sm { padding: 10px 20px; } + .alert-danger { background: rgba(232, 0, 0, 0.3); } @@ -8801,6 +9472,8 @@ body.modal-overlay-enabled:before { .alert-danger.directorist-register-error .directorist-alert__close { color: #e80000; } + +/* Add listing notice alert */ .directorist-single-listing-notice .directorist-alert__content { -webkit-box-pack: justify; -webkit-justify-content: space-between; @@ -8814,6 +9487,7 @@ body.modal-overlay-enabled:before { .directorist-single-listing-notice .directorist-alert__content button span { font-size: 20px; } + .directorist-user-dashboard .directorist-container-fluid { -webkit-box-sizing: border-box; box-sizing: border-box; @@ -8822,6 +9496,8 @@ body.modal-overlay-enabled:before { cursor: pointer; padding-left: 0; } + +/* Modal Core Styles */ .directorist-modal { position: fixed; width: 100%; @@ -8834,6 +9510,7 @@ body.modal-overlay-enabled:before { overflow: auto; outline: 0; } + .directorist-modal__dialog { position: relative; width: 500px; @@ -8857,9 +9534,11 @@ body.modal-overlay-enabled:before { min-height: calc(100% - 80px); pointer-events: none; } + .directorist-modal__dialog-lg { width: 900px; } + .directorist-modal__content { width: 100%; background-color: var(--directorist-color-white); @@ -8902,8 +9581,8 @@ body.modal-overlay-enabled:before { line-height: 1.45; padding: 6px; text-decoration: none; - -webkit-transition: background-color 0.2s ease-in-out; - transition: background-color 0.2s ease-in-out; + -webkit-transition: 0.2s background-color ease-in-out; + transition: 0.2s background-color ease-in-out; background-color: var(--directorist-color-bg-light); } .directorist-modal__content @@ -8950,15 +9629,19 @@ body.modal-overlay-enabled:before { .directorist-form-element { resize: none; } + .directorist-modal__dialog.directorist-modal--lg { width: 800px; } + .directorist-modal__dialog.directorist-modal--xl { width: 1140px; } + .directorist-modal__dialog.directorist-modal--sm { width: 300px; } + .directorist-modal.directorist-fade { -webkit-transition: 0.3s ease; transition: 0.3s ease; @@ -8966,16 +9649,19 @@ body.modal-overlay-enabled:before { visibility: visible; z-index: 9999; } + .directorist-modal.directorist-fade:not(.directorist-show) { opacity: 0; visibility: hidden; } + .directorist-modal.directorist-show .directorist-modal__dialog { opacity: 1; visibility: visible; -webkit-transition: 0.3s ease; transition: 0.3s ease; } + .directorist-search-modal__overlay { position: fixed; top: 0; @@ -8995,8 +9681,8 @@ body.modal-overlay-enabled:before { height: 100%; background: rgba(var(--directorist-color-dark-rgb), 0.5); opacity: 1; - -webkit-transition: all 0.4s ease; - transition: all 0.4s ease; + -webkit-transition: all ease 0.4s; + transition: all ease 0.4s; } .directorist-search-modal__contents { position: fixed; @@ -9012,8 +9698,8 @@ body.modal-overlay-enabled:before { visibility: hidden; z-index: 9999; border-radius: 12px; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; background-color: var(--directorist-color-white); } @media only screen and (max-width: 575px) { @@ -9157,10 +9843,10 @@ body.modal-overlay-enabled:before { .directorist-search-field__input.directorist-form-element[type="date"], .directorist-search-modal__contents__body .directorist-search-field - .directorist-search-field__input.directorist-form-element[type="number"], + .directorist-search-field__input.directorist-form-element[type="time"], .directorist-search-modal__contents__body .directorist-search-field - .directorist-search-field__input.directorist-form-element[type="time"] { + .directorist-search-field__input.directorist-form-element[type="number"] { padding-left: 0; } .directorist-search-modal__contents__body .directorist-search-field__btn { @@ -9176,7 +9862,7 @@ body.modal-overlay-enabled:before { } .directorist-search-modal__contents__body .directorist-search-field__btn--clear - i:after { + i::after { width: 16px; height: 16px; background-color: #bcbcbc; @@ -9185,7 +9871,7 @@ body.modal-overlay-enabled:before { } .directorist-search-modal__contents__body .directorist-search-field__btn--clear:hover - i:after { + i::after { background-color: var(--directorist-color-primary); } .directorist-search-modal__contents__body @@ -9197,7 +9883,9 @@ body.modal-overlay-enabled:before { } .directorist-search-modal__contents__body .directorist-search-field.input-is-focused - .directorist-search-field__input[type="date"], + .directorist-search-field__input[type="date"] { + padding-left: 20px; +} .directorist-search-modal__contents__body .directorist-search-field.input-is-focused .directorist-search-field__input[type="time"] { @@ -9247,10 +9935,10 @@ body.modal-overlay-enabled:before { } .directorist-search-modal__contents__body .directorist-search-field.input-is-focused - .directorist-search-field__input, + .directorist-select, .directorist-search-modal__contents__body .directorist-search-field.input-is-focused - .directorist-select { + .directorist-search-field__input { position: relative; bottom: -5px; } @@ -9316,7 +10004,7 @@ body.modal-overlay-enabled:before { .directorist-search-field .directorist-filter-location-icon .directorist-icon-mask:after { - background-color: grey; + background-color: #808080; } .directorist-search-modal__contents__body .directorist-search-field @@ -9343,7 +10031,7 @@ body.modal-overlay-enabled:before { .directorist-icon-mask:after { width: 12px; height: 12px; - background-color: grey; + background-color: #808080; } .directorist-search-modal__contents__body .directorist-search-form-dropdown { border-bottom: 1px solid var(--directorist-color-border); @@ -9454,14 +10142,14 @@ body.modal-overlay-enabled:before { border: none; cursor: pointer; } -.directorist-search-modal__contents__btn i:after { +.directorist-search-modal__contents__btn i::after { width: 10px; height: 10px; - -webkit-transition: background-color 0.3s ease; - transition: background-color 0.3s ease; + -webkit-transition: background-color ease 0.3s; + transition: background-color ease 0.3s; background-color: var(--directorist-color-dark); } -.directorist-search-modal__contents__btn:hover i:after { +.directorist-search-modal__contents__btn:hover i::after { background-color: var(--directorist-color-danger); } @media only screen and (max-width: 575px) { @@ -9470,7 +10158,7 @@ body.modal-overlay-enabled:before { height: auto; background: transparent; } - .directorist-search-modal__contents__btn i:after { + .directorist-search-modal__contents__btn i::after { width: 12px; height: 12px; } @@ -9533,8 +10221,8 @@ body.modal-overlay-enabled:before { top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; width: 16px; height: 16px; -webkit-mask-position: center; @@ -9542,8 +10230,8 @@ body.modal-overlay-enabled:before { -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; background-color: var(--directorist-color-body); - -webkit-mask-image: url(../images/9ddfe727fdcddbb985d69ce2e9a06358.svg); - mask-image: url(../images/9ddfe727fdcddbb985d69ce2e9a06358.svg); + -webkit-mask-image: url(../js/../images/9ddfe727fdcddbb985d69ce2e9a06358.svg); + mask-image: url(../js/../images/9ddfe727fdcddbb985d69ce2e9a06358.svg); } .directorist-search-modal--basic .directorist-search-form-action__modal__btn-search { @@ -9553,7 +10241,7 @@ body.modal-overlay-enabled:before { } .directorist-search-modal--basic .directorist-search-form-action__modal__btn-search - i:after { + i::after { background-color: currentColor; } @media screen and (max-width: 575px) { @@ -9585,8 +10273,8 @@ body.modal-overlay-enabled:before { mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; - -webkit-mask-image: url(../images/447c512963a6e865700c065e70bb46b7.svg); - mask-image: url(../images/447c512963a6e865700c065e70bb46b7.svg); + -webkit-mask-image: url(../js/../images/447c512963a6e865700c065e70bb46b7.svg); + mask-image: url(../js/../images/447c512963a6e865700c065e70bb46b7.svg); opacity: 0; } .directorist-search-modal--basic @@ -9650,11 +10338,11 @@ body.modal-overlay-enabled:before { .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field - .directorist-search-field__input, + .directorist-select, .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field - .directorist-select { + .directorist-search-field__input { width: 100%; padding-left: 0; } @@ -9779,23 +10467,23 @@ body.modal-overlay-enabled:before { .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field.input-is-focused:not(.input-has-noLabel) - .directorist-filter-location-icon + .directorist-select ~ .directorist-search-field__btn--clear, .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field.input-is-focused:not(.input-has-noLabel) - .directorist-select + .directorist-filter-location-icon ~ .directorist-search-field__btn--clear { left: 5px !important; } .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field.input-is-focused:not(.input-has-noLabel) - .directorist-search-field__input, + .directorist-select, .directorist-search-modal--basic .directorist-search-modal__input .directorist-search-field.input-is-focused:not(.input-has-noLabel) - .directorist-select { + .directorist-search-field__input { padding-left: 0; } .directorist-search-modal--basic @@ -9864,32 +10552,32 @@ body.modal-overlay-enabled:before { } .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-has-value, + .directorist-search-field.input-is-focused, .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-is-focused { + .directorist-search-field.input-has-value { padding-left: 0; } .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-has-value + .directorist-search-field.input-is-focused .directorist-select, .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-is-focused + .directorist-search-field.input-has-value .directorist-select { width: 100%; } .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-has-value + .directorist-search-field.input-is-focused .directorist-select .select2-container .directorist-select2-addons-area .directorist-select2-dropdown-toggle, .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-is-focused + .directorist-search-field.input-has-value .directorist-select .select2-container .directorist-select2-addons-area @@ -9898,12 +10586,12 @@ body.modal-overlay-enabled:before { } .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-has-value + .directorist-search-field.input-is-focused .directorist-select ~ .directorist-search-field__btn--clear, .directorist-search-modal--basic .directorist-search-modal__input - .directorist-search-field.input-is-focused + .directorist-search-field.input-has-value .directorist-select ~ .directorist-search-field__btn--clear { left: 20px !important; @@ -9921,10 +10609,10 @@ body.modal-overlay-enabled:before { .directorist-search-modal--basic .open_now > label { display: none; } +.directorist-search-modal--basic .open_now .check-btn, .directorist-search-modal--basic .directorist-search-modal__input - .directorist-price-ranges, -.directorist-search-modal--basic .open_now .check-btn { + .directorist-price-ranges { padding: 10px 0; } .directorist-search-modal--basic @@ -9976,13 +10664,13 @@ body.modal-overlay-enabled:before { display: -ms-flexbox; display: flex; } -.directorist-search-modal--basic .directorist-search-field-price_range > label, .directorist-search-modal--basic .directorist-search-field-pricing > label, +.directorist-search-modal--basic .directorist-search-field__number > label, +.directorist-search-modal--basic .directorist-search-field-text_range > label, +.directorist-search-modal--basic .directorist-search-field-price_range > label, .directorist-search-modal--basic .directorist-search-field-radius_search - > label, -.directorist-search-modal--basic .directorist-search-field-text_range > label, -.directorist-search-modal--basic .directorist-search-field__number > label { + > label { position: unset; -webkit-transform: unset; transform: unset; @@ -10056,8 +10744,10 @@ body.modal-overlay-enabled:before { opacity: 1; } .directorist-search-modal--full .directorist-search-field-pricing > label, -.directorist-search-modal--full .directorist-search-field-radius_search > label, -.directorist-search-modal--full .directorist-search-field-text_range > label { +.directorist-search-modal--full .directorist-search-field-text_range > label, +.directorist-search-modal--full + .directorist-search-field-radius_search + > label { display: block; font-size: 16px; font-weight: 500; @@ -10076,8 +10766,8 @@ body.modal-overlay-enabled:before { border-radius: 8px; min-height: 40px; margin: 0 0 15px; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } .directorist-search-modal__input .directorist-select { display: -webkit-inline-box; @@ -10092,32 +10782,32 @@ body.modal-overlay-enabled:before { -ms-flex: 1; flex: 1; } +.directorist-search-modal__input .select2.select2-container .select2-selection, .directorist-search-modal__input .directorist-form-group .directorist-form-element, .directorist-search-modal__input .directorist-form-group - .directorist-form-element:focus, -.directorist-search-modal__input .select2.select2-container .select2-selection { - border: 0; + .directorist-form-element:focus { + border: 0 none; } .directorist-search-modal__input__btn { width: 0; padding: 0 10px; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } -.directorist-search-modal__input__btn .directorist-icon-mask:after { +.directorist-search-modal__input__btn .directorist-icon-mask::after { width: 14px; height: 14px; opacity: 0; visibility: hidden; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; background-color: var(--directorist-color-body); } .directorist-search-modal__input - .input-is-focused.directorist-search-query:after { + .input-is-focused.directorist-search-query::after { display: none; } .directorist-search-modal__input @@ -10323,7 +11013,7 @@ body.modal-overlay-enabled:before { i:after { width: 12px; height: 12px; - background-color: grey; + background-color: #808080; } @media screen and (max-width: 575px) { .directorist-search-modal @@ -10377,11 +11067,11 @@ body.modal-overlay-enabled:before { .directorist-search-modal .directorist-search-basic-dropdown .directorist-search-basic-dropdown-content - .directorist-checkbox-wrapper, + .directorist-radio-wrapper, .directorist-search-modal .directorist-search-basic-dropdown .directorist-search-basic-dropdown-content - .directorist-radio-wrapper { + .directorist-checkbox-wrapper { -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; @@ -10395,6 +11085,7 @@ body.modal-overlay-enabled:before { .select2-selection__placeholder { color: var(--directorist-color-dark); } + .directorist-content-active.directorist-overlay-active { overflow: hidden; } @@ -10402,15 +11093,54 @@ body.modal-overlay-enabled:before { .directorist-search-modal__input .select2.select2-container .select2-selection { - border: 0 !important; + border: 0 none !important; +} + +/* Responsive CSS */ +/* Large devices (desktops, 992px and up) */ +@media (min-width: 992px) and (max-width: 1199.98px) { + .at-modal-content.at-modal-xl, + .at-modal-content.at-modal-lg, + .at-modal-content.at-modal-md, + .at-modal-content.at-modal-sm { + width: calc(100% - 60px); + } +} +/* Medium devices (tablets, 768px and up) */ +@media (min-width: 768px) and (max-width: 991.98px) { + .at-modal-content.at-modal-xl, + .at-modal-content.at-modal-lg, + .at-modal-content.at-modal-md, + .at-modal-content.at-modal-sm { + width: calc(100% - 60px); + } +} +/* Small devices (landscape phones, 576px and up) */ +@media (min-width: 576px) and (max-width: 767.98px) { + .at-modal-content.at-modal-xl, + .at-modal-content.at-modal-lg, + .at-modal-content.at-modal-md, + .at-modal-content.at-modal-sm { + width: calc(100% - 60px); + } +} +/* Extra small devices (portrait phones, less than 576px) */ +@media (max-width: 575.98px) { + .at-modal-content.at-modal-xl, + .at-modal-content.at-modal-lg, + .at-modal-content.at-modal-md, + .at-modal-content.at-modal-sm { + width: calc(100% - 30px); + } } input:-webkit-autofill, -input:-webkit-autofill:active, +input:-webkit-autofill:hover, input:-webkit-autofill:focus, -input:-webkit-autofill:hover { +input:-webkit-autofill:active { -webkit-transition: background-color 5000s ease-in-out 0s !important; transition: background-color 5000s ease-in-out 0s !important; } + .directorist-content-active .directorist-card { border: none; padding: 0; @@ -10473,6 +11203,7 @@ input:-webkit-autofill:hover { .directorist-content-active .directorist-card__body p:empty { display: none; } + .directorist-color-picker-wrap .wp-color-result { text-decoration: none; margin: 0 0 0 6px !important; @@ -10496,6 +11227,7 @@ input:-webkit-autofill:hover { font-weight: 500; line-height: 2.4; } + .directorist-form-group { position: relative; width: 100%; @@ -10555,12 +11287,14 @@ input:-webkit-autofill:hover { -ms-flex-order: 2; order: 2; } + .directorist-advanced-filter__advanced__element .directorist-search-field.input-is-focused .directorist-form-group__with-prefix .directorist-search-field__input { padding-left: 0 !important; } + .directorist-form-group label { margin: 0; font-size: 14px; @@ -10596,6 +11330,7 @@ input:-webkit-autofill:hover { margin-top: 10px; color: var(--directorist-color-deep-gray); } + .directorist-form-element.directorist-form-element-lg { height: 50px; } @@ -10610,6 +11345,7 @@ input:-webkit-autofill:hover { height: 30px; line-height: 30px; } + .directorist-form-group.directorist-icon-left .directorist-input-icon { right: 0; } @@ -10651,12 +11387,15 @@ input:-webkit-autofill:hover { margin-top: 0; } } + .directorist-label { margin-bottom: 0; } + input.directorist-toggle-input { display: none; } + .directorist-toggle-input-label { display: -webkit-box; display: -webkit-flex; @@ -10671,6 +11410,7 @@ input.directorist-toggle-input { -ms-flex-pack: justify; justify-content: space-between; } + span.directorist-toggle-input-label-text { -webkit-box-flex: 1; -webkit-flex-grow: 1; @@ -10678,45 +11418,51 @@ span.directorist-toggle-input-label-text { flex-grow: 1; padding-left: 10px; } + span.directorist-toggle-input-label-icon { position: relative; + display: inline-block; width: 50px; height: 25px; border-radius: 30px; background-color: #d9d9d9; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } -span.directorist-toggle-input-label-icon, -span.directorist-toggle-input-label-icon:after { - display: inline-block; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; -} -span.directorist-toggle-input-label-icon:after { + +span.directorist-toggle-input-label-icon::after { content: ""; position: absolute; + display: inline-block; width: 15px; height: 15px; border-radius: 50%; background-color: var(--directorist-color-white); top: 50%; - -webkit-transform: translateY(-50%); - transform: translateY(-50%); + -webkit-transform: translate(0, -50%); + transform: translate(0, -50%); + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } + input.directorist-toggle-input:checked + .directorist-toggle-input-label span.directorist-toggle-input-label-icon { background-color: #4353ff; } + input.directorist-toggle-input:not(:checked) + .directorist-toggle-input-label - span.directorist-toggle-input-label-icon:after { + span.directorist-toggle-input-label-icon::after { right: 5px; } + input.directorist-toggle-input:checked + .directorist-toggle-input-label - span.directorist-toggle-input-label-icon:after { + span.directorist-toggle-input-label-icon::after { right: calc(100% - 20px); } + .directorist-tab-navigation { padding: 0; margin: 0 -10px 20px; @@ -10733,6 +11479,7 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; } + .directorist-tab-navigation-list-item { position: relative; list-style: none; @@ -10753,7 +11500,7 @@ input.directorist-toggle-input:checked color: var(--directorist-color-white); background-color: var(--directorist-color-primary); } -.directorist-tab-navigation-list-item.--is-active:after { +.directorist-tab-navigation-list-item.--is-active::after { content: ""; position: absolute; right: 50%; @@ -10763,13 +11510,14 @@ input.directorist-toggle-input:checked border-right: 10px solid transparent; border-left: 10px solid transparent; border-top: 10px solid var(--directorist-color-primary); - -webkit-transform: translate(50%); - transform: translate(50%); + -webkit-transform: translate(50%, 0); + transform: translate(50%, 0); } .directorist-tab-navigation-list-item .directorist-tab-navigation-list-item-link { margin: -15px -20px; } + .directorist-tab-navigation-list-item-link { position: relative; display: block; @@ -10780,8 +11528,8 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-bg-light); } .directorist-tab-navigation-list-item-link:active, -.directorist-tab-navigation-list-item-link:focus, -.directorist-tab-navigation-list-item-link:visited { +.directorist-tab-navigation-list-item-link:visited, +.directorist-tab-navigation-list-item-link:focus { outline: none; -webkit-box-shadow: none; box-shadow: none; @@ -10792,7 +11540,7 @@ input.directorist-toggle-input:checked color: var(--directorist-color-white); background-color: var(--directorist-color-primary); } -.directorist-tab-navigation-list-item-link.--is-active:after { +.directorist-tab-navigation-list-item-link.--is-active::after { content: ""; position: absolute; right: 50%; @@ -10802,34 +11550,47 @@ input.directorist-toggle-input:checked border-right: 10px solid transparent; border-left: 10px solid transparent; border-top: 10px solid var(--directorist-color-primary); - -webkit-transform: translate(50%); - transform: translate(50%); + -webkit-transform: translate(50%, 0); + transform: translate(50%, 0); } + .directorist-tab-content { display: none; } .directorist-tab-content.--is-active { display: block; } + .directorist-headline-4 { - margin: 0 0 15px; + margin: 0 0 15px 0; font-size: 15px; - font-weight: 400; + font-weight: normal; } + .directorist-label-addon-prepend { margin-left: 10px; } + .--is-hidden { display: none; } + .directorist-flex-center { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; } + .directorist-checkbox, -.directorist-flex-center, .directorist-radio { display: -webkit-box; display: -webkit-flex; @@ -11023,6 +11784,7 @@ input.directorist-toggle-input:checked opacity: 1; visibility: visible; } + .directorist-checkbox input[type="checkbox"] + .directorist-checkbox__label:before { @@ -11030,8 +11792,8 @@ input.directorist-toggle-input:checked right: 5px; top: 5px; content: ""; - -webkit-mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); - mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); + -webkit-mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); + mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 10px; @@ -11051,6 +11813,7 @@ input.directorist-toggle-input:checked right: 3px; } } + .directorist-radio input[type="radio"] + .directorist-radio__label:before { position: absolute; right: 5px; @@ -11059,7 +11822,7 @@ input.directorist-toggle-input:checked height: 8px; border-radius: 50%; background-color: var(--directorist-color-white); - border: 0; + border: 0 none; opacity: 0; visibility: hidden; z-index: 2; @@ -11081,14 +11844,15 @@ input.directorist-toggle-input:checked .directorist-radio.directorist-radio-circle input[type="radio"] + .directorist-radio__label:before { - -webkit-mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); - mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); + -webkit-mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); + mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 10px; height: 10px; background-color: var(--directorist-color-white); } + .directorist-checkbox.directorist-checkbox-circle input[type="checkbox"] + .directorist-checkbox__label:after, @@ -11115,6 +11879,7 @@ input.directorist-toggle-input:checked + .directorist-radio__label:after { border-radius: 50%; } + .directorist-checkbox.directorist-checkbox-primary input[type="checkbox"]:checked + .directorist-checkbox__label:after, @@ -11175,6 +11940,7 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-primary); border-color: var(--directorist-color-primary); } + .directorist-radio.directorist-radio-primary input[type="radio"]:checked + .directorist-radio__label:after { @@ -11208,6 +11974,7 @@ input.directorist-toggle-input:checked + .directorist-radio__label:before { background-color: #3e62f5 !important; } + .directorist-checkbox-rating { gap: 20px; width: 100%; @@ -11243,6 +12010,7 @@ input.directorist-toggle-input:checked height: 14px; margin-top: 1px; } + .directorist-radio.directorist-radio-theme-admin input[type="radio"] + .directorist-radio__label:before { @@ -11270,6 +12038,7 @@ input.directorist-toggle-input:checked .directorist-radio.directorist-radio-theme-admin .directorist-radio__label { padding-right: 35px !important; } + .directorist-checkbox.directorist-checkbox-theme-admin input[type="checkbox"] + .directorist-checkbox__label:before { @@ -11300,6 +12069,7 @@ input.directorist-toggle-input:checked .directorist-checkbox__label { padding-right: 35px !important; } + .directorist-content-active { -webkit-box-sizing: border-box; box-sizing: border-box; @@ -11436,13 +12206,6 @@ input.directorist-toggle-input:checked } } .directorist-content-active .directorist-author-profile__meta-list__item { - gap: 15px; - margin: 0; - padding: 18px 18px 18px 75px; - background-color: var(--directorist-color-bg-gray); -} -.directorist-content-active .directorist-author-profile__meta-list__item, -.directorist-content-active .directorist-author-profile__meta-list__item i { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -11451,9 +12214,22 @@ input.directorist-toggle-input:checked -webkit-align-items: center; -ms-flex-align: center; align-items: center; + gap: 15px; + padding: 18px; + margin: 0; + padding-left: 75px; border-radius: 10px; + background-color: var(--directorist-color-bg-gray); } .directorist-content-active .directorist-author-profile__meta-list__item i { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; @@ -11461,6 +12237,7 @@ input.directorist-toggle-input:checked width: 44px; height: 44px; background-color: var(--directorist-color-primary); + border-radius: 10px; } .directorist-content-active .directorist-author-profile__meta-list__item @@ -11675,7 +12452,7 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-author-info-list__item - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 15px; height: 15px; background-color: var(--directorist-color-deep-gray); @@ -11753,8 +12530,8 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-author-social__item a - .directorist-icon-mask:after { - background-color: grey; + .directorist-icon-mask::after { + background-color: #808080; -webkit-transition: 0.3s ease; transition: 0.3s ease; } @@ -11768,11 +12545,14 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-author-social__item a:hover - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } -.directorist-content-active .directorist-author-social__item a:hover span.fa, -.directorist-content-active .directorist-author-social__item a:hover span.la { +.directorist-content-active .directorist-author-social__item a:hover { + /* Legacy Icon */ +} +.directorist-content-active .directorist-author-social__item a:hover span.la, +.directorist-content-active .directorist-author-social__item a:hover span.fa { background: none; color: var(--directorist-color-white); } @@ -11791,13 +12571,13 @@ input.directorist-toggle-input:checked .directorist-author-info-widget--light .directorist-author-social-item, .directorist-content-active - .directorist-author-social--light + .directorist-single-author-info--light .directorist-author-social-item, .directorist-content-active .directorist-authors-section--light .directorist-author-social-item, .directorist-content-active - .directorist-single-author-info--light + .directorist-author-social--light .directorist-author-social-item { display: inline-block; margin: 0; @@ -11807,7 +12587,7 @@ input.directorist-toggle-input:checked .directorist-author-social-item a, .directorist-content-active - .directorist-author-social--light + .directorist-single-author-info--light .directorist-author-social-item a, .directorist-content-active @@ -11815,7 +12595,7 @@ input.directorist-toggle-input:checked .directorist-author-social-item a, .directorist-content-active - .directorist-single-author-info--light + .directorist-author-social--light .directorist-author-social-item a { font-size: 15px; @@ -11840,8 +12620,8 @@ input.directorist-toggle-input:checked border-radius: 4px; color: var(--directorist-color-white); overflow: hidden; - -webkit-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; } .directorist-content-active .directorist-author-info-widget--light @@ -11849,7 +12629,7 @@ input.directorist-toggle-input:checked a .directorist-icon-mask:after, .directorist-content-active - .directorist-author-social--light + .directorist-single-author-info--light .directorist-author-social-item a .directorist-icon-mask:after, @@ -11859,7 +12639,7 @@ input.directorist-toggle-input:checked a .directorist-icon-mask:after, .directorist-content-active - .directorist-single-author-info--light + .directorist-author-social--light .directorist-author-social-item a .directorist-icon-mask:after { @@ -11870,7 +12650,7 @@ input.directorist-toggle-input:checked .directorist-author-social-item a:hover, .directorist-content-active - .directorist-author-social--light + .directorist-single-author-info--light .directorist-author-social-item a:hover, .directorist-content-active @@ -11878,7 +12658,7 @@ input.directorist-toggle-input:checked .directorist-author-social-item a:hover, .directorist-content-active - .directorist-single-author-info--light + .directorist-author-social--light .directorist-author-social-item a:hover { background-color: var(--directorist-color-primary); @@ -11889,7 +12669,7 @@ input.directorist-toggle-input:checked a:hover .directorist-icon-mask:after, .directorist-content-active - .directorist-author-social--light + .directorist-single-author-info--light .directorist-author-social-item a:hover .directorist-icon-mask:after, @@ -11899,7 +12679,7 @@ input.directorist-toggle-input:checked a:hover .directorist-icon-mask:after, .directorist-content-active - .directorist-single-author-info--light + .directorist-author-social--light .directorist-author-social-item a:hover .directorist-icon-mask:after { @@ -11989,7 +12769,7 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-author-listing-top .directorist-type-nav__link:hover - i:after { + i::after { background-color: var(--directorist-color-primary); } .directorist-content-active @@ -12015,7 +12795,7 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-author-listing-top .directorist-type-nav__list__current - i:after { + i::after { background-color: var(--directorist-color-primary); } .directorist-content-active @@ -12040,8 +12820,8 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-author-listing-top .directorist-dropdown__toggle:after { - -webkit-mask-image: url(../images/87cd0434594c4fe6756c2af1404a5f32.svg); - mask-image: url(../images/87cd0434594c4fe6756c2af1404a5f32.svg); + -webkit-mask-image: url(../js/../images/87cd0434594c4fe6756c2af1404a5f32.svg); + mask-image: url(../js/../images/87cd0434594c4fe6756c2af1404a5f32.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 16px; @@ -12071,6 +12851,8 @@ input.directorist-toggle-input:checked .directorist-type-nav { background: none; } + +/* category style three */ .directorist-category-child__card { border: 1px solid #eee; border-radius: 4px; @@ -12129,6 +12911,8 @@ input.directorist-toggle-input:checked .directorist-category-child__card__body li a span { color: var(--directorist-color-body); } + +/* All listing archive page styles */ .directorist-archive-contents { -webkit-box-sizing: border-box; box-sizing: border-box; @@ -12157,6 +12941,8 @@ input.directorist-toggle-input:checked display: none; } } + +/* Directory type nav */ .directorist-content-active .directorist-type-nav__link { position: relative; display: -webkit-box; @@ -12186,7 +12972,7 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-type-nav__link:hover - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-primary); } .directorist-content-active .directorist-type-nav__link:focus { @@ -12198,7 +12984,7 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-type-nav__link - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 22px; height: 20px; background-color: var(--directorist-color-body); @@ -12271,13 +13057,15 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-type-nav__list .current - .directorist-icon-mask:after, + .directorist-icon-mask::after, .directorist-content-active .directorist-type-nav__list .directorist-type-nav__list__current - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-primary); } + +/* Archive header bar contents */ .directorist-content-active .directorist-archive-contents__top .directorist-type-nav { @@ -12342,12 +13130,19 @@ input.directorist-toggle-input:checked color: var(--directorist-color-body); } .directorist-content-active .directorist-listings-header__left { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; gap: 15px; } -.directorist-content-active .directorist-listings-header__left, .directorist-content-active .directorist-listings-header__left .directorist-filter-btn { @@ -12359,10 +13154,6 @@ input.directorist-toggle-input:checked -webkit-align-items: center; -ms-flex-align: center; align-items: center; -} -.directorist-content-active - .directorist-listings-header__left - .directorist-filter-btn { gap: 5px; font-size: 14px; font-weight: 400; @@ -12372,13 +13163,13 @@ input.directorist-toggle-input:checked padding: 0 20px; border-radius: 8px; cursor: pointer; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + -webkit-transition: all ease 0.3s; + transition: all ease 0.3s; } .directorist-content-active .directorist-listings-header__left .directorist-filter-btn - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 14px; height: 14px; margin-left: 2px; @@ -12447,14 +13238,8 @@ input.directorist-toggle-input:checked .directorist-archive-notfound { padding: 15px; } + .directorist-viewas { - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - gap: 8px; -} -.directorist-viewas, -.directorist-viewas__item { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -12463,12 +13248,24 @@ input.directorist-toggle-input:checked -webkit-align-items: center; -ms-flex-align: center; align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + gap: 8px; } .directorist-viewas__item { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-box-sizing: border-box; box-sizing: border-box; width: 40px; @@ -12478,7 +13275,7 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-light); color: var(--directorist-color-body); } -.directorist-viewas__item i:after { +.directorist-viewas__item i::after { width: 16px; height: 16px; background-color: var(--directorist-color-body); @@ -12487,7 +13284,7 @@ input.directorist-toggle-input:checked border-color: var(--directorist-color-primary); background-color: var(--directorist-color-primary); } -.directorist-viewas__item.active i:after { +.directorist-viewas__item.active i::after { background-color: var(--directorist-color-white); } @media only screen and (max-width: 575px) { @@ -12495,6 +13292,7 @@ input.directorist-toggle-input:checked display: none; } } + .listing-with-sidebar { display: -webkit-box; display: -webkit-flex; @@ -12621,13 +13419,13 @@ input.directorist-toggle-input:checked .directorist-search-field__input { bottom: 0; } -.listing-with-sidebar__searchform .directorist-search-field-price_range > label, .listing-with-sidebar__searchform .directorist-search-field-pricing > label, +.listing-with-sidebar__searchform .directorist-search-field__number > label, +.listing-with-sidebar__searchform .directorist-search-field-text_range > label, +.listing-with-sidebar__searchform .directorist-search-field-price_range > label, .listing-with-sidebar__searchform .directorist-search-field-radius_search - > label, -.listing-with-sidebar__searchform .directorist-search-field-text_range > label, -.listing-with-sidebar__searchform .directorist-search-field__number > label { + > label { position: unset; -webkit-transform: unset; transform: unset; @@ -12649,6 +13447,7 @@ input.directorist-toggle-input:checked } .listing-with-sidebar__header .directorist-archive-sidebar-toggle { width: auto; + padding: 0 20px; font-size: 14px; font-weight: 400; min-height: 40px; @@ -12669,7 +13468,7 @@ input.directorist-toggle-input:checked } .listing-with-sidebar__header .directorist-archive-sidebar-toggle - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: currentColor; width: 14px; height: 14px; @@ -12692,7 +13491,7 @@ input.directorist-toggle-input:checked } .listing-with-sidebar__header .directorist-archive-sidebar-toggle--active - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .listing-with-sidebar__sidebar { @@ -12725,7 +13524,7 @@ input.directorist-toggle-input:checked right: -360px; top: 0; height: 100svh; - background-color: #fff; + background-color: white; z-index: 9999; overflow: auto; -webkit-box-shadow: 0 10px 15px @@ -12840,11 +13639,11 @@ input.directorist-toggle-input:checked } .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element - .directorist-search-field.directorist-search-field-price_range + .directorist-search-field.directorist-search-field-radius_search > label, .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element - .directorist-search-field.directorist-search-field-radius_search + .directorist-search-field.directorist-search-field-price_range > label, .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element @@ -12863,38 +13662,38 @@ input.directorist-toggle-input:checked .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-checkbox-wrapper, + .directorist-search-tags, .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-radio-wrapper, + .directorist-search-review, .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-search-review, + .directorist-radio-wrapper, .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-search-tags { + .directorist-checkbox-wrapper { margin-top: 13px; } @media only screen and (max-width: 575px) { .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-checkbox-wrapper, + .directorist-search-tags, .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-radio-wrapper, + .directorist-search-review, .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-search-review, + .directorist-radio-wrapper, .listing-with-sidebar__sidebar .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-search-tags { + .directorist-checkbox-wrapper { margin-top: 5px; } } @@ -12980,7 +13779,7 @@ input.directorist-toggle-input:checked } .listing-with-sidebar__sidebar .directorist-price-ranges__price-frequency__btn:last-child { - border: 0; + border: 0 none; } .listing-with-sidebar__sidebar .directorist-checkbox-wrapper, .listing-with-sidebar__sidebar .directorist-radio-wrapper, @@ -13162,8 +13961,8 @@ input.directorist-toggle-input:checked -ms-flex-direction: column; flex-direction: column; } -.listing-with-sidebar__listing .directorist-archive-items, -.listing-with-sidebar__listing .directorist-header-bar { +.listing-with-sidebar__listing .directorist-header-bar, +.listing-with-sidebar__listing .directorist-archive-items { width: 100%; display: -webkit-box; display: -webkit-flex; @@ -13171,10 +13970,10 @@ input.directorist-toggle-input:checked display: flex; } .listing-with-sidebar__listing - .directorist-archive-items + .directorist-header-bar .directorist-container-fluid, .listing-with-sidebar__listing - .directorist-header-bar + .directorist-archive-items .directorist-container-fluid { padding: 0; } @@ -13251,6 +14050,7 @@ input.directorist-toggle-input:checked left: -15px; } } + @media only screen and (max-width: 991px) { .logged-in .listing-with-sidebar__sidebar .directorist-search-form__box { padding-top: 30px; @@ -13266,14 +14066,18 @@ input.directorist-toggle-input:checked padding-top: 0; } } + .directorist-advanced-filter__basic { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; } -.directorist-advanced-filter__basic, .directorist-advanced-filter__basic__element { display: -webkit-box; display: -webkit-flex; @@ -13412,9 +14216,9 @@ input.directorist-toggle-input:checked .directorist-advanced-filter__advanced__element { overflow: hidden; } -.directorist-advanced-filter__advanced__element.directorist-search-field-category - .directorist-search-field.input-is-focused, .directorist-advanced-filter__advanced__element.directorist-search-field-location + .directorist-search-field.input-is-focused, +.directorist-advanced-filter__advanced__element.directorist-search-field-category .directorist-search-field.input-is-focused { margin-top: 0; } @@ -13533,7 +14337,9 @@ input.directorist-toggle-input:checked } .directorist-advanced-filter__advanced__element .directorist-search-field - .directorist-search-field__input[type="date"], + .directorist-search-field__input[type="date"] { + padding-left: 0; +} .directorist-advanced-filter__advanced__element .directorist-search-field .directorist-search-field__input[type="time"] { @@ -13596,7 +14402,9 @@ input.directorist-toggle-input:checked } .directorist-advanced-filter__advanced__element .directorist-search-field.input-is-focused - .directorist-search-field__input[type="date"], + .directorist-search-field__input[type="date"] { + padding-left: 20px; +} .directorist-advanced-filter__advanced__element .directorist-search-field.input-is-focused .directorist-search-field__input[type="time"] { @@ -13628,10 +14436,10 @@ input.directorist-toggle-input:checked opacity: 1; } .directorist-advanced-filter__advanced__element - .directorist-search-field.directorist-search-field-price_range + .directorist-search-field.directorist-search-field-radius_search > label, .directorist-advanced-filter__advanced__element - .directorist-search-field.directorist-search-field-radius_search + .directorist-search-field.directorist-search-field-price_range > label, .directorist-advanced-filter__advanced__element .directorist-search-field.directorist-search-field-text_range @@ -13758,32 +14566,32 @@ input.directorist-toggle-input:checked margin: 0; color: var(--directorist-color-dark); } +.directorist-advanced-filter__advanced__element.directorist-search-field-tag, +.directorist-advanced-filter__advanced__element.directorist-search-field-radio, +.directorist-advanced-filter__advanced__element.directorist-search-field-review, .directorist-advanced-filter__advanced__element.directorist-search-field-checkbox, -.directorist-advanced-filter__advanced__element.directorist-search-field-color_picker, .directorist-advanced-filter__advanced__element.directorist-search-field-location, .directorist-advanced-filter__advanced__element.directorist-search-field-pricing, -.directorist-advanced-filter__advanced__element.directorist-search-field-radio, -.directorist-advanced-filter__advanced__element.directorist-search-field-review, -.directorist-advanced-filter__advanced__element.directorist-search-field-tag { +.directorist-advanced-filter__advanced__element.directorist-search-field-color_picker { overflow: visible; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } -.directorist-advanced-filter__advanced__element.directorist-search-field-checkbox +.directorist-advanced-filter__advanced__element.directorist-search-field-tag .directorist-search-field, -.directorist-advanced-filter__advanced__element.directorist-search-field-color_picker +.directorist-advanced-filter__advanced__element.directorist-search-field-radio .directorist-search-field, -.directorist-advanced-filter__advanced__element.directorist-search-field-location +.directorist-advanced-filter__advanced__element.directorist-search-field-review .directorist-search-field, -.directorist-advanced-filter__advanced__element.directorist-search-field-pricing +.directorist-advanced-filter__advanced__element.directorist-search-field-checkbox .directorist-search-field, -.directorist-advanced-filter__advanced__element.directorist-search-field-radio +.directorist-advanced-filter__advanced__element.directorist-search-field-location .directorist-search-field, -.directorist-advanced-filter__advanced__element.directorist-search-field-review +.directorist-advanced-filter__advanced__element.directorist-search-field-pricing .directorist-search-field, -.directorist-advanced-filter__advanced__element.directorist-search-field-tag +.directorist-advanced-filter__advanced__element.directorist-search-field-color_picker .directorist-search-field { width: 100%; } @@ -13860,6 +14668,7 @@ input.directorist-toggle-input:checked margin-top: 10px; } } + .directorist-search-field-radius_search { position: relative; } @@ -13869,6 +14678,7 @@ input.directorist-toggle-input:checked left: 0; top: 0; } + .directorist-search-field-review .directorist-checkbox { display: block; width: auto; @@ -13948,46 +14758,55 @@ input.directorist-toggle-input:checked } .directorist-search-field-review .directorist-checkbox - input[value="1"] + input[value="5"] + label - .directorist-icon-mask:first-child:after, + .directorist-icon-mask:after { + background-color: var(--directorist-color-star); +} .directorist-search-field-review .directorist-checkbox - input[value="2"] + input[value="4"] + label - .directorist-icon-mask:first-child:after, + .directorist-icon-mask:not(:nth-child(5)):after { + background-color: var(--directorist-color-star); +} .directorist-search-field-review .directorist-checkbox - input[value="2"] + input[value="3"] + label - .directorist-icon-mask:nth-child(2):after, + .directorist-icon-mask:nth-child(1):after, .directorist-search-field-review .directorist-checkbox input[value="3"] + label - .directorist-icon-mask:first-child:after, + .directorist-icon-mask:nth-child(2):after, .directorist-search-field-review .directorist-checkbox input[value="3"] + label - .directorist-icon-mask:nth-child(2):after, + .directorist-icon-mask:nth-child(3):after { + background-color: var(--directorist-color-star); +} .directorist-search-field-review .directorist-checkbox - input[value="3"] + input[value="2"] + label - .directorist-icon-mask:nth-child(3):after, + .directorist-icon-mask:nth-child(1):after, .directorist-search-field-review .directorist-checkbox - input[value="4"] + input[value="2"] + label - .directorist-icon-mask:not(:nth-child(5)):after, + .directorist-icon-mask:nth-child(2):after { + background-color: var(--directorist-color-star); +} .directorist-search-field-review .directorist-checkbox - input[value="5"] + input[value="1"] + label - .directorist-icon-mask:after { + .directorist-icon-mask:nth-child(1):after { background-color: var(--directorist-color-star); } + .directorist-search-field .directorist-price-ranges { display: -webkit-box; display: -webkit-flex; @@ -14056,7 +14875,7 @@ input.directorist-toggle-input:checked -webkit-flex: 1; -ms-flex: 1; flex: 1; - border: 0 !important; + border: 0 none !important; } .directorist-search-field .directorist-price-ranges__item.directorist-form-group:focus-within { @@ -14174,18 +14993,25 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-white); } } + .directorist-search-field { font-size: 15px; } -.directorist-search-field .wp-picker-container .wp-color-result, -.directorist-search-field .wp-picker-container .wp-picker-clear { +.directorist-search-field .wp-picker-container .wp-picker-clear, +.directorist-search-field .wp-picker-container .wp-color-result { + position: relative; + height: 40px; + border: 0 none; + width: 140px; + -webkit-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; + border-radius: 3px; text-decoration: none; } -.directorist-search-field .wp-picker-container .wp-color-result, -.directorist-search-field .wp-picker-container .wp-picker-clear { +.directorist-search-field .wp-picker-container .wp-color-result { position: relative; height: 40px; - border: 0; + border: 0 none; width: 140px; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; @@ -14218,6 +15044,7 @@ input.directorist-toggle-input:checked position: absolute; z-index: 22; } + .check-btn { display: -webkit-box; display: -webkit-flex; @@ -14276,40 +15103,46 @@ input.directorist-toggle-input:checked display: none; } .check-btn label span:before { + position: absolute; right: 23px; - -webkit-mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); - mask-image: url(../images/e986e970b493125f349fc279b4b3d57b.svg); + top: 50%; + -webkit-transform: translateY(-50%); + transform: translateY(-50%); + content: ""; + -webkit-mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); + mask-image: url(../js/../images/e986e970b493125f349fc279b4b3d57b.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 10px; height: 10px; + background-color: var(--directorist-color-white); display: block; opacity: 0; -webkit-transition: all 0.3s ease 0s; transition: all 0.3s ease 0s; z-index: 2; } -.check-btn label span:after, -.check-btn label span:before { +.check-btn label span:after { position: absolute; + right: 18px; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); - content: ""; - background-color: var(--directorist-color-white); -} -.check-btn label span:after { - right: 18px; width: 16px; height: 16px; border-radius: 5px; + content: ""; border: 2px solid #d9d9d9; + background-color: var(--directorist-color-white); -webkit-box-sizing: content-box; box-sizing: content-box; } + +/* google map location suggestion container */ .pac-container { z-index: 99999; } + .directorist-search-top { text-align: center; margin-bottom: 34px; @@ -14326,10 +15159,12 @@ input.directorist-toggle-input:checked opacity: 0.8; text-align: center; } + .directorist-search-contents { background-size: cover; padding: 100px 0 120px; } + .directorist-search-field__label { position: absolute; right: 0; @@ -14412,14 +15247,14 @@ input.directorist-toggle-input:checked opacity: 0; visibility: hidden; } -.directorist-search-field__btn--clear i:after { +.directorist-search-field__btn--clear i::after { width: 16px; height: 16px; background-color: #bcbcbc; -webkit-transition: background-color 0.3s ease; transition: background-color 0.3s ease; } -.directorist-search-field__btn--clear:hover i:after { +.directorist-search-field__btn--clear:hover i::after { background-color: var(--directorist-color-primary); } @media screen and (max-width: 575px) { @@ -14487,12 +15322,12 @@ input.directorist-toggle-input:checked .directorist-search-field.input-has-value .directorist-search-field__btn--clear, .directorist-search-field.input-has-value .directorist-search-field__btn - i:after, + i::after, .directorist-search-field.input-is-focused .directorist-search-field__btn--clear, .directorist-search-field.input-is-focused .directorist-search-field__btn - i:after { + i::after { opacity: 1; visibility: visible; } @@ -14522,40 +15357,40 @@ input.directorist-toggle-input:checked .directorist-search-field__input { bottom: 0; } -.directorist-search-field.input-has-value .directorist-search-field__input, .directorist-search-field.input-has-value .directorist-select, -.directorist-search-field.input-is-focused .directorist-search-field__input, -.directorist-search-field.input-is-focused .directorist-select { +.directorist-search-field.input-has-value .directorist-search-field__input, +.directorist-search-field.input-is-focused .directorist-select, +.directorist-search-field.input-is-focused .directorist-search-field__input { position: relative; bottom: -5px; } +.directorist-search-field.input-has-value.input-has-noLabel .directorist-select, .directorist-search-field.input-has-value.input-has-noLabel .directorist-search-field__input, -.directorist-search-field.input-has-value.input-has-noLabel .directorist-select, .directorist-search-field.input-is-focused.input-has-noLabel - .directorist-search-field__input, + .directorist-select, .directorist-search-field.input-is-focused.input-has-noLabel - .directorist-select { + .directorist-search-field__input { bottom: 0; margin-top: 0 !important; } -.directorist-search-field.input-has-value.directorist-color - .directorist-search-field__label, .directorist-search-field.input-has-value.directorist-date .directorist-search-field__label, +.directorist-search-field.input-has-value.directorist-time + .directorist-search-field__label, +.directorist-search-field.input-has-value.directorist-color + .directorist-search-field__label, .directorist-search-field.input-has-value .directorist-select .directorist-search-field__label, -.directorist-search-field.input-has-value.directorist-time +.directorist-search-field.input-is-focused.directorist-date .directorist-search-field__label, -.directorist-search-field.input-is-focused.directorist-color +.directorist-search-field.input-is-focused.directorist-time .directorist-search-field__label, -.directorist-search-field.input-is-focused.directorist-date +.directorist-search-field.input-is-focused.directorist-color .directorist-search-field__label, .directorist-search-field.input-is-focused .directorist-select - .directorist-search-field__label, -.directorist-search-field.input-is-focused.directorist-time .directorist-search-field__label { opacity: 1; } @@ -14587,31 +15422,32 @@ input.directorist-toggle-input:checked .directorist-icon-mask:after { background-color: var(--directorist-color-dark); } -.directorist-search-field.directorist-color .directorist-search-field__label, .directorist-search-field.directorist-date .directorist-search-field__label, -.directorist-search-field .directorist-select .directorist-search-field__label, -.directorist-search-field.directorist-time .directorist-search-field__label { +.directorist-search-field.directorist-time .directorist-search-field__label, +.directorist-search-field.directorist-color .directorist-search-field__label, +.directorist-search-field .directorist-select .directorist-search-field__label { opacity: 0; } .directorist-search-field - .directorist-filter-location-icon + .directorist-select ~ .directorist-search-field__btn--clear, .directorist-search-field - .directorist-select + .directorist-filter-location-icon ~ .directorist-search-field__btn--clear { left: 25px; } +.directorist-search-field .directorist-select .directorist-icon-mask:after, .directorist-search-field .directorist-filter-location-icon - .directorist-icon-mask:after, -.directorist-search-field .directorist-select .directorist-icon-mask:after { - background-color: grey; + .directorist-icon-mask:after { + background-color: #808080; } .directorist-search-field .directorist-filter-location-icon ~ .directorist-search-field__btn--clear { bottom: 8px; } + .directorist-preload .directorist-search-form-top .directorist-search-field__label @@ -14619,6 +15455,7 @@ input.directorist-toggle-input:checked opacity: 0; pointer-events: none; } + .directorist-search-form__box { display: -webkit-box; display: -webkit-flex; @@ -14728,10 +15565,10 @@ input.directorist-toggle-input:checked .directorist-search-modal__contents__body .directorist-search-modal__input .directorist-search-field { - border: 0; + border: 0 none; } .directorist-search-form__top - .directorist-search-modal__input:not(:last-child) + .directorist-search-modal__input:not(:nth-last-child(1)) .directorist-search-field { border-left: 1px solid var(--directorist-color-border); } @@ -14788,15 +15625,15 @@ input.directorist-toggle-input:checked left: 30px; } .directorist-search-form__top - .directorist-search-modal__input:focus-within + .directorist-search-modal__input:focus .directorist-select2-dropdown-toggle, .directorist-search-form__top - .directorist-search-modal__input:focus + .directorist-search-modal__input:focus-within .directorist-select2-dropdown-toggle { display: block; } - .directorist-search-form__top .directorist-search-category, - .directorist-search-form__top .directorist-select { + .directorist-search-form__top .directorist-select, + .directorist-search-form__top .directorist-search-category { width: calc(100% + 15px); } } @@ -14818,7 +15655,10 @@ input.directorist-toggle-input:checked } .directorist-search-form__top .directorist-search-form__single-category - .directorist-category-select, + .directorist-category-select { + opacity: 0.6; + pointer-events: none; +} .directorist-search-form__top .directorist-search-form__single-category .directorist-category-select @@ -14837,7 +15677,10 @@ input.directorist-toggle-input:checked } .directorist-search-form__top .directorist-search-form__single-location - .directorist-location-select, + .directorist-location-select { + opacity: 0.6; + pointer-events: none; +} .directorist-search-form__top .directorist-search-form__single-location .directorist-location-select @@ -14981,33 +15824,33 @@ input.directorist-toggle-input:checked } .directorist-search-form__top .directorist-search-field.input-has-value - .directorist-filter-location-icon, + .directorist-select, .directorist-search-form__top .directorist-search-field.input-has-value - .directorist-select, + .directorist-filter-location-icon, .directorist-search-form__top .directorist-search-field.input-is-focused - .directorist-filter-location-icon, + .directorist-select, .directorist-search-form__top .directorist-search-field.input-is-focused - .directorist-select { + .directorist-filter-location-icon { margin-top: 3px; } .directorist-search-form__top .directorist-search-field.input-has-value - .directorist-filter-location-icon + .directorist-select ~ .directorist-search-field__btn--clear, .directorist-search-form__top .directorist-search-field.input-has-value - .directorist-select + .directorist-filter-location-icon ~ .directorist-search-field__btn--clear, .directorist-search-form__top .directorist-search-field.input-is-focused - .directorist-filter-location-icon + .directorist-select ~ .directorist-search-field__btn--clear, .directorist-search-form__top .directorist-search-field.input-is-focused - .directorist-select + .directorist-filter-location-icon ~ .directorist-search-field__btn--clear { left: 38px; bottom: 8px; @@ -15096,10 +15939,10 @@ input.directorist-toggle-input:checked .directorist-search-form__top .directorist-search-field .directorist-form-element { + border: 0 none; background-color: transparent; -webkit-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; - border: 0; border-bottom: 2px solid transparent; } .directorist-search-form__top @@ -15111,7 +15954,7 @@ input.directorist-toggle-input:checked .directorist-search-form__top .directorist-search-field .directorist-form-element { - border: 0; + border: 0 none; border-radius: 0; overflow: hidden; -ms-text-overflow: ellipsis; @@ -15133,7 +15976,9 @@ input.directorist-toggle-input:checked .directorist-search-form__top .directorist-search-field .directorist-price-ranges__item - .directorist-form-element, + .directorist-form-element { + border: none !important; +} .directorist-search-form__top .directorist-search-field .directorist-price-ranges__item @@ -15148,12 +15993,12 @@ input.directorist-toggle-input:checked .directorist-search-form__top .directorist-search-field .directorist-select - .directorist-select__label, + select, .directorist-search-form__top .directorist-search-field .directorist-select - select { - border: 0; + .directorist-select__label { + border: 0 none; } .directorist-search-form__top .directorist-search-field .wp-picker-container { display: -webkit-box; @@ -15283,8 +16128,8 @@ input.directorist-toggle-input:checked mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; - -webkit-mask-image: url(../images/447c512963a6e865700c065e70bb46b7.svg); - mask-image: url(../images/447c512963a6e865700c065e70bb46b7.svg); + -webkit-mask-image: url(../js/../images/447c512963a6e865700c065e70bb46b7.svg); + mask-image: url(../js/../images/447c512963a6e865700c065e70bb46b7.svg); opacity: 0; } .directorist-search-form__top .directorist-search-field__btn { @@ -15296,7 +16141,7 @@ input.directorist-toggle-input:checked -webkit-transition: all 0.3s ease; transition: all 0.3s ease; } - .directorist-search-form__top .directorist-search-field__btn i:after { + .directorist-search-form__top .directorist-search-field__btn i::after { width: 14px; height: 14px; } @@ -15418,11 +16263,11 @@ input.directorist-toggle-input:checked .directorist-search-form__top .directorist-search-field.input-has-value .directorist-search-field__btn - i:after, + i::after, .directorist-search-form__top .directorist-search-field.input-is-focused .directorist-search-field__btn - i:after { + i::after { width: 14px; height: 14px; opacity: 1; @@ -15440,19 +16285,19 @@ input.directorist-toggle-input:checked } .directorist-search-form__top .directorist-search-field.input-has-value - .directorist-filter-location-icon + .directorist-select ~ .directorist-search-field__btn--clear, .directorist-search-form__top .directorist-search-field.input-has-value - .directorist-select + .directorist-filter-location-icon ~ .directorist-search-field__btn--clear, .directorist-search-form__top .directorist-search-field.input-is-focused - .directorist-filter-location-icon + .directorist-select ~ .directorist-search-field__btn--clear, .directorist-search-form__top .directorist-search-field.input-is-focused - .directorist-select + .directorist-filter-location-icon ~ .directorist-search-field__btn--clear { bottom: 12px; top: unset; @@ -15461,16 +16306,16 @@ input.directorist-toggle-input:checked } .directorist-search-form__top .directorist-search-field.input-has-value - .directorist-search-field__input, + .directorist-select, .directorist-search-form__top .directorist-search-field.input-has-value - .directorist-select, + .directorist-search-field__input, .directorist-search-form__top .directorist-search-field.input-is-focused - .directorist-search-field__input, + .directorist-select, .directorist-search-form__top .directorist-search-field.input-is-focused - .directorist-select { + .directorist-search-field__input { padding-left: 0; } .directorist-search-form__top @@ -15580,7 +16425,7 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; padding: 5px 0; - border: 0 !important; + border: 0 none !important; width: calc(100% - 15px); } .directorist-search-form__top @@ -15613,7 +16458,7 @@ input.directorist-toggle-input:checked .directorist-icon-mask:after { width: 12px; height: 12px; - background-color: grey; + background-color: #808080; } .directorist-search-form__top .select2-container @@ -15627,8 +16472,8 @@ input.directorist-toggle-input:checked padding: 0; width: auto; } -.directorist-search-form__top input[type="number"]::-webkit-inner-spin-button, -.directorist-search-form__top input[type="number"]::-webkit-outer-spin-button { +.directorist-search-form__top input[type="number"]::-webkit-outer-spin-button, +.directorist-search-form__top input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; appearance: none; margin: 0; @@ -15691,14 +16536,14 @@ input.directorist-toggle-input:checked .directorist-search-form__top .directorist-search-form-dropdown.input-has-value .directorist-search-field__btn - i:after, + i::after, .directorist-search-form__top .directorist-search-form-dropdown.input-is-focused .directorist-search-field__btn--clear, .directorist-search-form__top .directorist-search-form-dropdown.input-is-focused .directorist-search-field__btn - i:after { + i::after { opacity: 1; visibility: visible; } @@ -15825,7 +16670,7 @@ input.directorist-toggle-input:checked i:after { width: 12px; height: 12px; - background-color: grey; + background-color: #808080; } @media screen and (max-width: 575px) { .directorist-search-form__top @@ -15862,7 +16707,7 @@ input.directorist-toggle-input:checked .directorist-search-form__top .directorist-search-basic-dropdown .directorist-search-basic-dropdown-content - .directorist-checkbox-wrapper, + .directorist-search-tags, .directorist-search-form__top .directorist-search-basic-dropdown .directorist-search-basic-dropdown-content @@ -15870,7 +16715,7 @@ input.directorist-toggle-input:checked .directorist-search-form__top .directorist-search-basic-dropdown .directorist-search-basic-dropdown-content - .directorist-search-tags { + .directorist-checkbox-wrapper { gap: 12px; } .directorist-search-form__top @@ -15904,6 +16749,7 @@ input.directorist-toggle-input:checked ~ .directorist-search-field__btn--clear { bottom: 12px; } + .directorist-search-form-action { display: -webkit-box; display: -webkit-flex; @@ -15945,7 +16791,7 @@ input.directorist-toggle-input:checked } .directorist-search-form-action__filter .directorist-filter-btn - .directorist-icon-mask:after { + .directorist-icon-mask::after { height: 12px; width: 14px; background-color: var(--directorist-color-btn-primary-bg); @@ -15973,7 +16819,7 @@ input.directorist-toggle-input:checked } .directorist-search-form-action__submit .directorist-btn-search - .directorist-icon-mask:after { + .directorist-icon-mask::after { height: 16px; width: 16px; background-color: var(--directorist-color-white); @@ -16020,7 +16866,7 @@ input.directorist-toggle-input:checked -ms-flex: 1; flex: 1; } -.directorist-search-form-action__modal__btn-search i:after { +.directorist-search-form-action__modal__btn-search i::after { width: 16px; height: 16px; -webkit-transform: rotate(-270deg); @@ -16045,6 +16891,7 @@ input.directorist-toggle-input:checked height: 16px; width: 16px; } + .atbdp-form-fade { position: relative; border-radius: 8px; @@ -16066,7 +16913,7 @@ input.directorist-toggle-input:checked width: 25px; height: 25px; border: 2px solid var(--directorist-color-primary); - border-top: 2px solid transparent; + border-top-color: transparent; border-radius: 50%; right: 50%; top: 50%; @@ -16087,6 +16934,7 @@ input.directorist-toggle-input:checked background: rgba(var(--directorist-color-primary-rgb), 0.3); z-index: 9998; } + .directorist-on-scroll-loading { display: -webkit-box; display: -webkit-flex; @@ -16114,9 +16962,10 @@ input.directorist-toggle-input:checked border-top: 3px solid var(--directorist-color-primary); border-left: 3px solid transparent; border-radius: 50%; - -webkit-animation: rotate360 1s linear infinite; - animation: rotate360 1s linear infinite; + -webkit-animation: 1s rotate360 linear infinite; + animation: 1s rotate360 linear infinite; } + .directorist-listing-type-selection { display: -webkit-box; display: -webkit-flex; @@ -16230,7 +17079,7 @@ input.directorist-toggle-input:checked } .directorist-listing-type-selection__item .directorist-listing-type-selection__link--current - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-primary); } .directorist-listing-type-selection__item @@ -16238,6 +17087,7 @@ input.directorist-toggle-input:checked opacity: 1; visibility: visible; } + .directorist-search-form-wrap .directorist-listing-type-selection { padding: 0; margin: 0; @@ -16247,20 +17097,22 @@ input.directorist-toggle-input:checked margin: 0 auto; } } + .directorist-search-contents .directorist-btn-ml:after { content: ""; display: inline-block; margin-right: 5px; - -webkit-mask-image: url(../images/05feea3d261c8b97573023a74fd26f03.svg); - mask-image: url(../images/05feea3d261c8b97573023a74fd26f03.svg); + -webkit-mask-image: url(../js/../images/05feea3d261c8b97573023a74fd26f03.svg); + mask-image: url(../js/../images/05feea3d261c8b97573023a74fd26f03.svg); width: 12px; height: 12px; background-color: var(--directorist-color-body); } .directorist-search-contents .directorist-btn-ml.active:after { - -webkit-mask-image: url(../images/c90867d23032298fc0ff1d456a6fdb30.svg); - mask-image: url(../images/c90867d23032298fc0ff1d456a6fdb30.svg); + -webkit-mask-image: url(../js/../images/c90867d23032298fc0ff1d456a6fdb30.svg); + mask-image: url(../js/../images/c90867d23032298fc0ff1d456a6fdb30.svg); } + .directorist-listing-category-top { text-align: center; margin-top: 35px; @@ -16330,16 +17182,16 @@ input.directorist-toggle-input:checked } .directorist-listing-category-top li a i, .directorist-listing-category-top li a span, +.directorist-listing-category-top li a span.las, +.directorist-listing-category-top li a span.lar, +.directorist-listing-category-top li a span.lab, .directorist-listing-category-top li a span.fab, .directorist-listing-category-top li a span.fas, -.directorist-listing-category-top li a span.la, -.directorist-listing-category-top li a span.lab, -.directorist-listing-category-top li a span.lar, -.directorist-listing-category-top li a span.las { +.directorist-listing-category-top li a span.la { font-size: 15px; color: var(--directorist-color-body); } -.directorist-listing-category-top li a .directorist-icon-mask:after { +.directorist-listing-category-top li a .directorist-icon-mask::after { position: relative; height: 15px; width: 15px; @@ -16357,6 +17209,7 @@ input.directorist-toggle-input:checked display: none; } } + .directorist-search-field .directorist-location-js + .address_result { position: absolute; width: 100%; @@ -16493,6 +17346,7 @@ input.directorist-toggle-input:checked padding: 0; margin: 0; } + .directorist-zipcode-search .directorist-search-country { position: absolute; width: 100%; @@ -16518,9 +17372,10 @@ input.directorist-toggle-input:checked } .directorist-zipcode-search .directorist-search-country ul li { border-bottom: 1px solid var(--directorist-color-border); - padding: 10px 15px; + padding: 10px 15px 10px; margin: 0; } + .directorist-search-contents .directorist-search-form-top .form-group.open_now { -webkit-box-flex: 30.8%; -webkit-flex: 30.8%; @@ -16528,11 +17383,19 @@ input.directorist-toggle-input:checked flex: 30.8%; border-left: 1px solid var(--directorist-color-border); } + .directorist-custom-range-slider { width: 100%; } .directorist-custom-range-slider__wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; -ms-flex-align: center; + align-items: center; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; @@ -16546,27 +17409,24 @@ input.directorist-toggle-input:checked -ms-flex: 0 0 100%; flex: 0 0 100%; } -.directorist-custom-range-slider__value, -.directorist-custom-range-slider__wrap { +.directorist-custom-range-slider__value { + position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - align-items: center; -} -.directorist-custom-range-slider__value { - position: relative; -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; + -webkit-box-align: center; + -webkit-align-items: center; -ms-flex-align: center; + align-items: center; background: transparent; border-bottom: 1px solid var(--directorist-color-border); - -webkit-transition: border 0.3s ease; - transition: border 0.3s ease; + -webkit-transition: border ease 0.3s; + transition: border ease 0.3s; } .directorist-custom-range-slider__value:focus-within { border-bottom: 2px solid var(--directorist-color-primary); @@ -16601,6 +17461,10 @@ input.directorist-toggle-input:checked color: var(--directorist-color-primary); } .directorist-custom-range-slider__range__wrap { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; gap: 5px; -webkit-box-align: center; -webkit-align-items: center; @@ -16613,25 +17477,20 @@ input.directorist-toggle-input:checked font-size: 14px; font-weight: 500; } -.directorist-custom-range-slider__range__wrap, + .directorist-pagination { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -} -.directorist-pagination { - gap: 8px; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; -} -.directorist-pagination, -.directorist-pagination .page-numbers { -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + gap: 8px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; } .directorist-pagination .page-numbers { display: -webkit-inline-box; @@ -16642,6 +17501,10 @@ input.directorist-toggle-input:checked -webkit-align-items: center; -ms-flex-align: center; align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; text-decoration: none; width: 40px; height: 40px; @@ -16664,19 +17527,21 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-body); } .directorist-pagination .page-numbers span { - border: 0; + border: 0 none; min-width: auto; margin: 0; } -.directorist-pagination .page-numbers.current, -.directorist-pagination .page-numbers:hover { +.directorist-pagination .page-numbers:hover, +.directorist-pagination .page-numbers.current { border-color: var(--directorist-color-primary); color: var(--directorist-color-primary); } -.directorist-pagination .page-numbers.current .directorist-icon-mask:after, -.directorist-pagination .page-numbers:hover .directorist-icon-mask:after { +.directorist-pagination .page-numbers:hover .directorist-icon-mask:after, +.directorist-pagination .page-numbers.current .directorist-icon-mask:after { background-color: var(--directorist-color-primary); } + +/* New Styles */ .directorist-categories { margin-top: 15px; } @@ -16700,14 +17565,14 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-white); } .directorist-categories__single--image { - background-position: 50%; + background-position: center; background-repeat: no-repeat; background-size: cover; -o-object-fit: cover; object-fit: cover; position: relative; } -.directorist-categories__single--image:before { +.directorist-categories__single--image::before { position: absolute; content: ""; border-radius: inherit; @@ -16725,6 +17590,7 @@ input.directorist-toggle-input:checked .directorist-categories__single__content { position: relative; z-index: 1; + text-align: center; -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; @@ -16741,7 +17607,7 @@ input.directorist-toggle-input:checked font-size: 16px; color: var(--directorist-color-dark); } -.directorist-categories__single__name:before { +.directorist-categories__single__name::before { content: ""; position: absolute; right: 0; @@ -16749,22 +17615,25 @@ input.directorist-toggle-input:checked width: 100%; height: 100%; } +.directorist-categories__single { + /* Styles */ +} .directorist-categories__single--style-one .directorist-categories__single__content - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 50px; height: 50px; } @media screen and (max-width: 991px) { .directorist-categories__single--style-one .directorist-categories__single__content - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 40px; height: 40px; } } .directorist-categories__single--style-one.directorist-categories__single--image - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .directorist-categories__single--style-one:not( @@ -16778,7 +17647,7 @@ input.directorist-toggle-input:checked .directorist-categories__single--style-one:not( .directorist-categories__single--image ) - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 36px; height: 36px; background-color: var(--directorist-color-white); @@ -16796,7 +17665,7 @@ input.directorist-toggle-input:checked border-radius: 50%; padding: 16px; } -.directorist-categories__single--style-two .directorist-icon-mask:after { +.directorist-categories__single--style-two .directorist-icon-mask::after { width: 40px; height: 40px; } @@ -16805,14 +17674,14 @@ input.directorist-toggle-input:checked border-color: var(--directorist-color-white); } .directorist-categories__single--style-two.directorist-categories__single--image - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .directorist-categories__single--style-three { height: var(--directorist-category-box-width); border-radius: 50%; } -.directorist-categories__single--style-three .directorist-icon-mask:after { +.directorist-categories__single--style-three .directorist-icon-mask::after { width: 40px; height: 40px; } @@ -16841,7 +17710,7 @@ input.directorist-toggle-input:checked margin-top: 15px; } .directorist-categories__single--style-three.directorist-categories__single--image - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .directorist-categories__single--style-three .directorist-category-count { @@ -16852,7 +17721,7 @@ input.directorist-toggle-input:checked border-radius: 50%; padding: 17px; } -.directorist-categories__single--style-four .directorist-icon-mask:after { +.directorist-categories__single--style-four .directorist-icon-mask::after { width: 36px; height: 36px; background-color: var(--directorist-color-white); @@ -16877,6 +17746,8 @@ input.directorist-toggle-input:checked .directorist-categories .directorist-type-nav { margin-bottom: 15px; } + +/* Taxonomy List Style One */ .directorist-taxonomy-list-one .directorist-taxonomy-list__card { display: -webkit-box; display: -webkit-flex; @@ -16917,7 +17788,7 @@ input.directorist-toggle-input:checked .directorist-taxonomy-list-one .directorist-taxonomy-list__toggle--open .directorist-taxonomy-list__toggler - .directorist-icon-mask:after { + .directorist-icon-mask::after { -webkit-transform: rotate(-180deg); transform: rotate(-180deg); } @@ -16943,26 +17814,31 @@ input.directorist-toggle-input:checked } .directorist-taxonomy-list-one .directorist-taxonomy-list__icon - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 15px; height: 15px; } -.directorist-taxonomy-list-one .directorist-taxonomy-list__count, .directorist-taxonomy-list-one .directorist-taxonomy-list__name { color: var(--directorist-color-dark); } +.directorist-taxonomy-list-one .directorist-taxonomy-list__count { + color: var(--directorist-color-dark); +} .directorist-taxonomy-list-one .directorist-taxonomy-list__toggler { -webkit-margin-start: auto; margin-inline-start: auto; } .directorist-taxonomy-list-one .directorist-taxonomy-list__toggler - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 10px; height: 10px; -webkit-transition: 0.3s ease; transition: 0.3s ease; } +.directorist-taxonomy-list-one .directorist-taxonomy-list { + /* Sub Item */ +} .directorist-taxonomy-list-one .directorist-taxonomy-list__sub-item { margin: 0; list-style: none; @@ -17039,6 +17915,9 @@ input.directorist-toggle-input:checked opacity: 1; margin-top: 0; } +.directorist-taxonomy-list-one .directorist-taxonomy-list { + /* Sub Item Toggle */ +} .directorist-taxonomy-list-one .directorist-taxonomy-list__sub-item-toggle { display: -webkit-box; display: -webkit-flex; @@ -17069,7 +17948,7 @@ input.directorist-toggle-input:checked } .directorist-taxonomy-list-one .directorist-taxonomy-list__sub-item-toggle.directorist-taxonomy-list__toggle--open - .directorist-taxonomy-list__sub-item-toggler:after { + .directorist-taxonomy-list__sub-item-toggler::after { content: none; } .directorist-taxonomy-list-one .directorist-taxonomy-list__sub-item-toggler { @@ -17081,7 +17960,7 @@ input.directorist-toggle-input:checked display: inline-block; } .directorist-taxonomy-list-one - .directorist-taxonomy-list__sub-item-toggler:before { + .directorist-taxonomy-list__sub-item-toggler::before { position: absolute; content: ""; right: 0; @@ -17093,7 +17972,7 @@ input.directorist-toggle-input:checked transform: translateY(-50%); } .directorist-taxonomy-list-one - .directorist-taxonomy-list__sub-item-toggler:after { + .directorist-taxonomy-list__sub-item-toggler::after { position: absolute; content: ""; width: 1px; @@ -17104,6 +17983,8 @@ input.directorist-toggle-input:checked -webkit-transform: translateX(50%); transform: translateX(50%); } + +/* Taxonomy List Style Two */ .directorist-taxonomy-list-two .directorist-taxonomy-list { -webkit-box-shadow: var(--directorist-box-shadow); box-shadow: var(--directorist-box-shadow); @@ -17159,7 +18040,7 @@ input.directorist-toggle-input:checked } .directorist-taxonomy-list-two .directorist-taxonomy-list__icon - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .directorist-taxonomy-list-two .directorist-taxonomy-list__toggle { @@ -17189,6 +18070,8 @@ input.directorist-toggle-input:checked -webkit-padding-start: 10px; padding-inline-start: 10px; } + +/* Location: Grid One */ .directorist-location { margin-top: 30px; } @@ -17199,7 +18082,7 @@ input.directorist-toggle-input:checked .directorist-location--grid-one .directorist-location__single--img { height: 300px; } -.directorist-location--grid-one .directorist-location__single--img:before { +.directorist-location--grid-one .directorist-location__single--img::before { position: absolute; content: ""; width: 100%; @@ -17237,7 +18120,9 @@ input.directorist-toggle-input:checked .directorist-location--grid-one .directorist-location__single--img .directorist-location__content - a, + a { + color: var(--directorist-color-white); +} .directorist-location--grid-one .directorist-location__single--img .directorist-location__count { @@ -17277,11 +18162,11 @@ input.directorist-toggle-input:checked .directorist-location--grid-one .directorist-location__single:not(.directorist-location__single--img) .directorist-location__content - a, + h3, .directorist-location--grid-one .directorist-location__single:not(.directorist-location__single--img) .directorist-location__content - h3, + a, .directorist-location--grid-one .directorist-location__single:not(.directorist-location__single--img) .directorist-location__content @@ -17300,7 +18185,7 @@ input.directorist-toggle-input:checked color: var(--directorist-color-dark); text-decoration: none; } -.directorist-location--grid-one .directorist-location__content a:after { +.directorist-location--grid-one .directorist-location__content a::after { position: absolute; content: ""; width: 100%; @@ -17323,7 +18208,7 @@ input.directorist-toggle-input:checked .directorist-location--grid-two .directorist-location__single--img .directorist-location__content { - padding: 10px 0 0; + padding: 10px 0 0 0; } .directorist-location--grid-two .directorist-location__single img { width: 100%; @@ -17336,7 +18221,7 @@ input.directorist-toggle-input:checked position: relative; height: 240px; } -.directorist-location--grid-two .directorist-location__single__img:before { +.directorist-location--grid-two .directorist-location__single__img::before { position: absolute; content: ""; width: 100%; @@ -17368,11 +18253,11 @@ input.directorist-toggle-input:checked .directorist-location--grid-two .directorist-location__single:not(.directorist-location__single--img) .directorist-location__content - a, + h3, .directorist-location--grid-two .directorist-location__single:not(.directorist-location__single--img) .directorist-location__content - h3, + a, .directorist-location--grid-two .directorist-location__single:not(.directorist-location__single--img) .directorist-location__content @@ -17390,7 +18275,7 @@ input.directorist-toggle-input:checked .directorist-location--grid-two .directorist-location__content a { text-decoration: none; } -.directorist-location--grid-two .directorist-location__content a:after { +.directorist-location--grid-two .directorist-location__content a::after { position: absolute; content: ""; width: 100%; @@ -17407,13 +18292,17 @@ input.directorist-toggle-input:checked .directorist-location .directorist-type-nav { margin-bottom: 15px; } + +/* Modal Core Styles */ .atm-open { overflow: hidden; } + .atm-open .at-modal { overflow-x: hidden; overflow-y: auto; } + .at-modal { position: fixed; width: 100%; @@ -17426,6 +18315,7 @@ input.directorist-toggle-input:checked overflow: hidden; outline: 0; } + .at-modal-content { position: relative; width: 500px; @@ -17449,6 +18339,7 @@ input.directorist-toggle-input:checked min-height: calc(100% - 5rem); pointer-events: none; } + .atm-contents-inner { width: 100%; background-color: var(--directorist-color-white); @@ -17456,29 +18347,36 @@ input.directorist-toggle-input:checked border-radius: 3px; position: relative; } + .at-modal-content.at-modal-lg { width: 800px; } + .at-modal-content.at-modal-xl { width: 1140px; } + .at-modal-content.at-modal-sm { width: 300px; } + .at-modal.atm-fade { -webkit-transition: 0.3s ease; transition: 0.3s ease; } + .at-modal.atm-fade:not(.atm-show) { opacity: 0; visibility: hidden; } + .at-modal.atm-show .at-modal-content { opacity: 1; visibility: visible; -webkit-transition: 0.3s ease; transition: 0.3s ease; } + .at-modal .atm-contents-inner .at-modal-close { width: 32px; height: 32px; @@ -17509,42 +18407,50 @@ input.directorist-toggle-input:checked justify-content: center; text-decoration: none; } + .at-modal .atm-contents-inner .close span { display: block; line-height: 0; } + +/* Responsive CSS */ +/* Large devices (desktops, 992px and up) */ @media (min-width: 992px) and (max-width: 1199.98px) { + .at-modal-content.at-modal-xl, .at-modal-content.at-modal-lg, .at-modal-content.at-modal-md, - .at-modal-content.at-modal-sm, - .at-modal-content.at-modal-xl { + .at-modal-content.at-modal-sm { width: calc(100% - 60px); } } +/* Medium devices (tablets, 768px and up) */ @media (min-width: 768px) and (max-width: 991.98px) { + .at-modal-content.at-modal-xl, .at-modal-content.at-modal-lg, .at-modal-content.at-modal-md, - .at-modal-content.at-modal-sm, - .at-modal-content.at-modal-xl { + .at-modal-content.at-modal-sm { width: calc(100% - 60px); } } +/* Small devices (landscape phones, 576px and up) */ @media (min-width: 576px) and (max-width: 767.98px) { + .at-modal-content.at-modal-xl, .at-modal-content.at-modal-lg, .at-modal-content.at-modal-md, - .at-modal-content.at-modal-sm, - .at-modal-content.at-modal-xl { + .at-modal-content.at-modal-sm { width: calc(100% - 60px); } } +/* Extra small devices (portrait phones, less than 576px) */ @media (max-width: 575.98px) { + .at-modal-content.at-modal-xl, .at-modal-content.at-modal-lg, .at-modal-content.at-modal-md, - .at-modal-content.at-modal-sm, - .at-modal-content.at-modal-xl { + .at-modal-content.at-modal-sm { width: calc(100% - 30px); } } +/* Authentication style */ .directorist-author__form { max-width: 540px; margin: 0 auto; @@ -17590,7 +18496,11 @@ input.directorist-toggle-input:checked color: var(--directorist-color-primary); border-color: var(--directorist-color-primary); } -.directorist-author__form__actions label, +.directorist-author__form__actions label { + font-size: 14px; + font-weight: 400; + color: var(--directorist-color-body); +} .directorist-author__form__toggle-area { font-size: 14px; font-weight: 400; @@ -17607,14 +18517,18 @@ input.directorist-toggle-input:checked padding: 25px; } .directorist-author__form__recover-pass-modal p { + font-size: 14px; + font-weight: 400; + color: var(--directorist-color-body); margin: 0 0 20px; } -.directorist-author__form__recover-pass-modal p, .directorist-author__message__text { font-size: 14px; font-weight: 400; color: var(--directorist-color-body); } + +/* Authentication style */ .directorist-authentication { height: 0; opacity: 0; @@ -17668,14 +18582,18 @@ input.directorist-toggle-input:checked .directorist-authentication__form__actions a { font-size: 14px; font-weight: 400; - color: grey; - border-bottom: 1px dashed grey; + color: #808080; + border-bottom: 1px dashed #808080; } .directorist-authentication__form__actions a:hover { - color: #000; - border-color: #000; + color: #000000; + border-color: #000000; +} +.directorist-authentication__form__actions label { + font-size: 14px; + font-weight: 400; + color: #404040; } -.directorist-authentication__form__actions label, .directorist-authentication__form__toggle-area { font-size: 14px; font-weight: 400; @@ -17688,7 +18606,7 @@ input.directorist-toggle-input:checked transition: color 0.3s ease; } .directorist-authentication__form__toggle-area a:hover { - color: #000; + color: #000000; } .directorist-authentication__form__recover-pass-modal { display: none; @@ -17708,9 +18626,9 @@ input.directorist-toggle-input:checked margin: 0 0 20px; } .directorist-authentication__form .directorist-form-element { + border: none; padding: 15px 0; border-radius: 0; - border: none; border-bottom: 1px solid #ececec; } .directorist-authentication__form .directorist-form-group > label { @@ -17725,7 +18643,7 @@ input.directorist-toggle-input:checked cursor: pointer; -webkit-box-shadow: none; box-shadow: none; - color: #000; + color: #000000; font-size: 13px; font-weight: 400; padding: 0 6px; @@ -17747,6 +18665,8 @@ input.directorist-toggle-input:checked opacity: 1; visibility: visible; } + +/* Password toggle */ .directorist-password-group { position: relative; } @@ -17768,9 +18688,12 @@ input.directorist-toggle-input:checked stroke: #888; stroke-width: 2; } + +/* Directorist all authors card */ .directorist-authors-section { position: relative; } + .directorist-content-active .directorist-authors__cards { margin-top: -30px; } @@ -17817,11 +18740,14 @@ input.directorist-toggle-input:checked -webkit-transition: 0.3s ease; transition: 0.3s ease; } -.directorist-content-active .directorist-authors__nav li.active a, .directorist-content-active .directorist-authors__nav li a:hover { border-bottom-color: var(--directorist-color-primary); color: var(--directorist-color-primary); } +.directorist-content-active .directorist-authors__nav li.active a { + border-bottom-color: var(--directorist-color-primary); + color: var(--directorist-color-primary); +} .directorist-content-active .directorist-authors__card { padding: 20px; border-radius: 10px; @@ -17850,7 +18776,7 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-authors__card h2 { font-size: 20px; font-weight: 500; - margin: 0 0 16px !important; + margin: 0 0 16px 0 !important; line-height: normal; } .directorist-content-active .directorist-authors__card h2:before { @@ -17860,7 +18786,7 @@ input.directorist-toggle-input:checked font-size: 14px; font-weight: 400; color: #8f8e9f; - margin: 0 0 15px !important; + margin: 0 0 15px 0 !important; line-height: normal; text-transform: none; letter-spacing: normal; @@ -17890,7 +18816,7 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-authors__card__info-list li a { color: #767792; - border: 0; + border: 0 none; -webkit-box-shadow: none; box-shadow: none; text-decoration: none; @@ -17909,6 +18835,9 @@ input.directorist-toggle-input:checked width: 16px; height: 16px; } +.directorist-content-active .directorist-authors__card__info-list li { + /* Legacy Icon */ +} .directorist-content-active .directorist-authors__card__info-list li @@ -17933,7 +18862,7 @@ input.directorist-toggle-input:checked .directorist-authors__card .directorist-author-social a { - border: 0; + border: 0 none; -webkit-box-shadow: none; box-shadow: none; text-decoration: none; @@ -17943,6 +18872,7 @@ input.directorist-toggle-input:checked .directorist-author-social a:hover { background-color: var(--directorist-color-primary); + /* Legacy Icon */ } .directorist-content-active .directorist-authors__card @@ -17958,7 +18888,7 @@ input.directorist-toggle-input:checked margin-bottom: 20px; } .directorist-content-active .directorist-authors__card .directorist-btn { - border: 0; + border: 0 none; -webkit-box-shadow: none; box-shadow: none; -webkit-transition: 0.3s ease; @@ -17968,25 +18898,22 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-primary); color: var(--directorist-color-white); } + +/* Directorist All author Grid */ .directorist-authors__pagination { margin-top: 25px; } + .select2-selection__arrow, .select2-selection__clear { display: none !important; } + .directorist-select2-addons-area { position: absolute; left: 5px; top: 50%; text-align: center; - cursor: pointer; - -webkit-transform: translateY(-50%); - transform: translateY(-50%); - z-index: 8; -} -.directorist-select2-addon, -.directorist-select2-addons-area { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -17999,29 +18926,58 @@ input.directorist-toggle-input:checked -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + cursor: pointer; + -webkit-transform: translate(0, -50%); + transform: translate(0, -50%); + z-index: 8; } + .directorist-select2-addon { padding: 0 5px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; } -.directorist-select2-dropdown-close, + .directorist-select2-dropdown-toggle { height: auto; width: 25px; } -.directorist-select2-dropdown-close .directorist-icon-mask:after { + +.directorist-select2-dropdown-close { + height: auto; + width: 25px; +} +.directorist-select2-dropdown-close .directorist-icon-mask::after { width: 15px; height: 15px; } -.directorist-select2-addon .directorist-icon-mask:after { + +.directorist-select2-addon .directorist-icon-mask::after { width: 13px; height: 13px; } + .directorist-form-section { font-size: 15px; } + +/* Display Each Grid Info on Single Line */ +.directorist-archive-contents + .directorist-single-line + .directorist-listing-title, .directorist-archive-contents .directorist-single-line - .directorist-listing-single__info__excerpt, + .directorist-listing-tagline, .directorist-archive-contents .directorist-single-line .directorist-listing-single__info__list @@ -18030,14 +18986,12 @@ input.directorist-toggle-input:checked div, .directorist-archive-contents .directorist-single-line - .directorist-listing-tagline, -.directorist-archive-contents - .directorist-single-line - .directorist-listing-title { + .directorist-listing-single__info__excerpt { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } + .directorist-all-listing-btn { display: -webkit-box; display: -webkit-flex; @@ -18060,7 +19014,7 @@ input.directorist-toggle-input:checked -ms-flex: 1; flex: 1; } -.directorist-all-listing-btn .directorist-btn__back i:after { +.directorist-all-listing-btn .directorist-btn__back i::after { width: 16px; height: 16px; } @@ -18081,16 +19035,17 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; } -.directorist-all-listing-btn .directorist-modal-btn--basic i:after { +.directorist-all-listing-btn .directorist-modal-btn--basic i::after { width: 16px; height: 16px; -webkit-transform: rotate(-270deg); transform: rotate(-270deg); } -.directorist-all-listing-btn .directorist-modal-btn--advanced i:after { +.directorist-all-listing-btn .directorist-modal-btn--advanced i::after { width: 16px; height: 16px; } + @media screen and (min-width: 576px) { .directorist-all-listing-btn, .directorist-all-listing-modal { @@ -18143,11 +19098,6 @@ input.directorist-toggle-input:checked display: none; } .directorist-content-active .directorist-listing-single__info__top { - gap: 6px; - width: 100%; -} -.directorist-content-active .directorist-listing-single__info__top, -.directorist-content-active .directorist-listing-single__info__top__left { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -18163,9 +19113,26 @@ input.directorist-toggle-input:checked -webkit-flex: 1; -ms-flex: 1; flex: 1; + gap: 6px; + width: 100%; } .directorist-content-active .directorist-listing-single__info__top__left { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; gap: 10px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; } .directorist-content-active .directorist-listing-single__info__top__right { display: -webkit-box; @@ -18195,9 +19162,6 @@ input.directorist-toggle-input:checked background-color: transparent; color: var(--directorist-color-danger); } -.directorist-content-active - .directorist-listing-single__info__top - .atbd_badge.atbd_badge_open, .directorist-content-active .directorist-listing-single__info__top .directorist-badge.directorist-badge-open { @@ -18206,10 +19170,13 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single__info__top - .directorist-info-item.directorist-rating-meta, + .atbd_badge.atbd_badge_open { + background-color: transparent; + color: var(--directorist-color-success); +} .directorist-content-active .directorist-listing-single__info__top - .directorist-listing-card-posted-on { + .directorist-info-item.directorist-rating-meta { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -18222,6 +19189,14 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-listing-single__info__top .directorist-listing-card-posted-on { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-box-flex: 0; -webkit-flex: 0 0 100%; -ms-flex: 0 0 100%; @@ -18240,8 +19215,7 @@ input.directorist-toggle-input:checked i { display: none; } -.directorist-content-active .directorist-listing-single__info__badges, -.directorist-content-active .directorist-listing-single__info__list { +.directorist-content-active .directorist-listing-single__info__badges { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -18249,6 +19223,11 @@ input.directorist-toggle-input:checked gap: 10px; } .directorist-content-active .directorist-listing-single__info__list { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 10px; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; @@ -18263,8 +19242,8 @@ input.directorist-toggle-input:checked gap: 8px; } } -.directorist-content-active .directorist-listing-single__info__list > div, -.directorist-content-active .directorist-listing-single__info__list li { +.directorist-content-active .directorist-listing-single__info__list li, +.directorist-content-active .directorist-listing-single__info__list > div { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -18277,22 +19256,22 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single__info__list - > div + li .directorist-icon-mask, .directorist-content-active .directorist-listing-single__info__list - li + > div .directorist-icon-mask { position: relative; top: 2px; } .directorist-content-active .directorist-listing-single__info__list - > div + li .directorist-icon-mask:after, .directorist-content-active .directorist-listing-single__info__list - li + > div .directorist-icon-mask:after { width: 16px; height: 16px; @@ -18300,11 +19279,11 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single__info__list - > div + li .directorist-listing-card-info-label, .directorist-content-active .directorist-listing-single__info__list - li + > div .directorist-listing-card-info-label { display: none; } @@ -18627,7 +19606,20 @@ input.directorist-toggle-input:checked justify-content: space-between; border-top: 1px solid var(--directorist-color-border); } -.directorist-content-active .directorist-listing-single__meta__left, +.directorist-content-active .directorist-listing-single__meta__left { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + gap: 20px; +} .directorist-content-active .directorist-listing-single__meta__right { display: -webkit-box; display: -webkit-flex; @@ -18649,7 +19641,7 @@ input.directorist-toggle-input:checked text-decoration: none; font-size: 14px; color: var(--directorist-color-body); - border-bottom: 0; + border-bottom: 0 none; -webkit-box-shadow: none; box-shadow: none; display: -webkit-box; @@ -18693,6 +19685,11 @@ input.directorist-toggle-input:checked height: 15px; background-color: var(--directorist-color-light-gray); } +.directorist-content-active + .directorist-listing-single__meta + .directorist-view-count { + /* Legacy Icon */ +} .directorist-content-active .directorist-listing-single__meta .directorist-view-count @@ -18755,6 +19752,12 @@ input.directorist-toggle-input:checked width: 14px; height: 14px; } +.directorist-content-active + .directorist-listing-single__meta + .directorist-listing-category + > a { + /* Legacy Icon */ +} .directorist-content-active .directorist-listing-single__meta .directorist-listing-category @@ -18793,10 +19796,10 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single__meta - .directorist-listing-card-phone, + .directorist-rating-meta, .directorist-content-active .directorist-listing-single__meta - .directorist-rating-meta { + .directorist-listing-card-phone { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -18836,11 +19839,11 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-listing-single__thumb .directorist-thumnail-card - .directorist-thumnail-card-back-wrap, + .directorist-thumnail-card-front-wrap, .directorist-content-active .directorist-listing-single__thumb .directorist-thumnail-card - .directorist-thumnail-card-front-wrap { + .directorist-thumnail-card-back-wrap { position: absolute; top: 0; bottom: 0; @@ -18854,12 +19857,12 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-listing-single__thumb .directorist-thumnail-card - .directorist-thumnail-card-back-wrap + .directorist-thumnail-card-front-wrap figure, .directorist-content-active .directorist-listing-single__thumb .directorist-thumnail-card - .directorist-thumnail-card-front-wrap + .directorist-thumnail-card-back-wrap figure { width: 100%; height: 100%; @@ -18883,10 +19886,10 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single__thumb - .directorist-thumnail-card-back-img, + .directorist-thumnail-card-front-img, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumnail-card-front-img { + .directorist-thumnail-card-back-img { width: 100%; height: 100%; -o-object-fit: cover; @@ -18925,16 +19928,16 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-left, + .directorist-thumb-top-right, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-right, + .directorist-thumb-top-left, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-left, + .directorist-thumb-bottom-left, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-right { + .directorist-thumb-bottom-right { position: absolute; display: -webkit-box; display: -webkit-flex; @@ -18951,144 +19954,144 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-left + .directorist-thumb-top-right .directorist-compare-btn i, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-left + .directorist-thumb-top-right .directorist-compare-btn - span.fa, + span.la, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-left + .directorist-thumb-top-right .directorist-compare-btn - span.fab, + span.las, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-left + .directorist-thumb-top-right .directorist-compare-btn - span.fas, + span.fa, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-left + .directorist-thumb-top-right .directorist-compare-btn - span.la, + span.fas, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-left + .directorist-thumb-top-right .directorist-compare-btn span.lab, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-left + .directorist-thumb-top-right .directorist-compare-btn - span.las, + span.fab, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-right + .directorist-thumb-top-left .directorist-compare-btn i, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-right + .directorist-thumb-top-left .directorist-compare-btn - span.fa, + span.la, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-right + .directorist-thumb-top-left .directorist-compare-btn - span.fab, + span.las, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-right + .directorist-thumb-top-left .directorist-compare-btn - span.fas, + span.fa, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-right + .directorist-thumb-top-left .directorist-compare-btn - span.la, + span.fas, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-right + .directorist-thumb-top-left .directorist-compare-btn span.lab, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-bottom-right + .directorist-thumb-top-left .directorist-compare-btn - span.las, + span.fab, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-left + .directorist-thumb-bottom-left .directorist-compare-btn i, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-left + .directorist-thumb-bottom-left .directorist-compare-btn - span.fa, + span.la, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-left + .directorist-thumb-bottom-left .directorist-compare-btn - span.fab, + span.las, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-left + .directorist-thumb-bottom-left .directorist-compare-btn - span.fas, + span.fa, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-left + .directorist-thumb-bottom-left .directorist-compare-btn - span.la, + span.fas, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-left + .directorist-thumb-bottom-left .directorist-compare-btn span.lab, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-left + .directorist-thumb-bottom-left .directorist-compare-btn - span.las, + span.fab, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-right + .directorist-thumb-bottom-right .directorist-compare-btn i, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-right + .directorist-thumb-bottom-right .directorist-compare-btn - span.fa, + span.la, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-right + .directorist-thumb-bottom-right .directorist-compare-btn - span.fab, + span.las, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-right + .directorist-thumb-bottom-right .directorist-compare-btn - span.fas, + span.fa, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-right + .directorist-thumb-bottom-right .directorist-compare-btn - span.la, + span.fas, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-right + .directorist-thumb-bottom-right .directorist-compare-btn span.lab, .directorist-content-active .directorist-listing-single__thumb - .directorist-thumb-top-right + .directorist-thumb-bottom-right .directorist-compare-btn - span.las { + span.fab { color: var(--directorist-color-white); } .directorist-content-active @@ -19112,31 +20115,41 @@ input.directorist-toggle-input:checked -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; - padding: 20px 22px 0; + padding: 20px 22px 0 22px; } .directorist-content-active .directorist-listing-single__top__left { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; + gap: 8px; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; flex-wrap: wrap; } -.directorist-content-active .directorist-listing-single__top__left, .directorist-content-active .directorist-listing-single__top__right { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex: 1; gap: 8px; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; + align-items: center; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; -} -.directorist-content-active .directorist-listing-single__top__right { flex-wrap: wrap; + -webkit-box-flex: 1; -webkit-flex: auto; -ms-flex: auto; flex: auto; @@ -19249,7 +20262,7 @@ input.directorist-toggle-input:checked .directorist-listing-single__thumb { margin: 0; position: relative; - padding: 10px 10px 0; + padding: 10px 10px 0 10px; } .directorist-content-active .directorist-listing-single.directorist-listing-card @@ -19381,7 +20394,7 @@ input.directorist-toggle-input:checked .directorist-rating-avg { margin-right: 0; font-size: 12px; - font-weight: 400; + font-weight: normal; } .directorist-content-active .directorist-listing-single.directorist-listing-list @@ -19415,25 +20428,25 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-listing-single__info__list - > div, + > li, .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-listing-single__info__list - > li { + > div { font-size: 12px; line-height: 1.2; gap: 8px; } .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-listing-category__extran-count, + .directorist-view-count, .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-listing-category a, .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-view-count { + .directorist-listing-category__extran-count { font-size: 12px; } .directorist-content-active @@ -19443,13 +20456,13 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-listing-category - > a - .directorist-icon-mask, + .directorist-thumb-listing-author + a, .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-thumb-listing-author - a { + .directorist-listing-category + > a + .directorist-icon-mask { width: 30px; height: 30px; } @@ -19489,7 +20502,7 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-listing-single__thumb { - padding: 10px 10px 0; + padding: 10px 10px 0 10px; } .directorist-content-active .directorist-listing-single.directorist-listing-list @@ -19501,12 +20514,12 @@ input.directorist-toggle-input:checked .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-listing-single__thumb - .directorist-badge - .directorist-icon-mask:after, + .directorist-favorite-icon:before, .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-listing-single__thumb - .directorist-favorite-icon:before { + .directorist-badge + .directorist-icon-mask:after { width: 10px; height: 10px; } @@ -19546,7 +20559,7 @@ input.directorist-toggle-input:checked -webkit-flex: 2; -ms-flex: 2; flex: 2; - padding: 10px 0; + padding: 10px 0 10px; } @media screen and (max-width: 575px) { .directorist-content-active @@ -19601,10 +20614,12 @@ input.directorist-toggle-input:checked } .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-listing-single__info__excerpt, + .directorist-listing-single__info__list { + margin: 10px 0 0; +} .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-listing-single__info__list { + .directorist-listing-single__info__excerpt { margin: 10px 0 0; } @media only screen and (max-width: 575px) { @@ -19769,19 +20784,19 @@ input.directorist-toggle-input:checked .directorist-badge.directorist-badge--only-text, .directorist-content-active .directorist-listing-single.directorist-listing-card - .directorist-badge.directorist-badge-close, + .directorist-badge.directorist-badge-open, .directorist-content-active .directorist-listing-single.directorist-listing-card - .directorist-badge.directorist-badge-open, + .directorist-badge.directorist-badge-close, .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-badge.directorist-badge--only-text, .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-badge.directorist-badge-close, + .directorist-badge.directorist-badge-open, .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-badge.directorist-badge-open { + .directorist-badge.directorist-badge-close { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -19807,19 +20822,19 @@ input.directorist-toggle-input:checked .directorist-badge.directorist-badge--only-text, .directorist-content-active .directorist-listing-single.directorist-listing-card - .directorist-badge.directorist-badge-close, + .directorist-badge.directorist-badge-open, .directorist-content-active .directorist-listing-single.directorist-listing-card - .directorist-badge.directorist-badge-open, + .directorist-badge.directorist-badge-close, .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-badge.directorist-badge--only-text, .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-badge.directorist-badge-close, + .directorist-badge.directorist-badge-open, .directorist-content-active .directorist-listing-single.directorist-listing-list - .directorist-badge.directorist-badge-open { + .directorist-badge.directorist-badge-close { height: 18px; line-height: 18px; font-size: 8px; @@ -20036,6 +21051,7 @@ input.directorist-toggle-input:checked .directorist-listing-single__header__right { margin-top: 15px; } + .directorist-rating-meta { padding: 0; } @@ -20055,10 +21071,12 @@ input.directorist-toggle-input:checked color: var(--directorist-color-light-gray); } .directorist-rating-meta.directorist-info-item-rating i, -.directorist-rating-meta.directorist-info-item-rating span.fa, -.directorist-rating-meta.directorist-info-item-rating span.la { +.directorist-rating-meta.directorist-info-item-rating span.la, +.directorist-rating-meta.directorist-info-item-rating span.fa { margin-right: 4px; } + +/* mark as favorite btn */ .directorist-mark-as-favorite__btn { display: -webkit-box; display: -webkit-flex; @@ -20084,13 +21102,13 @@ input.directorist-toggle-input:checked border: none; cursor: pointer; } -.directorist-mark-as-favorite__btn:focus, -.directorist-mark-as-favorite__btn:hover { +.directorist-mark-as-favorite__btn:hover, +.directorist-mark-as-favorite__btn:focus { outline: 0; text-decoration: none; } -.directorist-mark-as-favorite__btn:focus .directorist-favorite-icon:before, -.directorist-mark-as-favorite__btn:hover .directorist-favorite-icon:before { +.directorist-mark-as-favorite__btn:hover .directorist-favorite-icon:before, +.directorist-mark-as-favorite__btn:focus .directorist-favorite-icon:before { background-color: var(--directorist-color-danger); } .directorist-mark-as-favorite__btn .directorist-favorite-icon { @@ -20109,8 +21127,8 @@ input.directorist-toggle-input:checked } .directorist-mark-as-favorite__btn .directorist-favorite-icon:before { content: ""; - -webkit-mask-image: url(../images/6bf407d27842391bbcd90343624e694b.svg); - mask-image: url(../images/6bf407d27842391bbcd90343624e694b.svg); + -webkit-mask-image: url(../js/../images/6bf407d27842391bbcd90343624e694b.svg); + mask-image: url(../js/../images/6bf407d27842391bbcd90343624e694b.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 15px; @@ -20121,8 +21139,8 @@ input.directorist-toggle-input:checked } .directorist-mark-as-favorite__btn.directorist-added-to-favorite .directorist-favorite-icon:before { - -webkit-mask-image: url(../images/2e589ffc784b0c43089b0222cab8ed4f.svg); - mask-image: url(../images/2e589ffc784b0c43089b0222cab8ed4f.svg); + -webkit-mask-image: url(../js/../images/2e589ffc784b0c43089b0222cab8ed4f.svg); + mask-image: url(../js/../images/2e589ffc784b0c43089b0222cab8ed4f.svg); background-color: var(--directorist-color-danger); } .directorist-mark-as-favorite__btn .directorist-favorite-tooltip span { @@ -20138,7 +21156,7 @@ input.directorist-toggle-input:checked padding: 5px; z-index: 111; } -.directorist-mark-as-favorite__btn .directorist-favorite-tooltip span:before { +.directorist-mark-as-favorite__btn .directorist-favorite-tooltip span::before { content: ""; position: absolute; border-bottom: 8px solid var(--directorist-color-dark); @@ -20147,6 +21165,8 @@ input.directorist-toggle-input:checked left: 8px; top: -7px; } + +/* listing card without thumbnail */ .directorist-listing-single.directorist-listing-no-thumb .directorist-listing-single__header { display: -webkit-box; @@ -20162,7 +21182,7 @@ input.directorist-toggle-input:checked -webkit-align-items: flex-start; -ms-flex-align: start; align-items: flex-start; - padding: 20px 22px 0; + padding: 20px 22px 0 22px; } .directorist-listing-single.directorist-listing-no-thumb .directorist-listing-single__header__left { @@ -20335,7 +21355,7 @@ input.directorist-toggle-input:checked span { text-decoration: none; color: var(--directorist-color-body); - border-bottom: 0; + border-bottom: 0 none; -webkit-box-shadow: none; box-shadow: none; line-height: 1.7; @@ -20400,7 +21420,7 @@ input.directorist-toggle-input:checked a { text-decoration: none; color: var(--directorist-color-body); - border-bottom: 0; + border-bottom: 0 none; -webkit-box-shadow: none; box-shadow: none; line-height: 1.7; @@ -20424,7 +21444,7 @@ input.directorist-toggle-input:checked } .directorist-listing-single.directorist-listing-no-thumb .directorist-listing-single__content { - border: 0; + border: 0 none; padding: 10px 22px 25px; } .directorist-listing-single.directorist-listing-no-thumb @@ -20445,6 +21465,8 @@ input.directorist-toggle-input:checked align-items: center; gap: 6px; } + +/* listing card without thumbnail list view */ .directorist-listing-single.directorist-listing-list .directorist-listing-single__header { width: 100%; @@ -20460,9 +21482,9 @@ input.directorist-toggle-input:checked display: none; } .directorist-listing-single.directorist-listing-list.directorist-listing-no-thumb - .directorist-info-item.directorist-badge.directorist-badge-close, + .directorist-info-item.directorist-badge.directorist-badge-open, .directorist-listing-single.directorist-listing-list.directorist-listing-no-thumb - .directorist-info-item.directorist-badge.directorist-badge-open { + .directorist-info-item.directorist-badge.directorist-badge-close { padding: 0 5px; } .directorist-listing-single.directorist-listing-list.directorist-listing-no-thumb @@ -20470,6 +21492,7 @@ input.directorist-toggle-input:checked width: auto; height: auto; } + .directorist-archive-grid-view.directorist-archive-grid--fix .directorist-all-listing-col { width: 50%; @@ -20480,24 +21503,26 @@ input.directorist-toggle-input:checked width: 100%; } } + .directorist-listing-category { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; } -.directorist-listing-category, .directorist-listing-category__popup { + position: relative; + margin-right: 10px; + cursor: pointer; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } -.directorist-listing-category__popup { - position: relative; - margin-right: 10px; - cursor: pointer; -} .directorist-listing-category__popup__content { display: block; position: absolute; @@ -20525,7 +21550,7 @@ input.directorist-toggle-input:checked right: 40px; bottom: -11px; border: 6px solid transparent; - border-top: 6px solid var(--directorist-color-white); + border-top-color: var(--directorist-color-white); display: inline-block; position: absolute; } @@ -20552,7 +21577,7 @@ input.directorist-toggle-input:checked width: unset; min-width: unset; } -.directorist-listing-category__popup__content a i:after { +.directorist-listing-category__popup__content a i::after { height: 14px; width: 14px; background-color: var(--directorist-color-body); @@ -20561,7 +21586,7 @@ input.directorist-toggle-input:checked color: var(--directorist-color-primary); background-color: var(--directorist-color-light); } -.directorist-listing-category__popup__content a:hover i:after { +.directorist-listing-category__popup__content a:hover i::after { background-color: var(--directorist-color-primary); } .directorist-listing-category__popup:hover @@ -20570,6 +21595,7 @@ input.directorist-toggle-input:checked opacity: 1; pointer-events: all; } + .directorist-listing-single__meta__right .directorist-listing-category__popup__content { right: unset; @@ -20580,6 +21606,7 @@ input.directorist-toggle-input:checked right: unset; left: 40px; } + .directorist-listing-price-range span { font-weight: 600; color: rgba(122, 130, 166, 0.3); @@ -20587,60 +21614,93 @@ input.directorist-toggle-input:checked .directorist-listing-price-range span.directorist-price-active { color: var(--directorist-color-body); } -#gmap.leaflet-container, + #map.leaflet-container, +#gmap.leaflet-container, .directorist-single-map.leaflet-container { direction: ltr; } -#gmap.leaflet-container .leaflet-popup-content-wrapper, #map.leaflet-container .leaflet-popup-content-wrapper, +#gmap.leaflet-container .leaflet-popup-content-wrapper, .directorist-single-map.leaflet-container .leaflet-popup-content-wrapper { border-radius: 8px; padding: 0; } -#gmap.leaflet-container .leaflet-popup-content, #map.leaflet-container .leaflet-popup-content, +#gmap.leaflet-container .leaflet-popup-content, .directorist-single-map.leaflet-container .leaflet-popup-content { margin: 0; line-height: 1; width: 350px !important; } @media only screen and (max-width: 480px) { - #gmap.leaflet-container .leaflet-popup-content, #map.leaflet-container .leaflet-popup-content, + #gmap.leaflet-container .leaflet-popup-content, .directorist-single-map.leaflet-container .leaflet-popup-content { width: 300px !important; } } @media only screen and (max-width: 375px) { - #gmap.leaflet-container .leaflet-popup-content, #map.leaflet-container .leaflet-popup-content, + #gmap.leaflet-container .leaflet-popup-content, .directorist-single-map.leaflet-container .leaflet-popup-content { width: 250px !important; } } -#gmap.leaflet-container - .leaflet-popup-content - .atbdp-listings-title-block - h3.atbdp-no-margin, -#map.leaflet-container - .leaflet-popup-content - .atbdp-listings-title-block - h3.atbdp-no-margin, +#map.leaflet-container .leaflet-popup-content .atbdp-map.atbdp-body img, +#gmap.leaflet-container .leaflet-popup-content .atbdp-map.atbdp-body img, .directorist-single-map.leaflet-container .leaflet-popup-content - .atbdp-listings-title-block - h3.atbdp-no-margin { - font-size: 14px; - margin: 0 0 10px; + .atbdp-map.atbdp-body + img { + width: 100%; } -#gmap.leaflet-container .leaflet-popup-content .osm-iw-location, -#map.leaflet-container .leaflet-popup-content .osm-iw-location, +#map.leaflet-container .leaflet-popup-content .media-body, +#gmap.leaflet-container .leaflet-popup-content .media-body, +.directorist-single-map.leaflet-container .leaflet-popup-content .media-body { + padding: 10px 15px; +} +#map.leaflet-container .leaflet-popup-content .media-body a, +#gmap.leaflet-container .leaflet-popup-content .media-body a, +.directorist-single-map.leaflet-container .leaflet-popup-content .media-body a { + text-decoration: none; +} +#map.leaflet-container .leaflet-popup-content .media-body h3 a, +#gmap.leaflet-container .leaflet-popup-content .media-body h3 a, .directorist-single-map.leaflet-container .leaflet-popup-content - .osm-iw-location { - margin-bottom: 6px; - display: -webkit-box; + .media-body + h3 + a { + font-weight: 500; + line-height: 1.2; + color: #272b41; + letter-spacing: normal; + font-size: 18px; + text-decoration: none; +} +#map.leaflet-container + .leaflet-popup-content + .atbdp-listings-title-block + h3.atbdp-no-margin, +#gmap.leaflet-container + .leaflet-popup-content + .atbdp-listings-title-block + h3.atbdp-no-margin, +.directorist-single-map.leaflet-container + .leaflet-popup-content + .atbdp-listings-title-block + h3.atbdp-no-margin { + font-size: 14px; + margin: 0 0 10px; +} +#map.leaflet-container .leaflet-popup-content .osm-iw-location, +#gmap.leaflet-container .leaflet-popup-content .osm-iw-location, +.directorist-single-map.leaflet-container + .leaflet-popup-content + .osm-iw-location { + margin-bottom: 6px; + display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; @@ -20649,11 +21709,11 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; } -#gmap.leaflet-container +#map.leaflet-container .leaflet-popup-content .osm-iw-location .directorist-icon-mask, -#map.leaflet-container +#gmap.leaflet-container .leaflet-popup-content .osm-iw-location .directorist-icon-mask, @@ -20664,8 +21724,8 @@ input.directorist-toggle-input:checked display: inline-block; margin-left: 4px; } -#gmap.leaflet-container .leaflet-popup-content .osm-iw-get-location, #map.leaflet-container .leaflet-popup-content .osm-iw-get-location, +#gmap.leaflet-container .leaflet-popup-content .osm-iw-get-location, .directorist-single-map.leaflet-container .leaflet-popup-content .osm-iw-get-location { @@ -20678,11 +21738,11 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; } -#gmap.leaflet-container +#map.leaflet-container .leaflet-popup-content .osm-iw-get-location .directorist-icon-mask, -#map.leaflet-container +#gmap.leaflet-container .leaflet-popup-content .osm-iw-get-location .directorist-icon-mask, @@ -20693,32 +21753,33 @@ input.directorist-toggle-input:checked display: inline-block; margin-right: 5px; } -#gmap.leaflet-container .leaflet-popup-content .atbdp-map, #map.leaflet-container .leaflet-popup-content .atbdp-map, +#gmap.leaflet-container .leaflet-popup-content .atbdp-map, .directorist-single-map.leaflet-container .leaflet-popup-content .atbdp-map { + margin: 0; line-height: 1; width: 350px !important; } -#gmap.leaflet-container .leaflet-popup-content .atbdp-map.atbdp-body img, #map.leaflet-container .leaflet-popup-content .atbdp-map.atbdp-body img, +#gmap.leaflet-container .leaflet-popup-content .atbdp-map.atbdp-body img, .directorist-single-map.leaflet-container .leaflet-popup-content .atbdp-map.atbdp-body img { width: 100%; } -#gmap.leaflet-container .leaflet-popup-content .media-body, #map.leaflet-container .leaflet-popup-content .media-body, +#gmap.leaflet-container .leaflet-popup-content .media-body, .directorist-single-map.leaflet-container .leaflet-popup-content .media-body { padding: 10px 15px; } -#gmap.leaflet-container .leaflet-popup-content .media-body a, #map.leaflet-container .leaflet-popup-content .media-body a, +#gmap.leaflet-container .leaflet-popup-content .media-body a, .directorist-single-map.leaflet-container .leaflet-popup-content .media-body a { text-decoration: none; } -#gmap.leaflet-container .leaflet-popup-content .media-body h3 a, #map.leaflet-container .leaflet-popup-content .media-body h3 a, +#gmap.leaflet-container .leaflet-popup-content .media-body h3 a, .directorist-single-map.leaflet-container .leaflet-popup-content .media-body @@ -20731,12 +21792,12 @@ input.directorist-toggle-input:checked font-size: 18px; text-decoration: none; } -#gmap.leaflet-container +#map.leaflet-container .leaflet-popup-content .media-body .atbdp-listings-title-block h3.atbdp-no-margin, -#map.leaflet-container +#gmap.leaflet-container .leaflet-popup-content .media-body .atbdp-listings-title-block @@ -20749,8 +21810,8 @@ input.directorist-toggle-input:checked font-size: 14px; margin: 0 0 10px; } -#gmap.leaflet-container .leaflet-popup-content .media-body .osm-iw-location, #map.leaflet-container .leaflet-popup-content .media-body .osm-iw-location, +#gmap.leaflet-container .leaflet-popup-content .media-body .osm-iw-location, .directorist-single-map.leaflet-container .leaflet-popup-content .media-body @@ -20765,12 +21826,12 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; } -#gmap.leaflet-container +#map.leaflet-container .leaflet-popup-content .media-body .osm-iw-location .directorist-icon-mask, -#map.leaflet-container +#gmap.leaflet-container .leaflet-popup-content .media-body .osm-iw-location @@ -20783,8 +21844,8 @@ input.directorist-toggle-input:checked display: inline-block; margin-left: 4px; } -#gmap.leaflet-container .leaflet-popup-content .media-body .osm-iw-get-location, #map.leaflet-container .leaflet-popup-content .media-body .osm-iw-get-location, +#gmap.leaflet-container .leaflet-popup-content .media-body .osm-iw-get-location, .directorist-single-map.leaflet-container .leaflet-popup-content .media-body @@ -20798,12 +21859,12 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; } -#gmap.leaflet-container +#map.leaflet-container .leaflet-popup-content .media-body .osm-iw-get-location .directorist-icon-mask, -#map.leaflet-container +#gmap.leaflet-container .leaflet-popup-content .media-body .osm-iw-get-location @@ -20816,24 +21877,24 @@ input.directorist-toggle-input:checked display: inline-block; margin-right: 5px; } -#gmap.leaflet-container .leaflet-popup-content .atbdp-map, #map.leaflet-container .leaflet-popup-content .atbdp-map, +#gmap.leaflet-container .leaflet-popup-content .atbdp-map, .directorist-single-map.leaflet-container .leaflet-popup-content .atbdp-map { margin: 0; } -#gmap.leaflet-container .leaflet-popup-content .map-info-wrapper img, #map.leaflet-container .leaflet-popup-content .map-info-wrapper img, +#gmap.leaflet-container .leaflet-popup-content .map-info-wrapper img, .directorist-single-map.leaflet-container .leaflet-popup-content .map-info-wrapper img { width: 100%; } -#gmap.leaflet-container +#map.leaflet-container .leaflet-popup-content .map-info-wrapper .map-info-details, -#map.leaflet-container +#gmap.leaflet-container .leaflet-popup-content .map-info-wrapper .map-info-details, @@ -20843,12 +21904,12 @@ input.directorist-toggle-input:checked .map-info-details { padding: 15px; } -#gmap.leaflet-container +#map.leaflet-container .leaflet-popup-content .map-info-wrapper .map-info-details h3, -#map.leaflet-container +#gmap.leaflet-container .leaflet-popup-content .map-info-wrapper .map-info-details @@ -20862,13 +21923,13 @@ input.directorist-toggle-input:checked margin-bottom: 0; margin-top: 0; } -#gmap.leaflet-container +#map.leaflet-container .leaflet-popup-content .map-info-wrapper .map-info-details .miw-contents-footer .iw-close-btn, -#map.leaflet-container +#gmap.leaflet-container .leaflet-popup-content .map-info-wrapper .map-info-details @@ -20882,8 +21943,8 @@ input.directorist-toggle-input:checked .iw-close-btn { display: none; } -#gmap.leaflet-container .leaflet-popup-close-button, #map.leaflet-container .leaflet-popup-close-button, +#gmap.leaflet-container .leaflet-popup-close-button, .directorist-single-map.leaflet-container .leaflet-popup-close-button { position: absolute; width: 25px; @@ -20914,30 +21975,33 @@ input.directorist-toggle-input:checked padding: 0; display: none; } -#gmap.leaflet-container .leaflet-popup-close-button:hover, #map.leaflet-container .leaflet-popup-close-button:hover, +#gmap.leaflet-container .leaflet-popup-close-button:hover, .directorist-single-map.leaflet-container .leaflet-popup-close-button:hover { background-color: #444752; } -#gmap.leaflet-container .leaflet-popup-tip-container, #map.leaflet-container .leaflet-popup-tip-container, +#gmap.leaflet-container .leaflet-popup-tip-container, .directorist-single-map.leaflet-container .leaflet-popup-tip-container { display: none; } + .directorist-single-map .gm-style-iw-c, .directorist-single-map .gm-style-iw-d { max-height: unset !important; } -.directorist-single-map .gm-style-iw-chr, -.directorist-single-map .gm-style-iw-tc { +.directorist-single-map .gm-style-iw-tc, +.directorist-single-map .gm-style-iw-chr { display: none; } + .map-listing-card-single { position: relative; padding: 10px; border-radius: 8px; - -webkit-box-shadow: 0 5px 20px rgba(var(--directorist-color-dark-rgb), 0.33); - box-shadow: 0 5px 20px rgba(var(--directorist-color-dark-rgb), 0.33); + -webkit-box-shadow: 0px 5px 20px + rgba(var(--directorist-color-dark-rgb), 0.33); + box-shadow: 0px 5px 20px rgba(var(--directorist-color-dark-rgb), 0.33); background-color: var(--directorist-color-white); } .map-listing-card-single figure { @@ -20954,7 +22018,7 @@ input.directorist-toggle-input:checked } .map-listing-card-single .directorist-mark-as-favorite__btn - .directorist-favorite-icon:before { + .directorist-favorite-icon::before { width: 16px; height: 16px; } @@ -21093,13 +22157,17 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-gray-hover); } .map-listing-card-single__content__info { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 10px; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; } -.map-listing-card-single__content__info, .map-listing-card-single__content__info .directorist-info-item { display: -webkit-box; display: -webkit-flex; @@ -21139,6 +22207,7 @@ input.directorist-toggle-input:checked .map-listing-card-single__content__location a:not(:first-child) { margin-right: 5px; } + .leaflet-popup-content-wrapper .leaflet-popup-content .map-info-wrapper @@ -21146,11 +22215,13 @@ input.directorist-toggle-input:checked .iw-close-btn { display: none; } + .myDivIcon { text-align: center !important; line-height: 20px !important; position: relative; } + .atbd_map_shape { position: relative; display: -webkit-box; @@ -21185,20 +22256,21 @@ input.directorist-toggle-input:checked transition: all 0.3s ease-in-out; border: none; border: 40px solid rgba(var(--directorist-color-marker-shape-rgb), 0.2); - -webkit-animation: atbd_scale 3s linear infinite alternate; - animation: atbd_scale 3s linear infinite alternate; + -webkit-animation: atbd_scale 3s linear alternate infinite; + animation: atbd_scale 3s linear alternate infinite; } .atbd_map_shape .directorist-icon-mask:after { width: 16px; height: 16px; background-color: var(--directorist-color-marker-icon); - -webkit-mask-image: url(../images/ed83bad2b8ea2a7680575ff079fc63af.svg); - mask-image: url(../images/ed83bad2b8ea2a7680575ff079fc63af.svg); + -webkit-mask-image: url(../js/../images/ed83bad2b8ea2a7680575ff079fc63af.svg); + mask-image: url(../js/../images/ed83bad2b8ea2a7680575ff079fc63af.svg); } .atbd_map_shape:hover:before { opacity: 1; visibility: visible; } + .marker-cluster-shape { width: 35px; height: 35px; @@ -21232,8 +22304,10 @@ input.directorist-toggle-input:checked background: rgba(var(--directorist-color-marker-shape-rgb), 0.15); border-radius: 50%; } -.atbd_google_map .gm-style .gm-style-iw, + +/*style the box*/ .atbdp-map .gm-style .gm-style-iw, +.atbd_google_map .gm-style .gm-style-iw, .directorist-details-info-wrap .gm-style .gm-style-iw { width: 350px; padding: 0; @@ -21243,35 +22317,37 @@ input.directorist-toggle-input:checked max-height: none !important; } @media only screen and (max-width: 375px) { - .atbd_google_map .gm-style .gm-style-iw, .atbdp-map .gm-style .gm-style-iw, + .atbd_google_map .gm-style .gm-style-iw, .directorist-details-info-wrap .gm-style .gm-style-iw { width: 275px; max-width: unset !important; } } -.atbd_google_map .gm-style .gm-style-iw .gm-style-iw-d, .atbdp-map .gm-style .gm-style-iw .gm-style-iw-d, +.atbd_google_map .gm-style .gm-style-iw .gm-style-iw-d, .directorist-details-info-wrap .gm-style .gm-style-iw .gm-style-iw-d { overflow: hidden !important; max-height: 100% !important; } -.atbd_google_map .gm-style .gm-style-iw button.gm-ui-hover-effect, .atbdp-map .gm-style .gm-style-iw button.gm-ui-hover-effect, +.atbd_google_map .gm-style .gm-style-iw button.gm-ui-hover-effect, .directorist-details-info-wrap .gm-style .gm-style-iw button.gm-ui-hover-effect { display: none !important; } -.atbd_google_map .gm-style .gm-style-iw .map-info-wrapper--show, .atbdp-map .gm-style .gm-style-iw .map-info-wrapper--show, +.atbd_google_map .gm-style .gm-style-iw .map-info-wrapper--show, .directorist-details-info-wrap .gm-style .gm-style-iw .map-info-wrapper--show { display: block !important; } + .gm-style div[aria-label="Map"] div[role="button"] { display: none; } + .directorist-report-abuse-modal .directorist-modal__header { padding: 20px 0 15px; } @@ -21279,7 +22355,8 @@ input.directorist-toggle-input:checked .directorist-modal__header .directorist-modal-title { font-size: 1.75rem; - margin: 0 0 0.5rem; + margin: 0; + margin-bottom: 0.5rem; font-weight: 500; line-height: 1.2; color: var(--directorist-color-dark); @@ -21368,9 +22445,9 @@ input.directorist-toggle-input:checked .directorist-modal__footer .directorist-btn.directorist-btn-loading:after { content: ""; - border-radius: 50%; border: 2px solid #f3f3f3; - border-top-color: #656a7a; + border-radius: 50%; + border-top: 2px solid #656a7a; width: 20px; height: 20px; -webkit-animation: rotate360 2s linear infinite; @@ -21381,35 +22458,36 @@ input.directorist-toggle-input:checked top: 4px; } .directorist-report-abuse-modal .directorist-modal__content { - padding: 20px 30px; + padding: 20px 30px 20px; } .directorist-report-abuse-modal #directorist-report-abuse-form { text-align: right; } -.atbd_rated_stars ul, -.directorist-rated-stars ul { + +.directorist-rated-stars ul, +.atbd_rated_stars ul { margin: 0; padding: 0; } -.atbd_rated_stars li, -.directorist-rated-stars li { +.directorist-rated-stars li, +.atbd_rated_stars li { display: inline-block; padding: 0; margin: 0; } -.atbd_rated_stars span, -.directorist-rated-stars span { +.directorist-rated-stars span, +.atbd_rated_stars span { color: #d4d3f3; display: block; width: 14px; height: 14px; position: relative; } -.atbd_rated_stars span:before, -.directorist-rated-stars span:before { +.directorist-rated-stars span:before, +.atbd_rated_stars span:before { content: ""; - -webkit-mask-image: url(../images/9a1043337f37b65647d77feb64df21dd.svg); - mask-image: url(../images/9a1043337f37b65647d77feb64df21dd.svg); + -webkit-mask-image: url(../js/../images/9a1043337f37b65647d77feb64df21dd.svg); + mask-image: url(../js/../images/9a1043337f37b65647d77feb64df21dd.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 15px; @@ -21419,10 +22497,11 @@ input.directorist-toggle-input:checked right: 0; top: 0; } -.atbd_rated_stars span.directorist-rate-active:before, -.directorist-rated-stars span.directorist-rate-active:before { +.directorist-rated-stars span.directorist-rate-active:before, +.atbd_rated_stars span.directorist-rate-active:before { background-color: var(--directorist-color-warning); } + .directorist-single .directorist-single-listing-top button:not(:hover):not(:active):not( @@ -21440,12 +22519,15 @@ input.directorist-toggle-input:checked background-color: transparent; } } + .directorist-listing-details .directorist-listing-single { - border: 0; + border: 0 none; } + .directorist-single-listing-notice { margin-bottom: 15px; } + .directorist-single-tag-list li { margin: 0 0 10px; } @@ -21486,6 +22568,9 @@ input.directorist-toggle-input:checked .directorist-single-tag-list a .directorist-icon-mask:after { font-size: 15px; } +.directorist-single-tag-list a { + /* Legacy Icon */ +} .directorist-single-tag-list a > span:not(.directorist-icon-mask) { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -21515,6 +22600,7 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-primary); color: var(--directorist-color-white); } + .directorist-single-dummy-shortcode { width: 100%; background-color: #556166; @@ -21526,6 +22612,7 @@ input.directorist-toggle-input:checked font-size: 16px; line-height: 1.2; } + .directorist-sidebar .directorist-search-contents { display: -webkit-box; display: -webkit-flex; @@ -21608,775 +22695,84 @@ input.directorist-toggle-input:checked li { margin-top: 0; } -.directorist-single-listing-top { - gap: 20px; - margin: 15px 0 30px; - -webkit-box-align: start; - -webkit-align-items: flex-start; - -ms-flex-align: start; - align-items: flex-start; -} -@media screen and (max-width: 575px) { - .directorist-single-listing-top { - gap: 10px; - } + +.directorist-single-wrapper + .formgent-form-general + .formgent-field-list--frontend { + padding: 0; } -.directorist-single-listing-top .directorist-return-back { - gap: 8px; - margin: 0; - -webkit-box-flex: unset; - -webkit-flex: unset; - -ms-flex: unset; - flex: unset; - min-width: 120px; - text-decoration: none; - -webkit-box-pack: start; - -webkit-justify-content: flex-start; - -ms-flex-pack: start; - justify-content: flex-start; - border: 2px solid var(--directorist-color-white); +.directorist-single-wrapper .formgent-file-upload-progress-text { + min-width: 40px; } -@media screen and (max-width: 575px) { - .directorist-single-listing-top .directorist-return-back { - border: none; - min-width: auto; - } +.directorist-single-wrapper + .formgent-file-preview-action + .formgent-file-delete { + line-height: 1; } -.directorist-single-listing-top - .directorist-return-back - .directorist-single-listing-action__text { - display: block; + +.directorist-single-author-info figure { + margin: 0; } -@media screen and (max-width: 575px) { - .directorist-single-listing-top - .directorist-return-back - .directorist-single-listing-action__text { - display: none; - } +.directorist-single-author-info .diretorist-view-profile-btn { + margin-top: 22px; + padding: 0 30px; } -.directorist-single-listing-top__btn-wrapper { - position: fixed; - width: 100%; - height: 80px; - bottom: 0; - right: 0; + +.directorist-single-author-avatar { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; - background-color: rgba(0, 0, 0, 0.8); - z-index: 999; -} -.directorist-single-listing-top__btn-continue.directorist-btn { - height: 46px; - border-radius: 8px; - font-size: 15px; - font-weight: 600; - padding: 0 25px; - background-color: #394dff !important; - color: var(--directorist-color-white); -} -.directorist-single-listing-top__btn-continue.directorist-btn:hover { - background-color: #2a3cd9 !important; - color: var(--directorist-color-white); - border-color: var(--directorist-color-white) !important; -} -.directorist-single-listing-top__btn-continue.directorist-btn - .directorist-single-listing-action__text { - display: block; -} -.directorist-single-contents-area { - -webkit-box-sizing: border-box; - box-sizing: border-box; } -.directorist-single-contents-area .directorist-card { - padding: 0; - -webkit-filter: none; - filter: none; - margin-bottom: 35px; +.directorist-single-author-avatar .directorist-single-author-avatar-inner { + margin-left: 10px; + width: auto; } -.directorist-single-contents-area .directorist-card .directorist-card__body { - padding: 30px; +.directorist-single-author-avatar .directorist-single-author-avatar-inner img { + width: 50px; + height: 50px; + border-radius: 50%; } -@media screen and (max-width: 575px) { - .directorist-single-contents-area - .directorist-card - .directorist-card__body { - padding: 20px 15px; - } +.directorist-single-author-avatar .directorist-single-author-name h1, +.directorist-single-author-avatar .directorist-single-author-name h2, +.directorist-single-author-avatar .directorist-single-author-name h3, +.directorist-single-author-avatar .directorist-single-author-name h4, +.directorist-single-author-avatar .directorist-single-author-name h5, +.directorist-single-author-avatar .directorist-single-author-name h6 { + font-size: 16px; + font-weight: 500; + line-height: 1.2; + letter-spacing: normal; + margin: 0 0 3px; + color: var(--color-dark); } -.directorist-single-contents-area .directorist-card .directorist-card__header { - padding: 20px 30px; +.directorist-single-author-avatar .directorist-single-author-membership { + font-size: 14px; + color: var(--directorist-color-light-gray); } -@media screen and (max-width: 575px) { - .directorist-single-contents-area - .directorist-card - .directorist-card__header { - padding: 15px 20px; - } + +.directorist-single-author-contact-info { + margin-top: 15px; } -.directorist-single-contents-area - .directorist-card - .directorist-single-author-name - h4 { +.directorist-single-author-contact-info ul { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; margin: 0; + padding: 0; } -.directorist-single-contents-area .directorist-card__header__title { - gap: 12px; - font-size: 18px; - font-weight: 500; - color: var(--directorist-color-dark); -} -.directorist-single-contents-area - .directorist-card__header__title - #directorist-review-counter { - margin-left: 10px; -} -.directorist-single-contents-area .directorist-card__header-icon { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - min-width: 34px; - height: 34px; - border-radius: 50%; - background-color: var(--directorist-color-bg-light); -} -.directorist-single-contents-area - .directorist-card__header-icon - .directorist-icon-mask { - color: var(--directorist-color-dark); -} -.directorist-single-contents-area - .directorist-card__header-icon - .directorist-icon-mask:after { - width: 14px; - height: 14px; -} -.directorist-single-contents-area .directorist-details-info-wrap a { - font-size: 15px; - text-decoration: none; - -webkit-box-shadow: none; - box-shadow: none; - color: var(--directorist-color-body); -} -.directorist-single-contents-area .directorist-details-info-wrap a:hover { - color: var(--directorist-color-primary); -} -.directorist-single-contents-area .directorist-details-info-wrap ul { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - gap: 0 10px; - margin: 0; - list-style-type: none; - padding: 0; -} -.directorist-single-contents-area .directorist-details-info-wrap li { - -webkit-box-flex: 0; - -webkit-flex: 0 0 49%; - -ms-flex: 0 0 49%; - flex: 0 0 49%; -} -.directorist-single-contents-area - .directorist-details-info-wrap - .directorist-social-links - a:hover { - background-color: var(--directorist-color-primary); -} -.directorist-single-contents-area - .directorist-details-info-wrap - .directorist-single-map__location { - padding-top: 18px; -} -.directorist-single-contents-area - .directorist-single-info__label-icon - .directorist-icon-mask:after { - background-color: grey; -} -.directorist-single-contents-area - .directorist-single-listing-slider - .directorist-swiper__nav - i:after { - background-color: var(--directorist-color-white); -} -.directorist-single-contents-area .directorist-related { - padding: 0; -} -.directorist-single-contents-area { - margin-top: 50px; -} -.directorist-single-contents-area - .directorist-single-wrapper - .directorist-details-info-wrap { - gap: 12px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -} -.directorist-single-contents-area - .directorist-single-wrapper - .directorist-details-info-wrap - .directorist-single-info { - margin: 0; -} -.directorist-single-contents-area - .directorist-single-wrapper - .directorist-details-info-wrap - .directorist-single-info.directorist-single-info-number - .directorist-form-group__with-prefix { - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; -} -.directorist-single-contents-area - .directorist-single-wrapper - .directorist-details-info-wrap - .directorist-single-info - .directorist-form-group__with-prefix { - border: none; - margin-top: 4px; -} -.directorist-single-contents-area - .directorist-single-wrapper - .directorist-details-info-wrap - .directorist-single-info - .directorist-form-group__prefix { - height: auto; - line-height: unset; - color: var(--directorist-color-body); -} -.directorist-single-contents-area - .directorist-single-wrapper - .directorist-single-formgent-form - .formgent-form { - width: 100%; -} -.directorist-single-contents-area .directorist-card { - margin-bottom: 25px; -} -.directorist-single-map__location { - gap: 10px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - padding: 30px 0 0; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; -} -@media screen and (max-width: 575px) { - .directorist-single-map__location { - padding: 20px 0 0; - } -} -.directorist-single-map__address { - gap: 10px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - font-size: 14px; -} -.directorist-single-map__address i:after { - width: 14px; - height: 14px; - margin-top: 4px; -} -.directorist-single-map__direction a { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 10px; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; -} -.directorist-single-contents-area .directorist-single-map__direction a { - font-size: 14px; - color: var(--directorist-color-info); -} -.directorist-single-contents-area - .directorist-single-map__direction - a - .directorist-icon-mask:after { - background-color: var(--directorist-color-info); -} -.directorist-single-contents-area .directorist-single-map__direction a:hover { - color: var(--directorist-color-primary); -} -.directorist-single-contents-area - .directorist-single-map__direction - a:hover - .directorist-icon-mask:after { - background-color: var(--directorist-color-primary); -} -.directorist-single-contents-area - .directorist-single-map__direction - .directorist-icon-mask:after { - width: 14px; - height: 14px; - background-color: var(--directorist-color-info); -} -.directorist-single-listing-header { - margin-bottom: 25px; - margin-top: -15px; - padding: 0; -} -.directorist-single-wrapper .directorist-listing-single__info { - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; -} -.directorist-single-wrapper .directorist-single-listing-slider-wrap { - padding: 0; - margin: 15px 0; -} -.directorist-single-wrapper - .directorist-single-listing-slider-wrap.background-contain - .directorist-single-listing-slider - .swiper-slide - img { - -o-object-fit: contain; - object-fit: contain; -} -.directorist-single-listing-quick-action { - width: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; -} -@media screen and (max-width: 767px) { - .directorist-single-listing-quick-action { - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - } -} -@media screen and (max-width: 575px) { - .directorist-single-listing-quick-action { - gap: 12px; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - } -} -.directorist-single-listing-quick-action .directorist-social-share { - position: relative; -} -.directorist-single-listing-quick-action - .directorist-social-share:hover - .directorist-social-share-links { - opacity: 1; - visibility: visible; - top: calc(100% + 5px); -} -@media screen and (max-width: 575px) { - .directorist-single-listing-quick-action .directorist-action-bookmark, - .directorist-single-listing-quick-action .directorist-action-report, - .directorist-single-listing-quick-action .directorist-social-share { - font-size: 0; - } -} -.directorist-single-listing-quick-action .directorist-social-share-links { - position: absolute; - -webkit-transition: all 0.2s ease-in-out; - transition: all 0.2s ease-in-out; - z-index: 2; - visibility: hidden; - opacity: 0; - left: 0; - top: calc(100% + 30px); - background-color: var(--directorist-color-white); - border-radius: 8px; - width: 150px; - -webkit-box-shadow: 0 5px 15px rgba(var(--directorist-color-dark-rgb), 0.15); - box-shadow: 0 5px 15px rgba(var(--directorist-color-dark-rgb), 0.15); - list-style-type: none; - padding: 10px; - margin: 0; -} -.directorist-single-listing-quick-action .directorist-social-links__item { - padding-right: 0; - margin: 0; -} -.directorist-single-listing-quick-action .directorist-social-links__item a { - padding: 8px 12px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 5px; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - text-decoration: none; - font-size: 14px; - font-weight: 500; - border: 0; - border-radius: 8px; - color: var(--directorist-color-body); - -webkit-transition: 0.3s ease; - transition: 0.3s ease; -} -.directorist-single-listing-quick-action .directorist-social-links__item a i, -.directorist-single-listing-quick-action - .directorist-social-links__item - a - span.fa, -.directorist-single-listing-quick-action - .directorist-social-links__item - a - span.la, -.directorist-single-listing-quick-action - .directorist-social-links__item - a - span.lab { - color: var(--directorist-color-body); -} -.directorist-single-listing-quick-action - .directorist-social-links__item - a - i:after, -.directorist-single-listing-quick-action - .directorist-social-links__item - a - span.fa:after, -.directorist-single-listing-quick-action - .directorist-social-links__item - a - span.la:after, -.directorist-single-listing-quick-action - .directorist-social-links__item - a - span.lab:after { - width: 18px; - height: 18px; -} -.directorist-single-listing-quick-action - .directorist-social-links__item - a - .directorist-icon-mask:after { - background-color: var(--directorist-color-body); -} -.directorist-single-listing-quick-action - .directorist-social-links__item - a - span.fa { - font-family: Font Awesome\5 Brands; - font-weight: 900; - font-size: 15px; -} -.directorist-single-listing-quick-action - .directorist-social-links__item - a:hover { - font-weight: 500; - background-color: rgba(var(--directorist-color-primary-rgb), 0.1); - color: var(--directorist-color-primary); -} -.directorist-single-listing-quick-action - .directorist-social-links__item - a:hover - i, -.directorist-single-listing-quick-action - .directorist-social-links__item - a:hover - span.fa, -.directorist-single-listing-quick-action - .directorist-social-links__item - a:hover - span.la { - color: var(--directorist-color-primary); -} -.directorist-single-listing-quick-action - .directorist-social-links__item - a:hover - .directorist-icon-mask:after { - background-color: var(--directorist-color-primary); -} -.directorist-single-listing-quick-action - .directorist-listing-single__quick-actions { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; -} -.directorist-single-listing-action { - gap: 8px; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - font-size: 13px; - font-weight: 400; - border: 0; - border-radius: 8px; - padding: 0 16px; - cursor: pointer; - text-decoration: none; - color: var(--directorist-color-body); - border: 2px solid var(--directorist-color-white) !important; - -webkit-transition: background-color 0.2s ease-in-out; - transition: background-color 0.2s ease-in-out; -} -.directorist-single-listing-action:hover { - background-color: var(--directorist-color-white) !important; - border-color: var(--directorist-color-primary) !important; -} -@media screen and (max-width: 575px) { - .directorist-single-listing-action { - gap: 0; - border: none; - } - .directorist-single-listing-action.directorist-btn.directorist-btn-light { - background-color: var(--directorist-color-white); - border: 1px solid var(--directorist-color-light) !important; - } - .directorist-single-listing-action.directorist-single-listing-top__btn-edit - .directorist-single-listing-action__text { - display: none; - } -} -@media screen and (max-width: 480px) { - .directorist-single-listing-action { - padding: 0 10px; - font-size: 12px; - } -} -@media screen and (max-width: 380px) { - .directorist-single-listing-action.directorist-btn-sm { - min-height: 38px; - } -} -.directorist-single-listing-action.directorist-action-bookmark - .directorist-icon-mask:after { - background-color: var(--directorist-color-dark); -} -.directorist-single-listing-action.directorist-action-bookmark - .directorist-icon-mask.directorist-added-to-favorite:after { - background-color: var(--directorist-color-danger); -} -.directorist-single-listing-action .directorist-icon-mask:after { - width: 15px; - height: 15px; -} -.directorist-single-listing-action a { - -webkit-box-shadow: none; - box-shadow: none; -} -.directorist-single-listing-action .atbdp-require-login, -.directorist-single-listing-action .directorist-action-report-not-loggedin { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - width: 100%; - height: 100%; -} -.directorist-single-listing-action .atbdp-require-login i, -.directorist-single-listing-action .directorist-action-report-not-loggedin i { - pointer-events: none; -} -.directorist-listing-details { - margin: 15px 0 30px; -} -.directorist-listing-details__text p { - margin: 0 0 15px; - color: var(--directorist-color-body); - line-height: 24px; -} -.directorist-listing-details__text ul { - list-style: disc; - padding-right: 20px; - margin-right: 0; -} -.directorist-listing-details__text li { - list-style: disc; -} -.directorist-listing-details__listing-title { - font-size: 30px; - font-weight: 600; - display: inline-block; - margin: 15px 0 0; - color: var(--directorist-color-dark); -} -@media screen and (max-width: 575px) { - .directorist-listing-details__listing-title { - font-size: 24px; - } -} -.directorist-listing-details__tagline { - margin: 10px 0; - color: var(--directorist-color-body); -} -.directorist-listing-details - .directorist-pricing-meta - .directorist-listing-price { - padding: 5px 10px; - border-radius: 6px; - background-color: var(--directorist-color-light); -} -.directorist-listing-details .directorist-listing-single__info { - padding: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; -} -.directorist-single-contents-area .directorist-embaded-video { - width: 100%; - height: 400px; - border: 0; - border-radius: 12px; -} -@media (max-width: 768px) { - .directorist-single-contents-area .directorist-embaded-video { - height: 56.25vw; - } -} -.directorist-single-contents-area .directorist-single-map { - border-radius: 12px; - z-index: 1; -} -.directorist-single-contents-area - .directorist-single-map - .directorist-info-item - a { - font-size: 14px; -} -.directorist-related-listing-header h1, -.directorist-related-listing-header h2, -.directorist-related-listing-header h3, -.directorist-related-listing-header h4, -.directorist-related-listing-header h5, -.directorist-related-listing-header h6 { - font-size: 18px; - margin: 0 0 15px; -} -.directorist-single-author-info figure { - margin: 0; -} -.directorist-single-author-info .diretorist-view-profile-btn { - margin-top: 22px; - padding: 0 30px; -} -.directorist-single-author-avatar { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; -} -.directorist-single-author-avatar .directorist-single-author-avatar-inner { - margin-left: 10px; - width: auto; -} -.directorist-single-author-avatar .directorist-single-author-avatar-inner img { - width: 50px; - height: 50px; - border-radius: 50%; -} -.directorist-single-author-avatar .directorist-single-author-name h1, -.directorist-single-author-avatar .directorist-single-author-name h2, -.directorist-single-author-avatar .directorist-single-author-name h3, -.directorist-single-author-avatar .directorist-single-author-name h4, -.directorist-single-author-avatar .directorist-single-author-name h5, -.directorist-single-author-avatar .directorist-single-author-name h6 { - font-size: 16px; - font-weight: 500; - line-height: 1.2; - letter-spacing: normal; - margin: 0 0 3px; - color: var(--color-dark); -} -.directorist-single-author-avatar .directorist-single-author-membership { - font-size: 14px; - color: var(--directorist-color-light-gray); -} -.directorist-single-author-contact-info { - margin-top: 15px; -} -.directorist-single-author-contact-info ul { - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - margin: 0; - padding: 0; -} -.directorist-single-author-contact-info ul li { - width: 100%; - -webkit-box-flex: 100%; - -webkit-flex: 100%; - -ms-flex: 100%; - flex: 100%; +.directorist-single-author-contact-info ul li { + width: 100%; + -webkit-box-flex: 100%; + -webkit-flex: 100%; + -ms-flex: 100%; + flex: 100%; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -22398,11 +22794,12 @@ input.directorist-toggle-input:checked .directorist-single-author-contact-info ul a:hover { color: var(--directorist-color-primary); } -.directorist-single-author-contact-info ul .directorist-icon-mask:after { +.directorist-single-author-contact-info ul .directorist-icon-mask::after { width: 14px; height: 14px; background-color: var(--directorist-color-light-gray); } + .directorist-single-author-contact-info-text { font-size: 15px; margin-right: 12px; @@ -22410,6 +22807,7 @@ input.directorist-toggle-input:checked box-shadow: none; color: var(--directorist-color-body); } + .directorist-single-author-info .directorist-social-wrap { display: -webkit-box; display: -webkit-flex; @@ -22427,9 +22825,10 @@ input.directorist-toggle-input:checked border-radius: 4px; color: var(--directorist-color-white) !important; overflow: hidden; - -webkit-transition: all 0.3s ease-in-out !important; - transition: all 0.3s ease-in-out !important; + -webkit-transition: all ease-in-out 300ms !important; + transition: all ease-in-out 300ms !important; } + .directorist-details-info-wrap .directorist-single-info { display: -webkit-box; display: -webkit-flex; @@ -22566,6 +22965,7 @@ input.directorist-toggle-input:checked display: none; } } + .directorist-social-links { display: -webkit-box; display: -webkit-flex; @@ -22594,13 +22994,13 @@ input.directorist-toggle-input:checked background-color: var(--directorist-color-light); border-radius: 8px; overflow: hidden; - -webkit-transition: all 0.3s ease-in-out !important; - transition: all 0.3s ease-in-out !important; + -webkit-transition: all ease-in-out 300ms !important; + transition: all ease-in-out 300ms !important; } -.directorist-social-links a .directorist-icon-mask:after { +.directorist-social-links a .directorist-icon-mask::after { background-color: var(--directorist-color-body); } -.directorist-social-links a:hover .directorist-icon-mask:after { +.directorist-social-links a:hover .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .directorist-social-links a:hover.facebook { @@ -22611,7 +23011,7 @@ input.directorist-toggle-input:checked } .directorist-social-links a:hover.youtube, .directorist-social-links a:hover.youtube-play { - background-color: red; + background-color: #ff0000; } .directorist-social-links a:hover.instagram { background-color: #c32aa3; @@ -22653,10 +23053,13 @@ input.directorist-toggle-input:checked .directorist-social-links a:hover.behance { background-color: #196ee3; } -.directorist-social-links a:hover.soundcloud, +.directorist-social-links a:hover.soundcloud { + background-color: #ff5500; +} .directorist-social-links a:hover.stack-overflow { - background-color: #f50; + background-color: #ff5500; } + .directorist-contact-owner-form-inner .directorist-form-group { margin-bottom: 15px; } @@ -22671,9 +23074,11 @@ input.directorist-toggle-input:checked text-decoration: none; text-transform: capitalize; } + .directorist-author-social a .fa { - font-family: Font Awesome\5 Brands; + font-family: "Font Awesome 5 Brands"; } + .directorist-google-map, .directorist-single-map { height: 400px; @@ -22684,6 +23089,7 @@ input.directorist-toggle-input:checked height: 320px; } } + .directorist-rating-review-block { display: inline-block; border: 1px solid #e3e6ef; @@ -22691,12 +23097,14 @@ input.directorist-toggle-input:checked border-radius: 2px; margin-bottom: 20px; } + .directorist-review-area .directorist-review-form-action { margin-top: 16px; } .directorist-review-area .directorist-form-group-guest-user { margin-top: 12px; } + .directorist-rating-given-block .directorist-rating-given-block__label, .directorist-rating-given-block .directorist-rating-given-block__stars { display: inline-block; @@ -22709,26 +23117,29 @@ input.directorist-toggle-input:checked box-shadow: none; } .directorist-rating-given-block .directorist-rating-given-block__label { + margin-left: 10px; margin: 0 0 0 10px; } + .directorist-rating-given-block__stars .br-widget a:before { content: ""; - -webkit-mask-image: url(../images/c8cb6a06142934b1fac8df29a41ebf7c.svg); - mask-image: url(../images/c8cb6a06142934b1fac8df29a41ebf7c.svg); + -webkit-mask-image: url(../js/../images/c8cb6a06142934b1fac8df29a41ebf7c.svg); + mask-image: url(../js/../images/c8cb6a06142934b1fac8df29a41ebf7c.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 14px; height: 14px; background-color: #d4d3f3; } -.directorist-rating-given-block__stars .br-widget a.br-active:before, -.directorist-rating-given-block__stars .br-widget a.br-selected:before { +.directorist-rating-given-block__stars .br-widget a.br-selected:before, +.directorist-rating-given-block__stars .br-widget a.br-active:before { color: var(--directorist-color-warning); } .directorist-rating-given-block__stars .br-current-rating { display: inline-block; margin-right: 20px; } + .directorist-review-current-rating { margin-bottom: 16px; } @@ -22756,7 +23167,7 @@ input.directorist-toggle-input:checked span:before { content: "\f005"; font-size: 14px; - font-family: Font Awesome\5 Free; + font-family: "Font Awesome 5 Free"; font-weight: 900; } .directorist-review-current-rating @@ -22764,6 +23175,7 @@ input.directorist-toggle-input:checked span.directorist-rate-active { color: #fa8b0c; } + .directorist-single-review { padding-bottom: 26px; padding-top: 30px; @@ -22811,6 +23223,7 @@ input.directorist-toggle-input:checked span.directorist-rate-active { color: #fa8b0c; } + .atbdp-universal-pagination ul { display: -webkit-box; display: -webkit-flex; @@ -22819,15 +23232,12 @@ input.directorist-toggle-input:checked -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; - -ms-flex-align: center; - margin: -5px; - padding: 0; -} -.atbdp-universal-pagination li, -.atbdp-universal-pagination ul { -webkit-box-align: center; -webkit-align-items: center; + -ms-flex-align: center; align-items: center; + margin: -5px; + padding: 0; } .atbdp-universal-pagination li { -webkit-box-flex: 0; @@ -22841,7 +23251,10 @@ input.directorist-toggle-input:checked display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; -ms-flex-align: center; + align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; @@ -22858,7 +23271,10 @@ input.directorist-toggle-input:checked .atbdp-universal-pagination li.atbd-active { cursor: pointer; } -.atbdp-universal-pagination li.atbd-active:hover, +.atbdp-universal-pagination li.atbd-active:hover { + border-color: var(--directorist-color-primary); + color: var(--directorist-color-primary); +} .atbdp-universal-pagination li.atbd-selected { border-color: var(--directorist-color-primary); color: var(--directorist-color-primary); @@ -22905,21 +23321,27 @@ input.directorist-toggle-input:checked opacity: 0; right: 30%; } + .directorist-card-review-block .directorist-btn-add-review { padding: 0 14px; line-height: 2.55; } + +/*================================== +Review: New Style +===================================*/ .directorist-review-container { padding: 0; margin-bottom: 35px; } -.directorist-review-container .comment-form-cookies-consent, -.directorist-review-container .comment-notes { +.directorist-review-container .comment-notes, +.directorist-review-container .comment-form-cookies-consent { margin-bottom: 20px; font-style: italic; font-size: 14px; - font-weight: 400; + font-weight: normal; } + .directorist-review-content a > i { font-size: 13.5px; } @@ -22932,10 +23354,10 @@ input.directorist-toggle-input:checked margin-right: 15px; color: var(--directorist-color-deep-gray); } -.directorist-review-content #cancel-comment-reply-link:focus, .directorist-review-content #cancel-comment-reply-link:hover, -.directorist-review-content .directorist-js-cancel-comment-edit:focus, -.directorist-review-content .directorist-js-cancel-comment-edit:hover { +.directorist-review-content #cancel-comment-reply-link:focus, +.directorist-review-content .directorist-js-cancel-comment-edit:hover, +.directorist-review-content .directorist-js-cancel-comment-edit:focus { color: var(--directorist-color-dark); } @media screen and (max-width: 575px) { @@ -23006,7 +23428,7 @@ input.directorist-toggle-input:checked .directorist-review-content .directorist-review-content__header .directorist-btn - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .directorist-review-content @@ -23028,7 +23450,14 @@ input.directorist-toggle-input:checked color: #2c99ff; } .directorist-review-content .directorist-review-content__overview { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; -ms-flex-align: center; + align-items: center; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; @@ -23038,23 +23467,20 @@ input.directorist-toggle-input:checked justify-content: space-between; padding: 30px 50px; } -.directorist-review-content .directorist-review-content__overview, -.directorist-review-content .directorist-review-content__overview__rating { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - align-items: center; -} .directorist-review-content .directorist-review-content__overview__rating { -webkit-box-flex: 0; -webkit-flex: 0 0 50%; -ms-flex: 0 0 50%; flex: 0 0 50%; text-align: center; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; -ms-flex-align: center; + align-items: center; } .directorist-review-content .directorist-review-content__overview__rating @@ -23103,8 +23529,8 @@ input.directorist-toggle-input:checked height: 100%; position: absolute; right: 0; - -webkit-mask-image: url(../images/b6ad67158aa2d6258e619021127e704f.svg); - mask-image: url(../images/b6ad67158aa2d6258e619021127e704f.svg); + -webkit-mask-image: url(../js/../images/b6ad67158aa2d6258e619021127e704f.svg); + mask-image: url(../js/../images/b6ad67158aa2d6258e619021127e704f.svg); background-color: #ef8000; } .directorist-review-content @@ -23219,7 +23645,7 @@ input.directorist-toggle-input:checked .directorist-review-content .directorist-review-content__reviews, .directorist-review-content .directorist-review-content__reviews ul { padding: 0; - margin: 10px 0 0; + margin: 10px 0 0 0; list-style-type: none; } .directorist-review-content .directorist-review-content__reviews li, @@ -23242,7 +23668,7 @@ input.directorist-toggle-input:checked } .directorist-review-content .directorist-review-content__reviews - .directorist-comment-edit-request:after { + .directorist-comment-edit-request::after { content: ""; display: block; position: absolute; @@ -23251,12 +23677,12 @@ input.directorist-toggle-input:checked height: 100%; width: 100%; z-index: 99; - background-color: hsla(0, 0%, 100%, 0.8); + background-color: rgba(255, 255, 255, 0.8); border-radius: 4px; } .directorist-review-content .directorist-review-content__reviews - .directorist-comment-edit-request:before { + .directorist-comment-edit-request::before { position: absolute; z-index: 100; right: 50%; @@ -23274,15 +23700,15 @@ input.directorist-toggle-input:checked .directorist-review-content .directorist-review-content__reviews .directorist-comment-editing - .directorist-review-single__content, + .directorist-review-single__report, .directorist-review-content .directorist-review-content__reviews .directorist-comment-editing - .directorist-review-single__reply, + .directorist-review-single__content, .directorist-review-content .directorist-review-content__reviews .directorist-comment-editing - .directorist-review-single__report { + .directorist-review-single__reply { display: none; } .directorist-review-content @@ -23402,14 +23828,14 @@ input.directorist-toggle-input:checked .directorist-review-single__contents-wrap .directorist-review-single__header .directorist-review-single__author__details - h2:after, + h2:before, .directorist-review-content .directorist-review-content__reviews .directorist-review-single .directorist-review-single__contents-wrap .directorist-review-single__header .directorist-review-single__author__details - h2:before { + h2:after { content: none; } .directorist-review-content @@ -23431,7 +23857,7 @@ input.directorist-toggle-input:checked .directorist-review-single__header .directorist-review-single__author__details h2 - time:before { + time::before { content: "-"; padding-left: 8px; padding-right: 3px; @@ -23462,7 +23888,7 @@ input.directorist-toggle-input:checked .directorist-review-single__header .directorist-review-single__author__details .directorist-rating-stars - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 11px; height: 11px; background-color: #ef8000; @@ -23581,7 +24007,7 @@ input.directorist-toggle-input:checked .directorist-review-content__reviews .directorist-review-single__reply a.directorist-comment-edit-link - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 0.9em; height: 0.9em; background-color: #8c90a4; @@ -23603,7 +24029,7 @@ input.directorist-toggle-input:checked .directorist-review-content__reviews .directorist-review-single__comments .directorist-review-single--comment - .directorist-review-single__contents-wrap:before { + .directorist-review-single__contents-wrap::before { content: ""; height: 100%; background-color: #f2f2f2; @@ -23618,7 +24044,7 @@ input.directorist-toggle-input:checked .directorist-review-submit { margin-top: 0 !important; margin-bottom: 0 !important; - border: 0 !important; + border: 0 none !important; } .directorist-review-content .directorist-review-content__reviews @@ -23653,7 +24079,7 @@ input.directorist-toggle-input:checked margin: 25px 0 0; } .directorist-review-content .directorist-review-content__pagination ul { - border: 0; + border: 0 none; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -23708,6 +24134,7 @@ input.directorist-toggle-input:checked .page-numbers.current { border-color: #090e30; } + .directorist-review-submit { margin-top: 25px; margin-bottom: 25px; @@ -23716,6 +24143,21 @@ input.directorist-toggle-input:checked border: 1px solid #eff1f6; } .directorist-review-submit__header { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; gap: 15px; } .directorist-review-submit__header h3 { @@ -23748,12 +24190,20 @@ input.directorist-toggle-input:checked } .directorist-review-submit__header .directorist-btn - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 13px; height: 13px; background-color: var(--directorist-color-white); } .directorist-review-submit__overview { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; @@ -23762,21 +24212,18 @@ input.directorist-toggle-input:checked -ms-flex-pack: justify; justify-content: space-between; padding: 30px 50px; - border-top: 0; + border-top: 0 none; } -.directorist-review-submit__overview, .directorist-review-submit__overview__rating { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + gap: 20px; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -} -.directorist-review-submit__overview__rating { - gap: 20px; text-align: center; } @media (max-width: 480px) { @@ -23812,7 +24259,7 @@ input.directorist-toggle-input:checked margin-bottom: 5px; color: var(--directorist-color-warning); } -.directorist-review-submit__overview__rating .directorist-icon-mask:after { +.directorist-review-submit__overview__rating .directorist-icon-mask::after { width: 16px; height: 16px; background-color: var(--directorist-color-warning); @@ -23828,8 +24275,8 @@ input.directorist-toggle-input:checked height: 100%; position: absolute; right: 0; - -webkit-mask-image: url(../images/b6ad67158aa2d6258e619021127e704f.svg); - mask-image: url(../images/b6ad67158aa2d6258e619021127e704f.svg); + -webkit-mask-image: url(../js/../images/b6ad67158aa2d6258e619021127e704f.svg); + mask-image: url(../js/../images/b6ad67158aa2d6258e619021127e704f.svg); background-color: var(--directorist-color-warning); } .directorist-review-submit__overview__rating .directorist-rating-overall { @@ -23884,8 +24331,9 @@ input.directorist-toggle-input:checked .directorist-review-submit__reviews, .directorist-review-submit__reviews ul { padding: 0; + margin: 10px 0 0 0; list-style-type: none; - margin: 10px 0 0; + margin-right: 0; } .directorist-review-submit > li { border-top: 1px solid var(--directorist-color-border); @@ -23893,7 +24341,7 @@ input.directorist-toggle-input:checked .directorist-review-submit .directorist-comment-edit-request { position: relative; } -.directorist-review-submit .directorist-comment-edit-request:after { +.directorist-review-submit .directorist-comment-edit-request::after { content: ""; display: block; position: absolute; @@ -23902,7 +24350,7 @@ input.directorist-toggle-input:checked height: 100%; width: 100%; z-index: 99; - background-color: hsla(0, 0%, 100%, 0.8); + background-color: rgba(255, 255, 255, 0.8); border-radius: 4px; } .directorist-review-submit .directorist-comment-edit-request > li { @@ -23924,7 +24372,7 @@ input.directorist-toggle-input:checked height: 100%; width: 100%; z-index: 99; - background-color: hsla(0, 0%, 100%, 0.8); + background-color: rgba(255, 255, 255, 0.8); border-radius: 4px; } .directorist-review-submit @@ -23944,23 +24392,25 @@ input.directorist-toggle-input:checked -webkit-animation: directoristCommentEditLoading 0.6s linear infinite; animation: directoristCommentEditLoading 0.6s linear infinite; } + .directorist-review-single .directorist-comment-editing - .directorist-review-single__actions, + .directorist-review-single__report, .directorist-review-single .directorist-comment-editing .directorist-review-single__content, .directorist-review-single .directorist-comment-editing - .directorist-review-single__report { + .directorist-review-single__actions { display: none; } + .directorist-review-content__pagination { padding: 0; margin: 25px 0 35px; } .directorist-review-content__pagination ul { - border: 0; + border: 0 none; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -24007,6 +24457,7 @@ input.directorist-toggle-input:checked .directorist-review-content__pagination li .page-numbers.current { border-color: #090e30; } + .directorist-review-single { padding: 40px 30px; margin: 0; @@ -24032,6 +24483,10 @@ input.directorist-toggle-input:checked font-style: normal; } .directorist-review-single .directorist-review-single__header { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; @@ -24040,9 +24495,11 @@ input.directorist-toggle-input:checked -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; margin-bottom: 20px; } -.directorist-review-single .directorist-review-single__header, .directorist-review-single__author { display: -webkit-box; display: -webkit-flex; @@ -24051,8 +24508,6 @@ input.directorist-toggle-input:checked -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; -} -.directorist-review-single__author { -webkit-box-align: start; -webkit-align-items: flex-start; -ms-flex-align: start; @@ -24147,9 +24602,6 @@ input.directorist-toggle-input:checked display: -webkit-flex; display: -ms-flexbox; display: flex; -} -.directorist-review-single__actions, -.directorist-review-single__actions a { -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; @@ -24161,6 +24613,10 @@ input.directorist-toggle-input:checked display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; background: none; margin: 0 8px; color: var(--directorist-color-deep-gray); @@ -24168,7 +24624,7 @@ input.directorist-toggle-input:checked .directorist-review-single__actions a .directorist-icon-mask { margin-left: 6px; } -.directorist-review-single__actions a .directorist-icon-mask:after { +.directorist-review-single__actions a .directorist-icon-mask::after { width: 13.5px; height: 13.5px; background-color: var(--directorist-color-deep-gray); @@ -24194,7 +24650,7 @@ input.directorist-toggle-input:checked .directorist-review-single .directorist-review-submit { margin-top: 0; margin-bottom: 0; - border: 0; + border: 0 none; -webkit-box-shadow: 0 0; box-shadow: 0 0; } @@ -24249,6 +24705,7 @@ input.directorist-toggle-input:checked content: ""; background-color: var(--directorist-color-border-gray); } + .directorist-review-submit__header { display: -webkit-box; display: -webkit-flex; @@ -24356,8 +24813,8 @@ input.directorist-toggle-input:checked } .directorist-review-submit__form .directorist-review-criteria__single a:before { content: ""; - -webkit-mask-image: url(../images/c8cb6a06142934b1fac8df29a41ebf7c.svg); - mask-image: url(../images/c8cb6a06142934b1fac8df29a41ebf7c.svg); + -webkit-mask-image: url(../js/../images/c8cb6a06142934b1fac8df29a41ebf7c.svg); + mask-image: url(../js/../images/c8cb6a06142934b1fac8df29a41ebf7c.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; width: 14px; @@ -24371,10 +24828,10 @@ input.directorist-toggle-input:checked } .directorist-review-submit__form .directorist-review-criteria__single - a.br-active, + a.br-selected, .directorist-review-submit__form .directorist-review-criteria__single - a.br-selected { + a.br-active { background-color: var(--directorist-color-warning) !important; text-decoration: none; outline: 0; @@ -24407,8 +24864,8 @@ input.directorist-toggle-input:checked color: var(--directorist-color-dark); margin-bottom: 5px; } -.directorist-review-submit__form .directorist-form-group input[type="email"], .directorist-review-submit__form .directorist-form-group input[type="text"], +.directorist-review-submit__form .directorist-form-group input[type="email"], .directorist-review-submit__form .directorist-form-group input[type="url"] { height: 46px; background-color: var(--directorist-color-white); @@ -24416,10 +24873,10 @@ input.directorist-toggle-input:checked } .directorist-review-submit__form .directorist-form-group - input[type="email"]::-webkit-input-placeholder, + input[type="text"]::-webkit-input-placeholder, .directorist-review-submit__form .directorist-form-group - input[type="text"]::-webkit-input-placeholder, + input[type="email"]::-webkit-input-placeholder, .directorist-review-submit__form .directorist-form-group input[type="url"]::-webkit-input-placeholder { @@ -24427,10 +24884,10 @@ input.directorist-toggle-input:checked } .directorist-review-submit__form .directorist-form-group - input[type="email"]::-moz-placeholder, + input[type="text"]::-moz-placeholder, .directorist-review-submit__form .directorist-form-group - input[type="text"]::-moz-placeholder, + input[type="email"]::-moz-placeholder, .directorist-review-submit__form .directorist-form-group input[type="url"]::-moz-placeholder { @@ -24438,10 +24895,10 @@ input.directorist-toggle-input:checked } .directorist-review-submit__form .directorist-form-group - input[type="email"]:-ms-input-placeholder, + input[type="text"]:-ms-input-placeholder, .directorist-review-submit__form .directorist-form-group - input[type="text"]:-ms-input-placeholder, + input[type="email"]:-ms-input-placeholder, .directorist-review-submit__form .directorist-form-group input[type="url"]:-ms-input-placeholder { @@ -24449,10 +24906,10 @@ input.directorist-toggle-input:checked } .directorist-review-submit__form .directorist-form-group - input[type="email"]::-ms-input-placeholder, + input[type="text"]::-ms-input-placeholder, .directorist-review-submit__form .directorist-form-group - input[type="text"]::-ms-input-placeholder, + input[type="email"]::-ms-input-placeholder, .directorist-review-submit__form .directorist-form-group input[type="url"]::-ms-input-placeholder { @@ -24460,10 +24917,10 @@ input.directorist-toggle-input:checked } .directorist-review-submit__form .directorist-form-group - input[type="email"]::placeholder, + input[type="text"]::placeholder, .directorist-review-submit__form .directorist-form-group - input[type="text"]::placeholder, + input[type="email"]::placeholder, .directorist-review-submit__form .directorist-form-group input[type="url"]::placeholder { @@ -24663,20 +25120,23 @@ input.directorist-toggle-input:checked .directorist-review-submit .directorist-btn { padding: 0 20px; } + .directorist-review-content + .directorist-review-submit.directorist-review-submit--hidden { display: none !important; } + @-webkit-keyframes directoristCommentEditLoading { to { - -webkit-transform: rotate(-1turn); - transform: rotate(-1turn); + -webkit-transform: rotate(-360deg); + transform: rotate(-360deg); } } + @keyframes directoristCommentEditLoading { to { - -webkit-transform: rotate(-1turn); - transform: rotate(-1turn); + -webkit-transform: rotate(-360deg); + transform: rotate(-360deg); } } .directorist-favourite-items-wrap { @@ -24786,7 +25246,7 @@ input.directorist-toggle-input:checked .directorist-favourite-items-wrap .directorist-dashboard-items-list__single .directorist-listing-category - i, + span.la, .directorist-favourite-items-wrap .directorist-dashboard-items-list__single .directorist-listing-category @@ -24798,7 +25258,7 @@ input.directorist-toggle-input:checked .directorist-favourite-items-wrap .directorist-dashboard-items-list__single .directorist-listing-category - span.la { + i { margin-left: 6px; color: var(--directorist-color-light-gray); } @@ -24838,7 +25298,7 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; border-radius: 8px; - padding: 0 14px; + padding: 0px 14px; color: var(--directorist-color-white) !important; line-height: 2.65; opacity: 0; @@ -24856,6 +25316,11 @@ input.directorist-toggle-input:checked .directorist-icon-mask:after { background-color: var(--directorist-color-white); } +.directorist-favourite-items-wrap + .directorist-dashboard-items-list__single__action + .directorist-favourite-remove-btn { + /* Legacy Icon */ +} .directorist-favourite-items-wrap .directorist-dashboard-items-list__single__action .directorist-favourite-remove-btn @@ -24870,6 +25335,7 @@ input.directorist-toggle-input:checked visibility: visible; } } + .directorist-user-dashboard { width: 100% !important; max-width: 100% !important; @@ -24889,7 +25355,7 @@ input.directorist-toggle-input:checked } .directorist-user-dashboard__toggle__link { border: 1px solid #e3e6ef; - padding: 6.5px 8px; + padding: 6.5px 8px 6.5px; border-radius: 8px; display: inline-block; outline: 0; @@ -24911,6 +25377,8 @@ input.directorist-toggle-input:checked margin-top: 15px; margin-bottom: 0; } + +/* user dashboard loader */ #directorist-dashboard-preloader { height: 100%; right: 0; @@ -24930,17 +25398,18 @@ input.directorist-toggle-input:checked width: 64px; height: 64px; margin: 8px; + border: 8px solid var(--directorist-color-primary); border-radius: 50%; -webkit-animation: rotate360 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite; animation: rotate360 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite; - border: 8px solid transparent; - border-top: 8px solid var(--directorist-color-primary); + border-color: var(--directorist-color-primary) transparent transparent + transparent; right: 50%; top: 50%; -webkit-transform: translate(50%, -50%); transform: translate(50%, -50%); } -#directorist-dashboard-preloader div:first-child { +#directorist-dashboard-preloader div:nth-child(1) { -webkit-animation-delay: -0.45s; animation-delay: -0.45s; } @@ -24952,6 +25421,8 @@ input.directorist-toggle-input:checked -webkit-animation-delay: -0.15s; animation-delay: -0.15s; } + +/* My listing tab */ .directorist-user-dashboard-tab__nav { display: -webkit-box; display: -webkit-flex; @@ -25062,12 +25533,12 @@ input.directorist-toggle-input:checked } .directorist-user-dashboard-tab .directorist-user-dashboard-search__icon - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 16px; height: 16px; } .directorist-user-dashboard-tab .directorist-user-dashboard-search input { - border: 0; + border: 0 none; border-radius: 18px; font-size: 14px; font-weight: 400; @@ -25088,6 +25559,7 @@ input.directorist-toggle-input:checked min-width: unset; } } + .directorist-user-dashboard-tabcontent { background-color: var(--directorist-color-white); -webkit-box-shadow: var(--directorist-box-shadow); @@ -25103,7 +25575,7 @@ input.directorist-toggle-input:checked .directorist-listing-table .directorist-table { display: table; - border: 0; + border: 0 none; border-collapse: collapse; border-spacing: 0; empty-cells: show; @@ -25270,7 +25742,7 @@ input.directorist-toggle-input:checked font-weight: 400; color: var(--directorist-color-body); padding: 12.5px 22px; - border: 0; + border: 0 none; } .directorist-user-dashboard-tabcontent .directorist-listing-table tr th { letter-spacing: 1.1px; @@ -25426,7 +25898,7 @@ input.directorist-toggle-input:checked .directorist-listing-table .directorist-actions a.directorist-link-btn - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 16px; height: 16px; background-color: var(--directorist-color-info); @@ -25486,7 +25958,7 @@ input.directorist-toggle-input:checked .directorist-listing-table .directorist-dropdown { position: relative; - border: 0; + border: 0 none; } .directorist-user-dashboard-tabcontent .directorist-listing-table @@ -25514,7 +25986,7 @@ input.directorist-toggle-input:checked .directorist-dropdown-menu { min-width: 230px; border: 1px solid #eff1f6; - padding: 0 0 10px; + padding: 0 0 10px 0; border-radius: 6px; } .directorist-user-dashboard-tabcontent @@ -25618,18 +26090,18 @@ input.directorist-toggle-input:checked .directorist-user-dashboard-tabcontent .directorist_dashboard_category li:not(:last-child) { - margin-left: 0; + margin-left: 0px; margin-bottom: 4px; } .directorist-user-dashboard-tabcontent .directorist_dashboard_category li i, .directorist-user-dashboard-tabcontent .directorist_dashboard_category li - span.fa, + span.fas, .directorist-user-dashboard-tabcontent .directorist_dashboard_category li - span.fas, + span.fa, .directorist-user-dashboard-tabcontent .directorist_dashboard_category li @@ -25652,13 +26124,14 @@ input.directorist-toggle-input:checked -webkit-justify-content: flex-end; -ms-flex-pack: end; justify-content: flex-end; - margin: 2px 22px 0; + margin: 2px 22px 0 22px; padding: 30px 0 40px; border-top: 1px solid #eff1f6; } .directorist-user-dashboard-tabcontent .directorist-dashboard-pagination .page-numbers { + margin: 4px; padding: 0; line-height: normal; height: 40px; @@ -25692,20 +26165,20 @@ input.directorist-toggle-input:checked } .directorist-user-dashboard-tabcontent .directorist-dashboard-pagination - .page-numbers.current, + .page-numbers:hover, .directorist-user-dashboard-tabcontent .directorist-dashboard-pagination - .page-numbers:hover { + .page-numbers.current { border-color: var(--directorist-color-primary); color: var(--directorist-color-primary); } .directorist-user-dashboard-tabcontent .directorist-dashboard-pagination - .page-numbers.current + .page-numbers:hover .directorist-icon-mask:after, .directorist-user-dashboard-tabcontent .directorist-dashboard-pagination - .page-numbers:hover + .page-numbers.current .directorist-icon-mask:after { background-color: var(--directorist-color-primary); } @@ -25717,6 +26190,7 @@ input.directorist-toggle-input:checked height: 14px; background-color: var(--directorist-color-body); } + .directorist-user-dashboard__contents.directorist-tab-content-grid-fix .directorist-user-dashboard-tabcontent .directorist-listing-table @@ -25786,12 +26260,14 @@ input.directorist-toggle-input:checked -ms-flex-align: center; align-items: center; } + .directorist-table-responsive { display: block !important; width: 100%; overflow-x: auto; overflow-y: visible; } + @media (max-width: 767px) { .directorist-user-dashboard-tab .directorist-user-dashboard-tab__nav { -webkit-box-orient: vertical; @@ -25816,6 +26292,8 @@ input.directorist-toggle-input:checked color: var(--directorist-color-primary); background: rgba(var(--directorist-color-primary), 0.1); } + +/* become author modal */ .directorist-become-author-modal { position: fixed; width: 100%; @@ -25875,7 +26353,7 @@ input.directorist-toggle-input:checked display: inline-block; color: var(--directorist-color-white); text-align: center; - margin: 10px 5px 0; + margin: 10px 5px 0 5px; min-width: 100px; padding: 8px 0 !important; border-radius: 3px; @@ -25889,19 +26367,18 @@ input.directorist-toggle-input:checked background-color: #eee; display: inline-block; text-align: center; - margin: 10px 5px 0; + margin: 10px 5px 0 5px; min-width: 100px; padding: 8px 0 !important; border-radius: 3px; } .directorist-become-author-modal span.directorist-become-author__loader { - border-left: 2px solid var(--directorist-color-primary); + border: 2px solid var(--directorist-color-primary); width: 15px; height: 15px; display: inline-block; border-radius: 50%; - border: 2px solid var(--directorist-color-primary); - border-left-color: var(--directorist-color-white); + border-left: 2px solid var(--directorist-color-white); -webkit-animation: rotate360 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite; animation: rotate360 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite; visibility: hidden; @@ -25911,10 +26388,12 @@ input.directorist-toggle-input:checked visibility: visible; opacity: 1; } + #directorist-become-author-success { color: #388e3c !important; margin-bottom: 15px !important; } + .directorist-shade { position: fixed; top: 0; @@ -25930,6 +26409,7 @@ input.directorist-toggle-input:checked display: block; z-index: 21; } + .table.atbd_single_saved_item { margin: 0; background-color: var(--directorist-color-white); @@ -25959,6 +26439,7 @@ input.directorist-toggle-input:checked border-radius: 8px; display: inline-block; } + .directorist-user-dashboard__nav { min-width: 230px; padding: 20px 10px; @@ -26025,6 +26506,7 @@ input.directorist-toggle-input:checked -webkit-transition: 0.3s ease; transition: 0.3s ease; } + .directorist-tab__nav__items { list-style-type: none; padding: 0; @@ -26046,35 +26528,41 @@ input.directorist-toggle-input:checked padding-right: 25px; text-decoration: none; } + .directorist-tab__nav__link { font-size: 14px; border-radius: 4px; padding: 10px; outline: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; color: var(--directorist-color-body); text-decoration: none; } -.directorist-tab__nav__link, .directorist-tab__nav__link .directorist_menuItem-text { + pointer-events: none; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; -} -.directorist-tab__nav__link .directorist_menuItem-text { - pointer-events: none; gap: 10px; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; } .directorist-tab__nav__link .directorist_menuItem-text @@ -26101,6 +26589,8 @@ input.directorist-toggle-input:checked .directorist-tab__nav__link:focus.atbd-dash-nav-dropdown { background-color: transparent; } + +/* user dashboard sidebar nav action */ .directorist-tab__nav__action { margin-top: 15px; } @@ -26110,20 +26600,26 @@ input.directorist-toggle-input:checked .directorist-tab__nav__action .directorist-btn:not(:last-child) { margin-bottom: 15px; } + +/* user dashboard tab style */ .directorist-tab__pane { display: none; } .directorist-tab__pane.directorist-tab__pane--active { display: block; } + #dashboard_profile #user_profile_form.directorist-profile-responsive - .directorist-col-lg-3, + .directorist-col-lg-3 { + width: 100%; +} #dashboard_profile #user_profile_form.directorist-profile-responsive .directorist-col-lg-9 { width: 100%; } + .directorist-image-profile-wrap { padding: 25px; background-color: var(--directorist-color-white); @@ -26151,7 +26647,7 @@ input.directorist-toggle-input:checked .directorist-image-profile-wrap .directorist-profile-uploader .ezmu__front-item__close-icon - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 16px; height: 16px; } @@ -26164,19 +26660,21 @@ input.directorist-toggle-input:checked mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; - -webkit-mask-image: url(../images/232acb97ace4f437ace78cc02bdfd165.svg); - mask-image: url(../images/232acb97ace4f437ace78cc02bdfd165.svg); + -webkit-mask-image: url(../js/../images/232acb97ace4f437ace78cc02bdfd165.svg); + mask-image: url(../js/../images/232acb97ace4f437ace78cc02bdfd165.svg); } .directorist-image-profile-wrap .ezmu__thumbnail-list-item.ezmu__thumbnail_avater { max-width: 140px; } + .directorist-user-profile-box .directorist-card__header { padding: 18px 20px; } .directorist-user-profile-box .directorist-card__body { - padding: 25px 25px 30px; + padding: 25px 25px 30px 25px; } + .directorist-user-info-wrap .directorist-form-group { margin-bottom: 25px; } @@ -26205,6 +26703,8 @@ input.directorist-toggle-input:checked .directorist-user-info-wrap #directorist-profile-notice .directorist-alert { margin-top: 15px; } + +/* User Preferences */ .directorist-user_preferences .directorist-preference-toggle .directorist-form-group { @@ -26262,12 +26762,12 @@ input.directorist-toggle-input:checked flex-direction: column; gap: 12px; } -.directorist-user_preferences .select2-selection__arrow, -.directorist-user_preferences .select2-selection__clear, .directorist-user_preferences .select2.select2-container.select2-container--default .select2-selection__arrow - b { + b, +.directorist-user_preferences .select2-selection__arrow, +.directorist-user_preferences .select2-selection__clear { display: block !important; } .directorist-user_preferences @@ -26275,6 +26775,8 @@ input.directorist-toggle-input:checked .select2-selection { border-bottom-color: var(--directorist-color-primary); } + +/* Directorist Toggle */ .directorist-toggle { cursor: pointer; display: -webkit-inline-box; @@ -26287,6 +26789,7 @@ input.directorist-toggle-input:checked align-items: center; gap: 10px; } + .directorist-toggle-switch { display: inline-block; background: var(--directorist-color-border); @@ -26298,13 +26801,13 @@ input.directorist-toggle-input:checked -webkit-transition: background 0.25s; transition: background 0.25s; } -.directorist-toggle-switch:after, -.directorist-toggle-switch:before { +.directorist-toggle-switch:before, +.directorist-toggle-switch:after { content: ""; } .directorist-toggle-switch:before { display: block; - background: #fff; + background: white; border-radius: 50%; width: 16px; height: 16px; @@ -26322,7 +26825,7 @@ input.directorist-toggle-input:checked from(#fff), to(#fff) ); - background: linear-gradient(180deg, #fff 0, #fff); + background: linear-gradient(to bottom, #fff 0%, #fff 100%); } .directorist-toggle-checkbox:checked + .directorist-toggle-switch { background: var(--directorist-color-primary); @@ -26330,10 +26833,12 @@ input.directorist-toggle-input:checked .directorist-toggle-checkbox:checked + .directorist-toggle-switch:before { right: 25px; } + .directorist-toggle-checkbox { position: absolute; visibility: hidden; } + .directorist-user-socials .directorist-user-social-label { font-size: 18px; padding-bottom: 18px; @@ -26359,16 +26864,18 @@ input.directorist-toggle-input:checked .directorist-user-socials label .directorist-social-icon - .directorist-icon-mask:after { + .directorist-icon-mask::after { width: 16px; height: 16px; background-color: #0a0b1e; } + #directorist-prifile-notice .directorist-alert { width: 100%; display: inline-block; margin-top: 15px; } + .directorist-announcement-wrapper { background-color: var(--directorist-color-white); border-radius: 12px; @@ -26393,7 +26900,7 @@ input.directorist-toggle-input:checked .directorist-announcement-wrapper .directorist-announcement:last-child { padding-bottom: 0; margin-bottom: 0; - border-bottom: 0; + border-bottom: 0 none; } @media (max-width: 479px) { .directorist-announcement-wrapper .directorist-announcement { @@ -26511,7 +27018,9 @@ input.directorist-toggle-input:checked .directorist-announcement-wrapper .directorist-announcement__content .directorist-announcement__title - p:empty, + p:empty { + display: none; +} .directorist-announcement-wrapper .directorist-announcement__content p:empty { display: none; } @@ -26528,7 +27037,7 @@ input.directorist-toggle-input:checked width: 36px; border-radius: 50%; background-color: #f5f5f5; - border: 0; + border: 0 none; padding: 0; -webkit-transition: 0.35s; transition: 0.35s; @@ -26548,7 +27057,7 @@ input.directorist-toggle-input:checked .directorist-announcement-wrapper .directorist-announcement__close .close-announcement - .directorist-icon-mask:after { + .directorist-icon-mask::after { -webkit-transition: 0.35s; transition: 0.35s; background-color: #474868; @@ -26561,12 +27070,13 @@ input.directorist-toggle-input:checked .directorist-announcement-wrapper .directorist-announcement__close .close-announcement:hover - .directorist-icon-mask:after { + .directorist-icon-mask::after { background-color: var(--directorist-color-white); } .directorist-announcement-wrapper .directorist_not-found { margin: 0; } + .directorist-announcement-count { display: none; border-radius: 30px; @@ -26579,40 +27089,46 @@ input.directorist-toggle-input:checked vertical-align: middle; background-color: #ff3c3c; } + .directorist-announcement-count.show { display: inline-block; } + .directorist-payment-instructions, .directorist-payment-thanks-text { font-size: 14px; font-weight: 400; color: var(--directorist-color-body); } + .directorist-payment-instructions { margin-bottom: 38px; } + .directorist-payment-thanks-text { font-size: 15px; } + .directorist-payment-table .directorist-table { margin: 0; border: none; } -.directorist-payment-table th { - text-align: right; - padding: 9px 20px; - background-color: var(--directorist-color-bg-gray); -} -.directorist-payment-table tbody td, .directorist-payment-table th { font-size: 14px; font-weight: 500; + text-align: right; + padding: 9px 20px; border: none; color: var(--directorist-color-dark); + background-color: var(--directorist-color-bg-gray); } .directorist-payment-table tbody td { + font-size: 14px; + font-weight: 500; padding: 5px 0; vertical-align: top; + border: none; + color: var(--directorist-color-dark); } .directorist-payment-table tbody tr:first-child td { padding-top: 20px; @@ -26637,23 +27153,26 @@ input.directorist-toggle-input:checked margin: 0; color: var(--directorist-color-light-gray); } + .directorist-payment-summery-table tbody td { padding: 12px 0; } -.directorist-payment-summery-table tbody td:nth-child(2n) { +.directorist-payment-summery-table tbody td:nth-child(even) { text-align: left; } +.directorist-payment-summery-table tbody tr.directorsit-payment-table-total td, .directorist-payment-summery-table tbody tr.directorsit-payment-table-total - .directorist-payment-table__title, -.directorist-payment-summery-table tbody tr.directorsit-payment-table-total td { + .directorist-payment-table__title { font-size: 16px; } + .directorist-btn-view-listing { min-height: 54px; border-radius: 10px; } + .directorist-checkout-card { -webkit-box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08); box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08); @@ -26697,6 +27216,7 @@ input.directorist-toggle-input:checked font-weight: 500; color: var(--directorist-color-body); } + .directorist-payment-gateways { background-color: var(--directorist-color-white); } @@ -26733,11 +27253,12 @@ input.directorist-toggle-input:checked margin-top: 4px; color: var(--directorist-color-body); } + .directorist-payment-action { -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; - margin: 42px -7px -7px; + margin: 42px -7px -7px -7px; } .directorist-payment-action .directorist-btn { min-height: 54px; @@ -26757,29 +27278,34 @@ input.directorist-toggle-input:checked padding: 0 30px; } } -.directorist-summery-total .directorist-summery-amount, -.directorist-summery-total .directorist-summery-label { + +.directorist-summery-total .directorist-summery-label, +.directorist-summery-total .directorist-summery-amount { font-size: 18px; font-weight: 500; color: var(--color-dark); } + .directorist-iframe { border: none; } + .ads-advanced .bottom-inputs { -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; flex-grow: 1; } + +/*responsive css */ @media (min-width: 992px) and (max-width: 1199px) { + .atbd_content_active .widget.atbd_widget .atbdp, + .atbd_content_active .widget.atbd_widget .directorist, .atbd_content_active #directorist.atbd_wrapper .widget.atbd_widget .atbdp, .atbd_content_active #directorist.atbd_wrapper .widget.atbd_widget - .directorist, - .atbd_content_active .widget.atbd_widget .atbdp, - .atbd_content_active .widget.atbd_widget .directorist { + .directorist { padding: 20px 20px 15px; } .atbd_content_active #directorist.atbd_wrapper .atbdp_column { @@ -26842,6 +27368,7 @@ input.directorist-toggle-input:checked -webkit-flex: 0 0 100%; -ms-flex: 0 0 100%; flex: 0 0 100%; + margin-top: 0; margin-top: 10px; } .atbd_content_active @@ -26899,7 +27426,9 @@ input.directorist-toggle-input:checked #directorist.atbd_wrapper.atbd_add_listing_wrapper #atbdp_socialInFo .atbdp_social_field_wrapper - .form-group, + .form-group { + margin-bottom: 15px; + } .atbd_content_active #directorist.atbd_wrapper.atbd_add_listing_wrapper .atbdp_faqs_wrapper @@ -26914,10 +27443,10 @@ input.directorist-toggle-input:checked .ads-advanced .atbdp-custom-fields-search .form-group { width: 100%; } - .ads-advanced .atbdp-custom-fields-search .form-group.atbdp_cf_color label, - .ads-advanced .atbdp-custom-fields-search .form-group.atbdp_cf_date label, .ads-advanced .atbdp-custom-fields-search .form-group.atbdp_cf_select label, - .ads-advanced .atbdp-custom-fields-search .form-group.atbdp_cf_time label { + .ads-advanced .atbdp-custom-fields-search .form-group.atbdp_cf_date label, + .ads-advanced .atbdp-custom-fields-search .form-group.atbdp_cf_time label, + .ads-advanced .atbdp-custom-fields-search .form-group.atbdp_cf_color label { -webkit-box-flex: 0; -webkit-flex: none; -ms-flex: none; @@ -26949,13 +27478,13 @@ input.directorist-toggle-input:checked } .atbd_content_active #directorist.atbd_wrapper - .atbd_content_module__tittle_area + .atbd_content_module_title_area .atbd_listing_action_area .atbd_action.atbd_share:hover .atbd_directory_social_wrap, .atbd_content_active #directorist.atbd_wrapper - .atbd_content_module_title_area + .atbd_content_module__tittle_area .atbd_listing_action_area .atbd_action.atbd_share:hover .atbd_directory_social_wrap { @@ -27069,7 +27598,7 @@ input.directorist-toggle-input:checked #directorist.atbd_wrapper.dashboard_area .atbd_saved_items_wrapper .atbd_single_saved_item { - border: 0; + border: 0 none; padding: 0; } .atbd_content_active #directorist.atbd_wrapper .atbdp_column { @@ -27097,18 +27626,18 @@ input.directorist-toggle-input:checked .atbd_content_active #directorist.atbd_wrapper .atbd_custom_fields - .atbd_custom_field_content, + .atbd_custom_field_title, .atbd_content_active #directorist.atbd_wrapper .atbd_custom_fields - .atbd_custom_field_title { + .atbd_custom_field_content { width: 100%; } .atbd_content_active #directorist.atbd_wrapper .atbd_custom_fields .atbd_custom_field_content { - border: 0; + border: 0 none; padding-top: 0; padding-left: 30px; padding-right: 30px; @@ -27116,14 +27645,14 @@ input.directorist-toggle-input:checked .ads-advanced .bottom-inputs > div { width: 100%; } - .ads-advanced .atbdp-custom-fields-search .form-group .form-control, - .ads-advanced .atbdp_custom_radios, - .ads-advanced .bads-custom-checks, - .ads-advanced .bads-tags, - .ads-advanced .form-group > .form-control, .ads-advanced .price_ranges, .ads-advanced .select-basic, - .ads-advanced .wp-picker-container { + .ads-advanced .bads-tags, + .ads-advanced .bads-custom-checks, + .ads-advanced .atbdp_custom_radios, + .ads-advanced .wp-picker-container, + .ads-advanced .form-group > .form-control, + .ads-advanced .atbdp-custom-fields-search .form-group .form-control { -webkit-box-flex: 1; -webkit-flex: auto; -ms-flex: auto; @@ -27262,28 +27791,35 @@ input.directorist-toggle-input:checked padding-left: 0; } } +/* Utility */ .adbdp-d-none { display: none; } + .atbdp-px-5 { padding: 0 5px !important; } + .atbdp-mx-5 { margin: 0 5px !important; } + .atbdp-form-actions { margin: 30px 0; text-align: center; } + .atbdp-icon { display: inline-block; } + .atbdp-icon-large { display: block; margin-bottom: 20px; font-size: 45px; text-align: center; } + @media (max-width: 400px) { .atbd_content_active #directorist.atbd_wrapper @@ -27320,17 +27856,17 @@ input.directorist-toggle-input:checked .atbd_content_active #directorist.atbd_wrapper .widget.atbd_widget - .atbd_categorized_listings - ul - li - .atbd_right_content + .atbd_listing_info + .atbd_listing_category .atbd_cat_popup .atbd_cat_popup_wrapper:before, .atbd_content_active #directorist.atbd_wrapper .widget.atbd_widget - .atbd_listing_info - .atbd_listing_category + .atbd_categorized_listings + ul + li + .atbd_right_content .atbd_cat_popup .atbd_cat_popup_wrapper:before, .atbd_content_active @@ -27377,13 +27913,13 @@ input.directorist-toggle-input:checked } .atbd_content_active #directorist.atbd_wrapper - .atbd_content_module__tittle_area + .atbd_content_module_title_area .atbd_listing_action_area .atbd_action.atbd_share:hover .atbd_directory_social_wrap, .atbd_content_active #directorist.atbd_wrapper - .atbd_content_module_title_area + .atbd_content_module__tittle_area .atbd_listing_action_area .atbd_action.atbd_share:hover .atbd_directory_social_wrap { @@ -27484,10 +28020,14 @@ input.directorist-toggle-input:checked .directorist-author-profile-wrap .directorist-author-avatar img { margin-bottom: 15px; } - .directorist-author-profile-wrap .directorist-author-avatar, + .directorist-author-profile-wrap .directorist-author-avatar { + text-align: center; + } .directorist-author-profile-wrap .directorist-author-avatar - .directorist-author-avatar__info, + .directorist-author-avatar__info { + text-align: center; + } .directorist-author-profile-wrap .directorist-author-avatar .directorist-author-avatar__info diff --git a/assets/js/formgent-integration.js b/assets/js/formgent-integration.js index c65c4b3b39..14a9fe92ec 100644 --- a/assets/js/formgent-integration.js +++ b/assets/js/formgent-integration.js @@ -36,34 +36,34 @@ /*#__PURE__*/ __webpack_require__.n( _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_3__ ); - /* harmony import */ var _icons_Inbox__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _icons_Calendar__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! ../icons/Inbox */ './assets/src/js/formgent-integration/icons/Inbox.js' + /*! ../icons/Calendar */ './assets/src/js/formgent-integration/icons/Calendar.js' + ); + /* harmony import */ var _icons_Check__WEBPACK_IMPORTED_MODULE_5__ = + __webpack_require__( + /*! ../icons/Check */ './assets/src/js/formgent-integration/icons/Check.js' ); - /* harmony import */ var _icons_Envelope__WEBPACK_IMPORTED_MODULE_5__ = + /* harmony import */ var _icons_Envelope__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__( /*! ../icons/Envelope */ './assets/src/js/formgent-integration/icons/Envelope.js' ); - /* harmony import */ var _icons_Calendar__WEBPACK_IMPORTED_MODULE_6__ = + /* harmony import */ var _icons_Inbox__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__( - /*! ../icons/Calendar */ './assets/src/js/formgent-integration/icons/Calendar.js' + /*! ../icons/Inbox */ './assets/src/js/formgent-integration/icons/Inbox.js' ); - /* harmony import */ var _icons_Check__WEBPACK_IMPORTED_MODULE_7__ = + /* harmony import */ var _utils_enquiryUtils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__( - /*! ../icons/Check */ './assets/src/js/formgent-integration/icons/Check.js' + /*! ../utils/enquiryUtils */ './assets/src/js/formgent-integration/utils/enquiryUtils.js' ); - /* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_8__ = + /* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__( /*! ./style */ './assets/src/js/formgent-integration/components/style.js' ); - /* harmony import */ var _Table__WEBPACK_IMPORTED_MODULE_9__ = + /* harmony import */ var _Table__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__( /*! ./Table */ './assets/src/js/formgent-integration/components/Table.js' ); - /* harmony import */ var _utils_enquiryUtils__WEBPACK_IMPORTED_MODULE_10__ = - __webpack_require__( - /*! ../utils/enquiryUtils */ './assets/src/js/formgent-integration/utils/enquiryUtils.js' - ); /** * WordPress dependencies @@ -102,9 +102,8 @@ _wordpress_element__WEBPACK_IMPORTED_MODULE_2__.useEffect)( function () { (0, - _utils_enquiryUtils__WEBPACK_IMPORTED_MODULE_10__.fetchEnquiryKPIs)().then( + _utils_enquiryUtils__WEBPACK_IMPORTED_MODULE_8__.fetchEnquiryKPIs)().then( function (data) { - console.log('KPIs response:', data); setResponseKPIs(data); } ); @@ -115,9 +114,8 @@ _wordpress_element__WEBPACK_IMPORTED_MODULE_2__.useEffect)( function () { (0, - _utils_enquiryUtils__WEBPACK_IMPORTED_MODULE_10__.fetchAllEnquiries)().then( + _utils_enquiryUtils__WEBPACK_IMPORTED_MODULE_8__.fetchAllEnquiries)().then( function (data) { - console.log('Responses response:', data); setResponses(data); } ); @@ -128,7 +126,7 @@ { icon: (0, _wordpress_element__WEBPACK_IMPORTED_MODULE_2__.createElement)( - _icons_Inbox__WEBPACK_IMPORTED_MODULE_4__[ + _icons_Inbox__WEBPACK_IMPORTED_MODULE_7__[ 'default' ], null @@ -140,7 +138,7 @@ { icon: (0, _wordpress_element__WEBPACK_IMPORTED_MODULE_2__.createElement)( - _icons_Envelope__WEBPACK_IMPORTED_MODULE_5__[ + _icons_Envelope__WEBPACK_IMPORTED_MODULE_6__[ 'default' ], null @@ -152,7 +150,7 @@ { icon: (0, _wordpress_element__WEBPACK_IMPORTED_MODULE_2__.createElement)( - _icons_Calendar__WEBPACK_IMPORTED_MODULE_6__[ + _icons_Calendar__WEBPACK_IMPORTED_MODULE_4__[ 'default' ], null @@ -164,7 +162,7 @@ { icon: (0, _wordpress_element__WEBPACK_IMPORTED_MODULE_2__.createElement)( - _icons_Check__WEBPACK_IMPORTED_MODULE_7__[ + _icons_Check__WEBPACK_IMPORTED_MODULE_5__[ 'default' ], null @@ -196,7 +194,7 @@ _context.prev = 0; _context.next = 1; return (0, - _utils_enquiryUtils__WEBPACK_IMPORTED_MODULE_10__.refreshEnquiryData)(); + _utils_enquiryUtils__WEBPACK_IMPORTED_MODULE_8__.refreshEnquiryData)(); case 1: _yield$refreshEnquiry = _context.sent; @@ -238,7 +236,7 @@ })(); return (0, _wordpress_element__WEBPACK_IMPORTED_MODULE_2__.createElement)( - _style__WEBPACK_IMPORTED_MODULE_8__.EnquiriesComponentStyle, + _style__WEBPACK_IMPORTED_MODULE_9__.EnquiriesComponentStyle, { className: 'directorist-enquiries-container', }, @@ -328,7 +326,7 @@ }, (0, _wordpress_element__WEBPACK_IMPORTED_MODULE_2__.createElement)( - _Table__WEBPACK_IMPORTED_MODULE_9__['default'], + _Table__WEBPACK_IMPORTED_MODULE_10__['default'], { items: responses === null || @@ -387,30 +385,30 @@ __webpack_require__( /*! @wordpress/components */ './node_modules/@wordpress/components/build-module/modal/index.js' ); - /* harmony import */ var _utils_renderAnswerValue__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var react_inlinesvg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! ../utils/renderAnswerValue */ './assets/src/js/formgent-integration/utils/renderAnswerValue.js' + /*! react-inlinesvg */ './node_modules/react-inlinesvg/dist/index.mjs' ); - /* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_5__ = + /* harmony import */ var _icons_Check__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( - /*! ./style */ './assets/src/js/formgent-integration/components/style.js' + /*! ../icons/Check */ './assets/src/js/formgent-integration/icons/Check.js' ); /* harmony import */ var _icons_Reply__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__( /*! ../icons/Reply */ './assets/src/js/formgent-integration/icons/Reply.js' ); - /* harmony import */ var _icons_Check__WEBPACK_IMPORTED_MODULE_7__ = - __webpack_require__( - /*! ../icons/Check */ './assets/src/js/formgent-integration/icons/Check.js' - ); - /* harmony import */ var _icons_Trash__WEBPACK_IMPORTED_MODULE_8__ = + /* harmony import */ var _icons_Trash__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__( /*! ../icons/Trash */ './assets/src/js/formgent-integration/icons/Trash.js' ); - /* harmony import */ var _utils_enquiryUtils__WEBPACK_IMPORTED_MODULE_9__ = + /* harmony import */ var _utils_enquiryUtils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__( /*! ../utils/enquiryUtils */ './assets/src/js/formgent-integration/utils/enquiryUtils.js' ); + /* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_9__ = + __webpack_require__( + /*! ./style */ './assets/src/js/formgent-integration/components/style.js' + ); function ownKeys(e, r) { var t = Object.keys(e); @@ -457,6 +455,10 @@ * WordPress dependencies */ + /** + * External dependencies + */ + /** * Internal dependencies */ @@ -487,7 +489,8 @@ _singleItem$response8, _singleItem$response9, _singleItem$response0, - _singleItem$response1; + _singleItem$response1, + _singleItem$response10; var isOpen = _ref.isOpen, selectedItem = _ref.selectedItem, onClose = _ref.onClose, @@ -536,6 +539,15 @@ ])(_useState7, 2), error = _useState8[0], setError = _useState8[1]; + var _window$formgent$dire = + window.formgent.directorist_modules, + TableDrawerAnswer = + _window$formgent$dire.TableDrawerAnswer, + getFormattedAnswer = + _window$formgent$dire.getFormattedAnswer, + handleAnswerIcon = + _window$formgent$dire.handleAnswerIcon, + isProActive = _window$formgent$dire.isProActive; // Effect to fetch single item data when selectedItem changes (0, @@ -545,13 +557,13 @@ setLoading(true); setError(null); (0, - _utils_enquiryUtils__WEBPACK_IMPORTED_MODULE_9__.fetchSingleEnquiry)( + _utils_enquiryUtils__WEBPACK_IMPORTED_MODULE_8__.fetchSingleEnquiry)( selectedItem ) .then(function (data) { setSingleItem(data); var matched = (0, - _utils_enquiryUtils__WEBPACK_IMPORTED_MODULE_9__.findMatchingEnquiry)( + _utils_enquiryUtils__WEBPACK_IMPORTED_MODULE_8__.findMatchingEnquiry)( data, enquiries ); @@ -577,7 +589,7 @@ function () { if (!singleItem || !enquiries) return; var matched = (0, - _utils_enquiryUtils__WEBPACK_IMPORTED_MODULE_9__.findMatchingEnquiry)( + _utils_enquiryUtils__WEBPACK_IMPORTED_MODULE_8__.findMatchingEnquiry)( singleItem, enquiries ); @@ -633,80 +645,6 @@ // Call the parent's handleMarkAsRead function handleMarkAsRead(singleItem.response); }; - - // Function to render form answers - var renderFormAnswers = function renderFormAnswers() { - if ( - !singleItem || - !singleItem.fields || - !singleItem.response || - !singleItem.response.answers - ) { - return (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_2__.createElement)( - 'p', - null, - 'No answers available' - ); - } - var fields = singleItem.fields, - response = singleItem.response; - return (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_2__.createElement)( - 'div', - { - className: 'directorist-enquiry-answers', - }, - fields.map(function (field, index) { - // Find matching answer by field name - var matchingAnswer = response.answers.find( - function (answer) { - return answer.field_name === field.name; - } - ); - return (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_2__.createElement)( - 'div', - { - key: field.name || index, - className: - 'directorist-enquiry-answer-item', - }, - (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_2__.createElement)( - 'h4', - { - className: - 'directorist-enquiry-answer-title', - }, - field.label - ), - (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_2__.createElement)( - 'div', - { - className: - 'directorist-enquiry-answer-value', - }, - matchingAnswer - ? (0, - _utils_renderAnswerValue__WEBPACK_IMPORTED_MODULE_4__.renderAnswerValue)( - matchingAnswer - ) - : (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_2__.createElement)( - 'span', - { - className: - 'directorist-no-answer', - }, - 'No answer provided' - ) - ) - ); - }) - ); - }; if (!isOpen || !selectedItem) { return null; } @@ -729,7 +667,7 @@ }, (0, _wordpress_element__WEBPACK_IMPORTED_MODULE_2__.createElement)( - _style__WEBPACK_IMPORTED_MODULE_5__.EnquiryDetailsModalStyle, + _style__WEBPACK_IMPORTED_MODULE_9__.EnquiryDetailsModalStyle, { className: 'directorist-enquiry-modal-content', }, @@ -892,7 +830,7 @@ ), }, (0, - _utils_enquiryUtils__WEBPACK_IMPORTED_MODULE_9__.getStatusBadgeText)( + _utils_enquiryUtils__WEBPACK_IMPORTED_MODULE_8__.getStatusBadgeText)( singleItem === null || singleItem === @@ -982,7 +920,32 @@ className: 'directorist-answers-section', }, - renderFormAnswers() + singleItem === null || + singleItem === void 0 || + (_singleItem$response9 = + singleItem.response) === null || + _singleItem$response9 === void 0 + ? void 0 + : _singleItem$response9.answers.map( + function (answer, index) { + return (0, + _wordpress_element__WEBPACK_IMPORTED_MODULE_2__.createElement)( + TableDrawerAnswer, + { + key: index, + answer: answer, + handleAnswerIcon: + handleAnswerIcon, + getFormattedAnswer: + getFormattedAnswer, + ReactSVG: + react_inlinesvg__WEBPACK_IMPORTED_MODULE_4__[ + 'default' + ], + } + ); + } + ) ), (0, _wordpress_element__WEBPACK_IMPORTED_MODULE_2__.createElement)( @@ -1024,13 +987,13 @@ 'directorist-enquiry-modal-btn directorist-enquiry-modal-btn-resolved '.concat( (singleItem === null || singleItem === void 0 || - (_singleItem$response9 = + (_singleItem$response0 = singleItem.response) === null || - _singleItem$response9 === + _singleItem$response0 === void 0 ? void 0 - : _singleItem$response9.is_read) === + : _singleItem$response0.is_read) === '1' ? 'directorist-btn-disabled' : '' @@ -1039,29 +1002,29 @@ disabled: (singleItem === null || singleItem === void 0 || - (_singleItem$response0 = + (_singleItem$response1 = singleItem.response) === null || - _singleItem$response0 === + _singleItem$response1 === void 0 ? void 0 - : _singleItem$response0.is_read) === + : _singleItem$response1.is_read) === '1', }, (0, _wordpress_element__WEBPACK_IMPORTED_MODULE_2__.createElement)( - _icons_Check__WEBPACK_IMPORTED_MODULE_7__[ + _icons_Check__WEBPACK_IMPORTED_MODULE_5__[ 'default' ], null ), (singleItem === null || singleItem === void 0 || - (_singleItem$response1 = + (_singleItem$response10 = singleItem.response) === null || - _singleItem$response1 === void 0 + _singleItem$response10 === void 0 ? void 0 - : _singleItem$response1.is_read) === + : _singleItem$response10.is_read) === '1' ? 'Marked as read' : 'Mark as read' @@ -1085,7 +1048,7 @@ }, (0, _wordpress_element__WEBPACK_IMPORTED_MODULE_2__.createElement)( - _icons_Trash__WEBPACK_IMPORTED_MODULE_8__[ + _icons_Trash__WEBPACK_IMPORTED_MODULE_7__[ 'default' ], null @@ -1733,7 +1696,7 @@ _babel_runtime_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[ 'default' ])([ - '\n\tmargin-top: 20px;\n\t.directorist-enquiry-sender {\n\t\tdisplay: flex;\n\t\tgap: 16px;\n\t\talign-items: flex-start;\n\t\tmargin-bottom: 24px;\n\t}\n\t.directorist-enquiry-sender-avatar img {\n\t\twidth: 48px;\n\t\theight: 48px;\n\t\tborder-radius: 50%;\n\t\tobject-fit: cover;\n\t}\n\t.directorist-enquiry-sender-info {\n\t\th2 {\n\t\t\tmargin: 0 0 8px 0;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tgap: 12px;\n\t\t\tfont-size: 16px;\n\t\t\tfont-weight: 600;\n\t\t}\n\t\tp {\n\t\t\tmargin: 0 0 8px 0;\n\t\t\tfont-size: 14px;\n\t\t\tcolor: var(--directorist-color-body);\n\t\t}\n\t\tspan {\n\t\t\tdisplay: flex;\n\t\t\tfont-size: 12px;\n\t\t}\n\t}\n\t.directorist-enquiry-listing {\n\t\tmargin-bottom: 24px;\n\t\th3 {\n\t\t\tmargin: 0 0 4px 0;\n\t\t\tfont-size: 16px;\n\t\t\tfont-weight: 600;\n\t\t}\n\t\ta {\n\t\t\ttext-decoration: none;\n\t\t\tcolor: var(--directorist-color-info);\n\t\t\tfont-size: 14px;\n\t\t\tfont-weight: 500;\n\t\t}\n\t}\n\t.directorist-answers-section {\n\t\tmargin-bottom: 110px;\n\t}\n\t.directorist-enquiry-answer-item {\n\t\tmargin-bottom: 24px;\n\t}\n\t.directorist-enquiry-answer-title {\n\t\tmargin: 0 0 10px 0;\n\t\tfont-size: 16px;\n\t\tfont-weight: 600;\n\t\tcolor: var(--directorist-color-dark);\n\t}\n\t.directorist-enquiry-answer-value {\n\t\tmargin: 0;\n\t\tfont-size: 14px;\n\t\tfont-weight: 500;\n\t\tcolor: var(--directorist-color-deep-gray);\n\t}\n\t.directorist-enquiry-answer-child {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tgap: 12px;\n\t\tmargin-bottom: 5px;\n\t}\n\t.directorist-enquiry-answer-title-child {\n\t\tmargin: 0;\n\t\tfont-size: 14px;\n\t\tfont-weight: 600;\n\t\tcolor: var(--directorist-color-dark);\n\t}\n\t.directorist-enquiry-answer-value-child {\n\t\tmargin: 0;\n\t\tfont-size: 14px;\n\t\tfont-weight: 400;\n\t}\n\t.directorist-enquiry-answer-repeater {\n\t\ttable {\n\t\t\twidth: 100%;\n\t\t\tborder-collapse: separate;\n\t\t\tborder-spacing: 0;\n\t\t\tborder-radius: 8px;\n\t\t\toverflow: hidden;\n\t\t\tborder: 1px solid #eee;\n\t\t}\n\n\t\tthead {\n\t\t\tbackground: linear-gradient(to bottom, #f9f9f9, #f1f3f5);\n\t\t}\n\n\t\tth {\n\t\t\ttext-align: left;\n\t\t\tpadding: 12px 16px;\n\t\t\tfont-weight: 600;\n\t\t\tfont-size: 14px;\n\t\t\tcolor: #333;\n\t\t}\n\n\t\ttd {\n\t\t\tpadding: 12px 16px;\n\t\t\tfont-size: 14px;\n\t\t\tcolor: #000;\n\t\t\tborder-top: 1px solid #eee;\n\t\t}\n\n\t\t/* Hover effect */\n\t\ttr:hover td {\n\t\t\tbackground-color: #fafafa;\n\t\t}\n\t}\n\t//stick footer to bottom\n\t.directorist-enquiry-modal-footer {\n\t\tborder-top: 1px solid #e5e7eb;\n\t\tdisplay: flex;\n\t\tgap: 12px;\n\t\tposition: fixed;\n\t\tbottom: 0;\n\t\tbackground-color: #fff;\n\t\twidth: 100%;\n\t\tpadding: 20px 30px;\n\t\tbox-sizing: border-box;\n\t\tleft: 0;\n\t}\n\t.directorist-enquiry-modal-btn {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tgap: 8px;\n\t\tpadding: 0 16px;\n\t\tmin-height: 42px;\n\t\tborder-radius: 8px;\n\t\tfont-size: 14px;\n\t\tfont-weight: 500;\n\t\tbox-shadow: none;\n\t\tborder: 1px solid #e5e7eb;\n\t\tbackground: none;\n\t\tcursor: pointer;\n\t\ttransition: 0.3s ease;\n\t\t&.directorist-btn-disabled {\n\t\t\topacity: 0.5;\n\t\t\tpointer-events: none;\n\t\t}\n\t}\n\t.directorist-enquiry-modal-btn-delete {\n\t\tmargin-left: auto;\n\t\t&:hover {\n\t\t\tborder-color: var(--directorist-color-danger);\n\t\t\tcolor: var(--directorist-color-danger);\n\t\t}\n\t}\n\t.directorist-enquiry-modal-btn-resolved {\n\t\t&:hover {\n\t\t\tborder-color: var(--directorist-color-success);\n\t\t\tcolor: var(--directorist-color-success);\n\t\t}\n\t}\n\t.directorist-enquiry-modal-btn-reply {\n\t\t&:hover {\n\t\t\tborder-color: var(--directorist-color-info);\n\t\t\tcolor: var(--directorist-color-info);\n\t\t}\n\t}\n', + '\n\tmargin-top: 20px;\n\t.directorist-enquiry-sender {\n\t\tdisplay: flex;\n\t\tgap: 16px;\n\t\talign-items: flex-start;\n\t\tmargin-bottom: 24px;\n\t}\n\t.directorist-enquiry-sender-avatar img {\n\t\twidth: 48px;\n\t\theight: 48px;\n\t\tborder-radius: 50%;\n\t\tobject-fit: cover;\n\t}\n\t.directorist-enquiry-sender-info {\n\t\th2 {\n\t\t\tmargin: 0 0 8px 0;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tgap: 12px;\n\t\t\tfont-size: 16px;\n\t\t\tfont-weight: 600;\n\t\t}\n\t\tp {\n\t\t\tmargin: 0 0 8px 0;\n\t\t\tfont-size: 14px;\n\t\t\tcolor: var(--directorist-color-body);\n\t\t}\n\t\tspan {\n\t\t\tdisplay: flex;\n\t\t\tfont-size: 12px;\n\t\t}\n\t}\n\t.directorist-enquiry-listing {\n\t\tmargin-bottom: 16px;\n\t\tborder-bottom: 1px solid var(--directorist-color-border);\n\t\tpadding-bottom: 16px;\n\t\th3 {\n\t\t\tmargin: 0 0 4px 0;\n\t\t\tfont-size: 16px;\n\t\t\tfont-weight: 600;\n\t\t}\n\t\ta {\n\t\t\ttext-decoration: none;\n\t\t\tcolor: var(--directorist-color-info);\n\t\t\tfont-size: 14px;\n\t\t\tfont-weight: 500;\n\t\t}\n\t}\n\t.directorist-answers-section {\n\t\tmargin-bottom: 110px;\n\t}\n\t.directorist-enquiry-answer-item {\n\t\tmargin-bottom: 24px;\n\t}\n\t.directorist-enquiry-answer-title {\n\t\tmargin: 0 0 10px 0;\n\t\tfont-size: 16px;\n\t\tfont-weight: 600;\n\t\tcolor: var(--directorist-color-dark);\n\t}\n\t.directorist-enquiry-answer-value {\n\t\tmargin: 0;\n\t\tfont-size: 14px;\n\t\tfont-weight: 500;\n\t\tcolor: var(--directorist-color-deep-gray);\n\t}\n\t.directorist-enquiry-answer-child {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tgap: 12px;\n\t\tmargin-bottom: 5px;\n\t}\n\t.directorist-enquiry-answer-title-child {\n\t\tmargin: 0;\n\t\tfont-size: 14px;\n\t\tfont-weight: 600;\n\t\tcolor: var(--directorist-color-dark);\n\t}\n\t.directorist-enquiry-answer-value-child {\n\t\tmargin: 0;\n\t\tfont-size: 14px;\n\t\tfont-weight: 400;\n\t}\n\t.directorist-enquiry-answer-repeater {\n\t\ttable {\n\t\t\twidth: 100%;\n\t\t\tborder-collapse: separate;\n\t\t\tborder-spacing: 0;\n\t\t\tborder-radius: 8px;\n\t\t\toverflow: hidden;\n\t\t\tborder: 1px solid #eee;\n\t\t}\n\n\t\tthead {\n\t\t\tbackground: linear-gradient(to bottom, #f9f9f9, #f1f3f5);\n\t\t}\n\n\t\tth {\n\t\t\ttext-align: left;\n\t\t\tpadding: 12px 16px;\n\t\t\tfont-weight: 600;\n\t\t\tfont-size: 14px;\n\t\t\tcolor: #333;\n\t\t}\n\n\t\ttd {\n\t\t\tpadding: 12px 16px;\n\t\t\tfont-size: 14px;\n\t\t\tcolor: #000;\n\t\t\tborder-top: 1px solid #eee;\n\t\t}\n\n\t\t/* Hover effect */\n\t\ttr:hover td {\n\t\t\tbackground-color: #fafafa;\n\t\t}\n\t}\n\t//stick footer to bottom\n\t.directorist-enquiry-modal-footer {\n\t\tborder-top: 1px solid #e5e7eb;\n\t\tdisplay: flex;\n\t\tgap: 12px;\n\t\tposition: fixed;\n\t\tbottom: 0;\n\t\tbackground-color: #fff;\n\t\twidth: 100%;\n\t\tpadding: 20px 30px;\n\t\tbox-sizing: border-box;\n\t\tleft: 0;\n\t}\n\t.directorist-enquiry-modal-btn {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tgap: 8px;\n\t\tpadding: 0 16px;\n\t\tmin-height: 42px;\n\t\tborder-radius: 8px;\n\t\tfont-size: 14px;\n\t\tfont-weight: 500;\n\t\tbox-shadow: none;\n\t\tborder: 1px solid #e5e7eb;\n\t\tbackground: none;\n\t\tcursor: pointer;\n\t\ttransition: 0.3s ease;\n\t\t&.directorist-btn-disabled {\n\t\t\topacity: 0.5;\n\t\t\tpointer-events: none;\n\t\t}\n\t}\n\t.directorist-enquiry-modal-btn-delete {\n\t\tmargin-left: auto;\n\t\t&:hover {\n\t\t\tborder-color: var(--directorist-color-danger);\n\t\t\tcolor: var(--directorist-color-danger);\n\t\t}\n\t}\n\t.directorist-enquiry-modal-btn-resolved {\n\t\t&:hover {\n\t\t\tborder-color: var(--directorist-color-success);\n\t\t\tcolor: var(--directorist-color-success);\n\t\t}\n\t}\n\t.directorist-enquiry-modal-btn-reply {\n\t\t&:hover {\n\t\t\tborder-color: var(--directorist-color-info);\n\t\t\tcolor: var(--directorist-color-info);\n\t\t}\n\t}\n\t.directorist-answers-section{\n\t\tdisplay: flex;\n\t\tgap: 24px;\n\t\tflex-direction: column;\n\t\talign-items: flex-start;\n\t}\n\n\t.formgent-response-badge {\n\t\tbackground-color: var(--directorist-color-light);\n\t\tpadding: 0 8px;\n\t\tcolor: var(--directorist-color-dark);\n\t\tfont-size: 14px;\n\t\tline-height: 1.6;\n\t\tfont-weight: 400;\n\t\tborder-radius: 4px;\n\t}\n\n\t.response-table__drawer__tab__item {\n display: flex;\n gap: 12px;\n width: 100%;\n &.response-table__drawer__tab__item--tag {\n .response-table__drawer__tab__item__title {\n height: 40px;\n }\n }\n .response-table__drawer__tab__item__icon {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 40px;\n width: 40px;\n min-width: 40px;\n border-radius: 10px;\n color: var(--directorist-color-dark);\n background-color: var(--directorist-color-light);\n }\n .response-table__drawer__tab__item__content {\n display: flex;\n gap: 6px;\n flex-direction: column;\n flex: 1;\n }\n .response-table__drawer__tab__item__title {\n display: block;\n font-size: 15px;\n font-weight: 600;\n color: var(--formgent-color-dark);\n margin: 0;\n &:first-letter{\n text-transform: uppercase;\n }\n }\n .response-table__drawer__tab__item__desc {\n display: flex;\n gap: 5px;\n flex-wrap: wrap;\n font-size: 14px;\n font-weight: 400;\n color: var(--directorist-color-light-gray);\n margin: 0;\n img{\n max-width: 200px;\n }\n .formgent-signature-image-preview,\n .formgent-file-upload-preview{\n width: 100%;\n max-width: 350px;\n }\n .formgent-file-upload-answer{\n padding: 8px 0;\n &:last-child{\n border-bottom: 0 none;\n padding-bottom: 0;\n }\n }\n }\n .response-table__drawer__tab__item__desc__key {\n\t\t\tfont-size: 14px;\n font-weight: 500;\n display: inline-flex;\n padding-right: 4px;\n &::first-letter{\n text-transform: uppercase;\n }\n }\n .response-table__drawer__tab__item__desc__value {\n\t\t\tfont-size: 14px;\n color: var(--directorist-color-light-gray);\n }\n .response-table__drawer__tab__item__add {\n display: flex;\n align-items: center;\n background: transparent;\n border: none;\n margin: 0;\n padding: 0;\n cursor: pointer;\n &:hover {\n color: var(--directorist-color-primary);\n }\n }\n .response-table__drawer__tab__item__btns {\n display: flex;\n gap: 8px;\n flex-wrap: wrap;\n .response-table__drawer__tab__item__btn {\n font-size: 14px;\n font-weight: 500;\n padding: 0 8px;\n margin: 0;\n height: 28px;\n color: var(--directorist-color-gray);\n background: var(--formgent-color-border);\n border: none;\n border-radius: 8px;\n cursor: pointer;\n transition: all ease .3s;\n &:hover {\n color: var(--formgent-color-white);\n background: var(--formgent-color-light-gray);\n }\n }\n }\n }\n', ])) ); @@ -2962,389 +2925,6 @@ /***/ }, - /***/ './assets/src/js/formgent-integration/utils/renderAnswerValue.js': - /*!***********************************************************************!*\ - !*** ./assets/src/js/formgent-integration/utils/renderAnswerValue.js ***! - \***********************************************************************/ - /***/ function ( - __unused_webpack_module, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ renderAnswerValue: function () { - return /* binding */ renderAnswerValue; - }, - /* harmony export */ - } - ); - /* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! @babel/runtime/helpers/slicedToArray */ './node_modules/@babel/runtime/helpers/esm/slicedToArray.js' - ); - /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! @wordpress/element */ './node_modules/react/index.js' - ); - /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = - /*#__PURE__*/ __webpack_require__.n( - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ - ); - - /** - * Utility function to render different types of form answer values - * @param {Object} answer - The answer object containing field_type, value, and other properties - * @returns {JSX.Element} - The rendered answer value component - */ - var renderAnswerValue = function renderAnswerValue(answer) { - var field_type = answer.field_type, - value = answer.value, - options = answer.options, - option_label = answer.option_label, - rating_limit = answer.rating_limit, - rating_icon = answer.rating_icon, - children = answer.children; - switch (field_type) { - case 'name': - case 'address': - return (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)( - 'div', - { - className: - 'directorist-enquiry-answer-children', - }, - children === null || children === void 0 - ? void 0 - : children.map(function (child) { - return (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)( - 'div', - { - key: child.id, - className: - 'directorist-enquiry-answer-child', - }, - (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)( - 'h5', - { - className: - 'directorist-enquiry-answer-title-child', - }, - child.label || - 'Unknown Field', - ':' - ), - (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)( - 'div', - { - className: - 'directorist-enquiry-answer-value-child', - }, - child.value - ) - ); - }) - ); - case 'email': - return (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)( - 'a', - { - href: 'mailto:'.concat(value), - }, - value - ); - case 'website': - return (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)( - 'a', - { - href: value, - target: '_blank', - rel: 'noopener noreferrer', - }, - value - ); - case 'file-upload': - if (Array.isArray(value)) { - return (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)( - 'div', - { - className: 'directorist-file-uploads', - }, - value.map(function (file, index) { - return (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)( - 'a', - { - key: index, - href: file, - target: '_blank', - rel: 'noopener noreferrer', - }, - file.split('/').pop() - ); - }) - ); - } - return (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)( - 'a', - { - href: value, - target: '_blank', - rel: 'noopener noreferrer', - }, - value - ); - case 'rating': - var rating = parseInt(value); - return (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)( - 'div', - { - className: 'directorist-rating-display', - }, - (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)( - 'span', - { - className: 'directorist-rating-value', - }, - (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)( - 'strong', - null, - rating - ), - ' out of ', - rating_limit || 5 - ) - ); - case 'dropdown': - case 'single-choice': - return (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)( - 'span', - null, - option_label || value - ); - case 'multiple-choice': - if (options && Array.isArray(options)) { - var selectedValues = JSON.parse(value || '[]'); - var selectedOptions = options.filter( - function (opt) { - return selectedValues.includes( - opt.value - ); - } - ); - return (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)( - 'div', - { - className: - 'directorist-multiple-choice', - }, - selectedOptions.map( - function (option, index) { - return (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)( - 'span', - { - key: index, - className: - 'directorist-choice-tag', - }, - option.label - ); - } - ) - ); - } - return (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)( - 'span', - null, - value - ); - case 'google-map': - try { - var mapData = JSON.parse(value); - return (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)( - 'div', - { - className: 'directorist-map-display', - }, - (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)( - 'p', - null, - (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)( - 'strong', - null, - 'Address:' - ), - ' ', - mapData.address - ), - (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)( - 'p', - null, - (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)( - 'strong', - null, - 'Coordinates:' - ), - ' ', - mapData.map.lat, - ',', - ' ', - mapData.map.lng - ) - ); - } catch (e) { - return (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)( - 'span', - null, - value - ); - } - case 'repeater': - try { - // Check if value is already an array or needs to be parsed - var repeaterData = Array.isArray(value) - ? value - : JSON.parse(value); - return (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)( - 'div', - { - className: - 'directorist-enquiry-answer-repeater', - }, - (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)( - 'table', - null, - (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)( - 'thead', - null, - (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)( - 'tr', - null, - Object.entries( - repeaterData[0] - ).map(function (_ref) { - var _ref2 = (0, - _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[ - 'default' - ])(_ref, 2), - key = _ref2[0], - val = _ref2[1]; - return (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)( - 'th', - { - key: key, - }, - val.label || key - ); - }) - ) - ), - (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)( - 'tbody', - null, - repeaterData.map( - function (item, index) { - return (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)( - 'tr', - { - key: index, - }, - Object.entries( - item - ).map(function (_ref3) { - var _ref4 = (0, - _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[ - 'default' - ])(_ref3, 2), - key = _ref4[0], - val = _ref4[1]; - return (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)( - 'td', - { - key: key, - }, - val.value - ); - }) - ); - } - ) - ) - ) - ); - } catch (e) { - return (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)( - 'span', - null, - 'Error rendering repeater data' - ); - } - case 'digital-signature': - return (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)( - 'div', - { - className: 'directorist-signature-display', - }, - (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)( - 'img', - { - src: value, - alt: 'Digital Signature', - style: { - maxWidth: '200px', - border: '1px solid #ccc', - }, - } - ) - ); - default: - return (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)( - 'span', - null, - value - ); - } - }; - - /***/ - }, - /***/ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js': /*!*************************************************************!*\ !*** ./node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js ***! @@ -3694,304 +3274,9 @@ /***/ }, - /***/ './node_modules/@ariakit/core/esm/__chunks/3YLGPPWQ.js': + /***/ './node_modules/@ariakit/core/esm/__chunks/73UNQSFO.js': /*!*************************************************************!*\ - !*** ./node_modules/@ariakit/core/esm/__chunks/3YLGPPWQ.js ***! - \*************************************************************/ - /***/ function ( - __unused_webpack___webpack_module__, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ __objRest: function () { - return /* binding */ __objRest; - }, - /* harmony export */ __spreadProps: function () { - return /* binding */ __spreadProps; - }, - /* harmony export */ __spreadValues: function () { - return /* binding */ __spreadValues; - }, - /* harmony export */ - } - ); - ('use client'); - var __defProp = Object.defineProperty; - var __defProps = Object.defineProperties; - var __getOwnPropDescs = Object.getOwnPropertyDescriptors; - var __getOwnPropSymbols = Object.getOwnPropertySymbols; - var __hasOwnProp = Object.prototype.hasOwnProperty; - var __propIsEnum = Object.prototype.propertyIsEnumerable; - var __defNormalProp = (obj, key, value) => - key in obj - ? __defProp(obj, key, { - enumerable: true, - configurable: true, - writable: true, - value, - }) - : (obj[key] = value); - var __spreadValues = (a, b) => { - for (var prop in b || (b = {})) - if (__hasOwnProp.call(b, prop)) - __defNormalProp(a, prop, b[prop]); - if (__getOwnPropSymbols) - for (var prop of __getOwnPropSymbols(b)) { - if (__propIsEnum.call(b, prop)) - __defNormalProp(a, prop, b[prop]); - } - return a; - }; - var __spreadProps = (a, b) => - __defProps(a, __getOwnPropDescs(b)); - var __objRest = (source, exclude) => { - var target = {}; - for (var prop in source) - if ( - __hasOwnProp.call(source, prop) && - exclude.indexOf(prop) < 0 - ) - target[prop] = source[prop]; - if (source != null && __getOwnPropSymbols) - for (var prop of __getOwnPropSymbols(source)) { - if ( - exclude.indexOf(prop) < 0 && - __propIsEnum.call(source, prop) - ) - target[prop] = source[prop]; - } - return target; - }; - - /***/ - }, - - /***/ './node_modules/@ariakit/core/esm/__chunks/43IPP2F4.js': - /*!*************************************************************!*\ - !*** ./node_modules/@ariakit/core/esm/__chunks/43IPP2F4.js ***! - \*************************************************************/ - /***/ function ( - __unused_webpack___webpack_module__, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ createDisclosureStore: - function () { - return /* binding */ createDisclosureStore; - }, - /* harmony export */ - } - ); - /* harmony import */ var _EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./EWA2WL6G.js */ './node_modules/@ariakit/core/esm/__chunks/EWA2WL6G.js' - ); - /* harmony import */ var _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ./PBFD2E7P.js */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' - ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__ = - __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/core/esm/__chunks/3YLGPPWQ.js' - ); - ('use client'); - - // src/disclosure/disclosure-store.ts - function createDisclosureStore(props = {}) { - const store = (0, - _EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_0__.mergeStore)( - props.store, - (0, _EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_0__.omit)( - props.disclosure, - ['contentElement', 'disclosureElement'] - ) - ); - (0, - _EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_0__.throwOnConflictingProps)( - props, - store - ); - const syncState = store == null ? void 0 : store.getState(); - const open = (0, - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_1__.defaultValue)( - props.open, - syncState == null ? void 0 : syncState.open, - props.defaultOpen, - false - ); - const animated = (0, - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_1__.defaultValue)( - props.animated, - syncState == null ? void 0 : syncState.animated, - false - ); - const initialState = { - open, - animated, - animating: !!animated && open, - mounted: open, - contentElement: (0, - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_1__.defaultValue)( - syncState == null - ? void 0 - : syncState.contentElement, - null - ), - disclosureElement: (0, - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_1__.defaultValue)( - syncState == null - ? void 0 - : syncState.disclosureElement, - null - ), - }; - const disclosure = (0, - _EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_0__.createStore)( - initialState, - store - ); - (0, _EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_0__.setup)( - disclosure, - () => - (0, _EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_0__.sync)( - disclosure, - ['animated', 'animating'], - (state) => { - if (state.animated) return; - disclosure.setState('animating', false); - } - ) - ); - (0, _EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_0__.setup)( - disclosure, - () => - (0, - _EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_0__.subscribe)( - disclosure, - ['open'], - () => { - if (!disclosure.getState().animated) return; - disclosure.setState('animating', true); - } - ) - ); - (0, _EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_0__.setup)( - disclosure, - () => - (0, _EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_0__.sync)( - disclosure, - ['open', 'animating'], - (state) => { - disclosure.setState( - 'mounted', - state.open || state.animating - ); - } - ) - ); - return (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__.__spreadValues)( - {}, - disclosure - ), - { - disclosure: props.disclosure, - setOpen: (value) => - disclosure.setState('open', value), - show: () => disclosure.setState('open', true), - hide: () => disclosure.setState('open', false), - toggle: () => - disclosure.setState('open', (open2) => !open2), - stopAnimation: () => - disclosure.setState('animating', false), - setContentElement: (value) => - disclosure.setState('contentElement', value), - setDisclosureElement: (value) => - disclosure.setState('disclosureElement', value), - } - ); - } - - /***/ - }, - - /***/ './node_modules/@ariakit/core/esm/__chunks/7PRQYBBV.js': - /*!*************************************************************!*\ - !*** ./node_modules/@ariakit/core/esm/__chunks/7PRQYBBV.js ***! - \*************************************************************/ - /***/ function ( - __unused_webpack___webpack_module__, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ addItemToArray: function () { - return /* binding */ addItemToArray; - }, - /* harmony export */ flatten2DArray: function () { - return /* binding */ flatten2DArray; - }, - /* harmony export */ reverseArray: function () { - return /* binding */ reverseArray; - }, - /* harmony export */ toArray: function () { - return /* binding */ toArray; - }, - /* harmony export */ - } - ); - ('use client'); - - // src/utils/array.ts - function toArray(arg) { - if (Array.isArray(arg)) { - return arg; - } - return typeof arg !== 'undefined' ? [arg] : []; - } - function addItemToArray(array, item, index = -1) { - if (!(index in array)) { - return [...array, item]; - } - return [ - ...array.slice(0, index), - item, - ...array.slice(index), - ]; - } - function flatten2DArray(array) { - const flattened = []; - for (const row of array) { - flattened.push(...row); - } - return flattened; - } - function reverseArray(array) { - return array.slice().reverse(); - } - - /***/ - }, - - /***/ './node_modules/@ariakit/core/esm/__chunks/C34RJTDU.js': - /*!*************************************************************!*\ - !*** ./node_modules/@ariakit/core/esm/__chunks/C34RJTDU.js ***! + !*** ./node_modules/@ariakit/core/esm/__chunks/73UNQSFO.js ***! \*************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -4013,21 +3298,17 @@ __webpack_require__( /*! ./7PRQYBBV.js */ './node_modules/@ariakit/core/esm/__chunks/7PRQYBBV.js' ); - /* harmony import */ var _K2KIGYQU_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ./K2KIGYQU.js */ './node_modules/@ariakit/core/esm/__chunks/K2KIGYQU.js' - ); - /* harmony import */ var _EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _AMRA5WUK_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./EWA2WL6G.js */ './node_modules/@ariakit/core/esm/__chunks/EWA2WL6G.js' + /*! ./AMRA5WUK.js */ './node_modules/@ariakit/core/esm/__chunks/AMRA5WUK.js' ); - /* harmony import */ var _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ./PBFD2E7P.js */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! ./SXKM4CGU.js */ './node_modules/@ariakit/core/esm/__chunks/SXKM4CGU.js' ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/core/esm/__chunks/3YLGPPWQ.js' + /*! ./XMCVU3LR.js */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); ('use client'); @@ -4135,24 +3416,15 @@ for (const row of rows) { const item = row[i]; if (item) { - verticalized.push( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - {}, - item - ), - { - // If there's no rowId, it means that it's not a grid composite, but - // a single row instead. So, instead of verticalizing it, that is, - // assigning a different rowId based on the column index, we keep it - // undefined so they will be part of the same row. This is useful - // when using up/down on one-dimensional composites. - rowId: item.rowId ? `${i}` : void 0, - } - ) - ); + verticalized.push({ + ...item, + // If there's no rowId, it means that it's not a grid composite, but + // a single row instead. So, instead of verticalizing it, that is, + // assigning a different rowId based on the column index, we keep it + // undefined so they will be part of the same row. This is useful + // when using up/down on one-dimensional composites. + rowId: item.rowId ? `${i}` : void 0, + }); } } } @@ -4163,108 +3435,89 @@ const syncState = (_a = props.store) == null ? void 0 : _a.getState(); const collection = (0, - _K2KIGYQU_js__WEBPACK_IMPORTED_MODULE_1__.createCollectionStore)( + _AMRA5WUK_js__WEBPACK_IMPORTED_MODULE_1__.createCollectionStore)( props ); const activeId = (0, - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( props.activeId, syncState == null ? void 0 : syncState.activeId, props.defaultActiveId ); - const initialState = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - {}, - collection.getState() + const initialState = { + ...collection.getState(), + id: (0, + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( + props.id, + syncState == null ? void 0 : syncState.id, + `id-${Math.random().toString(36).slice(2, 8)}` ), - { - id: (0, - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( - props.id, - syncState == null ? void 0 : syncState.id, - `id-${Math.random().toString(36).slice(2, 8)}` - ), - activeId, - baseElement: (0, - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( - syncState == null - ? void 0 - : syncState.baseElement, - null - ), - includesBaseElement: (0, - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( - props.includesBaseElement, - syncState == null - ? void 0 - : syncState.includesBaseElement, - activeId === null - ), - moves: (0, - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( - syncState == null ? void 0 : syncState.moves, - 0 - ), - orientation: (0, - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( - props.orientation, - syncState == null - ? void 0 - : syncState.orientation, - 'both' - ), - rtl: (0, - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( - props.rtl, - syncState == null ? void 0 : syncState.rtl, - false - ), - virtualFocus: (0, - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( - props.virtualFocus, - syncState == null - ? void 0 - : syncState.virtualFocus, - false - ), - focusLoop: (0, - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( - props.focusLoop, - syncState == null - ? void 0 - : syncState.focusLoop, - false - ), - focusWrap: (0, - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( - props.focusWrap, - syncState == null - ? void 0 - : syncState.focusWrap, - false - ), - focusShift: (0, - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( - props.focusShift, - syncState == null - ? void 0 - : syncState.focusShift, - false - ), - } - ); + activeId, + baseElement: (0, + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( + syncState == null ? void 0 : syncState.baseElement, + null + ), + includesBaseElement: (0, + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( + props.includesBaseElement, + syncState == null + ? void 0 + : syncState.includesBaseElement, + activeId === null + ), + moves: (0, + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( + syncState == null ? void 0 : syncState.moves, + 0 + ), + orientation: (0, + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( + props.orientation, + syncState == null ? void 0 : syncState.orientation, + 'both' + ), + rtl: (0, + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( + props.rtl, + syncState == null ? void 0 : syncState.rtl, + false + ), + virtualFocus: (0, + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( + props.virtualFocus, + syncState == null ? void 0 : syncState.virtualFocus, + false + ), + focusLoop: (0, + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( + props.focusLoop, + syncState == null ? void 0 : syncState.focusLoop, + false + ), + focusWrap: (0, + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( + props.focusWrap, + syncState == null ? void 0 : syncState.focusWrap, + false + ), + focusShift: (0, + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( + props.focusShift, + syncState == null ? void 0 : syncState.focusShift, + false + ), + }; const composite = (0, - _EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_2__.createStore)( + _SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_2__.createStore)( initialState, collection, props.store ); - (0, _EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_2__.setup)( + (0, _SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_2__.setup)( composite, () => - (0, _EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_2__.sync)( + (0, _SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_2__.sync)( composite, ['renderedItems', 'activeId'], (state) => { @@ -4418,95 +3671,81 @@ } return nextItem == null ? void 0 : nextItem.id; }; - return (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - {}, - collection - ), - composite - ), - { - setBaseElement: (element) => - composite.setState('baseElement', element), - setActiveId: (id) => - composite.setState('activeId', id), - move: (id) => { - if (id === void 0) return; - composite.setState('activeId', id); - composite.setState( - 'moves', - (moves) => moves + 1 - ); - }, - first: () => { - var _a2; - return (_a2 = findFirstEnabledItem( + return { + ...collection, + ...composite, + setBaseElement: (element) => + composite.setState('baseElement', element), + setActiveId: (id) => composite.setState('activeId', id), + move: (id) => { + if (id === void 0) return; + composite.setState('activeId', id); + composite.setState('moves', (moves) => moves + 1); + }, + first: () => { + var _a2; + return (_a2 = findFirstEnabledItem( + composite.getState().renderedItems + )) == null + ? void 0 + : _a2.id; + }, + last: () => { + var _a2; + return (_a2 = findFirstEnabledItem( + (0, + _7PRQYBBV_js__WEBPACK_IMPORTED_MODULE_0__.reverseArray)( composite.getState().renderedItems - )) == null - ? void 0 - : _a2.id; - }, - last: () => { - var _a2; - return (_a2 = findFirstEnabledItem( - (0, - _7PRQYBBV_js__WEBPACK_IMPORTED_MODULE_0__.reverseArray)( - composite.getState().renderedItems - ) - )) == null - ? void 0 - : _a2.id; - }, - next: (options) => { - if ( - options !== void 0 && - typeof options === 'number' - ) { - options = { skip: options }; - } - return getNextId('next', options); - }, - previous: (options) => { - if ( - options !== void 0 && - typeof options === 'number' - ) { - options = { skip: options }; - } - return getNextId('previous', options); - }, - down: (options) => { - if ( - options !== void 0 && - typeof options === 'number' - ) { - options = { skip: options }; - } - return getNextId('down', options); - }, - up: (options) => { - if ( - options !== void 0 && - typeof options === 'number' - ) { - options = { skip: options }; - } - return getNextId('up', options); - }, - } - ); + ) + )) == null + ? void 0 + : _a2.id; + }, + next: (options) => { + if ( + options !== void 0 && + typeof options === 'number' + ) { + options = { skip: options }; + } + return getNextId('next', options); + }, + previous: (options) => { + if ( + options !== void 0 && + typeof options === 'number' + ) { + options = { skip: options }; + } + return getNextId('previous', options); + }, + down: (options) => { + if ( + options !== void 0 && + typeof options === 'number' + ) { + options = { skip: options }; + } + return getNextId('down', options); + }, + up: (options) => { + if ( + options !== void 0 && + typeof options === 'number' + ) { + options = { skip: options }; + } + return getNextId('up', options); + }, + }; } /***/ }, - /***/ './node_modules/@ariakit/core/esm/__chunks/EWA2WL6G.js': + /***/ './node_modules/@ariakit/core/esm/__chunks/75BJEVSH.js': /*!*************************************************************!*\ - !*** ./node_modules/@ariakit/core/esm/__chunks/EWA2WL6G.js ***! + !*** ./node_modules/@ariakit/core/esm/__chunks/75BJEVSH.js ***! \*************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -4518,353 +3757,201 @@ /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ batch: function () { - return /* binding */ batch; - }, - /* harmony export */ createStore: function () { - return /* binding */ createStore; - }, - /* harmony export */ init: function () { - return /* binding */ init; - }, - /* harmony export */ mergeStore: function () { - return /* binding */ mergeStore; - }, - /* harmony export */ omit: function () { - return /* binding */ omit2; - }, - /* harmony export */ pick: function () { - return /* binding */ pick2; - }, - /* harmony export */ setup: function () { - return /* binding */ setup; - }, - /* harmony export */ subscribe: function () { - return /* binding */ subscribe; - }, - /* harmony export */ sync: function () { - return /* binding */ sync; - }, - /* harmony export */ throwOnConflictingProps: + /* harmony export */ createDisclosureStore: function () { - return /* binding */ throwOnConflictingProps; + return /* binding */ createDisclosureStore; }, /* harmony export */ } ); - /* harmony import */ var _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./PBFD2E7P.js */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! ./SXKM4CGU.js */ './node_modules/@ariakit/core/esm/__chunks/SXKM4CGU.js' ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/core/esm/__chunks/3YLGPPWQ.js' + /*! ./XMCVU3LR.js */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); ('use client'); - // src/utils/store.ts - function getInternal(store, key) { - const internals = store.__unstableInternals; - (0, _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_0__.invariant)( - internals, - 'Invalid store' + // src/disclosure/disclosure-store.ts + function createDisclosureStore(props = {}) { + const store = (0, + _SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_0__.mergeStore)( + props.store, + (0, _SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_0__.omit)( + props.disclosure, + ['contentElement', 'disclosureElement'] + ) ); - return internals[key]; - } - function createStore(initialState, ...stores) { - let state = initialState; - let prevStateBatch = state; - let lastUpdate = Symbol(); - let destroy = - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_0__.noop; - const instances = /* @__PURE__ */ new Set(); - const updatedKeys = /* @__PURE__ */ new Set(); - const setups = /* @__PURE__ */ new Set(); - const listeners = /* @__PURE__ */ new Set(); - const batchListeners = /* @__PURE__ */ new Set(); - const disposables = /* @__PURE__ */ new WeakMap(); - const listenerKeys = /* @__PURE__ */ new WeakMap(); - const storeSetup = (callback) => { - setups.add(callback); - return () => setups.delete(callback); - }; - const storeInit = () => { - const initialized = instances.size; - const instance = Symbol(); - instances.add(instance); - const maybeDestroy = () => { - instances.delete(instance); - if (instances.size) return; - destroy(); - }; - if (initialized) return maybeDestroy; - const desyncs = (0, - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_0__.getKeys)( - state - ).map((key) => - (0, - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_0__.chain)( - ...stores.map((store) => { - var _a; - const storeState = - (_a = - store == null - ? void 0 - : store.getState) == null - ? void 0 - : _a.call(store); - if (!storeState) return; - if ( - !(0, - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_0__.hasOwnProperty)( - storeState, - key - ) - ) - return; - return sync(store, [key], (state2) => { - setState( - key, - state2[key], - // @ts-expect-error - Not public API. This is just to prevent - // infinite loops. - true - ); - }); - }) - ) - ); - const teardowns = []; - for (const setup2 of setups) { - teardowns.push(setup2()); - } - const cleanups = stores.map(init); - destroy = (0, - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_0__.chain)( - ...desyncs, - ...teardowns, - ...cleanups - ); - return maybeDestroy; - }; - const sub = (keys, listener, set = listeners) => { - set.add(listener); - listenerKeys.set(listener, keys); - return () => { - var _a; - (_a = disposables.get(listener)) == null + (0, + _SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_0__.throwOnConflictingProps)( + props, + store + ); + const syncState = store == null ? void 0 : store.getState(); + const open = (0, + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_1__.defaultValue)( + props.open, + syncState == null ? void 0 : syncState.open, + props.defaultOpen, + false + ); + const animated = (0, + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_1__.defaultValue)( + props.animated, + syncState == null ? void 0 : syncState.animated, + false + ); + const initialState = { + open, + animated, + animating: !!animated && open, + mounted: open, + contentElement: (0, + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_1__.defaultValue)( + syncState == null ? void 0 - : _a(); - disposables.delete(listener); - listenerKeys.delete(listener); - set.delete(listener); - }; - }; - const storeSubscribe = (keys, listener) => - sub(keys, listener); - const storeSync = (keys, listener) => { - disposables.set(listener, listener(state, state)); - return sub(keys, listener); - }; - const storeBatch = (keys, listener) => { - disposables.set( - listener, - listener(state, prevStateBatch) - ); - return sub(keys, listener, batchListeners); + : syncState.contentElement, + null + ), + disclosureElement: (0, + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_1__.defaultValue)( + syncState == null + ? void 0 + : syncState.disclosureElement, + null + ), }; - const storePick = (keys) => - createStore( - (0, _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_0__.pick)( - state, - keys - ), - finalStore - ); - const storeOmit = (keys) => - createStore( - (0, _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_0__.omit)( - state, - keys - ), - finalStore - ); - const getState = () => state; - const setState = (key, value, fromStores = false) => { - var _a; - if ( - !(0, - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_0__.hasOwnProperty)( - state, - key + const disclosure = (0, + _SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_0__.createStore)( + initialState, + store + ); + (0, _SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_0__.setup)( + disclosure, + () => + (0, _SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_0__.sync)( + disclosure, + ['animated', 'animating'], + (state) => { + if (state.animated) return; + disclosure.setState('animating', false); + } ) - ) - return; - const nextValue = (0, - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_0__.applyState)( - value, - state[key] - ); - if (nextValue === state[key]) return; - if (!fromStores) { - for (const store of stores) { - (_a = - store == null ? void 0 : store.setState) == - null - ? void 0 - : _a.call(store, key, nextValue); - } - } - const prevState = state; - state = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_1__.__spreadProps)( + ); + (0, _SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_0__.setup)( + disclosure, + () => (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_1__.__spreadValues)( - {}, - state - ), - { [key]: nextValue } - ); - const thisUpdate = Symbol(); - lastUpdate = thisUpdate; - updatedKeys.add(key); - const run = (listener, prev, uKeys) => { - var _a2; - const keys = listenerKeys.get(listener); - const updated = (k) => - uKeys ? uKeys.has(k) : k === key; - if (!keys || keys.some(updated)) { - (_a2 = disposables.get(listener)) == null - ? void 0 - : _a2(); - disposables.set( - listener, - listener(state, prev) - ); - } - }; - for (const listener of listeners) { - run(listener, prevState); - } - queueMicrotask(() => { - if (lastUpdate !== thisUpdate) return; - const snapshot = state; - for (const listener of batchListeners) { - run(listener, prevStateBatch, updatedKeys); - } - prevStateBatch = snapshot; - updatedKeys.clear(); - }); - }; - const finalStore = { - getState, - setState, - __unstableInternals: { - setup: storeSetup, - init: storeInit, - subscribe: storeSubscribe, - sync: storeSync, - batch: storeBatch, - pick: storePick, - omit: storeOmit, - }, + _SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_0__.subscribe)( + disclosure, + ['open'], + () => { + if (!disclosure.getState().animated) return; + disclosure.setState('animating', true); + } + ) + ); + (0, _SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_0__.setup)( + disclosure, + () => + (0, _SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_0__.sync)( + disclosure, + ['open', 'animating'], + (state) => { + disclosure.setState( + 'mounted', + state.open || state.animating + ); + } + ) + ); + return { + ...disclosure, + disclosure: props.disclosure, + setOpen: (value) => disclosure.setState('open', value), + show: () => disclosure.setState('open', true), + hide: () => disclosure.setState('open', false), + toggle: () => + disclosure.setState('open', (open2) => !open2), + stopAnimation: () => + disclosure.setState('animating', false), + setContentElement: (value) => + disclosure.setState('contentElement', value), + setDisclosureElement: (value) => + disclosure.setState('disclosureElement', value), }; - return finalStore; - } - function setup(store, ...args) { - if (!store) return; - return getInternal(store, 'setup')(...args); - } - function init(store, ...args) { - if (!store) return; - return getInternal(store, 'init')(...args); - } - function subscribe(store, ...args) { - if (!store) return; - return getInternal(store, 'subscribe')(...args); - } - function sync(store, ...args) { - if (!store) return; - return getInternal(store, 'sync')(...args); - } - function batch(store, ...args) { - if (!store) return; - return getInternal(store, 'batch')(...args); - } - function omit2(store, ...args) { - if (!store) return; - return getInternal(store, 'omit')(...args); } - function pick2(store, ...args) { - if (!store) return; - return getInternal(store, 'pick')(...args); + + /***/ + }, + + /***/ './node_modules/@ariakit/core/esm/__chunks/7PRQYBBV.js': + /*!*************************************************************!*\ + !*** ./node_modules/@ariakit/core/esm/__chunks/7PRQYBBV.js ***! + \*************************************************************/ + /***/ function ( + __unused_webpack___webpack_module__, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ addItemToArray: function () { + return /* binding */ addItemToArray; + }, + /* harmony export */ flatten2DArray: function () { + return /* binding */ flatten2DArray; + }, + /* harmony export */ reverseArray: function () { + return /* binding */ reverseArray; + }, + /* harmony export */ toArray: function () { + return /* binding */ toArray; + }, + /* harmony export */ + } + ); + ('use client'); + + // src/utils/array.ts + function toArray(arg) { + if (Array.isArray(arg)) { + return arg; + } + return typeof arg !== 'undefined' ? [arg] : []; } - function mergeStore(...stores) { - var _a; - const initialState = {}; - for (const store2 of stores) { - const nextState = - (_a = store2 == null ? void 0 : store2.getState) == - null - ? void 0 - : _a.call(store2); - if (nextState) { - Object.assign(initialState, nextState); - } + function addItemToArray(array, item, index = -1) { + if (!(index in array)) { + return [...array, item]; } - const store = createStore(initialState, ...stores); - return Object.assign({}, ...stores, store); + return [ + ...array.slice(0, index), + item, + ...array.slice(index), + ]; } - function throwOnConflictingProps(props, store) { - if (false) { - // removed by dead control flow + function flatten2DArray(array) { + const flattened = []; + for (const row of array) { + flattened.push(...row); } - if (!store) return; - const defaultKeys = Object.entries(props) - .filter( - ([key, value]) => - key.startsWith('default') && value !== void 0 - ) - .map(([key]) => { - var _a; - const stateKey = key.replace('default', ''); - return `${((_a = stateKey[0]) == null ? void 0 : _a.toLowerCase()) || ''}${stateKey.slice(1)}`; - }); - if (!defaultKeys.length) return; - const storeState = store.getState(); - const conflictingProps = defaultKeys.filter((key) => - (0, - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_0__.hasOwnProperty)( - storeState, - key - ) - ); - if (!conflictingProps.length) return; - throw new Error( - `Passing a store prop in conjunction with a default state is not supported. - -const store = useSelectStore(); - - ^ ^ - -Instead, pass the default state to the topmost store: - -const store = useSelectStore({ defaultValue: "Apple" }); - - -See https://github.com/ariakit/ariakit/pull/2745 for more details. - -If there's a particular need for this, please submit a feature request at https://github.com/ariakit/ariakit -` - ); + return flattened; + } + function reverseArray(array) { + return array.slice().reverse(); } /***/ }, - /***/ './node_modules/@ariakit/core/esm/__chunks/K2KIGYQU.js': + /***/ './node_modules/@ariakit/core/esm/__chunks/AMRA5WUK.js': /*!*************************************************************!*\ - !*** ./node_modules/@ariakit/core/esm/__chunks/K2KIGYQU.js ***! + !*** ./node_modules/@ariakit/core/esm/__chunks/AMRA5WUK.js ***! \*************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -4887,17 +3974,13 @@ If there's a particular need for this, please submit a feature request at https: __webpack_require__( /*! ./37JWRFYW.js */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' ); - /* harmony import */ var _EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ./EWA2WL6G.js */ './node_modules/@ariakit/core/esm/__chunks/EWA2WL6G.js' - ); - /* harmony import */ var _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./PBFD2E7P.js */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! ./SXKM4CGU.js */ './node_modules/@ariakit/core/esm/__chunks/SXKM4CGU.js' ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/core/esm/__chunks/3YLGPPWQ.js' + /*! ./XMCVU3LR.js */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); ('use client'); @@ -4936,14 +4019,14 @@ If there's a particular need for this, please submit a feature request at https: function createCollectionStore(props = {}) { var _a; (0, - _EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_1__.throwOnConflictingProps)( + _SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_1__.throwOnConflictingProps)( props, props.store ); const syncState = (_a = props.store) == null ? void 0 : _a.getState(); const items = (0, - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_2__.defaultValue)( + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_2__.defaultValue)( props.items, syncState == null ? void 0 : syncState.items, props.defaultItems, @@ -4955,7 +4038,7 @@ If there's a particular need for this, please submit a feature request at https: const initialState = { items, renderedItems: (0, - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_2__.defaultValue)( + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_2__.defaultValue)( syncState == null ? void 0 : syncState.renderedItems, @@ -4964,12 +4047,12 @@ If there's a particular need for this, please submit a feature request at https: }; const syncPrivateStore = getPrivateStore(props.store); const privateStore = (0, - _EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_1__.createStore)( + _SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_1__.createStore)( { items, renderedItems: initialState.renderedItems }, syncPrivateStore ); const collection = (0, - _EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_1__.createStore)( + _SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_1__.createStore)( initialState, props.store ); @@ -4982,18 +4065,18 @@ If there's a particular need for this, please submit a feature request at https: privateStore.setState('renderedItems', sortedItems); collection.setState('renderedItems', sortedItems); }; - (0, _EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_1__.setup)( + (0, _SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_1__.setup)( collection, () => - (0, _EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_1__.init)( + (0, _SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_1__.init)( privateStore ) ); - (0, _EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_1__.setup)( + (0, _SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_1__.setup)( privateStore, () => { return (0, - _EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_1__.batch)( + _SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_1__.batch)( privateStore, ['items'], (state) => { @@ -5002,11 +4085,11 @@ If there's a particular need for this, please submit a feature request at https: ); } ); - (0, _EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_1__.setup)( + (0, _SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_1__.setup)( privateStore, () => { return (0, - _EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_1__.batch)( + _SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_1__.batch)( privateStore, ['renderedItems'], (state) => { @@ -5069,15 +4152,7 @@ If there's a particular need for this, please submit a feature request at https: const nextItems = items2.slice(); if (index !== -1) { prevItem = items2[index]; - const nextItem = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - {}, - prevItem - ), - item - ); + const nextItem = { ...prevItem, ...item }; nextItems[index] = nextItem; itemsMap.set(item.id, nextItem); } else { @@ -5115,53 +4190,44 @@ If there's a particular need for this, please submit a feature request at https: privateStore.setState('items', getItems), true ); - return (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - {}, - collection - ), - { - registerItem, - renderItem: (item) => - (0, - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_2__.chain)( - registerItem(item), - mergeItem(item, (getItems) => - privateStore.setState( - 'renderedItems', - getItems - ) + return { + ...collection, + registerItem, + renderItem: (item) => + (0, + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_2__.chain)( + registerItem(item), + mergeItem(item, (getItems) => + privateStore.setState( + 'renderedItems', + getItems ) - ), - item: (id) => { - if (!id) return null; - let item = itemsMap.get(id); - if (!item) { - const { items: items2 } = - privateStore.getState(); - item = items2.find( - (item2) => item2.id === id - ); - if (item) { - itemsMap.set(id, item); - } + ) + ), + item: (id) => { + if (!id) return null; + let item = itemsMap.get(id); + if (!item) { + const { items: items2 } = + privateStore.getState(); + item = items2.find((item2) => item2.id === id); + if (item) { + itemsMap.set(id, item); } - return item || null; - }, - // @ts-expect-error Internal - __unstablePrivateStore: privateStore, - } - ); + } + return item || null; + }, + // @ts-expect-error Internal + __unstablePrivateStore: privateStore, + }; } /***/ }, - /***/ './node_modules/@ariakit/core/esm/__chunks/MD3RIO2T.js': + /***/ './node_modules/@ariakit/core/esm/__chunks/BFGNM53A.js': /*!*************************************************************!*\ - !*** ./node_modules/@ariakit/core/esm/__chunks/MD3RIO2T.js ***! + !*** ./node_modules/@ariakit/core/esm/__chunks/BFGNM53A.js ***! \*************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -5179,37 +4245,29 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ } ); - /* harmony import */ var _RZDDWCDV_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./RZDDWCDV.js */ './node_modules/@ariakit/core/esm/__chunks/RZDDWCDV.js' - ); - /* harmony import */ var _EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _KMAUV3TY_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./EWA2WL6G.js */ './node_modules/@ariakit/core/esm/__chunks/EWA2WL6G.js' + /*! ./KMAUV3TY.js */ './node_modules/@ariakit/core/esm/__chunks/KMAUV3TY.js' ); - /* harmony import */ var _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./PBFD2E7P.js */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! ./SXKM4CGU.js */ './node_modules/@ariakit/core/esm/__chunks/SXKM4CGU.js' ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/core/esm/__chunks/3YLGPPWQ.js' + /*! ./XMCVU3LR.js */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); ('use client'); // src/popover/popover-store.ts - function createPopoverStore(_a = {}) { - var _b = _a, - { popover: otherPopover } = _b, - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__objRest)( - _b, - ['popover'] - ); + function createPopoverStore({ + popover: otherPopover, + ...props + } = {}) { const store = (0, - _EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_1__.mergeStore)( + _SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_1__.mergeStore)( props.store, - (0, _EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_1__.omit)( + (0, _SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_1__.omit)( otherPopover, [ 'arrowElement', @@ -5221,93 +4279,100 @@ If there's a particular need for this, please submit a feature request at https: ) ); (0, - _EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_1__.throwOnConflictingProps)( + _SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_1__.throwOnConflictingProps)( props, store ); const syncState = store == null ? void 0 : store.getState(); const dialog = (0, - _RZDDWCDV_js__WEBPACK_IMPORTED_MODULE_0__.createDialogStore)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - {}, - props - ), - { store } - ) + _KMAUV3TY_js__WEBPACK_IMPORTED_MODULE_0__.createDialogStore)( + { ...props, store } ); const placement = (0, - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_2__.defaultValue)( + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_2__.defaultValue)( props.placement, syncState == null ? void 0 : syncState.placement, 'bottom' ); - const initialState = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - {}, - dialog.getState() + const initialState = { + ...dialog.getState(), + placement, + currentPlacement: placement, + anchorElement: (0, + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_2__.defaultValue)( + syncState == null + ? void 0 + : syncState.anchorElement, + null ), - { - placement, - currentPlacement: placement, - anchorElement: (0, - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_2__.defaultValue)( - syncState == null - ? void 0 - : syncState.anchorElement, - null - ), - popoverElement: (0, - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_2__.defaultValue)( - syncState == null - ? void 0 - : syncState.popoverElement, - null - ), - arrowElement: (0, - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_2__.defaultValue)( - syncState == null - ? void 0 - : syncState.arrowElement, - null - ), - rendered: Symbol('rendered'), - } - ); + popoverElement: (0, + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_2__.defaultValue)( + syncState == null + ? void 0 + : syncState.popoverElement, + null + ), + arrowElement: (0, + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_2__.defaultValue)( + syncState == null ? void 0 : syncState.arrowElement, + null + ), + rendered: Symbol('rendered'), + }; const popover = (0, - _EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_1__.createStore)( + _SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_1__.createStore)( initialState, dialog, store ); + return { + ...dialog, + ...popover, + setAnchorElement: (element) => + popover.setState('anchorElement', element), + setPopoverElement: (element) => + popover.setState('popoverElement', element), + setArrowElement: (element) => + popover.setState('arrowElement', element), + render: () => + popover.setState('rendered', Symbol('rendered')), + }; + } + + /***/ + }, + + /***/ './node_modules/@ariakit/core/esm/__chunks/KMAUV3TY.js': + /*!*************************************************************!*\ + !*** ./node_modules/@ariakit/core/esm/__chunks/KMAUV3TY.js ***! + \*************************************************************/ + /***/ function ( + __unused_webpack___webpack_module__, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ createDialogStore: function () { + return /* binding */ createDialogStore; + }, + /* harmony export */ + } + ); + /* harmony import */ var _75BJEVSH_js__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! ./75BJEVSH.js */ './node_modules/@ariakit/core/esm/__chunks/75BJEVSH.js' + ); + ('use client'); + + // src/dialog/dialog-store.ts + function createDialogStore(props = {}) { return (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - {}, - dialog - ), - popover - ), - { - setAnchorElement: (element) => - popover.setState('anchorElement', element), - setPopoverElement: (element) => - popover.setState('popoverElement', element), - setArrowElement: (element) => - popover.setState('arrowElement', element), - render: () => - popover.setState( - 'rendered', - Symbol('rendered') - ), - } + _75BJEVSH_js__WEBPACK_IMPORTED_MODULE_0__.createDisclosureStore)( + props ); } @@ -5388,9 +4453,9 @@ If there's a particular need for this, please submit a feature request at https: /***/ }, - /***/ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js': + /***/ './node_modules/@ariakit/core/esm/__chunks/SXKM4CGU.js': /*!*************************************************************!*\ - !*** ./node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js ***! + !*** ./node_modules/@ariakit/core/esm/__chunks/SXKM4CGU.js ***! \*************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -5402,109 +4467,548 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ afterPaint: function () { - return /* binding */ afterPaint; - }, - /* harmony export */ applyState: function () { - return /* binding */ applyState; - }, - /* harmony export */ beforePaint: function () { - return /* binding */ beforePaint; - }, - /* harmony export */ chain: function () { - return /* binding */ chain; - }, - /* harmony export */ cx: function () { - return /* binding */ cx; - }, - /* harmony export */ defaultValue: function () { - return /* binding */ defaultValue; - }, - /* harmony export */ disabledFromProps: function () { - return /* binding */ disabledFromProps; - }, - /* harmony export */ getKeys: function () { - return /* binding */ getKeys; - }, - /* harmony export */ hasOwnProperty: function () { - return /* binding */ hasOwnProperty; - }, - /* harmony export */ identity: function () { - return /* binding */ identity; + /* harmony export */ batch: function () { + return /* binding */ batch; }, - /* harmony export */ invariant: function () { - return /* binding */ invariant; + /* harmony export */ createStore: function () { + return /* binding */ createStore; }, - /* harmony export */ isEmpty: function () { - return /* binding */ isEmpty; + /* harmony export */ init: function () { + return /* binding */ init; }, - /* harmony export */ isFalsyBooleanCallback: - function () { - return /* binding */ isFalsyBooleanCallback; - }, - /* harmony export */ isInteger: function () { - return /* binding */ isInteger; + /* harmony export */ mergeStore: function () { + return /* binding */ mergeStore; }, - /* harmony export */ isObject: function () { - return /* binding */ isObject; + /* harmony export */ omit: function () { + return /* binding */ omit2; }, - /* harmony export */ noop: function () { - return /* binding */ noop; + /* harmony export */ pick: function () { + return /* binding */ pick2; }, - /* harmony export */ normalizeString: function () { - return /* binding */ normalizeString; + /* harmony export */ setup: function () { + return /* binding */ setup; }, - /* harmony export */ omit: function () { - return /* binding */ omit; + /* harmony export */ subscribe: function () { + return /* binding */ subscribe; }, - /* harmony export */ pick: function () { - return /* binding */ pick; + /* harmony export */ sync: function () { + return /* binding */ sync; }, - /* harmony export */ removeUndefinedValues: + /* harmony export */ throwOnConflictingProps: function () { - return /* binding */ removeUndefinedValues; + return /* binding */ throwOnConflictingProps; }, - /* harmony export */ shallowEqual: function () { - return /* binding */ shallowEqual; - }, /* harmony export */ } ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/core/esm/__chunks/3YLGPPWQ.js' + /*! ./XMCVU3LR.js */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); ('use client'); - // src/utils/misc.ts - function noop(..._) {} - function shallowEqual(a, b) { - if (a === b) return true; - if (!a) return false; - if (!b) return false; - if (typeof a !== 'object') return false; - if (typeof b !== 'object') return false; - const aKeys = Object.keys(a); - const bKeys = Object.keys(b); - const { length } = aKeys; - if (bKeys.length !== length) return false; - for (const key of aKeys) { - if (a[key] !== b[key]) { - return false; - } - } - return true; - } - function applyState(argument, currentValue) { - if (isUpdater(argument)) { - const value = isLazyValue(currentValue) - ? currentValue() - : currentValue; - return argument(value); - } - return argument; + // src/utils/store.ts + function getInternal(store, key) { + const internals = store.__unstableInternals; + (0, _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_0__.invariant)( + internals, + 'Invalid store' + ); + return internals[key]; } - function isUpdater(argument) { + function createStore(initialState, ...stores) { + let state = initialState; + let prevStateBatch = state; + let lastUpdate = Symbol(); + let destroy = + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_0__.noop; + const instances = /* @__PURE__ */ new Set(); + const updatedKeys = /* @__PURE__ */ new Set(); + const setups = /* @__PURE__ */ new Set(); + const listeners = /* @__PURE__ */ new Set(); + const batchListeners = /* @__PURE__ */ new Set(); + const disposables = /* @__PURE__ */ new WeakMap(); + const listenerKeys = /* @__PURE__ */ new WeakMap(); + const storeSetup = (callback) => { + setups.add(callback); + return () => setups.delete(callback); + }; + const storeInit = () => { + const initialized = instances.size; + const instance = Symbol(); + instances.add(instance); + const maybeDestroy = () => { + instances.delete(instance); + if (instances.size) return; + destroy(); + }; + if (initialized) return maybeDestroy; + const desyncs = (0, + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_0__.getKeys)( + state + ).map((key) => + (0, + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_0__.chain)( + ...stores.map((store) => { + var _a; + const storeState = + (_a = + store == null + ? void 0 + : store.getState) == null + ? void 0 + : _a.call(store); + if (!storeState) return; + if ( + !(0, + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_0__.hasOwnProperty)( + storeState, + key + ) + ) + return; + return sync(store, [key], (state2) => { + setState( + key, + state2[key], + // @ts-expect-error - Not public API. This is just to prevent + // infinite loops. + true + ); + }); + }) + ) + ); + const teardowns = []; + for (const setup2 of setups) { + teardowns.push(setup2()); + } + const cleanups = stores.map(init); + destroy = (0, + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_0__.chain)( + ...desyncs, + ...teardowns, + ...cleanups + ); + return maybeDestroy; + }; + const sub = (keys, listener, set = listeners) => { + set.add(listener); + listenerKeys.set(listener, keys); + return () => { + var _a; + (_a = disposables.get(listener)) == null + ? void 0 + : _a(); + disposables.delete(listener); + listenerKeys.delete(listener); + set.delete(listener); + }; + }; + const storeSubscribe = (keys, listener) => + sub(keys, listener); + const storeSync = (keys, listener) => { + disposables.set(listener, listener(state, state)); + return sub(keys, listener); + }; + const storeBatch = (keys, listener) => { + disposables.set( + listener, + listener(state, prevStateBatch) + ); + return sub(keys, listener, batchListeners); + }; + const storePick = (keys) => + createStore( + (0, _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_0__.pick)( + state, + keys + ), + finalStore + ); + const storeOmit = (keys) => + createStore( + (0, _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_0__.omit)( + state, + keys + ), + finalStore + ); + const getState = () => state; + const setState = (key, value, fromStores = false) => { + var _a; + if ( + !(0, + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_0__.hasOwnProperty)( + state, + key + ) + ) + return; + const nextValue = (0, + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_0__.applyState)( + value, + state[key] + ); + if (nextValue === state[key]) return; + if (!fromStores) { + for (const store of stores) { + (_a = + store == null ? void 0 : store.setState) == + null + ? void 0 + : _a.call(store, key, nextValue); + } + } + const prevState = state; + state = { ...state, [key]: nextValue }; + const thisUpdate = Symbol(); + lastUpdate = thisUpdate; + updatedKeys.add(key); + const run = (listener, prev, uKeys) => { + var _a2; + const keys = listenerKeys.get(listener); + const updated = (k) => + uKeys ? uKeys.has(k) : k === key; + if (!keys || keys.some(updated)) { + (_a2 = disposables.get(listener)) == null + ? void 0 + : _a2(); + disposables.set( + listener, + listener(state, prev) + ); + } + }; + for (const listener of listeners) { + run(listener, prevState); + } + queueMicrotask(() => { + if (lastUpdate !== thisUpdate) return; + const snapshot = state; + for (const listener of batchListeners) { + run(listener, prevStateBatch, updatedKeys); + } + prevStateBatch = snapshot; + updatedKeys.clear(); + }); + }; + const finalStore = { + getState, + setState, + __unstableInternals: { + setup: storeSetup, + init: storeInit, + subscribe: storeSubscribe, + sync: storeSync, + batch: storeBatch, + pick: storePick, + omit: storeOmit, + }, + }; + return finalStore; + } + function setup(store, ...args) { + if (!store) return; + return getInternal(store, 'setup')(...args); + } + function init(store, ...args) { + if (!store) return; + return getInternal(store, 'init')(...args); + } + function subscribe(store, ...args) { + if (!store) return; + return getInternal(store, 'subscribe')(...args); + } + function sync(store, ...args) { + if (!store) return; + return getInternal(store, 'sync')(...args); + } + function batch(store, ...args) { + if (!store) return; + return getInternal(store, 'batch')(...args); + } + function omit2(store, ...args) { + if (!store) return; + return getInternal(store, 'omit')(...args); + } + function pick2(store, ...args) { + if (!store) return; + return getInternal(store, 'pick')(...args); + } + function mergeStore(...stores) { + var _a; + const initialState = {}; + for (const store2 of stores) { + const nextState = + (_a = store2 == null ? void 0 : store2.getState) == + null + ? void 0 + : _a.call(store2); + if (nextState) { + Object.assign(initialState, nextState); + } + } + const store = createStore(initialState, ...stores); + return Object.assign({}, ...stores, store); + } + function throwOnConflictingProps(props, store) { + if (false) { + // removed by dead control flow + } + if (!store) return; + const defaultKeys = Object.entries(props) + .filter( + ([key, value]) => + key.startsWith('default') && value !== void 0 + ) + .map(([key]) => { + var _a; + const stateKey = key.replace('default', ''); + return `${((_a = stateKey[0]) == null ? void 0 : _a.toLowerCase()) || ''}${stateKey.slice(1)}`; + }); + if (!defaultKeys.length) return; + const storeState = store.getState(); + const conflictingProps = defaultKeys.filter((key) => + (0, + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_0__.hasOwnProperty)( + storeState, + key + ) + ); + if (!conflictingProps.length) return; + throw new Error( + `Passing a store prop in conjunction with a default state is not supported. + +const store = useSelectStore(); + + ^ ^ + +Instead, pass the default state to the topmost store: + +const store = useSelectStore({ defaultValue: "Apple" }); + + +See https://github.com/ariakit/ariakit/pull/2745 for more details. + +If there's a particular need for this, please submit a feature request at https://github.com/ariakit/ariakit +` + ); + } + + /***/ + }, + + /***/ './node_modules/@ariakit/core/esm/__chunks/TIQDSBWP.js': + /*!*************************************************************!*\ + !*** ./node_modules/@ariakit/core/esm/__chunks/TIQDSBWP.js ***! + \*************************************************************/ + /***/ function ( + __unused_webpack___webpack_module__, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ createHovercardStore: function () { + return /* binding */ createHovercardStore; + }, + /* harmony export */ + } + ); + /* harmony import */ var _BFGNM53A_js__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! ./BFGNM53A.js */ './node_modules/@ariakit/core/esm/__chunks/BFGNM53A.js' + ); + /* harmony import */ var _SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_1__ = + __webpack_require__( + /*! ./SXKM4CGU.js */ './node_modules/@ariakit/core/esm/__chunks/SXKM4CGU.js' + ); + /* harmony import */ var _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_2__ = + __webpack_require__( + /*! ./XMCVU3LR.js */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' + ); + ('use client'); + + // src/hovercard/hovercard-store.ts + function createHovercardStore(props = {}) { + var _a; + const syncState = + (_a = props.store) == null ? void 0 : _a.getState(); + const popover = (0, + _BFGNM53A_js__WEBPACK_IMPORTED_MODULE_0__.createPopoverStore)( + { + ...props, + placement: (0, + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_2__.defaultValue)( + props.placement, + syncState == null + ? void 0 + : syncState.placement, + 'bottom' + ), + } + ); + const timeout = (0, + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_2__.defaultValue)( + props.timeout, + syncState == null ? void 0 : syncState.timeout, + 500 + ); + const initialState = { + ...popover.getState(), + timeout, + showTimeout: (0, + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_2__.defaultValue)( + props.showTimeout, + syncState == null ? void 0 : syncState.showTimeout + ), + hideTimeout: (0, + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_2__.defaultValue)( + props.hideTimeout, + syncState == null ? void 0 : syncState.hideTimeout + ), + autoFocusOnShow: (0, + _XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_2__.defaultValue)( + syncState == null + ? void 0 + : syncState.autoFocusOnShow, + false + ), + }; + const hovercard = (0, + _SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_1__.createStore)( + initialState, + popover, + props.store + ); + return { + ...popover, + ...hovercard, + setAutoFocusOnShow: (value) => + hovercard.setState('autoFocusOnShow', value), + }; + } + + /***/ + }, + + /***/ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js': + /*!*************************************************************!*\ + !*** ./node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js ***! + \*************************************************************/ + /***/ function ( + __unused_webpack___webpack_module__, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ afterPaint: function () { + return /* binding */ afterPaint; + }, + /* harmony export */ applyState: function () { + return /* binding */ applyState; + }, + /* harmony export */ beforePaint: function () { + return /* binding */ beforePaint; + }, + /* harmony export */ chain: function () { + return /* binding */ chain; + }, + /* harmony export */ cx: function () { + return /* binding */ cx; + }, + /* harmony export */ defaultValue: function () { + return /* binding */ defaultValue; + }, + /* harmony export */ disabledFromProps: function () { + return /* binding */ disabledFromProps; + }, + /* harmony export */ getKeys: function () { + return /* binding */ getKeys; + }, + /* harmony export */ hasOwnProperty: function () { + return /* binding */ hasOwnProperty; + }, + /* harmony export */ identity: function () { + return /* binding */ identity; + }, + /* harmony export */ invariant: function () { + return /* binding */ invariant; + }, + /* harmony export */ isEmpty: function () { + return /* binding */ isEmpty; + }, + /* harmony export */ isFalsyBooleanCallback: + function () { + return /* binding */ isFalsyBooleanCallback; + }, + /* harmony export */ isInteger: function () { + return /* binding */ isInteger; + }, + /* harmony export */ isObject: function () { + return /* binding */ isObject; + }, + /* harmony export */ noop: function () { + return /* binding */ noop; + }, + /* harmony export */ normalizeString: function () { + return /* binding */ normalizeString; + }, + /* harmony export */ omit: function () { + return /* binding */ omit; + }, + /* harmony export */ pick: function () { + return /* binding */ pick; + }, + /* harmony export */ removeUndefinedValues: + function () { + return /* binding */ removeUndefinedValues; + }, + /* harmony export */ shallowEqual: function () { + return /* binding */ shallowEqual; + }, + /* harmony export */ + } + ); + ('use client'); + + // src/utils/misc.ts + function noop(..._) {} + function shallowEqual(a, b) { + if (a === b) return true; + if (!a) return false; + if (!b) return false; + if (typeof a !== 'object') return false; + if (typeof b !== 'object') return false; + const aKeys = Object.keys(a); + const bKeys = Object.keys(b); + const { length } = aKeys; + if (bKeys.length !== length) return false; + for (const key of aKeys) { + if (a[key] !== b[key]) { + return false; + } + } + return true; + } + function applyState(argument, currentValue) { + if (isUpdater(argument)) { + const value = isLazyValue(currentValue) + ? currentValue() + : currentValue; + return argument(value); + } + return argument; + } + function isUpdater(argument) { return typeof argument === 'function'; } function isLazyValue(value) { @@ -5548,11 +5052,7 @@ If there's a particular need for this, please submit a feature request at https: return str.normalize('NFD').replace(/[\u0300-\u036f]/g, ''); } function omit(object, keys) { - const result = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_0__.__spreadValues)( - {}, - object - ); + const result = { ...object }; for (const key of keys) { if (hasOwnProperty(result, key)) { delete result[key]; @@ -5625,172 +5125,6 @@ If there's a particular need for this, please submit a feature request at https: /***/ }, - /***/ './node_modules/@ariakit/core/esm/__chunks/RZDDWCDV.js': - /*!*************************************************************!*\ - !*** ./node_modules/@ariakit/core/esm/__chunks/RZDDWCDV.js ***! - \*************************************************************/ - /***/ function ( - __unused_webpack___webpack_module__, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ createDialogStore: function () { - return /* binding */ createDialogStore; - }, - /* harmony export */ - } - ); - /* harmony import */ var _43IPP2F4_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./43IPP2F4.js */ './node_modules/@ariakit/core/esm/__chunks/43IPP2F4.js' - ); - ('use client'); - - // src/dialog/dialog-store.ts - function createDialogStore(props = {}) { - return (0, - _43IPP2F4_js__WEBPACK_IMPORTED_MODULE_0__.createDisclosureStore)( - props - ); - } - - /***/ - }, - - /***/ './node_modules/@ariakit/core/esm/__chunks/X2ASWIQW.js': - /*!*************************************************************!*\ - !*** ./node_modules/@ariakit/core/esm/__chunks/X2ASWIQW.js ***! - \*************************************************************/ - /***/ function ( - __unused_webpack___webpack_module__, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ createHovercardStore: function () { - return /* binding */ createHovercardStore; - }, - /* harmony export */ - } - ); - /* harmony import */ var _MD3RIO2T_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./MD3RIO2T.js */ './node_modules/@ariakit/core/esm/__chunks/MD3RIO2T.js' - ); - /* harmony import */ var _EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ./EWA2WL6G.js */ './node_modules/@ariakit/core/esm/__chunks/EWA2WL6G.js' - ); - /* harmony import */ var _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_2__ = - __webpack_require__( - /*! ./PBFD2E7P.js */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' - ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__ = - __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/core/esm/__chunks/3YLGPPWQ.js' - ); - ('use client'); - - // src/hovercard/hovercard-store.ts - function createHovercardStore(props = {}) { - var _a; - const syncState = - (_a = props.store) == null ? void 0 : _a.getState(); - const popover = (0, - _MD3RIO2T_js__WEBPACK_IMPORTED_MODULE_0__.createPopoverStore)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - {}, - props - ), - { - placement: (0, - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_2__.defaultValue)( - props.placement, - syncState == null - ? void 0 - : syncState.placement, - 'bottom' - ), - } - ) - ); - const timeout = (0, - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_2__.defaultValue)( - props.timeout, - syncState == null ? void 0 : syncState.timeout, - 500 - ); - const initialState = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - {}, - popover.getState() - ), - { - timeout, - showTimeout: (0, - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_2__.defaultValue)( - props.showTimeout, - syncState == null - ? void 0 - : syncState.showTimeout - ), - hideTimeout: (0, - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_2__.defaultValue)( - props.hideTimeout, - syncState == null - ? void 0 - : syncState.hideTimeout - ), - autoFocusOnShow: (0, - _PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_2__.defaultValue)( - syncState == null - ? void 0 - : syncState.autoFocusOnShow, - false - ), - } - ); - const hovercard = (0, - _EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_1__.createStore)( - initialState, - popover, - props.store - ); - return (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - {}, - popover - ), - hovercard - ), - { - setAutoFocusOnShow: (value) => - hovercard.setState('autoFocusOnShow', value), - } - ); - } - - /***/ - }, - /***/ './node_modules/@ariakit/core/esm/checkbox/checkbox-store.js': /*!*******************************************************************!*\ !*** ./node_modules/@ariakit/core/esm/checkbox/checkbox-store.js ***! @@ -5811,17 +5145,13 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ } ); - /* harmony import */ var _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ../__chunks/EWA2WL6G.js */ './node_modules/@ariakit/core/esm/__chunks/EWA2WL6G.js' + /*! ../__chunks/SXKM4CGU.js */ './node_modules/@ariakit/core/esm/__chunks/SXKM4CGU.js' ); - /* harmony import */ var _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ../__chunks/PBFD2E7P.js */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' - ); - /* harmony import */ var _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__ = - __webpack_require__( - /*! ../__chunks/3YLGPPWQ.js */ './node_modules/@ariakit/core/esm/__chunks/3YLGPPWQ.js' + /*! ../__chunks/XMCVU3LR.js */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); ('use client'); @@ -5829,7 +5159,7 @@ If there's a particular need for this, please submit a feature request at https: function createCheckboxStore(props = {}) { var _a; (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_0__.throwOnConflictingProps)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_0__.throwOnConflictingProps)( props, props.store ); @@ -5837,7 +5167,7 @@ If there's a particular need for this, please submit a feature request at https: (_a = props.store) == null ? void 0 : _a.getState(); const initialState = { value: (0, - _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_1__.defaultValue)( + _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_1__.defaultValue)( props.value, syncState == null ? void 0 : syncState.value, props.defaultValue, @@ -5845,22 +5175,14 @@ If there's a particular need for this, please submit a feature request at https: ), }; const checkbox = (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_0__.createStore)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_0__.createStore)( initialState, props.store ); - return (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__.__spreadValues)( - {}, - checkbox - ), - { - setValue: (value) => - checkbox.setState('value', value), - } - ); + return { + ...checkbox, + setValue: (value) => checkbox.setState('value', value), + }; } /***/ @@ -5890,25 +5212,21 @@ If there's a particular need for this, please submit a feature request at https: __webpack_require__( /*! ../__chunks/O6E4ZWCP.js */ './node_modules/@ariakit/core/esm/__chunks/O6E4ZWCP.js' ); - /* harmony import */ var _chunks_MD3RIO2T_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ../__chunks/MD3RIO2T.js */ './node_modules/@ariakit/core/esm/__chunks/MD3RIO2T.js' - ); - /* harmony import */ var _chunks_C34RJTDU_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _chunks_BFGNM53A_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ../__chunks/C34RJTDU.js */ './node_modules/@ariakit/core/esm/__chunks/C34RJTDU.js' + /*! ../__chunks/BFGNM53A.js */ './node_modules/@ariakit/core/esm/__chunks/BFGNM53A.js' ); - /* harmony import */ var _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _chunks_73UNQSFO_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ../__chunks/EWA2WL6G.js */ './node_modules/@ariakit/core/esm/__chunks/EWA2WL6G.js' + /*! ../__chunks/73UNQSFO.js */ './node_modules/@ariakit/core/esm/__chunks/73UNQSFO.js' ); - /* harmony import */ var _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! ../__chunks/PBFD2E7P.js */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! ../__chunks/SXKM4CGU.js */ './node_modules/@ariakit/core/esm/__chunks/SXKM4CGU.js' ); - /* harmony import */ var _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__ = + /* harmony import */ var _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! ../__chunks/3YLGPPWQ.js */ './node_modules/@ariakit/core/esm/__chunks/3YLGPPWQ.js' + /*! ../__chunks/XMCVU3LR.js */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); ('use client'); @@ -5918,121 +5236,100 @@ If there's a particular need for this, please submit a feature request at https: _chunks_O6E4ZWCP_js__WEBPACK_IMPORTED_MODULE_0__.isSafari)() && (0, _chunks_O6E4ZWCP_js__WEBPACK_IMPORTED_MODULE_0__.isTouchDevice)(); - function createComboboxStore(_a = {}) { - var _b = _a, - { tag } = _b, - props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__objRest)( - _b, - ['tag'] - ); + function createComboboxStore({ tag, ...props } = {}) { const store = (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_3__.mergeStore)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_3__.mergeStore)( props.store, (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_3__.pick)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_3__.pick)( tag, ['value', 'rtl'] ) ); (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_3__.throwOnConflictingProps)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_3__.throwOnConflictingProps)( props, store ); const tagState = tag == null ? void 0 : tag.getState(); const syncState = store == null ? void 0 : store.getState(); const activeId = (0, - _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_4__.defaultValue)( + _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_4__.defaultValue)( props.activeId, syncState == null ? void 0 : syncState.activeId, props.defaultActiveId, null ); const composite = (0, - _chunks_C34RJTDU_js__WEBPACK_IMPORTED_MODULE_2__.createCompositeStore)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - {}, - props + _chunks_73UNQSFO_js__WEBPACK_IMPORTED_MODULE_2__.createCompositeStore)( + { + ...props, + activeId, + includesBaseElement: (0, + _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_4__.defaultValue)( + props.includesBaseElement, + syncState == null + ? void 0 + : syncState.includesBaseElement, + true ), - { - activeId, - includesBaseElement: (0, - _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_4__.defaultValue)( - props.includesBaseElement, - syncState == null - ? void 0 - : syncState.includesBaseElement, - true - ), - orientation: (0, - _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_4__.defaultValue)( - props.orientation, - syncState == null - ? void 0 - : syncState.orientation, - 'vertical' - ), - focusLoop: (0, - _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_4__.defaultValue)( - props.focusLoop, - syncState == null - ? void 0 - : syncState.focusLoop, - true - ), - focusWrap: (0, - _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_4__.defaultValue)( - props.focusWrap, - syncState == null - ? void 0 - : syncState.focusWrap, - true - ), - virtualFocus: (0, - _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_4__.defaultValue)( - props.virtualFocus, - syncState == null - ? void 0 - : syncState.virtualFocus, - true - ), - } - ) + orientation: (0, + _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_4__.defaultValue)( + props.orientation, + syncState == null + ? void 0 + : syncState.orientation, + 'vertical' + ), + focusLoop: (0, + _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_4__.defaultValue)( + props.focusLoop, + syncState == null + ? void 0 + : syncState.focusLoop, + true + ), + focusWrap: (0, + _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_4__.defaultValue)( + props.focusWrap, + syncState == null + ? void 0 + : syncState.focusWrap, + true + ), + virtualFocus: (0, + _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_4__.defaultValue)( + props.virtualFocus, + syncState == null + ? void 0 + : syncState.virtualFocus, + true + ), + } ); const popover = (0, - _chunks_MD3RIO2T_js__WEBPACK_IMPORTED_MODULE_1__.createPopoverStore)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - {}, - props + _chunks_BFGNM53A_js__WEBPACK_IMPORTED_MODULE_1__.createPopoverStore)( + { + ...props, + placement: (0, + _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_4__.defaultValue)( + props.placement, + syncState == null + ? void 0 + : syncState.placement, + 'bottom-start' ), - { - placement: (0, - _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_4__.defaultValue)( - props.placement, - syncState == null - ? void 0 - : syncState.placement, - 'bottom-start' - ), - } - ) + } ); const value = (0, - _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_4__.defaultValue)( + _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_4__.defaultValue)( props.value, syncState == null ? void 0 : syncState.value, props.defaultValue, '' ); const selectedValue = (0, - _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_4__.defaultValue)( + _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_4__.defaultValue)( props.selectedValue, syncState == null ? void 0 : syncState.selectedValue, tagState == null ? void 0 : tagState.values, @@ -6040,44 +5337,32 @@ If there's a particular need for this, please submit a feature request at https: '' ); const multiSelectable = Array.isArray(selectedValue); - const initialState = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - {}, - composite.getState() - ), - popover.getState() + const initialState = { + ...composite.getState(), + ...popover.getState(), + value, + selectedValue, + resetValueOnSelect: (0, + _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_4__.defaultValue)( + props.resetValueOnSelect, + syncState == null + ? void 0 + : syncState.resetValueOnSelect, + multiSelectable ), - { - value, - selectedValue, - resetValueOnSelect: (0, - _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_4__.defaultValue)( - props.resetValueOnSelect, - syncState == null - ? void 0 - : syncState.resetValueOnSelect, - multiSelectable - ), - resetValueOnHide: (0, - _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_4__.defaultValue)( - props.resetValueOnHide, - syncState == null - ? void 0 - : syncState.resetValueOnHide, - multiSelectable && !tag - ), - activeValue: - syncState == null - ? void 0 - : syncState.activeValue, - } - ); + resetValueOnHide: (0, + _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_4__.defaultValue)( + props.resetValueOnHide, + syncState == null + ? void 0 + : syncState.resetValueOnHide, + multiSelectable && !tag + ), + activeValue: + syncState == null ? void 0 : syncState.activeValue, + }; const combobox = (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_3__.createStore)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_3__.createStore)( initialState, composite, popover, @@ -6085,11 +5370,11 @@ If there's a particular need for this, please submit a feature request at https: ); if (isTouchSafari) { (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_3__.setup)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_3__.setup)( combobox, () => (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_3__.sync)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_3__.sync)( combobox, ['virtualFocus'], () => { @@ -6101,14 +5386,14 @@ If there's a particular need for this, please submit a feature request at https: ) ); } - (0, _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_3__.setup)( + (0, _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_3__.setup)( combobox, () => { if (!tag) return; return (0, - _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_4__.chain)( + _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_4__.chain)( (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_3__.sync)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_3__.sync)( combobox, ['selectedValue'], (state) => { @@ -6118,7 +5403,7 @@ If there's a particular need for this, please submit a feature request at https: } ), (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_3__.sync)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_3__.sync)( tag, ['values'], (state) => { @@ -6131,11 +5416,11 @@ If there's a particular need for this, please submit a feature request at https: ); } ); - (0, _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_3__.setup)( + (0, _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_3__.setup)( combobox, () => (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_3__.sync)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_3__.sync)( combobox, ['resetValueOnHide', 'mounted'], (state) => { @@ -6145,11 +5430,11 @@ If there's a particular need for this, please submit a feature request at https: } ) ); - (0, _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_3__.setup)( + (0, _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_3__.setup)( combobox, () => (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_3__.sync)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_3__.sync)( combobox, ['open'], (state) => { @@ -6159,11 +5444,11 @@ If there's a particular need for this, please submit a feature request at https: } ) ); - (0, _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_3__.setup)( + (0, _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_3__.setup)( combobox, () => (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_3__.sync)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_3__.sync)( combobox, ['moves', 'activeId'], (state, prevState) => { @@ -6176,11 +5461,11 @@ If there's a particular need for this, please submit a feature request at https: } ) ); - (0, _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_3__.setup)( + (0, _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_3__.setup)( combobox, () => (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_3__.batch)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_3__.batch)( combobox, ['moves', 'renderedItems'], (state, prev) => { @@ -6198,34 +5483,18 @@ If there's a particular need for this, please submit a feature request at https: } ) ); - return (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - {}, - popover - ), - composite - ), - combobox - ), - { - tag, - setValue: (value2) => - combobox.setState('value', value2), - resetValue: () => - combobox.setState('value', initialState.value), - setSelectedValue: (selectedValue2) => - combobox.setState( - 'selectedValue', - selectedValue2 - ), - } - ); + return { + ...popover, + ...composite, + ...combobox, + tag, + setValue: (value2) => + combobox.setState('value', value2), + resetValue: () => + combobox.setState('value', initialState.value), + setSelectedValue: (selectedValue2) => + combobox.setState('selectedValue', selectedValue2), + }; } /***/ @@ -6251,48 +5520,42 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ } ); - /* harmony import */ var _chunks_X2ASWIQW_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ../__chunks/X2ASWIQW.js */ './node_modules/@ariakit/core/esm/__chunks/X2ASWIQW.js' - ); - /* harmony import */ var _chunks_C34RJTDU_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _chunks_TIQDSBWP_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ../__chunks/C34RJTDU.js */ './node_modules/@ariakit/core/esm/__chunks/C34RJTDU.js' + /*! ../__chunks/TIQDSBWP.js */ './node_modules/@ariakit/core/esm/__chunks/TIQDSBWP.js' ); - /* harmony import */ var _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _chunks_73UNQSFO_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ../__chunks/EWA2WL6G.js */ './node_modules/@ariakit/core/esm/__chunks/EWA2WL6G.js' + /*! ../__chunks/73UNQSFO.js */ './node_modules/@ariakit/core/esm/__chunks/73UNQSFO.js' ); - /* harmony import */ var _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ../__chunks/PBFD2E7P.js */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! ../__chunks/SXKM4CGU.js */ './node_modules/@ariakit/core/esm/__chunks/SXKM4CGU.js' ); - /* harmony import */ var _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! ../__chunks/3YLGPPWQ.js */ './node_modules/@ariakit/core/esm/__chunks/3YLGPPWQ.js' + /*! ../__chunks/XMCVU3LR.js */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); ('use client'); // src/menu/menu-store.ts - function createMenuStore(_a = {}) { - var _b = _a, - { combobox, parent, menubar } = _b, - props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__objRest)( - _b, - ['combobox', 'parent', 'menubar'] - ); + function createMenuStore({ + combobox, + parent, + menubar, + ...props + } = {}) { const parentIsMenubar = !!menubar && !parent; const store = (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_2__.mergeStore)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_2__.mergeStore)( props.store, (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_2__.pick)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_2__.pick)( parent, ['values'] ), (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_2__.omit)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_2__.omit)( combobox, [ 'arrowElement', @@ -6304,101 +5567,77 @@ If there's a particular need for this, please submit a feature request at https: ) ); (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_2__.throwOnConflictingProps)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_2__.throwOnConflictingProps)( props, store ); const syncState = store.getState(); const composite = (0, - _chunks_C34RJTDU_js__WEBPACK_IMPORTED_MODULE_1__.createCompositeStore)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - {}, - props + _chunks_73UNQSFO_js__WEBPACK_IMPORTED_MODULE_1__.createCompositeStore)( + { + ...props, + store, + orientation: (0, + _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( + props.orientation, + syncState.orientation, + 'vertical' ), - { - store, - orientation: (0, - _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( - props.orientation, - syncState.orientation, - 'vertical' - ), - } - ) + } ); const hovercard = (0, - _chunks_X2ASWIQW_js__WEBPACK_IMPORTED_MODULE_0__.createHovercardStore)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - {}, - props - ), - { - store, - placement: (0, - _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( - props.placement, - syncState.placement, - 'bottom-start' - ), - timeout: (0, - _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( - props.timeout, - syncState.timeout, - parentIsMenubar ? 0 : 150 - ), - hideTimeout: (0, - _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( - props.hideTimeout, - syncState.hideTimeout, - 0 - ), - } - ) - ); - const initialState = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - {}, - composite.getState() - ), - hovercard.getState() - ), + _chunks_TIQDSBWP_js__WEBPACK_IMPORTED_MODULE_0__.createHovercardStore)( { - initialFocus: (0, - _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( - syncState.initialFocus, - 'container' - ), - values: (0, - _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( - props.values, - syncState.values, - props.defaultValues, - {} + ...props, + store, + placement: (0, + _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( + props.placement, + syncState.placement, + 'bottom-start' + ), + timeout: (0, + _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( + props.timeout, + syncState.timeout, + parentIsMenubar ? 0 : 150 + ), + hideTimeout: (0, + _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( + props.hideTimeout, + syncState.hideTimeout, + 0 ), } ); + const initialState = { + ...composite.getState(), + ...hovercard.getState(), + initialFocus: (0, + _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( + syncState.initialFocus, + 'container' + ), + values: (0, + _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( + props.values, + syncState.values, + props.defaultValues, + {} + ), + }; const menu = (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_2__.createStore)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_2__.createStore)( initialState, composite, hovercard, store ); - (0, _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_2__.setup)( + (0, _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_2__.setup)( menu, () => (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_2__.sync)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_2__.sync)( menu, ['mounted'], (state) => { @@ -6407,11 +5646,11 @@ If there's a particular need for this, please submit a feature request at https: } ) ); - (0, _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_2__.setup)( + (0, _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_2__.setup)( menu, () => (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_2__.sync)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_2__.sync)( parent, ['orientation'], (state) => { @@ -6424,62 +5663,39 @@ If there's a particular need for this, please submit a feature request at https: } ) ); - return (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - {}, - composite - ), - hovercard - ), - menu - ), - { - combobox, - parent, - menubar, - hideAll: () => { - hovercard.hide(); - parent == null ? void 0 : parent.hideAll(); - }, - setInitialFocus: (value) => - menu.setState('initialFocus', value), - setValues: (values) => - menu.setState('values', values), - setValue: (name, value) => { - if (name === '__proto__') return; - if (name === 'constructor') return; - if (Array.isArray(name)) return; - menu.setState('values', (values) => { - const prevValue = values[name]; - const nextValue = (0, - _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_3__.applyState)( - value, - prevValue - ); - if (nextValue === prevValue) return values; - return (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - {}, - values - ), - { - [name]: - nextValue !== void 0 && - nextValue, - } - ); - }); - }, - } - ); + return { + ...composite, + ...hovercard, + ...menu, + combobox, + parent, + menubar, + hideAll: () => { + hovercard.hide(); + parent == null ? void 0 : parent.hideAll(); + }, + setInitialFocus: (value) => + menu.setState('initialFocus', value), + setValues: (values) => menu.setState('values', values), + setValue: (name, value) => { + if (name === '__proto__') return; + if (name === 'constructor') return; + if (Array.isArray(name)) return; + menu.setState('values', (values) => { + const prevValue = values[name]; + const nextValue = (0, + _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_3__.applyState)( + value, + prevValue + ); + if (nextValue === prevValue) return values; + return { + ...values, + [name]: nextValue !== void 0 && nextValue, + }; + }); + }, + }; } /***/ @@ -6505,93 +5721,60 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ } ); - /* harmony import */ var _chunks_C34RJTDU_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ../__chunks/C34RJTDU.js */ './node_modules/@ariakit/core/esm/__chunks/C34RJTDU.js' - ); - /* harmony import */ var _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _chunks_73UNQSFO_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ../__chunks/EWA2WL6G.js */ './node_modules/@ariakit/core/esm/__chunks/EWA2WL6G.js' + /*! ../__chunks/73UNQSFO.js */ './node_modules/@ariakit/core/esm/__chunks/73UNQSFO.js' ); - /* harmony import */ var _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ../__chunks/PBFD2E7P.js */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! ../__chunks/SXKM4CGU.js */ './node_modules/@ariakit/core/esm/__chunks/SXKM4CGU.js' ); - /* harmony import */ var _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ../__chunks/3YLGPPWQ.js */ './node_modules/@ariakit/core/esm/__chunks/3YLGPPWQ.js' + /*! ../__chunks/XMCVU3LR.js */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); ('use client'); // src/radio/radio-store.ts - function createRadioStore(_a = {}) { - var props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__objRest)( - _a, - [] - ); - var _a2; + function createRadioStore({ ...props } = {}) { + var _a; const syncState = - (_a2 = props.store) == null ? void 0 : _a2.getState(); + (_a = props.store) == null ? void 0 : _a.getState(); const composite = (0, - _chunks_C34RJTDU_js__WEBPACK_IMPORTED_MODULE_0__.createCompositeStore)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - {}, - props - ), - { - focusLoop: (0, - _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_2__.defaultValue)( - props.focusLoop, - syncState == null - ? void 0 - : syncState.focusLoop, - true - ), - } - ) - ); - const initialState = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - {}, - composite.getState() - ), + _chunks_73UNQSFO_js__WEBPACK_IMPORTED_MODULE_0__.createCompositeStore)( { - value: (0, - _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_2__.defaultValue)( - props.value, - syncState == null ? void 0 : syncState.value, - props.defaultValue, - null + ...props, + focusLoop: (0, + _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_2__.defaultValue)( + props.focusLoop, + syncState == null + ? void 0 + : syncState.focusLoop, + true ), } ); + const initialState = { + ...composite.getState(), + value: (0, + _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_2__.defaultValue)( + props.value, + syncState == null ? void 0 : syncState.value, + props.defaultValue, + null + ), + }; const radio = (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_1__.createStore)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_1__.createStore)( initialState, composite, props.store ); - return (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - {}, - composite - ), - radio - ), - { - setValue: (value) => radio.setState('value', value), - } - ); + return { + ...composite, + ...radio, + setValue: (value) => radio.setState('value', value), + }; } /***/ @@ -6617,37 +5800,30 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ } ); - /* harmony import */ var _chunks_C34RJTDU_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _chunks_73UNQSFO_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ../__chunks/C34RJTDU.js */ './node_modules/@ariakit/core/esm/__chunks/C34RJTDU.js' + /*! ../__chunks/73UNQSFO.js */ './node_modules/@ariakit/core/esm/__chunks/73UNQSFO.js' ); - /* harmony import */ var _chunks_K2KIGYQU_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _chunks_AMRA5WUK_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ../__chunks/K2KIGYQU.js */ './node_modules/@ariakit/core/esm/__chunks/K2KIGYQU.js' + /*! ../__chunks/AMRA5WUK.js */ './node_modules/@ariakit/core/esm/__chunks/AMRA5WUK.js' ); - /* harmony import */ var _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ../__chunks/EWA2WL6G.js */ './node_modules/@ariakit/core/esm/__chunks/EWA2WL6G.js' + /*! ../__chunks/SXKM4CGU.js */ './node_modules/@ariakit/core/esm/__chunks/SXKM4CGU.js' ); - /* harmony import */ var _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! ../__chunks/PBFD2E7P.js */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' - ); - /* harmony import */ var _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__ = - __webpack_require__( - /*! ../__chunks/3YLGPPWQ.js */ './node_modules/@ariakit/core/esm/__chunks/3YLGPPWQ.js' + /*! ../__chunks/XMCVU3LR.js */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); ('use client'); // src/tab/tab-store.ts - function createTabStore(_a = {}) { - var _b = _a, - { composite: parentComposite, combobox } = _b, - props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__objRest)( - _b, - ['composite', 'combobox'] - ); + function createTabStore({ + composite: parentComposite, + combobox, + ...props + } = {}) { const independentKeys = [ 'items', 'renderedItems', @@ -6661,101 +5837,83 @@ If there's a particular need for this, please submit a feature request at https: 'focusWrap', ]; const store = (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_2__.mergeStore)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_2__.mergeStore)( props.store, (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_2__.omit)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_2__.omit)( parentComposite, independentKeys ), (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_2__.omit)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_2__.omit)( combobox, independentKeys ) ); const syncState = store == null ? void 0 : store.getState(); const composite = (0, - _chunks_C34RJTDU_js__WEBPACK_IMPORTED_MODULE_0__.createCompositeStore)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - {}, - props - ), - { - store, - // We need to explicitly set the default value of `includesBaseElement` to - // `false` since we don't want the composite store to default it to `true` - // when the activeId state is null, which could be the case when rendering - // combobox with tab. - includesBaseElement: (0, - _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( - props.includesBaseElement, - syncState == null - ? void 0 - : syncState.includesBaseElement, - false - ), - orientation: (0, - _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( - props.orientation, - syncState == null - ? void 0 - : syncState.orientation, - 'horizontal' - ), - focusLoop: (0, - _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( - props.focusLoop, - syncState == null - ? void 0 - : syncState.focusLoop, - true - ), - } - ) - ); - const panels = (0, - _chunks_K2KIGYQU_js__WEBPACK_IMPORTED_MODULE_1__.createCollectionStore)(); - const initialState = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - {}, - composite.getState() - ), + _chunks_73UNQSFO_js__WEBPACK_IMPORTED_MODULE_0__.createCompositeStore)( { - selectedId: (0, - _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( - props.selectedId, + ...props, + store, + // We need to explicitly set the default value of `includesBaseElement` to + // `false` since we don't want the composite store to default it to `true` + // when the activeId state is null, which could be the case when rendering + // combobox with tab. + includesBaseElement: (0, + _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( + props.includesBaseElement, + syncState == null + ? void 0 + : syncState.includesBaseElement, + false + ), + orientation: (0, + _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( + props.orientation, syncState == null ? void 0 - : syncState.selectedId, - props.defaultSelectedId + : syncState.orientation, + 'horizontal' ), - selectOnMove: (0, - _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( - props.selectOnMove, + focusLoop: (0, + _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( + props.focusLoop, syncState == null ? void 0 - : syncState.selectOnMove, + : syncState.focusLoop, true ), } ); + const panels = (0, + _chunks_AMRA5WUK_js__WEBPACK_IMPORTED_MODULE_1__.createCollectionStore)(); + const initialState = { + ...composite.getState(), + selectedId: (0, + _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( + props.selectedId, + syncState == null ? void 0 : syncState.selectedId, + props.defaultSelectedId + ), + selectOnMove: (0, + _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_3__.defaultValue)( + props.selectOnMove, + syncState == null ? void 0 : syncState.selectOnMove, + true + ), + }; const tab = (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_2__.createStore)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_2__.createStore)( initialState, composite, store ); - (0, _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_2__.setup)( + (0, _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_2__.setup)( tab, () => (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_2__.sync)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_2__.sync)( tab, ['moves'], () => { @@ -6772,11 +5930,11 @@ If there's a particular need for this, please submit a feature request at https: ) ); let syncActiveId = true; - (0, _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_2__.setup)( + (0, _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_2__.setup)( tab, () => (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_2__.batch)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_2__.batch)( tab, ['selectedId'], (state, prev) => { @@ -6793,11 +5951,11 @@ If there's a particular need for this, please submit a feature request at https: } ) ); - (0, _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_2__.setup)( + (0, _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_2__.setup)( tab, () => (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_2__.sync)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_2__.sync)( tab, ['selectedId', 'renderedItems'], (state) => { @@ -6826,18 +5984,18 @@ If there's a particular need for this, please submit a feature request at https: } ) ); - (0, _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_2__.setup)( + (0, _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_2__.setup)( tab, () => (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_2__.sync)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_2__.sync)( tab, ['renderedItems'], (state) => { const tabs = state.renderedItems; if (!tabs.length) return; return (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_2__.sync)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_2__.sync)( panels, ['renderedItems'], (state2) => { @@ -6850,17 +6008,10 @@ If there's a particular need for this, please submit a feature request at https: if (panel.tabId) return; const tabItem = tabs[i]; if (!tabItem) return; - panels.renderItem( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - {}, - panel - ), - { tabId: tabItem.id } - ) - ); + panels.renderItem({ + ...panel, + tabId: tabItem.id, + }); }); } ); @@ -6868,7 +6019,7 @@ If there's a particular need for this, please submit a feature request at https: ) ); let selectedIdFromSelectedValue = null; - (0, _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_2__.setup)( + (0, _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_2__.setup)( tab, () => { const backupSelectedId = () => { @@ -6887,15 +6038,15 @@ If there's a particular need for this, please submit a feature request at https: 'setSelectElement' in parentComposite ) { return (0, - _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_3__.chain)( + _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_3__.chain)( (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_2__.sync)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_2__.sync)( parentComposite, ['value'], backupSelectedId ), (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_2__.sync)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_2__.sync)( parentComposite, ['mounted'], restoreSelectedId @@ -6904,15 +6055,15 @@ If there's a particular need for this, please submit a feature request at https: } if (!combobox) return; return (0, - _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_3__.chain)( + _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_3__.chain)( (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_2__.sync)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_2__.sync)( combobox, ['selectedValue'], backupSelectedId ), (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_2__.sync)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_2__.sync)( combobox, ['mounted'], restoreSelectedId @@ -6920,27 +6071,16 @@ If there's a particular need for this, please submit a feature request at https: ); } ); - return (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - {}, - composite - ), - tab - ), - { - panels, - setSelectedId: (id) => - tab.setState('selectedId', id), - select: (id) => { - tab.setState('selectedId', id); - composite.move(id); - }, - } - ); + return { + ...composite, + ...tab, + panels, + setSelectedId: (id) => tab.setState('selectedId', id), + select: (id) => { + tab.setState('selectedId', id); + composite.move(id); + }, + }; } /***/ @@ -6966,21 +6106,17 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ } ); - /* harmony import */ var _chunks_X2ASWIQW_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ../__chunks/X2ASWIQW.js */ './node_modules/@ariakit/core/esm/__chunks/X2ASWIQW.js' - ); - /* harmony import */ var _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _chunks_TIQDSBWP_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ../__chunks/EWA2WL6G.js */ './node_modules/@ariakit/core/esm/__chunks/EWA2WL6G.js' + /*! ../__chunks/TIQDSBWP.js */ './node_modules/@ariakit/core/esm/__chunks/TIQDSBWP.js' ); - /* harmony import */ var _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ../__chunks/PBFD2E7P.js */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! ../__chunks/SXKM4CGU.js */ './node_modules/@ariakit/core/esm/__chunks/SXKM4CGU.js' ); - /* harmony import */ var _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ../__chunks/3YLGPPWQ.js */ './node_modules/@ariakit/core/esm/__chunks/3YLGPPWQ.js' + /*! ../__chunks/XMCVU3LR.js */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); ('use client'); @@ -6999,73 +6135,52 @@ If there's a particular need for this, please submit a feature request at https: const syncState = (_a = props.store) == null ? void 0 : _a.getState(); const hovercard = (0, - _chunks_X2ASWIQW_js__WEBPACK_IMPORTED_MODULE_0__.createHovercardStore)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - {}, - props - ), - { - placement: (0, - _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_2__.defaultValue)( - props.placement, - syncState == null - ? void 0 - : syncState.placement, - 'top' - ), - hideTimeout: (0, - _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_2__.defaultValue)( - props.hideTimeout, - syncState == null - ? void 0 - : syncState.hideTimeout, - 0 - ), - } - ) - ); - const initialState = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - {}, - hovercard.getState() - ), + _chunks_TIQDSBWP_js__WEBPACK_IMPORTED_MODULE_0__.createHovercardStore)( { - type: (0, - _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_2__.defaultValue)( - props.type, - syncState == null ? void 0 : syncState.type, - 'description' - ), - skipTimeout: (0, - _chunks_PBFD2E7P_js__WEBPACK_IMPORTED_MODULE_2__.defaultValue)( - props.skipTimeout, + ...props, + placement: (0, + _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_2__.defaultValue)( + props.placement, syncState == null ? void 0 - : syncState.skipTimeout, - 300 + : syncState.placement, + 'top' + ), + hideTimeout: (0, + _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_2__.defaultValue)( + props.hideTimeout, + syncState == null + ? void 0 + : syncState.hideTimeout, + 0 ), } ); + const initialState = { + ...hovercard.getState(), + type: (0, + _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_2__.defaultValue)( + props.type, + syncState == null ? void 0 : syncState.type, + 'description' + ), + skipTimeout: (0, + _chunks_XMCVU3LR_js__WEBPACK_IMPORTED_MODULE_2__.defaultValue)( + props.skipTimeout, + syncState == null ? void 0 : syncState.skipTimeout, + 300 + ), + }; const tooltip = (0, - _chunks_EWA2WL6G_js__WEBPACK_IMPORTED_MODULE_1__.createStore)( + _chunks_SXKM4CGU_js__WEBPACK_IMPORTED_MODULE_1__.createStore)( initialState, hovercard, props.store ); - return (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - {}, - hovercard - ), - tooltip - ); + return { + ...hovercard, + ...tooltip, + }; } /***/ @@ -7136,10 +6251,6 @@ If there's a particular need for this, please submit a feature request at https: __webpack_require__( /*! ../__chunks/37JWRFYW.js */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' ); - /* harmony import */ var _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__ = - __webpack_require__( - /*! ../__chunks/3YLGPPWQ.js */ './node_modules/@ariakit/core/esm/__chunks/3YLGPPWQ.js' - ); ('use client'); // src/utils/events.ts @@ -7190,15 +6301,7 @@ If there's a particular need for this, please submit a feature request at https: function fireBlurEvent(element, eventInit) { const event = new FocusEvent('blur', eventInit); const defaultAllowed = element.dispatchEvent(event); - const bubbleInit = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__.__spreadValues)( - {}, - eventInit - ), - { bubbles: true } - ); + const bubbleInit = { ...eventInit, bubbles: true }; element.dispatchEvent( new FocusEvent('focusout', bubbleInit) ); @@ -7207,15 +6310,7 @@ If there's a particular need for this, please submit a feature request at https: function fireFocusEvent(element, eventInit) { const event = new FocusEvent('focus', eventInit); const defaultAllowed = element.dispatchEvent(event); - const bubbleInit = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__.__spreadValues)( - {}, - eventInit - ), - { bubbles: true } - ); + const bubbleInit = { ...eventInit, bubbles: true }; element.dispatchEvent( new FocusEvent('focusin', bubbleInit) ); @@ -7408,10 +6503,6 @@ If there's a particular need for this, please submit a feature request at https: __webpack_require__( /*! ../__chunks/37JWRFYW.js */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' ); - /* harmony import */ var _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ../__chunks/3YLGPPWQ.js */ './node_modules/@ariakit/core/esm/__chunks/3YLGPPWQ.js' - ); ('use client'); // src/utils/focus.ts @@ -7744,22 +6835,20 @@ If there's a particular need for this, please submit a feature request at https: element.focus(); } else { element.focus({ preventScroll: true }); - element.scrollIntoView( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_1__.__spreadValues)( - { block: 'nearest', inline: 'nearest' }, - options - ) - ); + element.scrollIntoView({ + block: 'nearest', + inline: 'nearest', + ...options, + }); } } /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/2W3RN7C5.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/2S4Q4M35.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/2W3RN7C5.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/2S4Q4M35.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -7771,282 +6860,1026 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ Command: function () { - return /* binding */ Command; + /* harmony export */ Dialog: function () { + return /* binding */ Dialog; }, - /* harmony export */ useCommand: function () { - return /* binding */ useCommand; + /* harmony export */ createDialogComponent: + function () { + return /* binding */ createDialogComponent; + }, + /* harmony export */ useDialog: function () { + return /* binding */ useDialog; }, /* harmony export */ } ); - /* harmony import */ var _OE2EFRVA_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _SWBQ42SL_js__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! ./SWBQ42SL.js */ './node_modules/@ariakit/react-core/esm/__chunks/SWBQ42SL.js' + ); + /* harmony import */ var _5M6RIVE2_js__WEBPACK_IMPORTED_MODULE_1__ = + __webpack_require__( + /*! ./5M6RIVE2.js */ './node_modules/@ariakit/react-core/esm/__chunks/5M6RIVE2.js' + ); + /* harmony import */ var _UG4JNWMY_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ./OE2EFRVA.js */ './node_modules/@ariakit/react-core/esm/__chunks/OE2EFRVA.js' + /*! ./UG4JNWMY.js */ './node_modules/@ariakit/react-core/esm/__chunks/UG4JNWMY.js' ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _6GXEOXGT_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ./6GXEOXGT.js */ './node_modules/@ariakit/react-core/esm/__chunks/6GXEOXGT.js' ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _Y7OMCS5T_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! ./Y7OMCS5T.js */ './node_modules/@ariakit/react-core/esm/__chunks/Y7OMCS5T.js' ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _DJAL6CN3_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' + /*! ./DJAL6CN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/DJAL6CN3.js' ); - /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _NQXOL4RD_js__WEBPACK_IMPORTED_MODULE_6__ = + __webpack_require__( + /*! ./NQXOL4RD.js */ './node_modules/@ariakit/react-core/esm/__chunks/NQXOL4RD.js' + ); + /* harmony import */ var _Z5GCVBAY_js__WEBPACK_IMPORTED_MODULE_7__ = + __webpack_require__( + /*! ./Z5GCVBAY.js */ './node_modules/@ariakit/react-core/esm/__chunks/Z5GCVBAY.js' + ); + /* harmony import */ var _677M2CI3_js__WEBPACK_IMPORTED_MODULE_8__ = + __webpack_require__( + /*! ./677M2CI3.js */ './node_modules/@ariakit/react-core/esm/__chunks/677M2CI3.js' + ); + /* harmony import */ var _LVVSG7VH_js__WEBPACK_IMPORTED_MODULE_9__ = + __webpack_require__( + /*! ./LVVSG7VH.js */ './node_modules/@ariakit/react-core/esm/__chunks/LVVSG7VH.js' + ); + /* harmony import */ var _3NDVDEB4_js__WEBPACK_IMPORTED_MODULE_10__ = + __webpack_require__( + /*! ./3NDVDEB4.js */ './node_modules/@ariakit/react-core/esm/__chunks/3NDVDEB4.js' + ); + /* harmony import */ var _AOUGVQZ3_js__WEBPACK_IMPORTED_MODULE_11__ = + __webpack_require__( + /*! ./AOUGVQZ3.js */ './node_modules/@ariakit/react-core/esm/__chunks/AOUGVQZ3.js' + ); + /* harmony import */ var _HAX24JB7_js__WEBPACK_IMPORTED_MODULE_12__ = + __webpack_require__( + /*! ./HAX24JB7.js */ './node_modules/@ariakit/react-core/esm/__chunks/HAX24JB7.js' + ); + /* harmony import */ var _5NIUVND5_js__WEBPACK_IMPORTED_MODULE_13__ = + __webpack_require__( + /*! ./5NIUVND5.js */ './node_modules/@ariakit/react-core/esm/__chunks/5NIUVND5.js' + ); + /* harmony import */ var _63N3TCQX_js__WEBPACK_IMPORTED_MODULE_14__ = + __webpack_require__( + /*! ./63N3TCQX.js */ './node_modules/@ariakit/react-core/esm/__chunks/63N3TCQX.js' + ); + /* harmony import */ var _US3TW2XI_js__WEBPACK_IMPORTED_MODULE_15__ = + __webpack_require__( + /*! ./US3TW2XI.js */ './node_modules/@ariakit/react-core/esm/__chunks/US3TW2XI.js' + ); + /* harmony import */ var _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_16__ = + __webpack_require__( + /*! ./Q3KUZPD7.js */ './node_modules/@ariakit/react-core/esm/__chunks/Q3KUZPD7.js' + ); + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_17__ = + __webpack_require__( + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' + ); + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_18__ = + __webpack_require__( + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' + ); + /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__( /*! @ariakit/core/utils/dom */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' ); - /* harmony import */ var _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_5__ = + /* harmony import */ var _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__( /*! @ariakit/core/utils/events */ './node_modules/@ariakit/core/esm/utils/events.js' ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__ = + /* harmony import */ var _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! @ariakit/core/utils/focus */ './node_modules/@ariakit/core/esm/utils/focus.js' ); - /* harmony import */ var _ariakit_core_utils_platform__WEBPACK_IMPORTED_MODULE_7__ = + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_22__ = + __webpack_require__( + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' + ); + /* harmony import */ var _ariakit_core_utils_platform__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__( /*! @ariakit/core/utils/platform */ './node_modules/@ariakit/core/esm/__chunks/O6E4ZWCP.js' ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8__ = + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__( /*! react */ './node_modules/react/index.js' ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_25__ = + __webpack_require__( + /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' + ); ('use client'); - // src/command/command.tsx + // src/dialog/dialog.tsx - var TagName = 'button'; - function isNativeClick(event) { - if (!event.isTrusted) return false; - const element = event.currentTarget; - if (event.key === 'Enter') { - return ( - (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_4__.isButton)( - element - ) || - element.tagName === 'SUMMARY' || - element.tagName === 'A' - ); - } - if (event.key === ' ') { - return ( - (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_4__.isButton)( - element - ) || - element.tagName === 'SUMMARY' || - element.tagName === 'INPUT' || - element.tagName === 'SELECT' - ); - } + var TagName = 'div'; + var isSafariBrowser = (0, + _ariakit_core_utils_platform__WEBPACK_IMPORTED_MODULE_23__.isSafari)(); + function isAlreadyFocusingAnotherElement(dialog) { + const activeElement = (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_19__.getActiveElement)(); + if (!activeElement) return false; + if ( + dialog && + (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_19__.contains)( + dialog, + activeElement + ) + ) + return false; + if ( + (0, + _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_21__.isFocusable)( + activeElement + ) + ) + return true; return false; } - var symbol = Symbol('command'); - var useCommand = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createHook)( - function useCommand2(_a) { - var _b = _a, - { clickOnEnter = true, clickOnSpace = true } = _b, - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__objRest)( - _b, - ['clickOnEnter', 'clickOnSpace'] - ); + function getElementFromProp(prop, focusable = false) { + if (!prop) return null; + const element = 'current' in prop ? prop.current : prop; + if (!element) return null; + if (focusable) + return (0, + _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_21__.isFocusable)( + element + ) + ? element + : null; + return element; + } + var useDialog = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_17__.createHook)( + function useDialog2({ + store: storeProp, + open: openProp, + onClose, + focusable = true, + modal = true, + portal = !!modal, + backdrop = !!modal, + hideOnEscape = true, + hideOnInteractOutside = true, + getPersistentElements, + preventBodyScroll = !!modal, + autoFocusOnShow = true, + autoFocusOnHide = true, + initialFocus, + finalFocus, + unmountOnHide, + unstable_treeSnapshotKey, + ...props + }) { + const context = (0, + _63N3TCQX_js__WEBPACK_IMPORTED_MODULE_14__.useDialogProviderContext)(); const ref = (0, - react__WEBPACK_IMPORTED_MODULE_8__.useRef)(null); - const [isNativeButton, setIsNativeButton] = (0, - react__WEBPACK_IMPORTED_MODULE_8__.useState)(false); + react__WEBPACK_IMPORTED_MODULE_24__.useRef)(null); + const store = (0, + _5NIUVND5_js__WEBPACK_IMPORTED_MODULE_13__.useDialogStore)( + { + store: storeProp || context, + open: openProp, + setOpen(open2) { + if (open2) return; + const dialog = ref.current; + if (!dialog) return; + const event = new Event('close', { + bubbles: false, + cancelable: true, + }); + if (onClose) { + dialog.addEventListener( + 'close', + onClose, + { once: true } + ); + } + dialog.dispatchEvent(event); + if (!event.defaultPrevented) return; + store.setOpen(true); + }, + } + ); + const { portalRef, domReady } = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_18__.usePortalRef)( + portal, + props.portalRef + ); + const preserveTabOrderProp = props.preserveTabOrder; + const preserveTabOrder = (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_16__.useStoreState)( + store, + (state) => + preserveTabOrderProp && !modal && state.mounted + ); + const id = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_18__.useId)( + props.id + ); + const open = (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_16__.useStoreState)( + store, + 'open' + ); + const mounted = (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_16__.useStoreState)( + store, + 'mounted' + ); + const contentElement = (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_16__.useStoreState)( + store, + 'contentElement' + ); + const hidden = (0, + _HAX24JB7_js__WEBPACK_IMPORTED_MODULE_12__.isHidden)( + mounted, + props.hidden, + props.alwaysVisible + ); (0, - react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(() => { - if (!ref.current) return; - setIsNativeButton( - (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_4__.isButton)( - ref.current - ) - ); - }, []); - const [active, setActive] = (0, - react__WEBPACK_IMPORTED_MODULE_8__.useState)(false); - const activeRef = (0, - react__WEBPACK_IMPORTED_MODULE_8__.useRef)(false); - const disabled = (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__.disabledFromProps)( - props + _NQXOL4RD_js__WEBPACK_IMPORTED_MODULE_6__.usePreventBodyScroll)( + contentElement, + id, + preventBodyScroll && !hidden ); - const [isDuplicate, metadataProps] = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__.useMetadataProps)( + (0, + _Y7OMCS5T_js__WEBPACK_IMPORTED_MODULE_4__.useHideOnInteractOutside)( + store, + hideOnInteractOutside, + domReady + ); + const { wrapElement, nestedDialogs } = (0, + _DJAL6CN3_js__WEBPACK_IMPORTED_MODULE_5__.useNestedDialogs)( + store + ); + props = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_18__.useWrapElement)( props, - symbol, - true + wrapElement, + [wrapElement] ); - const onKeyDownProp = props.onKeyDown; - const onKeyDown = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__.useEvent)( - (event) => { - onKeyDownProp == null - ? void 0 - : onKeyDownProp(event); - const element = event.currentTarget; - if (event.defaultPrevented) return; - if (isDuplicate) return; - if (disabled) return; + (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_18__.useSafeLayoutEffect)(() => { + if (!open) return; + const dialog = ref.current; + const activeElement = (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_19__.getActiveElement)( + dialog, + true + ); + if (!activeElement) return; + if (activeElement.tagName === 'BODY') return; + if ( + dialog && + (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_19__.contains)( + dialog, + activeElement + ) + ) + return; + store.setDisclosureElement(activeElement); + }, [store, open]); + if (isSafariBrowser) { + (0, + react__WEBPACK_IMPORTED_MODULE_24__.useEffect)(() => { + if (!mounted) return; + const { disclosureElement } = store.getState(); + if (!disclosureElement) return; if ( !(0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_5__.isSelfTarget)( - event + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_19__.isButton)( + disclosureElement ) ) return; - if ( + const onMouseDown = () => { + let receivedFocus = false; + const onFocus = () => { + receivedFocus = true; + }; + const options = { + capture: true, + once: true, + }; + disclosureElement.addEventListener( + 'focusin', + onFocus, + options + ); (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_4__.isTextField)( - element + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_20__.queueBeforeEvent)( + disclosureElement, + 'mouseup', + () => { + disclosureElement.removeEventListener( + 'focusin', + onFocus, + true + ); + if (receivedFocus) return; + (0, + _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_21__.focusIfNeeded)( + disclosureElement + ); + } + ); + }; + disclosureElement.addEventListener( + 'mousedown', + onMouseDown + ); + return () => { + disclosureElement.removeEventListener( + 'mousedown', + onMouseDown + ); + }; + }, [store, mounted]); + } + (0, + react__WEBPACK_IMPORTED_MODULE_24__.useEffect)(() => { + if (!mounted) return; + if (!domReady) return; + const dialog = ref.current; + if (!dialog) return; + const win = (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_19__.getWindow)( + dialog + ); + const viewport = win.visualViewport || win; + const setViewportHeight = () => { + var _a, _b; + const height = + (_b = + (_a = win.visualViewport) == null + ? void 0 + : _a.height) != null + ? _b + : win.innerHeight; + dialog.style.setProperty( + '--dialog-viewport-height', + `${height}px` + ); + }; + setViewportHeight(); + viewport.addEventListener( + 'resize', + setViewportHeight + ); + return () => { + viewport.removeEventListener( + 'resize', + setViewportHeight + ); + }; + }, [mounted, domReady]); + (0, + react__WEBPACK_IMPORTED_MODULE_24__.useEffect)(() => { + if (!modal) return; + if (!mounted) return; + if (!domReady) return; + const dialog = ref.current; + if (!dialog) return; + const existingDismiss = dialog.querySelector( + '[data-dialog-dismiss]' + ); + if (existingDismiss) return; + return (0, + _6GXEOXGT_js__WEBPACK_IMPORTED_MODULE_3__.prependHiddenDismiss)( + dialog, + store.hide + ); + }, [store, modal, mounted, domReady]); + (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_18__.useSafeLayoutEffect)(() => { + if ( + !(0, + _677M2CI3_js__WEBPACK_IMPORTED_MODULE_8__.supportsInert)() + ) + return; + if (open) return; + if (!mounted) return; + if (!domReady) return; + const dialog = ref.current; + if (!dialog) return; + return (0, + _Z5GCVBAY_js__WEBPACK_IMPORTED_MODULE_7__.disableTree)( + dialog + ); + }, [open, mounted, domReady]); + const canTakeTreeSnapshot = open && domReady; + (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_18__.useSafeLayoutEffect)(() => { + if (!id) return; + if (!canTakeTreeSnapshot) return; + const dialog = ref.current; + return (0, + _AOUGVQZ3_js__WEBPACK_IMPORTED_MODULE_11__.createWalkTreeSnapshot)( + id, + [dialog] + ); + }, [id, canTakeTreeSnapshot, unstable_treeSnapshotKey]); + const getPersistentElementsProp = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_18__.useEvent)( + getPersistentElements + ); + (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_18__.useSafeLayoutEffect)(() => { + if (!id) return; + if (!canTakeTreeSnapshot) return; + const { disclosureElement } = store.getState(); + const dialog = ref.current; + const persistentElements = + getPersistentElementsProp() || []; + const allElements = [ + dialog, + ...persistentElements, + ...nestedDialogs.map( + (dialog2) => + dialog2.getState().contentElement + ), + ]; + if (modal) { + return (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_22__.chain)( + (0, + _3NDVDEB4_js__WEBPACK_IMPORTED_MODULE_10__.markTreeOutside)( + id, + allElements + ), + (0, + _Z5GCVBAY_js__WEBPACK_IMPORTED_MODULE_7__.disableTreeOutside)( + id, + allElements ) + ); + } + return (0, + _3NDVDEB4_js__WEBPACK_IMPORTED_MODULE_10__.markTreeOutside)( + id, + [disclosureElement, ...allElements] + ); + }, [ + id, + store, + canTakeTreeSnapshot, + getPersistentElementsProp, + nestedDialogs, + modal, + unstable_treeSnapshotKey, + ]); + const mayAutoFocusOnShow = !!autoFocusOnShow; + const autoFocusOnShowProp = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_18__.useBooleanEvent)( + autoFocusOnShow + ); + const [autoFocusEnabled, setAutoFocusEnabled] = (0, + react__WEBPACK_IMPORTED_MODULE_24__.useState)(false); + (0, + react__WEBPACK_IMPORTED_MODULE_24__.useEffect)(() => { + if (!open) return; + if (!mayAutoFocusOnShow) return; + if (!domReady) return; + if ( + !(contentElement == null + ? void 0 + : contentElement.isConnected) + ) + return; + const element = + getElementFromProp(initialFocus, true) || // If no initial focus is specified, we try to focus the first element + // with the autofocus attribute. If it's an Ariakit component, the + // Focusable component will consume the autoFocus prop and add the + // data-autofocus attribute to the element instead. + contentElement.querySelector( + '[data-autofocus=true],[autofocus]' + ) || // We have to fallback to the first focusable element otherwise portaled + // dialogs with preserveTabOrder set to true will not receive focus + // properly because the elements aren't tabbable until the dialog receives + // focus. + (0, + _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_21__.getFirstTabbableIn)( + contentElement, + true, + portal && preserveTabOrder + ) || // Finally, we fallback to the dialog element itself. + contentElement; + const isElementFocusable = (0, + _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_21__.isFocusable)( + element + ); + if ( + !autoFocusOnShowProp( + isElementFocusable ? element : null ) + ) + return; + setAutoFocusEnabled(true); + queueMicrotask(() => { + element.focus(); + if (!isSafariBrowser) return; + if (!isElementFocusable) return; + element.scrollIntoView({ + block: 'nearest', + inline: 'nearest', + }); + }); + }, [ + open, + mayAutoFocusOnShow, + domReady, + contentElement, + initialFocus, + portal, + preserveTabOrder, + autoFocusOnShowProp, + ]); + const mayAutoFocusOnHide = !!autoFocusOnHide; + const autoFocusOnHideProp = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_18__.useBooleanEvent)( + autoFocusOnHide + ); + const [hasOpened, setHasOpened] = (0, + react__WEBPACK_IMPORTED_MODULE_24__.useState)(false); + (0, + react__WEBPACK_IMPORTED_MODULE_24__.useEffect)(() => { + if (!open) return; + setHasOpened(true); + return () => setHasOpened(false); + }, [open]); + const focusOnHide = (0, + react__WEBPACK_IMPORTED_MODULE_24__.useCallback)( + (dialog, retry = true) => { + const { disclosureElement } = store.getState(); + if (isAlreadyFocusingAnotherElement(dialog)) return; - if (element.isContentEditable) return; - const isEnter = - clickOnEnter && event.key === 'Enter'; - const isSpace = - clickOnSpace && event.key === ' '; - const shouldPreventEnter = - event.key === 'Enter' && !clickOnEnter; - const shouldPreventSpace = - event.key === ' ' && !clickOnSpace; - if (shouldPreventEnter || shouldPreventSpace) { - event.preventDefault(); - return; + let element = + getElementFromProp(finalFocus) || + disclosureElement; + if (element == null ? void 0 : element.id) { + const doc = (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_19__.getDocument)( + element + ); + const selector = `[aria-activedescendant="${element.id}"]`; + const composite = + doc.querySelector(selector); + if (composite) { + element = composite; + } } - if (isEnter || isSpace) { - const nativeClick = isNativeClick(event); - if (isEnter) { - if (!nativeClick) { - event.preventDefault(); - const _a2 = event, - { view } = _a2, - eventInit = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__objRest)( - _a2, - ['view'] - ); - const click = () => - (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_5__.fireClickEvent)( - element, - eventInit - ); - if ( - (0, - _ariakit_core_utils_platform__WEBPACK_IMPORTED_MODULE_7__.isFirefox)() - ) { - (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_5__.queueBeforeEvent)( - element, - 'keyup', - click - ); - } else { - queueMicrotask(click); - } - } - } else if (isSpace) { - activeRef.current = true; - if (!nativeClick) { - event.preventDefault(); - setActive(true); + if ( + element && + !(0, + _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_21__.isFocusable)( + element + ) + ) { + const maybeParentDialog = + element.closest('[data-dialog]'); + if ( + maybeParentDialog == null + ? void 0 + : maybeParentDialog.id + ) { + const doc = (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_19__.getDocument)( + maybeParentDialog + ); + const selector = `[aria-controls~="${maybeParentDialog.id}"]`; + const control = + doc.querySelector(selector); + if (control) { + element = control; } } } - } - ); - const onKeyUpProp = props.onKeyUp; - const onKeyUp = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__.useEvent)( - (event) => { - onKeyUpProp == null + const isElementFocusable = + element && + (0, + _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_21__.isFocusable)( + element + ); + if (!isElementFocusable && retry) { + requestAnimationFrame(() => + focusOnHide(dialog, false) + ); + return; + } + if ( + !autoFocusOnHideProp( + isElementFocusable ? element : null + ) + ) + return; + if (!isElementFocusable) return; + element == null ? void 0 - : onKeyUpProp(event); + : element.focus({ preventScroll: true }); + }, + [store, finalFocus, autoFocusOnHideProp] + ); + const focusedOnHideRef = (0, + react__WEBPACK_IMPORTED_MODULE_24__.useRef)(false); + (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_18__.useSafeLayoutEffect)(() => { + if (open) return; + if (!hasOpened) return; + if (!mayAutoFocusOnHide) return; + const dialog = ref.current; + focusedOnHideRef.current = true; + focusOnHide(dialog); + }, [ + open, + hasOpened, + domReady, + mayAutoFocusOnHide, + focusOnHide, + ]); + (0, + react__WEBPACK_IMPORTED_MODULE_24__.useEffect)(() => { + if (!hasOpened) return; + if (!mayAutoFocusOnHide) return; + const dialog = ref.current; + return () => { + if (focusedOnHideRef.current) { + focusedOnHideRef.current = false; + return; + } + focusOnHide(dialog); + }; + }, [hasOpened, mayAutoFocusOnHide, focusOnHide]); + const hideOnEscapeProp = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_18__.useBooleanEvent)( + hideOnEscape + ); + (0, + react__WEBPACK_IMPORTED_MODULE_24__.useEffect)(() => { + if (!domReady) return; + if (!mounted) return; + const onKeyDown = (event) => { + if (event.key !== 'Escape') return; if (event.defaultPrevented) return; - if (isDuplicate) return; - if (disabled) return; - if (event.metaKey) return; - const isSpace = - clickOnSpace && event.key === ' '; - if (activeRef.current && isSpace) { - activeRef.current = false; - if (!isNativeClick(event)) { - event.preventDefault(); - setActive(false); - const element = event.currentTarget; - const _a2 = event, - { view } = _a2, - eventInit = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__objRest)( - _a2, - ['view'] - ); - queueMicrotask(() => - (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_5__.fireClickEvent)( - element, - eventInit - ) - ); + const dialog = ref.current; + if (!dialog) return; + if ( + (0, + _3NDVDEB4_js__WEBPACK_IMPORTED_MODULE_10__.isElementMarked)( + dialog + ) + ) + return; + const target = event.target; + if (!target) return; + const { disclosureElement } = store.getState(); + const isValidTarget = () => { + if (target.tagName === 'BODY') return true; + if ( + (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_19__.contains)( + dialog, + target + ) + ) + return true; + if (!disclosureElement) return true; + if ( + (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_19__.contains)( + disclosureElement, + target + ) + ) + return true; + return false; + }; + if (!isValidTarget()) return; + if (!hideOnEscapeProp(event)) return; + store.hide(); + }; + return (0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_20__.addGlobalEventListener)( + 'keydown', + onKeyDown, + true + ); + }, [store, domReady, mounted, hideOnEscapeProp]); + props = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_18__.useWrapElement)( + props, + (element) => + /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_25__.jsx)( + _5M6RIVE2_js__WEBPACK_IMPORTED_MODULE_1__.HeadingLevel, + { + level: modal ? 1 : void 0, + children: element, } - } - } + ), + [modal] ); + const hiddenProp = props.hidden; + const alwaysVisible = props.alwaysVisible; props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_18__.useWrapElement)( + props, + (element) => { + if (!backdrop) return element; + return /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_25__.jsxs)( + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_25__.Fragment, { - 'data-active': active || void 0, - type: isNativeButton - ? 'button' - : void 0, - }, - metadataProps + children: [ + /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_25__.jsx)( + _LVVSG7VH_js__WEBPACK_IMPORTED_MODULE_9__.DialogBackdrop, + { + store, + backdrop, + hidden: hiddenProp, + alwaysVisible, + } + ), + element, + ], + } + ); + }, + [store, backdrop, hiddenProp, alwaysVisible] + ); + const [headingId, setHeadingId] = (0, + react__WEBPACK_IMPORTED_MODULE_24__.useState)(); + const [descriptionId, setDescriptionId] = (0, + react__WEBPACK_IMPORTED_MODULE_24__.useState)(); + props = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_18__.useWrapElement)( + props, + (element) => + /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_25__.jsx)( + _63N3TCQX_js__WEBPACK_IMPORTED_MODULE_14__.DialogScopedContextProvider, + { + value: store, + children: /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_25__.jsx)( + _63N3TCQX_js__WEBPACK_IMPORTED_MODULE_14__ + .DialogHeadingContext.Provider, + { + value: setHeadingId, + children: /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_25__.jsx)( + _63N3TCQX_js__WEBPACK_IMPORTED_MODULE_14__ + .DialogDescriptionContext + .Provider, + { + value: setDescriptionId, + children: element, + } + ), + } + ), + } ), - props + [store] + ); + props = { + id, + 'data-dialog': '', + role: 'dialog', + tabIndex: focusable ? -1 : void 0, + 'aria-labelledby': headingId, + 'aria-describedby': descriptionId, + ...props, + ref: (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_18__.useMergeRefs)( + ref, + props.ref ), + }; + props = (0, + _UG4JNWMY_js__WEBPACK_IMPORTED_MODULE_2__.useFocusableContainer)( { - ref: (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__.useMergeRefs)( - ref, - props.ref - ), - onKeyDown, - onKeyUp, + ...props, + autoFocusOnShow: autoFocusEnabled, } ); props = (0, - _OE2EFRVA_js__WEBPACK_IMPORTED_MODULE_0__.useFocusable)( - props + _HAX24JB7_js__WEBPACK_IMPORTED_MODULE_12__.useDisclosureContent)( + { store, ...props } + ); + props = (0, + _US3TW2XI_js__WEBPACK_IMPORTED_MODULE_15__.useFocusable)( + { ...props, focusable } ); + props = (0, + _SWBQ42SL_js__WEBPACK_IMPORTED_MODULE_0__.usePortal)({ + portal, + ...props, + portalRef, + preserveTabOrder, + }); return props; } ); - var Command = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.forwardRef)( - function Command2(props) { - const htmlProps = useCommand(props); - return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createElement)( - TagName, - htmlProps - ); + function createDialogComponent( + Component, + useProviderContext = _63N3TCQX_js__WEBPACK_IMPORTED_MODULE_14__.useDialogProviderContext + ) { + return (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_17__.forwardRef)( + function DialogComponent(props) { + const context = useProviderContext(); + const store = props.store || context; + const mounted = (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_16__.useStoreState)( + store, + (state) => + !props.unmountOnHide || + (state == null ? void 0 : state.mounted) || + !!props.open + ); + if (!mounted) return null; + return /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_25__.jsx)( + Component, + { ...props } + ); + } + ); + } + var Dialog = createDialogComponent( + (0, _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_17__.forwardRef)( + function Dialog2(props) { + const htmlProps = useDialog(props); + return (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_17__.createElement)( + TagName, + htmlProps + ); + } + ), + _63N3TCQX_js__WEBPACK_IMPORTED_MODULE_14__.useDialogProviderContext + ); + + /***/ + }, + + /***/ './node_modules/@ariakit/react-core/esm/__chunks/2WDBOH5E.js': + /*!*******************************************************************!*\ + !*** ./node_modules/@ariakit/react-core/esm/__chunks/2WDBOH5E.js ***! + \*******************************************************************/ + /***/ function ( + __unused_webpack___webpack_module__, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ HovercardContextProvider: + function () { + return /* binding */ HovercardContextProvider; + }, + /* harmony export */ HovercardScopedContextProvider: + function () { + return /* binding */ HovercardScopedContextProvider; + }, + /* harmony export */ useHovercardContext: function () { + return /* binding */ useHovercardContext; + }, + /* harmony export */ useHovercardProviderContext: + function () { + return /* binding */ useHovercardProviderContext; + }, + /* harmony export */ useHovercardScopedContext: + function () { + return /* binding */ useHovercardScopedContext; + }, + /* harmony export */ + } + ); + /* harmony import */ var _MWF5B7KS_js__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! ./MWF5B7KS.js */ './node_modules/@ariakit/react-core/esm/__chunks/MWF5B7KS.js' + ); + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__ = + __webpack_require__( + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' + ); + ('use client'); + + // src/hovercard/hovercard-context.tsx + var ctx = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createStoreContext)( + [ + _MWF5B7KS_js__WEBPACK_IMPORTED_MODULE_0__.PopoverContextProvider, + ], + [ + _MWF5B7KS_js__WEBPACK_IMPORTED_MODULE_0__.PopoverScopedContextProvider, + ] + ); + var useHovercardContext = ctx.useContext; + var useHovercardScopedContext = ctx.useScopedContext; + var useHovercardProviderContext = ctx.useProviderContext; + var HovercardContextProvider = ctx.ContextProvider; + var HovercardScopedContextProvider = ctx.ScopedContextProvider; + + /***/ + }, + + /***/ './node_modules/@ariakit/react-core/esm/__chunks/33YRLYNQ.js': + /*!*******************************************************************!*\ + !*** ./node_modules/@ariakit/react-core/esm/__chunks/33YRLYNQ.js ***! + \*******************************************************************/ + /***/ function ( + __unused_webpack___webpack_module__, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ useDisclosureStore: function () { + return /* binding */ useDisclosureStore; + }, + /* harmony export */ useDisclosureStoreProps: + function () { + return /* binding */ useDisclosureStoreProps; + }, + /* harmony export */ } ); + /* harmony import */ var _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! ./Q3KUZPD7.js */ './node_modules/@ariakit/react-core/esm/__chunks/Q3KUZPD7.js' + ); + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_1__ = + __webpack_require__( + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' + ); + /* harmony import */ var _ariakit_core_disclosure_disclosure_store__WEBPACK_IMPORTED_MODULE_2__ = + __webpack_require__( + /*! @ariakit/core/disclosure/disclosure-store */ './node_modules/@ariakit/core/esm/__chunks/75BJEVSH.js' + ); + ('use client'); + + // src/disclosure/disclosure-store.ts + + function useDisclosureStoreProps(store, update, props) { + (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_1__.useUpdateEffect)( + update, + [props.store, props.disclosure] + ); + (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_0__.useStoreProps)( + store, + props, + 'open', + 'setOpen' + ); + (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_0__.useStoreProps)( + store, + props, + 'mounted', + 'setMounted' + ); + (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_0__.useStoreProps)( + store, + props, + 'animated' + ); + return Object.assign(store, { + disclosure: props.disclosure, + }); + } + function useDisclosureStore(props = {}) { + const [store, update] = (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_0__.useStore)( + _ariakit_core_disclosure_disclosure_store__WEBPACK_IMPORTED_MODULE_2__.createDisclosureStore, + props + ); + return useDisclosureStoreProps(store, update, props); + } /***/ }, @@ -8094,7 +7927,7 @@ If there's a particular need for this, please submit a feature request at https: ); /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); ('use client'); @@ -8186,9 +8019,9 @@ If there's a particular need for this, please submit a feature request at https: /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/45YOMIF3.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/45YOMIF3.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -8200,72 +8033,167 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ __objRest: function () { - return /* binding */ __objRest; + /* harmony export */ CollectionContextProvider: + function () { + return /* binding */ CollectionContextProvider; + }, + /* harmony export */ CollectionScopedContextProvider: + function () { + return /* binding */ CollectionScopedContextProvider; + }, + /* harmony export */ useCollectionContext: function () { + return /* binding */ useCollectionContext; }, - /* harmony export */ __spreadProps: function () { - return /* binding */ __spreadProps; + /* harmony export */ useCollectionProviderContext: + function () { + return /* binding */ useCollectionProviderContext; + }, + /* harmony export */ useCollectionScopedContext: + function () { + return /* binding */ useCollectionScopedContext; + }, + /* harmony export */ + } + ); + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' + ); + ('use client'); + + // src/collection/collection-context.tsx + var ctx = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_0__.createStoreContext)(); + var useCollectionContext = ctx.useContext; + var useCollectionScopedContext = ctx.useScopedContext; + var useCollectionProviderContext = ctx.useProviderContext; + var CollectionContextProvider = ctx.ContextProvider; + var CollectionScopedContextProvider = ctx.ScopedContextProvider; + + /***/ + }, + + /***/ './node_modules/@ariakit/react-core/esm/__chunks/4U4UFXBE.js': + /*!*******************************************************************!*\ + !*** ./node_modules/@ariakit/react-core/esm/__chunks/4U4UFXBE.js ***! + \*******************************************************************/ + /***/ function ( + __unused_webpack___webpack_module__, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ CheckboxCheck: function () { + return /* binding */ CheckboxCheck; }, - /* harmony export */ __spreadValues: function () { - return /* binding */ __spreadValues; + /* harmony export */ useCheckboxCheck: function () { + return /* binding */ useCheckboxCheck; }, /* harmony export */ } ); + /* harmony import */ var _EYKMH5G5_js__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! ./EYKMH5G5.js */ './node_modules/@ariakit/react-core/esm/__chunks/EYKMH5G5.js' + ); + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__ = + __webpack_require__( + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' + ); + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_2__ = + __webpack_require__( + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' + ); + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = + __webpack_require__( + /*! react */ './node_modules/react/index.js' + ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = + __webpack_require__( + /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' + ); ('use client'); - var __defProp = Object.defineProperty; - var __defProps = Object.defineProperties; - var __getOwnPropDescs = Object.getOwnPropertyDescriptors; - var __getOwnPropSymbols = Object.getOwnPropertySymbols; - var __hasOwnProp = Object.prototype.hasOwnProperty; - var __propIsEnum = Object.prototype.propertyIsEnumerable; - var __defNormalProp = (obj, key, value) => - key in obj - ? __defProp(obj, key, { - enumerable: true, - configurable: true, - writable: true, - value, - }) - : (obj[key] = value); - var __spreadValues = (a, b) => { - for (var prop in b || (b = {})) - if (__hasOwnProp.call(b, prop)) - __defNormalProp(a, prop, b[prop]); - if (__getOwnPropSymbols) - for (var prop of __getOwnPropSymbols(b)) { - if (__propIsEnum.call(b, prop)) - __defNormalProp(a, prop, b[prop]); - } - return a; - }; - var __spreadProps = (a, b) => - __defProps(a, __getOwnPropDescs(b)); - var __objRest = (source, exclude) => { - var target = {}; - for (var prop in source) - if ( - __hasOwnProp.call(source, prop) && - exclude.indexOf(prop) < 0 - ) - target[prop] = source[prop]; - if (source != null && __getOwnPropSymbols) - for (var prop of __getOwnPropSymbols(source)) { - if ( - exclude.indexOf(prop) < 0 && - __propIsEnum.call(source, prop) - ) - target[prop] = source[prop]; - } - return target; - }; + + // src/checkbox/checkbox-check.tsx + + var TagName = 'span'; + var checkmark = /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)('svg', { + display: 'block', + fill: 'none', + stroke: 'currentColor', + strokeLinecap: 'round', + strokeLinejoin: 'round', + strokeWidth: 1.5, + viewBox: '0 0 16 16', + height: '1em', + width: '1em', + children: /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)( + 'polyline', + { points: '4,8 7,12 12,4' } + ), + }); + function getChildren(props) { + if (props.checked) { + return props.children || checkmark; + } + if (typeof props.children === 'function') { + return props.children; + } + return null; + } + var useCheckboxCheck = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createHook)( + function useCheckboxCheck2({ store, checked, ...props }) { + const context = (0, + react__WEBPACK_IMPORTED_MODULE_3__.useContext)( + _EYKMH5G5_js__WEBPACK_IMPORTED_MODULE_0__.CheckboxCheckedContext + ); + checked = checked != null ? checked : context; + const children = getChildren({ + checked, + children: props.children, + }); + props = { + 'aria-hidden': true, + ...props, + children, + style: { + width: '1em', + height: '1em', + pointerEvents: 'none', + ...props.style, + }, + }; + return (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_2__.removeUndefinedValues)( + props + ); + } + ); + var CheckboxCheck = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.forwardRef)( + function CheckboxCheck2(props) { + const htmlProps = useCheckboxCheck(props); + return (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createElement)( + TagName, + htmlProps + ); + } + ); /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/4I4MLMKD.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/4Z6JSVUY.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/4I4MLMKD.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/4Z6JSVUY.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -8277,42 +8205,42 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ PopoverDisclosure: function () { - return /* binding */ PopoverDisclosure; + /* harmony export */ Popover: function () { + return /* binding */ Popover; }, - /* harmony export */ usePopoverDisclosure: function () { - return /* binding */ usePopoverDisclosure; + /* harmony export */ usePopover: function () { + return /* binding */ usePopover; }, /* harmony export */ } ); - /* harmony import */ var _HMCFFQCB_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _2S4Q4M35_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./HMCFFQCB.js */ './node_modules/@ariakit/react-core/esm/__chunks/HMCFFQCB.js' + /*! ./2S4Q4M35.js */ './node_modules/@ariakit/react-core/esm/__chunks/2S4Q4M35.js' ); - /* harmony import */ var _ZTXFEM5L_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _MWF5B7KS_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./ZTXFEM5L.js */ './node_modules/@ariakit/react-core/esm/__chunks/ZTXFEM5L.js' + /*! ./MWF5B7KS.js */ './node_modules/@ariakit/react-core/esm/__chunks/MWF5B7KS.js' ); - /* harmony import */ var _Y67KZUMI_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ./Y67KZUMI.js */ './node_modules/@ariakit/react-core/esm/__chunks/Y67KZUMI.js' + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__ = + /* harmony import */ var _floating_ui_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' + /*! @floating-ui/dom */ './node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs' ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__ = + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! react */ './node_modules/react/index.js' ); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__( @@ -8320,101 +8248,484 @@ If there's a particular need for this, please submit a feature request at https: ); ('use client'); - // src/popover/popover-disclosure.tsx + // src/popover/popover.tsx - var TagName = 'button'; - var usePopoverDisclosure = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__.createHook)( - function usePopoverDisclosure2(_a) { - var _b = _a, - { store } = _b, - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__objRest)( - _b, - ['store'] + var TagName = 'div'; + function createDOMRect(x = 0, y = 0, width = 0, height = 0) { + if (typeof DOMRect === 'function') { + return new DOMRect(x, y, width, height); + } + const rect = { + x, + y, + width, + height, + top: y, + right: x + width, + bottom: y + height, + left: x, + }; + return { ...rect, toJSON: () => rect }; + } + function getDOMRect(anchorRect) { + if (!anchorRect) return createDOMRect(); + const { x, y, width, height } = anchorRect; + return createDOMRect(x, y, width, height); + } + function getAnchorElement(anchorElement, getAnchorRect) { + const contextElement = anchorElement || void 0; + return { + contextElement, + getBoundingClientRect: () => { + const anchor = anchorElement; + const anchorRect = + getAnchorRect == null + ? void 0 + : getAnchorRect(anchor); + if (anchorRect || !anchor) { + return getDOMRect(anchorRect); + } + return anchor.getBoundingClientRect(); + }, + }; + } + function isValidPlacement(flip2) { + return /^(?:top|bottom|left|right)(?:-(?:start|end))?$/.test( + flip2 + ); + } + function roundByDPR(value) { + const dpr = window.devicePixelRatio || 1; + return Math.round(value * dpr) / dpr; + } + function getOffsetMiddleware(arrowElement, props) { + return (0, + _floating_ui_dom__WEBPACK_IMPORTED_MODULE_5__.offset)( + ({ placement }) => { + var _a; + const arrowOffset = + ((arrowElement == null + ? void 0 + : arrowElement.clientHeight) || 0) / 2; + const finalGutter = + typeof props.gutter === 'number' + ? props.gutter + arrowOffset + : (_a = props.gutter) != null + ? _a + : arrowOffset; + const hasAlignment = !!placement.split('-')[1]; + return { + crossAxis: !hasAlignment ? props.shift : void 0, + mainAxis: finalGutter, + alignmentAxis: props.shift, + }; + } + ); + } + function getFlipMiddleware(props) { + if (props.flip === false) return; + const fallbackPlacements = + typeof props.flip === 'string' + ? props.flip.split(' ') + : void 0; + (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_4__.invariant)( + !fallbackPlacements || + fallbackPlacements.every(isValidPlacement), + true && + '`flip` expects a spaced-delimited list of placements' + ); + return (0, + _floating_ui_dom__WEBPACK_IMPORTED_MODULE_5__.flip)({ + padding: props.overflowPadding, + fallbackPlacements, + }); + } + function getShiftMiddleware(props) { + if (!props.slide && !props.overlap) return; + return (0, + _floating_ui_dom__WEBPACK_IMPORTED_MODULE_5__.shift)({ + mainAxis: props.slide, + crossAxis: props.overlap, + padding: props.overflowPadding, + limiter: (0, + _floating_ui_dom__WEBPACK_IMPORTED_MODULE_5__.limitShift)(), + }); + } + function getSizeMiddleware(props) { + return (0, + _floating_ui_dom__WEBPACK_IMPORTED_MODULE_5__.size)({ + padding: props.overflowPadding, + apply({ + elements, + availableWidth, + availableHeight, + rects, + }) { + const wrapper = elements.floating; + const referenceWidth = Math.round( + rects.reference.width + ); + availableWidth = Math.floor(availableWidth); + availableHeight = Math.floor(availableHeight); + wrapper.style.setProperty( + '--popover-anchor-width', + `${referenceWidth}px` + ); + wrapper.style.setProperty( + '--popover-available-width', + `${availableWidth}px` ); + wrapper.style.setProperty( + '--popover-available-height', + `${availableHeight}px` + ); + if (props.sameWidth) { + wrapper.style.width = `${referenceWidth}px`; + } + if (props.fitViewport) { + wrapper.style.maxWidth = `${availableWidth}px`; + wrapper.style.maxHeight = `${availableHeight}px`; + } + }, + }); + } + function getArrowMiddleware(arrowElement, props) { + if (!arrowElement) return; + return (0, + _floating_ui_dom__WEBPACK_IMPORTED_MODULE_5__.arrow)({ + element: arrowElement, + padding: props.arrowPadding, + }); + } + var usePopover = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.createHook)( + function usePopover2({ + store, + modal = false, + portal = !!modal, + preserveTabOrder = true, + autoFocusOnShow = true, + wrapperProps, + fixed = false, + flip: flip2 = true, + shift: shift2 = 0, + slide = true, + overlap = false, + sameWidth = false, + fitViewport = false, + gutter, + arrowPadding = 4, + overflowPadding = 8, + getAnchorRect, + updatePosition, + ...props + }) { const context = (0, - _Y67KZUMI_js__WEBPACK_IMPORTED_MODULE_2__.usePopoverProviderContext)(); + _MWF5B7KS_js__WEBPACK_IMPORTED_MODULE_1__.usePopoverProviderContext)(); store = store || context; (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__.invariant)( + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_4__.invariant)( store, true && - 'PopoverDisclosure must receive a `store` prop or be wrapped in a PopoverProvider component.' + 'Popover must receive a `store` prop or be wrapped in a PopoverProvider component.' ); - const onClickProp = props.onClick; - const onClick = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useEvent)( - (event) => { + const arrowElement = store.useState('arrowElement'); + const anchorElement = store.useState('anchorElement'); + const disclosureElement = + store.useState('disclosureElement'); + const popoverElement = store.useState('popoverElement'); + const contentElement = store.useState('contentElement'); + const placement = store.useState('placement'); + const mounted = store.useState('mounted'); + const rendered = store.useState('rendered'); + const defaultArrowElementRef = (0, + react__WEBPACK_IMPORTED_MODULE_6__.useRef)(null); + const [positioned, setPositioned] = (0, + react__WEBPACK_IMPORTED_MODULE_6__.useState)(false); + const { portalRef, domReady } = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__.usePortalRef)( + portal, + props.portalRef + ); + const getAnchorRectProp = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__.useEvent)( + getAnchorRect + ); + const updatePositionProp = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__.useEvent)( + updatePosition + ); + const hasCustomUpdatePosition = !!updatePosition; + (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__.useSafeLayoutEffect)(() => { + if ( + !(popoverElement == null + ? void 0 + : popoverElement.isConnected) + ) + return; + popoverElement.style.setProperty( + '--popover-overflow-padding', + `${overflowPadding}px` + ); + const anchor = getAnchorElement( + anchorElement, + getAnchorRectProp + ); + const updatePosition2 = async () => { + if (!mounted) return; + if (!arrowElement) { + defaultArrowElementRef.current = + defaultArrowElementRef.current || + document.createElement('div'); + } + const arrow2 = + arrowElement || + defaultArrowElementRef.current; + const middleware = [ + getOffsetMiddleware(arrow2, { + gutter, + shift: shift2, + }), + getFlipMiddleware({ + flip: flip2, + overflowPadding, + }), + getShiftMiddleware({ + slide, + shift: shift2, + overlap, + overflowPadding, + }), + getArrowMiddleware(arrow2, { + arrowPadding, + }), + getSizeMiddleware({ + sameWidth, + fitViewport, + overflowPadding, + }), + ]; + const pos = await (0, + _floating_ui_dom__WEBPACK_IMPORTED_MODULE_5__.computePosition)( + anchor, + popoverElement, + { + placement, + strategy: fixed ? 'fixed' : 'absolute', + middleware, + } + ); store == null ? void 0 - : store.setAnchorElement( - event.currentTarget + : store.setState( + 'currentPlacement', + pos.placement ); - onClickProp == null + setPositioned(true); + const x = roundByDPR(pos.x); + const y = roundByDPR(pos.y); + Object.assign(popoverElement.style, { + top: '0', + left: '0', + transform: `translate3d(${x}px,${y}px,0)`, + }); + if (arrow2 && pos.middlewareData.arrow) { + const { x: arrowX, y: arrowY } = + pos.middlewareData.arrow; + const side = pos.placement.split('-')[0]; + const centerX = arrow2.clientWidth / 2; + const centerY = arrow2.clientHeight / 2; + const originX = + arrowX != null + ? arrowX + centerX + : -centerX; + const originY = + arrowY != null + ? arrowY + centerY + : -centerY; + popoverElement.style.setProperty( + '--popover-transform-origin', + { + top: `${originX}px calc(100% + ${centerY}px)`, + bottom: `${originX}px ${-centerY}px`, + left: `calc(100% + ${centerX}px) ${originY}px`, + right: `${-centerX}px ${originY}px`, + }[side] + ); + Object.assign(arrow2.style, { + left: + arrowX != null ? `${arrowX}px` : '', + top: + arrowY != null ? `${arrowY}px` : '', + [side]: '100%', + }); + } + }; + const update = async () => { + if (hasCustomUpdatePosition) { + await updatePositionProp({ + updatePosition: updatePosition2, + }); + setPositioned(true); + } else { + await updatePosition2(); + } + }; + const cancelAutoUpdate = (0, + _floating_ui_dom__WEBPACK_IMPORTED_MODULE_5__.autoUpdate)( + anchor, + popoverElement, + update, + { + // JSDOM doesn't support ResizeObserver + elementResize: + typeof ResizeObserver === 'function', + } + ); + return () => { + setPositioned(false); + cancelAutoUpdate(); + }; + }, [ + store, + rendered, + popoverElement, + arrowElement, + anchorElement, + popoverElement, + placement, + mounted, + domReady, + fixed, + flip2, + shift2, + slide, + overlap, + sameWidth, + fitViewport, + gutter, + arrowPadding, + overflowPadding, + getAnchorRectProp, + hasCustomUpdatePosition, + updatePositionProp, + ]); + (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__.useSafeLayoutEffect)(() => { + if (!mounted) return; + if (!domReady) return; + if ( + !(popoverElement == null ? void 0 - : onClickProp(event); - } + : popoverElement.isConnected) + ) + return; + if ( + !(contentElement == null + ? void 0 + : contentElement.isConnected) + ) + return; + const applyZIndex = () => { + popoverElement.style.zIndex = + getComputedStyle(contentElement).zIndex; + }; + applyZIndex(); + let raf = requestAnimationFrame(() => { + raf = requestAnimationFrame(applyZIndex); + }); + return () => cancelAnimationFrame(raf); + }, [mounted, domReady, popoverElement, contentElement]); + const position = fixed ? 'fixed' : 'absolute'; + props = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__.useWrapElement)( + props, + (element) => + /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)( + 'div', + { + ...wrapperProps, + style: { + // https://floating-ui.com/docs/computeposition#initial-layout + position, + top: 0, + left: 0, + width: 'max-content', + ...(wrapperProps == null + ? void 0 + : wrapperProps.style), + }, + ref: + store == null + ? void 0 + : store.setPopoverElement, + children: element, + } + ), + [store, position, wrapperProps] ); props = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useWrapElement)( + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__.useWrapElement)( props, (element) => /* @__PURE__ */ (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)( - _Y67KZUMI_js__WEBPACK_IMPORTED_MODULE_2__.PopoverScopedContextProvider, + _MWF5B7KS_js__WEBPACK_IMPORTED_MODULE_1__.PopoverScopedContextProvider, { value: store, children: element } ), [store] ); + props = { + // data-placing is not part of the public API. We're setting this here so + // we can wait for the popover to be positioned before other components + // move focus into it. For example, this attribute is observed by the + // Combobox component with the autoSelect behavior. + 'data-placing': !positioned || void 0, + ...props, + style: { + position: 'relative', + ...props.style, + }, + }; props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - {}, - props - ), - { - onClick, - } - ); - props = (0, - _HMCFFQCB_js__WEBPACK_IMPORTED_MODULE_0__.usePopoverAnchor)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - { store }, - props - ) - ); - props = (0, - _ZTXFEM5L_js__WEBPACK_IMPORTED_MODULE_1__.useDialogDisclosure)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - { store }, - props - ) - ); + _2S4Q4M35_js__WEBPACK_IMPORTED_MODULE_0__.useDialog)({ + store, + modal, + portal, + preserveTabOrder, + preserveTabOrderAnchor: + disclosureElement || anchorElement, + autoFocusOnShow: positioned && autoFocusOnShow, + ...props, + portalRef, + }); return props; } ); - var PopoverDisclosure = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__.forwardRef)( - function PopoverDisclosure2(props) { - const htmlProps = usePopoverDisclosure(props); - return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__.createElement)( - TagName, - htmlProps - ); - } + var Popover = (0, + _2S4Q4M35_js__WEBPACK_IMPORTED_MODULE_0__.createDialogComponent)( + (0, _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.forwardRef)( + function Popover2(props) { + const htmlProps = usePopover(props); + return (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.createElement)( + TagName, + htmlProps + ); + } + ), + _MWF5B7KS_js__WEBPACK_IMPORTED_MODULE_1__.usePopoverProviderContext ); /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/4QTMCR75.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/5M6RIVE2.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/4QTMCR75.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/5M6RIVE2.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -8426,108 +8737,51 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ MenuBarContextProvider: - function () { - return /* binding */ MenuBarContextProvider; - }, - /* harmony export */ MenuBarScopedContextProvider: - function () { - return /* binding */ MenuBarScopedContextProvider; - }, - /* harmony export */ MenuContextProvider: function () { - return /* binding */ MenuContextProvider; - }, - /* harmony export */ MenuItemCheckedContext: - function () { - return /* binding */ MenuItemCheckedContext; - }, - /* harmony export */ MenuScopedContextProvider: - function () { - return /* binding */ MenuScopedContextProvider; - }, - /* harmony export */ useMenuBarContext: function () { - return /* binding */ useMenuBarContext; - }, - /* harmony export */ useMenuBarProviderContext: - function () { - return /* binding */ useMenuBarProviderContext; - }, - /* harmony export */ useMenuBarScopedContext: - function () { - return /* binding */ useMenuBarScopedContext; - }, - /* harmony export */ useMenuContext: function () { - return /* binding */ useMenuContext; - }, - /* harmony export */ useMenuProviderContext: - function () { - return /* binding */ useMenuProviderContext; - }, - /* harmony export */ useMenuScopedContext: function () { - return /* binding */ useMenuScopedContext; + /* harmony export */ HeadingLevel: function () { + return /* binding */ HeadingLevel; }, /* harmony export */ } ); - /* harmony import */ var _JUCYQ5OS_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./JUCYQ5OS.js */ './node_modules/@ariakit/react-core/esm/__chunks/JUCYQ5OS.js' - ); - /* harmony import */ var _7Z7JH52O_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ./7Z7JH52O.js */ './node_modules/@ariakit/react-core/esm/__chunks/7Z7JH52O.js' - ); - /* harmony import */ var _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _CZ4GFWYL_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./APTFW6PT.js */ './node_modules/@ariakit/react-core/esm/__chunks/APTFW6PT.js' + /*! ./CZ4GFWYL.js */ './node_modules/@ariakit/react-core/esm/__chunks/CZ4GFWYL.js' ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! react */ './node_modules/react/index.js' ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! react */ './node_modules/react/index.js' + /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' ); ('use client'); - // src/menu/menu-context.tsx + // src/heading/heading-level.tsx - var menu = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__.createStoreContext)( - [ - _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_2__.CompositeContextProvider, - _7Z7JH52O_js__WEBPACK_IMPORTED_MODULE_1__.HovercardContextProvider, - ], - [ - _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_2__.CompositeScopedContextProvider, - _7Z7JH52O_js__WEBPACK_IMPORTED_MODULE_1__.HovercardScopedContextProvider, - ] - ); - var useMenuContext = menu.useContext; - var useMenuScopedContext = menu.useScopedContext; - var useMenuProviderContext = menu.useProviderContext; - var MenuContextProvider = menu.ContextProvider; - var MenuScopedContextProvider = menu.ScopedContextProvider; - var useMenuBarContext = - _JUCYQ5OS_js__WEBPACK_IMPORTED_MODULE_0__.useMenubarContext; - var useMenuBarScopedContext = - _JUCYQ5OS_js__WEBPACK_IMPORTED_MODULE_0__.useMenubarScopedContext; - var useMenuBarProviderContext = - _JUCYQ5OS_js__WEBPACK_IMPORTED_MODULE_0__.useMenubarProviderContext; - var MenuBarContextProvider = - _JUCYQ5OS_js__WEBPACK_IMPORTED_MODULE_0__.MenubarContextProvider; - var MenuBarScopedContextProvider = - _JUCYQ5OS_js__WEBPACK_IMPORTED_MODULE_0__.MenubarScopedContextProvider; - var MenuItemCheckedContext = (0, - react__WEBPACK_IMPORTED_MODULE_4__.createContext)(void 0); + function HeadingLevel({ level, children }) { + const contextLevel = (0, + react__WEBPACK_IMPORTED_MODULE_1__.useContext)( + _CZ4GFWYL_js__WEBPACK_IMPORTED_MODULE_0__.HeadingContext + ); + const nextLevel = Math.max( + Math.min(level || contextLevel + 1, 6), + 1 + ); + return /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)( + _CZ4GFWYL_js__WEBPACK_IMPORTED_MODULE_0__.HeadingContext + .Provider, + { value: nextLevel, children } + ); + } /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/5CPL3B7G.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/5NIUVND5.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/5CPL3B7G.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/5NIUVND5.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -8539,49 +8793,54 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ CollectionContextProvider: - function () { - return /* binding */ CollectionContextProvider; - }, - /* harmony export */ CollectionScopedContextProvider: - function () { - return /* binding */ CollectionScopedContextProvider; - }, - /* harmony export */ useCollectionContext: function () { - return /* binding */ useCollectionContext; + /* harmony export */ useDialogStore: function () { + return /* binding */ useDialogStore; + }, + /* harmony export */ useDialogStoreProps: function () { + return /* binding */ useDialogStoreProps; }, - /* harmony export */ useCollectionProviderContext: - function () { - return /* binding */ useCollectionProviderContext; - }, - /* harmony export */ useCollectionScopedContext: - function () { - return /* binding */ useCollectionScopedContext; - }, /* harmony export */ } ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _33YRLYNQ_js__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! ./33YRLYNQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/33YRLYNQ.js' + ); + /* harmony import */ var _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_1__ = + __webpack_require__( + /*! ./Q3KUZPD7.js */ './node_modules/@ariakit/react-core/esm/__chunks/Q3KUZPD7.js' + ); + /* harmony import */ var _ariakit_core_dialog_dialog_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! @ariakit/core/dialog/dialog-store */ './node_modules/@ariakit/core/esm/__chunks/KMAUV3TY.js' ); ('use client'); - // src/collection/collection-context.tsx - var ctx = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_0__.createStoreContext)(); - var useCollectionContext = ctx.useContext; - var useCollectionScopedContext = ctx.useScopedContext; - var useCollectionProviderContext = ctx.useProviderContext; - var CollectionContextProvider = ctx.ContextProvider; - var CollectionScopedContextProvider = ctx.ScopedContextProvider; + // src/dialog/dialog-store.ts + + function useDialogStoreProps(store, update, props) { + return (0, + _33YRLYNQ_js__WEBPACK_IMPORTED_MODULE_0__.useDisclosureStoreProps)( + store, + update, + props + ); + } + function useDialogStore(props = {}) { + const [store, update] = (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_1__.useStore)( + _ariakit_core_dialog_dialog_store__WEBPACK_IMPORTED_MODULE_2__.createDialogStore, + props + ); + return useDialogStoreProps(store, update, props); + } /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/5VQZOHHZ.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/5VQZOHHZ.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -8589,447 +8848,142 @@ If there's a particular need for this, please submit a feature request at https: __webpack_require__ ) { 'use strict'; - var react__WEBPACK_IMPORTED_MODULE_4___namespace_cache; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ useAttribute: function () { - return /* binding */ useAttribute; - }, - /* harmony export */ useBooleanEvent: function () { - return /* binding */ useBooleanEvent; - }, - /* harmony export */ useDeferredValue: function () { - return /* binding */ useDeferredValue; - }, - /* harmony export */ useEvent: function () { - return /* binding */ useEvent; - }, - /* harmony export */ useForceUpdate: function () { - return /* binding */ useForceUpdate; - }, - /* harmony export */ useId: function () { - return /* binding */ useId; - }, - /* harmony export */ useInitialValue: function () { - return /* binding */ useInitialValue; - }, - /* harmony export */ useIsMouseMoving: function () { - return /* binding */ useIsMouseMoving; - }, - /* harmony export */ useLazyValue: function () { - return /* binding */ useLazyValue; - }, - /* harmony export */ useLiveRef: function () { - return /* binding */ useLiveRef; - }, - /* harmony export */ useMergeRefs: function () { - return /* binding */ useMergeRefs; - }, - /* harmony export */ useMetadataProps: function () { - return /* binding */ useMetadataProps; + /* harmony export */ findFirstEnabledItem: function () { + return /* binding */ findFirstEnabledItem; }, - /* harmony export */ usePortalRef: function () { - return /* binding */ usePortalRef; + /* harmony export */ flipItems: function () { + return /* binding */ flipItems; }, - /* harmony export */ usePreviousValue: function () { - return /* binding */ usePreviousValue; + /* harmony export */ focusSilently: function () { + return /* binding */ focusSilently; }, - /* harmony export */ useSafeLayoutEffect: function () { - return /* binding */ useSafeLayoutEffect; + /* harmony export */ getEnabledItem: function () { + return /* binding */ getEnabledItem; }, - /* harmony export */ useTagName: function () { - return /* binding */ useTagName; + /* harmony export */ groupItemsByRows: function () { + return /* binding */ groupItemsByRows; }, - /* harmony export */ useTransactionState: function () { - return /* binding */ useTransactionState; + /* harmony export */ isItem: function () { + return /* binding */ isItem; }, - /* harmony export */ useUpdateEffect: function () { - return /* binding */ useUpdateEffect; + /* harmony export */ selectTextField: function () { + return /* binding */ selectTextField; }, - /* harmony export */ useUpdateLayoutEffect: - function () { - return /* binding */ useUpdateLayoutEffect; - }, - /* harmony export */ useWrapElement: function () { - return /* binding */ useWrapElement; + /* harmony export */ silentlyFocused: function () { + return /* binding */ silentlyFocused; }, /* harmony export */ } ); - /* harmony import */ var _SK3NAZA3_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./SK3NAZA3.js */ './node_modules/@ariakit/react-core/esm/__chunks/SK3NAZA3.js' - ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' - ); - /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( /*! @ariakit/core/utils/dom */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' ); - /* harmony import */ var _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_3__ = - __webpack_require__( - /*! @ariakit/core/utils/events */ './node_modules/@ariakit/core/esm/utils/events.js' - ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = - __webpack_require__( - /*! react */ './node_modules/react/index.js' - ); ('use client'); - // src/utils/hooks.ts + // src/composite/utils.ts - var _React = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_1__.__spreadValues)( - {}, - /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_4___namespace_cache || - (react__WEBPACK_IMPORTED_MODULE_4___namespace_cache = - __webpack_require__.t( - react__WEBPACK_IMPORTED_MODULE_4__, - 2 - )) - ); - var useReactId = _React.useId; - var useReactDeferredValue = _React.useDeferredValue; - var useReactInsertionEffect = _React.useInsertionEffect; - var useSafeLayoutEffect = - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_2__.canUseDOM - ? react__WEBPACK_IMPORTED_MODULE_4__.useLayoutEffect - : react__WEBPACK_IMPORTED_MODULE_4__.useEffect; - function useInitialValue(value) { - const [initialValue] = (0, - react__WEBPACK_IMPORTED_MODULE_4__.useState)(value); - return initialValue; - } - function useLazyValue(init) { - const ref = (0, - react__WEBPACK_IMPORTED_MODULE_4__.useRef)(); - if (ref.current === void 0) { - ref.current = init(); - } - return ref.current; - } - function useLiveRef(value) { - const ref = (0, react__WEBPACK_IMPORTED_MODULE_4__.useRef)( - value + var NULL_ITEM = { id: null }; + function flipItems( + items, + activeId, + shouldInsertNullItem = false + ) { + const index = items.findIndex( + (item) => item.id === activeId ); - useSafeLayoutEffect(() => { - ref.current = value; + return [ + ...items.slice(index + 1), + ...(shouldInsertNullItem ? [NULL_ITEM] : []), + ...items.slice(0, index), + ]; + } + function findFirstEnabledItem(items, excludeId) { + return items.find((item) => { + if (excludeId) { + return !item.disabled && item.id !== excludeId; + } + return !item.disabled; }); - return ref; } - function usePreviousValue(value) { - const [previousValue, setPreviousValue] = (0, - react__WEBPACK_IMPORTED_MODULE_4__.useState)(value); - if (value !== previousValue) { - setPreviousValue(value); - } - return previousValue; + function getEnabledItem(store, id) { + if (!id) return null; + return store.item(id) || null; } - function useEvent(callback) { - const ref = (0, react__WEBPACK_IMPORTED_MODULE_4__.useRef)( - () => { - throw new Error( - 'Cannot call an event handler while rendering.' - ); - } - ); - if (useReactInsertionEffect) { - useReactInsertionEffect(() => { - ref.current = callback; - }); - } else { - ref.current = callback; - } - return (0, react__WEBPACK_IMPORTED_MODULE_4__.useCallback)( - (...args) => { + function groupItemsByRows(items) { + const rows = []; + for (const item of items) { + const row = rows.find((currentRow) => { var _a; - return (_a = ref.current) == null - ? void 0 - : _a.call(ref, ...args); - }, - [] - ); - } - function useTransactionState(callback) { - const [state, setState] = (0, - react__WEBPACK_IMPORTED_MODULE_4__.useState)(null); - useSafeLayoutEffect(() => { - if (state == null) return; - if (!callback) return; - let prevState = null; - callback((prev) => { - prevState = prev; - return state; + return ( + ((_a = currentRow[0]) == null + ? void 0 + : _a.rowId) === item.rowId + ); }); - return () => { - callback(prevState); - }; - }, [state, callback]); - return [state, setState]; - } - function useMergeRefs(...refs) { - return (0, react__WEBPACK_IMPORTED_MODULE_4__.useMemo)( - () => { - if (!refs.some(Boolean)) return; - return (value) => { - for (const ref of refs) { - (0, - _SK3NAZA3_js__WEBPACK_IMPORTED_MODULE_0__.setRef)( - ref, - value - ); - } - }; - }, - refs - ); - } - function useId(defaultId) { - if (useReactId) { - const reactId = useReactId(); - if (defaultId) return defaultId; - return reactId; + if (row) { + row.push(item); + } else { + rows.push([item]); + } } - const [id, setId] = (0, - react__WEBPACK_IMPORTED_MODULE_4__.useState)(defaultId); - useSafeLayoutEffect(() => { - if (defaultId || id) return; - const random = Math.random().toString(36).slice(2, 8); - setId(`id-${random}`); - }, [defaultId, id]); - return defaultId || id; + return rows; } - function useDeferredValue(value) { - if (useReactDeferredValue) { - return useReactDeferredValue(value); - } - const [deferredValue, setDeferredValue] = (0, - react__WEBPACK_IMPORTED_MODULE_4__.useState)(value); - (0, react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => { - const raf = requestAnimationFrame(() => - setDeferredValue(value) + function selectTextField(element, collapseToEnd = false) { + if ( + (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_0__.isTextField)( + element + ) + ) { + element.setSelectionRange( + collapseToEnd ? element.value.length : 0, + element.value.length ); - return () => cancelAnimationFrame(raf); - }, [value]); - return deferredValue; - } - function useTagName(refOrElement, type) { - const stringOrUndefined = (type2) => { - if (typeof type2 !== 'string') return; - return type2; - }; - const [tagName, setTagName] = (0, - react__WEBPACK_IMPORTED_MODULE_4__.useState)(() => - stringOrUndefined(type) - ); - useSafeLayoutEffect(() => { - const element = - refOrElement && 'current' in refOrElement - ? refOrElement.current - : refOrElement; - setTagName( - (element == null + } else if (element.isContentEditable) { + const selection = (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_0__.getDocument)( + element + ).getSelection(); + selection == null + ? void 0 + : selection.selectAllChildren(element); + if (collapseToEnd) { + selection == null ? void 0 - : element.tagName.toLowerCase()) || - stringOrUndefined(type) - ); - }, [refOrElement, type]); - return tagName; - } - function useAttribute( - refOrElement, - attributeName, - defaultValue - ) { - const initialValue = useInitialValue(defaultValue); - const [attribute, setAttribute] = (0, - react__WEBPACK_IMPORTED_MODULE_4__.useState)(initialValue); - (0, react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => { - const element = - refOrElement && 'current' in refOrElement - ? refOrElement.current - : refOrElement; - if (!element) return; - const callback = () => { - const value = element.getAttribute(attributeName); - setAttribute(value == null ? initialValue : value); - }; - const observer = new MutationObserver(callback); - observer.observe(element, { - attributeFilter: [attributeName], - }); - callback(); - return () => observer.disconnect(); - }, [refOrElement, attributeName, initialValue]); - return attribute; - } - function useUpdateEffect(effect, deps) { - const mounted = (0, - react__WEBPACK_IMPORTED_MODULE_4__.useRef)(false); - (0, react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => { - if (mounted.current) { - return effect(); - } - mounted.current = true; - }, deps); - (0, react__WEBPACK_IMPORTED_MODULE_4__.useEffect)( - () => () => { - mounted.current = false; - }, - [] - ); - } - function useUpdateLayoutEffect(effect, deps) { - const mounted = (0, - react__WEBPACK_IMPORTED_MODULE_4__.useRef)(false); - useSafeLayoutEffect(() => { - if (mounted.current) { - return effect(); + : selection.collapseToEnd(); } - mounted.current = true; - }, deps); - useSafeLayoutEffect( - () => () => { - mounted.current = false; - }, - [] - ); - } - function useForceUpdate() { - return (0, react__WEBPACK_IMPORTED_MODULE_4__.useReducer)( - () => [], - [] - ); - } - function useBooleanEvent(booleanOrCallback) { - return useEvent( - typeof booleanOrCallback === 'function' - ? booleanOrCallback - : () => booleanOrCallback - ); - } - function useWrapElement(props, callback, deps = []) { - const wrapElement = (0, - react__WEBPACK_IMPORTED_MODULE_4__.useCallback)( - (element) => { - if (props.wrapElement) { - element = props.wrapElement(element); - } - return callback(element); - }, - [...deps, props.wrapElement] - ); - return (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_1__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_1__.__spreadValues)( - {}, - props - ), - { wrapElement } - ); - } - function usePortalRef(portalProp = false, portalRefProp) { - const [portalNode, setPortalNode] = (0, - react__WEBPACK_IMPORTED_MODULE_4__.useState)(null); - const portalRef = useMergeRefs( - setPortalNode, - portalRefProp - ); - const domReady = !portalProp || portalNode; - return { portalRef, portalNode, domReady }; - } - function useMetadataProps(props, key, value) { - const parent = props.onLoadedMetadataCapture; - const onLoadedMetadataCapture = (0, - react__WEBPACK_IMPORTED_MODULE_4__.useMemo)(() => { - return Object.assign( - () => {}, - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_1__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_1__.__spreadValues)( - {}, - parent - ), - { [key]: value } - ) - ); - }, [parent, key, value]); - return [ - parent == null ? void 0 : parent[key], - { onLoadedMetadataCapture }, - ]; - } - var hasInstalledGlobalEventListeners = false; - function useIsMouseMoving() { - (0, react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => { - if (hasInstalledGlobalEventListeners) return; - (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_3__.addGlobalEventListener)( - 'mousemove', - setMouseMoving, - true - ); - (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_3__.addGlobalEventListener)( - 'mousedown', - resetMouseMoving, - true - ); - (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_3__.addGlobalEventListener)( - 'mouseup', - resetMouseMoving, - true - ); - (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_3__.addGlobalEventListener)( - 'keydown', - resetMouseMoving, - true - ); - (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_3__.addGlobalEventListener)( - 'scroll', - resetMouseMoving, - true - ); - hasInstalledGlobalEventListeners = true; - }, []); - const isMouseMoving = useEvent(() => mouseMoving); - return isMouseMoving; + } } - var mouseMoving = false; - var previousScreenX = 0; - var previousScreenY = 0; - function hasMouseMovement(event) { - const movementX = - event.movementX || event.screenX - previousScreenX; - const movementY = - event.movementY || event.screenY - previousScreenY; - previousScreenX = event.screenX; - previousScreenY = event.screenY; - return movementX || movementY || 'development' === 'test'; + var FOCUS_SILENTLY = Symbol('FOCUS_SILENTLY'); + function focusSilently(element) { + element[FOCUS_SILENTLY] = true; + element.focus({ preventScroll: true }); } - function setMouseMoving(event) { - if (!hasMouseMovement(event)) return; - mouseMoving = true; + function silentlyFocused(element) { + const isSilentlyFocused = element[FOCUS_SILENTLY]; + delete element[FOCUS_SILENTLY]; + return isSilentlyFocused; } - function resetMouseMoving() { - mouseMoving = false; + function isItem(store, element, exclude) { + if (!element) return false; + if (element === exclude) return false; + const item = store.item(element.id); + if (!item) return false; + if (exclude && item.element === exclude) return false; + return true; } /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/5KKPXPXV.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/63N3TCQX.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/5KKPXPXV.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/63N3TCQX.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -9041,259 +8995,69 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ CompositeGroupLabel: function () { - return /* binding */ CompositeGroupLabel; + /* harmony export */ DialogContextProvider: + function () { + return /* binding */ DialogContextProvider; + }, + /* harmony export */ DialogDescriptionContext: + function () { + return /* binding */ DialogDescriptionContext; + }, + /* harmony export */ DialogHeadingContext: function () { + return /* binding */ DialogHeadingContext; }, - /* harmony export */ useCompositeGroupLabel: + /* harmony export */ DialogScopedContextProvider: function () { - return /* binding */ useCompositeGroupLabel; + return /* binding */ DialogScopedContextProvider; }, - /* harmony export */ - } - ); - /* harmony import */ var _B3T36J6Q_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./B3T36J6Q.js */ './node_modules/@ariakit/react-core/esm/__chunks/B3T36J6Q.js' - ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' - ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__ = - __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' - ); - ('use client'); - - // src/composite/composite-group-label.tsx - var TagName = 'div'; - var useCompositeGroupLabel = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createHook)( - function useCompositeGroupLabel2(_a) { - var _b = _a, - { store } = _b, - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__.__objRest)( - _b, - ['store'] - ); - props = (0, - _B3T36J6Q_js__WEBPACK_IMPORTED_MODULE_0__.useGroupLabel)( - props - ); - return props; - } - ); - var CompositeGroupLabel = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.forwardRef)( - function CompositeGroupLabel2(props) { - const htmlProps = useCompositeGroupLabel(props); - return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createElement)( - TagName, - htmlProps - ); - } - ); - - /***/ - }, - - /***/ './node_modules/@ariakit/react-core/esm/__chunks/5M6RIVE2.js': - /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/5M6RIVE2.js ***! - \*******************************************************************/ - /***/ function ( - __unused_webpack___webpack_module__, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ HeadingLevel: function () { - return /* binding */ HeadingLevel; + /* harmony export */ useDialogContext: function () { + return /* binding */ useDialogContext; }, + /* harmony export */ useDialogProviderContext: + function () { + return /* binding */ useDialogProviderContext; + }, + /* harmony export */ useDialogScopedContext: + function () { + return /* binding */ useDialogScopedContext; + }, /* harmony export */ } ); - /* harmony import */ var _CZ4GFWYL_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _FFSBKSAM_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./CZ4GFWYL.js */ './node_modules/@ariakit/react-core/esm/__chunks/CZ4GFWYL.js' + /*! ./FFSBKSAM.js */ './node_modules/@ariakit/react-core/esm/__chunks/FFSBKSAM.js' ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! react */ './node_modules/react/index.js' + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' + /*! react */ './node_modules/react/index.js' ); ('use client'); - // src/heading/heading-level.tsx - - function HeadingLevel({ level, children }) { - const contextLevel = (0, - react__WEBPACK_IMPORTED_MODULE_1__.useContext)( - _CZ4GFWYL_js__WEBPACK_IMPORTED_MODULE_0__.HeadingContext - ); - const nextLevel = Math.max( - Math.min(level || contextLevel + 1, 6), - 1 - ); - return /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)( - _CZ4GFWYL_js__WEBPACK_IMPORTED_MODULE_0__.HeadingContext - .Provider, - { value: nextLevel, children } - ); - } - - /***/ - }, + // src/dialog/dialog-context.tsx - /***/ './node_modules/@ariakit/react-core/esm/__chunks/5VQZOHHZ.js': - /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/5VQZOHHZ.js ***! - \*******************************************************************/ - /***/ function ( - __unused_webpack___webpack_module__, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ findFirstEnabledItem: function () { - return /* binding */ findFirstEnabledItem; - }, - /* harmony export */ flipItems: function () { - return /* binding */ flipItems; - }, - /* harmony export */ focusSilently: function () { - return /* binding */ focusSilently; - }, - /* harmony export */ getEnabledItem: function () { - return /* binding */ getEnabledItem; - }, - /* harmony export */ groupItemsByRows: function () { - return /* binding */ groupItemsByRows; - }, - /* harmony export */ isItem: function () { - return /* binding */ isItem; - }, - /* harmony export */ selectTextField: function () { - return /* binding */ selectTextField; - }, - /* harmony export */ silentlyFocused: function () { - return /* binding */ silentlyFocused; - }, - /* harmony export */ - } + var ctx = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createStoreContext)( + [ + _FFSBKSAM_js__WEBPACK_IMPORTED_MODULE_0__.DisclosureContextProvider, + ], + [ + _FFSBKSAM_js__WEBPACK_IMPORTED_MODULE_0__.DisclosureScopedContextProvider, + ] ); - /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! @ariakit/core/utils/dom */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' - ); - ('use client'); - - // src/composite/utils.ts - - var NULL_ITEM = { id: null }; - function flipItems( - items, - activeId, - shouldInsertNullItem = false - ) { - const index = items.findIndex( - (item) => item.id === activeId - ); - return [ - ...items.slice(index + 1), - ...(shouldInsertNullItem ? [NULL_ITEM] : []), - ...items.slice(0, index), - ]; - } - function findFirstEnabledItem(items, excludeId) { - return items.find((item) => { - if (excludeId) { - return !item.disabled && item.id !== excludeId; - } - return !item.disabled; - }); - } - function getEnabledItem(store, id) { - if (!id) return null; - return store.item(id) || null; - } - function groupItemsByRows(items) { - const rows = []; - for (const item of items) { - const row = rows.find((currentRow) => { - var _a; - return ( - ((_a = currentRow[0]) == null - ? void 0 - : _a.rowId) === item.rowId - ); - }); - if (row) { - row.push(item); - } else { - rows.push([item]); - } - } - return rows; - } - function selectTextField(element, collapseToEnd = false) { - if ( - (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_0__.isTextField)( - element - ) - ) { - element.setSelectionRange( - collapseToEnd ? element.value.length : 0, - element.value.length - ); - } else if (element.isContentEditable) { - const selection = (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_0__.getDocument)( - element - ).getSelection(); - selection == null - ? void 0 - : selection.selectAllChildren(element); - if (collapseToEnd) { - selection == null - ? void 0 - : selection.collapseToEnd(); - } - } - } - var FOCUS_SILENTLY = Symbol('FOCUS_SILENTLY'); - function focusSilently(element) { - element[FOCUS_SILENTLY] = true; - element.focus({ preventScroll: true }); - } - function silentlyFocused(element) { - const isSilentlyFocused = element[FOCUS_SILENTLY]; - delete element[FOCUS_SILENTLY]; - return isSilentlyFocused; - } - function isItem(store, element, exclude) { - if (!element) return false; - if (element === exclude) return false; - const item = store.item(element.id); - if (!item) return false; - if (exclude && item.element === exclude) return false; - return true; - } + var useDialogContext = ctx.useContext; + var useDialogScopedContext = ctx.useScopedContext; + var useDialogProviderContext = ctx.useProviderContext; + var DialogContextProvider = ctx.ContextProvider; + var DialogScopedContextProvider = ctx.ScopedContextProvider; + var DialogHeadingContext = (0, + react__WEBPACK_IMPORTED_MODULE_2__.createContext)(void 0); + var DialogDescriptionContext = (0, + react__WEBPACK_IMPORTED_MODULE_2__.createContext)(void 0); /***/ }, @@ -9424,9 +9188,578 @@ If there's a particular need for this, please submit a feature request at https: /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/73HKIOBA.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/6RB43CMC.js': + /*!*******************************************************************!*\ + !*** ./node_modules/@ariakit/react-core/esm/__chunks/6RB43CMC.js ***! + \*******************************************************************/ + /***/ function ( + __unused_webpack___webpack_module__, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ usePopoverStore: function () { + return /* binding */ usePopoverStore; + }, + /* harmony export */ usePopoverStoreProps: function () { + return /* binding */ usePopoverStoreProps; + }, + /* harmony export */ + } + ); + /* harmony import */ var _5NIUVND5_js__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! ./5NIUVND5.js */ './node_modules/@ariakit/react-core/esm/__chunks/5NIUVND5.js' + ); + /* harmony import */ var _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_1__ = + __webpack_require__( + /*! ./Q3KUZPD7.js */ './node_modules/@ariakit/react-core/esm/__chunks/Q3KUZPD7.js' + ); + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__ = + __webpack_require__( + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' + ); + /* harmony import */ var _ariakit_core_popover_popover_store__WEBPACK_IMPORTED_MODULE_3__ = + __webpack_require__( + /*! @ariakit/core/popover/popover-store */ './node_modules/@ariakit/core/esm/__chunks/BFGNM53A.js' + ); + ('use client'); + + // src/popover/popover-store.ts + + function usePopoverStoreProps(store, update, props) { + (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__.useUpdateEffect)( + update, + [props.popover] + ); + (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_1__.useStoreProps)( + store, + props, + 'placement' + ); + return (0, + _5NIUVND5_js__WEBPACK_IMPORTED_MODULE_0__.useDialogStoreProps)( + store, + update, + props + ); + } + function usePopoverStore(props = {}) { + const [store, update] = (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_1__.useStore)( + _ariakit_core_popover_popover_store__WEBPACK_IMPORTED_MODULE_3__.createPopoverStore, + props + ); + return usePopoverStoreProps(store, update, props); + } + + /***/ + }, + + /***/ './node_modules/@ariakit/react-core/esm/__chunks/72IB6YNO.js': + /*!*******************************************************************!*\ + !*** ./node_modules/@ariakit/react-core/esm/__chunks/72IB6YNO.js ***! + \*******************************************************************/ + /***/ function ( + __unused_webpack___webpack_module__, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ CompositeContextProvider: + function () { + return /* binding */ CompositeContextProvider; + }, + /* harmony export */ CompositeItemContext: function () { + return /* binding */ CompositeItemContext; + }, + /* harmony export */ CompositeRowContext: function () { + return /* binding */ CompositeRowContext; + }, + /* harmony export */ CompositeScopedContextProvider: + function () { + return /* binding */ CompositeScopedContextProvider; + }, + /* harmony export */ useCompositeContext: function () { + return /* binding */ useCompositeContext; + }, + /* harmony export */ useCompositeProviderContext: + function () { + return /* binding */ useCompositeProviderContext; + }, + /* harmony export */ useCompositeScopedContext: + function () { + return /* binding */ useCompositeScopedContext; + }, + /* harmony export */ + } + ); + /* harmony import */ var _45YOMIF3_js__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! ./45YOMIF3.js */ './node_modules/@ariakit/react-core/esm/__chunks/45YOMIF3.js' + ); + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__ = + __webpack_require__( + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' + ); + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = + __webpack_require__( + /*! react */ './node_modules/react/index.js' + ); + ('use client'); + + // src/composite/composite-context.tsx + + var ctx = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createStoreContext)( + [ + _45YOMIF3_js__WEBPACK_IMPORTED_MODULE_0__.CollectionContextProvider, + ], + [ + _45YOMIF3_js__WEBPACK_IMPORTED_MODULE_0__.CollectionScopedContextProvider, + ] + ); + var useCompositeContext = ctx.useContext; + var useCompositeScopedContext = ctx.useScopedContext; + var useCompositeProviderContext = ctx.useProviderContext; + var CompositeContextProvider = ctx.ContextProvider; + var CompositeScopedContextProvider = ctx.ScopedContextProvider; + var CompositeItemContext = (0, + react__WEBPACK_IMPORTED_MODULE_2__.createContext)(void 0); + var CompositeRowContext = (0, + react__WEBPACK_IMPORTED_MODULE_2__.createContext)(void 0); + + /***/ + }, + + /***/ './node_modules/@ariakit/react-core/esm/__chunks/7HVFURXT.js': + /*!*******************************************************************!*\ + !*** ./node_modules/@ariakit/react-core/esm/__chunks/7HVFURXT.js ***! + \*******************************************************************/ + /***/ function ( + __unused_webpack___webpack_module__, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ GroupLabelContext: function () { + return /* binding */ GroupLabelContext; + }, + /* harmony export */ + } + ); + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! react */ './node_modules/react/index.js' + ); + ('use client'); + + // src/group/group-label-context.tsx + + var GroupLabelContext = (0, + react__WEBPACK_IMPORTED_MODULE_0__.createContext)(void 0); + + /***/ + }, + + /***/ './node_modules/@ariakit/react-core/esm/__chunks/7LQR24VD.js': + /*!*******************************************************************!*\ + !*** ./node_modules/@ariakit/react-core/esm/__chunks/7LQR24VD.js ***! + \*******************************************************************/ + /***/ function ( + __unused_webpack___webpack_module__, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ Checkbox: function () { + return /* binding */ Checkbox; + }, + /* harmony export */ useCheckbox: function () { + return /* binding */ useCheckbox; + }, + /* harmony export */ + } + ); + /* harmony import */ var _WJ7PHYH7_js__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! ./WJ7PHYH7.js */ './node_modules/@ariakit/react-core/esm/__chunks/WJ7PHYH7.js' + ); + /* harmony import */ var _EYKMH5G5_js__WEBPACK_IMPORTED_MODULE_1__ = + __webpack_require__( + /*! ./EYKMH5G5.js */ './node_modules/@ariakit/react-core/esm/__chunks/EYKMH5G5.js' + ); + /* harmony import */ var _XEN5OWJF_js__WEBPACK_IMPORTED_MODULE_2__ = + __webpack_require__( + /*! ./XEN5OWJF.js */ './node_modules/@ariakit/react-core/esm/__chunks/XEN5OWJF.js' + ); + /* harmony import */ var _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_3__ = + __webpack_require__( + /*! ./Q3KUZPD7.js */ './node_modules/@ariakit/react-core/esm/__chunks/Q3KUZPD7.js' + ); + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_4__ = + __webpack_require__( + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' + ); + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_5__ = + __webpack_require__( + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' + ); + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__ = + __webpack_require__( + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' + ); + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = + __webpack_require__( + /*! react */ './node_modules/react/index.js' + ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = + __webpack_require__( + /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' + ); + ('use client'); + + // src/checkbox/checkbox.tsx + + var TagName = 'input'; + function setMixed(element, mixed) { + if (mixed) { + element.indeterminate = true; + } else if (element.indeterminate) { + element.indeterminate = false; + } + } + function isNativeCheckbox(tagName, type) { + return ( + tagName === 'input' && (!type || type === 'checkbox') + ); + } + function getPrimitiveValue(value) { + if (Array.isArray(value)) { + return value.toString(); + } + return value; + } + var useCheckbox = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_4__.createHook)( + function useCheckbox2({ + store, + name, + value: valueProp, + checked: checkedProp, + defaultChecked, + ...props + }) { + const context = (0, + _XEN5OWJF_js__WEBPACK_IMPORTED_MODULE_2__.useCheckboxContext)(); + store = store || context; + const [_checked, setChecked] = (0, + react__WEBPACK_IMPORTED_MODULE_7__.useState)( + defaultChecked != null ? defaultChecked : false + ); + const checked = (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_3__.useStoreState)( + store, + (state) => { + if (checkedProp !== void 0) return checkedProp; + if ( + (state == null ? void 0 : state.value) === + void 0 + ) + return _checked; + if (valueProp != null) { + if (Array.isArray(state.value)) { + const primitiveValue = + getPrimitiveValue(valueProp); + return state.value.includes( + primitiveValue + ); + } + return state.value === valueProp; + } + if (Array.isArray(state.value)) return false; + if (typeof state.value === 'boolean') + return state.value; + return false; + } + ); + const ref = (0, + react__WEBPACK_IMPORTED_MODULE_7__.useRef)(null); + const tagName = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_5__.useTagName)( + ref, + TagName + ); + const nativeCheckbox = isNativeCheckbox( + tagName, + props.type + ); + const mixed = checked ? checked === 'mixed' : void 0; + const isChecked = checked === 'mixed' ? false : checked; + const disabled = (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__.disabledFromProps)( + props + ); + const [propertyUpdated, schedulePropertyUpdate] = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_5__.useForceUpdate)(); + (0, + react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(() => { + const element = ref.current; + if (!element) return; + setMixed(element, mixed); + if (nativeCheckbox) return; + element.checked = isChecked; + if (name !== void 0) { + element.name = name; + } + if (valueProp !== void 0) { + element.value = `${valueProp}`; + } + }, [ + propertyUpdated, + mixed, + nativeCheckbox, + isChecked, + name, + valueProp, + ]); + const onChangeProp = props.onChange; + const onChange = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_5__.useEvent)( + (event) => { + if (disabled) { + event.stopPropagation(); + event.preventDefault(); + return; + } + setMixed(event.currentTarget, mixed); + if (!nativeCheckbox) { + event.currentTarget.checked = + !event.currentTarget.checked; + schedulePropertyUpdate(); + } + onChangeProp == null + ? void 0 + : onChangeProp(event); + if (event.defaultPrevented) return; + const elementChecked = + event.currentTarget.checked; + setChecked(elementChecked); + store == null + ? void 0 + : store.setValue((prevValue) => { + if (valueProp == null) + return elementChecked; + const primitiveValue = + getPrimitiveValue(valueProp); + if (!Array.isArray(prevValue)) { + return prevValue === + primitiveValue + ? false + : primitiveValue; + } + if (elementChecked) { + if ( + prevValue.includes( + primitiveValue + ) + ) { + return prevValue; + } + return [ + ...prevValue, + primitiveValue, + ]; + } + return prevValue.filter( + (v) => v !== primitiveValue + ); + }); + } + ); + const onClickProp = props.onClick; + const onClick = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_5__.useEvent)( + (event) => { + onClickProp == null + ? void 0 + : onClickProp(event); + if (event.defaultPrevented) return; + if (nativeCheckbox) return; + onChange(event); + } + ); + props = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_5__.useWrapElement)( + props, + (element) => + /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)( + _EYKMH5G5_js__WEBPACK_IMPORTED_MODULE_1__ + .CheckboxCheckedContext.Provider, + { value: isChecked, children: element } + ), + [isChecked] + ); + props = { + role: !nativeCheckbox ? 'checkbox' : void 0, + type: nativeCheckbox ? 'checkbox' : void 0, + 'aria-checked': checked, + ...props, + ref: (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_5__.useMergeRefs)( + ref, + props.ref + ), + onChange, + onClick, + }; + props = (0, + _WJ7PHYH7_js__WEBPACK_IMPORTED_MODULE_0__.useCommand)({ + clickOnEnter: !nativeCheckbox, + ...props, + }); + return (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__.removeUndefinedValues)( + { + name: nativeCheckbox ? name : void 0, + value: nativeCheckbox ? valueProp : void 0, + checked: isChecked, + ...props, + } + ); + } + ); + var Checkbox = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_4__.forwardRef)( + function Checkbox2(props) { + const htmlProps = useCheckbox(props); + return (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_4__.createElement)( + TagName, + htmlProps + ); + } + ); + + /***/ + }, + + /***/ './node_modules/@ariakit/react-core/esm/__chunks/7P7IWEBR.js': + /*!*******************************************************************!*\ + !*** ./node_modules/@ariakit/react-core/esm/__chunks/7P7IWEBR.js ***! + \*******************************************************************/ + /***/ function ( + __unused_webpack___webpack_module__, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ ComboboxContextProvider: + function () { + return /* binding */ ComboboxContextProvider; + }, + /* harmony export */ ComboboxItemCheckedContext: + function () { + return /* binding */ ComboboxItemCheckedContext; + }, + /* harmony export */ ComboboxItemValueContext: + function () { + return /* binding */ ComboboxItemValueContext; + }, + /* harmony export */ ComboboxListRoleContext: + function () { + return /* binding */ ComboboxListRoleContext; + }, + /* harmony export */ ComboboxScopedContextProvider: + function () { + return /* binding */ ComboboxScopedContextProvider; + }, + /* harmony export */ useComboboxContext: function () { + return /* binding */ useComboboxContext; + }, + /* harmony export */ useComboboxProviderContext: + function () { + return /* binding */ useComboboxProviderContext; + }, + /* harmony export */ useComboboxScopedContext: + function () { + return /* binding */ useComboboxScopedContext; + }, + /* harmony export */ + } + ); + /* harmony import */ var _MWF5B7KS_js__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! ./MWF5B7KS.js */ './node_modules/@ariakit/react-core/esm/__chunks/MWF5B7KS.js' + ); + /* harmony import */ var _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_1__ = + __webpack_require__( + /*! ./72IB6YNO.js */ './node_modules/@ariakit/react-core/esm/__chunks/72IB6YNO.js' + ); + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__ = + __webpack_require__( + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' + ); + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = + __webpack_require__( + /*! react */ './node_modules/react/index.js' + ); + ('use client'); + + // src/combobox/combobox-context.tsx + + var ComboboxListRoleContext = (0, + react__WEBPACK_IMPORTED_MODULE_3__.createContext)(void 0); + var ctx = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.createStoreContext)( + [ + _MWF5B7KS_js__WEBPACK_IMPORTED_MODULE_0__.PopoverContextProvider, + _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_1__.CompositeContextProvider, + ], + [ + _MWF5B7KS_js__WEBPACK_IMPORTED_MODULE_0__.PopoverScopedContextProvider, + _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_1__.CompositeScopedContextProvider, + ] + ); + var useComboboxContext = ctx.useContext; + var useComboboxScopedContext = ctx.useScopedContext; + var useComboboxProviderContext = ctx.useProviderContext; + var ComboboxContextProvider = ctx.ContextProvider; + var ComboboxScopedContextProvider = ctx.ScopedContextProvider; + var ComboboxItemValueContext = (0, + react__WEBPACK_IMPORTED_MODULE_3__.createContext)(void 0); + var ComboboxItemCheckedContext = (0, + react__WEBPACK_IMPORTED_MODULE_3__.createContext)(false); + + /***/ + }, + + /***/ './node_modules/@ariakit/react-core/esm/__chunks/7QZRSZWP.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/73HKIOBA.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/7QZRSZWP.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -9451,55 +9784,51 @@ If there's a particular need for this, please submit a feature request at https: __webpack_require__( /*! ./X7QOZUD3.js */ './node_modules/@ariakit/react-core/esm/__chunks/X7QOZUD3.js' ); - /* harmony import */ var _7Z7JH52O_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ./7Z7JH52O.js */ './node_modules/@ariakit/react-core/esm/__chunks/7Z7JH52O.js' - ); - /* harmony import */ var _OXP7NBTN_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _2WDBOH5E_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./OXP7NBTN.js */ './node_modules/@ariakit/react-core/esm/__chunks/OXP7NBTN.js' + /*! ./2WDBOH5E.js */ './node_modules/@ariakit/react-core/esm/__chunks/2WDBOH5E.js' ); - /* harmony import */ var _NI3IVY7K_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _4Z6JSVUY_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ./NI3IVY7K.js */ './node_modules/@ariakit/react-core/esm/__chunks/NI3IVY7K.js' + /*! ./4Z6JSVUY.js */ './node_modules/@ariakit/react-core/esm/__chunks/4Z6JSVUY.js' ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _2S4Q4M35_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ./2S4Q4M35.js */ './node_modules/@ariakit/react-core/esm/__chunks/2S4Q4M35.js' ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_5__ = + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__ = + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_7__ = + /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__( /*! @ariakit/core/utils/dom */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' ); - /* harmony import */ var _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_8__ = + /* harmony import */ var _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__( /*! @ariakit/core/utils/events */ './node_modules/@ariakit/core/esm/utils/events.js' ); - /* harmony import */ var _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_9__ = + /* harmony import */ var _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__( /*! @ariakit/core/utils/focus */ './node_modules/@ariakit/core/esm/utils/focus.js' ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_10__ = + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); - /* harmony import */ var _ariakit_core_utils_store__WEBPACK_IMPORTED_MODULE_11__ = + /* harmony import */ var _ariakit_core_utils_store__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__( - /*! @ariakit/core/utils/store */ './node_modules/@ariakit/core/esm/__chunks/EWA2WL6G.js' + /*! @ariakit/core/utils/store */ './node_modules/@ariakit/core/esm/__chunks/SXKM4CGU.js' ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_12__ = + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__( /*! react */ './node_modules/react/index.js' ); - /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__ = + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__( /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' ); @@ -9511,7 +9840,7 @@ If there's a particular need for this, please submit a feature request at https: function isMovingOnHovercard(target, card, anchor, nested) { if ( (0, - _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_9__.hasFocusWithin)( + _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_8__.hasFocusWithin)( card ) ) @@ -9519,7 +9848,7 @@ If there's a particular need for this, please submit a feature request at https: if (!target) return false; if ( (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_7__.contains)( + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_6__.contains)( card, target ) @@ -9528,7 +9857,7 @@ If there's a particular need for this, please submit a feature request at https: if ( anchor && (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_7__.contains)( + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_6__.contains)( anchor, target ) @@ -9545,25 +9874,18 @@ If there's a particular need for this, please submit a feature request at https: } return false; } - function useAutoFocusOnHide(_a) { - var _b = _a, - { store } = _b, - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__.__objRest)( - _b, - ['store'] - ); + function useAutoFocusOnHide({ store, ...props }) { const [autoFocusOnHide, setAutoFocusOnHide] = (0, - react__WEBPACK_IMPORTED_MODULE_12__.useState)(false); + react__WEBPACK_IMPORTED_MODULE_11__.useState)(false); const mounted = store.useState('mounted'); - (0, react__WEBPACK_IMPORTED_MODULE_12__.useEffect)(() => { + (0, react__WEBPACK_IMPORTED_MODULE_11__.useEffect)(() => { if (!mounted) { setAutoFocusOnHide(false); } }, [mounted]); const onFocusProp = props.onFocus; const onFocus = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_5__.useEvent)( + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_5__.useEvent)( (event) => { onFocusProp == null ? void 0 : onFocusProp(event); if (event.defaultPrevented) return; @@ -9571,10 +9893,10 @@ If there's a particular need for this, please submit a feature request at https: } ); const finalFocusRef = (0, - react__WEBPACK_IMPORTED_MODULE_12__.useRef)(null); - (0, react__WEBPACK_IMPORTED_MODULE_12__.useEffect)(() => { + react__WEBPACK_IMPORTED_MODULE_11__.useRef)(null); + (0, react__WEBPACK_IMPORTED_MODULE_11__.useEffect)(() => { return (0, - _ariakit_core_utils_store__WEBPACK_IMPORTED_MODULE_11__.sync)( + _ariakit_core_utils_store__WEBPACK_IMPORTED_MODULE_10__.sync)( store, ['anchorElement'], (state) => { @@ -9582,87 +9904,66 @@ If there's a particular need for this, please submit a feature request at https: } ); }, []); - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__.__spreadValues)( - { - autoFocusOnHide, - finalFocus: finalFocusRef, - }, - props - ), - { - onFocus, - } - ); + props = { + autoFocusOnHide, + finalFocus: finalFocusRef, + ...props, + onFocus, + }; return props; } var NestedHovercardContext = (0, - react__WEBPACK_IMPORTED_MODULE_12__.createContext)(null); + react__WEBPACK_IMPORTED_MODULE_11__.createContext)(null); var useHovercard = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_4__.createHook)( - function useHovercard2(_a) { - var _b = _a, - { - store, - modal = false, - portal = !!modal, - hideOnEscape = true, - hideOnHoverOutside = true, - disablePointerEventsOnApproach = !!hideOnHoverOutside, - } = _b, - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__.__objRest)( - _b, - [ - 'store', - 'modal', - 'portal', - 'hideOnEscape', - 'hideOnHoverOutside', - 'disablePointerEventsOnApproach', - ] - ); + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_4__.createHook)( + function useHovercard2({ + store, + modal = false, + portal = !!modal, + hideOnEscape = true, + hideOnHoverOutside = true, + disablePointerEventsOnApproach = !!hideOnHoverOutside, + ...props + }) { const context = (0, - _7Z7JH52O_js__WEBPACK_IMPORTED_MODULE_1__.useHovercardProviderContext)(); + _2WDBOH5E_js__WEBPACK_IMPORTED_MODULE_1__.useHovercardProviderContext)(); store = store || context; (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_10__.invariant)( + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_9__.invariant)( store, true && 'Hovercard must receive a `store` prop or be wrapped in a HovercardProvider component.' ); const ref = (0, - react__WEBPACK_IMPORTED_MODULE_12__.useRef)(null); + react__WEBPACK_IMPORTED_MODULE_11__.useRef)(null); const [nestedHovercards, setNestedHovercards] = (0, - react__WEBPACK_IMPORTED_MODULE_12__.useState)([]); + react__WEBPACK_IMPORTED_MODULE_11__.useState)([]); const hideTimeoutRef = (0, - react__WEBPACK_IMPORTED_MODULE_12__.useRef)(0); + react__WEBPACK_IMPORTED_MODULE_11__.useRef)(0); const enterPointRef = (0, - react__WEBPACK_IMPORTED_MODULE_12__.useRef)(null); + react__WEBPACK_IMPORTED_MODULE_11__.useRef)(null); const { portalRef, domReady } = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_5__.usePortalRef)( + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_5__.usePortalRef)( portal, props.portalRef ); const isMouseMoving = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_5__.useIsMouseMoving)(); + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_5__.useIsMouseMoving)(); const mayHideOnHoverOutside = !!hideOnHoverOutside; const hideOnHoverOutsideProp = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_5__.useBooleanEvent)( + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_5__.useBooleanEvent)( hideOnHoverOutside ); const mayDisablePointerEvents = !!disablePointerEventsOnApproach; const disablePointerEventsProp = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_5__.useBooleanEvent)( + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_5__.useBooleanEvent)( disablePointerEventsOnApproach ); const open = store.useState('open'); const mounted = store.useState('mounted'); (0, - react__WEBPACK_IMPORTED_MODULE_12__.useEffect)(() => { + react__WEBPACK_IMPORTED_MODULE_11__.useEffect)(() => { if (!domReady) return; if (!mounted) return; if ( @@ -9692,7 +9993,7 @@ If there's a particular need for this, please submit a feature request at https: target && anchor && (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_7__.contains)( + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_6__.contains)( anchor, target ) @@ -9741,9 +10042,9 @@ If there's a particular need for this, please submit a feature request at https: ); }; return (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_10__.chain)( + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_9__.chain)( (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_8__.addGlobalEventListener)( + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__.addGlobalEventListener)( 'mousemove', onMouseMove, true @@ -9762,7 +10063,7 @@ If there's a particular need for this, please submit a feature request at https: hideOnHoverOutsideProp, ]); (0, - react__WEBPACK_IMPORTED_MODULE_12__.useEffect)(() => { + react__WEBPACK_IMPORTED_MODULE_11__.useEffect)(() => { if (!domReady) return; if (!mounted) return; if (!mayDisablePointerEvents) return; @@ -9793,28 +10094,28 @@ If there's a particular need for this, please submit a feature request at https: } }; return (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_10__.chain)( + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_9__.chain)( // Note: we may need to add pointer events here in the future. (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_8__.addGlobalEventListener)( + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__.addGlobalEventListener)( 'mouseenter', disableEvent, true ), (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_8__.addGlobalEventListener)( + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__.addGlobalEventListener)( 'mouseover', disableEvent, true ), (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_8__.addGlobalEventListener)( + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__.addGlobalEventListener)( 'mouseout', disableEvent, true ), (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_8__.addGlobalEventListener)( + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__.addGlobalEventListener)( 'mouseleave', disableEvent, true @@ -9827,7 +10128,7 @@ If there's a particular need for this, please submit a feature request at https: disablePointerEventsProp, ]); (0, - react__WEBPACK_IMPORTED_MODULE_12__.useEffect)(() => { + react__WEBPACK_IMPORTED_MODULE_11__.useEffect)(() => { if (!domReady) return; if (open) return; store == null @@ -9835,11 +10136,11 @@ If there's a particular need for this, please submit a feature request at https: : store.setAutoFocusOnShow(false); }, [store, domReady, open]); const openRef = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_5__.useLiveRef)( + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_5__.useLiveRef)( open ); (0, - react__WEBPACK_IMPORTED_MODULE_12__.useEffect)(() => { + react__WEBPACK_IMPORTED_MODULE_11__.useEffect)(() => { if (!domReady) return; return () => { if (!openRef.current) { @@ -9850,11 +10151,11 @@ If there's a particular need for this, please submit a feature request at https: }; }, [store, domReady]); const registerOnParent = (0, - react__WEBPACK_IMPORTED_MODULE_12__.useContext)( + react__WEBPACK_IMPORTED_MODULE_11__.useContext)( NestedHovercardContext ); (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_5__.useSafeLayoutEffect)(() => { + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_5__.useSafeLayoutEffect)(() => { if (modal) return; if (!portal) return; if (!mounted) return; @@ -9866,7 +10167,7 @@ If there's a particular need for this, please submit a feature request at https: : registerOnParent(element); }, [modal, portal, mounted, domReady]); const registerNestedHovercard = (0, - react__WEBPACK_IMPORTED_MODULE_12__.useCallback)( + react__WEBPACK_IMPORTED_MODULE_11__.useCallback)( (element) => { setNestedHovercards((prevElements) => [ ...prevElements, @@ -9890,16 +10191,16 @@ If there's a particular need for this, please submit a feature request at https: [registerOnParent] ); props = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_5__.useWrapElement)( + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_5__.useWrapElement)( props, (element) => /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)( - _7Z7JH52O_js__WEBPACK_IMPORTED_MODULE_1__.HovercardScopedContextProvider, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)( + _2WDBOH5E_js__WEBPACK_IMPORTED_MODULE_1__.HovercardScopedContextProvider, { value: store, children: /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)( + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)( NestedHovercardContext.Provider, { value: registerNestedHovercard, @@ -9910,92 +10211,67 @@ If there's a particular need for this, please submit a feature request at https: ), [store, registerNestedHovercard] ); - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__.__spreadValues)( - {}, - props + props = { + ...props, + ref: (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_5__.useMergeRefs)( + ref, + props.ref ), - { - ref: (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_5__.useMergeRefs)( - ref, - props.ref - ), - } - ); - props = useAutoFocusOnHide( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__.__spreadValues)( - { store }, - props - ) - ); + }; + props = useAutoFocusOnHide({ store, ...props }); const autoFocusOnShow = store.useState( (state) => modal || state.autoFocusOnShow ); props = (0, - _OXP7NBTN_js__WEBPACK_IMPORTED_MODULE_2__.usePopover)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__.__spreadValues)( - { - store, - modal, - portal, - autoFocusOnShow, - }, - props - ), - { - portalRef, - hideOnEscape(event) { - if ( - (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_10__.isFalsyBooleanCallback)( - hideOnEscape, - event - ) - ) - return false; - requestAnimationFrame(() => { - requestAnimationFrame(() => { - store == null - ? void 0 - : store.hide(); - }); - }); - return true; - }, - } - ) - ); + _4Z6JSVUY_js__WEBPACK_IMPORTED_MODULE_2__.usePopover)({ + store, + modal, + portal, + autoFocusOnShow, + ...props, + portalRef, + hideOnEscape(event) { + if ( + (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_9__.isFalsyBooleanCallback)( + hideOnEscape, + event + ) + ) + return false; + requestAnimationFrame(() => { + requestAnimationFrame(() => { + store == null ? void 0 : store.hide(); + }); + }); + return true; + }, + }); return props; } ); var Hovercard = (0, - _NI3IVY7K_js__WEBPACK_IMPORTED_MODULE_3__.createDialogComponent)( - (0, _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_4__.forwardRef)( + _2S4Q4M35_js__WEBPACK_IMPORTED_MODULE_3__.createDialogComponent)( + (0, _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_4__.forwardRef)( function Hovercard2(props) { const htmlProps = useHovercard(props); return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_4__.createElement)( + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_4__.createElement)( TagName, htmlProps ); } ), - _7Z7JH52O_js__WEBPACK_IMPORTED_MODULE_1__.useHovercardProviderContext + _2WDBOH5E_js__WEBPACK_IMPORTED_MODULE_1__.useHovercardProviderContext ); /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/7HVFURXT.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/AOQQTIBO.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/7HVFURXT.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/AOQQTIBO.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -10007,8 +10283,8 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ GroupLabelContext: function () { - return /* binding */ GroupLabelContext; + /* harmony export */ PortalContext: function () { + return /* binding */ PortalContext; }, /* harmony export */ } @@ -10019,17 +10295,17 @@ If there's a particular need for this, please submit a feature request at https: ); ('use client'); - // src/group/group-label-context.tsx + // src/portal/portal-context.tsx - var GroupLabelContext = (0, - react__WEBPACK_IMPORTED_MODULE_0__.createContext)(void 0); + var PortalContext = (0, + react__WEBPACK_IMPORTED_MODULE_0__.createContext)(null); /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/7XCHEDST.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/AOUGVQZ3.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/7XCHEDST.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/AOUGVQZ3.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -10041,142 +10317,273 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ useTabStore: function () { - return /* binding */ useTabStore; + /* harmony export */ createWalkTreeSnapshot: + function () { + return /* binding */ createWalkTreeSnapshot; + }, + /* harmony export */ isValidElement: function () { + return /* binding */ isValidElement; }, - /* harmony export */ useTabStoreProps: function () { - return /* binding */ useTabStoreProps; + /* harmony export */ walkTreeOutside: function () { + return /* binding */ walkTreeOutside; }, /* harmony export */ } ); - /* harmony import */ var _LM7KIZUU_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _K2ZF5NU7_js__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! ./K2ZF5NU7.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2ZF5NU7.js' + ); + /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./LM7KIZUU.js */ './node_modules/@ariakit/react-core/esm/__chunks/LM7KIZUU.js' + /*! @ariakit/core/utils/dom */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' ); - /* harmony import */ var _B7UTNDHN_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ./B7UTNDHN.js */ './node_modules/@ariakit/react-core/esm/__chunks/B7UTNDHN.js' + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' + ); + ('use client'); + + // src/dialog/utils/walk-tree-outside.ts + + var ignoreTags = ['SCRIPT', 'STYLE']; + function getSnapshotPropertyName(id) { + return `__ariakit-dialog-snapshot-${id}`; + } + function inSnapshot(id, element) { + const doc = (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_1__.getDocument)( + element + ); + const propertyName = getSnapshotPropertyName(id); + if (!doc.body[propertyName]) return true; + do { + if (element === doc.body) return false; + if (element[propertyName]) return true; + if (!element.parentElement) return false; + element = element.parentElement; + } while (true); + } + function isValidElement(id, element, ignoredElements) { + if (ignoreTags.includes(element.tagName)) return false; + if (!inSnapshot(id, element)) return false; + return !ignoredElements.some( + (enabledElement) => + enabledElement && + (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_1__.contains)( + element, + enabledElement + ) + ); + } + function walkTreeOutside( + id, + elements, + callback, + ancestorCallback + ) { + for (let element of elements) { + if (!(element == null ? void 0 : element.isConnected)) + continue; + const hasAncestorAlready = elements.some( + (maybeAncestor) => { + if (!maybeAncestor) return false; + if (maybeAncestor === element) return false; + return maybeAncestor.contains(element); + } + ); + const doc = (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_1__.getDocument)( + element + ); + const originalElement = element; + while (element.parentElement && element !== doc.body) { + ancestorCallback == null + ? void 0 + : ancestorCallback( + element.parentElement, + originalElement + ); + if (!hasAncestorAlready) { + for (const child of element.parentElement + .children) { + if (isValidElement(id, child, elements)) { + callback(child, originalElement); + } + } + } + element = element.parentElement; + } + } + } + function createWalkTreeSnapshot(id, elements) { + const { body } = (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_1__.getDocument)( + elements[0] + ); + const cleanups = []; + const markElement = (element) => { + cleanups.push( + (0, + _K2ZF5NU7_js__WEBPACK_IMPORTED_MODULE_0__.setProperty)( + element, + getSnapshotPropertyName(id), + true + ) + ); + }; + walkTreeOutside(id, elements, markElement); + return (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_2__.chain)( + (0, + _K2ZF5NU7_js__WEBPACK_IMPORTED_MODULE_0__.setProperty)( + body, + getSnapshotPropertyName(id), + true + ), + () => { + for (const cleanup of cleanups) { + cleanup(); + } + } ); - /* harmony import */ var _OLVWQA7U_js__WEBPACK_IMPORTED_MODULE_2__ = + } + + /***/ + }, + + /***/ './node_modules/@ariakit/react-core/esm/__chunks/BAEM5RK7.js': + /*!*******************************************************************!*\ + !*** ./node_modules/@ariakit/react-core/esm/__chunks/BAEM5RK7.js ***! + \*******************************************************************/ + /***/ function ( + __unused_webpack___webpack_module__, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ useComboboxStore: function () { + return /* binding */ useComboboxStore; + }, + /* harmony export */ useComboboxStoreOptions: + function () { + return /* binding */ useComboboxStoreOptions; + }, + /* harmony export */ useComboboxStoreProps: + function () { + return /* binding */ useComboboxStoreProps; + }, + /* harmony export */ + } + ); + /* harmony import */ var _IUIPXKOL_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./OLVWQA7U.js */ './node_modules/@ariakit/react-core/esm/__chunks/OLVWQA7U.js' + /*! ./IUIPXKOL.js */ './node_modules/@ariakit/react-core/esm/__chunks/IUIPXKOL.js' ); - /* harmony import */ var _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _6RB43CMC_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./RTNCFSKZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/RTNCFSKZ.js' + /*! ./6RB43CMC.js */ './node_modules/@ariakit/react-core/esm/__chunks/6RB43CMC.js' ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _VEHC2EHR_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! ./VEHC2EHR.js */ './node_modules/@ariakit/react-core/esm/__chunks/VEHC2EHR.js' ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__ = + /* harmony import */ var _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' + /*! ./Q3KUZPD7.js */ './node_modules/@ariakit/react-core/esm/__chunks/Q3KUZPD7.js' ); - /* harmony import */ var _ariakit_core_tab_tab_store__WEBPACK_IMPORTED_MODULE_6__ = + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! @ariakit/core/tab/tab-store */ './node_modules/@ariakit/core/esm/tab/tab-store.js' + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = + /* harmony import */ var _ariakit_core_combobox_combobox_store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( - /*! react */ './node_modules/react/index.js' + /*! @ariakit/core/combobox/combobox-store */ './node_modules/@ariakit/core/esm/combobox/combobox-store.js' ); ('use client'); - // src/tab/tab-store.ts + // src/combobox/combobox-store.ts - function useTabStoreProps(store, update, props) { - (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useUpdateEffect)( - update, - [props.composite, props.combobox] - ); - store = (0, - _B7UTNDHN_js__WEBPACK_IMPORTED_MODULE_1__.useCompositeStoreProps)( - store, - update, + function useComboboxStoreOptions(props) { + const tag = (0, + _IUIPXKOL_js__WEBPACK_IMPORTED_MODULE_0__.useTagContext)(); + props = { + ...props, + tag: props.tag !== void 0 ? props.tag : tag, + }; + return (0, + _VEHC2EHR_js__WEBPACK_IMPORTED_MODULE_2__.useCompositeStoreOptions)( props ); + } + function useComboboxStoreProps(store, update, props) { + (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useUpdateEffect)( + update, + [props.tag] + ); (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_3__.useStoreProps)( + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_3__.useStoreProps)( store, props, - 'selectedId', - 'setSelectedId' + 'value', + 'setValue' ); (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_3__.useStoreProps)( + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_3__.useStoreProps)( store, props, - 'selectOnMove' + 'selectedValue', + 'setSelectedValue' ); - const [panels, updatePanels] = (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_3__.useStore)( - () => store.panels, - {} + (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_3__.useStoreProps)( + store, + props, + 'resetValueOnHide' ); (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useUpdateEffect)( - updatePanels, - [store, updatePanels] + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_3__.useStoreProps)( + store, + props, + 'resetValueOnSelect' ); return Object.assign( - (0, react__WEBPACK_IMPORTED_MODULE_7__.useMemo)( - () => - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - {}, - store - ), - { panels } - ), - [store, panels] - ), - { composite: props.composite, combobox: props.combobox } - ); - } - function useTabStore(props = {}) { - const combobox = (0, - _OLVWQA7U_js__WEBPACK_IMPORTED_MODULE_2__.useComboboxContext)(); - const composite = - (0, - _LM7KIZUU_js__WEBPACK_IMPORTED_MODULE_0__.useSelectContext)() || - combobox; - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadProps)( (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - {}, + _VEHC2EHR_js__WEBPACK_IMPORTED_MODULE_2__.useCompositeStoreProps)( + (0, + _6RB43CMC_js__WEBPACK_IMPORTED_MODULE_1__.usePopoverStoreProps)( + store, + update, + props + ), + update, props ), - { - composite: - props.composite !== void 0 - ? props.composite - : composite, - combobox: - props.combobox !== void 0 - ? props.combobox - : combobox, - } + { tag: props.tag } ); + } + function useComboboxStore(props = {}) { + props = useComboboxStoreOptions(props); const [store, update] = (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_3__.useStore)( - _ariakit_core_tab_tab_store__WEBPACK_IMPORTED_MODULE_6__.createTabStore, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_3__.useStore)( + _ariakit_core_combobox_combobox_store__WEBPACK_IMPORTED_MODULE_5__.createComboboxStore, props ); - return useTabStoreProps(store, update, props); + return useComboboxStoreProps(store, update, props); } /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/7Z7JH52O.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/BVSK4LBK.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/7Z7JH52O.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/BVSK4LBK.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -10188,60 +10595,205 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ HovercardContextProvider: - function () { - return /* binding */ HovercardContextProvider; - }, - /* harmony export */ HovercardScopedContextProvider: - function () { - return /* binding */ HovercardScopedContextProvider; - }, - /* harmony export */ useHovercardContext: function () { - return /* binding */ useHovercardContext; + /* harmony export */ HovercardAnchor: function () { + return /* binding */ HovercardAnchor; + }, + /* harmony export */ useHovercardAnchor: function () { + return /* binding */ useHovercardAnchor; }, - /* harmony export */ useHovercardProviderContext: - function () { - return /* binding */ useHovercardProviderContext; - }, - /* harmony export */ useHovercardScopedContext: - function () { - return /* binding */ useHovercardScopedContext; - }, /* harmony export */ } ); - /* harmony import */ var _Y67KZUMI_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _2WDBOH5E_js__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! ./2WDBOH5E.js */ './node_modules/@ariakit/react-core/esm/__chunks/2WDBOH5E.js' + ); + /* harmony import */ var _US3TW2XI_js__WEBPACK_IMPORTED_MODULE_1__ = + __webpack_require__( + /*! ./US3TW2XI.js */ './node_modules/@ariakit/react-core/esm/__chunks/US3TW2XI.js' + ); + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__ = + __webpack_require__( + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' + ); + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__ = + __webpack_require__( + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' + ); + /* harmony import */ var _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_4__ = + __webpack_require__( + /*! @ariakit/core/utils/events */ './node_modules/@ariakit/core/esm/utils/events.js' + ); + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( - /*! ./Y67KZUMI.js */ './node_modules/@ariakit/react-core/esm/__chunks/Y67KZUMI.js' + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! react */ './node_modules/react/index.js' ); ('use client'); - // src/hovercard/hovercard-context.tsx - var ctx = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createStoreContext)( - [ - _Y67KZUMI_js__WEBPACK_IMPORTED_MODULE_0__.PopoverContextProvider, - ], - [ - _Y67KZUMI_js__WEBPACK_IMPORTED_MODULE_0__.PopoverScopedContextProvider, - ] + // src/hovercard/hovercard-anchor.tsx + + var TagName = 'a'; + var useHovercardAnchor = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.createHook)( + function useHovercardAnchor2({ + store, + showOnHover = true, + ...props + }) { + const context = (0, + _2WDBOH5E_js__WEBPACK_IMPORTED_MODULE_0__.useHovercardProviderContext)(); + store = store || context; + (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__.invariant)( + store, + true && + 'HovercardAnchor must receive a `store` prop or be wrapped in a HovercardProvider component.' + ); + const disabled = (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__.disabledFromProps)( + props + ); + const showTimeoutRef = (0, + react__WEBPACK_IMPORTED_MODULE_6__.useRef)(0); + (0, react__WEBPACK_IMPORTED_MODULE_6__.useEffect)( + () => () => + window.clearTimeout(showTimeoutRef.current), + [] + ); + (0, + react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => { + const onMouseLeave = (event) => { + if (!store) return; + const { anchorElement } = store.getState(); + if (!anchorElement) return; + if (event.target !== anchorElement) return; + window.clearTimeout(showTimeoutRef.current); + showTimeoutRef.current = 0; + }; + return (0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_4__.addGlobalEventListener)( + 'mouseleave', + onMouseLeave, + true + ); + }, [store]); + const onMouseMoveProp = props.onMouseMove; + const showOnHoverProp = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__.useBooleanEvent)( + showOnHover + ); + const isMouseMoving = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__.useIsMouseMoving)(); + const onMouseMove = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__.useEvent)( + (event) => { + onMouseMoveProp == null + ? void 0 + : onMouseMoveProp(event); + if (disabled) return; + if (!store) return; + if (event.defaultPrevented) return; + if (showTimeoutRef.current) return; + if (!isMouseMoving()) return; + if (!showOnHoverProp(event)) return; + const element = event.currentTarget; + store.setAnchorElement(element); + store.setDisclosureElement(element); + const { showTimeout, timeout } = + store.getState(); + const showHovercard = () => { + showTimeoutRef.current = 0; + if (!isMouseMoving()) return; + store == null + ? void 0 + : store.setAnchorElement(element); + store == null ? void 0 : store.show(); + queueMicrotask(() => { + store == null + ? void 0 + : store.setDisclosureElement( + element + ); + }); + }; + const timeoutMs = + showTimeout != null ? showTimeout : timeout; + if (timeoutMs === 0) { + showHovercard(); + } else { + showTimeoutRef.current = window.setTimeout( + showHovercard, + timeoutMs + ); + } + } + ); + const onClickProp = props.onClick; + const onClick = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__.useEvent)( + (event) => { + onClickProp == null + ? void 0 + : onClickProp(event); + if (!store) return; + window.clearTimeout(showTimeoutRef.current); + showTimeoutRef.current = 0; + } + ); + const ref = (0, + react__WEBPACK_IMPORTED_MODULE_6__.useCallback)( + (element) => { + if (!store) return; + const { anchorElement } = store.getState(); + if ( + anchorElement == null + ? void 0 + : anchorElement.isConnected + ) + return; + store.setAnchorElement(element); + }, + [store] + ); + props = { + ...props, + ref: (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__.useMergeRefs)( + ref, + props.ref + ), + onMouseMove, + onClick, + }; + props = (0, + _US3TW2XI_js__WEBPACK_IMPORTED_MODULE_1__.useFocusable)( + props + ); + return props; + } + ); + var HovercardAnchor = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.forwardRef)( + function HovercardAnchor2(props) { + const htmlProps = useHovercardAnchor(props); + return (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.createElement)( + TagName, + htmlProps + ); + } ); - var useHovercardContext = ctx.useContext; - var useHovercardScopedContext = ctx.useScopedContext; - var useHovercardProviderContext = ctx.useProviderContext; - var HovercardContextProvider = ctx.ContextProvider; - var HovercardScopedContextProvider = ctx.ScopedContextProvider; /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/ABN76PSX.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/CZ4GFWYL.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/ABN76PSX.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/CZ4GFWYL.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -10253,49 +10805,29 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ DisclosureContextProvider: - function () { - return /* binding */ DisclosureContextProvider; - }, - /* harmony export */ DisclosureScopedContextProvider: - function () { - return /* binding */ DisclosureScopedContextProvider; - }, - /* harmony export */ useDisclosureContext: function () { - return /* binding */ useDisclosureContext; + /* harmony export */ HeadingContext: function () { + return /* binding */ HeadingContext; }, - /* harmony export */ useDisclosureProviderContext: - function () { - return /* binding */ useDisclosureProviderContext; - }, - /* harmony export */ useDisclosureScopedContext: - function () { - return /* binding */ useDisclosureScopedContext; - }, /* harmony export */ } ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! react */ './node_modules/react/index.js' ); ('use client'); - // src/disclosure/disclosure-context.tsx - var ctx = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_0__.createStoreContext)(); - var useDisclosureContext = ctx.useContext; - var useDisclosureScopedContext = ctx.useScopedContext; - var useDisclosureProviderContext = ctx.useProviderContext; - var DisclosureContextProvider = ctx.ContextProvider; - var DisclosureScopedContextProvider = ctx.ScopedContextProvider; + // src/heading/heading-context.tsx + + var HeadingContext = (0, + react__WEBPACK_IMPORTED_MODULE_0__.createContext)(0); /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/AMMIPFT4.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/D7BWB6V7.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/AMMIPFT4.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/D7BWB6V7.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -10307,96 +10839,238 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ useCollectionStore: function () { - return /* binding */ useCollectionStore; + /* harmony export */ Radio: function () { + return /* binding */ Radio; + }, + /* harmony export */ useRadio: function () { + return /* binding */ useRadio; }, - /* harmony export */ useCollectionStoreProps: - function () { - return /* binding */ useCollectionStoreProps; - }, /* harmony export */ } ); - /* harmony import */ var _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _NJV4AM4M_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./RTNCFSKZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/RTNCFSKZ.js' + /*! ./NJV4AM4M.js */ './node_modules/@ariakit/react-core/esm/__chunks/NJV4AM4M.js' ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _FIT2LC3L_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! ./FIT2LC3L.js */ './node_modules/@ariakit/react-core/esm/__chunks/FIT2LC3L.js' ); - /* harmony import */ var _ariakit_core_collection_collection_store__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! @ariakit/core/collection/collection-store */ './node_modules/@ariakit/core/esm/__chunks/K2KIGYQU.js' + /*! ./Q3KUZPD7.js */ './node_modules/@ariakit/react-core/esm/__chunks/Q3KUZPD7.js' ); - ('use client'); - - // src/collection/collection-store.ts - - function useCollectionStoreProps(store, update, props) { - (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_1__.useUpdateEffect)( - update, - [props.store] + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__ = + __webpack_require__( + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_0__.useStoreProps)( - store, - props, - 'items', - 'setItems' + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__ = + __webpack_require__( + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - return store; - } - function useCollectionStore(props = {}) { - const [store, update] = (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_0__.useStore)( - _ariakit_core_collection_collection_store__WEBPACK_IMPORTED_MODULE_2__.createCollectionStore, - props + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__ = + __webpack_require__( + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); - return useCollectionStoreProps(store, update, props); - } - - /***/ - }, - - /***/ './node_modules/@ariakit/react-core/esm/__chunks/AOQQTIBO.js': - /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/AOQQTIBO.js ***! - \*******************************************************************/ - /***/ function ( - __unused_webpack___webpack_module__, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ PortalContext: function () { - return /* binding */ PortalContext; - }, - /* harmony export */ - } - ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__( /*! react */ './node_modules/react/index.js' ); ('use client'); - // src/portal/portal-context.tsx + // src/radio/radio.tsx - var PortalContext = (0, - react__WEBPACK_IMPORTED_MODULE_0__.createContext)(null); + var TagName = 'input'; + function getIsChecked(value, storeValue) { + if (storeValue === void 0) return; + if (value != null && storeValue != null) { + return storeValue === value; + } + return !!storeValue; + } + function isNativeRadio(tagName, type) { + return tagName === 'input' && (!type || type === 'radio'); + } + var useRadio = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__.createHook)( + function useRadio2({ + store, + name, + value, + checked, + ...props + }) { + const context = (0, + _NJV4AM4M_js__WEBPACK_IMPORTED_MODULE_0__.useRadioContext)(); + store = store || context; + const id = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useId)( + props.id + ); + const ref = (0, + react__WEBPACK_IMPORTED_MODULE_6__.useRef)(null); + const isChecked = (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_2__.useStoreState)( + store, + (state) => + checked != null + ? checked + : getIsChecked( + value, + state == null ? void 0 : state.value + ) + ); + (0, + react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => { + if (!id) return; + if (!isChecked) return; + const isActiveItem = + (store == null + ? void 0 + : store.getState().activeId) === id; + if (isActiveItem) return; + store == null ? void 0 : store.setActiveId(id); + }, [store, isChecked, id]); + const onChangeProp = props.onChange; + const tagName = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useTagName)( + ref, + TagName + ); + const nativeRadio = isNativeRadio(tagName, props.type); + const disabled = (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__.disabledFromProps)( + props + ); + const [propertyUpdated, schedulePropertyUpdate] = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useForceUpdate)(); + (0, + react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => { + const element = ref.current; + if (!element) return; + if (nativeRadio) return; + if (isChecked !== void 0) { + element.checked = isChecked; + } + if (name !== void 0) { + element.name = name; + } + if (value !== void 0) { + element.value = `${value}`; + } + }, [ + propertyUpdated, + nativeRadio, + isChecked, + name, + value, + ]); + const onChange = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useEvent)( + (event) => { + if (disabled) { + event.preventDefault(); + event.stopPropagation(); + return; + } + if ( + (store == null + ? void 0 + : store.getState().value) === value + ) + return; + if (!nativeRadio) { + event.currentTarget.checked = true; + schedulePropertyUpdate(); + } + onChangeProp == null + ? void 0 + : onChangeProp(event); + if (event.defaultPrevented) return; + store == null ? void 0 : store.setValue(value); + } + ); + const onClickProp = props.onClick; + const onClick = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useEvent)( + (event) => { + onClickProp == null + ? void 0 + : onClickProp(event); + if (event.defaultPrevented) return; + if (nativeRadio) return; + onChange(event); + } + ); + const onFocusProp = props.onFocus; + const onFocus = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useEvent)( + (event) => { + onFocusProp == null + ? void 0 + : onFocusProp(event); + if (event.defaultPrevented) return; + if (!nativeRadio) return; + if (!store) return; + const { moves, activeId } = store.getState(); + if (!moves) return; + if (id && activeId !== id) return; + onChange(event); + } + ); + props = { + id, + role: !nativeRadio ? 'radio' : void 0, + type: nativeRadio ? 'radio' : void 0, + 'aria-checked': isChecked, + ...props, + ref: (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useMergeRefs)( + ref, + props.ref + ), + onChange, + onClick, + onFocus, + }; + props = (0, + _FIT2LC3L_js__WEBPACK_IMPORTED_MODULE_1__.useCompositeItem)( + { + store, + clickOnEnter: !nativeRadio, + ...props, + } + ); + return (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__.removeUndefinedValues)( + { + name: nativeRadio ? name : void 0, + value: nativeRadio ? value : void 0, + checked: isChecked, + ...props, + } + ); + } + ); + var Radio = (0, _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__.memo)( + (0, _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__.forwardRef)( + function Radio2(props) { + const htmlProps = useRadio(props); + return (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__.createElement)( + TagName, + htmlProps + ); + } + ) + ); /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/AOUGVQZ3.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/DJAL6CN3.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/AOUGVQZ3.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/DJAL6CN3.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -10408,145 +11082,104 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ createWalkTreeSnapshot: - function () { - return /* binding */ createWalkTreeSnapshot; - }, - /* harmony export */ isValidElement: function () { - return /* binding */ isValidElement; - }, - /* harmony export */ walkTreeOutside: function () { - return /* binding */ walkTreeOutside; + /* harmony export */ useNestedDialogs: function () { + return /* binding */ useNestedDialogs; }, /* harmony export */ } ); - /* harmony import */ var _K2ZF5NU7_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./K2ZF5NU7.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2ZF5NU7.js' + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! @ariakit/core/utils/dom */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _ariakit_core_utils_store__WEBPACK_IMPORTED_MODULE_2__ = + __webpack_require__( + /*! @ariakit/core/utils/store */ './node_modules/@ariakit/core/esm/__chunks/SXKM4CGU.js' + ); + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = + __webpack_require__( + /*! react */ './node_modules/react/index.js' + ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' ); ('use client'); - // src/dialog/utils/walk-tree-outside.ts + // src/dialog/utils/use-nested-dialogs.tsx - var ignoreTags = ['SCRIPT', 'STYLE']; - function getSnapshotPropertyName(id) { - return `__ariakit-dialog-snapshot-${id}`; - } - function inSnapshot(id, element) { - const doc = (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_1__.getDocument)( - element - ); - const propertyName = getSnapshotPropertyName(id); - if (!doc.body[propertyName]) return true; - do { - if (element === doc.body) return false; - if (element[propertyName]) return true; - if (!element.parentElement) return false; - element = element.parentElement; - } while (true); - } - function isValidElement(id, element, ignoredElements) { - if (ignoreTags.includes(element.tagName)) return false; - if (!inSnapshot(id, element)) return false; - return !ignoredElements.some( - (enabledElement) => - enabledElement && - (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_1__.contains)( - element, - enabledElement - ) + var NestedDialogsContext = (0, + react__WEBPACK_IMPORTED_MODULE_3__.createContext)({}); + function useNestedDialogs(store) { + const context = (0, + react__WEBPACK_IMPORTED_MODULE_3__.useContext)( + NestedDialogsContext ); - } - function walkTreeOutside( - id, - elements, - callback, - ancestorCallback - ) { - for (let element of elements) { - if (!(element == null ? void 0 : element.isConnected)) - continue; - const hasAncestorAlready = elements.some( - (maybeAncestor) => { - if (!maybeAncestor) return false; - if (maybeAncestor === element) return false; - return maybeAncestor.contains(element); - } - ); - const doc = (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_1__.getDocument)( - element - ); - const originalElement = element; - while (element.parentElement && element !== doc.body) { - ancestorCallback == null - ? void 0 - : ancestorCallback( - element.parentElement, - originalElement + const [dialogs, setDialogs] = (0, + react__WEBPACK_IMPORTED_MODULE_3__.useState)([]); + const add = (0, + react__WEBPACK_IMPORTED_MODULE_3__.useCallback)( + (dialog) => { + var _a; + setDialogs((dialogs2) => [...dialogs2, dialog]); + return (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_1__.chain)( + (_a = context.add) == null + ? void 0 + : _a.call(context, dialog), + () => { + setDialogs((dialogs2) => + dialogs2.filter((d) => d !== dialog) ); - if (!hasAncestorAlready) { - for (const child of element.parentElement - .children) { - if (isValidElement(id, child, elements)) { - callback(child, originalElement); - } } - } - element = element.parentElement; - } - } - } - function createWalkTreeSnapshot(id, elements) { - const { body } = (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_1__.getDocument)( - elements[0] + ); + }, + [context] ); - const cleanups = []; - const markElement = (element) => { - cleanups.push( - (0, - _K2ZF5NU7_js__WEBPACK_IMPORTED_MODULE_0__.setProperty)( - element, - getSnapshotPropertyName(id), - true - ) - ); - }; - walkTreeOutside(id, elements, markElement); - return (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_2__.chain)( - (0, - _K2ZF5NU7_js__WEBPACK_IMPORTED_MODULE_0__.setProperty)( - body, - getSnapshotPropertyName(id), - true - ), - () => { - for (const cleanup of cleanups) { - cleanup(); + (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_0__.useSafeLayoutEffect)(() => { + return (0, + _ariakit_core_utils_store__WEBPACK_IMPORTED_MODULE_2__.sync)( + store, + ['open', 'contentElement'], + (state) => { + var _a; + if (!state.open) return; + if (!state.contentElement) return; + return (_a = context.add) == null + ? void 0 + : _a.call(context, store); } - } + ); + }, [store, context]); + const providerValue = (0, + react__WEBPACK_IMPORTED_MODULE_3__.useMemo)( + () => ({ store, add }), + [store, add] + ); + const wrapElement = (0, + react__WEBPACK_IMPORTED_MODULE_3__.useCallback)( + (element) => + /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)( + NestedDialogsContext.Provider, + { value: providerValue, children: element } + ), + [providerValue] ); + return { wrapElement, nestedDialogs: dialogs }; } /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/APTFW6PT.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/DTOLNWNF.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/APTFW6PT.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/DTOLNWNF.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -10558,75 +11191,66 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ CompositeContextProvider: - function () { - return /* binding */ CompositeContextProvider; - }, - /* harmony export */ CompositeItemContext: function () { - return /* binding */ CompositeItemContext; - }, - /* harmony export */ CompositeRowContext: function () { - return /* binding */ CompositeRowContext; + /* harmony export */ PopoverAnchor: function () { + return /* binding */ PopoverAnchor; }, - /* harmony export */ CompositeScopedContextProvider: - function () { - return /* binding */ CompositeScopedContextProvider; - }, - /* harmony export */ useCompositeContext: function () { - return /* binding */ useCompositeContext; + /* harmony export */ usePopoverAnchor: function () { + return /* binding */ usePopoverAnchor; }, - /* harmony export */ useCompositeProviderContext: - function () { - return /* binding */ useCompositeProviderContext; - }, - /* harmony export */ useCompositeScopedContext: - function () { - return /* binding */ useCompositeScopedContext; - }, /* harmony export */ } ); - /* harmony import */ var _5CPL3B7G_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _MWF5B7KS_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./5CPL3B7G.js */ './node_modules/@ariakit/react-core/esm/__chunks/5CPL3B7G.js' + /*! ./MWF5B7KS.js */ './node_modules/@ariakit/react-core/esm/__chunks/MWF5B7KS.js' ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! react */ './node_modules/react/index.js' + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); ('use client'); - // src/composite/composite-context.tsx - - var ctx = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createStoreContext)( - [ - _5CPL3B7G_js__WEBPACK_IMPORTED_MODULE_0__.CollectionContextProvider, - ], - [ - _5CPL3B7G_js__WEBPACK_IMPORTED_MODULE_0__.CollectionScopedContextProvider, - ] + // src/popover/popover-anchor.tsx + var TagName = 'div'; + var usePopoverAnchor = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createHook)( + function usePopoverAnchor2({ store, ...props }) { + const context = (0, + _MWF5B7KS_js__WEBPACK_IMPORTED_MODULE_0__.usePopoverProviderContext)(); + store = store || context; + props = { + ...props, + ref: (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__.useMergeRefs)( + store == null ? void 0 : store.setAnchorElement, + props.ref + ), + }; + return props; + } + ); + var PopoverAnchor = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.forwardRef)( + function PopoverAnchor2(props) { + const htmlProps = usePopoverAnchor(props); + return (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createElement)( + TagName, + htmlProps + ); + } ); - var useCompositeContext = ctx.useContext; - var useCompositeScopedContext = ctx.useScopedContext; - var useCompositeProviderContext = ctx.useProviderContext; - var CompositeContextProvider = ctx.ContextProvider; - var CompositeScopedContextProvider = ctx.ScopedContextProvider; - var CompositeItemContext = (0, - react__WEBPACK_IMPORTED_MODULE_2__.createContext)(void 0); - var CompositeRowContext = (0, - react__WEBPACK_IMPORTED_MODULE_2__.createContext)(void 0); /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/B3T36J6Q.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/DTXGDDAC.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/B3T36J6Q.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/DTXGDDAC.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -10638,83 +11262,90 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ GroupLabel: function () { - return /* binding */ GroupLabel; + /* harmony export */ CollectionItem: function () { + return /* binding */ CollectionItem; }, - /* harmony export */ useGroupLabel: function () { - return /* binding */ useGroupLabel; + /* harmony export */ useCollectionItem: function () { + return /* binding */ useCollectionItem; }, /* harmony export */ } ); - /* harmony import */ var _7HVFURXT_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./7HVFURXT.js */ './node_modules/@ariakit/react-core/esm/__chunks/7HVFURXT.js' - ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _45YOMIF3_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ./45YOMIF3.js */ './node_modules/@ariakit/react-core/esm/__chunks/45YOMIF3.js' ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( /*! react */ './node_modules/react/index.js' ); ('use client'); - // src/group/group-label.tsx + // src/collection/collection-item.tsx var TagName = 'div'; - var useGroupLabel = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createHook)( - function useGroupLabel2(props) { - const setLabelId = (0, - react__WEBPACK_IMPORTED_MODULE_5__.useContext)( - _7HVFURXT_js__WEBPACK_IMPORTED_MODULE_0__.GroupLabelContext - ); + var useCollectionItem = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createHook)( + function useCollectionItem2({ + store, + shouldRegisterItem = true, + getItem = _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_3__.identity, + // @ts-expect-error This prop may come from a collection renderer. + element, + ...props + }) { + const context = (0, + _45YOMIF3_js__WEBPACK_IMPORTED_MODULE_0__.useCollectionContext)(); + store = store || context; const id = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__.useId)( + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__.useId)( props.id ); + const ref = (0, + react__WEBPACK_IMPORTED_MODULE_4__.useRef)(element); (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__.useSafeLayoutEffect)(() => { - setLabelId == null ? void 0 : setLabelId(id); - return () => - setLabelId == null - ? void 0 - : setLabelId(void 0); - }, [setLabelId, id]); - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - { - id, - 'aria-hidden': true, - }, - props - ); + react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => { + const element2 = ref.current; + if (!id) return; + if (!element2) return; + if (!shouldRegisterItem) return; + const item = getItem({ id, element: element2 }); + return store == null + ? void 0 + : store.renderItem(item); + }, [id, shouldRegisterItem, getItem, store]); + props = { + ...props, + ref: (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__.useMergeRefs)( + ref, + props.ref + ), + }; return (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_4__.removeUndefinedValues)( + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_3__.removeUndefinedValues)( props ); } ); - var GroupLabel = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.forwardRef)( - function GroupLabel2(props) { - const htmlProps = useGroupLabel(props); + var CollectionItem = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.forwardRef)( + function CollectionItem2(props) { + const htmlProps = useCollectionItem(props); return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createElement)( + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createElement)( TagName, htmlProps ); @@ -10724,9 +11355,9 @@ If there's a particular need for this, please submit a feature request at https: /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/B7UTNDHN.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/E4E6RWAK.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/B7UTNDHN.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/E4E6RWAK.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -10738,127 +11369,79 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ useCompositeStore: function () { - return /* binding */ useCompositeStore; + /* harmony export */ CompositeSeparator: function () { + return /* binding */ CompositeSeparator; }, - /* harmony export */ useCompositeStoreOptions: - function () { - return /* binding */ useCompositeStoreOptions; - }, - /* harmony export */ useCompositeStoreProps: + /* harmony export */ useCompositeSeparator: function () { - return /* binding */ useCompositeStoreProps; + return /* binding */ useCompositeSeparator; }, /* harmony export */ } ); - /* harmony import */ var _AMMIPFT4_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./AMMIPFT4.js */ './node_modules/@ariakit/react-core/esm/__chunks/AMMIPFT4.js' - ); - /* harmony import */ var _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _NNCMNDHI_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./RTNCFSKZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/RTNCFSKZ.js' + /*! ./NNCMNDHI.js */ './node_modules/@ariakit/react-core/esm/__chunks/NNCMNDHI.js' ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! ./72IB6YNO.js */ './node_modules/@ariakit/react-core/esm/__chunks/72IB6YNO.js' ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var _ariakit_core_composite_composite_store__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! @ariakit/core/composite/composite-store */ './node_modules/@ariakit/core/esm/__chunks/C34RJTDU.js' + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); ('use client'); - // src/composite/composite-store.ts + // src/composite/composite-separator.tsx - function useCompositeStoreOptions(props) { - const id = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__.useId)(props.id); - return (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - { id }, - props - ); - } - function useCompositeStoreProps(store, update, props) { - store = (0, - _AMMIPFT4_js__WEBPACK_IMPORTED_MODULE_0__.useCollectionStoreProps)( - store, - update, - props - ); - (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_1__.useStoreProps)( - store, - props, - 'activeId', - 'setActiveId' - ); - (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_1__.useStoreProps)( - store, - props, - 'includesBaseElement' - ); - (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_1__.useStoreProps)( - store, - props, - 'virtualFocus' - ); - (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_1__.useStoreProps)( - store, - props, - 'orientation' - ); - (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_1__.useStoreProps)( - store, - props, - 'rtl' - ); - (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_1__.useStoreProps)( - store, - props, - 'focusLoop' - ); - (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_1__.useStoreProps)( - store, - props, - 'focusWrap' - ); - (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_1__.useStoreProps)( - store, - props, - 'focusShift' - ); - return store; - } - function useCompositeStore(props = {}) { - props = useCompositeStoreOptions(props); - const [store, update] = (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_1__.useStore)( - _ariakit_core_composite_composite_store__WEBPACK_IMPORTED_MODULE_4__.createCompositeStore, - props - ); - return useCompositeStoreProps(store, update, props); - } + var TagName = 'hr'; + var useCompositeSeparator = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.createHook)( + function useCompositeSeparator2({ store, ...props }) { + const context = (0, + _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_1__.useCompositeContext)(); + store = store || context; + (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_3__.invariant)( + store, + true && + 'CompositeSeparator must be wrapped in a Composite component.' + ); + const orientation = store.useState((state) => + state.orientation === 'horizontal' + ? 'vertical' + : 'horizontal' + ); + props = (0, + _NNCMNDHI_js__WEBPACK_IMPORTED_MODULE_0__.useSeparator)( + { ...props, orientation } + ); + return props; + } + ); + var CompositeSeparator = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.forwardRef)( + function CompositeSeparator2(props) { + const htmlProps = useCompositeSeparator(props); + return (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.createElement)( + TagName, + htmlProps + ); + } + ); /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/BE2VUBZ4.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/E7PWFDGB.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/BE2VUBZ4.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/E7PWFDGB.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -10870,444 +11453,624 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ useRadioStore: function () { - return /* binding */ useRadioStore; + /* harmony export */ Composite: function () { + return /* binding */ Composite; }, - /* harmony export */ useRadioStoreProps: function () { - return /* binding */ useRadioStoreProps; + /* harmony export */ useComposite: function () { + return /* binding */ useComposite; }, /* harmony export */ } ); - /* harmony import */ var _B7UTNDHN_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./B7UTNDHN.js */ './node_modules/@ariakit/react-core/esm/__chunks/B7UTNDHN.js' + /*! ./5VQZOHHZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/5VQZOHHZ.js' ); - /* harmony import */ var _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./RTNCFSKZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/RTNCFSKZ.js' + /*! ./72IB6YNO.js */ './node_modules/@ariakit/react-core/esm/__chunks/72IB6YNO.js' ); - /* harmony import */ var _ariakit_core_radio_radio_store__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _US3TW2XI_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! @ariakit/core/radio/radio-store */ './node_modules/@ariakit/core/esm/radio/radio-store.js' + /*! ./US3TW2XI.js */ './node_modules/@ariakit/react-core/esm/__chunks/US3TW2XI.js' ); - ('use client'); - - // src/radio/radio-store.ts - - function useRadioStoreProps(store, update, props) { - store = (0, - _B7UTNDHN_js__WEBPACK_IMPORTED_MODULE_0__.useCompositeStoreProps)( - store, - update, - props + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__ = + __webpack_require__( + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_1__.useStoreProps)( - store, - props, - 'value', - 'setValue' + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__ = + __webpack_require__( + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - return store; - } - function useRadioStore(props = {}) { - const [store, update] = (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_1__.useStore)( - _ariakit_core_radio_radio_store__WEBPACK_IMPORTED_MODULE_2__.createRadioStore, - props + /* harmony import */ var _ariakit_core_utils_array__WEBPACK_IMPORTED_MODULE_5__ = + __webpack_require__( + /*! @ariakit/core/utils/array */ './node_modules/@ariakit/core/esm/__chunks/7PRQYBBV.js' ); - return useRadioStoreProps(store, update, props); - } - - /***/ - }, - - /***/ './node_modules/@ariakit/react-core/esm/__chunks/BGBYET7R.js': - /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/BGBYET7R.js ***! - \*******************************************************************/ - /***/ function ( - __unused_webpack___webpack_module__, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ RadioContextProvider: function () { - return /* binding */ RadioContextProvider; - }, - /* harmony export */ RadioScopedContextProvider: - function () { - return /* binding */ RadioScopedContextProvider; - }, - /* harmony export */ useRadioContext: function () { - return /* binding */ useRadioContext; - }, - /* harmony export */ useRadioProviderContext: - function () { - return /* binding */ useRadioProviderContext; - }, - /* harmony export */ useRadioScopedContext: - function () { - return /* binding */ useRadioScopedContext; - }, - /* harmony export */ - } - ); - /* harmony import */ var _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_6__ = + __webpack_require__( + /*! @ariakit/core/utils/dom */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' + ); + /* harmony import */ var _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__ = + __webpack_require__( + /*! @ariakit/core/utils/events */ './node_modules/@ariakit/core/esm/utils/events.js' + ); + /* harmony import */ var _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_8__ = + __webpack_require__( + /*! @ariakit/core/utils/focus */ './node_modules/@ariakit/core/esm/utils/focus.js' + ); + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_9__ = + __webpack_require__( + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' + ); + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__( - /*! ./APTFW6PT.js */ './node_modules/@ariakit/react-core/esm/__chunks/APTFW6PT.js' + /*! react */ './node_modules/react/index.js' ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' ); ('use client'); - // src/radio/radio-context.tsx - var ctx = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createStoreContext)( - [ - _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_0__.CompositeContextProvider, - ], - [ - _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_0__.CompositeScopedContextProvider, - ] - ); - var useRadioContext = ctx.useContext; - var useRadioScopedContext = ctx.useScopedContext; - var useRadioProviderContext = ctx.useProviderContext; - var RadioContextProvider = ctx.ContextProvider; - var RadioScopedContextProvider = ctx.ScopedContextProvider; - - /***/ - }, - - /***/ './node_modules/@ariakit/react-core/esm/__chunks/BSJHR6LI.js': - /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/BSJHR6LI.js ***! - \*******************************************************************/ - /***/ function ( - __unused_webpack___webpack_module__, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ MenuItem: function () { - return /* binding */ MenuItem; - }, - /* harmony export */ useMenuItem: function () { - return /* binding */ useMenuItem; - }, - /* harmony export */ - } - ); - /* harmony import */ var _4QTMCR75_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./4QTMCR75.js */ './node_modules/@ariakit/react-core/esm/__chunks/4QTMCR75.js' - ); - /* harmony import */ var _JUCYQ5OS_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ./JUCYQ5OS.js */ './node_modules/@ariakit/react-core/esm/__chunks/JUCYQ5OS.js' - ); - /* harmony import */ var _IABE5EV2_js__WEBPACK_IMPORTED_MODULE_2__ = - __webpack_require__( - /*! ./IABE5EV2.js */ './node_modules/@ariakit/react-core/esm/__chunks/IABE5EV2.js' - ); - /* harmony import */ var _SBSPVDDI_js__WEBPACK_IMPORTED_MODULE_3__ = - __webpack_require__( - /*! ./SBSPVDDI.js */ './node_modules/@ariakit/react-core/esm/__chunks/SBSPVDDI.js' - ); - /* harmony import */ var _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_4__ = - __webpack_require__( - /*! ./RTNCFSKZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/RTNCFSKZ.js' - ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_5__ = - __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' - ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_6__ = - __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' - ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__ = - __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' - ); - /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_8__ = - __webpack_require__( - /*! @ariakit/core/utils/dom */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' - ); - /* harmony import */ var _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_9__ = - __webpack_require__( - /*! @ariakit/core/utils/events */ './node_modules/@ariakit/core/esm/utils/events.js' - ); - /* harmony import */ var _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_10__ = - __webpack_require__( - /*! @ariakit/core/utils/focus */ './node_modules/@ariakit/core/esm/utils/focus.js' - ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_11__ = - __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' - ); - ('use client'); - - // src/menu/menu-item.tsx + // src/composite/composite.tsx var TagName = 'div'; - function menuHasFocus(baseElement, items, currentTarget) { - var _a; - if (!baseElement) return false; + function isGrid(items) { + return items.some((item) => !!item.rowId); + } + function isPrintableKey(event) { + const target = event.target; if ( - (0, - _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_10__.hasFocusWithin)( - baseElement + target && + !(0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_6__.isTextField)( + target ) ) - return true; - const expandedItem = - items == null - ? void 0 - : items.find((item) => { - var _a2; - if (item.element === currentTarget) - return false; - return ( - ((_a2 = item.element) == null - ? void 0 - : _a2.getAttribute( - 'aria-expanded' - )) === 'true' - ); - }); - const expandedMenuId = - (_a = - expandedItem == null + return false; + return ( + event.key.length === 1 && + !event.ctrlKey && + !event.metaKey + ); + } + function isModifierKey(event) { + return ( + event.key === 'Shift' || + event.key === 'Control' || + event.key === 'Alt' || + event.key === 'Meta' + ); + } + function useKeyboardEventProxy( + store, + onKeyboardEvent, + previousElementRef + ) { + return (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useEvent)( + (event) => { + var _a; + onKeyboardEvent == null ? void 0 - : expandedItem.element) == null - ? void 0 - : _a.getAttribute('aria-controls'); - if (!expandedMenuId) return false; - const doc = (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_8__.getDocument)( - baseElement + : onKeyboardEvent(event); + if (event.defaultPrevented) return; + if (event.isPropagationStopped()) return; + if ( + !(0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__.isSelfTarget)( + event + ) + ) + return; + if (isModifierKey(event)) return; + if (isPrintableKey(event)) return; + const state = store.getState(); + const activeElement = + (_a = (0, + _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.getEnabledItem)( + store, + state.activeId + )) == null + ? void 0 + : _a.element; + if (!activeElement) return; + const { view, ...eventInit } = event; + const previousElement = + previousElementRef == null + ? void 0 + : previousElementRef.current; + if (activeElement !== previousElement) { + activeElement.focus(); + } + if ( + !(0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__.fireKeyboardEvent)( + activeElement, + event.type, + eventInit + ) + ) { + event.preventDefault(); + } + if (event.currentTarget.contains(activeElement)) { + event.stopPropagation(); + } + } ); - const expandedMenu = doc.getElementById(expandedMenuId); - if (!expandedMenu) return false; - if ( + } + function findFirstEnabledItemInTheLastRow(items) { + return (0, + _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.findFirstEnabledItem)( (0, - _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_10__.hasFocusWithin)( - expandedMenu + _ariakit_core_utils_array__WEBPACK_IMPORTED_MODULE_5__.flatten2DArray)( + (0, + _ariakit_core_utils_array__WEBPACK_IMPORTED_MODULE_5__.reverseArray)( + (0, + _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.groupItemsByRows)( + items + ) + ) ) - ) - return true; - return !!expandedMenu.querySelector( - '[role=menuitem][aria-expanded=true]' ); } - var useMenuItem = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_5__.createHook)( - function useMenuItem2(_a) { - var _b = _a, - { - store, - hideOnClick = true, - preventScrollOnKeyDown = true, - focusOnHover, - blurOnHoverEnd, - } = _b, - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__objRest)( - _b, - [ - 'store', - 'hideOnClick', - 'preventScrollOnKeyDown', - 'focusOnHover', - 'blurOnHoverEnd', - ] - ); - const menuContext = (0, - _4QTMCR75_js__WEBPACK_IMPORTED_MODULE_0__.useMenuScopedContext)( - true - ); - const menubarContext = (0, - _JUCYQ5OS_js__WEBPACK_IMPORTED_MODULE_1__.useMenubarScopedContext)(); - store = store || menuContext || menubarContext; + function useScheduleFocus(store) { + const [scheduled, setScheduled] = (0, + react__WEBPACK_IMPORTED_MODULE_10__.useState)(false); + const schedule = (0, + react__WEBPACK_IMPORTED_MODULE_10__.useCallback)( + () => setScheduled(true), + [] + ); + const activeItem = store.useState((state) => + (0, + _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.getEnabledItem)( + store, + state.activeId + ) + ); + (0, react__WEBPACK_IMPORTED_MODULE_10__.useEffect)(() => { + const activeElement = + activeItem == null ? void 0 : activeItem.element; + if (!scheduled) return; + if (!activeElement) return; + setScheduled(false); + activeElement.focus({ preventScroll: true }); + }, [activeItem, scheduled]); + return schedule; + } + var useComposite = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__.createHook)( + function useComposite2({ + store, + composite = true, + focusOnMove = composite, + moveOnKeyPress = true, + ...props + }) { + const context = (0, + _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_1__.useCompositeProviderContext)(); + store = store || context; (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_11__.invariant)( + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_9__.invariant)( store, true && - 'MenuItem must be wrapped in a MenuList, Menu or Menubar component' + 'Composite must receive a `store` prop or be wrapped in a CompositeProvider component.' ); - const onClickProp = props.onClick; - const hideOnClickProp = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_6__.useBooleanEvent)( - hideOnClick + const ref = (0, + react__WEBPACK_IMPORTED_MODULE_10__.useRef)(null); + const previousElementRef = (0, + react__WEBPACK_IMPORTED_MODULE_10__.useRef)(null); + const scheduleFocus = useScheduleFocus(store); + const moves = store.useState('moves'); + const [, setBaseElement] = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useTransactionState)( + composite ? store.setBaseElement : null ); - const hideMenu = - 'hideAll' in store ? store.hideAll : void 0; - const isWithinMenu = !!hideMenu; - const onClick = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_6__.useEvent)( + (0, + react__WEBPACK_IMPORTED_MODULE_10__.useEffect)(() => { + var _a; + if (!store) return; + if (!moves) return; + if (!composite) return; + if (!focusOnMove) return; + const { activeId: activeId2 } = store.getState(); + const itemElement = + (_a = (0, + _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.getEnabledItem)( + store, + activeId2 + )) == null + ? void 0 + : _a.element; + if (!itemElement) return; + (0, + _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_8__.focusIntoView)( + itemElement + ); + }, [store, moves, composite, focusOnMove]); + (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useSafeLayoutEffect)(() => { + if (!store) return; + if (!moves) return; + if (!composite) return; + const { baseElement, activeId: activeId2 } = + store.getState(); + const isSelfAcive = activeId2 === null; + if (!isSelfAcive) return; + if (!baseElement) return; + const previousElement = previousElementRef.current; + previousElementRef.current = null; + if (previousElement) { + (0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__.fireBlurEvent)( + previousElement, + { relatedTarget: baseElement } + ); + } + if ( + !(0, + _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_8__.hasFocus)( + baseElement + ) + ) { + baseElement.focus(); + } + }, [store, moves, composite]); + const activeId = store.useState('activeId'); + const virtualFocus = store.useState('virtualFocus'); + (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useSafeLayoutEffect)(() => { + var _a; + if (!store) return; + if (!composite) return; + if (!virtualFocus) return; + const previousElement = previousElementRef.current; + previousElementRef.current = null; + if (!previousElement) return; + const activeElement = + (_a = (0, + _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.getEnabledItem)( + store, + activeId + )) == null + ? void 0 + : _a.element; + const relatedTarget = + activeElement || + (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_6__.getActiveElement)( + previousElement + ); + if (relatedTarget === previousElement) return; + (0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__.fireBlurEvent)( + previousElement, + { relatedTarget } + ); + }, [store, activeId, virtualFocus, composite]); + const onKeyDownCapture = useKeyboardEventProxy( + store, + props.onKeyDownCapture, + previousElementRef + ); + const onKeyUpCapture = useKeyboardEventProxy( + store, + props.onKeyUpCapture, + previousElementRef + ); + const onFocusCaptureProp = props.onFocusCapture; + const onFocusCapture = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useEvent)( (event) => { - onClickProp == null + onFocusCaptureProp == null ? void 0 - : onClickProp(event); + : onFocusCaptureProp(event); + if (event.defaultPrevented) return; + if (!store) return; + const { virtualFocus: virtualFocus2 } = + store.getState(); + if (!virtualFocus2) return; + const previousActiveElement = + event.relatedTarget; + const isSilentlyFocused = (0, + _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.silentlyFocused)( + event.currentTarget + ); + if ( + (0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__.isSelfTarget)( + event + ) && + isSilentlyFocused + ) { + event.stopPropagation(); + previousElementRef.current = + previousActiveElement; + } + } + ); + const onFocusProp = props.onFocus; + const onFocus = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useEvent)( + (event) => { + onFocusProp == null + ? void 0 + : onFocusProp(event); + if (event.defaultPrevented) return; + if (!composite) return; + if (!store) return; + const { relatedTarget } = event; + const { virtualFocus: virtualFocus2 } = + store.getState(); + if (virtualFocus2) { + if ( + (0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__.isSelfTarget)( + event + ) && + !(0, + _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.isItem)( + store, + relatedTarget + ) + ) { + queueMicrotask(scheduleFocus); + } + } else if ( + (0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__.isSelfTarget)( + event + ) + ) { + store.setActiveId(null); + } + } + ); + const onBlurCaptureProp = props.onBlurCapture; + const onBlurCapture = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useEvent)( + (event) => { + var _a; + onBlurCaptureProp == null + ? void 0 + : onBlurCaptureProp(event); if (event.defaultPrevented) return; + if (!store) return; + const { + virtualFocus: virtualFocus2, + activeId: activeId2, + } = store.getState(); + if (!virtualFocus2) return; + const activeElement = + (_a = (0, + _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.getEnabledItem)( + store, + activeId2 + )) == null + ? void 0 + : _a.element; + const nextActiveElement = event.relatedTarget; + const nextActiveElementIsItem = (0, + _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.isItem)( + store, + nextActiveElement + ); + const previousElement = + previousElementRef.current; + previousElementRef.current = null; if ( (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_9__.isDownloading)( + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__.isSelfTarget)( + event + ) && + nextActiveElementIsItem + ) { + if (nextActiveElement === activeElement) { + if ( + previousElement && + previousElement !== + nextActiveElement + ) { + (0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__.fireBlurEvent)( + previousElement, + event + ); + } + } else if (activeElement) { + (0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__.fireBlurEvent)( + activeElement, + event + ); + } else if (previousElement) { + (0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__.fireBlurEvent)( + previousElement, + event + ); + } + event.stopPropagation(); + } else { + const targetIsItem = (0, + _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.isItem)( + store, + event.target + ); + if (!targetIsItem && activeElement) { + (0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__.fireBlurEvent)( + activeElement, + event + ); + } + } + } + ); + const onKeyDownProp = props.onKeyDown; + const moveOnKeyPressProp = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useBooleanEvent)( + moveOnKeyPress + ); + const onKeyDown = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useEvent)( + (event) => { + var _a; + onKeyDownProp == null + ? void 0 + : onKeyDownProp(event); + if (event.nativeEvent.isComposing) return; + if (event.defaultPrevented) return; + if (!store) return; + if ( + !(0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__.isSelfTarget)( event ) ) return; + const { + orientation, + renderedItems, + activeId: activeId2, + } = store.getState(); + const activeItem = (0, + _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.getEnabledItem)( + store, + activeId2 + ); + if ( + (_a = + activeItem == null + ? void 0 + : activeItem.element) == null + ? void 0 + : _a.isConnected + ) + return; + const isVertical = orientation !== 'horizontal'; + const isHorizontal = orientation !== 'vertical'; + const grid = isGrid(renderedItems); + const isHorizontalKey = + event.key === 'ArrowLeft' || + event.key === 'ArrowRight' || + event.key === 'Home' || + event.key === 'End'; if ( + isHorizontalKey && (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_9__.isOpeningInNewTab)( - event + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_6__.isTextField)( + event.currentTarget ) ) return; - if (!hideMenu) return; - const popupType = - event.currentTarget.getAttribute( - 'aria-haspopup' - ); - if (popupType === 'menu') return; - if (!hideOnClickProp(event)) return; - hideMenu(); + const up = () => { + if (grid) { + const item = + findFirstEnabledItemInTheLastRow( + renderedItems + ); + return item == null ? void 0 : item.id; + } + return store == null + ? void 0 + : store.last(); + }; + const keyMap = { + ArrowUp: (grid || isVertical) && up, + ArrowRight: + (grid || isHorizontal) && store.first, + ArrowDown: + (grid || isVertical) && store.first, + ArrowLeft: + (grid || isHorizontal) && store.last, + Home: store.first, + End: store.last, + PageUp: store.first, + PageDown: store.last, + }; + const action = keyMap[event.key]; + if (action) { + const id = action(); + if (id !== void 0) { + if (!moveOnKeyPressProp(event)) return; + event.preventDefault(); + store.move(id); + } + } } ); - const contentElement = (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_4__.useStoreState)( - store, - (state) => - 'contentElement' in state - ? state.contentElement - : null - ); - const role = (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_8__.getPopupItemRole)( - contentElement, - 'menuitem' - ); props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__spreadValues)( - { - role, - }, - props - ), - { - onClick, - } + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useWrapElement)( + props, + (element) => + /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)( + _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_1__.CompositeContextProvider, + { value: store, children: element } + ), + [store] ); - props = (0, - _SBSPVDDI_js__WEBPACK_IMPORTED_MODULE_3__.useCompositeItem)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__spreadValues)( - { - store, - preventScrollOnKeyDown, - }, - props - ) + const activeDescendant = store.useState((state) => { + var _a; + if (!store) return; + if (!composite) return; + if (!state.virtualFocus) return; + return (_a = (0, + _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.getEnabledItem)( + store, + state.activeId + )) == null + ? void 0 + : _a.id; + }); + props = { + 'aria-activedescendant': activeDescendant, + ...props, + ref: (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useMergeRefs)( + ref, + setBaseElement, + props.ref + ), + onKeyDownCapture, + onKeyUpCapture, + onFocusCapture, + onFocus, + onBlurCapture, + onKeyDown, + }; + const focusable = store.useState( + (state) => + composite && + (state.virtualFocus || state.activeId === null) ); props = (0, - _IABE5EV2_js__WEBPACK_IMPORTED_MODULE_2__.useCompositeHover)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__spreadValues)( - { - store, - }, - props - ), - { - focusOnHover(event) { - const getFocusOnHover = () => { - if ( - typeof focusOnHover === - 'function' - ) - return focusOnHover(event); - if (focusOnHover != null) - return focusOnHover; - return true; - }; - if (!store) return false; - if (!getFocusOnHover()) return false; - const { baseElement, items } = - store.getState(); - if (isWithinMenu) { - if ( - event.currentTarget.hasAttribute( - 'aria-expanded' - ) - ) { - event.currentTarget.focus(); - } - return true; - } - if ( - menuHasFocus( - baseElement, - items, - event.currentTarget - ) - ) { - event.currentTarget.focus(); - return true; - } - return false; - }, - blurOnHoverEnd(event) { - if ( - typeof blurOnHoverEnd === 'function' - ) - return blurOnHoverEnd(event); - if (blurOnHoverEnd != null) - return blurOnHoverEnd; - return isWithinMenu; - }, - } - ) + _US3TW2XI_js__WEBPACK_IMPORTED_MODULE_2__.useFocusable)( + { focusable, ...props } ); return props; } ); - var MenuItem = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_5__.memo)( - (0, _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_5__.forwardRef)( - function MenuItem2(props) { - const htmlProps = useMenuItem(props); - return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_5__.createElement)( - TagName, - htmlProps - ); - } - ) + var Composite = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__.forwardRef)( + function Composite2(props) { + const htmlProps = useComposite(props); + return (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__.createElement)( + TagName, + htmlProps + ); + } ); /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/BV5PFOXH.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/EYFT2Y3I.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/BV5PFOXH.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/EYFT2Y3I.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -11319,128 +12082,115 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ useMenuStore: function () { - return /* binding */ useMenuStore; + /* harmony export */ CompositeRow: function () { + return /* binding */ CompositeRow; }, - /* harmony export */ useMenuStoreProps: function () { - return /* binding */ useMenuStoreProps; + /* harmony export */ useCompositeRow: function () { + return /* binding */ useCompositeRow; }, /* harmony export */ } ); - /* harmony import */ var _4QTMCR75_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./4QTMCR75.js */ './node_modules/@ariakit/react-core/esm/__chunks/4QTMCR75.js' + /*! ./72IB6YNO.js */ './node_modules/@ariakit/react-core/esm/__chunks/72IB6YNO.js' ); - /* harmony import */ var _JUCYQ5OS_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./JUCYQ5OS.js */ './node_modules/@ariakit/react-core/esm/__chunks/JUCYQ5OS.js' + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var _GVVKDT6A_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ./GVVKDT6A.js */ './node_modules/@ariakit/react-core/esm/__chunks/GVVKDT6A.js' + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var _B7UTNDHN_js__WEBPACK_IMPORTED_MODULE_3__ = - __webpack_require__( - /*! ./B7UTNDHN.js */ './node_modules/@ariakit/react-core/esm/__chunks/B7UTNDHN.js' - ); - /* harmony import */ var _OLVWQA7U_js__WEBPACK_IMPORTED_MODULE_4__ = - __webpack_require__( - /*! ./OLVWQA7U.js */ './node_modules/@ariakit/react-core/esm/__chunks/OLVWQA7U.js' - ); - /* harmony import */ var _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_5__ = - __webpack_require__( - /*! ./RTNCFSKZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/RTNCFSKZ.js' - ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_6__ = + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__ = + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' + /*! react */ './node_modules/react/index.js' ); - /* harmony import */ var _ariakit_core_menu_menu_store__WEBPACK_IMPORTED_MODULE_8__ = + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( - /*! @ariakit/core/menu/menu-store */ './node_modules/@ariakit/core/esm/menu/menu-store.js' + /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' ); ('use client'); - // src/menu/menu-store.ts + // src/composite/composite-row.tsx - function useMenuStoreProps(store, update, props) { - (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_6__.useUpdateEffect)( - update, - [props.combobox, props.parent, props.menubar] - ); - (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_5__.useStoreProps)( + var TagName = 'div'; + var useCompositeRow = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createHook)( + function useCompositeRow2({ store, - props, - 'values', - 'setValues' - ); - return Object.assign( - (0, - _GVVKDT6A_js__WEBPACK_IMPORTED_MODULE_2__.useHovercardStoreProps)( - (0, - _B7UTNDHN_js__WEBPACK_IMPORTED_MODULE_3__.useCompositeStoreProps)( - store, - update, - props - ), - update, - props - ), - { - combobox: props.combobox, - parent: props.parent, - menubar: props.menubar, - } - ); - } - function useMenuStore(props = {}) { - const parent = (0, - _4QTMCR75_js__WEBPACK_IMPORTED_MODULE_0__.useMenuContext)(); - const menubar = (0, - _JUCYQ5OS_js__WEBPACK_IMPORTED_MODULE_1__.useMenubarContext)(); - const combobox = (0, - _OLVWQA7U_js__WEBPACK_IMPORTED_MODULE_4__.useComboboxProviderContext)(); - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__spreadProps)( + 'aria-setsize': ariaSetSize, + 'aria-posinset': ariaPosInSet, + ...props + }) { + const context = (0, + _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_0__.useCompositeContext)(); + store = store || context; (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__spreadValues)( - {}, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_3__.invariant)( + store, + true && + 'CompositeRow must be wrapped in a Composite component.' + ); + const id = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__.useId)( + props.id + ); + const baseElement = store.useState( + (state) => state.baseElement || void 0 + ); + const providerValue = (0, + react__WEBPACK_IMPORTED_MODULE_4__.useMemo)( + () => ({ + id, + baseElement, + ariaSetSize, + ariaPosInSet, + }), + [id, baseElement, ariaSetSize, ariaPosInSet] + ); + props = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__.useWrapElement)( + props, + (element) => + /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)( + _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_0__ + .CompositeRowContext.Provider, + { value: providerValue, children: element } + ), + [providerValue] + ); + props = { id, ...props }; + return (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_3__.removeUndefinedValues)( props - ), - { - parent: - props.parent !== void 0 ? props.parent : parent, - menubar: - props.menubar !== void 0 - ? props.menubar - : menubar, - combobox: - props.combobox !== void 0 - ? props.combobox - : combobox, - } - ); - const [store, update] = (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_5__.useStore)( - _ariakit_core_menu_menu_store__WEBPACK_IMPORTED_MODULE_8__.createMenuStore, - props - ); - return useMenuStoreProps(store, update, props); - } + ); + } + ); + var CompositeRow = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.forwardRef)( + function CompositeRow2(props) { + const htmlProps = useCompositeRow(props); + return (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createElement)( + TagName, + htmlProps + ); + } + ); /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/BZZ52UJN.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/EYKMH5G5.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/BZZ52UJN.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/EYKMH5G5.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -11452,66 +12202,30 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ useTooltipStore: function () { - return /* binding */ useTooltipStore; - }, - /* harmony export */ useTooltipStoreProps: function () { - return /* binding */ useTooltipStoreProps; - }, + /* harmony export */ CheckboxCheckedContext: + function () { + return /* binding */ CheckboxCheckedContext; + }, /* harmony export */ } ); - /* harmony import */ var _GVVKDT6A_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./GVVKDT6A.js */ './node_modules/@ariakit/react-core/esm/__chunks/GVVKDT6A.js' - ); - /* harmony import */ var _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ./RTNCFSKZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/RTNCFSKZ.js' - ); - /* harmony import */ var _ariakit_core_tooltip_tooltip_store__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! @ariakit/core/tooltip/tooltip-store */ './node_modules/@ariakit/core/esm/tooltip/tooltip-store.js' + /*! react */ './node_modules/react/index.js' ); ('use client'); - // src/tooltip/tooltip-store.ts + // src/checkbox/checkbox-checked-context.tsx - function useTooltipStoreProps(store, update, props) { - (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_1__.useStoreProps)( - store, - props, - 'type' - ); - (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_1__.useStoreProps)( - store, - props, - 'skipTimeout' - ); - return (0, - _GVVKDT6A_js__WEBPACK_IMPORTED_MODULE_0__.useHovercardStoreProps)( - store, - update, - props - ); - } - function useTooltipStore(props = {}) { - const [store, update] = (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_1__.useStore)( - _ariakit_core_tooltip_tooltip_store__WEBPACK_IMPORTED_MODULE_2__.createTooltipStore, - props - ); - return useTooltipStoreProps(store, update, props); - } + var CheckboxCheckedContext = (0, + react__WEBPACK_IMPORTED_MODULE_0__.createContext)(false); /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/CZ4GFWYL.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/FFSBKSAM.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/CZ4GFWYL.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/FFSBKSAM.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -11523,29 +12237,49 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ HeadingContext: function () { - return /* binding */ HeadingContext; + /* harmony export */ DisclosureContextProvider: + function () { + return /* binding */ DisclosureContextProvider; + }, + /* harmony export */ DisclosureScopedContextProvider: + function () { + return /* binding */ DisclosureScopedContextProvider; + }, + /* harmony export */ useDisclosureContext: function () { + return /* binding */ useDisclosureContext; }, + /* harmony export */ useDisclosureProviderContext: + function () { + return /* binding */ useDisclosureProviderContext; + }, + /* harmony export */ useDisclosureScopedContext: + function () { + return /* binding */ useDisclosureScopedContext; + }, /* harmony export */ } ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! react */ './node_modules/react/index.js' + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); ('use client'); - // src/heading/heading-context.tsx - - var HeadingContext = (0, - react__WEBPACK_IMPORTED_MODULE_0__.createContext)(0); + // src/disclosure/disclosure-context.tsx + var ctx = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_0__.createStoreContext)(); + var useDisclosureContext = ctx.useContext; + var useDisclosureScopedContext = ctx.useScopedContext; + var useDisclosureProviderContext = ctx.useProviderContext; + var DisclosureContextProvider = ctx.ContextProvider; + var DisclosureScopedContextProvider = ctx.ScopedContextProvider; /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/D7FSM5GC.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/FIT2LC3L.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/D7FSM5GC.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/FIT2LC3L.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -11557,42 +12291,42 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ ComboboxItem: function () { - return /* binding */ ComboboxItem; + /* harmony export */ CompositeItem: function () { + return /* binding */ CompositeItem; }, - /* harmony export */ useComboboxItem: function () { - return /* binding */ useComboboxItem; + /* harmony export */ useCompositeItem: function () { + return /* binding */ useCompositeItem; }, /* harmony export */ } ); - /* harmony import */ var _IABE5EV2_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./IABE5EV2.js */ './node_modules/@ariakit/react-core/esm/__chunks/IABE5EV2.js' + /*! ./5VQZOHHZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/5VQZOHHZ.js' ); - /* harmony import */ var _SBSPVDDI_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _DTXGDDAC_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./SBSPVDDI.js */ './node_modules/@ariakit/react-core/esm/__chunks/SBSPVDDI.js' + /*! ./DTXGDDAC.js */ './node_modules/@ariakit/react-core/esm/__chunks/DTXGDDAC.js' ); - /* harmony import */ var _OLVWQA7U_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ./OLVWQA7U.js */ './node_modules/@ariakit/react-core/esm/__chunks/OLVWQA7U.js' + /*! ./72IB6YNO.js */ './node_modules/@ariakit/react-core/esm/__chunks/72IB6YNO.js' ); - /* harmony import */ var _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _WJ7PHYH7_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! ./RTNCFSKZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/RTNCFSKZ.js' + /*! ./WJ7PHYH7.js */ './node_modules/@ariakit/react-core/esm/__chunks/WJ7PHYH7.js' ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ./Q3KUZPD7.js */ './node_modules/@ariakit/react-core/esm/__chunks/Q3KUZPD7.js' ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_5__ = + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__ = + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__( @@ -11602,13 +12336,13 @@ If there's a particular need for this, please submit a feature request at https: __webpack_require__( /*! @ariakit/core/utils/events */ './node_modules/@ariakit/core/esm/utils/events.js' ); - /* harmony import */ var _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_9__ = + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__( - /*! @ariakit/core/utils/focus */ './node_modules/@ariakit/core/esm/utils/focus.js' + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_10__ = + /* harmony import */ var _ariakit_core_utils_platform__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! @ariakit/core/utils/platform */ './node_modules/@ariakit/core/esm/__chunks/O6E4ZWCP.js' ); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__( @@ -11620,357 +12354,569 @@ If there's a particular need for this, please submit a feature request at https: ); ('use client'); - // src/combobox/combobox-item.tsx + // src/composite/composite-item.tsx - var TagName = 'div'; - function isSelected(storeValue, itemValue) { - if (itemValue == null) return; - if (storeValue == null) return false; - if (Array.isArray(storeValue)) { - return storeValue.includes(itemValue); + var TagName = 'button'; + function isEditableElement(element) { + if ( + (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_7__.isTextbox)( + element + ) + ) + return true; + return ( + element.tagName === 'INPUT' && + !(0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_7__.isButton)( + element + ) + ); + } + function getNextPageOffset(scrollingElement, pageUp = false) { + const height = scrollingElement.clientHeight; + const { top } = scrollingElement.getBoundingClientRect(); + const pageSize = + Math.max(height * 0.875, height - 40) * 1.5; + const pageOffset = pageUp + ? height - pageSize + top + : pageSize + top; + if (scrollingElement.tagName === 'HTML') { + return pageOffset + scrollingElement.scrollTop; } - return storeValue === itemValue; + return pageOffset; } - function getItemRole(popupRole) { - var _a; - const itemRoleByPopupRole = { - menu: 'menuitem', - listbox: 'option', - tree: 'treeitem', - }; - const key = popupRole; - return (_a = itemRoleByPopupRole[key]) != null - ? _a - : 'option'; + function getItemOffset(itemElement, pageUp = false) { + const { top } = itemElement.getBoundingClientRect(); + if (pageUp) { + return top + itemElement.clientHeight; + } + return top; } - var useComboboxItem = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_4__.createHook)( - function useComboboxItem2(_a) { - var _b = _a, - { + function findNextPageItemId( + element, + store, + next, + pageUp = false + ) { + var _a; + if (!store) return; + if (!next) return; + const { renderedItems } = store.getState(); + const scrollingElement = (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_7__.getScrollingElement)( + element + ); + if (!scrollingElement) return; + const nextPageOffset = getNextPageOffset( + scrollingElement, + pageUp + ); + let id; + let prevDifference; + for (let i = 0; i < renderedItems.length; i += 1) { + const previousId = id; + id = next(i); + if (!id) break; + if (id === previousId) continue; + const itemElement = + (_a = (0, + _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.getEnabledItem)( store, - value, - hideOnClick, - setValueOnClick, - selectValueOnClick = true, - resetValueOnSelect, - focusOnHover = false, - moveOnKeyPress = true, - getItem: getItemProp, - } = _b, - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__.__objRest)( - _b, - [ - 'store', - 'value', - 'hideOnClick', - 'setValueOnClick', - 'selectValueOnClick', - 'resetValueOnSelect', - 'focusOnHover', - 'moveOnKeyPress', - 'getItem', - ] - ); - var _a2; + id + )) == null + ? void 0 + : _a.element; + if (!itemElement) continue; + const itemOffset = getItemOffset(itemElement, pageUp); + const difference = itemOffset - nextPageOffset; + const absDifference = Math.abs(difference); + if ( + (pageUp && difference <= 0) || + (!pageUp && difference >= 0) + ) { + if ( + prevDifference !== void 0 && + prevDifference < absDifference + ) { + id = previousId; + } + break; + } + prevDifference = absDifference; + } + return id; + } + function targetIsAnotherItem(event, store) { + if ( + (0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_8__.isSelfTarget)( + event + ) + ) + return false; + return (0, + _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.isItem)( + store, + event.target + ); + } + var useCompositeItem = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_5__.createHook)( + function useCompositeItem2({ + store, + rowId: rowIdProp, + preventScrollOnKeyDown = false, + moveOnKeyPress = true, + tabbable = false, + getItem: getItemProp, + 'aria-setsize': ariaSetSizeProp, + 'aria-posinset': ariaPosInSetProp, + ...props + }) { const context = (0, - _OLVWQA7U_js__WEBPACK_IMPORTED_MODULE_2__.useComboboxScopedContext)(); + _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_2__.useCompositeContext)(); store = store || context; - (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_10__.invariant)( - store, - true && - 'ComboboxItem must be wrapped in a ComboboxList or ComboboxPopover component.' + const id = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_6__.useId)( + props.id + ); + const ref = (0, + react__WEBPACK_IMPORTED_MODULE_11__.useRef)(null); + const row = (0, + react__WEBPACK_IMPORTED_MODULE_11__.useContext)( + _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_2__.CompositeRowContext + ); + const disabled = (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_9__.disabledFromProps)( + props ); + const trulyDisabled = + disabled && !props.accessibleWhenDisabled; const { - resetValueOnSelectState, - multiSelectable, - selected, + rowId, + baseElement, + isActiveItem, + ariaSetSize, + ariaPosInSet, + isTabbable, } = (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_3__.useStoreStateObject)( + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_4__.useStoreStateObject)( store, { - resetValueOnSelectState: 'resetValueOnSelect', - multiSelectable(state) { - return Array.isArray(state.selectedValue); + rowId(state) { + if (rowIdProp) return rowIdProp; + if (!state) return; + if ( + !(row == null + ? void 0 + : row.baseElement) + ) + return; + if (row.baseElement !== state.baseElement) + return; + return row.id; }, - selected(state) { - return isSelected( - state.selectedValue, - value + baseElement(state) { + return ( + (state == null + ? void 0 + : state.baseElement) || void 0 ); }, - } - ); - const getItem = (0, - react__WEBPACK_IMPORTED_MODULE_11__.useCallback)( + isActiveItem(state) { + return !!state && state.activeId === id; + }, + ariaSetSize(state) { + if (ariaSetSizeProp != null) + return ariaSetSizeProp; + if (!state) return; + if ( + !(row == null + ? void 0 + : row.ariaSetSize) + ) + return; + if (row.baseElement !== state.baseElement) + return; + return row.ariaSetSize; + }, + ariaPosInSet(state) { + if (ariaPosInSetProp != null) + return ariaPosInSetProp; + if (!state) return; + if ( + !(row == null + ? void 0 + : row.ariaPosInSet) + ) + return; + if (row.baseElement !== state.baseElement) + return; + const itemsInRow = + state.renderedItems.filter( + (item) => item.rowId === rowId + ); + return ( + row.ariaPosInSet + + itemsInRow.findIndex( + (item) => item.id === id + ) + ); + }, + isTabbable(state) { + if ( + !(state == null + ? void 0 + : state.renderedItems.length) + ) + return true; + if (state.virtualFocus) return false; + if (tabbable) return true; + if (state.activeId === null) return false; + const item = + store == null + ? void 0 + : store.item(state.activeId); + if (item == null ? void 0 : item.disabled) + return true; + if (!(item == null ? void 0 : item.element)) + return true; + return state.activeId === id; + }, + } + ); + const getItem = (0, + react__WEBPACK_IMPORTED_MODULE_11__.useCallback)( (item) => { - const nextItem = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__.__spreadValues)( - {}, - item - ), - { value } - ); + var _a; + const nextItem = { + ...item, + id: id || item.id, + rowId, + disabled: !!trulyDisabled, + children: + (_a = item.element) == null + ? void 0 + : _a.textContent, + }; if (getItemProp) { return getItemProp(nextItem); } return nextItem; }, - [value, getItemProp] - ); - setValueOnClick = - setValueOnClick != null - ? setValueOnClick - : !multiSelectable; - hideOnClick = - hideOnClick != null - ? hideOnClick - : value != null && !multiSelectable; - const onClickProp = props.onClick; - const setValueOnClickProp = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_5__.useBooleanEvent)( - setValueOnClick - ); - const selectValueOnClickProp = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_5__.useBooleanEvent)( - selectValueOnClick - ); - const resetValueOnSelectProp = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_5__.useBooleanEvent)( - (_a2 = - resetValueOnSelect != null - ? resetValueOnSelect - : resetValueOnSelectState) != null - ? _a2 - : multiSelectable - ); - const hideOnClickProp = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_5__.useBooleanEvent)( - hideOnClick + [id, rowId, trulyDisabled, getItemProp] ); - const onClick = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_5__.useEvent)( + const onFocusProp = props.onFocus; + const hasFocusedComposite = (0, + react__WEBPACK_IMPORTED_MODULE_11__.useRef)(false); + const onFocus = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_6__.useEvent)( (event) => { - onClickProp == null + onFocusProp == null ? void 0 - : onClickProp(event); + : onFocusProp(event); if (event.defaultPrevented) return; if ( (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_8__.isDownloading)( + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_8__.isPortalEvent)( event ) ) return; + if (!id) return; + if (!store) return; + if (targetIsAnotherItem(event, store)) return; + const { + virtualFocus, + baseElement: baseElement2, + } = store.getState(); + store.setActiveId(id); if ( (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_8__.isOpeningInNewTab)( + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_7__.isTextbox)( + event.currentTarget + ) + ) { + (0, + _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.selectTextField)( + event.currentTarget + ); + } + if (!virtualFocus) return; + if ( + !(0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_8__.isSelfTarget)( event ) ) return; - if (value != null) { - if (selectValueOnClickProp(event)) { - if (resetValueOnSelectProp(event)) { - store == null - ? void 0 - : store.resetValue(); - } - store == null - ? void 0 - : store.setSelectedValue( - (prevValue) => { - if ( - !Array.isArray( - prevValue - ) - ) - return value; - if ( - prevValue.includes( - value - ) - ) { - return prevValue.filter( - (v) => - v !== value - ); - } - return [ - ...prevValue, - value, - ]; - } - ); - } - if (setValueOnClickProp(event)) { - store == null - ? void 0 - : store.setValue(value); - } + if (isEditableElement(event.currentTarget)) + return; + if ( + !(baseElement2 == null + ? void 0 + : baseElement2.isConnected) + ) + return; + if ( + (0, + _ariakit_core_utils_platform__WEBPACK_IMPORTED_MODULE_10__.isSafari)() && + event.currentTarget.hasAttribute( + 'data-autofocus' + ) + ) { + event.currentTarget.scrollIntoView({ + block: 'nearest', + inline: 'nearest', + }); } - if (hideOnClickProp(event)) { - store == null ? void 0 : store.hide(); + hasFocusedComposite.current = true; + const fromComposite = + event.relatedTarget === baseElement2 || + (0, + _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.isItem)( + store, + event.relatedTarget + ); + if (fromComposite) { + (0, + _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.focusSilently)( + baseElement2 + ); + } else { + baseElement2.focus(); + } + } + ); + const onBlurCaptureProp = props.onBlurCapture; + const onBlurCapture = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_6__.useEvent)( + (event) => { + onBlurCaptureProp == null + ? void 0 + : onBlurCaptureProp(event); + if (event.defaultPrevented) return; + const state = + store == null ? void 0 : store.getState(); + if ( + (state == null + ? void 0 + : state.virtualFocus) && + hasFocusedComposite.current + ) { + hasFocusedComposite.current = false; + event.preventDefault(); + event.stopPropagation(); } } ); const onKeyDownProp = props.onKeyDown; + const preventScrollOnKeyDownProp = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_6__.useBooleanEvent)( + preventScrollOnKeyDown + ); + const moveOnKeyPressProp = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_6__.useBooleanEvent)( + moveOnKeyPress + ); const onKeyDown = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_5__.useEvent)( + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_6__.useEvent)( (event) => { onKeyDownProp == null ? void 0 : onKeyDownProp(event); if (event.defaultPrevented) return; - const baseElement = - store == null - ? void 0 - : store.getState().baseElement; - if (!baseElement) return; if ( - (0, - _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_9__.hasFocus)( - baseElement + !(0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_8__.isSelfTarget)( + event ) ) return; - const printable = event.key.length === 1; - if ( - printable || - event.key === 'Backspace' || - event.key === 'Delete' - ) { - queueMicrotask(() => baseElement.focus()); + if (!store) return; + const { currentTarget } = event; + const state = store.getState(); + const item = store.item(id); + const isGrid = !!(item == null + ? void 0 + : item.rowId); + const isVertical = + state.orientation !== 'horizontal'; + const isHorizontal = + state.orientation !== 'vertical'; + const canHomeEnd = () => { + if (isGrid) return true; + if (isHorizontal) return true; + if (!state.baseElement) return true; if ( - (0, + !(0, _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_7__.isTextField)( - baseElement + state.baseElement ) - ) { - store == null + ) + return true; + return false; + }; + const keyMap = { + ArrowUp: (isGrid || isVertical) && store.up, + ArrowRight: + (isGrid || isHorizontal) && store.next, + ArrowDown: + (isGrid || isVertical) && store.down, + ArrowLeft: + (isGrid || isHorizontal) && + store.previous, + Home: () => { + if (!canHomeEnd()) return; + if (!isGrid || event.ctrlKey) { + return store == null + ? void 0 + : store.first(); + } + return store == null ? void 0 - : store.setValue(baseElement.value); + : store.previous(-1); + }, + End: () => { + if (!canHomeEnd()) return; + if (!isGrid || event.ctrlKey) { + return store == null + ? void 0 + : store.last(); + } + return store == null + ? void 0 + : store.next(-1); + }, + PageUp: () => { + return findNextPageItemId( + currentTarget, + store, + store == null ? void 0 : store.up, + true + ); + }, + PageDown: () => { + return findNextPageItemId( + currentTarget, + store, + store == null ? void 0 : store.down + ); + }, + }; + const action = keyMap[event.key]; + if (action) { + if ( + (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_7__.isTextbox)( + currentTarget + ) + ) { + const selection = (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_7__.getTextboxSelection)( + currentTarget + ); + const isLeft = + isHorizontal && + event.key === 'ArrowLeft'; + const isRight = + isHorizontal && + event.key === 'ArrowRight'; + const isUp = + isVertical && + event.key === 'ArrowUp'; + const isDown = + isVertical && + event.key === 'ArrowDown'; + if (isRight || isDown) { + const { length: valueLength } = (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_7__.getTextboxValue)( + currentTarget + ); + if (selection.end !== valueLength) + return; + } else if ( + (isLeft || isUp) && + selection.start !== 0 + ) + return; + } + const nextId = action(); + if ( + preventScrollOnKeyDownProp(event) || + nextId !== void 0 + ) { + if (!moveOnKeyPressProp(event)) return; + event.preventDefault(); + store.move(nextId); } } } ); - if (multiSelectable && selected != null) { - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__.__spreadValues)( - { - 'aria-selected': selected, - }, - props - ); - } + const providerValue = (0, + react__WEBPACK_IMPORTED_MODULE_11__.useMemo)( + () => ({ id, baseElement }), + [id, baseElement] + ); props = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_5__.useWrapElement)( + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_6__.useWrapElement)( props, (element) => /* @__PURE__ */ (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)( - _OLVWQA7U_js__WEBPACK_IMPORTED_MODULE_2__ - .ComboboxItemValueContext.Provider, - { - value, - children: /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)( - _OLVWQA7U_js__WEBPACK_IMPORTED_MODULE_2__ - .ComboboxItemCheckedContext - .Provider, - { - value: - selected != null - ? selected - : false, - children: element, - } - ), - } + _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_2__ + .CompositeItemContext.Provider, + { value: providerValue, children: element } ), - [value, selected] + [providerValue] ); - const popupRole = (0, - react__WEBPACK_IMPORTED_MODULE_11__.useContext)( - _OLVWQA7U_js__WEBPACK_IMPORTED_MODULE_2__.ComboboxListRoleContext + props = { + id, + 'data-active-item': isActiveItem || void 0, + ...props, + ref: (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_6__.useMergeRefs)( + ref, + props.ref + ), + tabIndex: isTabbable ? props.tabIndex : -1, + onFocus, + onBlurCapture, + onKeyDown, + }; + props = (0, + _WJ7PHYH7_js__WEBPACK_IMPORTED_MODULE_3__.useCommand)( + props ); props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__.__spreadValues)( - { - role: getItemRole(popupRole), - children: value, - }, - props - ), + _DTXGDDAC_js__WEBPACK_IMPORTED_MODULE_1__.useCollectionItem)( { - onClick, - onKeyDown, + store, + ...props, + getItem, + shouldRegisterItem: id + ? props.shouldRegisterItem + : false, } ); - const moveOnKeyPressProp = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_5__.useBooleanEvent)( - moveOnKeyPress - ); - props = (0, - _SBSPVDDI_js__WEBPACK_IMPORTED_MODULE_1__.useCompositeItem)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__.__spreadValues)( - { - store, - }, - props - ), - { - getItem, - // Dispatch a custom event on the combobox input when moving to an item - // with the keyboard so the Combobox component can enable inline - // autocompletion. - moveOnKeyPress: (event) => { - if (!moveOnKeyPressProp(event)) - return false; - const moveEvent = new Event( - 'combobox-item-move' - ); - const baseElement = - store == null - ? void 0 - : store.getState().baseElement; - baseElement == null - ? void 0 - : baseElement.dispatchEvent( - moveEvent - ); - return true; - }, - } - ) - ); - props = (0, - _IABE5EV2_js__WEBPACK_IMPORTED_MODULE_0__.useCompositeHover)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__.__spreadValues)( - { store, focusOnHover }, - props - ) + return (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_9__.removeUndefinedValues)( + { + ...props, + 'aria-setsize': ariaSetSize, + 'aria-posinset': ariaPosInSet, + } ); - return props; } ); - var ComboboxItem = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_4__.memo)( - (0, _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_4__.forwardRef)( - function ComboboxItem2(props) { - const htmlProps = useComboboxItem(props); + var CompositeItem = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_5__.memo)( + (0, _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_5__.forwardRef)( + function CompositeItem2(props) { + const htmlProps = useCompositeItem(props); return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_4__.createElement)( + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_5__.createElement)( TagName, htmlProps ); @@ -11981,9 +12927,9 @@ If there's a particular need for this, please submit a feature request at https: /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/DXGKYUAD.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/FUGOO6U6.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/DXGKYUAD.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/FUGOO6U6.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -11995,64 +12941,44 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ VisuallyHidden: function () { - return /* binding */ VisuallyHidden; - }, - /* harmony export */ useVisuallyHidden: function () { - return /* binding */ useVisuallyHidden; + /* harmony export */ CompositeGroupLabel: function () { + return /* binding */ CompositeGroupLabel; }, + /* harmony export */ useCompositeGroupLabel: + function () { + return /* binding */ useCompositeGroupLabel; + }, /* harmony export */ } ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _Q73EQ37Z_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ./Q73EQ37Z.js */ './node_modules/@ariakit/react-core/esm/__chunks/Q73EQ37Z.js' ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); ('use client'); - // src/visually-hidden/visually-hidden.tsx - var TagName = 'span'; - var useVisuallyHidden = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_0__.createHook)( - function useVisuallyHidden2(props) { + // src/composite/composite-group-label.tsx + var TagName = 'div'; + var useCompositeGroupLabel = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createHook)( + function useCompositeGroupLabel2({ store, ...props }) { props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_1__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_1__.__spreadValues)( - {}, - props - ), - { - style: (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_1__.__spreadValues)( - { - border: 0, - clip: 'rect(0 0 0 0)', - height: '1px', - margin: '-1px', - overflow: 'hidden', - padding: 0, - position: 'absolute', - whiteSpace: 'nowrap', - width: '1px', - }, - props.style - ), - } + _Q73EQ37Z_js__WEBPACK_IMPORTED_MODULE_0__.useGroupLabel)( + props ); return props; } ); - var VisuallyHidden = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_0__.forwardRef)( - function VisuallyHidden2(props) { - const htmlProps = useVisuallyHidden(props); + var CompositeGroupLabel = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.forwardRef)( + function CompositeGroupLabel2(props) { + const htmlProps = useCompositeGroupLabel(props); return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_0__.createElement)( + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createElement)( TagName, htmlProps ); @@ -12062,44 +12988,9 @@ If there's a particular need for this, please submit a feature request at https: /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/EYKMH5G5.js': - /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/EYKMH5G5.js ***! - \*******************************************************************/ - /***/ function ( - __unused_webpack___webpack_module__, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ CheckboxCheckedContext: - function () { - return /* binding */ CheckboxCheckedContext; - }, - /* harmony export */ - } - ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! react */ './node_modules/react/index.js' - ); - ('use client'); - - // src/checkbox/checkbox-checked-context.tsx - - var CheckboxCheckedContext = (0, - react__WEBPACK_IMPORTED_MODULE_0__.createContext)(false); - - /***/ - }, - - /***/ './node_modules/@ariakit/react-core/esm/__chunks/FVE2C5B3.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/GW2URR7A.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/FVE2C5B3.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/GW2URR7A.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -12111,239 +13002,90 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ DialogBackdrop: function () { - return /* binding */ DialogBackdrop; + /* harmony export */ Group: function () { + return /* binding */ Group; + }, + /* harmony export */ useGroup: function () { + return /* binding */ useGroup; }, /* harmony export */ } ); - /* harmony import */ var _3NDVDEB4_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./3NDVDEB4.js */ './node_modules/@ariakit/react-core/esm/__chunks/3NDVDEB4.js' - ); - /* harmony import */ var _K4R5DNTX_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ./K4R5DNTX.js */ './node_modules/@ariakit/react-core/esm/__chunks/K4R5DNTX.js' - ); - /* harmony import */ var _T22PY7TE_js__WEBPACK_IMPORTED_MODULE_2__ = - __webpack_require__( - /*! ./T22PY7TE.js */ './node_modules/@ariakit/react-core/esm/__chunks/T22PY7TE.js' - ); - /* harmony import */ var _QJ4LGO2N_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _7HVFURXT_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./QJ4LGO2N.js */ './node_modules/@ariakit/react-core/esm/__chunks/QJ4LGO2N.js' + /*! ./7HVFURXT.js */ './node_modules/@ariakit/react-core/esm/__chunks/7HVFURXT.js' ); - /* harmony import */ var _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./RTNCFSKZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/RTNCFSKZ.js' + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_5__ = + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__ = + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( /*! react */ './node_modules/react/index.js' ); - /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' ); ('use client'); - // src/dialog/dialog-backdrop.tsx + // src/group/group.tsx - function DialogBackdrop({ - store, - backdrop, - alwaysVisible, - hidden, - }) { - const ref = (0, react__WEBPACK_IMPORTED_MODULE_7__.useRef)( - null - ); - const disclosure = (0, - _T22PY7TE_js__WEBPACK_IMPORTED_MODULE_2__.useDisclosureStore)( - { disclosure: store } - ); - const contentElement = (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_4__.useStoreState)( - store, - 'contentElement' - ); - (0, react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(() => { - const backdrop2 = ref.current; - const dialog = contentElement; - if (!backdrop2) return; - if (!dialog) return; - backdrop2.style.zIndex = - getComputedStyle(dialog).zIndex; - }, [contentElement]); - (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_5__.useSafeLayoutEffect)(() => { - const id = - contentElement == null ? void 0 : contentElement.id; - if (!id) return; - const backdrop2 = ref.current; - if (!backdrop2) return; - return (0, - _3NDVDEB4_js__WEBPACK_IMPORTED_MODULE_0__.markAncestor)( - backdrop2, - id - ); - }, [contentElement]); - const props = (0, - _K4R5DNTX_js__WEBPACK_IMPORTED_MODULE_1__.useDisclosureContent)( - { - ref, - store: disclosure, - role: 'presentation', - 'data-backdrop': - (contentElement == null - ? void 0 - : contentElement.id) || '', - alwaysVisible, - hidden: hidden != null ? hidden : void 0, - style: { - position: 'fixed', - top: 0, - right: 0, - bottom: 0, - left: 0, - }, - } - ); - if (!backdrop) return null; - if ( - (0, react__WEBPACK_IMPORTED_MODULE_7__.isValidElement)( - backdrop - ) - ) { - return /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)( - _QJ4LGO2N_js__WEBPACK_IMPORTED_MODULE_3__.Role, - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__.__spreadValues)( - {}, - props + var TagName = 'div'; + var useGroup = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createHook)( + function useGroup2(props) { + const [labelId, setLabelId] = (0, + react__WEBPACK_IMPORTED_MODULE_4__.useState)(); + props = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__.useWrapElement)( + props, + (element) => + /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)( + _7HVFURXT_js__WEBPACK_IMPORTED_MODULE_0__ + .GroupLabelContext.Provider, + { value: setLabelId, children: element } ), - { render: backdrop } - ) + [] + ); + props = { + role: 'group', + 'aria-labelledby': labelId, + ...props, + }; + return (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_3__.removeUndefinedValues)( + props ); } - const Component = - typeof backdrop !== 'boolean' ? backdrop : 'div'; - return /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)( - _QJ4LGO2N_js__WEBPACK_IMPORTED_MODULE_3__.Role, - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__.__spreadValues)( - {}, - props - ), - { - render: /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)( - Component, - {} - ), - } - ) - ); - } - - /***/ - }, - - /***/ './node_modules/@ariakit/react-core/esm/__chunks/GVVKDT6A.js': - /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/GVVKDT6A.js ***! - \*******************************************************************/ - /***/ function ( - __unused_webpack___webpack_module__, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ useHovercardStore: function () { - return /* binding */ useHovercardStore; - }, - /* harmony export */ useHovercardStoreProps: - function () { - return /* binding */ useHovercardStoreProps; - }, - /* harmony export */ + ); + var Group = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.forwardRef)( + function Group2(props) { + const htmlProps = useGroup(props); + return (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createElement)( + TagName, + htmlProps + ); } ); - /* harmony import */ var _RUY5BUJG_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./RUY5BUJG.js */ './node_modules/@ariakit/react-core/esm/__chunks/RUY5BUJG.js' - ); - /* harmony import */ var _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ./RTNCFSKZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/RTNCFSKZ.js' - ); - /* harmony import */ var _ariakit_core_hovercard_hovercard_store__WEBPACK_IMPORTED_MODULE_2__ = - __webpack_require__( - /*! @ariakit/core/hovercard/hovercard-store */ './node_modules/@ariakit/core/esm/__chunks/X2ASWIQW.js' - ); - ('use client'); - - // src/hovercard/hovercard-store.ts - - function useHovercardStoreProps(store, update, props) { - (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_1__.useStoreProps)( - store, - props, - 'timeout' - ); - (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_1__.useStoreProps)( - store, - props, - 'showTimeout' - ); - (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_1__.useStoreProps)( - store, - props, - 'hideTimeout' - ); - return (0, - _RUY5BUJG_js__WEBPACK_IMPORTED_MODULE_0__.usePopoverStoreProps)( - store, - update, - props - ); - } - function useHovercardStore(props = {}) { - const [store, update] = (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_1__.useStore)( - _ariakit_core_hovercard_hovercard_store__WEBPACK_IMPORTED_MODULE_2__.createHovercardStore, - props - ); - return useHovercardStoreProps(store, update, props); - } /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/HI6DYBVE.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/GYHYTZZN.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/HI6DYBVE.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/GYHYTZZN.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -12355,270 +13097,74 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ useComboboxStore: function () { - return /* binding */ useComboboxStore; + /* harmony export */ DialogDisclosure: function () { + return /* binding */ DialogDisclosure; + }, + /* harmony export */ useDialogDisclosure: function () { + return /* binding */ useDialogDisclosure; }, - /* harmony export */ useComboboxStoreOptions: - function () { - return /* binding */ useComboboxStoreOptions; - }, - /* harmony export */ useComboboxStoreProps: - function () { - return /* binding */ useComboboxStoreProps; - }, /* harmony export */ } ); - /* harmony import */ var _VJQU3YUE_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./VJQU3YUE.js */ './node_modules/@ariakit/react-core/esm/__chunks/VJQU3YUE.js' - ); - /* harmony import */ var _RUY5BUJG_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ./RUY5BUJG.js */ './node_modules/@ariakit/react-core/esm/__chunks/RUY5BUJG.js' - ); - /* harmony import */ var _B7UTNDHN_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _NJZUP4KO_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./B7UTNDHN.js */ './node_modules/@ariakit/react-core/esm/__chunks/B7UTNDHN.js' + /*! ./NJZUP4KO.js */ './node_modules/@ariakit/react-core/esm/__chunks/NJZUP4KO.js' ); - /* harmony import */ var _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _63N3TCQX_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./RTNCFSKZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/RTNCFSKZ.js' + /*! ./63N3TCQX.js */ './node_modules/@ariakit/react-core/esm/__chunks/63N3TCQX.js' ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__ = + /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' + /*! @ariakit/core/utils/dom */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' ); - /* harmony import */ var _ariakit_core_combobox_combobox_store__WEBPACK_IMPORTED_MODULE_6__ = + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! @ariakit/core/combobox/combobox-store */ './node_modules/@ariakit/core/esm/combobox/combobox-store.js' + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); ('use client'); - // src/combobox/combobox-store.ts + // src/dialog/dialog-disclosure.tsx - function useComboboxStoreOptions(props) { - const tag = (0, - _VJQU3YUE_js__WEBPACK_IMPORTED_MODULE_0__.useTagContext)(); - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - {}, - props - ), - { - tag: props.tag !== void 0 ? props.tag : tag, - } - ); - return (0, - _B7UTNDHN_js__WEBPACK_IMPORTED_MODULE_2__.useCompositeStoreOptions)( - props - ); - } - function useComboboxStoreProps(store, update, props) { - (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useUpdateEffect)( - update, - [props.tag] - ); - (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_3__.useStoreProps)( - store, - props, - 'value', - 'setValue' - ); - (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_3__.useStoreProps)( - store, - props, - 'selectedValue', - 'setSelectedValue' - ); - (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_3__.useStoreProps)( - store, - props, - 'resetValueOnHide' - ); - (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_3__.useStoreProps)( - store, - props, - 'resetValueOnSelect' - ); - return Object.assign( + var TagName = 'button'; + var useDialogDisclosure = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.createHook)( + function useDialogDisclosure2({ store, ...props }) { + const context = (0, + _63N3TCQX_js__WEBPACK_IMPORTED_MODULE_1__.useDialogProviderContext)(); + store = store || context; (0, - _B7UTNDHN_js__WEBPACK_IMPORTED_MODULE_2__.useCompositeStoreProps)( - (0, - _RUY5BUJG_js__WEBPACK_IMPORTED_MODULE_1__.usePopoverStoreProps)( - store, - update, - props + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_4__.invariant)( + store, + true && + 'DialogDisclosure must receive a `store` prop or be wrapped in a DialogProvider component.' + ); + const contentElement = store.useState('contentElement'); + props = { + 'aria-haspopup': (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_3__.getPopupRole)( + contentElement, + 'dialog' ), - update, - props - ), - { tag: props.tag } - ); - } - function useComboboxStore(props = {}) { - props = useComboboxStoreOptions(props); - const [store, update] = (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_3__.useStore)( - _ariakit_core_combobox_combobox_store__WEBPACK_IMPORTED_MODULE_6__.createComboboxStore, - props - ); - return useComboboxStoreProps(store, update, props); - } - - /***/ - }, - - /***/ './node_modules/@ariakit/react-core/esm/__chunks/HLTQOHKZ.js': - /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/HLTQOHKZ.js ***! - \*******************************************************************/ - /***/ function ( - __unused_webpack___webpack_module__, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ usePreviousMouseDownRef: - function () { - return /* binding */ usePreviousMouseDownRef; - }, - /* harmony export */ - } - ); - /* harmony import */ var _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! @ariakit/core/utils/events */ './node_modules/@ariakit/core/esm/utils/events.js' - ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! react */ './node_modules/react/index.js' - ); - ('use client'); - - // src/dialog/utils/use-previous-mouse-down-ref.ts - - function usePreviousMouseDownRef(enabled) { - const previousMouseDownRef = (0, - react__WEBPACK_IMPORTED_MODULE_1__.useRef)(); - (0, react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => { - if (!enabled) { - previousMouseDownRef.current = null; - return; - } - const onMouseDown = (event) => { - previousMouseDownRef.current = event.target; + ...props, }; - return (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_0__.addGlobalEventListener)( - 'mousedown', - onMouseDown, - true - ); - }, [enabled]); - return previousMouseDownRef; - } - - /***/ - }, - - /***/ './node_modules/@ariakit/react-core/esm/__chunks/HMCFFQCB.js': - /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/HMCFFQCB.js ***! - \*******************************************************************/ - /***/ function ( - __unused_webpack___webpack_module__, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ PopoverAnchor: function () { - return /* binding */ PopoverAnchor; - }, - /* harmony export */ usePopoverAnchor: function () { - return /* binding */ usePopoverAnchor; - }, - /* harmony export */ - } - ); - /* harmony import */ var _Y67KZUMI_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./Y67KZUMI.js */ './node_modules/@ariakit/react-core/esm/__chunks/Y67KZUMI.js' - ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' - ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__ = - __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' - ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__ = - __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' - ); - ('use client'); - - // src/popover/popover-anchor.tsx - var TagName = 'div'; - var usePopoverAnchor = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createHook)( - function usePopoverAnchor2(_a) { - var _b = _a, - { store } = _b, - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__objRest)( - _b, - ['store'] - ); - const context = (0, - _Y67KZUMI_js__WEBPACK_IMPORTED_MODULE_0__.usePopoverProviderContext)(); - store = store || context; props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - {}, - props - ), - { - ref: (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__.useMergeRefs)( - store == null - ? void 0 - : store.setAnchorElement, - props.ref - ), - } + _NJZUP4KO_js__WEBPACK_IMPORTED_MODULE_0__.useDisclosure)( + { store, ...props } ); return props; } ); - var PopoverAnchor = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.forwardRef)( - function PopoverAnchor2(props) { - const htmlProps = usePopoverAnchor(props); + var DialogDisclosure = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.forwardRef)( + function DialogDisclosure2(props) { + const htmlProps = useDialogDisclosure(props); return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createElement)( + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.createElement)( TagName, htmlProps ); @@ -12628,9 +13174,9 @@ If there's a particular need for this, please submit a feature request at https: /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/IABE5EV2.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/HAX24JB7.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/IABE5EV2.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/HAX24JB7.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -12642,1122 +13188,133 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ CompositeHover: function () { - return /* binding */ CompositeHover; + /* harmony export */ DisclosureContent: function () { + return /* binding */ DisclosureContent; }, - /* harmony export */ useCompositeHover: function () { - return /* binding */ useCompositeHover; + /* harmony export */ isHidden: function () { + return /* binding */ isHidden; + }, + /* harmony export */ useDisclosureContent: function () { + return /* binding */ useDisclosureContent; }, /* harmony export */ } ); - /* harmony import */ var _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _63N3TCQX_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./APTFW6PT.js */ './node_modules/@ariakit/react-core/esm/__chunks/APTFW6PT.js' + /*! ./63N3TCQX.js */ './node_modules/@ariakit/react-core/esm/__chunks/63N3TCQX.js' ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _FFSBKSAM_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ./FFSBKSAM.js */ './node_modules/@ariakit/react-core/esm/__chunks/FFSBKSAM.js' ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! ./Q3KUZPD7.js */ './node_modules/@ariakit/react-core/esm/__chunks/Q3KUZPD7.js' ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! @ariakit/core/utils/dom */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_5__ = + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( - /*! @ariakit/core/utils/focus */ './node_modules/@ariakit/core/esm/utils/focus.js' + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__ = + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! react */ './node_modules/react/index.js' ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = + /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__( - /*! react */ './node_modules/react/index.js' + /*! react-dom */ './node_modules/react-dom/index.js' + ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = + __webpack_require__( + /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' ); ('use client'); - // src/composite/composite-hover.tsx + // src/disclosure/disclosure-content.tsx var TagName = 'div'; - function getMouseDestination(event) { - const relatedTarget = event.relatedTarget; - if ( - (relatedTarget == null - ? void 0 - : relatedTarget.nodeType) === Node.ELEMENT_NODE - ) { - return relatedTarget; - } - return null; + function afterTimeout(timeoutMs, cb) { + const timeoutId = setTimeout(cb, timeoutMs); + return () => clearTimeout(timeoutId); } - function hoveringInside(event) { - const nextElement = getMouseDestination(event); - if (!nextElement) return false; - return (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_4__.contains)( - event.currentTarget, - nextElement - ); + function afterPaint(cb) { + let raf = requestAnimationFrame(() => { + raf = requestAnimationFrame(cb); + }); + return () => cancelAnimationFrame(raf); } - var symbol = Symbol('composite-hover'); - function movingToAnotherItem(event) { - let dest = getMouseDestination(event); - if (!dest) return false; - do { - if ( - (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__.hasOwnProperty)( - dest, - symbol - ) && - dest[symbol] - ) - return true; - dest = dest.parentElement; - } while (dest); - return false; + function parseCSSTime(...times) { + return times + .join(', ') + .split(', ') + .reduce((longestTime, currentTimeString) => { + const multiplier = currentTimeString.endsWith('ms') + ? 1 + : 1e3; + const currentTime = + Number.parseFloat(currentTimeString || '0s') * + multiplier; + if (currentTime > longestTime) return currentTime; + return longestTime; + }, 0); } - var useCompositeHover = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createHook)( - function useCompositeHover2(_a) { - var _b = _a, - { - store, - focusOnHover = true, - blurOnHoverEnd = !!focusOnHover, - } = _b, - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__objRest)( - _b, - ['store', 'focusOnHover', 'blurOnHoverEnd'] - ); + function isHidden(mounted, hidden, alwaysVisible) { + return ( + !alwaysVisible && + hidden !== false && + (!mounted || !!hidden) + ); + } + var useDisclosureContent = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__.createHook)( + function useDisclosureContent2({ + store, + alwaysVisible, + ...props + }) { const context = (0, - _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_0__.useCompositeContext)(); + _FFSBKSAM_js__WEBPACK_IMPORTED_MODULE_1__.useDisclosureProviderContext)(); store = store || context; (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__.invariant)( - store, - true && - 'CompositeHover must be wrapped in a Composite component.' - ); - const isMouseMoving = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__.useIsMouseMoving)(); - const onMouseMoveProp = props.onMouseMove; - const focusOnHoverProp = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__.useBooleanEvent)( - focusOnHover - ); - const onMouseMove = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__.useEvent)( - (event) => { - onMouseMoveProp == null - ? void 0 - : onMouseMoveProp(event); - if (event.defaultPrevented) return; - if (!isMouseMoving()) return; - if (!focusOnHoverProp(event)) return; - if ( - !(0, - _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_5__.hasFocusWithin)( - event.currentTarget - ) - ) { - const baseElement = - store == null - ? void 0 - : store.getState().baseElement; - if ( - baseElement && - !(0, - _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_5__.hasFocus)( - baseElement - ) - ) { - baseElement.focus(); - } - } - store == null - ? void 0 - : store.setActiveId(event.currentTarget.id); - } - ); - const onMouseLeaveProp = props.onMouseLeave; - const blurOnHoverEndProp = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__.useBooleanEvent)( - blurOnHoverEnd - ); - const onMouseLeave = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__.useEvent)( - (event) => { - var _a2; - onMouseLeaveProp == null - ? void 0 - : onMouseLeaveProp(event); - if (event.defaultPrevented) return; - if (!isMouseMoving()) return; - if (hoveringInside(event)) return; - if (movingToAnotherItem(event)) return; - if (!focusOnHoverProp(event)) return; - if (!blurOnHoverEndProp(event)) return; - store == null - ? void 0 - : store.setActiveId(null); - (_a2 = - store == null - ? void 0 - : store.getState().baseElement) == null - ? void 0 - : _a2.focus(); - } - ); - const ref = (0, - react__WEBPACK_IMPORTED_MODULE_7__.useCallback)( - (element) => { - if (!element) return; - element[symbol] = true; - }, - [] - ); - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - {}, - props - ), - { - ref: (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__.useMergeRefs)( - ref, - props.ref - ), - onMouseMove, - onMouseLeave, - } - ); - return (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__.removeUndefinedValues)( - props - ); - } - ); - var CompositeHover = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.memo)( - (0, _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.forwardRef)( - function CompositeHover2(props) { - const htmlProps = useCompositeHover(props); - return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createElement)( - TagName, - htmlProps - ); - } - ) - ); - - /***/ - }, - - /***/ './node_modules/@ariakit/react-core/esm/__chunks/IGR4SXG2.js': - /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/IGR4SXG2.js ***! - \*******************************************************************/ - /***/ function ( - __unused_webpack___webpack_module__, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ isFocusTrap: function () { - return /* binding */ isFocusTrap; - }, - /* harmony export */ - } - ); - ('use client'); - - // src/dialog/utils/is-focus-trap.ts - function isFocusTrap(element, ...ids) { - if (!element) return false; - const attr = element.getAttribute('data-focus-trap'); - if (attr == null) return false; - if (!ids.length) return true; - if (attr === '') return false; - return ids.some((id) => attr === id); - } - - /***/ - }, - - /***/ './node_modules/@ariakit/react-core/esm/__chunks/IZKKKUS7.js': - /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/IZKKKUS7.js ***! - \*******************************************************************/ - /***/ function ( - __unused_webpack___webpack_module__, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ Separator: function () { - return /* binding */ Separator; - }, - /* harmony export */ useSeparator: function () { - return /* binding */ useSeparator; - }, - /* harmony export */ - } - ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' - ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' - ); - ('use client'); - - // src/separator/separator.tsx - var TagName = 'hr'; - var useSeparator = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_0__.createHook)( - function useSeparator2(_a) { - var _b = _a, - { orientation = 'horizontal' } = _b, - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_1__.__objRest)( - _b, - ['orientation'] - ); - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_1__.__spreadValues)( - { - role: 'separator', - 'aria-orientation': orientation, - }, - props - ); - return props; - } - ); - var Separator = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_0__.forwardRef)( - function Separator2(props) { - const htmlProps = useSeparator(props); - return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_0__.createElement)( - TagName, - htmlProps - ); - } - ); - - /***/ - }, - - /***/ './node_modules/@ariakit/react-core/esm/__chunks/JJEANXHI.js': - /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/JJEANXHI.js ***! - \*******************************************************************/ - /***/ function ( - __unused_webpack___webpack_module__, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ CompositeSeparator: function () { - return /* binding */ CompositeSeparator; - }, - /* harmony export */ useCompositeSeparator: - function () { - return /* binding */ useCompositeSeparator; - }, - /* harmony export */ - } - ); - /* harmony import */ var _IZKKKUS7_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./IZKKKUS7.js */ './node_modules/@ariakit/react-core/esm/__chunks/IZKKKUS7.js' - ); - /* harmony import */ var _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ./APTFW6PT.js */ './node_modules/@ariakit/react-core/esm/__chunks/APTFW6PT.js' - ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__ = - __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' - ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__ = - __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' - ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_4__ = - __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' - ); - ('use client'); - - // src/composite/composite-separator.tsx - - var TagName = 'hr'; - var useCompositeSeparator = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.createHook)( - function useCompositeSeparator2(_a) { - var _b = _a, - { store } = _b, - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__objRest)( - _b, - ['store'] - ); - const context = (0, - _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_1__.useCompositeContext)(); - store = store || context; - (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_4__.invariant)( - store, - true && - 'CompositeSeparator must be wrapped in a Composite component.' - ); - const orientation = store.useState((state) => - state.orientation === 'horizontal' - ? 'vertical' - : 'horizontal' - ); - props = (0, - _IZKKKUS7_js__WEBPACK_IMPORTED_MODULE_0__.useSeparator)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - {}, - props - ), - { orientation } - ) - ); - return props; - } - ); - var CompositeSeparator = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.forwardRef)( - function CompositeSeparator2(props) { - const htmlProps = useCompositeSeparator(props); - return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.createElement)( - TagName, - htmlProps - ); - } - ); - - /***/ - }, - - /***/ './node_modules/@ariakit/react-core/esm/__chunks/JUCYQ5OS.js': - /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/JUCYQ5OS.js ***! - \*******************************************************************/ - /***/ function ( - __unused_webpack___webpack_module__, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ MenuItemCheckedContext: - function () { - return /* binding */ MenuItemCheckedContext; - }, - /* harmony export */ MenubarContextProvider: - function () { - return /* binding */ MenubarContextProvider; - }, - /* harmony export */ MenubarScopedContextProvider: - function () { - return /* binding */ MenubarScopedContextProvider; - }, - /* harmony export */ useMenubarContext: function () { - return /* binding */ useMenubarContext; - }, - /* harmony export */ useMenubarProviderContext: - function () { - return /* binding */ useMenubarProviderContext; - }, - /* harmony export */ useMenubarScopedContext: - function () { - return /* binding */ useMenubarScopedContext; - }, - /* harmony export */ - } - ); - /* harmony import */ var _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./APTFW6PT.js */ './node_modules/@ariakit/react-core/esm/__chunks/APTFW6PT.js' - ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' - ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = - __webpack_require__( - /*! react */ './node_modules/react/index.js' - ); - ('use client'); - - // src/menubar/menubar-context.tsx - - var menubar = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createStoreContext)( - [ - _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_0__.CompositeContextProvider, - ], - [ - _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_0__.CompositeScopedContextProvider, - ] - ); - var useMenubarContext = menubar.useContext; - var useMenubarScopedContext = menubar.useScopedContext; - var useMenubarProviderContext = menubar.useProviderContext; - var MenubarContextProvider = menubar.ContextProvider; - var MenubarScopedContextProvider = - menubar.ScopedContextProvider; - var MenuItemCheckedContext = (0, - react__WEBPACK_IMPORTED_MODULE_2__.createContext)(void 0); - - /***/ - }, - - /***/ './node_modules/@ariakit/react-core/esm/__chunks/JZEJYXOQ.js': - /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/JZEJYXOQ.js ***! - \*******************************************************************/ - /***/ function ( - __unused_webpack___webpack_module__, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ useHideOnInteractOutside: - function () { - return /* binding */ useHideOnInteractOutside; - }, - /* harmony export */ - } - ); - /* harmony import */ var _HLTQOHKZ_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./HLTQOHKZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/HLTQOHKZ.js' - ); - /* harmony import */ var _3NDVDEB4_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ./3NDVDEB4.js */ './node_modules/@ariakit/react-core/esm/__chunks/3NDVDEB4.js' - ); - /* harmony import */ var _OE2EFRVA_js__WEBPACK_IMPORTED_MODULE_2__ = - __webpack_require__( - /*! ./OE2EFRVA.js */ './node_modules/@ariakit/react-core/esm/__chunks/OE2EFRVA.js' - ); - /* harmony import */ var _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_3__ = - __webpack_require__( - /*! ./RTNCFSKZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/RTNCFSKZ.js' - ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__ = - __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' - ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__ = - __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' - ); - /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_6__ = - __webpack_require__( - /*! @ariakit/core/utils/dom */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' - ); - /* harmony import */ var _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__ = - __webpack_require__( - /*! @ariakit/core/utils/events */ './node_modules/@ariakit/core/esm/utils/events.js' - ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8__ = - __webpack_require__( - /*! react */ './node_modules/react/index.js' - ); - ('use client'); - - // src/dialog/utils/use-hide-on-interact-outside.ts - - function isInDocument(target) { - if (target.tagName === 'HTML') return true; - return (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_6__.contains)( - (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_6__.getDocument)( - target - ).body, - target - ); - } - function isDisclosure(disclosure, target) { - if (!disclosure) return false; - if ( - (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_6__.contains)( - disclosure, - target - ) - ) - return true; - const activeId = target.getAttribute( - 'aria-activedescendant' - ); - if (activeId) { - const activeElement = (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_6__.getDocument)( - disclosure - ).getElementById(activeId); - if (activeElement) { - return (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_6__.contains)( - disclosure, - activeElement - ); - } - } - return false; - } - function isMouseEventOnDialog(event, dialog) { - if (!('clientY' in event)) return false; - const rect = dialog.getBoundingClientRect(); - if (rect.width === 0 || rect.height === 0) return false; - return ( - rect.top <= event.clientY && - event.clientY <= rect.top + rect.height && - rect.left <= event.clientX && - event.clientX <= rect.left + rect.width - ); - } - function useEventOutside({ - store, - type, - listener, - capture, - domReady, - }) { - const callListener = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useEvent)( - listener - ); - const open = (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_3__.useStoreState)( - store, - 'open' - ); - const focusedRef = (0, - react__WEBPACK_IMPORTED_MODULE_8__.useRef)(false); - (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useSafeLayoutEffect)(() => { - if (!open) return; - if (!domReady) return; - const { contentElement } = store.getState(); - if (!contentElement) return; - const onFocus = () => { - focusedRef.current = true; - }; - contentElement.addEventListener( - 'focusin', - onFocus, - true - ); - return () => - contentElement.removeEventListener( - 'focusin', - onFocus, - true - ); - }, [store, open, domReady]); - (0, react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(() => { - if (!open) return; - const onEvent = (event) => { - const { contentElement, disclosureElement } = - store.getState(); - const target = event.target; - if (!contentElement) return; - if (!target) return; - if (!isInDocument(target)) return; - if ( - (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_6__.contains)( - contentElement, - target - ) - ) - return; - if (isDisclosure(disclosureElement, target)) return; - if (target.hasAttribute('data-focus-trap')) return; - if (isMouseEventOnDialog(event, contentElement)) - return; - const focused = focusedRef.current; - if ( - focused && - !(0, - _3NDVDEB4_js__WEBPACK_IMPORTED_MODULE_1__.isElementMarked)( - target, - contentElement.id - ) - ) - return; - if ( - (0, - _OE2EFRVA_js__WEBPACK_IMPORTED_MODULE_2__.isSafariFocusAncestor)( - target - ) - ) - return; - callListener(event); - }; - return (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__.addGlobalEventListener)( - type, - onEvent, - capture - ); - }, [open, capture]); - } - function shouldHideOnInteractOutside( - hideOnInteractOutside, - event - ) { - if (typeof hideOnInteractOutside === 'function') { - return hideOnInteractOutside(event); - } - return !!hideOnInteractOutside; - } - function useHideOnInteractOutside( - store, - hideOnInteractOutside, - domReady - ) { - const open = (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_3__.useStoreState)( - store, - 'open' - ); - const previousMouseDownRef = (0, - _HLTQOHKZ_js__WEBPACK_IMPORTED_MODULE_0__.usePreviousMouseDownRef)( - open - ); - const props = { store, domReady, capture: true }; - useEventOutside( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - {}, - props - ), - { - type: 'click', - listener: (event) => { - const { contentElement } = store.getState(); - const previousMouseDown = - previousMouseDownRef.current; - if (!previousMouseDown) return; - if ( - !(0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_6__.isVisible)( - previousMouseDown - ) - ) - return; - if ( - !(0, - _3NDVDEB4_js__WEBPACK_IMPORTED_MODULE_1__.isElementMarked)( - previousMouseDown, - contentElement == null - ? void 0 - : contentElement.id - ) - ) - return; - if ( - !shouldHideOnInteractOutside( - hideOnInteractOutside, - event - ) - ) - return; - store.hide(); - }, - } - ) - ); - useEventOutside( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - {}, - props - ), - { - type: 'focusin', - listener: (event) => { - const { contentElement } = store.getState(); - if (!contentElement) return; - if ( - event.target === - (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_6__.getDocument)( - contentElement - ) - ) - return; - if ( - !shouldHideOnInteractOutside( - hideOnInteractOutside, - event - ) - ) - return; - store.hide(); - }, - } - ) - ); - useEventOutside( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - {}, - props - ), - { - type: 'contextmenu', - listener: (event) => { - if ( - !shouldHideOnInteractOutside( - hideOnInteractOutside, - event - ) - ) - return; - store.hide(); - }, - } - ) - ); - } - - /***/ - }, - - /***/ './node_modules/@ariakit/react-core/esm/__chunks/K2ZF5NU7.js': - /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/K2ZF5NU7.js ***! - \*******************************************************************/ - /***/ function ( - __unused_webpack___webpack_module__, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ assignStyle: function () { - return /* binding */ assignStyle; - }, - /* harmony export */ orchestrate: function () { - return /* binding */ orchestrate; - }, - /* harmony export */ setAttribute: function () { - return /* binding */ setAttribute; - }, - /* harmony export */ setCSSProperty: function () { - return /* binding */ setCSSProperty; - }, - /* harmony export */ setProperty: function () { - return /* binding */ setProperty; - }, - /* harmony export */ - } - ); - ('use client'); - - // src/dialog/utils/orchestrate.ts - var cleanups = /* @__PURE__ */ new WeakMap(); - function orchestrate(element, key, setup) { - if (!cleanups.has(element)) { - cleanups.set(element, /* @__PURE__ */ new Map()); - } - const elementCleanups = cleanups.get(element); - const prevCleanup = elementCleanups.get(key); - if (!prevCleanup) { - elementCleanups.set(key, setup()); - return () => { - var _a; - (_a = elementCleanups.get(key)) == null - ? void 0 - : _a(); - elementCleanups.delete(key); - }; - } - const cleanup = setup(); - const nextCleanup = () => { - cleanup(); - prevCleanup(); - elementCleanups.delete(key); - }; - elementCleanups.set(key, nextCleanup); - return () => { - const isCurrent = - elementCleanups.get(key) === nextCleanup; - if (!isCurrent) return; - cleanup(); - elementCleanups.set(key, prevCleanup); - }; - } - function setAttribute(element, attr, value) { - const setup = () => { - const previousValue = element.getAttribute(attr); - element.setAttribute(attr, value); - return () => { - if (previousValue == null) { - element.removeAttribute(attr); - } else { - element.setAttribute(attr, previousValue); - } - }; - }; - return orchestrate(element, attr, setup); - } - function setProperty(element, property, value) { - const setup = () => { - const exists = property in element; - const previousValue = element[property]; - element[property] = value; - return () => { - if (!exists) { - delete element[property]; - } else { - element[property] = previousValue; - } - }; - }; - return orchestrate(element, property, setup); - } - function assignStyle(element, style) { - if (!element) return () => {}; - const setup = () => { - const prevStyle = element.style.cssText; - Object.assign(element.style, style); - return () => { - element.style.cssText = prevStyle; - }; - }; - return orchestrate(element, 'style', setup); - } - function setCSSProperty(element, property, value) { - if (!element) return () => {}; - const setup = () => { - const previousValue = - element.style.getPropertyValue(property); - element.style.setProperty(property, value); - return () => { - if (previousValue) { - element.style.setProperty( - property, - previousValue - ); - } else { - element.style.removeProperty(property); - } - }; - }; - return orchestrate(element, property, setup); - } - - /***/ - }, - - /***/ './node_modules/@ariakit/react-core/esm/__chunks/K4R5DNTX.js': - /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/K4R5DNTX.js ***! - \*******************************************************************/ - /***/ function ( - __unused_webpack___webpack_module__, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ DisclosureContent: function () { - return /* binding */ DisclosureContent; - }, - /* harmony export */ isHidden: function () { - return /* binding */ isHidden; - }, - /* harmony export */ useDisclosureContent: function () { - return /* binding */ useDisclosureContent; - }, - /* harmony export */ - } - ); - /* harmony import */ var _T2AZQXQU_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./T2AZQXQU.js */ './node_modules/@ariakit/react-core/esm/__chunks/T2AZQXQU.js' - ); - /* harmony import */ var _ABN76PSX_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ./ABN76PSX.js */ './node_modules/@ariakit/react-core/esm/__chunks/ABN76PSX.js' - ); - /* harmony import */ var _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_2__ = - __webpack_require__( - /*! ./RTNCFSKZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/RTNCFSKZ.js' - ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__ = - __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' - ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__ = - __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' - ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__ = - __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' - ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__ = - __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' - ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = - __webpack_require__( - /*! react */ './node_modules/react/index.js' - ); - /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_8__ = - __webpack_require__( - /*! react-dom */ './node_modules/react-dom/index.js' - ); - /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = - __webpack_require__( - /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' - ); - ('use client'); - - // src/disclosure/disclosure-content.tsx - - var TagName = 'div'; - function afterTimeout(timeoutMs, cb) { - const timeoutId = setTimeout(cb, timeoutMs); - return () => clearTimeout(timeoutId); - } - function afterPaint(cb) { - let raf = requestAnimationFrame(() => { - raf = requestAnimationFrame(cb); - }); - return () => cancelAnimationFrame(raf); - } - function parseCSSTime(...times) { - return times - .join(', ') - .split(', ') - .reduce((longestTime, currentTimeString) => { - const multiplier = currentTimeString.endsWith('ms') - ? 1 - : 1e3; - const currentTime = - Number.parseFloat(currentTimeString || '0s') * - multiplier; - if (currentTime > longestTime) return currentTime; - return longestTime; - }, 0); - } - function isHidden(mounted, hidden, alwaysVisible) { - return ( - !alwaysVisible && - hidden !== false && - (!mounted || !!hidden) - ); - } - var useDisclosureContent = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__.createHook)( - function useDisclosureContent2(_a) { - var _b = _a, - { store, alwaysVisible } = _b, - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__objRest)( - _b, - ['store', 'alwaysVisible'] - ); - const context = (0, - _ABN76PSX_js__WEBPACK_IMPORTED_MODULE_1__.useDisclosureProviderContext)(); - store = store || context; - (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__.invariant)( + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__.invariant)( store, true && 'DisclosureContent must receive a `store` prop or be wrapped in a DisclosureProvider component.' ); const ref = (0, - react__WEBPACK_IMPORTED_MODULE_7__.useRef)(null); + react__WEBPACK_IMPORTED_MODULE_6__.useRef)(null); const id = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useId)( + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useId)( props.id ); const [transition, setTransition] = (0, - react__WEBPACK_IMPORTED_MODULE_7__.useState)(null); + react__WEBPACK_IMPORTED_MODULE_6__.useState)(null); const open = store.useState('open'); const mounted = store.useState('mounted'); const animated = store.useState('animated'); const contentElement = store.useState('contentElement'); const otherElement = (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_2__.useStoreState)( + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_2__.useStoreState)( store.disclosure, 'contentElement' ); (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useSafeLayoutEffect)(() => { + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useSafeLayoutEffect)(() => { if (!ref.current) return; store == null ? void 0 : store.setContentElement(ref.current); }, [store]); (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useSafeLayoutEffect)(() => { + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useSafeLayoutEffect)(() => { let previousAnimated; store == null ? void 0 @@ -13776,7 +13333,7 @@ If there's a particular need for this, please submit a feature request at https: }; }, [store]); (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useSafeLayoutEffect)(() => { + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useSafeLayoutEffect)(() => { if (!animated) return; if ( !(contentElement == null @@ -13793,7 +13350,7 @@ If there's a particular need for this, please submit a feature request at https: }); }, [animated, contentElement, open, mounted]); (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useSafeLayoutEffect)(() => { + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useSafeLayoutEffect)(() => { if (!store) return; if (!animated) return; if (!transition) return; @@ -13804,7 +13361,7 @@ If there's a particular need for this, please submit a feature request at https: : store.setState('animating', false); const stopAnimationSync = () => (0, - react_dom__WEBPACK_IMPORTED_MODULE_8__.flushSync)( + react_dom__WEBPACK_IMPORTED_MODULE_7__.flushSync)( stopAnimation ); if (transition === 'leave' && open) return; @@ -13862,12 +13419,12 @@ If there's a particular need for this, please submit a feature request at https: transition, ]); props = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useWrapElement)( + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useWrapElement)( props, (element) => /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)( - _T2AZQXQU_js__WEBPACK_IMPORTED_MODULE_0__.DialogScopedContextProvider, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)( + _63N3TCQX_js__WEBPACK_IMPORTED_MODULE_0__.DialogScopedContextProvider, { value: store, children: element } ), [store] @@ -13879,77 +13436,52 @@ If there's a particular need for this, please submit a feature request at https: ); const styleProp = props.style; const style = (0, - react__WEBPACK_IMPORTED_MODULE_7__.useMemo)(() => { + react__WEBPACK_IMPORTED_MODULE_6__.useMemo)(() => { if (hidden) { - return (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - {}, - styleProp - ), - { display: 'none' } - ); + return { ...styleProp, display: 'none' }; } return styleProp; }, [hidden, styleProp]); - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - { - id, - 'data-open': open || void 0, - 'data-enter': - transition === 'enter' || void 0, - 'data-leave': - transition === 'leave' || void 0, - hidden, - }, - props + props = { + id, + 'data-open': open || void 0, + 'data-enter': transition === 'enter' || void 0, + 'data-leave': transition === 'leave' || void 0, + hidden, + ...props, + ref: (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useMergeRefs)( + id ? store.setContentElement : null, + ref, + props.ref ), - { - ref: (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useMergeRefs)( - id ? store.setContentElement : null, - ref, - props.ref - ), - style, - } - ); + style, + }; return (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__.removeUndefinedValues)( + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__.removeUndefinedValues)( props ); } ); var DisclosureContentImpl = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__.forwardRef)( + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__.forwardRef)( function DisclosureContentImpl2(props) { const htmlProps = useDisclosureContent(props); return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__.createElement)( + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__.createElement)( TagName, htmlProps ); } ); var DisclosureContent = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__.forwardRef)( - function DisclosureContent2(_a) { - var _b = _a, - { unmountOnHide } = _b, - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__objRest)( - _b, - ['unmountOnHide'] - ); + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__.forwardRef)( + function DisclosureContent2({ unmountOnHide, ...props }) { const context = (0, - _ABN76PSX_js__WEBPACK_IMPORTED_MODULE_1__.useDisclosureProviderContext)(); + _FFSBKSAM_js__WEBPACK_IMPORTED_MODULE_1__.useDisclosureProviderContext)(); const store = props.store || context; const mounted = (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_2__.useStoreState)( + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_2__.useStoreState)( store, (state) => !unmountOnHide || @@ -13957,13 +13489,9 @@ If there's a particular need for this, please submit a feature request at https: ); if (mounted === false) return null; return /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)( + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)( DisclosureContentImpl, - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - {}, - props - ) + { ...props } ); } ); @@ -13971,9 +13499,9 @@ If there's a particular need for this, please submit a feature request at https: /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/KPSSTU6K.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/HIN2NSI2.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/KPSSTU6K.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/HIN2NSI2.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -13985,62 +13513,149 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ useCheckboxStore: function () { - return /* binding */ useCheckboxStore; + /* harmony export */ Role: function () { + return /* binding */ Role; + }, + /* harmony export */ useRole: function () { + return /* binding */ useRole; }, - /* harmony export */ useCheckboxStoreProps: - function () { - return /* binding */ useCheckboxStoreProps; - }, /* harmony export */ } ); - /* harmony import */ var _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./RTNCFSKZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/RTNCFSKZ.js' + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_1__ = + ('use client'); + + // src/role/role.tsx + var TagName = 'div'; + var elements = [ + 'a', + 'button', + 'details', + 'dialog', + 'div', + 'form', + 'h1', + 'h2', + 'h3', + 'h4', + 'h5', + 'h6', + 'header', + 'img', + 'input', + 'label', + 'li', + 'nav', + 'ol', + 'p', + 'section', + 'select', + 'span', + 'summary', + 'textarea', + 'ul', + 'svg', + ]; + var useRole = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_0__.createHook)( + function useRole2(props) { + return props; + } + ); + var Role = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_0__.forwardRef)( + // @ts-expect-error + function Role2(props) { + return (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_0__.createElement)( + TagName, + props + ); + } + ); + Object.assign( + Role, + elements.reduce((acc, element) => { + acc[element] = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_0__.forwardRef)( + function Role3(props) { + return (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_0__.createElement)( + element, + props + ); + } + ); + return acc; + }, {}) + ); + + /***/ + }, + + /***/ './node_modules/@ariakit/react-core/esm/__chunks/HLTQOHKZ.js': + /*!*******************************************************************!*\ + !*** ./node_modules/@ariakit/react-core/esm/__chunks/HLTQOHKZ.js ***! + \*******************************************************************/ + /***/ function ( + __unused_webpack___webpack_module__, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ usePreviousMouseDownRef: + function () { + return /* binding */ usePreviousMouseDownRef; + }, + /* harmony export */ + } + ); + /* harmony import */ var _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! @ariakit/core/utils/events */ './node_modules/@ariakit/core/esm/utils/events.js' ); - /* harmony import */ var _ariakit_core_checkbox_checkbox_store__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! @ariakit/core/checkbox/checkbox-store */ './node_modules/@ariakit/core/esm/checkbox/checkbox-store.js' + /*! react */ './node_modules/react/index.js' ); ('use client'); - // src/checkbox/checkbox-store.ts + // src/dialog/utils/use-previous-mouse-down-ref.ts - function useCheckboxStoreProps(store, update, props) { - (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_1__.useUpdateEffect)( - update, - [props.store] - ); - (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_0__.useStoreProps)( - store, - props, - 'value', - 'setValue' - ); - return store; - } - function useCheckboxStore(props = {}) { - const [store, update] = (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_0__.useStore)( - _ariakit_core_checkbox_checkbox_store__WEBPACK_IMPORTED_MODULE_2__.createCheckboxStore, - props - ); - return useCheckboxStoreProps(store, update, props); + function usePreviousMouseDownRef(enabled) { + const previousMouseDownRef = (0, + react__WEBPACK_IMPORTED_MODULE_1__.useRef)(); + (0, react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => { + if (!enabled) { + previousMouseDownRef.current = null; + return; + } + const onMouseDown = (event) => { + previousMouseDownRef.current = event.target; + }; + return (0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_0__.addGlobalEventListener)( + 'mousedown', + onMouseDown, + true + ); + }, [enabled]); + return previousMouseDownRef; } /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/KPUWHTQJ.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/IAC2O6VC.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/KPUWHTQJ.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/IAC2O6VC.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -14052,300 +13667,134 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ Checkbox: function () { - return /* binding */ Checkbox; - }, - /* harmony export */ useCheckbox: function () { - return /* binding */ useCheckbox; + /* harmony export */ useHovercardStore: function () { + return /* binding */ useHovercardStore; }, + /* harmony export */ useHovercardStoreProps: + function () { + return /* binding */ useHovercardStoreProps; + }, /* harmony export */ } ); - /* harmony import */ var _2W3RN7C5_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./2W3RN7C5.js */ './node_modules/@ariakit/react-core/esm/__chunks/2W3RN7C5.js' - ); - /* harmony import */ var _EYKMH5G5_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _6RB43CMC_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./EYKMH5G5.js */ './node_modules/@ariakit/react-core/esm/__chunks/EYKMH5G5.js' + /*! ./6RB43CMC.js */ './node_modules/@ariakit/react-core/esm/__chunks/6RB43CMC.js' ); - /* harmony import */ var _WWPIG7YG_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./WWPIG7YG.js */ './node_modules/@ariakit/react-core/esm/__chunks/WWPIG7YG.js' + /*! ./Q3KUZPD7.js */ './node_modules/@ariakit/react-core/esm/__chunks/Q3KUZPD7.js' ); - /* harmony import */ var _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _ariakit_core_hovercard_hovercard_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ./RTNCFSKZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/RTNCFSKZ.js' + /*! @ariakit/core/hovercard/hovercard-store */ './node_modules/@ariakit/core/esm/__chunks/TIQDSBWP.js' ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_4__ = - __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + ('use client'); + + // src/hovercard/hovercard-store.ts + + function useHovercardStoreProps(store, update, props) { + (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_1__.useStoreProps)( + store, + props, + 'timeout' ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_5__ = - __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_1__.useStoreProps)( + store, + props, + 'showTimeout' ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__ = - __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' + (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_1__.useStoreProps)( + store, + props, + 'hideTimeout' ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_7__ = - __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + return (0, + _6RB43CMC_js__WEBPACK_IMPORTED_MODULE_0__.usePopoverStoreProps)( + store, + update, + props ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8__ = + } + function useHovercardStore(props = {}) { + const [store, update] = (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_1__.useStore)( + _ariakit_core_hovercard_hovercard_store__WEBPACK_IMPORTED_MODULE_2__.createHovercardStore, + props + ); + return useHovercardStoreProps(store, update, props); + } + + /***/ + }, + + /***/ './node_modules/@ariakit/react-core/esm/__chunks/IEBFIEPB.js': + /*!*******************************************************************!*\ + !*** ./node_modules/@ariakit/react-core/esm/__chunks/IEBFIEPB.js ***! + \*******************************************************************/ + /***/ function ( + __unused_webpack___webpack_module__, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ FocusTrap: function () { + return /* binding */ FocusTrap; + }, + /* harmony export */ useFocusTrap: function () { + return /* binding */ useFocusTrap; + }, + /* harmony export */ + } + ); + /* harmony import */ var _RBTTLCIN_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! react */ './node_modules/react/index.js' + /*! ./RBTTLCIN.js */ './node_modules/@ariakit/react-core/esm/__chunks/RBTTLCIN.js' ); - /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); ('use client'); - // src/checkbox/checkbox.tsx - - var TagName = 'input'; - function setMixed(element, mixed) { - if (mixed) { - element.indeterminate = true; - } else if (element.indeterminate) { - element.indeterminate = false; - } - } - function isNativeCheckbox(tagName, type) { - return ( - tagName === 'input' && (!type || type === 'checkbox') - ); - } - function getPrimitiveValue(value) { - if (Array.isArray(value)) { - return value.toString(); - } - return value; - } - var useCheckbox = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_4__.createHook)( - function useCheckbox2(_a) { - var _b = _a, - { - store, - name, - value: valueProp, - checked: checkedProp, - defaultChecked, - } = _b, - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__.__objRest)( - _b, - [ - 'store', - 'name', - 'value', - 'checked', - 'defaultChecked', - ] - ); - const context = (0, - _WWPIG7YG_js__WEBPACK_IMPORTED_MODULE_2__.useCheckboxContext)(); - store = store || context; - const [_checked, setChecked] = (0, - react__WEBPACK_IMPORTED_MODULE_8__.useState)( - defaultChecked != null ? defaultChecked : false - ); - const checked = (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_3__.useStoreState)( - store, - (state) => { - if (checkedProp !== void 0) return checkedProp; - if ( - (state == null ? void 0 : state.value) === - void 0 - ) - return _checked; - if (valueProp != null) { - if (Array.isArray(state.value)) { - const primitiveValue = - getPrimitiveValue(valueProp); - return state.value.includes( - primitiveValue - ); - } - return state.value === valueProp; - } - if (Array.isArray(state.value)) return false; - if (typeof state.value === 'boolean') - return state.value; - return false; - } - ); - const ref = (0, - react__WEBPACK_IMPORTED_MODULE_8__.useRef)(null); - const tagName = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_5__.useTagName)( - ref, - TagName - ); - const nativeCheckbox = isNativeCheckbox( - tagName, - props.type - ); - const mixed = checked ? checked === 'mixed' : void 0; - const isChecked = checked === 'mixed' ? false : checked; - const disabled = (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_7__.disabledFromProps)( - props - ); - const [propertyUpdated, schedulePropertyUpdate] = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_5__.useForceUpdate)(); - (0, - react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(() => { - const element = ref.current; - if (!element) return; - setMixed(element, mixed); - if (nativeCheckbox) return; - element.checked = isChecked; - if (name !== void 0) { - element.name = name; - } - if (valueProp !== void 0) { - element.value = `${valueProp}`; - } - }, [ - propertyUpdated, - mixed, - nativeCheckbox, - isChecked, - name, - valueProp, - ]); - const onChangeProp = props.onChange; - const onChange = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_5__.useEvent)( - (event) => { - if (disabled) { - event.stopPropagation(); - event.preventDefault(); - return; - } - setMixed(event.currentTarget, mixed); - if (!nativeCheckbox) { - event.currentTarget.checked = - !event.currentTarget.checked; - schedulePropertyUpdate(); - } - onChangeProp == null - ? void 0 - : onChangeProp(event); - if (event.defaultPrevented) return; - const elementChecked = - event.currentTarget.checked; - setChecked(elementChecked); - store == null - ? void 0 - : store.setValue((prevValue) => { - if (valueProp == null) - return elementChecked; - const primitiveValue = - getPrimitiveValue(valueProp); - if (!Array.isArray(prevValue)) { - return prevValue === - primitiveValue - ? false - : primitiveValue; - } - if (elementChecked) { - if ( - prevValue.includes( - primitiveValue - ) - ) { - return prevValue; - } - return [ - ...prevValue, - primitiveValue, - ]; - } - return prevValue.filter( - (v) => v !== primitiveValue - ); - }); - } - ); - const onClickProp = props.onClick; - const onClick = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_5__.useEvent)( - (event) => { - onClickProp == null - ? void 0 - : onClickProp(event); - if (event.defaultPrevented) return; - if (nativeCheckbox) return; - onChange(event); - } - ); - props = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_5__.useWrapElement)( - props, - (element) => - /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)( - _EYKMH5G5_js__WEBPACK_IMPORTED_MODULE_1__ - .CheckboxCheckedContext.Provider, - { value: isChecked, children: element } - ), - [isChecked] - ); - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__.__spreadValues)( - { - role: !nativeCheckbox ? 'checkbox' : void 0, - type: nativeCheckbox ? 'checkbox' : void 0, - 'aria-checked': checked, - }, - props - ), - { - ref: (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_5__.useMergeRefs)( - ref, - props.ref - ), - onChange, - onClick, - } - ); + // src/focus-trap/focus-trap.tsx + var TagName = 'span'; + var useFocusTrap = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createHook)( + function useFocusTrap2(props) { + props = { + 'data-focus-trap': '', + tabIndex: 0, + 'aria-hidden': true, + ...props, + style: { + // Prevents unintended scroll jumps. + position: 'fixed', + top: 0, + left: 0, + ...props.style, + }, + }; props = (0, - _2W3RN7C5_js__WEBPACK_IMPORTED_MODULE_0__.useCommand)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__.__spreadValues)( - { clickOnEnter: !nativeCheckbox }, - props - ) - ); - return (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_7__.removeUndefinedValues)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__.__spreadValues)( - { - name: nativeCheckbox ? name : void 0, - value: nativeCheckbox ? valueProp : void 0, - checked: isChecked, - }, - props - ) + _RBTTLCIN_js__WEBPACK_IMPORTED_MODULE_0__.useVisuallyHidden)( + props ); + return props; } ); - var Checkbox = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_4__.forwardRef)( - function Checkbox2(props) { - const htmlProps = useCheckbox(props); + var FocusTrap = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.forwardRef)( + function FocusTrap2(props) { + const htmlProps = useFocusTrap(props); return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_4__.createElement)( + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createElement)( TagName, htmlProps ); @@ -14355,9 +13804,9 @@ If there's a particular need for this, please submit a feature request at https: /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/L3J7PHFC.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/IGR4SXG2.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/L3J7PHFC.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/IGR4SXG2.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -14369,60 +13818,30 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ TooltipContextProvider: - function () { - return /* binding */ TooltipContextProvider; - }, - /* harmony export */ TooltipScopedContextProvider: - function () { - return /* binding */ TooltipScopedContextProvider; - }, - /* harmony export */ useTooltipContext: function () { - return /* binding */ useTooltipContext; + /* harmony export */ isFocusTrap: function () { + return /* binding */ isFocusTrap; }, - /* harmony export */ useTooltipProviderContext: - function () { - return /* binding */ useTooltipProviderContext; - }, - /* harmony export */ useTooltipScopedContext: - function () { - return /* binding */ useTooltipScopedContext; - }, /* harmony export */ } ); - /* harmony import */ var _7Z7JH52O_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./7Z7JH52O.js */ './node_modules/@ariakit/react-core/esm/__chunks/7Z7JH52O.js' - ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' - ); ('use client'); - // src/tooltip/tooltip-context.tsx - var ctx = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createStoreContext)( - [ - _7Z7JH52O_js__WEBPACK_IMPORTED_MODULE_0__.HovercardContextProvider, - ], - [ - _7Z7JH52O_js__WEBPACK_IMPORTED_MODULE_0__.HovercardScopedContextProvider, - ] - ); - var useTooltipContext = ctx.useContext; - var useTooltipScopedContext = ctx.useScopedContext; - var useTooltipProviderContext = ctx.useProviderContext; - var TooltipContextProvider = ctx.ContextProvider; - var TooltipScopedContextProvider = ctx.ScopedContextProvider; + // src/dialog/utils/is-focus-trap.ts + function isFocusTrap(element, ...ids) { + if (!element) return false; + const attr = element.getAttribute('data-focus-trap'); + if (attr == null) return false; + if (!ids.length) return true; + if (attr === '') return false; + return ids.some((id) => attr === id); + } /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/LC6GJMGV.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/LC6GJMGV.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -14434,87 +13853,190 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ FocusableContainer: function () { - return /* binding */ FocusableContainer; + /* harmony export */ createElement: function () { + return /* binding */ createElement; + }, + /* harmony export */ createHook: function () { + return /* binding */ createHook; + }, + /* harmony export */ createStoreContext: function () { + return /* binding */ createStoreContext; + }, + /* harmony export */ forwardRef: function () { + return /* binding */ forwardRef2; + }, + /* harmony export */ memo: function () { + return /* binding */ memo2; }, - /* harmony export */ useFocusableContainer: - function () { - return /* binding */ useFocusableContainer; - }, /* harmony export */ } ); - /* harmony import */ var _SWN3JYXT_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./SWN3JYXT.js */ './node_modules/@ariakit/react-core/esm/__chunks/SWN3JYXT.js' - ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _YXGXYGQX_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! ./YXGXYGQX.js */ './node_modules/@ariakit/react-core/esm/__chunks/YXGXYGQX.js' ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' + /*! react */ './node_modules/react/index.js' ); - /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' ); ('use client'); - // src/focusable/focusable-container.tsx + // src/utils/system.tsx - var TagName = 'div'; - var useFocusableContainer = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createHook)( - function useFocusableContainer2(_a) { - var _b = _a, - { autoFocusOnShow = true } = _b, - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__objRest)( - _b, - ['autoFocusOnShow'] + function forwardRef2(render) { + const Role = react__WEBPACK_IMPORTED_MODULE_2__.forwardRef( + (props, ref) => render({ ...props, ref }) + ); + Role.displayName = render.displayName || render.name; + return Role; + } + function memo2(Component, propsAreEqual) { + return react__WEBPACK_IMPORTED_MODULE_2__.memo( + Component, + propsAreEqual + ); + } + function createElement(Type, props) { + const { wrapElement, render, ...rest } = props; + const mergedRef = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_0__.useMergeRefs)( + props.ref, + (0, + _YXGXYGQX_js__WEBPACK_IMPORTED_MODULE_1__.getRefProperty)( + render + ) + ); + let element; + if ( + react__WEBPACK_IMPORTED_MODULE_2__.isValidElement( + render + ) + ) { + const renderProps = { ...render.props, ref: mergedRef }; + element = + react__WEBPACK_IMPORTED_MODULE_2__.cloneElement( + render, + (0, + _YXGXYGQX_js__WEBPACK_IMPORTED_MODULE_1__.mergeProps)( + rest, + renderProps + ) ); - props = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__.useWrapElement)( - props, - (element) => + } else if (render) { + element = render(rest); + } else { + element = /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)( + Type, + { ...rest } + ); + } + if (wrapElement) { + return wrapElement(element); + } + return element; + } + function createHook(useProps) { + const useRole = (props = {}) => { + return useProps(props); + }; + useRole.displayName = useProps.name; + return useRole; + } + function createStoreContext( + providers = [], + scopedProviders = [] + ) { + const context = + react__WEBPACK_IMPORTED_MODULE_2__.createContext( + void 0 + ); + const scopedContext = + react__WEBPACK_IMPORTED_MODULE_2__.createContext( + void 0 + ); + const useContext2 = () => + react__WEBPACK_IMPORTED_MODULE_2__.useContext(context); + const useScopedContext = (onlyScoped = false) => { + const scoped = + react__WEBPACK_IMPORTED_MODULE_2__.useContext( + scopedContext + ); + const store = useContext2(); + if (onlyScoped) return scoped; + return scoped || store; + }; + const useProviderContext = () => { + const scoped = + react__WEBPACK_IMPORTED_MODULE_2__.useContext( + scopedContext + ); + const store = useContext2(); + if (scoped && scoped === store) return; + return store; + }; + const ContextProvider = (props) => { + return providers.reduceRight( + (children, Provider) => /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)( - _SWN3JYXT_js__WEBPACK_IMPORTED_MODULE_0__ - .FocusableContext.Provider, - { - value: autoFocusOnShow, - children: element, - } + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)( + Provider, + { ...props, children } ), - [autoFocusOnShow] + /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)( + context.Provider, + { ...props } + ) ); - return props; - } - ); - var FocusableContainer = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.forwardRef)( - function FocusableContainer2(props) { - const htmlProps = useFocusableContainer(props); - return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createElement)( - TagName, - htmlProps + }; + const ScopedContextProvider = (props) => { + return /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)( + ContextProvider, + { + ...props, + children: scopedProviders.reduceRight( + (children, Provider) => + /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)( + Provider, + { ...props, children } + ), + /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)( + scopedContext.Provider, + { ...props } + ) + ), + } ); - } - ); + }; + return { + context, + scopedContext, + useContext: useContext2, + useScopedContext, + useProviderContext, + ContextProvider, + ScopedContextProvider, + }; + } /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/LM7KIZUU.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/IUIPXKOL.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/LM7KIZUU.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/IUIPXKOL.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -14526,82 +14048,73 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ SelectContextProvider: - function () { - return /* binding */ SelectContextProvider; - }, - /* harmony export */ SelectHeadingContext: function () { - return /* binding */ SelectHeadingContext; + /* harmony export */ TagContextProvider: function () { + return /* binding */ TagContextProvider; }, - /* harmony export */ SelectItemCheckedContext: - function () { - return /* binding */ SelectItemCheckedContext; - }, - /* harmony export */ SelectScopedContextProvider: - function () { - return /* binding */ SelectScopedContextProvider; - }, - /* harmony export */ useSelectContext: function () { - return /* binding */ useSelectContext; + /* harmony export */ TagRemoveIdContext: function () { + return /* binding */ TagRemoveIdContext; }, - /* harmony export */ useSelectProviderContext: + /* harmony export */ TagScopedContextProvider: function () { - return /* binding */ useSelectProviderContext; + return /* binding */ TagScopedContextProvider; }, - /* harmony export */ useSelectScopedContext: + /* harmony export */ TagValueContext: function () { + return /* binding */ TagValueContext; + }, + /* harmony export */ useTagContext: function () { + return /* binding */ useTagContext; + }, + /* harmony export */ useTagProviderContext: function () { - return /* binding */ useSelectScopedContext; + return /* binding */ useTagProviderContext; }, + /* harmony export */ useTagScopedContext: function () { + return /* binding */ useTagScopedContext; + }, /* harmony export */ } ); - /* harmony import */ var _Y67KZUMI_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./Y67KZUMI.js */ './node_modules/@ariakit/react-core/esm/__chunks/Y67KZUMI.js' + /*! ./72IB6YNO.js */ './node_modules/@ariakit/react-core/esm/__chunks/72IB6YNO.js' ); - /* harmony import */ var _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./APTFW6PT.js */ './node_modules/@ariakit/react-core/esm/__chunks/APTFW6PT.js' + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__ = - __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' - ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( /*! react */ './node_modules/react/index.js' ); ('use client'); - // src/select/select-context.tsx + // src/tag/tag-context.tsx + var TagValueContext = (0, + react__WEBPACK_IMPORTED_MODULE_2__.createContext)(null); + var TagRemoveIdContext = (0, + react__WEBPACK_IMPORTED_MODULE_2__.createContext)(null); var ctx = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.createStoreContext)( + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createStoreContext)( [ - _Y67KZUMI_js__WEBPACK_IMPORTED_MODULE_0__.PopoverContextProvider, - _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_1__.CompositeContextProvider, + _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_0__.CompositeContextProvider, ], [ - _Y67KZUMI_js__WEBPACK_IMPORTED_MODULE_0__.PopoverScopedContextProvider, - _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_1__.CompositeScopedContextProvider, + _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_0__.CompositeScopedContextProvider, ] ); - var useSelectContext = ctx.useContext; - var useSelectScopedContext = ctx.useScopedContext; - var useSelectProviderContext = ctx.useProviderContext; - var SelectContextProvider = ctx.ContextProvider; - var SelectScopedContextProvider = ctx.ScopedContextProvider; - var SelectItemCheckedContext = (0, - react__WEBPACK_IMPORTED_MODULE_3__.createContext)(false); - var SelectHeadingContext = (0, - react__WEBPACK_IMPORTED_MODULE_3__.createContext)(null); + var useTagContext = ctx.useContext; + var useTagScopedContext = ctx.useScopedContext; + var useTagProviderContext = ctx.useProviderContext; + var TagContextProvider = ctx.ContextProvider; + var TagScopedContextProvider = ctx.ScopedContextProvider; /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/M5DFOEFU.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/J4DPQC5Y.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/M5DFOEFU.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/J4DPQC5Y.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -14613,524 +14126,94 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ Portal: function () { - return /* binding */ Portal; + /* harmony export */ Button: function () { + return /* binding */ Button; }, - /* harmony export */ usePortal: function () { - return /* binding */ usePortal; + /* harmony export */ useButton: function () { + return /* binding */ useButton; }, /* harmony export */ } ); - /* harmony import */ var _AOQQTIBO_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./AOQQTIBO.js */ './node_modules/@ariakit/react-core/esm/__chunks/AOQQTIBO.js' - ); - /* harmony import */ var _S2F2XXEH_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _WJ7PHYH7_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./S2F2XXEH.js */ './node_modules/@ariakit/react-core/esm/__chunks/S2F2XXEH.js' + /*! ./WJ7PHYH7.js */ './node_modules/@ariakit/react-core/esm/__chunks/WJ7PHYH7.js' ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var _SK3NAZA3_js__WEBPACK_IMPORTED_MODULE_4__ = - __webpack_require__( - /*! ./SK3NAZA3.js */ './node_modules/@ariakit/react-core/esm/__chunks/SK3NAZA3.js' - ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__ = - __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' - ); - /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_6__ = + /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( /*! @ariakit/core/utils/dom */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' ); - /* harmony import */ var _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__ = - __webpack_require__( - /*! @ariakit/core/utils/events */ './node_modules/@ariakit/core/esm/utils/events.js' - ); - /* harmony import */ var _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_8__ = - __webpack_require__( - /*! @ariakit/core/utils/focus */ './node_modules/@ariakit/core/esm/utils/focus.js' - ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_9__ = + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( /*! react */ './node_modules/react/index.js' ); - /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_10__ = - __webpack_require__( - /*! react-dom */ './node_modules/react-dom/index.js' - ); - /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__ = - __webpack_require__( - /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' - ); ('use client'); - // src/portal/portal.tsx + // src/button/button.tsx - var TagName = 'div'; - function getRootElement(element) { - return (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_6__.getDocument)( - element - ).body; - } - function getPortalElement(element, portalElement) { - if (!portalElement) { - return (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_6__.getDocument)( - element - ).createElement('div'); - } - if (typeof portalElement === 'function') { - return portalElement(element); - } - return portalElement; - } - function getRandomId(prefix = 'id') { - return `${prefix ? `${prefix}-` : ''}${Math.random().toString(36).slice(2, 8)}`; - } - function queueFocus(element) { - queueMicrotask(() => { - element == null ? void 0 : element.focus(); - }); - } - var usePortal = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.createHook)( - function usePortal2(_a) { - var _b = _a, - { - preserveTabOrder, - preserveTabOrderAnchor, - portalElement, - portalRef, - portal = true, - } = _b, - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__objRest)( - _b, - [ - 'preserveTabOrder', - 'preserveTabOrderAnchor', - 'portalElement', - 'portalRef', - 'portal', - ] - ); + var TagName = 'button'; + var useButton = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createHook)( + function useButton2(props) { const ref = (0, - react__WEBPACK_IMPORTED_MODULE_9__.useRef)(null); - const refProp = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__.useMergeRefs)( + react__WEBPACK_IMPORTED_MODULE_4__.useRef)(null); + const tagName = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__.useTagName)( ref, - props.ref + TagName ); - const context = (0, - react__WEBPACK_IMPORTED_MODULE_9__.useContext)( - _AOQQTIBO_js__WEBPACK_IMPORTED_MODULE_0__.PortalContext + const [isNativeButton, setIsNativeButton] = (0, + react__WEBPACK_IMPORTED_MODULE_4__.useState)( + () => + !!tagName && + (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_3__.isButton)( + { tagName, type: props.type } + ) ); - const [portalNode, setPortalNode] = (0, - react__WEBPACK_IMPORTED_MODULE_9__.useState)(null); - const [anchorPortalNode, setAnchorPortalNode] = (0, - react__WEBPACK_IMPORTED_MODULE_9__.useState)(null); - const outerBeforeRef = (0, - react__WEBPACK_IMPORTED_MODULE_9__.useRef)(null); - const innerBeforeRef = (0, - react__WEBPACK_IMPORTED_MODULE_9__.useRef)(null); - const innerAfterRef = (0, - react__WEBPACK_IMPORTED_MODULE_9__.useRef)(null); - const outerAfterRef = (0, - react__WEBPACK_IMPORTED_MODULE_9__.useRef)(null); (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__.useSafeLayoutEffect)(() => { - const element = ref.current; - if (!element || !portal) { - setPortalNode(null); - return; - } - const portalEl = getPortalElement( - element, - portalElement - ); - if (!portalEl) { - setPortalNode(null); - return; - } - const isPortalInDocument = portalEl.isConnected; - if (!isPortalInDocument) { - const rootElement = - context || getRootElement(element); - rootElement.appendChild(portalEl); - } - if (!portalEl.id) { - portalEl.id = element.id - ? `portal/${element.id}` - : getRandomId(); - } - setPortalNode(portalEl); - (0, - _SK3NAZA3_js__WEBPACK_IMPORTED_MODULE_4__.setRef)( - portalRef, - portalEl - ); - if (isPortalInDocument) return; - return () => { - portalEl.remove(); + react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => { + if (!ref.current) return; + setIsNativeButton( (0, - _SK3NAZA3_js__WEBPACK_IMPORTED_MODULE_4__.setRef)( - portalRef, - null - ); - }; - }, [portal, portalElement, context, portalRef]); - (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__.useSafeLayoutEffect)(() => { - if (!portal) return; - if (!preserveTabOrder) return; - if (!preserveTabOrderAnchor) return; - const doc = (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_6__.getDocument)( - preserveTabOrderAnchor - ); - const element = doc.createElement('span'); - element.style.position = 'fixed'; - preserveTabOrderAnchor.insertAdjacentElement( - 'afterend', - element - ); - setAnchorPortalNode(element); - return () => { - element.remove(); - setAnchorPortalNode(null); - }; - }, [portal, preserveTabOrder, preserveTabOrderAnchor]); - (0, - react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(() => { - if (!portalNode) return; - if (!preserveTabOrder) return; - let raf = 0; - const onFocus = (event) => { - if ( - !(0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__.isFocusEventOutside)( - event - ) + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_3__.isButton)( + ref.current ) - return; - const focusing = event.type === 'focusin'; - cancelAnimationFrame(raf); - if (focusing) { - return (0, - _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_8__.restoreFocusIn)( - portalNode - ); - } - raf = requestAnimationFrame(() => { - (0, - _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_8__.disableFocusIn)( - portalNode, - true - ); - }); - }; - portalNode.addEventListener( - 'focusin', - onFocus, - true - ); - portalNode.addEventListener( - 'focusout', - onFocus, - true ); - return () => { - cancelAnimationFrame(raf); - portalNode.removeEventListener( - 'focusin', - onFocus, - true - ); - portalNode.removeEventListener( - 'focusout', - onFocus, - true - ); - }; - }, [portalNode, preserveTabOrder]); - props = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__.useWrapElement)( - props, - (element) => { - element = // While the portal node is not in the DOM, we need to pass the - // current context to the portal context, otherwise it's going to - // reset to the body element on nested portals. - /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)( - _AOQQTIBO_js__WEBPACK_IMPORTED_MODULE_0__ - .PortalContext.Provider, - { - value: portalNode || context, - children: element, - } - ); - if (!portal) return element; - if (!portalNode) { - return /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)( - 'span', - { - ref: refProp, - id: props.id, - style: { position: 'fixed' }, - hidden: true, - } - ); - } - element = /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)( - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.Fragment, - { - children: [ - preserveTabOrder && - portalNode && - /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)( - _S2F2XXEH_js__WEBPACK_IMPORTED_MODULE_1__.FocusTrap, - { - ref: innerBeforeRef, - 'data-focus-trap': - props.id, - className: - '__focus-trap-inner-before', - onFocus: (event) => { - if ( - (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__.isFocusEventOutside)( - event, - portalNode - ) - ) { - queueFocus( - (0, - _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_8__.getNextTabbable)() - ); - } else { - queueFocus( - outerBeforeRef.current - ); - } - }, - } - ), - element, - preserveTabOrder && - portalNode && - /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)( - _S2F2XXEH_js__WEBPACK_IMPORTED_MODULE_1__.FocusTrap, - { - ref: innerAfterRef, - 'data-focus-trap': - props.id, - className: - '__focus-trap-inner-after', - onFocus: (event) => { - if ( - (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__.isFocusEventOutside)( - event, - portalNode - ) - ) { - queueFocus( - (0, - _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_8__.getPreviousTabbable)() - ); - } else { - queueFocus( - outerAfterRef.current - ); - } - }, - } - ), - ], - } - ); - if (portalNode) { - element = (0, - react_dom__WEBPACK_IMPORTED_MODULE_10__.createPortal)( - element, - portalNode - ); - } - let preserveTabOrderElement = - /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)( - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.Fragment, - { - children: [ - preserveTabOrder && - portalNode && - /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)( - _S2F2XXEH_js__WEBPACK_IMPORTED_MODULE_1__.FocusTrap, - { - ref: outerBeforeRef, - 'data-focus-trap': - props.id, - className: - '__focus-trap-outer-before', - onFocus: ( - event - ) => { - const fromOuter = - event.relatedTarget === - outerAfterRef.current; - if ( - !fromOuter && - (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__.isFocusEventOutside)( - event, - portalNode - ) - ) { - queueFocus( - innerBeforeRef.current - ); - } else { - queueFocus( - (0, - _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_8__.getPreviousTabbable)() - ); - } - }, - } - ), - preserveTabOrder && // We're using position: fixed here so that the browser doesn't - // add margin to the element when setting gap on a parent element. - /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)( - 'span', - { - 'aria-owns': - portalNode == - null - ? void 0 - : portalNode.id, - style: { - position: - 'fixed', - }, - } - ), - preserveTabOrder && - portalNode && - /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)( - _S2F2XXEH_js__WEBPACK_IMPORTED_MODULE_1__.FocusTrap, - { - ref: outerAfterRef, - 'data-focus-trap': - props.id, - className: - '__focus-trap-outer-after', - onFocus: ( - event - ) => { - if ( - (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__.isFocusEventOutside)( - event, - portalNode - ) - ) { - queueFocus( - innerAfterRef.current - ); - } else { - const nextTabbable = - (0, - _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_8__.getNextTabbable)(); - if ( - nextTabbable === - innerBeforeRef.current - ) { - requestAnimationFrame( - () => { - var _a2; - return (_a2 = - (0, - _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_8__.getNextTabbable)()) == - null - ? void 0 - : _a2.focus(); - } - ); - return; - } - queueFocus( - nextTabbable - ); - } - }, - } - ), - ], - } - ); - if (anchorPortalNode && preserveTabOrder) { - preserveTabOrderElement = (0, - react_dom__WEBPACK_IMPORTED_MODULE_10__.createPortal)( - preserveTabOrderElement, - anchorPortalNode - ); - } - return /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)( - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.Fragment, - { - children: [ - preserveTabOrderElement, - element, - ], - } - ); - }, - [ - portalNode, - context, - portal, - props.id, - preserveTabOrder, - anchorPortalNode, - ] - ); - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - {}, - props + }, []); + props = { + role: + !isNativeButton && tagName !== 'a' + ? 'button' + : void 0, + ...props, + ref: (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__.useMergeRefs)( + ref, + props.ref ), - { - ref: refProp, - } + }; + props = (0, + _WJ7PHYH7_js__WEBPACK_IMPORTED_MODULE_0__.useCommand)( + props ); return props; } ); - var Portal = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.forwardRef)( - function Portal2(props) { - const htmlProps = usePortal(props); + var Button = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.forwardRef)( + function Button2(props) { + const htmlProps = useButton(props); return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.createElement)( + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createElement)( TagName, htmlProps ); @@ -15140,9 +14223,9 @@ If there's a particular need for this, please submit a feature request at https: /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/MNJRSAAC.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/MNJRSAAC.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -15150,222 +14233,555 @@ If there's a particular need for this, please submit a feature request at https: __webpack_require__ ) { 'use strict'; + var react__WEBPACK_IMPORTED_MODULE_3___namespace_cache; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ ComboboxList: function () { - return /* binding */ ComboboxList; + /* harmony export */ useAttribute: function () { + return /* binding */ useAttribute; }, - /* harmony export */ useComboboxList: function () { - return /* binding */ useComboboxList; + /* harmony export */ useBooleanEvent: function () { + return /* binding */ useBooleanEvent; }, - /* harmony export */ - } - ); - /* harmony import */ var _K4R5DNTX_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./K4R5DNTX.js */ './node_modules/@ariakit/react-core/esm/__chunks/K4R5DNTX.js' - ); - /* harmony import */ var _OLVWQA7U_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ./OLVWQA7U.js */ './node_modules/@ariakit/react-core/esm/__chunks/OLVWQA7U.js' - ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__ = - __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' - ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__ = - __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' - ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__ = - __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' - ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__ = - __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' - ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = - __webpack_require__( - /*! react */ './node_modules/react/index.js' - ); - /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__ = - __webpack_require__( - /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' - ); - ('use client'); - - // src/combobox/combobox-list.tsx - - var TagName = 'div'; - var useComboboxList = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.createHook)( - function useComboboxList2(_a) { - var _b = _a, - { store, alwaysVisible } = _b, - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__objRest)( - _b, - ['store', 'alwaysVisible'] - ); - const scopedContext = (0, - _OLVWQA7U_js__WEBPACK_IMPORTED_MODULE_1__.useComboboxScopedContext)( - true - ); - const context = (0, - _OLVWQA7U_js__WEBPACK_IMPORTED_MODULE_1__.useComboboxContext)(); - store = store || context; - const scopedContextSameStore = - !!store && store === scopedContext; - (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__.invariant)( - store, - true && - 'ComboboxList must receive a `store` prop or be wrapped in a ComboboxProvider component.' - ); - const ref = (0, - react__WEBPACK_IMPORTED_MODULE_6__.useRef)(null); - const id = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__.useId)( - props.id + /* harmony export */ useDeferredValue: function () { + return /* binding */ useDeferredValue; + }, + /* harmony export */ useEvent: function () { + return /* binding */ useEvent; + }, + /* harmony export */ useForceUpdate: function () { + return /* binding */ useForceUpdate; + }, + /* harmony export */ useId: function () { + return /* binding */ useId; + }, + /* harmony export */ useInitialValue: function () { + return /* binding */ useInitialValue; + }, + /* harmony export */ useIsMouseMoving: function () { + return /* binding */ useIsMouseMoving; + }, + /* harmony export */ useLazyValue: function () { + return /* binding */ useLazyValue; + }, + /* harmony export */ useLiveRef: function () { + return /* binding */ useLiveRef; + }, + /* harmony export */ useMergeRefs: function () { + return /* binding */ useMergeRefs; + }, + /* harmony export */ useMetadataProps: function () { + return /* binding */ useMetadataProps; + }, + /* harmony export */ usePortalRef: function () { + return /* binding */ usePortalRef; + }, + /* harmony export */ usePreviousValue: function () { + return /* binding */ usePreviousValue; + }, + /* harmony export */ useSafeLayoutEffect: function () { + return /* binding */ useSafeLayoutEffect; + }, + /* harmony export */ useTagName: function () { + return /* binding */ useTagName; + }, + /* harmony export */ useTransactionState: function () { + return /* binding */ useTransactionState; + }, + /* harmony export */ useUpdateEffect: function () { + return /* binding */ useUpdateEffect; + }, + /* harmony export */ useUpdateLayoutEffect: + function () { + return /* binding */ useUpdateLayoutEffect; + }, + /* harmony export */ useWrapElement: function () { + return /* binding */ useWrapElement; + }, + /* harmony export */ + } + ); + /* harmony import */ var _YXGXYGQX_js__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! ./YXGXYGQX.js */ './node_modules/@ariakit/react-core/esm/__chunks/YXGXYGQX.js' + ); + /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_1__ = + __webpack_require__( + /*! @ariakit/core/utils/dom */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' + ); + /* harmony import */ var _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_2__ = + __webpack_require__( + /*! @ariakit/core/utils/events */ './node_modules/@ariakit/core/esm/utils/events.js' + ); + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = + __webpack_require__( + /*! react */ './node_modules/react/index.js' + ); + ('use client'); + + // src/utils/hooks.ts + + var _React = { + .../*#__PURE__*/ (react__WEBPACK_IMPORTED_MODULE_3___namespace_cache || + (react__WEBPACK_IMPORTED_MODULE_3___namespace_cache = + __webpack_require__.t( + react__WEBPACK_IMPORTED_MODULE_3__, + 2 + ))), + }; + var useReactId = _React.useId; + var useReactDeferredValue = _React.useDeferredValue; + var useReactInsertionEffect = _React.useInsertionEffect; + var useSafeLayoutEffect = + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_1__.canUseDOM + ? react__WEBPACK_IMPORTED_MODULE_3__.useLayoutEffect + : react__WEBPACK_IMPORTED_MODULE_3__.useEffect; + function useInitialValue(value) { + const [initialValue] = (0, + react__WEBPACK_IMPORTED_MODULE_3__.useState)(value); + return initialValue; + } + function useLazyValue(init) { + const ref = (0, + react__WEBPACK_IMPORTED_MODULE_3__.useRef)(); + if (ref.current === void 0) { + ref.current = init(); + } + return ref.current; + } + function useLiveRef(value) { + const ref = (0, react__WEBPACK_IMPORTED_MODULE_3__.useRef)( + value + ); + useSafeLayoutEffect(() => { + ref.current = value; + }); + return ref; + } + function usePreviousValue(value) { + const [previousValue, setPreviousValue] = (0, + react__WEBPACK_IMPORTED_MODULE_3__.useState)(value); + if (value !== previousValue) { + setPreviousValue(value); + } + return previousValue; + } + function useEvent(callback) { + const ref = (0, react__WEBPACK_IMPORTED_MODULE_3__.useRef)( + () => { + throw new Error( + 'Cannot call an event handler while rendering.' + ); + } + ); + if (useReactInsertionEffect) { + useReactInsertionEffect(() => { + ref.current = callback; + }); + } else { + ref.current = callback; + } + return (0, react__WEBPACK_IMPORTED_MODULE_3__.useCallback)( + (...args) => { + var _a; + return (_a = ref.current) == null + ? void 0 + : _a.call(ref, ...args); + }, + [] + ); + } + function useTransactionState(callback) { + const [state, setState] = (0, + react__WEBPACK_IMPORTED_MODULE_3__.useState)(null); + useSafeLayoutEffect(() => { + if (state == null) return; + if (!callback) return; + let prevState = null; + callback((prev) => { + prevState = prev; + return state; + }); + return () => { + callback(prevState); + }; + }, [state, callback]); + return [state, setState]; + } + function useMergeRefs(...refs) { + return (0, react__WEBPACK_IMPORTED_MODULE_3__.useMemo)( + () => { + if (!refs.some(Boolean)) return; + return (value) => { + for (const ref of refs) { + (0, + _YXGXYGQX_js__WEBPACK_IMPORTED_MODULE_0__.setRef)( + ref, + value + ); + } + }; + }, + refs + ); + } + function useId(defaultId) { + if (useReactId) { + const reactId = useReactId(); + if (defaultId) return defaultId; + return reactId; + } + const [id, setId] = (0, + react__WEBPACK_IMPORTED_MODULE_3__.useState)(defaultId); + useSafeLayoutEffect(() => { + if (defaultId || id) return; + const random = Math.random().toString(36).slice(2, 8); + setId(`id-${random}`); + }, [defaultId, id]); + return defaultId || id; + } + function useDeferredValue(value) { + if (useReactDeferredValue) { + return useReactDeferredValue(value); + } + const [deferredValue, setDeferredValue] = (0, + react__WEBPACK_IMPORTED_MODULE_3__.useState)(value); + (0, react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => { + const raf = requestAnimationFrame(() => + setDeferredValue(value) ); - const mounted = store.useState('mounted'); - const hidden = (0, - _K4R5DNTX_js__WEBPACK_IMPORTED_MODULE_0__.isHidden)( - mounted, - props.hidden, - alwaysVisible + return () => cancelAnimationFrame(raf); + }, [value]); + return deferredValue; + } + function useTagName(refOrElement, type) { + const stringOrUndefined = (type2) => { + if (typeof type2 !== 'string') return; + return type2; + }; + const [tagName, setTagName] = (0, + react__WEBPACK_IMPORTED_MODULE_3__.useState)(() => + stringOrUndefined(type) + ); + useSafeLayoutEffect(() => { + const element = + refOrElement && 'current' in refOrElement + ? refOrElement.current + : refOrElement; + setTagName( + (element == null + ? void 0 + : element.tagName.toLowerCase()) || + stringOrUndefined(type) ); - const style = hidden - ? (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - {}, - props.style - ), - { display: 'none' } - ) - : props.style; - const multiSelectable = store.useState((state) => - Array.isArray(state.selectedValue) + }, [refOrElement, type]); + return tagName; + } + function useAttribute( + refOrElement, + attributeName, + defaultValue + ) { + const initialValue = useInitialValue(defaultValue); + const [attribute, setAttribute] = (0, + react__WEBPACK_IMPORTED_MODULE_3__.useState)(initialValue); + (0, react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => { + const element = + refOrElement && 'current' in refOrElement + ? refOrElement.current + : refOrElement; + if (!element) return; + const callback = () => { + const value = element.getAttribute(attributeName); + setAttribute(value == null ? initialValue : value); + }; + const observer = new MutationObserver(callback); + observer.observe(element, { + attributeFilter: [attributeName], + }); + callback(); + return () => observer.disconnect(); + }, [refOrElement, attributeName, initialValue]); + return attribute; + } + function useUpdateEffect(effect, deps) { + const mounted = (0, + react__WEBPACK_IMPORTED_MODULE_3__.useRef)(false); + (0, react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => { + if (mounted.current) { + return effect(); + } + mounted.current = true; + }, deps); + (0, react__WEBPACK_IMPORTED_MODULE_3__.useEffect)( + () => () => { + mounted.current = false; + }, + [] + ); + } + function useUpdateLayoutEffect(effect, deps) { + const mounted = (0, + react__WEBPACK_IMPORTED_MODULE_3__.useRef)(false); + useSafeLayoutEffect(() => { + if (mounted.current) { + return effect(); + } + mounted.current = true; + }, deps); + useSafeLayoutEffect( + () => () => { + mounted.current = false; + }, + [] + ); + } + function useForceUpdate() { + return (0, react__WEBPACK_IMPORTED_MODULE_3__.useReducer)( + () => [], + [] + ); + } + function useBooleanEvent(booleanOrCallback) { + return useEvent( + typeof booleanOrCallback === 'function' + ? booleanOrCallback + : () => booleanOrCallback + ); + } + function useWrapElement(props, callback, deps = []) { + const wrapElement = (0, + react__WEBPACK_IMPORTED_MODULE_3__.useCallback)( + (element) => { + if (props.wrapElement) { + element = props.wrapElement(element); + } + return callback(element); + }, + [...deps, props.wrapElement] + ); + return { ...props, wrapElement }; + } + function usePortalRef(portalProp = false, portalRefProp) { + const [portalNode, setPortalNode] = (0, + react__WEBPACK_IMPORTED_MODULE_3__.useState)(null); + const portalRef = useMergeRefs( + setPortalNode, + portalRefProp + ); + const domReady = !portalProp || portalNode; + return { portalRef, portalNode, domReady }; + } + function useMetadataProps(props, key, value) { + const parent = props.onLoadedMetadataCapture; + const onLoadedMetadataCapture = (0, + react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(() => { + return Object.assign(() => {}, { + ...parent, + [key]: value, + }); + }, [parent, key, value]); + return [ + parent == null ? void 0 : parent[key], + { onLoadedMetadataCapture }, + ]; + } + var hasInstalledGlobalEventListeners = false; + function useIsMouseMoving() { + (0, react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => { + if (hasInstalledGlobalEventListeners) return; + (0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_2__.addGlobalEventListener)( + 'mousemove', + setMouseMoving, + true ); - const role = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__.useAttribute)( - ref, - 'role', - props.role + (0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_2__.addGlobalEventListener)( + 'mousedown', + resetMouseMoving, + true ); - const isCompositeRole = - role === 'listbox' || - role === 'tree' || - role === 'grid'; - const ariaMultiSelectable = isCompositeRole - ? multiSelectable || void 0 - : void 0; - const [hasListboxInside, setHasListboxInside] = (0, - react__WEBPACK_IMPORTED_MODULE_6__.useState)(false); - const contentElement = store.useState('contentElement'); (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__.useSafeLayoutEffect)(() => { - if (!mounted) return; - const element = ref.current; - if (!element) return; - if (contentElement !== element) return; - const callback = () => { - setHasListboxInside( - !!element.querySelector("[role='listbox']") - ); - }; - const observer = new MutationObserver(callback); - observer.observe(element, { - subtree: true, - childList: true, - attributeFilter: ['role'], - }); - callback(); - return () => observer.disconnect(); - }, [mounted, contentElement]); - if (!hasListboxInside) { - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - { - role: 'listbox', - 'aria-multiselectable': ariaMultiSelectable, - }, - props - ); - } - props = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__.useWrapElement)( - props, - (element) => - /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)( - _OLVWQA7U_js__WEBPACK_IMPORTED_MODULE_1__.ComboboxScopedContextProvider, - { - value: store, - children: /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)( - _OLVWQA7U_js__WEBPACK_IMPORTED_MODULE_1__ - .ComboboxListRoleContext - .Provider, - { value: role, children: element } - ), - } - ), - [store, role] + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_2__.addGlobalEventListener)( + 'mouseup', + resetMouseMoving, + true ); - const setContentElement = - id && (!scopedContext || !scopedContextSameStore) - ? store.setContentElement - : null; - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - { - id, - hidden, - }, - props - ), - { - ref: (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__.useMergeRefs)( - setContentElement, - ref, - props.ref - ), - style, - } + (0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_2__.addGlobalEventListener)( + 'keydown', + resetMouseMoving, + true ); - return (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__.removeUndefinedValues)( - props + (0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_2__.addGlobalEventListener)( + 'scroll', + resetMouseMoving, + true ); + hasInstalledGlobalEventListeners = true; + }, []); + const isMouseMoving = useEvent(() => mouseMoving); + return isMouseMoving; + } + var mouseMoving = false; + var previousScreenX = 0; + var previousScreenY = 0; + function hasMouseMovement(event) { + const movementX = + event.movementX || event.screenX - previousScreenX; + const movementY = + event.movementY || event.screenY - previousScreenY; + previousScreenX = event.screenX; + previousScreenY = event.screenY; + return movementX || movementY || 'development' === 'test'; + } + function setMouseMoving(event) { + if (!hasMouseMovement(event)) return; + mouseMoving = true; + } + function resetMouseMoving() { + mouseMoving = false; + } + + /***/ + }, + + /***/ './node_modules/@ariakit/react-core/esm/__chunks/K2ZF5NU7.js': + /*!*******************************************************************!*\ + !*** ./node_modules/@ariakit/react-core/esm/__chunks/K2ZF5NU7.js ***! + \*******************************************************************/ + /***/ function ( + __unused_webpack___webpack_module__, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ assignStyle: function () { + return /* binding */ assignStyle; + }, + /* harmony export */ orchestrate: function () { + return /* binding */ orchestrate; + }, + /* harmony export */ setAttribute: function () { + return /* binding */ setAttribute; + }, + /* harmony export */ setCSSProperty: function () { + return /* binding */ setCSSProperty; + }, + /* harmony export */ setProperty: function () { + return /* binding */ setProperty; + }, + /* harmony export */ } ); - var ComboboxList = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.forwardRef)( - function ComboboxList2(props) { - const htmlProps = useComboboxList(props); - return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.createElement)( - TagName, - htmlProps - ); + ('use client'); + + // src/dialog/utils/orchestrate.ts + var cleanups = /* @__PURE__ */ new WeakMap(); + function orchestrate(element, key, setup) { + if (!cleanups.has(element)) { + cleanups.set(element, /* @__PURE__ */ new Map()); } - ); + const elementCleanups = cleanups.get(element); + const prevCleanup = elementCleanups.get(key); + if (!prevCleanup) { + elementCleanups.set(key, setup()); + return () => { + var _a; + (_a = elementCleanups.get(key)) == null + ? void 0 + : _a(); + elementCleanups.delete(key); + }; + } + const cleanup = setup(); + const nextCleanup = () => { + cleanup(); + prevCleanup(); + elementCleanups.delete(key); + }; + elementCleanups.set(key, nextCleanup); + return () => { + const isCurrent = + elementCleanups.get(key) === nextCleanup; + if (!isCurrent) return; + cleanup(); + elementCleanups.set(key, prevCleanup); + }; + } + function setAttribute(element, attr, value) { + const setup = () => { + const previousValue = element.getAttribute(attr); + element.setAttribute(attr, value); + return () => { + if (previousValue == null) { + element.removeAttribute(attr); + } else { + element.setAttribute(attr, previousValue); + } + }; + }; + return orchestrate(element, attr, setup); + } + function setProperty(element, property, value) { + const setup = () => { + const exists = property in element; + const previousValue = element[property]; + element[property] = value; + return () => { + if (!exists) { + delete element[property]; + } else { + element[property] = previousValue; + } + }; + }; + return orchestrate(element, property, setup); + } + function assignStyle(element, style) { + if (!element) return () => {}; + const setup = () => { + const prevStyle = element.style.cssText; + Object.assign(element.style, style); + return () => { + element.style.cssText = prevStyle; + }; + }; + return orchestrate(element, 'style', setup); + } + function setCSSProperty(element, property, value) { + if (!element) return () => {}; + const setup = () => { + const previousValue = + element.style.getPropertyValue(property); + element.style.setProperty(property, value); + return () => { + if (previousValue) { + element.style.setProperty( + property, + previousValue + ); + } else { + element.style.removeProperty(property); + } + }; + }; + return orchestrate(element, property, setup); + } /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/N3H2JN6A.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/K6RNI2CX.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/N3H2JN6A.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/K6RNI2CX.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -15377,129 +14793,273 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ CompositeRow: function () { - return /* binding */ CompositeRow; + /* harmony export */ MenuItem: function () { + return /* binding */ MenuItem; }, - /* harmony export */ useCompositeRow: function () { - return /* binding */ useCompositeRow; + /* harmony export */ useMenuItem: function () { + return /* binding */ useMenuItem; }, /* harmony export */ } ); - /* harmony import */ var _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _SPU3NB66_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./APTFW6PT.js */ './node_modules/@ariakit/react-core/esm/__chunks/APTFW6PT.js' + /*! ./SPU3NB66.js */ './node_modules/@ariakit/react-core/esm/__chunks/SPU3NB66.js' ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _TGNQMQ45_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ./TGNQMQ45.js */ './node_modules/@ariakit/react-core/esm/__chunks/TGNQMQ45.js' ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _RIJYZEV5_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! ./RIJYZEV5.js */ './node_modules/@ariakit/react-core/esm/__chunks/RIJYZEV5.js' ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _FIT2LC3L_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' + /*! ./FIT2LC3L.js */ './node_modules/@ariakit/react-core/esm/__chunks/FIT2LC3L.js' ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! ./Q3KUZPD7.js */ './node_modules/@ariakit/react-core/esm/__chunks/Q3KUZPD7.js' ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( - /*! react */ './node_modules/react/index.js' + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__( - /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' + ); + /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_7__ = + __webpack_require__( + /*! @ariakit/core/utils/dom */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' + ); + /* harmony import */ var _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_8__ = + __webpack_require__( + /*! @ariakit/core/utils/events */ './node_modules/@ariakit/core/esm/utils/events.js' + ); + /* harmony import */ var _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_9__ = + __webpack_require__( + /*! @ariakit/core/utils/focus */ './node_modules/@ariakit/core/esm/utils/focus.js' + ); + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_10__ = + __webpack_require__( + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); ('use client'); - // src/composite/composite-row.tsx + // src/menu/menu-item.tsx var TagName = 'div'; - var useCompositeRow = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createHook)( - function useCompositeRow2(_a) { - var _b = _a, - { - store, - 'aria-setsize': ariaSetSize, - 'aria-posinset': ariaPosInSet, - } = _b, - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__objRest)( - _b, - ['store', 'aria-setsize', 'aria-posinset'] - ); - const context = (0, - _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_0__.useCompositeContext)(); - store = store || context; + function menuHasFocus(baseElement, items, currentTarget) { + var _a; + if (!baseElement) return false; + if ( (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_4__.invariant)( + _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_9__.hasFocusWithin)( + baseElement + ) + ) + return true; + const expandedItem = + items == null + ? void 0 + : items.find((item) => { + var _a2; + if (item.element === currentTarget) + return false; + return ( + ((_a2 = item.element) == null + ? void 0 + : _a2.getAttribute( + 'aria-expanded' + )) === 'true' + ); + }); + const expandedMenuId = + (_a = + expandedItem == null + ? void 0 + : expandedItem.element) == null + ? void 0 + : _a.getAttribute('aria-controls'); + if (!expandedMenuId) return false; + const doc = (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_7__.getDocument)( + baseElement + ); + const expandedMenu = doc.getElementById(expandedMenuId); + if (!expandedMenu) return false; + if ( + (0, + _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_9__.hasFocusWithin)( + expandedMenu + ) + ) + return true; + return !!expandedMenu.querySelector( + '[role=menuitem][aria-expanded=true]' + ); + } + var useMenuItem = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_5__.createHook)( + function useMenuItem2({ + store, + hideOnClick = true, + preventScrollOnKeyDown = true, + focusOnHover, + blurOnHoverEnd, + ...props + }) { + const menuContext = (0, + _SPU3NB66_js__WEBPACK_IMPORTED_MODULE_0__.useMenuScopedContext)( + true + ); + const menubarContext = (0, + _TGNQMQ45_js__WEBPACK_IMPORTED_MODULE_1__.useMenubarScopedContext)(); + store = store || menuContext || menubarContext; + (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_10__.invariant)( store, true && - 'CompositeRow must be wrapped in a Composite component.' + 'MenuItem must be wrapped in a MenuList, Menu or Menubar component' ); - const id = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__.useId)( - props.id + const onClickProp = props.onClick; + const hideOnClickProp = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_6__.useBooleanEvent)( + hideOnClick ); - const baseElement = store.useState( - (state) => state.baseElement || void 0 + const hideMenu = + 'hideAll' in store ? store.hideAll : void 0; + const isWithinMenu = !!hideMenu; + const onClick = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_6__.useEvent)( + (event) => { + onClickProp == null + ? void 0 + : onClickProp(event); + if (event.defaultPrevented) return; + if ( + (0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_8__.isDownloading)( + event + ) + ) + return; + if ( + (0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_8__.isOpeningInNewTab)( + event + ) + ) + return; + if (!hideMenu) return; + const popupType = + event.currentTarget.getAttribute( + 'aria-haspopup' + ); + if (popupType === 'menu') return; + if (!hideOnClickProp(event)) return; + hideMenu(); + } ); - const providerValue = (0, - react__WEBPACK_IMPORTED_MODULE_5__.useMemo)( - () => ({ - id, - baseElement, - ariaSetSize, - ariaPosInSet, - }), - [id, baseElement, ariaSetSize, ariaPosInSet] + const contentElement = (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_4__.useStoreState)( + store, + (state) => + 'contentElement' in state + ? state.contentElement + : null ); - props = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__.useWrapElement)( - props, - (element) => - /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)( - _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_0__ - .CompositeRowContext.Provider, - { value: providerValue, children: element } - ), - [providerValue] + const role = (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_7__.getPopupItemRole)( + contentElement, + 'menuitem' ); + props = { + role, + ...props, + onClick, + }; props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - { id }, - props + _FIT2LC3L_js__WEBPACK_IMPORTED_MODULE_3__.useCompositeItem)( + { + store, + preventScrollOnKeyDown, + ...props, + } ); - return (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_4__.removeUndefinedValues)( - props + props = (0, + _RIJYZEV5_js__WEBPACK_IMPORTED_MODULE_2__.useCompositeHover)( + { + store, + ...props, + focusOnHover(event) { + const getFocusOnHover = () => { + if (typeof focusOnHover === 'function') + return focusOnHover(event); + if (focusOnHover != null) + return focusOnHover; + return true; + }; + if (!store) return false; + if (!getFocusOnHover()) return false; + const { baseElement, items } = + store.getState(); + if (isWithinMenu) { + if ( + event.currentTarget.hasAttribute( + 'aria-expanded' + ) + ) { + event.currentTarget.focus(); + } + return true; + } + if ( + menuHasFocus( + baseElement, + items, + event.currentTarget + ) + ) { + event.currentTarget.focus(); + return true; + } + return false; + }, + blurOnHoverEnd(event) { + if (typeof blurOnHoverEnd === 'function') + return blurOnHoverEnd(event); + if (blurOnHoverEnd != null) + return blurOnHoverEnd; + return isWithinMenu; + }, + } ); + return props; } ); - var CompositeRow = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.forwardRef)( - function CompositeRow2(props) { - const htmlProps = useCompositeRow(props); - return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createElement)( - TagName, - htmlProps - ); - } + var MenuItem = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_5__.memo)( + (0, _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_5__.forwardRef)( + function MenuItem2(props) { + const htmlProps = useMenuItem(props); + return (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_5__.createElement)( + TagName, + htmlProps + ); + } + ) ); /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/NBZZZ3Z3.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/KBWOFRCQ.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/NBZZZ3Z3.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/KBWOFRCQ.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -15511,155 +15071,122 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ usePreventBodyScroll: function () { - return /* binding */ usePreventBodyScroll; + /* harmony export */ useTabStore: function () { + return /* binding */ useTabStore; + }, + /* harmony export */ useTabStoreProps: function () { + return /* binding */ useTabStoreProps; }, /* harmony export */ } ); - /* harmony import */ var _W6WVJJEY_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _QI6TYHPV_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./W6WVJJEY.js */ './node_modules/@ariakit/react-core/esm/__chunks/W6WVJJEY.js' + /*! ./QI6TYHPV.js */ './node_modules/@ariakit/react-core/esm/__chunks/QI6TYHPV.js' ); - /* harmony import */ var _K2ZF5NU7_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _VEHC2EHR_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./K2ZF5NU7.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2ZF5NU7.js' + /*! ./VEHC2EHR.js */ './node_modules/@ariakit/react-core/esm/__chunks/VEHC2EHR.js' ); - /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _7P7IWEBR_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! @ariakit/core/utils/dom */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' + /*! ./7P7IWEBR.js */ './node_modules/@ariakit/react-core/esm/__chunks/7P7IWEBR.js' ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! ./Q3KUZPD7.js */ './node_modules/@ariakit/react-core/esm/__chunks/Q3KUZPD7.js' ); - /* harmony import */ var _ariakit_core_utils_platform__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! @ariakit/core/utils/platform */ './node_modules/@ariakit/core/esm/__chunks/O6E4ZWCP.js' + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = + /* harmony import */ var _ariakit_core_tab_tab_store__WEBPACK_IMPORTED_MODULE_5__ = + __webpack_require__( + /*! @ariakit/core/tab/tab-store */ './node_modules/@ariakit/core/esm/tab/tab-store.js' + ); + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__( /*! react */ './node_modules/react/index.js' ); ('use client'); - // src/dialog/utils/use-prevent-body-scroll.ts + // src/tab/tab-store.ts - function getPaddingProperty(documentElement) { - const documentLeft = - documentElement.getBoundingClientRect().left; - const scrollbarX = - Math.round(documentLeft) + documentElement.scrollLeft; - return scrollbarX ? 'paddingLeft' : 'paddingRight'; + function useTabStoreProps(store, update, props) { + (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useUpdateEffect)( + update, + [props.composite, props.combobox] + ); + store = (0, + _VEHC2EHR_js__WEBPACK_IMPORTED_MODULE_1__.useCompositeStoreProps)( + store, + update, + props + ); + (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_3__.useStoreProps)( + store, + props, + 'selectedId', + 'setSelectedId' + ); + (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_3__.useStoreProps)( + store, + props, + 'selectOnMove' + ); + const [panels, updatePanels] = (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_3__.useStore)( + () => store.panels, + {} + ); + (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useUpdateEffect)( + updatePanels, + [store, updatePanels] + ); + return Object.assign( + (0, react__WEBPACK_IMPORTED_MODULE_6__.useMemo)( + () => ({ ...store, panels }), + [store, panels] + ), + { composite: props.composite, combobox: props.combobox } + ); } - function usePreventBodyScroll( - contentElement, - contentId, - enabled - ) { - const isRootDialog = (0, - _W6WVJJEY_js__WEBPACK_IMPORTED_MODULE_0__.useRootDialog)({ - attribute: 'data-dialog-prevent-body-scroll', - contentElement, - contentId, - enabled, - }); - (0, react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => { - if (!isRootDialog()) return; - if (!contentElement) return; - const doc = (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getDocument)( - contentElement - ); - const win = (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getWindow)( - contentElement - ); - const { documentElement, body } = doc; - const cssScrollbarWidth = - documentElement.style.getPropertyValue( - '--scrollbar-width' - ); - const scrollbarWidth = cssScrollbarWidth - ? Number.parseInt(cssScrollbarWidth, 10) - : win.innerWidth - documentElement.clientWidth; - const setScrollbarWidthProperty = () => - (0, - _K2ZF5NU7_js__WEBPACK_IMPORTED_MODULE_1__.setCSSProperty)( - documentElement, - '--scrollbar-width', - `${scrollbarWidth}px` - ); - const paddingProperty = - getPaddingProperty(documentElement); - const setStyle = () => - (0, - _K2ZF5NU7_js__WEBPACK_IMPORTED_MODULE_1__.assignStyle)( - body, - { - overflow: 'hidden', - [paddingProperty]: `${scrollbarWidth}px`, - } - ); - const setIOSStyle = () => { - var _a, _b; - const { scrollX, scrollY, visualViewport } = win; - const offsetLeft = - (_a = - visualViewport == null - ? void 0 - : visualViewport.offsetLeft) != null - ? _a - : 0; - const offsetTop = - (_b = - visualViewport == null - ? void 0 - : visualViewport.offsetTop) != null - ? _b - : 0; - const restoreStyle = (0, - _K2ZF5NU7_js__WEBPACK_IMPORTED_MODULE_1__.assignStyle)( - body, - { - position: 'fixed', - overflow: 'hidden', - top: `${-(scrollY - Math.floor(offsetTop))}px`, - left: `${-(scrollX - Math.floor(offsetLeft))}px`, - right: '0', - [paddingProperty]: `${scrollbarWidth}px`, - } - ); - return () => { - restoreStyle(); - if (true) { - win.scrollTo({ - left: scrollX, - top: scrollY, - behavior: 'instant', - }); - } - }; - }; - const isIOS = - (0, - _ariakit_core_utils_platform__WEBPACK_IMPORTED_MODULE_4__.isApple)() && - !(0, - _ariakit_core_utils_platform__WEBPACK_IMPORTED_MODULE_4__.isMac)(); - return (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_3__.chain)( - setScrollbarWidthProperty(), - isIOS ? setIOSStyle() : setStyle() - ); - }, [isRootDialog, contentElement]); + function useTabStore(props = {}) { + const combobox = (0, + _7P7IWEBR_js__WEBPACK_IMPORTED_MODULE_2__.useComboboxContext)(); + const composite = + (0, + _QI6TYHPV_js__WEBPACK_IMPORTED_MODULE_0__.useSelectContext)() || + combobox; + props = { + ...props, + composite: + props.composite !== void 0 + ? props.composite + : composite, + combobox: + props.combobox !== void 0 + ? props.combobox + : combobox, + }; + const [store, update] = (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_3__.useStore)( + _ariakit_core_tab_tab_store__WEBPACK_IMPORTED_MODULE_5__.createTabStore, + props + ); + return useTabStoreProps(store, update, props); } /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/NI3IVY7K.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/KJ2ELZJV.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/NI3IVY7K.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/KJ2ELZJV.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -15671,2486 +15198,62 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ Dialog: function () { - return /* binding */ Dialog; + /* harmony export */ useCheckboxStore: function () { + return /* binding */ useCheckboxStore; }, - /* harmony export */ createDialogComponent: + /* harmony export */ useCheckboxStoreProps: function () { - return /* binding */ createDialogComponent; + return /* binding */ useCheckboxStoreProps; }, - /* harmony export */ useDialog: function () { - return /* binding */ useDialog; - }, /* harmony export */ } ); - /* harmony import */ var _M5DFOEFU_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./M5DFOEFU.js */ './node_modules/@ariakit/react-core/esm/__chunks/M5DFOEFU.js' - ); - /* harmony import */ var _5M6RIVE2_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ./5M6RIVE2.js */ './node_modules/@ariakit/react-core/esm/__chunks/5M6RIVE2.js' - ); - /* harmony import */ var _LC6GJMGV_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./LC6GJMGV.js */ './node_modules/@ariakit/react-core/esm/__chunks/LC6GJMGV.js' + /*! ./Q3KUZPD7.js */ './node_modules/@ariakit/react-core/esm/__chunks/Q3KUZPD7.js' ); - /* harmony import */ var _6GXEOXGT_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./6GXEOXGT.js */ './node_modules/@ariakit/react-core/esm/__chunks/6GXEOXGT.js' + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var _JZEJYXOQ_js__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _ariakit_core_checkbox_checkbox_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ./JZEJYXOQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/JZEJYXOQ.js' + /*! @ariakit/core/checkbox/checkbox-store */ './node_modules/@ariakit/core/esm/checkbox/checkbox-store.js' ); - /* harmony import */ var _PVECYOSC_js__WEBPACK_IMPORTED_MODULE_5__ = - __webpack_require__( - /*! ./PVECYOSC.js */ './node_modules/@ariakit/react-core/esm/__chunks/PVECYOSC.js' + ('use client'); + + // src/checkbox/checkbox-store.ts + + function useCheckboxStoreProps(store, update, props) { + (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_1__.useUpdateEffect)( + update, + [props.store] ); - /* harmony import */ var _NBZZZ3Z3_js__WEBPACK_IMPORTED_MODULE_6__ = - __webpack_require__( - /*! ./NBZZZ3Z3.js */ './node_modules/@ariakit/react-core/esm/__chunks/NBZZZ3Z3.js' + (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_0__.useStoreProps)( + store, + props, + 'value', + 'setValue' ); - /* harmony import */ var _Z5GCVBAY_js__WEBPACK_IMPORTED_MODULE_7__ = - __webpack_require__( - /*! ./Z5GCVBAY.js */ './node_modules/@ariakit/react-core/esm/__chunks/Z5GCVBAY.js' + return store; + } + function useCheckboxStore(props = {}) { + const [store, update] = (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_0__.useStore)( + _ariakit_core_checkbox_checkbox_store__WEBPACK_IMPORTED_MODULE_2__.createCheckboxStore, + props ); - /* harmony import */ var _677M2CI3_js__WEBPACK_IMPORTED_MODULE_8__ = - __webpack_require__( - /*! ./677M2CI3.js */ './node_modules/@ariakit/react-core/esm/__chunks/677M2CI3.js' - ); - /* harmony import */ var _FVE2C5B3_js__WEBPACK_IMPORTED_MODULE_9__ = - __webpack_require__( - /*! ./FVE2C5B3.js */ './node_modules/@ariakit/react-core/esm/__chunks/FVE2C5B3.js' - ); - /* harmony import */ var _3NDVDEB4_js__WEBPACK_IMPORTED_MODULE_10__ = - __webpack_require__( - /*! ./3NDVDEB4.js */ './node_modules/@ariakit/react-core/esm/__chunks/3NDVDEB4.js' - ); - /* harmony import */ var _AOUGVQZ3_js__WEBPACK_IMPORTED_MODULE_11__ = - __webpack_require__( - /*! ./AOUGVQZ3.js */ './node_modules/@ariakit/react-core/esm/__chunks/AOUGVQZ3.js' - ); - /* harmony import */ var _K4R5DNTX_js__WEBPACK_IMPORTED_MODULE_12__ = - __webpack_require__( - /*! ./K4R5DNTX.js */ './node_modules/@ariakit/react-core/esm/__chunks/K4R5DNTX.js' - ); - /* harmony import */ var _Y2U4BRIM_js__WEBPACK_IMPORTED_MODULE_13__ = - __webpack_require__( - /*! ./Y2U4BRIM.js */ './node_modules/@ariakit/react-core/esm/__chunks/Y2U4BRIM.js' - ); - /* harmony import */ var _T2AZQXQU_js__WEBPACK_IMPORTED_MODULE_14__ = - __webpack_require__( - /*! ./T2AZQXQU.js */ './node_modules/@ariakit/react-core/esm/__chunks/T2AZQXQU.js' - ); - /* harmony import */ var _OE2EFRVA_js__WEBPACK_IMPORTED_MODULE_15__ = - __webpack_require__( - /*! ./OE2EFRVA.js */ './node_modules/@ariakit/react-core/esm/__chunks/OE2EFRVA.js' - ); - /* harmony import */ var _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_16__ = - __webpack_require__( - /*! ./RTNCFSKZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/RTNCFSKZ.js' - ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_17__ = - __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' - ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_18__ = - __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' - ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_19__ = - __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' - ); - /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_20__ = - __webpack_require__( - /*! @ariakit/core/utils/dom */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' - ); - /* harmony import */ var _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_21__ = - __webpack_require__( - /*! @ariakit/core/utils/events */ './node_modules/@ariakit/core/esm/utils/events.js' - ); - /* harmony import */ var _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_22__ = - __webpack_require__( - /*! @ariakit/core/utils/focus */ './node_modules/@ariakit/core/esm/utils/focus.js' - ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_23__ = - __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' - ); - /* harmony import */ var _ariakit_core_utils_platform__WEBPACK_IMPORTED_MODULE_24__ = - __webpack_require__( - /*! @ariakit/core/utils/platform */ './node_modules/@ariakit/core/esm/__chunks/O6E4ZWCP.js' - ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_25__ = - __webpack_require__( - /*! react */ './node_modules/react/index.js' - ); - /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_26__ = - __webpack_require__( - /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' - ); - ('use client'); - - // src/dialog/dialog.tsx - - var TagName = 'div'; - var isSafariBrowser = (0, - _ariakit_core_utils_platform__WEBPACK_IMPORTED_MODULE_24__.isSafari)(); - function isAlreadyFocusingAnotherElement(dialog) { - const activeElement = (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_20__.getActiveElement)(); - if (!activeElement) return false; - if ( - dialog && - (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_20__.contains)( - dialog, - activeElement - ) - ) - return false; - if ( - (0, - _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_22__.isFocusable)( - activeElement - ) - ) - return true; - return false; - } - function getElementFromProp(prop, focusable = false) { - if (!prop) return null; - const element = 'current' in prop ? prop.current : prop; - if (!element) return null; - if (focusable) - return (0, - _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_22__.isFocusable)( - element - ) - ? element - : null; - return element; - } - var useDialog = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_17__.createHook)( - function useDialog2(_a) { - var _b = _a, - { - store: storeProp, - open: openProp, - onClose, - focusable = true, - modal = true, - portal = !!modal, - backdrop = !!modal, - hideOnEscape = true, - hideOnInteractOutside = true, - getPersistentElements, - preventBodyScroll = !!modal, - autoFocusOnShow = true, - autoFocusOnHide = true, - initialFocus, - finalFocus, - unmountOnHide, - unstable_treeSnapshotKey, - } = _b, - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_19__.__objRest)( - _b, - [ - 'store', - 'open', - 'onClose', - 'focusable', - 'modal', - 'portal', - 'backdrop', - 'hideOnEscape', - 'hideOnInteractOutside', - 'getPersistentElements', - 'preventBodyScroll', - 'autoFocusOnShow', - 'autoFocusOnHide', - 'initialFocus', - 'finalFocus', - 'unmountOnHide', - 'unstable_treeSnapshotKey', - ] - ); - const context = (0, - _T2AZQXQU_js__WEBPACK_IMPORTED_MODULE_14__.useDialogProviderContext)(); - const ref = (0, - react__WEBPACK_IMPORTED_MODULE_25__.useRef)(null); - const store = (0, - _Y2U4BRIM_js__WEBPACK_IMPORTED_MODULE_13__.useDialogStore)( - { - store: storeProp || context, - open: openProp, - setOpen(open2) { - if (open2) return; - const dialog = ref.current; - if (!dialog) return; - const event = new Event('close', { - bubbles: false, - cancelable: true, - }); - if (onClose) { - dialog.addEventListener( - 'close', - onClose, - { once: true } - ); - } - dialog.dispatchEvent(event); - if (!event.defaultPrevented) return; - store.setOpen(true); - }, - } - ); - const { portalRef, domReady } = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_18__.usePortalRef)( - portal, - props.portalRef - ); - const preserveTabOrderProp = props.preserveTabOrder; - const preserveTabOrder = (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_16__.useStoreState)( - store, - (state) => - preserveTabOrderProp && !modal && state.mounted - ); - const id = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_18__.useId)( - props.id - ); - const open = (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_16__.useStoreState)( - store, - 'open' - ); - const mounted = (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_16__.useStoreState)( - store, - 'mounted' - ); - const contentElement = (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_16__.useStoreState)( - store, - 'contentElement' - ); - const hidden = (0, - _K4R5DNTX_js__WEBPACK_IMPORTED_MODULE_12__.isHidden)( - mounted, - props.hidden, - props.alwaysVisible - ); - (0, - _NBZZZ3Z3_js__WEBPACK_IMPORTED_MODULE_6__.usePreventBodyScroll)( - contentElement, - id, - preventBodyScroll && !hidden - ); - (0, - _JZEJYXOQ_js__WEBPACK_IMPORTED_MODULE_4__.useHideOnInteractOutside)( - store, - hideOnInteractOutside, - domReady - ); - const { wrapElement, nestedDialogs } = (0, - _PVECYOSC_js__WEBPACK_IMPORTED_MODULE_5__.useNestedDialogs)( - store - ); - props = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_18__.useWrapElement)( - props, - wrapElement, - [wrapElement] - ); - (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_18__.useSafeLayoutEffect)(() => { - if (!open) return; - const dialog = ref.current; - const activeElement = (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_20__.getActiveElement)( - dialog, - true - ); - if (!activeElement) return; - if (activeElement.tagName === 'BODY') return; - if ( - dialog && - (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_20__.contains)( - dialog, - activeElement - ) - ) - return; - store.setDisclosureElement(activeElement); - }, [store, open]); - if (isSafariBrowser) { - (0, - react__WEBPACK_IMPORTED_MODULE_25__.useEffect)(() => { - if (!mounted) return; - const { disclosureElement } = store.getState(); - if (!disclosureElement) return; - if ( - !(0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_20__.isButton)( - disclosureElement - ) - ) - return; - const onMouseDown = () => { - let receivedFocus = false; - const onFocus = () => { - receivedFocus = true; - }; - const options = { - capture: true, - once: true, - }; - disclosureElement.addEventListener( - 'focusin', - onFocus, - options - ); - (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_21__.queueBeforeEvent)( - disclosureElement, - 'mouseup', - () => { - disclosureElement.removeEventListener( - 'focusin', - onFocus, - true - ); - if (receivedFocus) return; - (0, - _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_22__.focusIfNeeded)( - disclosureElement - ); - } - ); - }; - disclosureElement.addEventListener( - 'mousedown', - onMouseDown - ); - return () => { - disclosureElement.removeEventListener( - 'mousedown', - onMouseDown - ); - }; - }, [store, mounted]); - } - (0, - react__WEBPACK_IMPORTED_MODULE_25__.useEffect)(() => { - if (!mounted) return; - if (!domReady) return; - const dialog = ref.current; - if (!dialog) return; - const win = (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_20__.getWindow)( - dialog - ); - const viewport = win.visualViewport || win; - const setViewportHeight = () => { - var _a2, _b2; - const height = - (_b2 = - (_a2 = win.visualViewport) == null - ? void 0 - : _a2.height) != null - ? _b2 - : win.innerHeight; - dialog.style.setProperty( - '--dialog-viewport-height', - `${height}px` - ); - }; - setViewportHeight(); - viewport.addEventListener( - 'resize', - setViewportHeight - ); - return () => { - viewport.removeEventListener( - 'resize', - setViewportHeight - ); - }; - }, [mounted, domReady]); - (0, - react__WEBPACK_IMPORTED_MODULE_25__.useEffect)(() => { - if (!modal) return; - if (!mounted) return; - if (!domReady) return; - const dialog = ref.current; - if (!dialog) return; - const existingDismiss = dialog.querySelector( - '[data-dialog-dismiss]' - ); - if (existingDismiss) return; - return (0, - _6GXEOXGT_js__WEBPACK_IMPORTED_MODULE_3__.prependHiddenDismiss)( - dialog, - store.hide - ); - }, [store, modal, mounted, domReady]); - (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_18__.useSafeLayoutEffect)(() => { - if ( - !(0, - _677M2CI3_js__WEBPACK_IMPORTED_MODULE_8__.supportsInert)() - ) - return; - if (open) return; - if (!mounted) return; - if (!domReady) return; - const dialog = ref.current; - if (!dialog) return; - return (0, - _Z5GCVBAY_js__WEBPACK_IMPORTED_MODULE_7__.disableTree)( - dialog - ); - }, [open, mounted, domReady]); - const canTakeTreeSnapshot = open && domReady; - (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_18__.useSafeLayoutEffect)(() => { - if (!id) return; - if (!canTakeTreeSnapshot) return; - const dialog = ref.current; - return (0, - _AOUGVQZ3_js__WEBPACK_IMPORTED_MODULE_11__.createWalkTreeSnapshot)( - id, - [dialog] - ); - }, [id, canTakeTreeSnapshot, unstable_treeSnapshotKey]); - const getPersistentElementsProp = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_18__.useEvent)( - getPersistentElements - ); - (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_18__.useSafeLayoutEffect)(() => { - if (!id) return; - if (!canTakeTreeSnapshot) return; - const { disclosureElement } = store.getState(); - const dialog = ref.current; - const persistentElements = - getPersistentElementsProp() || []; - const allElements = [ - dialog, - ...persistentElements, - ...nestedDialogs.map( - (dialog2) => - dialog2.getState().contentElement - ), - ]; - if (modal) { - return (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_23__.chain)( - (0, - _3NDVDEB4_js__WEBPACK_IMPORTED_MODULE_10__.markTreeOutside)( - id, - allElements - ), - (0, - _Z5GCVBAY_js__WEBPACK_IMPORTED_MODULE_7__.disableTreeOutside)( - id, - allElements - ) - ); - } - return (0, - _3NDVDEB4_js__WEBPACK_IMPORTED_MODULE_10__.markTreeOutside)( - id, - [disclosureElement, ...allElements] - ); - }, [ - id, - store, - canTakeTreeSnapshot, - getPersistentElementsProp, - nestedDialogs, - modal, - unstable_treeSnapshotKey, - ]); - const mayAutoFocusOnShow = !!autoFocusOnShow; - const autoFocusOnShowProp = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_18__.useBooleanEvent)( - autoFocusOnShow - ); - const [autoFocusEnabled, setAutoFocusEnabled] = (0, - react__WEBPACK_IMPORTED_MODULE_25__.useState)(false); - (0, - react__WEBPACK_IMPORTED_MODULE_25__.useEffect)(() => { - if (!open) return; - if (!mayAutoFocusOnShow) return; - if (!domReady) return; - if ( - !(contentElement == null - ? void 0 - : contentElement.isConnected) - ) - return; - const element = - getElementFromProp(initialFocus, true) || // If no initial focus is specified, we try to focus the first element - // with the autofocus attribute. If it's an Ariakit component, the - // Focusable component will consume the autoFocus prop and add the - // data-autofocus attribute to the element instead. - contentElement.querySelector( - '[data-autofocus=true],[autofocus]' - ) || // We have to fallback to the first focusable element otherwise portaled - // dialogs with preserveTabOrder set to true will not receive focus - // properly because the elements aren't tabbable until the dialog receives - // focus. - (0, - _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_22__.getFirstTabbableIn)( - contentElement, - true, - portal && preserveTabOrder - ) || // Finally, we fallback to the dialog element itself. - contentElement; - const isElementFocusable = (0, - _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_22__.isFocusable)( - element - ); - if ( - !autoFocusOnShowProp( - isElementFocusable ? element : null - ) - ) - return; - setAutoFocusEnabled(true); - queueMicrotask(() => { - element.focus(); - if (!isSafariBrowser) return; - if (!isElementFocusable) return; - element.scrollIntoView({ - block: 'nearest', - inline: 'nearest', - }); - }); - }, [ - open, - mayAutoFocusOnShow, - domReady, - contentElement, - initialFocus, - portal, - preserveTabOrder, - autoFocusOnShowProp, - ]); - const mayAutoFocusOnHide = !!autoFocusOnHide; - const autoFocusOnHideProp = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_18__.useBooleanEvent)( - autoFocusOnHide - ); - const [hasOpened, setHasOpened] = (0, - react__WEBPACK_IMPORTED_MODULE_25__.useState)(false); - (0, - react__WEBPACK_IMPORTED_MODULE_25__.useEffect)(() => { - if (!open) return; - setHasOpened(true); - return () => setHasOpened(false); - }, [open]); - const focusOnHide = (0, - react__WEBPACK_IMPORTED_MODULE_25__.useCallback)( - (dialog, retry = true) => { - const { disclosureElement } = store.getState(); - if (isAlreadyFocusingAnotherElement(dialog)) - return; - let element = - getElementFromProp(finalFocus) || - disclosureElement; - if (element == null ? void 0 : element.id) { - const doc = (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_20__.getDocument)( - element - ); - const selector = `[aria-activedescendant="${element.id}"]`; - const composite = - doc.querySelector(selector); - if (composite) { - element = composite; - } - } - if ( - element && - !(0, - _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_22__.isFocusable)( - element - ) - ) { - const maybeParentDialog = - element.closest('[data-dialog]'); - if ( - maybeParentDialog == null - ? void 0 - : maybeParentDialog.id - ) { - const doc = (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_20__.getDocument)( - maybeParentDialog - ); - const selector = `[aria-controls~="${maybeParentDialog.id}"]`; - const control = - doc.querySelector(selector); - if (control) { - element = control; - } - } - } - const isElementFocusable = - element && - (0, - _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_22__.isFocusable)( - element - ); - if (!isElementFocusable && retry) { - requestAnimationFrame(() => - focusOnHide(dialog, false) - ); - return; - } - if ( - !autoFocusOnHideProp( - isElementFocusable ? element : null - ) - ) - return; - if (!isElementFocusable) return; - element == null - ? void 0 - : element.focus({ preventScroll: true }); - }, - [store, finalFocus, autoFocusOnHideProp] - ); - const focusedOnHideRef = (0, - react__WEBPACK_IMPORTED_MODULE_25__.useRef)(false); - (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_18__.useSafeLayoutEffect)(() => { - if (open) return; - if (!hasOpened) return; - if (!mayAutoFocusOnHide) return; - const dialog = ref.current; - focusedOnHideRef.current = true; - focusOnHide(dialog); - }, [ - open, - hasOpened, - domReady, - mayAutoFocusOnHide, - focusOnHide, - ]); - (0, - react__WEBPACK_IMPORTED_MODULE_25__.useEffect)(() => { - if (!hasOpened) return; - if (!mayAutoFocusOnHide) return; - const dialog = ref.current; - return () => { - if (focusedOnHideRef.current) { - focusedOnHideRef.current = false; - return; - } - focusOnHide(dialog); - }; - }, [hasOpened, mayAutoFocusOnHide, focusOnHide]); - const hideOnEscapeProp = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_18__.useBooleanEvent)( - hideOnEscape - ); - (0, - react__WEBPACK_IMPORTED_MODULE_25__.useEffect)(() => { - if (!domReady) return; - if (!mounted) return; - const onKeyDown = (event) => { - if (event.key !== 'Escape') return; - if (event.defaultPrevented) return; - const dialog = ref.current; - if (!dialog) return; - if ( - (0, - _3NDVDEB4_js__WEBPACK_IMPORTED_MODULE_10__.isElementMarked)( - dialog - ) - ) - return; - const target = event.target; - if (!target) return; - const { disclosureElement } = store.getState(); - const isValidTarget = () => { - if (target.tagName === 'BODY') return true; - if ( - (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_20__.contains)( - dialog, - target - ) - ) - return true; - if (!disclosureElement) return true; - if ( - (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_20__.contains)( - disclosureElement, - target - ) - ) - return true; - return false; - }; - if (!isValidTarget()) return; - if (!hideOnEscapeProp(event)) return; - store.hide(); - }; - return (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_21__.addGlobalEventListener)( - 'keydown', - onKeyDown, - true - ); - }, [store, domReady, mounted, hideOnEscapeProp]); - props = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_18__.useWrapElement)( - props, - (element) => - /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_26__.jsx)( - _5M6RIVE2_js__WEBPACK_IMPORTED_MODULE_1__.HeadingLevel, - { - level: modal ? 1 : void 0, - children: element, - } - ), - [modal] - ); - const hiddenProp = props.hidden; - const alwaysVisible = props.alwaysVisible; - props = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_18__.useWrapElement)( - props, - (element) => { - if (!backdrop) return element; - return /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_26__.jsxs)( - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_26__.Fragment, - { - children: [ - /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_26__.jsx)( - _FVE2C5B3_js__WEBPACK_IMPORTED_MODULE_9__.DialogBackdrop, - { - store, - backdrop, - hidden: hiddenProp, - alwaysVisible, - } - ), - element, - ], - } - ); - }, - [store, backdrop, hiddenProp, alwaysVisible] - ); - const [headingId, setHeadingId] = (0, - react__WEBPACK_IMPORTED_MODULE_25__.useState)(); - const [descriptionId, setDescriptionId] = (0, - react__WEBPACK_IMPORTED_MODULE_25__.useState)(); - props = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_18__.useWrapElement)( - props, - (element) => - /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_26__.jsx)( - _T2AZQXQU_js__WEBPACK_IMPORTED_MODULE_14__.DialogScopedContextProvider, - { - value: store, - children: /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_26__.jsx)( - _T2AZQXQU_js__WEBPACK_IMPORTED_MODULE_14__ - .DialogHeadingContext.Provider, - { - value: setHeadingId, - children: /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_26__.jsx)( - _T2AZQXQU_js__WEBPACK_IMPORTED_MODULE_14__ - .DialogDescriptionContext - .Provider, - { - value: setDescriptionId, - children: element, - } - ), - } - ), - } - ), - [store] - ); - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_19__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_19__.__spreadValues)( - { - id, - 'data-dialog': '', - role: 'dialog', - tabIndex: focusable ? -1 : void 0, - 'aria-labelledby': headingId, - 'aria-describedby': descriptionId, - }, - props - ), - { - ref: (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_18__.useMergeRefs)( - ref, - props.ref - ), - } - ); - props = (0, - _LC6GJMGV_js__WEBPACK_IMPORTED_MODULE_2__.useFocusableContainer)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_19__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_19__.__spreadValues)( - {}, - props - ), - { - autoFocusOnShow: autoFocusEnabled, - } - ) - ); - props = (0, - _K4R5DNTX_js__WEBPACK_IMPORTED_MODULE_12__.useDisclosureContent)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_19__.__spreadValues)( - { store }, - props - ) - ); - props = (0, - _OE2EFRVA_js__WEBPACK_IMPORTED_MODULE_15__.useFocusable)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_19__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_19__.__spreadValues)( - {}, - props - ), - { focusable } - ) - ); - props = (0, - _M5DFOEFU_js__WEBPACK_IMPORTED_MODULE_0__.usePortal)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_19__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_19__.__spreadValues)( - { portal }, - props - ), - { portalRef, preserveTabOrder } - ) - ); - return props; - } - ); - function createDialogComponent( - Component, - useProviderContext = _T2AZQXQU_js__WEBPACK_IMPORTED_MODULE_14__.useDialogProviderContext - ) { - return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_17__.forwardRef)( - function DialogComponent(props) { - const context = useProviderContext(); - const store = props.store || context; - const mounted = (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_16__.useStoreState)( - store, - (state) => - !props.unmountOnHide || - (state == null ? void 0 : state.mounted) || - !!props.open - ); - if (!mounted) return null; - return /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_26__.jsx)( - Component, - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_19__.__spreadValues)( - {}, - props - ) - ); - } - ); - } - var Dialog = createDialogComponent( - (0, _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_17__.forwardRef)( - function Dialog2(props) { - const htmlProps = useDialog(props); - return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_17__.createElement)( - TagName, - htmlProps - ); - } - ), - _T2AZQXQU_js__WEBPACK_IMPORTED_MODULE_14__.useDialogProviderContext - ); - - /***/ - }, - - /***/ './node_modules/@ariakit/react-core/esm/__chunks/NMGNQVTG.js': - /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/NMGNQVTG.js ***! - \*******************************************************************/ - /***/ function ( - __unused_webpack___webpack_module__, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ Disclosure: function () { - return /* binding */ Disclosure; - }, - /* harmony export */ useDisclosure: function () { - return /* binding */ useDisclosure; - }, - /* harmony export */ - } - ); - /* harmony import */ var _ABN76PSX_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./ABN76PSX.js */ './node_modules/@ariakit/react-core/esm/__chunks/ABN76PSX.js' - ); - /* harmony import */ var _XCKGTAUF_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ./XCKGTAUF.js */ './node_modules/@ariakit/react-core/esm/__chunks/XCKGTAUF.js' - ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__ = - __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' - ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__ = - __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' - ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__ = - __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' - ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__ = - __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' - ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = - __webpack_require__( - /*! react */ './node_modules/react/index.js' - ); - ('use client'); - - // src/disclosure/disclosure.tsx - - var TagName = 'button'; - var symbol = Symbol('disclosure'); - var useDisclosure = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.createHook)( - function useDisclosure2(_a) { - var _b = _a, - { store, toggleOnClick = true } = _b, - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__objRest)( - _b, - ['store', 'toggleOnClick'] - ); - const context = (0, - _ABN76PSX_js__WEBPACK_IMPORTED_MODULE_0__.useDisclosureProviderContext)(); - store = store || context; - (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__.invariant)( - store, - true && - 'Disclosure must receive a `store` prop or be wrapped in a DisclosureProvider component.' - ); - const ref = (0, - react__WEBPACK_IMPORTED_MODULE_6__.useRef)(null); - const [expanded, setExpanded] = (0, - react__WEBPACK_IMPORTED_MODULE_6__.useState)(false); - const disclosureElement = - store.useState('disclosureElement'); - const open = store.useState('open'); - (0, - react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => { - let isCurrentDisclosure = - disclosureElement === ref.current; - if ( - !(disclosureElement == null - ? void 0 - : disclosureElement.isConnected) - ) { - store == null - ? void 0 - : store.setDisclosureElement(ref.current); - isCurrentDisclosure = true; - } - setExpanded(open && isCurrentDisclosure); - }, [disclosureElement, store, open]); - const onClickProp = props.onClick; - const toggleOnClickProp = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__.useBooleanEvent)( - toggleOnClick - ); - const [isDuplicate, metadataProps] = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__.useMetadataProps)( - props, - symbol, - true - ); - const onClick = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__.useEvent)( - (event) => { - onClickProp == null - ? void 0 - : onClickProp(event); - if (event.defaultPrevented) return; - if (isDuplicate) return; - if (!toggleOnClickProp(event)) return; - store == null - ? void 0 - : store.setDisclosureElement( - event.currentTarget - ); - store == null ? void 0 : store.toggle(); - } - ); - const contentElement = store.useState('contentElement'); - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - { - 'aria-expanded': expanded, - 'aria-controls': - contentElement == null - ? void 0 - : contentElement.id, - }, - metadataProps - ), - props - ), - { - ref: (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__.useMergeRefs)( - ref, - props.ref - ), - onClick, - } - ); - props = (0, - _XCKGTAUF_js__WEBPACK_IMPORTED_MODULE_1__.useButton)( - props - ); - return props; - } - ); - var Disclosure = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.forwardRef)( - function Disclosure2(props) { - const htmlProps = useDisclosure(props); - return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.createElement)( - TagName, - htmlProps - ); - } - ); - - /***/ - }, - - /***/ './node_modules/@ariakit/react-core/esm/__chunks/NSTBQJLB.js': - /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/NSTBQJLB.js ***! - \*******************************************************************/ - /***/ function ( - __unused_webpack___webpack_module__, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ Composite: function () { - return /* binding */ Composite; - }, - /* harmony export */ useComposite: function () { - return /* binding */ useComposite; - }, - /* harmony export */ - } - ); - /* harmony import */ var _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./5VQZOHHZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/5VQZOHHZ.js' - ); - /* harmony import */ var _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ./APTFW6PT.js */ './node_modules/@ariakit/react-core/esm/__chunks/APTFW6PT.js' - ); - /* harmony import */ var _OE2EFRVA_js__WEBPACK_IMPORTED_MODULE_2__ = - __webpack_require__( - /*! ./OE2EFRVA.js */ './node_modules/@ariakit/react-core/esm/__chunks/OE2EFRVA.js' - ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__ = - __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' - ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__ = - __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' - ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__ = - __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' - ); - /* harmony import */ var _ariakit_core_utils_array__WEBPACK_IMPORTED_MODULE_6__ = - __webpack_require__( - /*! @ariakit/core/utils/array */ './node_modules/@ariakit/core/esm/__chunks/7PRQYBBV.js' - ); - /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_7__ = - __webpack_require__( - /*! @ariakit/core/utils/dom */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' - ); - /* harmony import */ var _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_8__ = - __webpack_require__( - /*! @ariakit/core/utils/events */ './node_modules/@ariakit/core/esm/utils/events.js' - ); - /* harmony import */ var _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_9__ = - __webpack_require__( - /*! @ariakit/core/utils/focus */ './node_modules/@ariakit/core/esm/utils/focus.js' - ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_10__ = - __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' - ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_11__ = - __webpack_require__( - /*! react */ './node_modules/react/index.js' - ); - /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__ = - __webpack_require__( - /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' - ); - ('use client'); - - // src/composite/composite.tsx - - var TagName = 'div'; - function isGrid(items) { - return items.some((item) => !!item.rowId); - } - function isPrintableKey(event) { - const target = event.target; - if ( - target && - !(0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_7__.isTextField)( - target - ) - ) - return false; - return ( - event.key.length === 1 && - !event.ctrlKey && - !event.metaKey - ); - } - function isModifierKey(event) { - return ( - event.key === 'Shift' || - event.key === 'Control' || - event.key === 'Alt' || - event.key === 'Meta' - ); - } - function useKeyboardEventProxy( - store, - onKeyboardEvent, - previousElementRef - ) { - return (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useEvent)( - (event) => { - var _a; - onKeyboardEvent == null - ? void 0 - : onKeyboardEvent(event); - if (event.defaultPrevented) return; - if (event.isPropagationStopped()) return; - if ( - !(0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_8__.isSelfTarget)( - event - ) - ) - return; - if (isModifierKey(event)) return; - if (isPrintableKey(event)) return; - const state = store.getState(); - const activeElement = - (_a = (0, - _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.getEnabledItem)( - store, - state.activeId - )) == null - ? void 0 - : _a.element; - if (!activeElement) return; - const _b = event, - { view } = _b, - eventInit = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__objRest)( - _b, - ['view'] - ); - const previousElement = - previousElementRef == null - ? void 0 - : previousElementRef.current; - if (activeElement !== previousElement) { - activeElement.focus(); - } - if ( - !(0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_8__.fireKeyboardEvent)( - activeElement, - event.type, - eventInit - ) - ) { - event.preventDefault(); - } - if (event.currentTarget.contains(activeElement)) { - event.stopPropagation(); - } - } - ); - } - function findFirstEnabledItemInTheLastRow(items) { - return (0, - _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.findFirstEnabledItem)( - (0, - _ariakit_core_utils_array__WEBPACK_IMPORTED_MODULE_6__.flatten2DArray)( - (0, - _ariakit_core_utils_array__WEBPACK_IMPORTED_MODULE_6__.reverseArray)( - (0, - _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.groupItemsByRows)( - items - ) - ) - ) - ); - } - function useScheduleFocus(store) { - const [scheduled, setScheduled] = (0, - react__WEBPACK_IMPORTED_MODULE_11__.useState)(false); - const schedule = (0, - react__WEBPACK_IMPORTED_MODULE_11__.useCallback)( - () => setScheduled(true), - [] - ); - const activeItem = store.useState((state) => - (0, - _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.getEnabledItem)( - store, - state.activeId - ) - ); - (0, react__WEBPACK_IMPORTED_MODULE_11__.useEffect)(() => { - const activeElement = - activeItem == null ? void 0 : activeItem.element; - if (!scheduled) return; - if (!activeElement) return; - setScheduled(false); - activeElement.focus({ preventScroll: true }); - }, [activeItem, scheduled]); - return schedule; - } - var useComposite = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__.createHook)( - function useComposite2(_a) { - var _b = _a, - { - store, - composite = true, - focusOnMove = composite, - moveOnKeyPress = true, - } = _b, - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__objRest)( - _b, - [ - 'store', - 'composite', - 'focusOnMove', - 'moveOnKeyPress', - ] - ); - const context = (0, - _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_1__.useCompositeProviderContext)(); - store = store || context; - (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_10__.invariant)( - store, - true && - 'Composite must receive a `store` prop or be wrapped in a CompositeProvider component.' - ); - const ref = (0, - react__WEBPACK_IMPORTED_MODULE_11__.useRef)(null); - const previousElementRef = (0, - react__WEBPACK_IMPORTED_MODULE_11__.useRef)(null); - const scheduleFocus = useScheduleFocus(store); - const moves = store.useState('moves'); - const [, setBaseElement] = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useTransactionState)( - composite ? store.setBaseElement : null - ); - (0, - react__WEBPACK_IMPORTED_MODULE_11__.useEffect)(() => { - var _a2; - if (!store) return; - if (!moves) return; - if (!composite) return; - if (!focusOnMove) return; - const { activeId: activeId2 } = store.getState(); - const itemElement = - (_a2 = (0, - _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.getEnabledItem)( - store, - activeId2 - )) == null - ? void 0 - : _a2.element; - if (!itemElement) return; - (0, - _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_9__.focusIntoView)( - itemElement - ); - }, [store, moves, composite, focusOnMove]); - (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useSafeLayoutEffect)(() => { - if (!store) return; - if (!moves) return; - if (!composite) return; - const { baseElement, activeId: activeId2 } = - store.getState(); - const isSelfAcive = activeId2 === null; - if (!isSelfAcive) return; - if (!baseElement) return; - const previousElement = previousElementRef.current; - previousElementRef.current = null; - if (previousElement) { - (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_8__.fireBlurEvent)( - previousElement, - { relatedTarget: baseElement } - ); - } - if ( - !(0, - _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_9__.hasFocus)( - baseElement - ) - ) { - baseElement.focus(); - } - }, [store, moves, composite]); - const activeId = store.useState('activeId'); - const virtualFocus = store.useState('virtualFocus'); - (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useSafeLayoutEffect)(() => { - var _a2; - if (!store) return; - if (!composite) return; - if (!virtualFocus) return; - const previousElement = previousElementRef.current; - previousElementRef.current = null; - if (!previousElement) return; - const activeElement = - (_a2 = (0, - _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.getEnabledItem)( - store, - activeId - )) == null - ? void 0 - : _a2.element; - const relatedTarget = - activeElement || - (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_7__.getActiveElement)( - previousElement - ); - if (relatedTarget === previousElement) return; - (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_8__.fireBlurEvent)( - previousElement, - { relatedTarget } - ); - }, [store, activeId, virtualFocus, composite]); - const onKeyDownCapture = useKeyboardEventProxy( - store, - props.onKeyDownCapture, - previousElementRef - ); - const onKeyUpCapture = useKeyboardEventProxy( - store, - props.onKeyUpCapture, - previousElementRef - ); - const onFocusCaptureProp = props.onFocusCapture; - const onFocusCapture = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useEvent)( - (event) => { - onFocusCaptureProp == null - ? void 0 - : onFocusCaptureProp(event); - if (event.defaultPrevented) return; - if (!store) return; - const { virtualFocus: virtualFocus2 } = - store.getState(); - if (!virtualFocus2) return; - const previousActiveElement = - event.relatedTarget; - const isSilentlyFocused = (0, - _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.silentlyFocused)( - event.currentTarget - ); - if ( - (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_8__.isSelfTarget)( - event - ) && - isSilentlyFocused - ) { - event.stopPropagation(); - previousElementRef.current = - previousActiveElement; - } - } - ); - const onFocusProp = props.onFocus; - const onFocus = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useEvent)( - (event) => { - onFocusProp == null - ? void 0 - : onFocusProp(event); - if (event.defaultPrevented) return; - if (!composite) return; - if (!store) return; - const { relatedTarget } = event; - const { virtualFocus: virtualFocus2 } = - store.getState(); - if (virtualFocus2) { - if ( - (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_8__.isSelfTarget)( - event - ) && - !(0, - _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.isItem)( - store, - relatedTarget - ) - ) { - queueMicrotask(scheduleFocus); - } - } else if ( - (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_8__.isSelfTarget)( - event - ) - ) { - store.setActiveId(null); - } - } - ); - const onBlurCaptureProp = props.onBlurCapture; - const onBlurCapture = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useEvent)( - (event) => { - var _a2; - onBlurCaptureProp == null - ? void 0 - : onBlurCaptureProp(event); - if (event.defaultPrevented) return; - if (!store) return; - const { - virtualFocus: virtualFocus2, - activeId: activeId2, - } = store.getState(); - if (!virtualFocus2) return; - const activeElement = - (_a2 = (0, - _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.getEnabledItem)( - store, - activeId2 - )) == null - ? void 0 - : _a2.element; - const nextActiveElement = event.relatedTarget; - const nextActiveElementIsItem = (0, - _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.isItem)( - store, - nextActiveElement - ); - const previousElement = - previousElementRef.current; - previousElementRef.current = null; - if ( - (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_8__.isSelfTarget)( - event - ) && - nextActiveElementIsItem - ) { - if (nextActiveElement === activeElement) { - if ( - previousElement && - previousElement !== - nextActiveElement - ) { - (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_8__.fireBlurEvent)( - previousElement, - event - ); - } - } else if (activeElement) { - (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_8__.fireBlurEvent)( - activeElement, - event - ); - } else if (previousElement) { - (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_8__.fireBlurEvent)( - previousElement, - event - ); - } - event.stopPropagation(); - } else { - const targetIsItem = (0, - _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.isItem)( - store, - event.target - ); - if (!targetIsItem && activeElement) { - (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_8__.fireBlurEvent)( - activeElement, - event - ); - } - } - } - ); - const onKeyDownProp = props.onKeyDown; - const moveOnKeyPressProp = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useBooleanEvent)( - moveOnKeyPress - ); - const onKeyDown = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useEvent)( - (event) => { - var _a2; - onKeyDownProp == null - ? void 0 - : onKeyDownProp(event); - if (event.nativeEvent.isComposing) return; - if (event.defaultPrevented) return; - if (!store) return; - if ( - !(0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_8__.isSelfTarget)( - event - ) - ) - return; - const { - orientation, - renderedItems, - activeId: activeId2, - } = store.getState(); - const activeItem = (0, - _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.getEnabledItem)( - store, - activeId2 - ); - if ( - (_a2 = - activeItem == null - ? void 0 - : activeItem.element) == null - ? void 0 - : _a2.isConnected - ) - return; - const isVertical = orientation !== 'horizontal'; - const isHorizontal = orientation !== 'vertical'; - const grid = isGrid(renderedItems); - const isHorizontalKey = - event.key === 'ArrowLeft' || - event.key === 'ArrowRight' || - event.key === 'Home' || - event.key === 'End'; - if ( - isHorizontalKey && - (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_7__.isTextField)( - event.currentTarget - ) - ) - return; - const up = () => { - if (grid) { - const item = - findFirstEnabledItemInTheLastRow( - renderedItems - ); - return item == null ? void 0 : item.id; - } - return store == null - ? void 0 - : store.last(); - }; - const keyMap = { - ArrowUp: (grid || isVertical) && up, - ArrowRight: - (grid || isHorizontal) && store.first, - ArrowDown: - (grid || isVertical) && store.first, - ArrowLeft: - (grid || isHorizontal) && store.last, - Home: store.first, - End: store.last, - PageUp: store.first, - PageDown: store.last, - }; - const action = keyMap[event.key]; - if (action) { - const id = action(); - if (id !== void 0) { - if (!moveOnKeyPressProp(event)) return; - event.preventDefault(); - store.move(id); - } - } - } - ); - props = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useWrapElement)( - props, - (element) => - /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)( - _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_1__.CompositeContextProvider, - { value: store, children: element } - ), - [store] - ); - const activeDescendant = store.useState((state) => { - var _a2; - if (!store) return; - if (!composite) return; - if (!state.virtualFocus) return; - return (_a2 = (0, - _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.getEnabledItem)( - store, - state.activeId - )) == null - ? void 0 - : _a2.id; - }); - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - { - 'aria-activedescendant': activeDescendant, - }, - props - ), - { - ref: (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useMergeRefs)( - ref, - setBaseElement, - props.ref - ), - onKeyDownCapture, - onKeyUpCapture, - onFocusCapture, - onFocus, - onBlurCapture, - onKeyDown, - } - ); - const focusable = store.useState( - (state) => - composite && - (state.virtualFocus || state.activeId === null) - ); - props = (0, - _OE2EFRVA_js__WEBPACK_IMPORTED_MODULE_2__.useFocusable)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - { focusable }, - props - ) - ); - return props; - } - ); - var Composite = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__.forwardRef)( - function Composite2(props) { - const htmlProps = useComposite(props); - return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__.createElement)( - TagName, - htmlProps - ); - } - ); - - /***/ - }, - - /***/ './node_modules/@ariakit/react-core/esm/__chunks/OE2EFRVA.js': - /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/OE2EFRVA.js ***! - \*******************************************************************/ - /***/ function ( - __unused_webpack___webpack_module__, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ Focusable: function () { - return /* binding */ Focusable; - }, - /* harmony export */ isSafariFocusAncestor: - function () { - return /* binding */ isSafariFocusAncestor; - }, - /* harmony export */ useFocusable: function () { - return /* binding */ useFocusable; - }, - /* harmony export */ - } - ); - /* harmony import */ var _SWN3JYXT_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./SWN3JYXT.js */ './node_modules/@ariakit/react-core/esm/__chunks/SWN3JYXT.js' - ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' - ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__ = - __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' - ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__ = - __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' - ); - /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_4__ = - __webpack_require__( - /*! @ariakit/core/utils/dom */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' - ); - /* harmony import */ var _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_5__ = - __webpack_require__( - /*! @ariakit/core/utils/events */ './node_modules/@ariakit/core/esm/utils/events.js' - ); - /* harmony import */ var _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_6__ = - __webpack_require__( - /*! @ariakit/core/utils/focus */ './node_modules/@ariakit/core/esm/utils/focus.js' - ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_7__ = - __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' - ); - /* harmony import */ var _ariakit_core_utils_platform__WEBPACK_IMPORTED_MODULE_8__ = - __webpack_require__( - /*! @ariakit/core/utils/platform */ './node_modules/@ariakit/core/esm/__chunks/O6E4ZWCP.js' - ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_9__ = - __webpack_require__( - /*! react */ './node_modules/react/index.js' - ); - ('use client'); - - // src/focusable/focusable.tsx - - var TagName = 'div'; - var isSafariBrowser = (0, - _ariakit_core_utils_platform__WEBPACK_IMPORTED_MODULE_8__.isSafari)(); - var alwaysFocusVisibleInputTypes = [ - 'text', - 'search', - 'url', - 'tel', - 'email', - 'password', - 'number', - 'date', - 'month', - 'week', - 'time', - 'datetime', - 'datetime-local', - ]; - var safariFocusAncestorSymbol = Symbol('safariFocusAncestor'); - function isSafariFocusAncestor(element) { - if (!element) return false; - return !!element[safariFocusAncestorSymbol]; - } - function markSafariFocusAncestor(element, value) { - if (!element) return; - element[safariFocusAncestorSymbol] = value; - } - function isAlwaysFocusVisible(element) { - const { tagName, readOnly, type } = element; - if (tagName === 'TEXTAREA' && !readOnly) return true; - if (tagName === 'SELECT' && !readOnly) return true; - if (tagName === 'INPUT' && !readOnly) { - return alwaysFocusVisibleInputTypes.includes(type); - } - if (element.isContentEditable) return true; - const role = element.getAttribute('role'); - if (role === 'combobox' && element.dataset.name) { - return true; - } - return false; - } - function getLabels(element) { - if ('labels' in element) { - return element.labels; - } - return null; - } - function isNativeCheckboxOrRadio(element) { - const tagName = element.tagName.toLowerCase(); - if (tagName === 'input' && element.type) { - return ( - element.type === 'radio' || - element.type === 'checkbox' - ); - } - return false; - } - function isNativeTabbable(tagName) { - if (!tagName) return true; - return ( - tagName === 'button' || - tagName === 'summary' || - tagName === 'input' || - tagName === 'select' || - tagName === 'textarea' || - tagName === 'a' - ); - } - function supportsDisabledAttribute(tagName) { - if (!tagName) return true; - return ( - tagName === 'button' || - tagName === 'input' || - tagName === 'select' || - tagName === 'textarea' - ); - } - function getTabIndex( - focusable, - trulyDisabled, - nativeTabbable, - supportsDisabled, - tabIndexProp - ) { - if (!focusable) { - return tabIndexProp; - } - if (trulyDisabled) { - if (nativeTabbable && !supportsDisabled) { - return -1; - } - return; - } - if (nativeTabbable) { - return tabIndexProp; - } - return tabIndexProp || 0; - } - function useDisableEvent(onEvent, disabled) { - return (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__.useEvent)( - (event) => { - onEvent == null ? void 0 : onEvent(event); - if (event.defaultPrevented) return; - if (disabled) { - event.stopPropagation(); - event.preventDefault(); - } - } - ); - } - var hasInstalledGlobalEventListeners = false; - var isKeyboardModality = true; - function onGlobalMouseDown(event) { - const target = event.target; - if (target && 'hasAttribute' in target) { - if (!target.hasAttribute('data-focus-visible')) { - isKeyboardModality = false; - } - } - } - function onGlobalKeyDown(event) { - if (event.metaKey) return; - if (event.ctrlKey) return; - if (event.altKey) return; - isKeyboardModality = true; + return useCheckboxStoreProps(store, update, props); } - var useFocusable = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createHook)( - function useFocusable2(_a) { - var _b = _a, - { - focusable = true, - accessibleWhenDisabled, - autoFocus, - onFocusVisible, - } = _b, - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__objRest)( - _b, - [ - 'focusable', - 'accessibleWhenDisabled', - 'autoFocus', - 'onFocusVisible', - ] - ); - const ref = (0, - react__WEBPACK_IMPORTED_MODULE_9__.useRef)(null); - (0, - react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(() => { - if (!focusable) return; - if (hasInstalledGlobalEventListeners) return; - (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_5__.addGlobalEventListener)( - 'mousedown', - onGlobalMouseDown, - true - ); - (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_5__.addGlobalEventListener)( - 'keydown', - onGlobalKeyDown, - true - ); - hasInstalledGlobalEventListeners = true; - }, [focusable]); - if (isSafariBrowser) { - (0, - react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(() => { - if (!focusable) return; - const element = ref.current; - if (!element) return; - if (!isNativeCheckboxOrRadio(element)) return; - const labels = getLabels(element); - if (!labels) return; - const onMouseUp = () => - queueMicrotask(() => element.focus()); - for (const label of labels) { - label.addEventListener( - 'mouseup', - onMouseUp - ); - } - return () => { - for (const label of labels) { - label.removeEventListener( - 'mouseup', - onMouseUp - ); - } - }; - }, [focusable]); - } - const disabled = - focusable && - (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_7__.disabledFromProps)( - props - ); - const trulyDisabled = - !!disabled && !accessibleWhenDisabled; - const [focusVisible, setFocusVisible] = (0, - react__WEBPACK_IMPORTED_MODULE_9__.useState)(false); - (0, - react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(() => { - if (!focusable) return; - if (trulyDisabled && focusVisible) { - setFocusVisible(false); - } - }, [focusable, trulyDisabled, focusVisible]); - (0, - react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(() => { - if (!focusable) return; - if (!focusVisible) return; - const element = ref.current; - if (!element) return; - if (typeof IntersectionObserver === 'undefined') - return; - const observer = new IntersectionObserver(() => { - if ( - !(0, - _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_6__.isFocusable)( - element - ) - ) { - setFocusVisible(false); - } - }); - observer.observe(element); - return () => observer.disconnect(); - }, [focusable, focusVisible]); - const onKeyPressCapture = useDisableEvent( - props.onKeyPressCapture, - disabled - ); - const onMouseDownCapture = useDisableEvent( - props.onMouseDownCapture, - disabled - ); - const onClickCapture = useDisableEvent( - props.onClickCapture, - disabled - ); - const onMouseDownProp = props.onMouseDown; - const onMouseDown = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__.useEvent)( - (event) => { - onMouseDownProp == null - ? void 0 - : onMouseDownProp(event); - if (event.defaultPrevented) return; - if (!focusable) return; - const element = event.currentTarget; - if (!isSafariBrowser) return; - if ( - (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_5__.isPortalEvent)( - event - ) - ) - return; - if ( - !(0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_4__.isButton)( - element - ) && - !isNativeCheckboxOrRadio(element) - ) - return; - let receivedFocus = false; - const onFocus = () => { - receivedFocus = true; - }; - const options = { capture: true, once: true }; - element.addEventListener( - 'focusin', - onFocus, - options - ); - const focusableContainer = (0, - _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_6__.getClosestFocusable)( - element.parentElement - ); - markSafariFocusAncestor( - focusableContainer, - true - ); - (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_5__.queueBeforeEvent)( - element, - 'mouseup', - () => { - element.removeEventListener( - 'focusin', - onFocus, - true - ); - markSafariFocusAncestor( - focusableContainer, - false - ); - if (receivedFocus) return; - (0, - _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_6__.focusIfNeeded)( - element - ); - } - ); - } - ); - const handleFocusVisible = (event, currentTarget) => { - if (currentTarget) { - event.currentTarget = currentTarget; - } - if (!focusable) return; - const element = event.currentTarget; - if (!element) return; - if ( - !(0, - _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_6__.hasFocus)( - element - ) - ) - return; - onFocusVisible == null - ? void 0 - : onFocusVisible(event); - if (event.defaultPrevented) return; - element.dataset.focusVisible = 'true'; - setFocusVisible(true); - }; - const onKeyDownCaptureProp = props.onKeyDownCapture; - const onKeyDownCapture = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__.useEvent)( - (event) => { - onKeyDownCaptureProp == null - ? void 0 - : onKeyDownCaptureProp(event); - if (event.defaultPrevented) return; - if (!focusable) return; - if (focusVisible) return; - if (event.metaKey) return; - if (event.altKey) return; - if (event.ctrlKey) return; - if ( - !(0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_5__.isSelfTarget)( - event - ) - ) - return; - const element = event.currentTarget; - const applyFocusVisible = () => - handleFocusVisible(event, element); - (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_5__.queueBeforeEvent)( - element, - 'focusout', - applyFocusVisible - ); - } - ); - const onFocusCaptureProp = props.onFocusCapture; - const onFocusCapture = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__.useEvent)( - (event) => { - onFocusCaptureProp == null - ? void 0 - : onFocusCaptureProp(event); - if (event.defaultPrevented) return; - if (!focusable) return; - if ( - !(0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_5__.isSelfTarget)( - event - ) - ) { - setFocusVisible(false); - return; - } - const element = event.currentTarget; - const applyFocusVisible = () => - handleFocusVisible(event, element); - if ( - isKeyboardModality || - isAlwaysFocusVisible(event.target) - ) { - (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_5__.queueBeforeEvent)( - event.target, - 'focusout', - applyFocusVisible - ); - } else { - setFocusVisible(false); - } - } - ); - const onBlurProp = props.onBlur; - const onBlur = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__.useEvent)( - (event) => { - onBlurProp == null ? void 0 : onBlurProp(event); - if (!focusable) return; - if ( - !(0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_5__.isFocusEventOutside)( - event - ) - ) - return; - event.currentTarget.removeAttribute( - 'data-focus-visible' - ); - setFocusVisible(false); - } - ); - const autoFocusOnShow = (0, - react__WEBPACK_IMPORTED_MODULE_9__.useContext)( - _SWN3JYXT_js__WEBPACK_IMPORTED_MODULE_0__.FocusableContext - ); - const autoFocusRef = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__.useEvent)( - (element) => { - if (!focusable) return; - if (!autoFocus) return; - if (!element) return; - if (!autoFocusOnShow) return; - queueMicrotask(() => { - if ( - (0, - _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_6__.hasFocus)( - element - ) - ) - return; - if ( - !(0, - _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_6__.isFocusable)( - element - ) - ) - return; - element.focus(); - }); - } - ); - const tagName = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__.useTagName)( - ref - ); - const nativeTabbable = - focusable && isNativeTabbable(tagName); - const supportsDisabled = - focusable && supportsDisabledAttribute(tagName); - const styleProp = props.style; - const style = (0, - react__WEBPACK_IMPORTED_MODULE_9__.useMemo)(() => { - if (trulyDisabled) { - return (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - { pointerEvents: 'none' }, - styleProp - ); - } - return styleProp; - }, [trulyDisabled, styleProp]); - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - { - 'data-focus-visible': - (focusable && focusVisible) || void 0, - 'data-autofocus': autoFocus || void 0, - 'aria-disabled': disabled || void 0, - }, - props - ), - { - ref: (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__.useMergeRefs)( - ref, - autoFocusRef, - props.ref - ), - style, - tabIndex: getTabIndex( - focusable, - trulyDisabled, - nativeTabbable, - supportsDisabled, - props.tabIndex - ), - disabled: - supportsDisabled && trulyDisabled - ? true - : void 0, - // TODO: Test Focusable contentEditable. - contentEditable: disabled - ? void 0 - : props.contentEditable, - onKeyPressCapture, - onClickCapture, - onMouseDownCapture, - onMouseDown, - onKeyDownCapture, - onFocusCapture, - onBlur, - } - ); - return (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_7__.removeUndefinedValues)( - props - ); - } - ); - var Focusable = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.forwardRef)( - function Focusable2(props) { - const htmlProps = useFocusable(props); - return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createElement)( - TagName, - htmlProps - ); - } - ); - - /***/ - }, - - /***/ './node_modules/@ariakit/react-core/esm/__chunks/OLVWQA7U.js': - /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/OLVWQA7U.js ***! - \*******************************************************************/ - /***/ function ( - __unused_webpack___webpack_module__, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ ComboboxContextProvider: - function () { - return /* binding */ ComboboxContextProvider; - }, - /* harmony export */ ComboboxItemCheckedContext: - function () { - return /* binding */ ComboboxItemCheckedContext; - }, - /* harmony export */ ComboboxItemValueContext: - function () { - return /* binding */ ComboboxItemValueContext; - }, - /* harmony export */ ComboboxListRoleContext: - function () { - return /* binding */ ComboboxListRoleContext; - }, - /* harmony export */ ComboboxScopedContextProvider: - function () { - return /* binding */ ComboboxScopedContextProvider; - }, - /* harmony export */ useComboboxContext: function () { - return /* binding */ useComboboxContext; - }, - /* harmony export */ useComboboxProviderContext: - function () { - return /* binding */ useComboboxProviderContext; - }, - /* harmony export */ useComboboxScopedContext: - function () { - return /* binding */ useComboboxScopedContext; - }, - /* harmony export */ - } - ); - /* harmony import */ var _Y67KZUMI_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./Y67KZUMI.js */ './node_modules/@ariakit/react-core/esm/__chunks/Y67KZUMI.js' - ); - /* harmony import */ var _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ./APTFW6PT.js */ './node_modules/@ariakit/react-core/esm/__chunks/APTFW6PT.js' - ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__ = - __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' - ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = - __webpack_require__( - /*! react */ './node_modules/react/index.js' - ); - ('use client'); - - // src/combobox/combobox-context.tsx - - var ComboboxListRoleContext = (0, - react__WEBPACK_IMPORTED_MODULE_3__.createContext)(void 0); - var ctx = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.createStoreContext)( - [ - _Y67KZUMI_js__WEBPACK_IMPORTED_MODULE_0__.PopoverContextProvider, - _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_1__.CompositeContextProvider, - ], - [ - _Y67KZUMI_js__WEBPACK_IMPORTED_MODULE_0__.PopoverScopedContextProvider, - _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_1__.CompositeScopedContextProvider, - ] - ); - var useComboboxContext = ctx.useContext; - var useComboboxScopedContext = ctx.useScopedContext; - var useComboboxProviderContext = ctx.useProviderContext; - var ComboboxContextProvider = ctx.ContextProvider; - var ComboboxScopedContextProvider = ctx.ScopedContextProvider; - var ComboboxItemValueContext = (0, - react__WEBPACK_IMPORTED_MODULE_3__.createContext)(void 0); - var ComboboxItemCheckedContext = (0, - react__WEBPACK_IMPORTED_MODULE_3__.createContext)(false); /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/OXP7NBTN.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/KWQBZ6D4.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/OXP7NBTN.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/KWQBZ6D4.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -18162,596 +15265,62 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ Popover: function () { - return /* binding */ Popover; + /* harmony export */ useRadioStore: function () { + return /* binding */ useRadioStore; }, - /* harmony export */ usePopover: function () { - return /* binding */ usePopover; + /* harmony export */ useRadioStoreProps: function () { + return /* binding */ useRadioStoreProps; }, /* harmony export */ } ); - /* harmony import */ var _NI3IVY7K_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./NI3IVY7K.js */ './node_modules/@ariakit/react-core/esm/__chunks/NI3IVY7K.js' - ); - /* harmony import */ var _Y67KZUMI_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ./Y67KZUMI.js */ './node_modules/@ariakit/react-core/esm/__chunks/Y67KZUMI.js' - ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__ = - __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' - ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__ = - __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' - ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__ = - __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' - ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__ = - __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' - ); - /* harmony import */ var _floating_ui_dom__WEBPACK_IMPORTED_MODULE_6__ = + /* harmony import */ var _VEHC2EHR_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! @floating-ui/dom */ './node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs' + /*! ./VEHC2EHR.js */ './node_modules/@ariakit/react-core/esm/__chunks/VEHC2EHR.js' ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = + /* harmony import */ var _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! react */ './node_modules/react/index.js' + /*! ./Q3KUZPD7.js */ './node_modules/@ariakit/react-core/esm/__chunks/Q3KUZPD7.js' ); - /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = + /* harmony import */ var _ariakit_core_radio_radio_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' + /*! @ariakit/core/radio/radio-store */ './node_modules/@ariakit/core/esm/radio/radio-store.js' ); ('use client'); - // src/popover/popover.tsx + // src/radio/radio-store.ts - var TagName = 'div'; - function createDOMRect(x = 0, y = 0, width = 0, height = 0) { - if (typeof DOMRect === 'function') { - return new DOMRect(x, y, width, height); - } - const rect = { - x, - y, - width, - height, - top: y, - right: x + width, - bottom: y + height, - left: x, - }; - return (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - {}, - rect - ), - { toJSON: () => rect } - ); - } - function getDOMRect(anchorRect) { - if (!anchorRect) return createDOMRect(); - const { x, y, width, height } = anchorRect; - return createDOMRect(x, y, width, height); - } - function getAnchorElement(anchorElement, getAnchorRect) { - const contextElement = anchorElement || void 0; - return { - contextElement, - getBoundingClientRect: () => { - const anchor = anchorElement; - const anchorRect = - getAnchorRect == null - ? void 0 - : getAnchorRect(anchor); - if (anchorRect || !anchor) { - return getDOMRect(anchorRect); - } - return anchor.getBoundingClientRect(); - }, - }; - } - function isValidPlacement(flip2) { - return /^(?:top|bottom|left|right)(?:-(?:start|end))?$/.test( - flip2 - ); - } - function roundByDPR(value) { - const dpr = window.devicePixelRatio || 1; - return Math.round(value * dpr) / dpr; - } - function getOffsetMiddleware(arrowElement, props) { - return (0, - _floating_ui_dom__WEBPACK_IMPORTED_MODULE_6__.offset)( - ({ placement }) => { - var _a; - const arrowOffset = - ((arrowElement == null - ? void 0 - : arrowElement.clientHeight) || 0) / 2; - const finalGutter = - typeof props.gutter === 'number' - ? props.gutter + arrowOffset - : (_a = props.gutter) != null - ? _a - : arrowOffset; - const hasAlignment = !!placement.split('-')[1]; - return { - crossAxis: !hasAlignment ? props.shift : void 0, - mainAxis: finalGutter, - alignmentAxis: props.shift, - }; - } - ); - } - function getFlipMiddleware(props) { - if (props.flip === false) return; - const fallbackPlacements = - typeof props.flip === 'string' - ? props.flip.split(' ') - : void 0; - (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__.invariant)( - !fallbackPlacements || - fallbackPlacements.every(isValidPlacement), - true && - '`flip` expects a spaced-delimited list of placements' + function useRadioStoreProps(store, update, props) { + store = (0, + _VEHC2EHR_js__WEBPACK_IMPORTED_MODULE_0__.useCompositeStoreProps)( + store, + update, + props ); - return (0, - _floating_ui_dom__WEBPACK_IMPORTED_MODULE_6__.flip)({ - padding: props.overflowPadding, - fallbackPlacements, - }); - } - function getShiftMiddleware(props) { - if (!props.slide && !props.overlap) return; - return (0, - _floating_ui_dom__WEBPACK_IMPORTED_MODULE_6__.shift)({ - mainAxis: props.slide, - crossAxis: props.overlap, - padding: props.overflowPadding, - limiter: (0, - _floating_ui_dom__WEBPACK_IMPORTED_MODULE_6__.limitShift)(), - }); - } - function getSizeMiddleware(props) { - return (0, - _floating_ui_dom__WEBPACK_IMPORTED_MODULE_6__.size)({ - padding: props.overflowPadding, - apply({ - elements, - availableWidth, - availableHeight, - rects, - }) { - const wrapper = elements.floating; - const referenceWidth = Math.round( - rects.reference.width - ); - availableWidth = Math.floor(availableWidth); - availableHeight = Math.floor(availableHeight); - wrapper.style.setProperty( - '--popover-anchor-width', - `${referenceWidth}px` - ); - wrapper.style.setProperty( - '--popover-available-width', - `${availableWidth}px` - ); - wrapper.style.setProperty( - '--popover-available-height', - `${availableHeight}px` - ); - if (props.sameWidth) { - wrapper.style.width = `${referenceWidth}px`; - } - if (props.fitViewport) { - wrapper.style.maxWidth = `${availableWidth}px`; - wrapper.style.maxHeight = `${availableHeight}px`; - } - }, - }); - } - function getArrowMiddleware(arrowElement, props) { - if (!arrowElement) return; - return (0, - _floating_ui_dom__WEBPACK_IMPORTED_MODULE_6__.arrow)({ - element: arrowElement, - padding: props.arrowPadding, - }); - } - var usePopover = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.createHook)( - function usePopover2(_a) { - var _b = _a, - { - store, - modal = false, - portal = !!modal, - preserveTabOrder = true, - autoFocusOnShow = true, - wrapperProps, - fixed = false, - flip: flip2 = true, - shift: shift2 = 0, - slide = true, - overlap = false, - sameWidth = false, - fitViewport = false, - gutter, - arrowPadding = 4, - overflowPadding = 8, - getAnchorRect, - updatePosition, - } = _b, - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__objRest)( - _b, - [ - 'store', - 'modal', - 'portal', - 'preserveTabOrder', - 'autoFocusOnShow', - 'wrapperProps', - 'fixed', - 'flip', - 'shift', - 'slide', - 'overlap', - 'sameWidth', - 'fitViewport', - 'gutter', - 'arrowPadding', - 'overflowPadding', - 'getAnchorRect', - 'updatePosition', - ] - ); - const context = (0, - _Y67KZUMI_js__WEBPACK_IMPORTED_MODULE_1__.usePopoverProviderContext)(); - store = store || context; - (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__.invariant)( - store, - true && - 'Popover must receive a `store` prop or be wrapped in a PopoverProvider component.' - ); - const arrowElement = store.useState('arrowElement'); - const anchorElement = store.useState('anchorElement'); - const disclosureElement = - store.useState('disclosureElement'); - const popoverElement = store.useState('popoverElement'); - const contentElement = store.useState('contentElement'); - const placement = store.useState('placement'); - const mounted = store.useState('mounted'); - const rendered = store.useState('rendered'); - const defaultArrowElementRef = (0, - react__WEBPACK_IMPORTED_MODULE_7__.useRef)(null); - const [positioned, setPositioned] = (0, - react__WEBPACK_IMPORTED_MODULE_7__.useState)(false); - const { portalRef, domReady } = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__.usePortalRef)( - portal, - props.portalRef - ); - const getAnchorRectProp = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__.useEvent)( - getAnchorRect - ); - const updatePositionProp = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__.useEvent)( - updatePosition - ); - const hasCustomUpdatePosition = !!updatePosition; - (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__.useSafeLayoutEffect)(() => { - if ( - !(popoverElement == null - ? void 0 - : popoverElement.isConnected) - ) - return; - popoverElement.style.setProperty( - '--popover-overflow-padding', - `${overflowPadding}px` - ); - const anchor = getAnchorElement( - anchorElement, - getAnchorRectProp - ); - const updatePosition2 = async () => { - if (!mounted) return; - if (!arrowElement) { - defaultArrowElementRef.current = - defaultArrowElementRef.current || - document.createElement('div'); - } - const arrow2 = - arrowElement || - defaultArrowElementRef.current; - const middleware = [ - getOffsetMiddleware(arrow2, { - gutter, - shift: shift2, - }), - getFlipMiddleware({ - flip: flip2, - overflowPadding, - }), - getShiftMiddleware({ - slide, - shift: shift2, - overlap, - overflowPadding, - }), - getArrowMiddleware(arrow2, { - arrowPadding, - }), - getSizeMiddleware({ - sameWidth, - fitViewport, - overflowPadding, - }), - ]; - const pos = await (0, - _floating_ui_dom__WEBPACK_IMPORTED_MODULE_6__.computePosition)( - anchor, - popoverElement, - { - placement, - strategy: fixed ? 'fixed' : 'absolute', - middleware, - } - ); - store == null - ? void 0 - : store.setState( - 'currentPlacement', - pos.placement - ); - setPositioned(true); - const x = roundByDPR(pos.x); - const y = roundByDPR(pos.y); - Object.assign(popoverElement.style, { - top: '0', - left: '0', - transform: `translate3d(${x}px,${y}px,0)`, - }); - if (arrow2 && pos.middlewareData.arrow) { - const { x: arrowX, y: arrowY } = - pos.middlewareData.arrow; - const side = pos.placement.split('-')[0]; - const centerX = arrow2.clientWidth / 2; - const centerY = arrow2.clientHeight / 2; - const originX = - arrowX != null - ? arrowX + centerX - : -centerX; - const originY = - arrowY != null - ? arrowY + centerY - : -centerY; - popoverElement.style.setProperty( - '--popover-transform-origin', - { - top: `${originX}px calc(100% + ${centerY}px)`, - bottom: `${originX}px ${-centerY}px`, - left: `calc(100% + ${centerX}px) ${originY}px`, - right: `${-centerX}px ${originY}px`, - }[side] - ); - Object.assign(arrow2.style, { - left: - arrowX != null ? `${arrowX}px` : '', - top: - arrowY != null ? `${arrowY}px` : '', - [side]: '100%', - }); - } - }; - const update = async () => { - if (hasCustomUpdatePosition) { - await updatePositionProp({ - updatePosition: updatePosition2, - }); - setPositioned(true); - } else { - await updatePosition2(); - } - }; - const cancelAutoUpdate = (0, - _floating_ui_dom__WEBPACK_IMPORTED_MODULE_6__.autoUpdate)( - anchor, - popoverElement, - update, - { - // JSDOM doesn't support ResizeObserver - elementResize: - typeof ResizeObserver === 'function', - } - ); - return () => { - setPositioned(false); - cancelAutoUpdate(); - }; - }, [ - store, - rendered, - popoverElement, - arrowElement, - anchorElement, - popoverElement, - placement, - mounted, - domReady, - fixed, - flip2, - shift2, - slide, - overlap, - sameWidth, - fitViewport, - gutter, - arrowPadding, - overflowPadding, - getAnchorRectProp, - hasCustomUpdatePosition, - updatePositionProp, - ]); - (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__.useSafeLayoutEffect)(() => { - if (!mounted) return; - if (!domReady) return; - if ( - !(popoverElement == null - ? void 0 - : popoverElement.isConnected) - ) - return; - if ( - !(contentElement == null - ? void 0 - : contentElement.isConnected) - ) - return; - const applyZIndex = () => { - popoverElement.style.zIndex = - getComputedStyle(contentElement).zIndex; - }; - applyZIndex(); - let raf = requestAnimationFrame(() => { - raf = requestAnimationFrame(applyZIndex); - }); - return () => cancelAnimationFrame(raf); - }, [mounted, domReady, popoverElement, contentElement]); - const position = fixed ? 'fixed' : 'absolute'; - props = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__.useWrapElement)( - props, - (element) => - /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)( - 'div', - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - {}, - wrapperProps - ), - { - style: (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - { - // https://floating-ui.com/docs/computeposition#initial-layout - position, - top: 0, - left: 0, - width: 'max-content', - }, - wrapperProps == null - ? void 0 - : wrapperProps.style - ), - ref: - store == null - ? void 0 - : store.setPopoverElement, - children: element, - } - ) - ), - [store, position, wrapperProps] - ); - props = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__.useWrapElement)( - props, - (element) => - /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)( - _Y67KZUMI_js__WEBPACK_IMPORTED_MODULE_1__.PopoverScopedContextProvider, - { value: store, children: element } - ), - [store] - ); - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - { - // data-placing is not part of the public API. We're setting this here so - // we can wait for the popover to be positioned before other components - // move focus into it. For example, this attribute is observed by the - // Combobox component with the autoSelect behavior. - 'data-placing': !positioned || void 0, - }, - props - ), - { - style: (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - { - position: 'relative', - }, - props.style - ), - } - ); - props = (0, - _NI3IVY7K_js__WEBPACK_IMPORTED_MODULE_0__.useDialog)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - { - store, - modal, - portal, - preserveTabOrder, - preserveTabOrderAnchor: - disclosureElement || anchorElement, - autoFocusOnShow: - positioned && autoFocusOnShow, - }, - props - ), - { - portalRef, - } - ) - ); - return props; - } - ); - var Popover = (0, - _NI3IVY7K_js__WEBPACK_IMPORTED_MODULE_0__.createDialogComponent)( - (0, _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.forwardRef)( - function Popover2(props) { - const htmlProps = usePopover(props); - return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.createElement)( - TagName, - htmlProps - ); - } - ), - _Y67KZUMI_js__WEBPACK_IMPORTED_MODULE_1__.usePopoverProviderContext - ); + (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_1__.useStoreProps)( + store, + props, + 'value', + 'setValue' + ); + return store; + } + function useRadioStore(props = {}) { + const [store, update] = (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_1__.useStore)( + _ariakit_core_radio_radio_store__WEBPACK_IMPORTED_MODULE_2__.createRadioStore, + props + ); + return useRadioStoreProps(store, update, props); + } /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/OYOFZOGB.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/LVVSG7VH.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/OYOFZOGB.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/LVVSG7VH.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -18763,250 +15332,327 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ CompositeTypeahead: function () { - return /* binding */ CompositeTypeahead; + /* harmony export */ DialogBackdrop: function () { + return /* binding */ DialogBackdrop; }, - /* harmony export */ useCompositeTypeahead: - function () { - return /* binding */ useCompositeTypeahead; - }, /* harmony export */ } ); - /* harmony import */ var _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./5VQZOHHZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/5VQZOHHZ.js' - ); - /* harmony import */ var _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _3NDVDEB4_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./APTFW6PT.js */ './node_modules/@ariakit/react-core/esm/__chunks/APTFW6PT.js' + /*! ./3NDVDEB4.js */ './node_modules/@ariakit/react-core/esm/__chunks/3NDVDEB4.js' ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _HAX24JB7_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ./HAX24JB7.js */ './node_modules/@ariakit/react-core/esm/__chunks/HAX24JB7.js' ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _33YRLYNQ_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! ./33YRLYNQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/33YRLYNQ.js' ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _HIN2NSI2_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' + /*! ./HIN2NSI2.js */ './node_modules/@ariakit/react-core/esm/__chunks/HIN2NSI2.js' ); - /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_5__ = + /* harmony import */ var _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! @ariakit/core/utils/dom */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' + /*! ./Q3KUZPD7.js */ './node_modules/@ariakit/react-core/esm/__chunks/Q3KUZPD7.js' ); - /* harmony import */ var _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_6__ = + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( - /*! @ariakit/core/utils/events */ './node_modules/@ariakit/core/esm/utils/events.js' + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_7__ = + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! react */ './node_modules/react/index.js' ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8__ = + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__( - /*! react */ './node_modules/react/index.js' + /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' ); ('use client'); - // src/composite/composite-typeahead.tsx + // src/dialog/dialog-backdrop.tsx - var TagName = 'div'; - var chars = ''; - function clearChars() { - chars = ''; - } - function isValidTypeaheadEvent(event) { - const target = event.target; - if ( - target && - (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_5__.isTextField)( - target - ) - ) - return false; - if (event.key === ' ' && chars.length) return true; - return ( - event.key.length === 1 && - !event.ctrlKey && - !event.altKey && - !event.metaKey && - /^[\p{Letter}\p{Number}]$/u.test(event.key) + function DialogBackdrop({ + store, + backdrop, + alwaysVisible, + hidden, + }) { + const ref = (0, react__WEBPACK_IMPORTED_MODULE_6__.useRef)( + null ); - } - function isSelfTargetOrItem(event, items) { + const disclosure = (0, + _33YRLYNQ_js__WEBPACK_IMPORTED_MODULE_2__.useDisclosureStore)( + { disclosure: store } + ); + const contentElement = (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_4__.useStoreState)( + store, + 'contentElement' + ); + (0, react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => { + const backdrop2 = ref.current; + const dialog = contentElement; + if (!backdrop2) return; + if (!dialog) return; + backdrop2.style.zIndex = + getComputedStyle(dialog).zIndex; + }, [contentElement]); + (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_5__.useSafeLayoutEffect)(() => { + const id = + contentElement == null ? void 0 : contentElement.id; + if (!id) return; + const backdrop2 = ref.current; + if (!backdrop2) return; + return (0, + _3NDVDEB4_js__WEBPACK_IMPORTED_MODULE_0__.markAncestor)( + backdrop2, + id + ); + }, [contentElement]); + const props = (0, + _HAX24JB7_js__WEBPACK_IMPORTED_MODULE_1__.useDisclosureContent)( + { + ref, + store: disclosure, + role: 'presentation', + 'data-backdrop': + (contentElement == null + ? void 0 + : contentElement.id) || '', + alwaysVisible, + hidden: hidden != null ? hidden : void 0, + style: { + position: 'fixed', + top: 0, + right: 0, + bottom: 0, + left: 0, + }, + } + ); + if (!backdrop) return null; if ( - (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_6__.isSelfTarget)( - event + (0, react__WEBPACK_IMPORTED_MODULE_6__.isValidElement)( + backdrop ) - ) - return true; - const target = event.target; - if (!target) return false; - const isItem = items.some( - (item) => item.element === target + ) { + return /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)( + _HIN2NSI2_js__WEBPACK_IMPORTED_MODULE_3__.Role, + { ...props, render: backdrop } + ); + } + const Component = + typeof backdrop !== 'boolean' ? backdrop : 'div'; + return /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)( + _HIN2NSI2_js__WEBPACK_IMPORTED_MODULE_3__.Role, + { + ...props, + render: /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)( + Component, + {} + ), + } ); - return isItem; - } - function getEnabledItems(items) { - return items.filter((item) => !item.disabled); - } - function itemTextStartsWith(item, text) { - var _a; - const itemText = - ((_a = item.element) == null - ? void 0 - : _a.textContent) || - item.children || // The composite item object itself doesn't include a value property, but - // other components like Select do. Since CompositeTypeahead is a generic - // component that can be used with those as well, we also consider the value - // property as a fallback for the typeahead text content. - ('value' in item && item.value); - if (!itemText) return false; - return (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_7__.normalizeString)( - itemText - ) - .trim() - .toLowerCase() - .startsWith(text.toLowerCase()); } - function getSameInitialItems(items, char, activeId) { - if (!activeId) return items; - const activeItem = items.find( - (item) => item.id === activeId + + /***/ + }, + + /***/ './node_modules/@ariakit/react-core/esm/__chunks/MDHGE4WQ.js': + /*!*******************************************************************!*\ + !*** ./node_modules/@ariakit/react-core/esm/__chunks/MDHGE4WQ.js ***! + \*******************************************************************/ + /***/ function ( + __unused_webpack___webpack_module__, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ ComboboxList: function () { + return /* binding */ ComboboxList; + }, + /* harmony export */ useComboboxList: function () { + return /* binding */ useComboboxList; + }, + /* harmony export */ + } + ); + /* harmony import */ var _HAX24JB7_js__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! ./HAX24JB7.js */ './node_modules/@ariakit/react-core/esm/__chunks/HAX24JB7.js' ); - if (!activeItem) return items; - if (!itemTextStartsWith(activeItem, char)) return items; - if (chars !== char && itemTextStartsWith(activeItem, chars)) - return items; - chars = char; - return (0, - _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.flipItems)( - items.filter((item) => itemTextStartsWith(item, chars)), - activeId - ).filter((item) => item.id !== activeId); - } - var useCompositeTypeahead = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.createHook)( - function useCompositeTypeahead2(_a) { - var _b = _a, - { store, typeahead = true } = _b, - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__objRest)( - _b, - ['store', 'typeahead'] - ); + /* harmony import */ var _7P7IWEBR_js__WEBPACK_IMPORTED_MODULE_1__ = + __webpack_require__( + /*! ./7P7IWEBR.js */ './node_modules/@ariakit/react-core/esm/__chunks/7P7IWEBR.js' + ); + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__ = + __webpack_require__( + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' + ); + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__ = + __webpack_require__( + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' + ); + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_4__ = + __webpack_require__( + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' + ); + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = + __webpack_require__( + /*! react */ './node_modules/react/index.js' + ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = + __webpack_require__( + /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' + ); + ('use client'); + + // src/combobox/combobox-list.tsx + + var TagName = 'div'; + var useComboboxList = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.createHook)( + function useComboboxList2({ + store, + alwaysVisible, + ...props + }) { + const scopedContext = (0, + _7P7IWEBR_js__WEBPACK_IMPORTED_MODULE_1__.useComboboxScopedContext)( + true + ); const context = (0, - _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_1__.useCompositeContext)(); + _7P7IWEBR_js__WEBPACK_IMPORTED_MODULE_1__.useComboboxContext)(); store = store || context; + const scopedContextSameStore = + !!store && store === scopedContext; (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_7__.invariant)( + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_4__.invariant)( store, true && - 'CompositeTypeahead must be a Composite component' + 'ComboboxList must receive a `store` prop or be wrapped in a ComboboxProvider component.' ); - const onKeyDownCaptureProp = props.onKeyDownCapture; - const cleanupTimeoutRef = (0, - react__WEBPACK_IMPORTED_MODULE_8__.useRef)(0); - const onKeyDownCapture = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__.useEvent)( - (event) => { - onKeyDownCaptureProp == null - ? void 0 - : onKeyDownCaptureProp(event); - if (event.defaultPrevented) return; - if (!typeahead) return; - if (!store) return; - if (!isValidTypeaheadEvent(event)) { - return clearChars(); - } - const { renderedItems, items, activeId, id } = - store.getState(); - let enabledItems = getEnabledItems( - items.length > renderedItems.length - ? items - : renderedItems - ); - const document = (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_5__.getDocument)( - event.currentTarget - ); - const selector = `[data-offscreen-id="${id}"]`; - const offscreenItems = - document.querySelectorAll(selector); - for (const element of offscreenItems) { - const disabled = - element.ariaDisabled === 'true' || - ('disabled' in element && - !!element.disabled); - enabledItems.push({ - id: element.id, - element, - disabled, - }); - } - if (offscreenItems.length) { - enabledItems = (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_5__.sortBasedOnDOMPosition)( - enabledItems, - (i) => i.element - ); - } - if (!isSelfTargetOrItem(event, enabledItems)) - return clearChars(); - event.preventDefault(); - window.clearTimeout(cleanupTimeoutRef.current); - cleanupTimeoutRef.current = window.setTimeout( - () => { - chars = ''; - }, - 500 - ); - const char = event.key.toLowerCase(); - chars += char; - enabledItems = getSameInitialItems( - enabledItems, - char, - activeId - ); - const item = enabledItems.find((item2) => - itemTextStartsWith(item2, chars) - ); - if (item) { - store.move(item.id); - } else { - clearChars(); - } - } + const ref = (0, + react__WEBPACK_IMPORTED_MODULE_5__.useRef)(null); + const id = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__.useId)( + props.id + ); + const mounted = store.useState('mounted'); + const hidden = (0, + _HAX24JB7_js__WEBPACK_IMPORTED_MODULE_0__.isHidden)( + mounted, + props.hidden, + alwaysVisible + ); + const style = hidden + ? { ...props.style, display: 'none' } + : props.style; + const multiSelectable = store.useState((state) => + Array.isArray(state.selectedValue) + ); + const role = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__.useAttribute)( + ref, + 'role', + props.role ); + const isCompositeRole = + role === 'listbox' || + role === 'tree' || + role === 'grid'; + const ariaMultiSelectable = isCompositeRole + ? multiSelectable || void 0 + : void 0; + const [hasListboxInside, setHasListboxInside] = (0, + react__WEBPACK_IMPORTED_MODULE_5__.useState)(false); + const contentElement = store.useState('contentElement'); + (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__.useSafeLayoutEffect)(() => { + if (!mounted) return; + const element = ref.current; + if (!element) return; + if (contentElement !== element) return; + const callback = () => { + setHasListboxInside( + !!element.querySelector("[role='listbox']") + ); + }; + const observer = new MutationObserver(callback); + observer.observe(element, { + subtree: true, + childList: true, + attributeFilter: ['role'], + }); + callback(); + return () => observer.disconnect(); + }, [mounted, contentElement]); + if (!hasListboxInside) { + props = { + role: 'listbox', + 'aria-multiselectable': ariaMultiSelectable, + ...props, + }; + } props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - {}, - props - ), - { - onKeyDownCapture, - } + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__.useWrapElement)( + props, + (element) => + /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)( + _7P7IWEBR_js__WEBPACK_IMPORTED_MODULE_1__.ComboboxScopedContextProvider, + { + value: store, + children: /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)( + _7P7IWEBR_js__WEBPACK_IMPORTED_MODULE_1__ + .ComboboxListRoleContext + .Provider, + { value: role, children: element } + ), + } + ), + [store, role] ); + const setContentElement = + id && (!scopedContext || !scopedContextSameStore) + ? store.setContentElement + : null; + props = { + id, + hidden, + ...props, + ref: (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__.useMergeRefs)( + setContentElement, + ref, + props.ref + ), + style, + }; return (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_7__.removeUndefinedValues)( + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_4__.removeUndefinedValues)( props ); } ); - var CompositeTypeahead = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.forwardRef)( - function CompositeTypeahead2(props) { - const htmlProps = useCompositeTypeahead(props); + var ComboboxList = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.forwardRef)( + function ComboboxList2(props) { + const htmlProps = useComboboxList(props); return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.createElement)( + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.createElement)( TagName, htmlProps ); @@ -19016,9 +15662,9 @@ If there's a particular need for this, please submit a feature request at https: /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/PVECYOSC.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/MWF5B7KS.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/PVECYOSC.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/MWF5B7KS.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -19030,104 +15676,284 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ useNestedDialogs: function () { - return /* binding */ useNestedDialogs; + /* harmony export */ PopoverContextProvider: + function () { + return /* binding */ PopoverContextProvider; + }, + /* harmony export */ PopoverScopedContextProvider: + function () { + return /* binding */ PopoverScopedContextProvider; + }, + /* harmony export */ usePopoverContext: function () { + return /* binding */ usePopoverContext; }, + /* harmony export */ usePopoverProviderContext: + function () { + return /* binding */ usePopoverProviderContext; + }, + /* harmony export */ usePopoverScopedContext: + function () { + return /* binding */ usePopoverScopedContext; + }, /* harmony export */ } ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _63N3TCQX_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! ./63N3TCQX.js */ './node_modules/@ariakit/react-core/esm/__chunks/63N3TCQX.js' ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var _ariakit_core_utils_store__WEBPACK_IMPORTED_MODULE_2__ = + ('use client'); + + // src/popover/popover-context.tsx + var ctx = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createStoreContext)( + [ + _63N3TCQX_js__WEBPACK_IMPORTED_MODULE_0__.DialogContextProvider, + ], + [ + _63N3TCQX_js__WEBPACK_IMPORTED_MODULE_0__.DialogScopedContextProvider, + ] + ); + var usePopoverContext = ctx.useContext; + var usePopoverScopedContext = ctx.useScopedContext; + var usePopoverProviderContext = ctx.useProviderContext; + var PopoverContextProvider = ctx.ContextProvider; + var PopoverScopedContextProvider = ctx.ScopedContextProvider; + + /***/ + }, + + /***/ './node_modules/@ariakit/react-core/esm/__chunks/NE2XEEQN.js': + /*!*******************************************************************!*\ + !*** ./node_modules/@ariakit/react-core/esm/__chunks/NE2XEEQN.js ***! + \*******************************************************************/ + /***/ function ( + __unused_webpack___webpack_module__, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ useRootDialog: function () { + return /* binding */ useRootDialog; + }, + /* harmony export */ + } + ); + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! @ariakit/core/utils/store */ './node_modules/@ariakit/core/esm/__chunks/EWA2WL6G.js' + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_1__ = + __webpack_require__( + /*! @ariakit/core/utils/dom */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' + ); + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( /*! react */ './node_modules/react/index.js' ); - /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' + /*! react-dom */ './node_modules/react-dom/index.js' ); ('use client'); - // src/dialog/utils/use-nested-dialogs.tsx + // src/dialog/utils/use-root-dialog.ts - var NestedDialogsContext = (0, - react__WEBPACK_IMPORTED_MODULE_3__.createContext)({}); - function useNestedDialogs(store) { - const context = (0, - react__WEBPACK_IMPORTED_MODULE_3__.useContext)( - NestedDialogsContext - ); - const [dialogs, setDialogs] = (0, - react__WEBPACK_IMPORTED_MODULE_3__.useState)([]); - const add = (0, - react__WEBPACK_IMPORTED_MODULE_3__.useCallback)( - (dialog) => { - var _a; - setDialogs((dialogs2) => [...dialogs2, dialog]); - return (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_1__.chain)( - (_a = context.add) == null - ? void 0 - : _a.call(context, dialog), - () => { - setDialogs((dialogs2) => - dialogs2.filter((d) => d !== dialog) - ); - } - ); + function useRootDialog({ + attribute, + contentId, + contentElement, + enabled, + }) { + const [updated, retry] = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_0__.useForceUpdate)(); + const isRootDialog = (0, + react__WEBPACK_IMPORTED_MODULE_2__.useCallback)(() => { + if (!enabled) return false; + if (!contentElement) return false; + const { body } = (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_1__.getDocument)( + contentElement + ); + const id = body.getAttribute(attribute); + return !id || id === contentId; + }, [ + updated, + enabled, + contentElement, + attribute, + contentId, + ]); + (0, react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => { + if (!enabled) return; + if (!contentId) return; + if (!contentElement) return; + const { body } = (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_1__.getDocument)( + contentElement + ); + if (isRootDialog()) { + body.setAttribute(attribute, contentId); + return () => body.removeAttribute(attribute); + } + const observer = new MutationObserver(() => + (0, + react_dom__WEBPACK_IMPORTED_MODULE_3__.flushSync)( + retry + ) + ); + observer.observe(body, { + attributeFilter: [attribute], + }); + return () => observer.disconnect(); + }, [ + updated, + enabled, + contentId, + contentElement, + isRootDialog, + attribute, + ]); + return isRootDialog; + } + + /***/ + }, + + /***/ './node_modules/@ariakit/react-core/esm/__chunks/NG75I6FS.js': + /*!*******************************************************************!*\ + !*** ./node_modules/@ariakit/react-core/esm/__chunks/NG75I6FS.js ***! + \*******************************************************************/ + /***/ function ( + __unused_webpack___webpack_module__, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ PopoverDisclosure: function () { + return /* binding */ PopoverDisclosure; }, - [context] + /* harmony export */ usePopoverDisclosure: function () { + return /* binding */ usePopoverDisclosure; + }, + /* harmony export */ + } + ); + /* harmony import */ var _DTOLNWNF_js__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! ./DTOLNWNF.js */ './node_modules/@ariakit/react-core/esm/__chunks/DTOLNWNF.js' ); - (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_0__.useSafeLayoutEffect)(() => { - return (0, - _ariakit_core_utils_store__WEBPACK_IMPORTED_MODULE_2__.sync)( + /* harmony import */ var _GYHYTZZN_js__WEBPACK_IMPORTED_MODULE_1__ = + __webpack_require__( + /*! ./GYHYTZZN.js */ './node_modules/@ariakit/react-core/esm/__chunks/GYHYTZZN.js' + ); + /* harmony import */ var _MWF5B7KS_js__WEBPACK_IMPORTED_MODULE_2__ = + __webpack_require__( + /*! ./MWF5B7KS.js */ './node_modules/@ariakit/react-core/esm/__chunks/MWF5B7KS.js' + ); + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__ = + __webpack_require__( + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' + ); + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__ = + __webpack_require__( + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' + ); + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__ = + __webpack_require__( + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' + ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = + __webpack_require__( + /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' + ); + ('use client'); + + // src/popover/popover-disclosure.tsx + + var TagName = 'button'; + var usePopoverDisclosure = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__.createHook)( + function usePopoverDisclosure2({ store, ...props }) { + const context = (0, + _MWF5B7KS_js__WEBPACK_IMPORTED_MODULE_2__.usePopoverProviderContext)(); + store = store || context; + (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__.invariant)( store, - ['open', 'contentElement'], - (state) => { - var _a; - if (!state.open) return; - if (!state.contentElement) return; - return (_a = context.add) == null + true && + 'PopoverDisclosure must receive a `store` prop or be wrapped in a PopoverProvider component.' + ); + const onClickProp = props.onClick; + const onClick = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useEvent)( + (event) => { + store == null ? void 0 - : _a.call(context, store); + : store.setAnchorElement( + event.currentTarget + ); + onClickProp == null + ? void 0 + : onClickProp(event); } ); - }, [store, context]); - const providerValue = (0, - react__WEBPACK_IMPORTED_MODULE_3__.useMemo)( - () => ({ store, add }), - [store, add] - ); - const wrapElement = (0, - react__WEBPACK_IMPORTED_MODULE_3__.useCallback)( - (element) => - /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)( - NestedDialogsContext.Provider, - { value: providerValue, children: element } - ), - [providerValue] - ); - return { wrapElement, nestedDialogs: dialogs }; - } + props = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useWrapElement)( + props, + (element) => + /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)( + _MWF5B7KS_js__WEBPACK_IMPORTED_MODULE_2__.PopoverScopedContextProvider, + { value: store, children: element } + ), + [store] + ); + props = { + ...props, + onClick, + }; + props = (0, + _DTOLNWNF_js__WEBPACK_IMPORTED_MODULE_0__.usePopoverAnchor)( + { store, ...props } + ); + props = (0, + _GYHYTZZN_js__WEBPACK_IMPORTED_MODULE_1__.useDialogDisclosure)( + { store, ...props } + ); + return props; + } + ); + var PopoverDisclosure = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__.forwardRef)( + function PopoverDisclosure2(props) { + const htmlProps = usePopoverDisclosure(props); + return (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__.createElement)( + TagName, + htmlProps + ); + } + ); /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/QGC5LOGZ.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/NJV4AM4M.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/QGC5LOGZ.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/NJV4AM4M.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -19139,58 +15965,59 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ TabContextProvider: function () { - return /* binding */ TabContextProvider; + /* harmony export */ RadioContextProvider: function () { + return /* binding */ RadioContextProvider; }, - /* harmony export */ TabScopedContextProvider: + /* harmony export */ RadioScopedContextProvider: function () { - return /* binding */ TabScopedContextProvider; + return /* binding */ RadioScopedContextProvider; }, - /* harmony export */ useTabContext: function () { - return /* binding */ useTabContext; + /* harmony export */ useRadioContext: function () { + return /* binding */ useRadioContext; }, - /* harmony export */ useTabProviderContext: + /* harmony export */ useRadioProviderContext: function () { - return /* binding */ useTabProviderContext; + return /* binding */ useRadioProviderContext; + }, + /* harmony export */ useRadioScopedContext: + function () { + return /* binding */ useRadioScopedContext; }, - /* harmony export */ useTabScopedContext: function () { - return /* binding */ useTabScopedContext; - }, /* harmony export */ } ); - /* harmony import */ var _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./APTFW6PT.js */ './node_modules/@ariakit/react-core/esm/__chunks/APTFW6PT.js' + /*! ./72IB6YNO.js */ './node_modules/@ariakit/react-core/esm/__chunks/72IB6YNO.js' ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); ('use client'); - // src/tab/tab-context.tsx + // src/radio/radio-context.tsx var ctx = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createStoreContext)( + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createStoreContext)( [ - _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_0__.CompositeContextProvider, + _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_0__.CompositeContextProvider, ], [ - _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_0__.CompositeScopedContextProvider, + _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_0__.CompositeScopedContextProvider, ] ); - var useTabContext = ctx.useContext; - var useTabScopedContext = ctx.useScopedContext; - var useTabProviderContext = ctx.useProviderContext; - var TabContextProvider = ctx.ContextProvider; - var TabScopedContextProvider = ctx.ScopedContextProvider; + var useRadioContext = ctx.useContext; + var useRadioScopedContext = ctx.useScopedContext; + var useRadioProviderContext = ctx.useProviderContext; + var RadioContextProvider = ctx.ContextProvider; + var RadioScopedContextProvider = ctx.ScopedContextProvider; /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/QJ4LGO2N.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/NJZUP4KO.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/QJ4LGO2N.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/NJZUP4KO.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -19202,92 +16029,373 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ Role: function () { - return /* binding */ Role; + /* harmony export */ Disclosure: function () { + return /* binding */ Disclosure; }, - /* harmony export */ useRole: function () { - return /* binding */ useRole; + /* harmony export */ useDisclosure: function () { + return /* binding */ useDisclosure; }, /* harmony export */ } ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _FFSBKSAM_js__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! ./FFSBKSAM.js */ './node_modules/@ariakit/react-core/esm/__chunks/FFSBKSAM.js' + ); + /* harmony import */ var _J4DPQC5Y_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ./J4DPQC5Y.js */ './node_modules/@ariakit/react-core/esm/__chunks/J4DPQC5Y.js' + ); + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__ = + __webpack_require__( + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' + ); + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__ = + __webpack_require__( + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' + ); + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_4__ = + __webpack_require__( + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' + ); + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = + __webpack_require__( + /*! react */ './node_modules/react/index.js' ); ('use client'); - // src/role/role.tsx - var TagName = 'div'; - var elements = [ - 'a', - 'button', - 'details', - 'dialog', - 'div', - 'form', - 'h1', - 'h2', - 'h3', - 'h4', - 'h5', - 'h6', - 'header', - 'img', - 'input', - 'label', - 'li', - 'nav', - 'ol', - 'p', - 'section', - 'select', - 'span', - 'summary', - 'textarea', - 'ul', - 'svg', - ]; - var useRole = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_0__.createHook)( - function useRole2(props) { + // src/disclosure/disclosure.tsx + + var TagName = 'button'; + var symbol = Symbol('disclosure'); + var useDisclosure = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.createHook)( + function useDisclosure2({ + store, + toggleOnClick = true, + ...props + }) { + const context = (0, + _FFSBKSAM_js__WEBPACK_IMPORTED_MODULE_0__.useDisclosureProviderContext)(); + store = store || context; + (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_4__.invariant)( + store, + true && + 'Disclosure must receive a `store` prop or be wrapped in a DisclosureProvider component.' + ); + const ref = (0, + react__WEBPACK_IMPORTED_MODULE_5__.useRef)(null); + const [expanded, setExpanded] = (0, + react__WEBPACK_IMPORTED_MODULE_5__.useState)(false); + const disclosureElement = + store.useState('disclosureElement'); + const open = store.useState('open'); + (0, + react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => { + let isCurrentDisclosure = + disclosureElement === ref.current; + if ( + !(disclosureElement == null + ? void 0 + : disclosureElement.isConnected) + ) { + store == null + ? void 0 + : store.setDisclosureElement(ref.current); + isCurrentDisclosure = true; + } + setExpanded(open && isCurrentDisclosure); + }, [disclosureElement, store, open]); + const onClickProp = props.onClick; + const toggleOnClickProp = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__.useBooleanEvent)( + toggleOnClick + ); + const [isDuplicate, metadataProps] = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__.useMetadataProps)( + props, + symbol, + true + ); + const onClick = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__.useEvent)( + (event) => { + onClickProp == null + ? void 0 + : onClickProp(event); + if (event.defaultPrevented) return; + if (isDuplicate) return; + if (!toggleOnClickProp(event)) return; + store == null + ? void 0 + : store.setDisclosureElement( + event.currentTarget + ); + store == null ? void 0 : store.toggle(); + } + ); + const contentElement = store.useState('contentElement'); + props = { + 'aria-expanded': expanded, + 'aria-controls': + contentElement == null + ? void 0 + : contentElement.id, + ...metadataProps, + ...props, + ref: (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__.useMergeRefs)( + ref, + props.ref + ), + onClick, + }; + props = (0, + _J4DPQC5Y_js__WEBPACK_IMPORTED_MODULE_1__.useButton)( + props + ); return props; } ); - var Role = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_0__.forwardRef)( - // @ts-expect-error - function Role2(props) { + var Disclosure = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.forwardRef)( + function Disclosure2(props) { + const htmlProps = useDisclosure(props); + return (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.createElement)( + TagName, + htmlProps + ); + } + ); + + /***/ + }, + + /***/ './node_modules/@ariakit/react-core/esm/__chunks/NNCMNDHI.js': + /*!*******************************************************************!*\ + !*** ./node_modules/@ariakit/react-core/esm/__chunks/NNCMNDHI.js ***! + \*******************************************************************/ + /***/ function ( + __unused_webpack___webpack_module__, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ Separator: function () { + return /* binding */ Separator; + }, + /* harmony export */ useSeparator: function () { + return /* binding */ useSeparator; + }, + /* harmony export */ + } + ); + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' + ); + ('use client'); + + // src/separator/separator.tsx + var TagName = 'hr'; + var useSeparator = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_0__.createHook)( + function useSeparator2({ + orientation = 'horizontal', + ...props + }) { + props = { + role: 'separator', + 'aria-orientation': orientation, + ...props, + }; + return props; + } + ); + var Separator = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_0__.forwardRef)( + function Separator2(props) { + const htmlProps = useSeparator(props); + return (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_0__.createElement)( + TagName, + htmlProps + ); + } + ); + + /***/ + }, + + /***/ './node_modules/@ariakit/react-core/esm/__chunks/NQXOL4RD.js': + /*!*******************************************************************!*\ + !*** ./node_modules/@ariakit/react-core/esm/__chunks/NQXOL4RD.js ***! + \*******************************************************************/ + /***/ function ( + __unused_webpack___webpack_module__, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ usePreventBodyScroll: function () { + return /* binding */ usePreventBodyScroll; + }, + /* harmony export */ + } + ); + /* harmony import */ var _NE2XEEQN_js__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! ./NE2XEEQN.js */ './node_modules/@ariakit/react-core/esm/__chunks/NE2XEEQN.js' + ); + /* harmony import */ var _K2ZF5NU7_js__WEBPACK_IMPORTED_MODULE_1__ = + __webpack_require__( + /*! ./K2ZF5NU7.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2ZF5NU7.js' + ); + /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_2__ = + __webpack_require__( + /*! @ariakit/core/utils/dom */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' + ); + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_3__ = + __webpack_require__( + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' + ); + /* harmony import */ var _ariakit_core_utils_platform__WEBPACK_IMPORTED_MODULE_4__ = + __webpack_require__( + /*! @ariakit/core/utils/platform */ './node_modules/@ariakit/core/esm/__chunks/O6E4ZWCP.js' + ); + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = + __webpack_require__( + /*! react */ './node_modules/react/index.js' + ); + ('use client'); + + // src/dialog/utils/use-prevent-body-scroll.ts + + function getPaddingProperty(documentElement) { + const documentLeft = + documentElement.getBoundingClientRect().left; + const scrollbarX = + Math.round(documentLeft) + documentElement.scrollLeft; + return scrollbarX ? 'paddingLeft' : 'paddingRight'; + } + function usePreventBodyScroll( + contentElement, + contentId, + enabled + ) { + const isRootDialog = (0, + _NE2XEEQN_js__WEBPACK_IMPORTED_MODULE_0__.useRootDialog)({ + attribute: 'data-dialog-prevent-body-scroll', + contentElement, + contentId, + enabled, + }); + (0, react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => { + if (!isRootDialog()) return; + if (!contentElement) return; + const doc = (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getDocument)( + contentElement + ); + const win = (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getWindow)( + contentElement + ); + const { documentElement, body } = doc; + const cssScrollbarWidth = + documentElement.style.getPropertyValue( + '--scrollbar-width' + ); + const scrollbarWidth = cssScrollbarWidth + ? Number.parseInt(cssScrollbarWidth, 10) + : win.innerWidth - documentElement.clientWidth; + const setScrollbarWidthProperty = () => + (0, + _K2ZF5NU7_js__WEBPACK_IMPORTED_MODULE_1__.setCSSProperty)( + documentElement, + '--scrollbar-width', + `${scrollbarWidth}px` + ); + const paddingProperty = + getPaddingProperty(documentElement); + const setStyle = () => + (0, + _K2ZF5NU7_js__WEBPACK_IMPORTED_MODULE_1__.assignStyle)( + body, + { + overflow: 'hidden', + [paddingProperty]: `${scrollbarWidth}px`, + } + ); + const setIOSStyle = () => { + var _a, _b; + const { scrollX, scrollY, visualViewport } = win; + const offsetLeft = + (_a = + visualViewport == null + ? void 0 + : visualViewport.offsetLeft) != null + ? _a + : 0; + const offsetTop = + (_b = + visualViewport == null + ? void 0 + : visualViewport.offsetTop) != null + ? _b + : 0; + const restoreStyle = (0, + _K2ZF5NU7_js__WEBPACK_IMPORTED_MODULE_1__.assignStyle)( + body, + { + position: 'fixed', + overflow: 'hidden', + top: `${-(scrollY - Math.floor(offsetTop))}px`, + left: `${-(scrollX - Math.floor(offsetLeft))}px`, + right: '0', + [paddingProperty]: `${scrollbarWidth}px`, + } + ); + return () => { + restoreStyle(); + if (true) { + win.scrollTo({ + left: scrollX, + top: scrollY, + behavior: 'instant', + }); + } + }; + }; + const isIOS = + (0, + _ariakit_core_utils_platform__WEBPACK_IMPORTED_MODULE_4__.isApple)() && + !(0, + _ariakit_core_utils_platform__WEBPACK_IMPORTED_MODULE_4__.isMac)(); return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_0__.createElement)( - TagName, - props - ); - } - ); - Object.assign( - Role, - elements.reduce((acc, element) => { - acc[element] = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_0__.forwardRef)( - function Role3(props) { - return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_0__.createElement)( - element, - props - ); - } + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_3__.chain)( + setScrollbarWidthProperty(), + isIOS ? setIOSStyle() : setStyle() ); - return acc; - }, {}) - ); + }, [isRootDialog, contentElement]); + } /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/RTNCFSKZ.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/Q3KUZPD7.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/RTNCFSKZ.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/Q3KUZPD7.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -19314,27 +16422,23 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ } ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' - ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); - /* harmony import */ var _ariakit_core_utils_store__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _ariakit_core_utils_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! @ariakit/core/utils/store */ './node_modules/@ariakit/core/esm/__chunks/EWA2WL6G.js' + /*! @ariakit/core/utils/store */ './node_modules/@ariakit/core/esm/__chunks/SXKM4CGU.js' ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( /*! react */ './node_modules/react/index.js' ); - /* harmony import */ var use_sync_external_store_shim_index_js__WEBPACK_IMPORTED_MODULE_5__ = + /* harmony import */ var use_sync_external_store_shim_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( /*! use-sync-external-store/shim/index.js */ './node_modules/use-sync-external-store/shim/index.js' ); @@ -19343,18 +16447,18 @@ If there's a particular need for this, please submit a feature request at https: // src/utils/store.tsx var { useSyncExternalStore } = - use_sync_external_store_shim_index_js__WEBPACK_IMPORTED_MODULE_5__; + use_sync_external_store_shim_index_js__WEBPACK_IMPORTED_MODULE_4__; var noopSubscribe = () => () => {}; function useStoreState( store, - keyOrSelector = _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_2__.identity + keyOrSelector = _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_1__.identity ) { const storeSubscribe = - react__WEBPACK_IMPORTED_MODULE_4__.useCallback( + react__WEBPACK_IMPORTED_MODULE_3__.useCallback( (callback) => { if (!store) return noopSubscribe(); return (0, - _ariakit_core_utils_store__WEBPACK_IMPORTED_MODULE_3__.subscribe)( + _ariakit_core_utils_store__WEBPACK_IMPORTED_MODULE_2__.subscribe)( store, null, callback @@ -19377,7 +16481,7 @@ If there's a particular need for this, please submit a feature request at https: if (!key) return; if ( !(0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_2__.hasOwnProperty)( + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_1__.hasOwnProperty)( state, key ) @@ -19392,15 +16496,15 @@ If there's a particular need for this, please submit a feature request at https: ); } function useStoreStateObject(store, object) { - const objRef = react__WEBPACK_IMPORTED_MODULE_4__.useRef( + const objRef = react__WEBPACK_IMPORTED_MODULE_3__.useRef( {} ); const storeSubscribe = - react__WEBPACK_IMPORTED_MODULE_4__.useCallback( + react__WEBPACK_IMPORTED_MODULE_3__.useCallback( (callback) => { if (!store) return noopSubscribe(); return (0, - _ariakit_core_utils_store__WEBPACK_IMPORTED_MODULE_3__.subscribe)( + _ariakit_core_utils_store__WEBPACK_IMPORTED_MODULE_2__.subscribe)( store, null, callback @@ -19425,7 +16529,7 @@ If there's a particular need for this, please submit a feature request at https: if (!state) continue; if ( !(0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_2__.hasOwnProperty)( + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_1__.hasOwnProperty)( state, keyOrSelector ) @@ -19439,11 +16543,7 @@ If there's a particular need for this, please submit a feature request at https: } } if (updated) { - objRef.current = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_1__.__spreadValues)( - {}, - obj - ); + objRef.current = { ...obj }; } return objRef.current; }; @@ -19455,7 +16555,7 @@ If there's a particular need for this, please submit a feature request at https: } function useStoreProps(store, props, key, setKey) { const value = (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_2__.hasOwnProperty)( + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_1__.hasOwnProperty)( props, key ) @@ -19463,14 +16563,14 @@ If there's a particular need for this, please submit a feature request at https: : void 0; const setValue = setKey ? props[setKey] : void 0; const propsRef = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_0__.useLiveRef)({ + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_0__.useLiveRef)({ value, setValue, }); (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_0__.useSafeLayoutEffect)(() => { + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_0__.useSafeLayoutEffect)(() => { return (0, - _ariakit_core_utils_store__WEBPACK_IMPORTED_MODULE_3__.sync)( + _ariakit_core_utils_store__WEBPACK_IMPORTED_MODULE_2__.sync)( store, [key], (state, prev) => { @@ -19484,12 +16584,12 @@ If there's a particular need for this, please submit a feature request at https: ); }, [store, key]); (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_0__.useSafeLayoutEffect)( + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_0__.useSafeLayoutEffect)( () => { if (value === void 0) return; store.setState(key, value); return (0, - _ariakit_core_utils_store__WEBPACK_IMPORTED_MODULE_3__.batch)( + _ariakit_core_utils_store__WEBPACK_IMPORTED_MODULE_2__.batch)( store, [key], () => { @@ -19502,52 +16602,33 @@ If there's a particular need for this, please submit a feature request at https: } function useStore(createStore, props) { const [store, setStore] = - react__WEBPACK_IMPORTED_MODULE_4__.useState(() => + react__WEBPACK_IMPORTED_MODULE_3__.useState(() => createStore(props) ); (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_0__.useSafeLayoutEffect)( + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_0__.useSafeLayoutEffect)( () => (0, - _ariakit_core_utils_store__WEBPACK_IMPORTED_MODULE_3__.init)( + _ariakit_core_utils_store__WEBPACK_IMPORTED_MODULE_2__.init)( store ), [store] ); const useState2 = - react__WEBPACK_IMPORTED_MODULE_4__.useCallback( + react__WEBPACK_IMPORTED_MODULE_3__.useCallback( (keyOrSelector) => useStoreState(store, keyOrSelector), [store] ); const memoizedStore = - react__WEBPACK_IMPORTED_MODULE_4__.useMemo( - () => - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_1__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_1__.__spreadValues)( - {}, - store - ), - { useState: useState2 } - ), + react__WEBPACK_IMPORTED_MODULE_3__.useMemo( + () => ({ ...store, useState: useState2 }), [store, useState2] ); const updateStore = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_0__.useEvent)(() => { + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_0__.useEvent)(() => { setStore((store2) => - createStore( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_1__.__spreadValues)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_1__.__spreadValues)( - {}, - props - ), - store2.getState() - ) - ) + createStore({ ...props, ...store2.getState() }) ); }); return [memoizedStore, updateStore]; @@ -19556,9 +16637,9 @@ If there's a particular need for this, please submit a feature request at https: /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/RUY5BUJG.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/Q73EQ37Z.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/RUY5BUJG.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/Q73EQ37Z.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -19570,69 +16651,159 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ usePopoverStore: function () { - return /* binding */ usePopoverStore; + /* harmony export */ GroupLabel: function () { + return /* binding */ GroupLabel; }, - /* harmony export */ usePopoverStoreProps: function () { - return /* binding */ usePopoverStoreProps; + /* harmony export */ useGroupLabel: function () { + return /* binding */ useGroupLabel; }, /* harmony export */ } ); - /* harmony import */ var _Y2U4BRIM_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _7HVFURXT_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./Y2U4BRIM.js */ './node_modules/@ariakit/react-core/esm/__chunks/Y2U4BRIM.js' + /*! ./7HVFURXT.js */ './node_modules/@ariakit/react-core/esm/__chunks/7HVFURXT.js' ); - /* harmony import */ var _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./RTNCFSKZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/RTNCFSKZ.js' + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var _ariakit_core_popover_popover_store__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! @ariakit/core/popover/popover-store */ './node_modules/@ariakit/core/esm/__chunks/MD3RIO2T.js' + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' + ); + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = + __webpack_require__( + /*! react */ './node_modules/react/index.js' ); ('use client'); - // src/popover/popover-store.ts + // src/group/group-label.tsx - function usePopoverStoreProps(store, update, props) { + var TagName = 'div'; + var useGroupLabel = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createHook)( + function useGroupLabel2(props) { + const setLabelId = (0, + react__WEBPACK_IMPORTED_MODULE_4__.useContext)( + _7HVFURXT_js__WEBPACK_IMPORTED_MODULE_0__.GroupLabelContext + ); + const id = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__.useId)( + props.id + ); + (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__.useSafeLayoutEffect)(() => { + setLabelId == null ? void 0 : setLabelId(id); + return () => + setLabelId == null + ? void 0 + : setLabelId(void 0); + }, [setLabelId, id]); + props = { + id, + 'aria-hidden': true, + ...props, + }; + return (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_3__.removeUndefinedValues)( + props + ); + } + ); + var GroupLabel = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.forwardRef)( + function GroupLabel2(props) { + const htmlProps = useGroupLabel(props); + return (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createElement)( + TagName, + htmlProps + ); + } + ); + + /***/ + }, + + /***/ './node_modules/@ariakit/react-core/esm/__chunks/QHA3XIQA.js': + /*!*******************************************************************!*\ + !*** ./node_modules/@ariakit/react-core/esm/__chunks/QHA3XIQA.js ***! + \*******************************************************************/ + /***/ function ( + __unused_webpack___webpack_module__, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ useTooltipStore: function () { + return /* binding */ useTooltipStore; + }, + /* harmony export */ useTooltipStoreProps: function () { + return /* binding */ useTooltipStoreProps; + }, + /* harmony export */ + } + ); + /* harmony import */ var _IAC2O6VC_js__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! ./IAC2O6VC.js */ './node_modules/@ariakit/react-core/esm/__chunks/IAC2O6VC.js' + ); + /* harmony import */ var _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_1__ = + __webpack_require__( + /*! ./Q3KUZPD7.js */ './node_modules/@ariakit/react-core/esm/__chunks/Q3KUZPD7.js' + ); + /* harmony import */ var _ariakit_core_tooltip_tooltip_store__WEBPACK_IMPORTED_MODULE_2__ = + __webpack_require__( + /*! @ariakit/core/tooltip/tooltip-store */ './node_modules/@ariakit/core/esm/tooltip/tooltip-store.js' + ); + ('use client'); + + // src/tooltip/tooltip-store.ts + + function useTooltipStoreProps(store, update, props) { (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__.useUpdateEffect)( - update, - [props.popover] + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_1__.useStoreProps)( + store, + props, + 'type' ); (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_1__.useStoreProps)( + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_1__.useStoreProps)( store, props, - 'placement' + 'skipTimeout' ); return (0, - _Y2U4BRIM_js__WEBPACK_IMPORTED_MODULE_0__.useDialogStoreProps)( + _IAC2O6VC_js__WEBPACK_IMPORTED_MODULE_0__.useHovercardStoreProps)( store, update, props ); } - function usePopoverStore(props = {}) { + function useTooltipStore(props = {}) { const [store, update] = (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_1__.useStore)( - _ariakit_core_popover_popover_store__WEBPACK_IMPORTED_MODULE_3__.createPopoverStore, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_1__.useStore)( + _ariakit_core_tooltip_tooltip_store__WEBPACK_IMPORTED_MODULE_2__.createTooltipStore, props ); - return usePopoverStoreProps(store, update, props); + return useTooltipStoreProps(store, update, props); } /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/S2F2XXEH.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/QHXYX2YB.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/S2F2XXEH.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/QHXYX2YB.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -19644,83 +16815,62 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ FocusTrap: function () { - return /* binding */ FocusTrap; - }, - /* harmony export */ useFocusTrap: function () { - return /* binding */ useFocusTrap; + /* harmony export */ useCollectionStore: function () { + return /* binding */ useCollectionStore; }, + /* harmony export */ useCollectionStoreProps: + function () { + return /* binding */ useCollectionStoreProps; + }, /* harmony export */ } ); - /* harmony import */ var _DXGKYUAD_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./DXGKYUAD.js */ './node_modules/@ariakit/react-core/esm/__chunks/DXGKYUAD.js' + /*! ./Q3KUZPD7.js */ './node_modules/@ariakit/react-core/esm/__chunks/Q3KUZPD7.js' ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _ariakit_core_collection_collection_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' + /*! @ariakit/core/collection/collection-store */ './node_modules/@ariakit/core/esm/__chunks/AMRA5WUK.js' ); ('use client'); - // src/focus-trap/focus-trap.tsx - var TagName = 'span'; - var useFocusTrap = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createHook)( - function useFocusTrap2(props) { - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__.__spreadValues)( - { - 'data-focus-trap': '', - tabIndex: 0, - 'aria-hidden': true, - }, - props - ), - { - style: (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__.__spreadValues)( - { - // Prevents unintended scroll jumps. - position: 'fixed', - top: 0, - left: 0, - }, - props.style - ), - } - ); - props = (0, - _DXGKYUAD_js__WEBPACK_IMPORTED_MODULE_0__.useVisuallyHidden)( - props - ); - return props; - } - ); - var FocusTrap = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.forwardRef)( - function FocusTrap2(props) { - const htmlProps = useFocusTrap(props); - return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createElement)( - TagName, - htmlProps - ); - } - ); + // src/collection/collection-store.ts + + function useCollectionStoreProps(store, update, props) { + (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_1__.useUpdateEffect)( + update, + [props.store] + ); + (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_0__.useStoreProps)( + store, + props, + 'items', + 'setItems' + ); + return store; + } + function useCollectionStore(props = {}) { + const [store, update] = (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_0__.useStore)( + _ariakit_core_collection_collection_store__WEBPACK_IMPORTED_MODULE_2__.createCollectionStore, + props + ); + return useCollectionStoreProps(store, update, props); + } /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/S7U6BLGA.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/QI6TYHPV.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/S7U6BLGA.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/QI6TYHPV.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -19732,77 +16882,82 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ disableAccessibilityTreeOutside: + /* harmony export */ SelectContextProvider: function () { - return /* binding */ disableAccessibilityTreeOutside; + return /* binding */ SelectContextProvider; }, - /* harmony export */ hideElementFromAccessibilityTree: + /* harmony export */ SelectHeadingContext: function () { + return /* binding */ SelectHeadingContext; + }, + /* harmony export */ SelectItemCheckedContext: function () { - return /* binding */ hideElementFromAccessibilityTree; + return /* binding */ SelectItemCheckedContext; + }, + /* harmony export */ SelectScopedContextProvider: + function () { + return /* binding */ SelectScopedContextProvider; + }, + /* harmony export */ useSelectContext: function () { + return /* binding */ useSelectContext; + }, + /* harmony export */ useSelectProviderContext: + function () { + return /* binding */ useSelectProviderContext; + }, + /* harmony export */ useSelectScopedContext: + function () { + return /* binding */ useSelectScopedContext; }, /* harmony export */ } ); - /* harmony import */ var _AOUGVQZ3_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _MWF5B7KS_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./AOUGVQZ3.js */ './node_modules/@ariakit/react-core/esm/__chunks/AOUGVQZ3.js' + /*! ./MWF5B7KS.js */ './node_modules/@ariakit/react-core/esm/__chunks/MWF5B7KS.js' ); - /* harmony import */ var _K2ZF5NU7_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./K2ZF5NU7.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2ZF5NU7.js' + /*! ./72IB6YNO.js */ './node_modules/@ariakit/react-core/esm/__chunks/72IB6YNO.js' ); - /* harmony import */ var _63XF7ACK_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ./63XF7ACK.js */ './node_modules/@ariakit/react-core/esm/__chunks/63XF7ACK.js' + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' + ); + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = + __webpack_require__( + /*! react */ './node_modules/react/index.js' ); ('use client'); - // src/dialog/utils/disable-accessibility-tree-outside.ts - function hideElementFromAccessibilityTree(element) { - return (0, - _K2ZF5NU7_js__WEBPACK_IMPORTED_MODULE_1__.setAttribute)( - element, - 'aria-hidden', - 'true' - ); - } - function disableAccessibilityTreeOutside(id, elements) { - const cleanups = []; - const ids = elements.map((el) => - el == null ? void 0 : el.id - ); - (0, - _AOUGVQZ3_js__WEBPACK_IMPORTED_MODULE_0__.walkTreeOutside)( - id, - elements, - (element) => { - if ( - (0, - _63XF7ACK_js__WEBPACK_IMPORTED_MODULE_2__.isBackdrop)( - element, - ...ids - ) - ) - return; - cleanups.unshift( - hideElementFromAccessibilityTree(element) - ); - } - ); - const restoreAccessibilityTree = () => { - for (const cleanup of cleanups) { - cleanup(); - } - }; - return restoreAccessibilityTree; - } + // src/select/select-context.tsx + + var ctx = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.createStoreContext)( + [ + _MWF5B7KS_js__WEBPACK_IMPORTED_MODULE_0__.PopoverContextProvider, + _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_1__.CompositeContextProvider, + ], + [ + _MWF5B7KS_js__WEBPACK_IMPORTED_MODULE_0__.PopoverScopedContextProvider, + _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_1__.CompositeScopedContextProvider, + ] + ); + var useSelectContext = ctx.useContext; + var useSelectScopedContext = ctx.useScopedContext; + var useSelectProviderContext = ctx.useProviderContext; + var SelectContextProvider = ctx.ContextProvider; + var SelectScopedContextProvider = ctx.ScopedContextProvider; + var SelectItemCheckedContext = (0, + react__WEBPACK_IMPORTED_MODULE_3__.createContext)(false); + var SelectHeadingContext = (0, + react__WEBPACK_IMPORTED_MODULE_3__.createContext)(null); /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/SBSPVDDI.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/QKXRU7QI.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/SBSPVDDI.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/QKXRU7QI.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -19814,681 +16969,716 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ CompositeItem: function () { - return /* binding */ CompositeItem; + /* harmony export */ ComboboxItem: function () { + return /* binding */ ComboboxItem; }, - /* harmony export */ useCompositeItem: function () { - return /* binding */ useCompositeItem; + /* harmony export */ useComboboxItem: function () { + return /* binding */ useComboboxItem; }, /* harmony export */ } ); - /* harmony import */ var _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./5VQZOHHZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/5VQZOHHZ.js' - ); - /* harmony import */ var _Y62RTBST_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ./Y62RTBST.js */ './node_modules/@ariakit/react-core/esm/__chunks/Y62RTBST.js' - ); - /* harmony import */ var _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _RIJYZEV5_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./APTFW6PT.js */ './node_modules/@ariakit/react-core/esm/__chunks/APTFW6PT.js' + /*! ./RIJYZEV5.js */ './node_modules/@ariakit/react-core/esm/__chunks/RIJYZEV5.js' ); - /* harmony import */ var _2W3RN7C5_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _FIT2LC3L_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./2W3RN7C5.js */ './node_modules/@ariakit/react-core/esm/__chunks/2W3RN7C5.js' + /*! ./FIT2LC3L.js */ './node_modules/@ariakit/react-core/esm/__chunks/FIT2LC3L.js' ); - /* harmony import */ var _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _7P7IWEBR_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ./RTNCFSKZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/RTNCFSKZ.js' + /*! ./7P7IWEBR.js */ './node_modules/@ariakit/react-core/esm/__chunks/7P7IWEBR.js' ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_5__ = + /* harmony import */ var _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ./Q3KUZPD7.js */ './node_modules/@ariakit/react-core/esm/__chunks/Q3KUZPD7.js' ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_6__ = + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__ = + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_8__ = + /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__( /*! @ariakit/core/utils/dom */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' ); - /* harmony import */ var _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_9__ = + /* harmony import */ var _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__( /*! @ariakit/core/utils/events */ './node_modules/@ariakit/core/esm/utils/events.js' ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_10__ = + /* harmony import */ var _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! @ariakit/core/utils/focus */ './node_modules/@ariakit/core/esm/utils/focus.js' ); - /* harmony import */ var _ariakit_core_utils_platform__WEBPACK_IMPORTED_MODULE_11__ = + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__( - /*! @ariakit/core/utils/platform */ './node_modules/@ariakit/core/esm/__chunks/O6E4ZWCP.js' + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_12__ = + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__( /*! react */ './node_modules/react/index.js' ); - /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__ = + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__( /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' ); ('use client'); - // src/composite/composite-item.tsx + // src/combobox/combobox-item.tsx - var TagName = 'button'; - function isEditableElement(element) { - if ( - (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_8__.isTextbox)( - element - ) - ) - return true; - return ( - element.tagName === 'INPUT' && - !(0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_8__.isButton)( - element - ) - ); - } - function getNextPageOffset(scrollingElement, pageUp = false) { - const height = scrollingElement.clientHeight; - const { top } = scrollingElement.getBoundingClientRect(); - const pageSize = - Math.max(height * 0.875, height - 40) * 1.5; - const pageOffset = pageUp - ? height - pageSize + top - : pageSize + top; - if (scrollingElement.tagName === 'HTML') { - return pageOffset + scrollingElement.scrollTop; - } - return pageOffset; - } - function getItemOffset(itemElement, pageUp = false) { - const { top } = itemElement.getBoundingClientRect(); - if (pageUp) { - return top + itemElement.clientHeight; + var TagName = 'div'; + function isSelected(storeValue, itemValue) { + if (itemValue == null) return; + if (storeValue == null) return false; + if (Array.isArray(storeValue)) { + return storeValue.includes(itemValue); } - return top; + return storeValue === itemValue; } - function findNextPageItemId( - element, - store, - next, - pageUp = false - ) { + function getItemRole(popupRole) { var _a; - if (!store) return; - if (!next) return; - const { renderedItems } = store.getState(); - const scrollingElement = (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_8__.getScrollingElement)( - element - ); - if (!scrollingElement) return; - const nextPageOffset = getNextPageOffset( - scrollingElement, - pageUp - ); - let id; - let prevDifference; - for (let i = 0; i < renderedItems.length; i += 1) { - const previousId = id; - id = next(i); - if (!id) break; - if (id === previousId) continue; - const itemElement = - (_a = (0, - _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.getEnabledItem)( - store, - id - )) == null - ? void 0 - : _a.element; - if (!itemElement) continue; - const itemOffset = getItemOffset(itemElement, pageUp); - const difference = itemOffset - nextPageOffset; - const absDifference = Math.abs(difference); - if ( - (pageUp && difference <= 0) || - (!pageUp && difference >= 0) - ) { - if ( - prevDifference !== void 0 && - prevDifference < absDifference - ) { - id = previousId; - } - break; - } - prevDifference = absDifference; - } - return id; + const itemRoleByPopupRole = { + menu: 'menuitem', + listbox: 'option', + tree: 'treeitem', + }; + const key = popupRole; + return (_a = itemRoleByPopupRole[key]) != null + ? _a + : 'option'; } - function targetIsAnotherItem(event, store) { - if ( - (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_9__.isSelfTarget)( - event - ) - ) - return false; - return (0, - _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.isItem)( + var useComboboxItem = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_4__.createHook)( + function useComboboxItem2({ store, - event.target - ); - } - var useCompositeItem = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_5__.createHook)( - function useCompositeItem2(_a) { - var _b = _a, - { - store, - rowId: rowIdProp, - preventScrollOnKeyDown = false, - moveOnKeyPress = true, - tabbable = false, - getItem: getItemProp, - 'aria-setsize': ariaSetSizeProp, - 'aria-posinset': ariaPosInSetProp, - } = _b, - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__objRest)( - _b, - [ - 'store', - 'rowId', - 'preventScrollOnKeyDown', - 'moveOnKeyPress', - 'tabbable', - 'getItem', - 'aria-setsize', - 'aria-posinset', - ] - ); + value, + hideOnClick, + setValueOnClick, + selectValueOnClick = true, + resetValueOnSelect, + focusOnHover = false, + moveOnKeyPress = true, + getItem: getItemProp, + ...props + }) { + var _a; const context = (0, - _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_2__.useCompositeContext)(); + _7P7IWEBR_js__WEBPACK_IMPORTED_MODULE_2__.useComboboxScopedContext)(); store = store || context; - const id = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_6__.useId)( - props.id - ); - const ref = (0, - react__WEBPACK_IMPORTED_MODULE_12__.useRef)(null); - const row = (0, - react__WEBPACK_IMPORTED_MODULE_12__.useContext)( - _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_2__.CompositeRowContext - ); - const disabled = (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_10__.disabledFromProps)( - props + (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_9__.invariant)( + store, + true && + 'ComboboxItem must be wrapped in a ComboboxList or ComboboxPopover component.' ); - const trulyDisabled = - disabled && !props.accessibleWhenDisabled; const { - rowId, - baseElement, - isActiveItem, - ariaSetSize, - ariaPosInSet, - isTabbable, + resetValueOnSelectState, + multiSelectable, + selected, } = (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_4__.useStoreStateObject)( + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_3__.useStoreStateObject)( store, { - rowId(state) { - if (rowIdProp) return rowIdProp; - if (!state) return; - if ( - !(row == null - ? void 0 - : row.baseElement) - ) - return; - if (row.baseElement !== state.baseElement) - return; - return row.id; - }, - baseElement(state) { - return ( - (state == null - ? void 0 - : state.baseElement) || void 0 - ); - }, - isActiveItem(state) { - return !!state && state.activeId === id; - }, - ariaSetSize(state) { - if (ariaSetSizeProp != null) - return ariaSetSizeProp; - if (!state) return; - if ( - !(row == null - ? void 0 - : row.ariaSetSize) - ) - return; - if (row.baseElement !== state.baseElement) - return; - return row.ariaSetSize; + resetValueOnSelectState: 'resetValueOnSelect', + multiSelectable(state) { + return Array.isArray(state.selectedValue); }, - ariaPosInSet(state) { - if (ariaPosInSetProp != null) - return ariaPosInSetProp; - if (!state) return; - if ( - !(row == null - ? void 0 - : row.ariaPosInSet) - ) - return; - if (row.baseElement !== state.baseElement) - return; - const itemsInRow = - state.renderedItems.filter( - (item) => item.rowId === rowId - ); - return ( - row.ariaPosInSet + - itemsInRow.findIndex( - (item) => item.id === id - ) + selected(state) { + return isSelected( + state.selectedValue, + value ); }, - isTabbable(state) { - if ( - !(state == null - ? void 0 - : state.renderedItems.length) - ) - return true; - if (state.virtualFocus) return false; - if (tabbable) return true; - if (state.activeId === null) return false; - const item = - store == null - ? void 0 - : store.item(state.activeId); - if (item == null ? void 0 : item.disabled) - return true; - if (!(item == null ? void 0 : item.element)) - return true; - return state.activeId === id; - }, } ); const getItem = (0, - react__WEBPACK_IMPORTED_MODULE_12__.useCallback)( + react__WEBPACK_IMPORTED_MODULE_10__.useCallback)( (item) => { - var _a2; - const nextItem = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__spreadValues)( - {}, - item - ), - { - id: id || item.id, - rowId, - disabled: !!trulyDisabled, - children: - (_a2 = item.element) == null - ? void 0 - : _a2.textContent, - } - ); + const nextItem = { ...item, value }; if (getItemProp) { return getItemProp(nextItem); } return nextItem; }, - [id, rowId, trulyDisabled, getItemProp] + [value, getItemProp] ); - const onFocusProp = props.onFocus; - const hasFocusedComposite = (0, - react__WEBPACK_IMPORTED_MODULE_12__.useRef)(false); - const onFocus = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_6__.useEvent)( + setValueOnClick = + setValueOnClick != null + ? setValueOnClick + : !multiSelectable; + hideOnClick = + hideOnClick != null + ? hideOnClick + : value != null && !multiSelectable; + const onClickProp = props.onClick; + const setValueOnClickProp = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_5__.useBooleanEvent)( + setValueOnClick + ); + const selectValueOnClickProp = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_5__.useBooleanEvent)( + selectValueOnClick + ); + const resetValueOnSelectProp = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_5__.useBooleanEvent)( + (_a = + resetValueOnSelect != null + ? resetValueOnSelect + : resetValueOnSelectState) != null + ? _a + : multiSelectable + ); + const hideOnClickProp = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_5__.useBooleanEvent)( + hideOnClick + ); + const onClick = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_5__.useEvent)( (event) => { - onFocusProp == null + onClickProp == null ? void 0 - : onFocusProp(event); + : onClickProp(event); if (event.defaultPrevented) return; if ( (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_9__.isPortalEvent)( + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__.isDownloading)( event ) ) return; - if (!id) return; - if (!store) return; - if (targetIsAnotherItem(event, store)) return; - const { - virtualFocus, - baseElement: baseElement2, - } = store.getState(); - store.setActiveId(id); if ( (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_8__.isTextbox)( - event.currentTarget - ) - ) { - (0, - _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.selectTextField)( - event.currentTarget - ); - } - if (!virtualFocus) return; - if ( - !(0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_9__.isSelfTarget)( + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__.isOpeningInNewTab)( event ) ) return; - if (isEditableElement(event.currentTarget)) - return; - if ( - !(baseElement2 == null - ? void 0 - : baseElement2.isConnected) - ) - return; - if ( - (0, - _ariakit_core_utils_platform__WEBPACK_IMPORTED_MODULE_11__.isSafari)() && - event.currentTarget.hasAttribute( - 'data-autofocus' - ) - ) { - event.currentTarget.scrollIntoView({ - block: 'nearest', - inline: 'nearest', - }); + if (value != null) { + if (selectValueOnClickProp(event)) { + if (resetValueOnSelectProp(event)) { + store == null + ? void 0 + : store.resetValue(); + } + store == null + ? void 0 + : store.setSelectedValue( + (prevValue) => { + if ( + !Array.isArray( + prevValue + ) + ) + return value; + if ( + prevValue.includes( + value + ) + ) { + return prevValue.filter( + (v) => + v !== value + ); + } + return [ + ...prevValue, + value, + ]; + } + ); + } + if (setValueOnClickProp(event)) { + store == null + ? void 0 + : store.setValue(value); + } } - hasFocusedComposite.current = true; - const fromComposite = - event.relatedTarget === baseElement2 || - (0, - _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.isItem)( - store, - event.relatedTarget - ); - if (fromComposite) { - (0, - _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.focusSilently)( - baseElement2 - ); - } else { - baseElement2.focus(); + if (hideOnClickProp(event)) { + store == null ? void 0 : store.hide(); } } ); - const onBlurCaptureProp = props.onBlurCapture; - const onBlurCapture = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_6__.useEvent)( + const onKeyDownProp = props.onKeyDown; + const onKeyDown = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_5__.useEvent)( (event) => { - onBlurCaptureProp == null + onKeyDownProp == null ? void 0 - : onBlurCaptureProp(event); + : onKeyDownProp(event); if (event.defaultPrevented) return; - const state = - store == null ? void 0 : store.getState(); - if ( - (state == null + const baseElement = + store == null ? void 0 - : state.virtualFocus) && - hasFocusedComposite.current + : store.getState().baseElement; + if (!baseElement) return; + if ( + (0, + _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_8__.hasFocus)( + baseElement + ) + ) + return; + const printable = event.key.length === 1; + if ( + printable || + event.key === 'Backspace' || + event.key === 'Delete' ) { - hasFocusedComposite.current = false; - event.preventDefault(); - event.stopPropagation(); + queueMicrotask(() => baseElement.focus()); + if ( + (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_6__.isTextField)( + baseElement + ) + ) { + store == null + ? void 0 + : store.setValue(baseElement.value); + } } } ); - const onKeyDownProp = props.onKeyDown; - const preventScrollOnKeyDownProp = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_6__.useBooleanEvent)( - preventScrollOnKeyDown + if (multiSelectable && selected != null) { + props = { + 'aria-selected': selected, + ...props, + }; + } + props = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_5__.useWrapElement)( + props, + (element) => + /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)( + _7P7IWEBR_js__WEBPACK_IMPORTED_MODULE_2__ + .ComboboxItemValueContext.Provider, + { + value, + children: /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)( + _7P7IWEBR_js__WEBPACK_IMPORTED_MODULE_2__ + .ComboboxItemCheckedContext + .Provider, + { + value: + selected != null + ? selected + : false, + children: element, + } + ), + } + ), + [value, selected] + ); + const popupRole = (0, + react__WEBPACK_IMPORTED_MODULE_10__.useContext)( + _7P7IWEBR_js__WEBPACK_IMPORTED_MODULE_2__.ComboboxListRoleContext + ); + props = { + role: getItemRole(popupRole), + children: value, + ...props, + onClick, + onKeyDown, + }; + const moveOnKeyPressProp = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_5__.useBooleanEvent)( + moveOnKeyPress + ); + props = (0, + _FIT2LC3L_js__WEBPACK_IMPORTED_MODULE_1__.useCompositeItem)( + { + store, + ...props, + getItem, + // Dispatch a custom event on the combobox input when moving to an item + // with the keyboard so the Combobox component can enable inline + // autocompletion. + moveOnKeyPress: (event) => { + if (!moveOnKeyPressProp(event)) + return false; + const moveEvent = new Event( + 'combobox-item-move' + ); + const baseElement = + store == null + ? void 0 + : store.getState().baseElement; + baseElement == null + ? void 0 + : baseElement.dispatchEvent(moveEvent); + return true; + }, + } + ); + props = (0, + _RIJYZEV5_js__WEBPACK_IMPORTED_MODULE_0__.useCompositeHover)( + { store, focusOnHover, ...props } + ); + return props; + } + ); + var ComboboxItem = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_4__.memo)( + (0, _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_4__.forwardRef)( + function ComboboxItem2(props) { + const htmlProps = useComboboxItem(props); + return (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_4__.createElement)( + TagName, + htmlProps + ); + } + ) + ); + + /***/ + }, + + /***/ './node_modules/@ariakit/react-core/esm/__chunks/QNTIVZIC.js': + /*!*******************************************************************!*\ + !*** ./node_modules/@ariakit/react-core/esm/__chunks/QNTIVZIC.js ***! + \*******************************************************************/ + /***/ function ( + __unused_webpack___webpack_module__, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ CompositeGroup: function () { + return /* binding */ CompositeGroup; + }, + /* harmony export */ useCompositeGroup: function () { + return /* binding */ useCompositeGroup; + }, + /* harmony export */ + } + ); + /* harmony import */ var _GW2URR7A_js__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! ./GW2URR7A.js */ './node_modules/@ariakit/react-core/esm/__chunks/GW2URR7A.js' + ); + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__ = + __webpack_require__( + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' + ); + ('use client'); + + // src/composite/composite-group.tsx + var TagName = 'div'; + var useCompositeGroup = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createHook)( + function useCompositeGroup2({ store, ...props }) { + props = (0, + _GW2URR7A_js__WEBPACK_IMPORTED_MODULE_0__.useGroup)( + props + ); + return props; + } + ); + var CompositeGroup = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.forwardRef)( + function CompositeGroup2(props) { + const htmlProps = useCompositeGroup(props); + return (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createElement)( + TagName, + htmlProps + ); + } + ); + + /***/ + }, + + /***/ './node_modules/@ariakit/react-core/esm/__chunks/RBTTLCIN.js': + /*!*******************************************************************!*\ + !*** ./node_modules/@ariakit/react-core/esm/__chunks/RBTTLCIN.js ***! + \*******************************************************************/ + /***/ function ( + __unused_webpack___webpack_module__, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ VisuallyHidden: function () { + return /* binding */ VisuallyHidden; + }, + /* harmony export */ useVisuallyHidden: function () { + return /* binding */ useVisuallyHidden; + }, + /* harmony export */ + } + ); + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' + ); + ('use client'); + + // src/visually-hidden/visually-hidden.tsx + var TagName = 'span'; + var useVisuallyHidden = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_0__.createHook)( + function useVisuallyHidden2(props) { + props = { + ...props, + style: { + border: 0, + clip: 'rect(0 0 0 0)', + height: '1px', + margin: '-1px', + overflow: 'hidden', + padding: 0, + position: 'absolute', + whiteSpace: 'nowrap', + width: '1px', + ...props.style, + }, + }; + return props; + } + ); + var VisuallyHidden = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_0__.forwardRef)( + function VisuallyHidden2(props) { + const htmlProps = useVisuallyHidden(props); + return (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_0__.createElement)( + TagName, + htmlProps + ); + } + ); + + /***/ + }, + + /***/ './node_modules/@ariakit/react-core/esm/__chunks/RIJYZEV5.js': + /*!*******************************************************************!*\ + !*** ./node_modules/@ariakit/react-core/esm/__chunks/RIJYZEV5.js ***! + \*******************************************************************/ + /***/ function ( + __unused_webpack___webpack_module__, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ CompositeHover: function () { + return /* binding */ CompositeHover; + }, + /* harmony export */ useCompositeHover: function () { + return /* binding */ useCompositeHover; + }, + /* harmony export */ + } + ); + /* harmony import */ var _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! ./72IB6YNO.js */ './node_modules/@ariakit/react-core/esm/__chunks/72IB6YNO.js' + ); + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__ = + __webpack_require__( + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' + ); + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__ = + __webpack_require__( + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' + ); + /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_3__ = + __webpack_require__( + /*! @ariakit/core/utils/dom */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' + ); + /* harmony import */ var _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_4__ = + __webpack_require__( + /*! @ariakit/core/utils/focus */ './node_modules/@ariakit/core/esm/utils/focus.js' + ); + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__ = + __webpack_require__( + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' + ); + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = + __webpack_require__( + /*! react */ './node_modules/react/index.js' + ); + ('use client'); + + // src/composite/composite-hover.tsx + + var TagName = 'div'; + function getMouseDestination(event) { + const relatedTarget = event.relatedTarget; + if ( + (relatedTarget == null + ? void 0 + : relatedTarget.nodeType) === Node.ELEMENT_NODE + ) { + return relatedTarget; + } + return null; + } + function hoveringInside(event) { + const nextElement = getMouseDestination(event); + if (!nextElement) return false; + return (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_3__.contains)( + event.currentTarget, + nextElement + ); + } + var symbol = Symbol('composite-hover'); + function movingToAnotherItem(event) { + let dest = getMouseDestination(event); + if (!dest) return false; + do { + if ( + (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__.hasOwnProperty)( + dest, + symbol + ) && + dest[symbol] + ) + return true; + dest = dest.parentElement; + } while (dest); + return false; + } + var useCompositeHover = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createHook)( + function useCompositeHover2({ + store, + focusOnHover = true, + blurOnHoverEnd = !!focusOnHover, + ...props + }) { + const context = (0, + _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_0__.useCompositeContext)(); + store = store || context; + (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__.invariant)( + store, + true && + 'CompositeHover must be wrapped in a Composite component.' ); - const moveOnKeyPressProp = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_6__.useBooleanEvent)( - moveOnKeyPress + const isMouseMoving = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__.useIsMouseMoving)(); + const onMouseMoveProp = props.onMouseMove; + const focusOnHoverProp = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__.useBooleanEvent)( + focusOnHover ); - const onKeyDown = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_6__.useEvent)( + const onMouseMove = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__.useEvent)( (event) => { - onKeyDownProp == null + onMouseMoveProp == null ? void 0 - : onKeyDownProp(event); + : onMouseMoveProp(event); if (event.defaultPrevented) return; + if (!isMouseMoving()) return; + if (!focusOnHoverProp(event)) return; if ( !(0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_9__.isSelfTarget)( - event - ) - ) - return; - if (!store) return; - const { currentTarget } = event; - const state = store.getState(); - const item = store.item(id); - const isGrid = !!(item == null - ? void 0 - : item.rowId); - const isVertical = - state.orientation !== 'horizontal'; - const isHorizontal = - state.orientation !== 'vertical'; - const canHomeEnd = () => { - if (isGrid) return true; - if (isHorizontal) return true; - if (!state.baseElement) return true; - if ( - !(0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_8__.isTextField)( - state.baseElement - ) + _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_4__.hasFocusWithin)( + event.currentTarget ) - return true; - return false; - }; - const keyMap = { - ArrowUp: (isGrid || isVertical) && store.up, - ArrowRight: - (isGrid || isHorizontal) && store.next, - ArrowDown: - (isGrid || isVertical) && store.down, - ArrowLeft: - (isGrid || isHorizontal) && - store.previous, - Home: () => { - if (!canHomeEnd()) return; - if (!isGrid || event.ctrlKey) { - return store == null - ? void 0 - : store.first(); - } - return store == null - ? void 0 - : store.previous(-1); - }, - End: () => { - if (!canHomeEnd()) return; - if (!isGrid || event.ctrlKey) { - return store == null - ? void 0 - : store.last(); - } - return store == null + ) { + const baseElement = + store == null ? void 0 - : store.next(-1); - }, - PageUp: () => { - return findNextPageItemId( - currentTarget, - store, - store == null ? void 0 : store.up, - true - ); - }, - PageDown: () => { - return findNextPageItemId( - currentTarget, - store, - store == null ? void 0 : store.down - ); - }, - }; - const action = keyMap[event.key]; - if (action) { + : store.getState().baseElement; if ( - (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_8__.isTextbox)( - currentTarget - ) - ) { - const selection = (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_8__.getTextboxSelection)( - currentTarget - ); - const isLeft = - isHorizontal && - event.key === 'ArrowLeft'; - const isRight = - isHorizontal && - event.key === 'ArrowRight'; - const isUp = - isVertical && - event.key === 'ArrowUp'; - const isDown = - isVertical && - event.key === 'ArrowDown'; - if (isRight || isDown) { - const { length: valueLength } = (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_8__.getTextboxValue)( - currentTarget - ); - if (selection.end !== valueLength) - return; - } else if ( - (isLeft || isUp) && - selection.start !== 0 + baseElement && + !(0, + _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_4__.hasFocus)( + baseElement ) - return; - } - const nextId = action(); - if ( - preventScrollOnKeyDownProp(event) || - nextId !== void 0 ) { - if (!moveOnKeyPressProp(event)) return; - event.preventDefault(); - store.move(nextId); + baseElement.focus(); } } + store == null + ? void 0 + : store.setActiveId(event.currentTarget.id); } ); - const providerValue = (0, - react__WEBPACK_IMPORTED_MODULE_12__.useMemo)( - () => ({ id, baseElement }), - [id, baseElement] - ); - props = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_6__.useWrapElement)( - props, - (element) => - /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)( - _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_2__ - .CompositeItemContext.Provider, - { value: providerValue, children: element } - ), - [providerValue] + const onMouseLeaveProp = props.onMouseLeave; + const blurOnHoverEndProp = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__.useBooleanEvent)( + blurOnHoverEnd ); - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__spreadValues)( - { - id, - 'data-active-item': isActiveItem || void 0, - }, - props - ), - { - ref: (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_6__.useMergeRefs)( - ref, - props.ref - ), - tabIndex: isTabbable ? props.tabIndex : -1, - onFocus, - onBlurCapture, - onKeyDown, + const onMouseLeave = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__.useEvent)( + (event) => { + var _a; + onMouseLeaveProp == null + ? void 0 + : onMouseLeaveProp(event); + if (event.defaultPrevented) return; + if (!isMouseMoving()) return; + if (hoveringInside(event)) return; + if (movingToAnotherItem(event)) return; + if (!focusOnHoverProp(event)) return; + if (!blurOnHoverEndProp(event)) return; + store == null + ? void 0 + : store.setActiveId(null); + (_a = + store == null + ? void 0 + : store.getState().baseElement) == null + ? void 0 + : _a.focus(); } ); - props = (0, - _2W3RN7C5_js__WEBPACK_IMPORTED_MODULE_3__.useCommand)( - props - ); - props = (0, - _Y62RTBST_js__WEBPACK_IMPORTED_MODULE_1__.useCollectionItem)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__spreadValues)( - { - store, - }, - props - ), - { - getItem, - shouldRegisterItem: id - ? props.shouldRegisterItem - : false, - } - ) + const ref = (0, + react__WEBPACK_IMPORTED_MODULE_6__.useCallback)( + (element) => { + if (!element) return; + element[symbol] = true; + }, + [] ); + props = { + ...props, + ref: (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__.useMergeRefs)( + ref, + props.ref + ), + onMouseMove, + onMouseLeave, + }; return (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_10__.removeUndefinedValues)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__spreadValues)( - {}, - props - ), - { - 'aria-setsize': ariaSetSize, - 'aria-posinset': ariaPosInSet, - } - ) + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__.removeUndefinedValues)( + props ); } ); - var CompositeItem = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_5__.memo)( - (0, _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_5__.forwardRef)( - function CompositeItem2(props) { - const htmlProps = useCompositeItem(props); + var CompositeHover = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.memo)( + (0, _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.forwardRef)( + function CompositeHover2(props) { + const htmlProps = useCompositeHover(props); return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_5__.createElement)( + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createElement)( TagName, htmlProps ); @@ -20499,9 +17689,9 @@ If there's a particular need for this, please submit a feature request at https: /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/SK3NAZA3.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/S7U6BLGA.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/SK3NAZA3.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/S7U6BLGA.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -20513,128 +17703,77 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ getRefProperty: function () { - return /* binding */ getRefProperty; - }, - /* harmony export */ isValidElementWithRef: + /* harmony export */ disableAccessibilityTreeOutside: function () { - return /* binding */ isValidElementWithRef; + return /* binding */ disableAccessibilityTreeOutside; + }, + /* harmony export */ hideElementFromAccessibilityTree: + function () { + return /* binding */ hideElementFromAccessibilityTree; }, - /* harmony export */ mergeProps: function () { - return /* binding */ mergeProps; - }, - /* harmony export */ setRef: function () { - return /* binding */ setRef; - }, /* harmony export */ } ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _AOUGVQZ3_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' + /*! ./AOUGVQZ3.js */ './node_modules/@ariakit/react-core/esm/__chunks/AOUGVQZ3.js' ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _K2ZF5NU7_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! ./K2ZF5NU7.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2ZF5NU7.js' ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _63XF7ACK_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! react */ './node_modules/react/index.js' + /*! ./63XF7ACK.js */ './node_modules/@ariakit/react-core/esm/__chunks/63XF7ACK.js' ); ('use client'); - // src/utils/misc.ts - - function setRef(ref, value) { - if (typeof ref === 'function') { - ref(value); - } else if (ref) { - ref.current = value; - } - } - function isValidElementWithRef(element) { - if (!element) return false; - if ( - !(0, react__WEBPACK_IMPORTED_MODULE_2__.isValidElement)( - element - ) - ) - return false; - if ('ref' in element.props) return true; - if ('ref' in element) return true; - return false; - } - function getRefProperty(element) { - if (!isValidElementWithRef(element)) return null; - const props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_0__.__spreadValues)( - {}, - element.props + // src/dialog/utils/disable-accessibility-tree-outside.ts + function hideElementFromAccessibilityTree(element) { + return (0, + _K2ZF5NU7_js__WEBPACK_IMPORTED_MODULE_1__.setAttribute)( + element, + 'aria-hidden', + 'true' ); - return props.ref || element.ref; } - function mergeProps(base, overrides) { - const props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_0__.__spreadValues)( - {}, - base + function disableAccessibilityTreeOutside(id, elements) { + const cleanups = []; + const ids = elements.map((el) => + el == null ? void 0 : el.id ); - for (const key in overrides) { - if ( - !(0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_1__.hasOwnProperty)( - overrides, - key + (0, + _AOUGVQZ3_js__WEBPACK_IMPORTED_MODULE_0__.walkTreeOutside)( + id, + elements, + (element) => { + if ( + (0, + _63XF7ACK_js__WEBPACK_IMPORTED_MODULE_2__.isBackdrop)( + element, + ...ids + ) ) - ) - continue; - if (key === 'className') { - const prop = 'className'; - props[prop] = base[prop] - ? `${base[prop]} ${overrides[prop]}` - : overrides[prop]; - continue; - } - if (key === 'style') { - const prop = 'style'; - props[prop] = base[prop] - ? (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_0__.__spreadValues)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_0__.__spreadValues)( - {}, - base[prop] - ), - overrides[prop] - ) - : overrides[prop]; - continue; + return; + cleanups.unshift( + hideElementFromAccessibilityTree(element) + ); } - const overrideValue = overrides[key]; - if ( - typeof overrideValue === 'function' && - key.startsWith('on') - ) { - const baseValue = base[key]; - if (typeof baseValue === 'function') { - props[key] = (...args) => { - overrideValue(...args); - baseValue(...args); - }; - continue; - } + ); + const restoreAccessibilityTree = () => { + for (const cleanup of cleanups) { + cleanup(); } - props[key] = overrideValue; - } - return props; + }; + return restoreAccessibilityTree; } /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/SQZLCNLX.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/SPU3NB66.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/SQZLCNLX.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/SPU3NB66.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -20646,250 +17785,619 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ Radio: function () { - return /* binding */ Radio; + /* harmony export */ MenuBarContextProvider: + function () { + return /* binding */ MenuBarContextProvider; + }, + /* harmony export */ MenuBarScopedContextProvider: + function () { + return /* binding */ MenuBarScopedContextProvider; + }, + /* harmony export */ MenuContextProvider: function () { + return /* binding */ MenuContextProvider; }, - /* harmony export */ useRadio: function () { - return /* binding */ useRadio; + /* harmony export */ MenuItemCheckedContext: + function () { + return /* binding */ MenuItemCheckedContext; + }, + /* harmony export */ MenuScopedContextProvider: + function () { + return /* binding */ MenuScopedContextProvider; + }, + /* harmony export */ useMenuBarContext: function () { + return /* binding */ useMenuBarContext; + }, + /* harmony export */ useMenuBarProviderContext: + function () { + return /* binding */ useMenuBarProviderContext; + }, + /* harmony export */ useMenuBarScopedContext: + function () { + return /* binding */ useMenuBarScopedContext; + }, + /* harmony export */ useMenuContext: function () { + return /* binding */ useMenuContext; + }, + /* harmony export */ useMenuProviderContext: + function () { + return /* binding */ useMenuProviderContext; + }, + /* harmony export */ useMenuScopedContext: function () { + return /* binding */ useMenuScopedContext; + }, + /* harmony export */ + } + ); + /* harmony import */ var _TGNQMQ45_js__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! ./TGNQMQ45.js */ './node_modules/@ariakit/react-core/esm/__chunks/TGNQMQ45.js' + ); + /* harmony import */ var _2WDBOH5E_js__WEBPACK_IMPORTED_MODULE_1__ = + __webpack_require__( + /*! ./2WDBOH5E.js */ './node_modules/@ariakit/react-core/esm/__chunks/2WDBOH5E.js' + ); + /* harmony import */ var _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_2__ = + __webpack_require__( + /*! ./72IB6YNO.js */ './node_modules/@ariakit/react-core/esm/__chunks/72IB6YNO.js' + ); + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__ = + __webpack_require__( + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' + ); + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = + __webpack_require__( + /*! react */ './node_modules/react/index.js' + ); + ('use client'); + + // src/menu/menu-context.tsx + + var menu = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__.createStoreContext)( + [ + _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_2__.CompositeContextProvider, + _2WDBOH5E_js__WEBPACK_IMPORTED_MODULE_1__.HovercardContextProvider, + ], + [ + _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_2__.CompositeScopedContextProvider, + _2WDBOH5E_js__WEBPACK_IMPORTED_MODULE_1__.HovercardScopedContextProvider, + ] + ); + var useMenuContext = menu.useContext; + var useMenuScopedContext = menu.useScopedContext; + var useMenuProviderContext = menu.useProviderContext; + var MenuContextProvider = menu.ContextProvider; + var MenuScopedContextProvider = menu.ScopedContextProvider; + var useMenuBarContext = + _TGNQMQ45_js__WEBPACK_IMPORTED_MODULE_0__.useMenubarContext; + var useMenuBarScopedContext = + _TGNQMQ45_js__WEBPACK_IMPORTED_MODULE_0__.useMenubarScopedContext; + var useMenuBarProviderContext = + _TGNQMQ45_js__WEBPACK_IMPORTED_MODULE_0__.useMenubarProviderContext; + var MenuBarContextProvider = + _TGNQMQ45_js__WEBPACK_IMPORTED_MODULE_0__.MenubarContextProvider; + var MenuBarScopedContextProvider = + _TGNQMQ45_js__WEBPACK_IMPORTED_MODULE_0__.MenubarScopedContextProvider; + var MenuItemCheckedContext = (0, + react__WEBPACK_IMPORTED_MODULE_4__.createContext)(void 0); + + /***/ + }, + + /***/ './node_modules/@ariakit/react-core/esm/__chunks/SWBQ42SL.js': + /*!*******************************************************************!*\ + !*** ./node_modules/@ariakit/react-core/esm/__chunks/SWBQ42SL.js ***! + \*******************************************************************/ + /***/ function ( + __unused_webpack___webpack_module__, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ Portal: function () { + return /* binding */ Portal; + }, + /* harmony export */ usePortal: function () { + return /* binding */ usePortal; }, /* harmony export */ } ); - /* harmony import */ var _BGBYET7R_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _AOQQTIBO_js__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! ./AOQQTIBO.js */ './node_modules/@ariakit/react-core/esm/__chunks/AOQQTIBO.js' + ); + /* harmony import */ var _IEBFIEPB_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./BGBYET7R.js */ './node_modules/@ariakit/react-core/esm/__chunks/BGBYET7R.js' + /*! ./IEBFIEPB.js */ './node_modules/@ariakit/react-core/esm/__chunks/IEBFIEPB.js' ); - /* harmony import */ var _SBSPVDDI_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ./SBSPVDDI.js */ './node_modules/@ariakit/react-core/esm/__chunks/SBSPVDDI.js' + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! ./RTNCFSKZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/RTNCFSKZ.js' + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _YXGXYGQX_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ./YXGXYGQX.js */ './node_modules/@ariakit/react-core/esm/__chunks/YXGXYGQX.js' ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! @ariakit/core/utils/dom */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__ = + /* harmony import */ var _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' + /*! @ariakit/core/utils/events */ './node_modules/@ariakit/core/esm/utils/events.js' ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__ = + /* harmony import */ var _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! @ariakit/core/utils/focus */ './node_modules/@ariakit/core/esm/utils/focus.js' ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__( /*! react */ './node_modules/react/index.js' ); + /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_9__ = + __webpack_require__( + /*! react-dom */ './node_modules/react-dom/index.js' + ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__ = + __webpack_require__( + /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' + ); ('use client'); - // src/radio/radio.tsx + // src/portal/portal.tsx - var TagName = 'input'; - function getIsChecked(value, storeValue) { - if (storeValue === void 0) return; - if (value != null && storeValue != null) { - return storeValue === value; + var TagName = 'div'; + function getRootElement(element) { + return (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_5__.getDocument)( + element + ).body; + } + function getPortalElement(element, portalElement) { + if (!portalElement) { + return (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_5__.getDocument)( + element + ).createElement('div'); } - return !!storeValue; + if (typeof portalElement === 'function') { + return portalElement(element); + } + return portalElement; } - function isNativeRadio(tagName, type) { - return tagName === 'input' && (!type || type === 'radio'); + function getRandomId(prefix = 'id') { + return `${prefix ? `${prefix}-` : ''}${Math.random().toString(36).slice(2, 8)}`; } - var useRadio = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__.createHook)( - function useRadio2(_a) { - var _b = _a, - { store, name, value, checked } = _b, - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__objRest)( - _b, - ['store', 'name', 'value', 'checked'] - ); - const context = (0, - _BGBYET7R_js__WEBPACK_IMPORTED_MODULE_0__.useRadioContext)(); - store = store || context; - const id = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useId)( - props.id - ); + function queueFocus(element) { + queueMicrotask(() => { + element == null ? void 0 : element.focus(); + }); + } + var usePortal = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.createHook)( + function usePortal2({ + preserveTabOrder, + preserveTabOrderAnchor, + portalElement, + portalRef, + portal = true, + ...props + }) { const ref = (0, - react__WEBPACK_IMPORTED_MODULE_7__.useRef)(null); - const isChecked = (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_2__.useStoreState)( - store, - (state) => - checked != null - ? checked - : getIsChecked( - value, - state == null ? void 0 : state.value - ) - ); - (0, - react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(() => { - if (!id) return; - if (!isChecked) return; - const isActiveItem = - (store == null - ? void 0 - : store.getState().activeId) === id; - if (isActiveItem) return; - store == null ? void 0 : store.setActiveId(id); - }, [store, isChecked, id]); - const onChangeProp = props.onChange; - const tagName = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useTagName)( + react__WEBPACK_IMPORTED_MODULE_8__.useRef)(null); + const refProp = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__.useMergeRefs)( ref, - TagName + props.ref ); - const nativeRadio = isNativeRadio(tagName, props.type); - const disabled = (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__.disabledFromProps)( - props + const context = (0, + react__WEBPACK_IMPORTED_MODULE_8__.useContext)( + _AOQQTIBO_js__WEBPACK_IMPORTED_MODULE_0__.PortalContext ); - const [propertyUpdated, schedulePropertyUpdate] = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useForceUpdate)(); + const [portalNode, setPortalNode] = (0, + react__WEBPACK_IMPORTED_MODULE_8__.useState)(null); + const [anchorPortalNode, setAnchorPortalNode] = (0, + react__WEBPACK_IMPORTED_MODULE_8__.useState)(null); + const outerBeforeRef = (0, + react__WEBPACK_IMPORTED_MODULE_8__.useRef)(null); + const innerBeforeRef = (0, + react__WEBPACK_IMPORTED_MODULE_8__.useRef)(null); + const innerAfterRef = (0, + react__WEBPACK_IMPORTED_MODULE_8__.useRef)(null); + const outerAfterRef = (0, + react__WEBPACK_IMPORTED_MODULE_8__.useRef)(null); (0, - react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(() => { + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__.useSafeLayoutEffect)(() => { const element = ref.current; - if (!element) return; - if (nativeRadio) return; - if (isChecked !== void 0) { - element.checked = isChecked; + if (!element || !portal) { + setPortalNode(null); + return; } - if (name !== void 0) { - element.name = name; + const portalEl = getPortalElement( + element, + portalElement + ); + if (!portalEl) { + setPortalNode(null); + return; } - if (value !== void 0) { - element.value = `${value}`; + const isPortalInDocument = portalEl.isConnected; + if (!isPortalInDocument) { + const rootElement = + context || getRootElement(element); + rootElement.appendChild(portalEl); } - }, [ - propertyUpdated, - nativeRadio, - isChecked, - name, - value, - ]); - const onChange = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useEvent)( - (event) => { - if (disabled) { - event.preventDefault(); - event.stopPropagation(); - return; - } + if (!portalEl.id) { + portalEl.id = element.id + ? `portal/${element.id}` + : getRandomId(); + } + setPortalNode(portalEl); + (0, + _YXGXYGQX_js__WEBPACK_IMPORTED_MODULE_4__.setRef)( + portalRef, + portalEl + ); + if (isPortalInDocument) return; + return () => { + portalEl.remove(); + (0, + _YXGXYGQX_js__WEBPACK_IMPORTED_MODULE_4__.setRef)( + portalRef, + null + ); + }; + }, [portal, portalElement, context, portalRef]); + (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__.useSafeLayoutEffect)(() => { + if (!portal) return; + if (!preserveTabOrder) return; + if (!preserveTabOrderAnchor) return; + const doc = (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_5__.getDocument)( + preserveTabOrderAnchor + ); + const element = doc.createElement('span'); + element.style.position = 'fixed'; + preserveTabOrderAnchor.insertAdjacentElement( + 'afterend', + element + ); + setAnchorPortalNode(element); + return () => { + element.remove(); + setAnchorPortalNode(null); + }; + }, [portal, preserveTabOrder, preserveTabOrderAnchor]); + (0, + react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(() => { + if (!portalNode) return; + if (!preserveTabOrder) return; + let raf = 0; + const onFocus = (event) => { if ( - (store == null - ? void 0 - : store.getState().value) === value + !(0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_6__.isFocusEventOutside)( + event + ) ) return; - if (!nativeRadio) { - event.currentTarget.checked = true; - schedulePropertyUpdate(); + const focusing = event.type === 'focusin'; + cancelAnimationFrame(raf); + if (focusing) { + return (0, + _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_7__.restoreFocusIn)( + portalNode + ); } - onChangeProp == null - ? void 0 - : onChangeProp(event); - if (event.defaultPrevented) return; - store == null ? void 0 : store.setValue(value); - } - ); - const onClickProp = props.onClick; - const onClick = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useEvent)( - (event) => { - onClickProp == null - ? void 0 - : onClickProp(event); - if (event.defaultPrevented) return; - if (nativeRadio) return; - onChange(event); - } - ); - const onFocusProp = props.onFocus; - const onFocus = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useEvent)( - (event) => { - onFocusProp == null - ? void 0 - : onFocusProp(event); - if (event.defaultPrevented) return; - if (!nativeRadio) return; - if (!store) return; - const { moves, activeId } = store.getState(); - if (!moves) return; - if (id && activeId !== id) return; - onChange(event); - } - ); - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - { - id, - role: !nativeRadio ? 'radio' : void 0, - type: nativeRadio ? 'radio' : void 0, - 'aria-checked': isChecked, - }, - props - ), - { - ref: (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useMergeRefs)( - ref, - props.ref - ), - onChange, - onClick, + raf = requestAnimationFrame(() => { + (0, + _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_7__.disableFocusIn)( + portalNode, + true + ); + }); + }; + portalNode.addEventListener( + 'focusin', onFocus, - } - ); + true + ); + portalNode.addEventListener( + 'focusout', + onFocus, + true + ); + return () => { + cancelAnimationFrame(raf); + portalNode.removeEventListener( + 'focusin', + onFocus, + true + ); + portalNode.removeEventListener( + 'focusout', + onFocus, + true + ); + }; + }, [portalNode, preserveTabOrder]); props = (0, - _SBSPVDDI_js__WEBPACK_IMPORTED_MODULE_1__.useCompositeItem)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - { - store, - clickOnEnter: !nativeRadio, - }, - props - ) + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__.useWrapElement)( + props, + (element) => { + element = // While the portal node is not in the DOM, we need to pass the + // current context to the portal context, otherwise it's going to + // reset to the body element on nested portals. + /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)( + _AOQQTIBO_js__WEBPACK_IMPORTED_MODULE_0__ + .PortalContext.Provider, + { + value: portalNode || context, + children: element, + } + ); + if (!portal) return element; + if (!portalNode) { + return /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)( + 'span', + { + ref: refProp, + id: props.id, + style: { position: 'fixed' }, + hidden: true, + } + ); + } + element = /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)( + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.Fragment, + { + children: [ + preserveTabOrder && + portalNode && + /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)( + _IEBFIEPB_js__WEBPACK_IMPORTED_MODULE_1__.FocusTrap, + { + ref: innerBeforeRef, + 'data-focus-trap': + props.id, + className: + '__focus-trap-inner-before', + onFocus: (event) => { + if ( + (0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_6__.isFocusEventOutside)( + event, + portalNode + ) + ) { + queueFocus( + (0, + _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_7__.getNextTabbable)() + ); + } else { + queueFocus( + outerBeforeRef.current + ); + } + }, + } + ), + element, + preserveTabOrder && + portalNode && + /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)( + _IEBFIEPB_js__WEBPACK_IMPORTED_MODULE_1__.FocusTrap, + { + ref: innerAfterRef, + 'data-focus-trap': + props.id, + className: + '__focus-trap-inner-after', + onFocus: (event) => { + if ( + (0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_6__.isFocusEventOutside)( + event, + portalNode + ) + ) { + queueFocus( + (0, + _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_7__.getPreviousTabbable)() + ); + } else { + queueFocus( + outerAfterRef.current + ); + } + }, + } + ), + ], + } + ); + if (portalNode) { + element = (0, + react_dom__WEBPACK_IMPORTED_MODULE_9__.createPortal)( + element, + portalNode + ); + } + let preserveTabOrderElement = + /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)( + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.Fragment, + { + children: [ + preserveTabOrder && + portalNode && + /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)( + _IEBFIEPB_js__WEBPACK_IMPORTED_MODULE_1__.FocusTrap, + { + ref: outerBeforeRef, + 'data-focus-trap': + props.id, + className: + '__focus-trap-outer-before', + onFocus: ( + event + ) => { + const fromOuter = + event.relatedTarget === + outerAfterRef.current; + if ( + !fromOuter && + (0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_6__.isFocusEventOutside)( + event, + portalNode + ) + ) { + queueFocus( + innerBeforeRef.current + ); + } else { + queueFocus( + (0, + _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_7__.getPreviousTabbable)() + ); + } + }, + } + ), + preserveTabOrder && // We're using position: fixed here so that the browser doesn't + // add margin to the element when setting gap on a parent element. + /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)( + 'span', + { + 'aria-owns': + portalNode == + null + ? void 0 + : portalNode.id, + style: { + position: + 'fixed', + }, + } + ), + preserveTabOrder && + portalNode && + /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)( + _IEBFIEPB_js__WEBPACK_IMPORTED_MODULE_1__.FocusTrap, + { + ref: outerAfterRef, + 'data-focus-trap': + props.id, + className: + '__focus-trap-outer-after', + onFocus: ( + event + ) => { + if ( + (0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_6__.isFocusEventOutside)( + event, + portalNode + ) + ) { + queueFocus( + innerAfterRef.current + ); + } else { + const nextTabbable = + (0, + _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_7__.getNextTabbable)(); + if ( + nextTabbable === + innerBeforeRef.current + ) { + requestAnimationFrame( + () => { + var _a; + return (_a = + (0, + _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_7__.getNextTabbable)()) == + null + ? void 0 + : _a.focus(); + } + ); + return; + } + queueFocus( + nextTabbable + ); + } + }, + } + ), + ], + } + ); + if (anchorPortalNode && preserveTabOrder) { + preserveTabOrderElement = (0, + react_dom__WEBPACK_IMPORTED_MODULE_9__.createPortal)( + preserveTabOrderElement, + anchorPortalNode + ); + } + return /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)( + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.Fragment, + { + children: [ + preserveTabOrderElement, + element, + ], + } + ); + }, + [ + portalNode, + context, + portal, + props.id, + preserveTabOrder, + anchorPortalNode, + ] ); + props = { + ...props, + ref: refProp, + }; + return props; + } + ); + var Portal = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.forwardRef)( + function Portal2(props) { + const htmlProps = usePortal(props); return (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__.removeUndefinedValues)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - { - name: nativeRadio ? name : void 0, - value: nativeRadio ? value : void 0, - checked: isChecked, - }, - props - ) + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.createElement)( + TagName, + htmlProps ); } ); - var Radio = (0, _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__.memo)( - (0, _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__.forwardRef)( - function Radio2(props) { - const htmlProps = useRadio(props); - return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__.createElement)( - TagName, - htmlProps - ); - } - ) - ); /***/ }, @@ -20908,29 +18416,92 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ FocusableContext: function () { - return /* binding */ FocusableContext; + /* harmony export */ FocusableContext: function () { + return /* binding */ FocusableContext; + }, + /* harmony export */ + } + ); + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! react */ './node_modules/react/index.js' + ); + ('use client'); + + // src/focusable/focusable-context.tsx + + var FocusableContext = (0, + react__WEBPACK_IMPORTED_MODULE_0__.createContext)(true); + + /***/ + }, + + /***/ './node_modules/@ariakit/react-core/esm/__chunks/T3X6WUOS.js': + /*!*******************************************************************!*\ + !*** ./node_modules/@ariakit/react-core/esm/__chunks/T3X6WUOS.js ***! + \*******************************************************************/ + /***/ function ( + __unused_webpack___webpack_module__, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ TabContextProvider: function () { + return /* binding */ TabContextProvider; + }, + /* harmony export */ TabScopedContextProvider: + function () { + return /* binding */ TabScopedContextProvider; + }, + /* harmony export */ useTabContext: function () { + return /* binding */ useTabContext; + }, + /* harmony export */ useTabProviderContext: + function () { + return /* binding */ useTabProviderContext; + }, + /* harmony export */ useTabScopedContext: function () { + return /* binding */ useTabScopedContext; }, /* harmony export */ } ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! react */ './node_modules/react/index.js' + /*! ./72IB6YNO.js */ './node_modules/@ariakit/react-core/esm/__chunks/72IB6YNO.js' + ); + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__ = + __webpack_require__( + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); ('use client'); - // src/focusable/focusable-context.tsx - - var FocusableContext = (0, - react__WEBPACK_IMPORTED_MODULE_0__.createContext)(true); + // src/tab/tab-context.tsx + var ctx = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createStoreContext)( + [ + _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_0__.CompositeContextProvider, + ], + [ + _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_0__.CompositeScopedContextProvider, + ] + ); + var useTabContext = ctx.useContext; + var useTabScopedContext = ctx.useScopedContext; + var useTabProviderContext = ctx.useProviderContext; + var TabContextProvider = ctx.ContextProvider; + var TabScopedContextProvider = ctx.ScopedContextProvider; /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/T22PY7TE.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/T7IYZ6JK.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/T22PY7TE.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/T7IYZ6JK.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -20942,77 +18513,266 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ useDisclosureStore: function () { - return /* binding */ useDisclosureStore; + /* harmony export */ MenuList: function () { + return /* binding */ MenuList; + }, + /* harmony export */ useMenuList: function () { + return /* binding */ useMenuList; }, - /* harmony export */ useDisclosureStoreProps: - function () { - return /* binding */ useDisclosureStoreProps; - }, /* harmony export */ } ); - /* harmony import */ var _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _SPU3NB66_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./RTNCFSKZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/RTNCFSKZ.js' + /*! ./SPU3NB66.js */ './node_modules/@ariakit/react-core/esm/__chunks/SPU3NB66.js' ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _WXLNFAIL_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! ./WXLNFAIL.js */ './node_modules/@ariakit/react-core/esm/__chunks/WXLNFAIL.js' ); - /* harmony import */ var _ariakit_core_disclosure_disclosure_store__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _HAX24JB7_js__WEBPACK_IMPORTED_MODULE_2__ = + __webpack_require__( + /*! ./HAX24JB7.js */ './node_modules/@ariakit/react-core/esm/__chunks/HAX24JB7.js' + ); + /* harmony import */ var _E7PWFDGB_js__WEBPACK_IMPORTED_MODULE_3__ = + __webpack_require__( + /*! ./E7PWFDGB.js */ './node_modules/@ariakit/react-core/esm/__chunks/E7PWFDGB.js' + ); + /* harmony import */ var _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_4__ = + __webpack_require__( + /*! ./Q3KUZPD7.js */ './node_modules/@ariakit/react-core/esm/__chunks/Q3KUZPD7.js' + ); + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_5__ = + __webpack_require__( + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' + ); + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_6__ = + __webpack_require__( + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' + ); + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_7__ = + __webpack_require__( + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' + ); + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__( - /*! @ariakit/core/disclosure/disclosure-store */ './node_modules/@ariakit/core/esm/__chunks/43IPP2F4.js' + /*! react */ './node_modules/react/index.js' + ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = + __webpack_require__( + /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' ); ('use client'); - // src/disclosure/disclosure-store.ts + // src/menu/menu-list.tsx - function useDisclosureStoreProps(store, update, props) { - (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_1__.useUpdateEffect)( - update, - [props.store, props.disclosure] - ); - (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_0__.useStoreProps)( - store, - props, - 'open', - 'setOpen' - ); - (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_0__.useStoreProps)( + var TagName = 'div'; + function useAriaLabelledBy({ store, ...props }) { + const [id, setId] = (0, + react__WEBPACK_IMPORTED_MODULE_8__.useState)(void 0); + const label = props['aria-label']; + const disclosureElement = (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_4__.useStoreState)( store, - props, - 'mounted', - 'setMounted' + 'disclosureElement' ); - (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_0__.useStoreProps)( + const contentElement = (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_4__.useStoreState)( store, - props, - 'animated' - ); - return Object.assign(store, { - disclosure: props.disclosure, - }); - } - function useDisclosureStore(props = {}) { - const [store, update] = (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_0__.useStore)( - _ariakit_core_disclosure_disclosure_store__WEBPACK_IMPORTED_MODULE_2__.createDisclosureStore, - props + 'contentElement' ); - return useDisclosureStoreProps(store, update, props); + (0, react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(() => { + const disclosure = disclosureElement; + if (!disclosure) return; + const menu = contentElement; + if (!menu) return; + const menuLabel = + label || menu.hasAttribute('aria-label'); + if (menuLabel) { + setId(void 0); + } else if (disclosure.id) { + setId(disclosure.id); + } + }, [label, disclosureElement, contentElement]); + return id; } + var useMenuList = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_5__.createHook)( + function useMenuList2({ + store, + alwaysVisible, + composite, + ...props + }) { + const context = (0, + _SPU3NB66_js__WEBPACK_IMPORTED_MODULE_0__.useMenuProviderContext)(); + store = store || context; + (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_7__.invariant)( + store, + true && + 'MenuList must receive a `store` prop or be wrapped in a MenuProvider component.' + ); + const parentMenu = store.parent; + const parentMenubar = store.menubar; + const hasParentMenu = !!parentMenu; + const id = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_6__.useId)( + props.id + ); + const onKeyDownProp = props.onKeyDown; + const dir = store.useState( + (state) => state.placement.split('-')[0] + ); + const orientation = store.useState((state) => + state.orientation === 'both' + ? void 0 + : state.orientation + ); + const isHorizontal = orientation !== 'vertical'; + const isMenubarHorizontal = (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_4__.useStoreState)( + parentMenubar, + (state) => + !!state && state.orientation !== 'vertical' + ); + const onKeyDown = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_6__.useEvent)( + (event) => { + onKeyDownProp == null + ? void 0 + : onKeyDownProp(event); + if (event.defaultPrevented) return; + if ( + hasParentMenu || + (parentMenubar && !isHorizontal) + ) { + const hideMap = { + ArrowRight: () => + dir === 'left' && !isHorizontal, + ArrowLeft: () => + dir === 'right' && !isHorizontal, + ArrowUp: () => + dir === 'bottom' && isHorizontal, + ArrowDown: () => + dir === 'top' && isHorizontal, + }; + const action = hideMap[event.key]; + if (action == null ? void 0 : action()) { + event.stopPropagation(); + event.preventDefault(); + return store == null + ? void 0 + : store.hide(); + } + } + if (parentMenubar) { + const keyMap = { + ArrowRight: () => { + if (!isMenubarHorizontal) return; + return parentMenubar.next(); + }, + ArrowLeft: () => { + if (!isMenubarHorizontal) return; + return parentMenubar.previous(); + }, + ArrowDown: () => { + if (isMenubarHorizontal) return; + return parentMenubar.next(); + }, + ArrowUp: () => { + if (isMenubarHorizontal) return; + return parentMenubar.previous(); + }, + }; + const action = keyMap[event.key]; + const id2 = + action == null ? void 0 : action(); + if (id2 !== void 0) { + event.stopPropagation(); + event.preventDefault(); + parentMenubar.move(id2); + } + } + } + ); + props = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_6__.useWrapElement)( + props, + (element) => + /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)( + _SPU3NB66_js__WEBPACK_IMPORTED_MODULE_0__.MenuScopedContextProvider, + { value: store, children: element } + ), + [store] + ); + const ariaLabelledBy = useAriaLabelledBy({ + store, + ...props, + }); + const mounted = store.useState('mounted'); + const hidden = (0, + _HAX24JB7_js__WEBPACK_IMPORTED_MODULE_2__.isHidden)( + mounted, + props.hidden, + alwaysVisible + ); + const style = hidden + ? { ...props.style, display: 'none' } + : props.style; + props = { + id, + 'aria-labelledby': ariaLabelledBy, + hidden, + ...props, + ref: (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_6__.useMergeRefs)( + id ? store.setContentElement : null, + props.ref + ), + style, + onKeyDown, + }; + const hasCombobox = !!store.combobox; + composite = + composite != null ? composite : !hasCombobox; + if (composite) { + props = { + role: 'menu', + 'aria-orientation': orientation, + ...props, + }; + } + props = (0, + _E7PWFDGB_js__WEBPACK_IMPORTED_MODULE_3__.useComposite)( + { store, composite, ...props } + ); + props = (0, + _WXLNFAIL_js__WEBPACK_IMPORTED_MODULE_1__.useCompositeTypeahead)( + { store, typeahead: !hasCombobox, ...props } + ); + return props; + } + ); + var MenuList = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_5__.forwardRef)( + function MenuList2(props) { + const htmlProps = useMenuList(props); + return (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_5__.createElement)( + TagName, + htmlProps + ); + } + ); /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/T2AZQXQU.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/TGNQMQ45.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/T2AZQXQU.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/TGNQMQ45.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -21024,42 +18784,39 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ DialogContextProvider: + /* harmony export */ MenuItemCheckedContext: function () { - return /* binding */ DialogContextProvider; + return /* binding */ MenuItemCheckedContext; }, - /* harmony export */ DialogDescriptionContext: + /* harmony export */ MenubarContextProvider: function () { - return /* binding */ DialogDescriptionContext; + return /* binding */ MenubarContextProvider; }, - /* harmony export */ DialogHeadingContext: function () { - return /* binding */ DialogHeadingContext; - }, - /* harmony export */ DialogScopedContextProvider: + /* harmony export */ MenubarScopedContextProvider: function () { - return /* binding */ DialogScopedContextProvider; + return /* binding */ MenubarScopedContextProvider; }, - /* harmony export */ useDialogContext: function () { - return /* binding */ useDialogContext; + /* harmony export */ useMenubarContext: function () { + return /* binding */ useMenubarContext; }, - /* harmony export */ useDialogProviderContext: + /* harmony export */ useMenubarProviderContext: function () { - return /* binding */ useDialogProviderContext; + return /* binding */ useMenubarProviderContext; }, - /* harmony export */ useDialogScopedContext: + /* harmony export */ useMenubarScopedContext: function () { - return /* binding */ useDialogScopedContext; + return /* binding */ useMenubarScopedContext; }, /* harmony export */ } ); - /* harmony import */ var _ABN76PSX_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./ABN76PSX.js */ './node_modules/@ariakit/react-core/esm/__chunks/ABN76PSX.js' + /*! ./72IB6YNO.js */ './node_modules/@ariakit/react-core/esm/__chunks/72IB6YNO.js' ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( @@ -21067,33 +18824,32 @@ If there's a particular need for this, please submit a feature request at https: ); ('use client'); - // src/dialog/dialog-context.tsx + // src/menubar/menubar-context.tsx - var ctx = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createStoreContext)( + var menubar = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createStoreContext)( [ - _ABN76PSX_js__WEBPACK_IMPORTED_MODULE_0__.DisclosureContextProvider, + _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_0__.CompositeContextProvider, ], [ - _ABN76PSX_js__WEBPACK_IMPORTED_MODULE_0__.DisclosureScopedContextProvider, + _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_0__.CompositeScopedContextProvider, ] ); - var useDialogContext = ctx.useContext; - var useDialogScopedContext = ctx.useScopedContext; - var useDialogProviderContext = ctx.useProviderContext; - var DialogContextProvider = ctx.ContextProvider; - var DialogScopedContextProvider = ctx.ScopedContextProvider; - var DialogHeadingContext = (0, - react__WEBPACK_IMPORTED_MODULE_2__.createContext)(void 0); - var DialogDescriptionContext = (0, + var useMenubarContext = menubar.useContext; + var useMenubarScopedContext = menubar.useScopedContext; + var useMenubarProviderContext = menubar.useProviderContext; + var MenubarContextProvider = menubar.ContextProvider; + var MenubarScopedContextProvider = + menubar.ScopedContextProvider; + var MenuItemCheckedContext = (0, react__WEBPACK_IMPORTED_MODULE_2__.createContext)(void 0); /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/T4WMOWCD.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/TGQLWSI3.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/T4WMOWCD.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/TGQLWSI3.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -21105,54 +18861,186 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ CompositeGroup: function () { - return /* binding */ CompositeGroup; + /* harmony export */ useMenuStore: function () { + return /* binding */ useMenuStore; }, - /* harmony export */ useCompositeGroup: function () { - return /* binding */ useCompositeGroup; + /* harmony export */ useMenuStoreProps: function () { + return /* binding */ useMenuStoreProps; }, /* harmony export */ } ); - /* harmony import */ var _WXI7YN3P_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _SPU3NB66_js__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! ./SPU3NB66.js */ './node_modules/@ariakit/react-core/esm/__chunks/SPU3NB66.js' + ); + /* harmony import */ var _TGNQMQ45_js__WEBPACK_IMPORTED_MODULE_1__ = + __webpack_require__( + /*! ./TGNQMQ45.js */ './node_modules/@ariakit/react-core/esm/__chunks/TGNQMQ45.js' + ); + /* harmony import */ var _IAC2O6VC_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ./WXI7YN3P.js */ './node_modules/@ariakit/react-core/esm/__chunks/WXI7YN3P.js' + /*! ./IAC2O6VC.js */ './node_modules/@ariakit/react-core/esm/__chunks/IAC2O6VC.js' ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _VEHC2EHR_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ./VEHC2EHR.js */ './node_modules/@ariakit/react-core/esm/__chunks/VEHC2EHR.js' ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _7P7IWEBR_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' + /*! ./7P7IWEBR.js */ './node_modules/@ariakit/react-core/esm/__chunks/7P7IWEBR.js' + ); + /* harmony import */ var _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_5__ = + __webpack_require__( + /*! ./Q3KUZPD7.js */ './node_modules/@ariakit/react-core/esm/__chunks/Q3KUZPD7.js' + ); + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_6__ = + __webpack_require__( + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' + ); + /* harmony import */ var _ariakit_core_menu_menu_store__WEBPACK_IMPORTED_MODULE_7__ = + __webpack_require__( + /*! @ariakit/core/menu/menu-store */ './node_modules/@ariakit/core/esm/menu/menu-store.js' ); ('use client'); - // src/composite/composite-group.tsx + // src/menu/menu-store.ts + + function useMenuStoreProps(store, update, props) { + (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_6__.useUpdateEffect)( + update, + [props.combobox, props.parent, props.menubar] + ); + (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_5__.useStoreProps)( + store, + props, + 'values', + 'setValues' + ); + return Object.assign( + (0, + _IAC2O6VC_js__WEBPACK_IMPORTED_MODULE_2__.useHovercardStoreProps)( + (0, + _VEHC2EHR_js__WEBPACK_IMPORTED_MODULE_3__.useCompositeStoreProps)( + store, + update, + props + ), + update, + props + ), + { + combobox: props.combobox, + parent: props.parent, + menubar: props.menubar, + } + ); + } + function useMenuStore(props = {}) { + const parent = (0, + _SPU3NB66_js__WEBPACK_IMPORTED_MODULE_0__.useMenuContext)(); + const menubar = (0, + _TGNQMQ45_js__WEBPACK_IMPORTED_MODULE_1__.useMenubarContext)(); + const combobox = (0, + _7P7IWEBR_js__WEBPACK_IMPORTED_MODULE_4__.useComboboxProviderContext)(); + props = { + ...props, + parent: props.parent !== void 0 ? props.parent : parent, + menubar: + props.menubar !== void 0 ? props.menubar : menubar, + combobox: + props.combobox !== void 0 + ? props.combobox + : combobox, + }; + const [store, update] = (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_5__.useStore)( + _ariakit_core_menu_menu_store__WEBPACK_IMPORTED_MODULE_7__.createMenuStore, + props + ); + return useMenuStoreProps(store, update, props); + } + + /***/ + }, + + /***/ './node_modules/@ariakit/react-core/esm/__chunks/UG4JNWMY.js': + /*!*******************************************************************!*\ + !*** ./node_modules/@ariakit/react-core/esm/__chunks/UG4JNWMY.js ***! + \*******************************************************************/ + /***/ function ( + __unused_webpack___webpack_module__, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ FocusableContainer: function () { + return /* binding */ FocusableContainer; + }, + /* harmony export */ useFocusableContainer: + function () { + return /* binding */ useFocusableContainer; + }, + /* harmony export */ + } + ); + /* harmony import */ var _SWN3JYXT_js__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! ./SWN3JYXT.js */ './node_modules/@ariakit/react-core/esm/__chunks/SWN3JYXT.js' + ); + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__ = + __webpack_require__( + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' + ); + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__ = + __webpack_require__( + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' + ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = + __webpack_require__( + /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' + ); + ('use client'); + + // src/focusable/focusable-container.tsx + var TagName = 'div'; - var useCompositeGroup = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createHook)( - function useCompositeGroup2(_a) { - var _b = _a, - { store } = _b, - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__.__objRest)( - _b, - ['store'] - ); + var useFocusableContainer = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createHook)( + function useFocusableContainer2({ + autoFocusOnShow = true, + ...props + }) { props = (0, - _WXI7YN3P_js__WEBPACK_IMPORTED_MODULE_0__.useGroup)( - props + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__.useWrapElement)( + props, + (element) => + /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)( + _SWN3JYXT_js__WEBPACK_IMPORTED_MODULE_0__ + .FocusableContext.Provider, + { + value: autoFocusOnShow, + children: element, + } + ), + [autoFocusOnShow] ); return props; } ); - var CompositeGroup = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.forwardRef)( - function CompositeGroup2(props) { - const htmlProps = useCompositeGroup(props); + var FocusableContainer = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.forwardRef)( + function FocusableContainer2(props) { + const htmlProps = useFocusableContainer(props); return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createElement)( + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createElement)( TagName, htmlProps ); @@ -21162,9 +19050,9 @@ If there's a particular need for this, please submit a feature request at https: /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/TRDK6LYC.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/US3TW2XI.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/TRDK6LYC.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/US3TW2XI.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -21176,297 +19064,572 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ HovercardAnchor: function () { - return /* binding */ HovercardAnchor; + /* harmony export */ Focusable: function () { + return /* binding */ Focusable; }, - /* harmony export */ useHovercardAnchor: function () { - return /* binding */ useHovercardAnchor; + /* harmony export */ isSafariFocusAncestor: + function () { + return /* binding */ isSafariFocusAncestor; + }, + /* harmony export */ useFocusable: function () { + return /* binding */ useFocusable; }, /* harmony export */ } ); - /* harmony import */ var _7Z7JH52O_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _SWN3JYXT_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./7Z7JH52O.js */ './node_modules/@ariakit/react-core/esm/__chunks/7Z7JH52O.js' + /*! ./SWN3JYXT.js */ './node_modules/@ariakit/react-core/esm/__chunks/SWN3JYXT.js' ); - /* harmony import */ var _OE2EFRVA_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./OE2EFRVA.js */ './node_modules/@ariakit/react-core/esm/__chunks/OE2EFRVA.js' + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! @ariakit/core/utils/dom */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' + /*! @ariakit/core/utils/events */ './node_modules/@ariakit/core/esm/utils/events.js' ); - /* harmony import */ var _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_5__ = + /* harmony import */ var _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( - /*! @ariakit/core/utils/events */ './node_modules/@ariakit/core/esm/utils/events.js' + /*! @ariakit/core/utils/focus */ './node_modules/@ariakit/core/esm/utils/focus.js' ); /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = + /* harmony import */ var _ariakit_core_utils_platform__WEBPACK_IMPORTED_MODULE_7__ = + __webpack_require__( + /*! @ariakit/core/utils/platform */ './node_modules/@ariakit/core/esm/__chunks/O6E4ZWCP.js' + ); + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__( /*! react */ './node_modules/react/index.js' ); ('use client'); - // src/hovercard/hovercard-anchor.tsx + // src/focusable/focusable.tsx - var TagName = 'a'; - var useHovercardAnchor = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.createHook)( - function useHovercardAnchor2(_a) { - var _b = _a, - { store, showOnHover = true } = _b, - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__objRest)( - _b, - ['store', 'showOnHover'] - ); - const context = (0, - _7Z7JH52O_js__WEBPACK_IMPORTED_MODULE_0__.useHovercardProviderContext)(); - store = store || context; - (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__.invariant)( - store, - true && - 'HovercardAnchor must receive a `store` prop or be wrapped in a HovercardProvider component.' - ); - const disabled = (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__.disabledFromProps)( - props - ); - const showTimeoutRef = (0, - react__WEBPACK_IMPORTED_MODULE_7__.useRef)(0); - (0, react__WEBPACK_IMPORTED_MODULE_7__.useEffect)( - () => () => - window.clearTimeout(showTimeoutRef.current), - [] + var TagName = 'div'; + var isSafariBrowser = (0, + _ariakit_core_utils_platform__WEBPACK_IMPORTED_MODULE_7__.isSafari)(); + var alwaysFocusVisibleInputTypes = [ + 'text', + 'search', + 'url', + 'tel', + 'email', + 'password', + 'number', + 'date', + 'month', + 'week', + 'time', + 'datetime', + 'datetime-local', + ]; + var safariFocusAncestorSymbol = Symbol('safariFocusAncestor'); + function isSafariFocusAncestor(element) { + if (!element) return false; + return !!element[safariFocusAncestorSymbol]; + } + function markSafariFocusAncestor(element, value) { + if (!element) return; + element[safariFocusAncestorSymbol] = value; + } + function isAlwaysFocusVisible(element) { + const { tagName, readOnly, type } = element; + if (tagName === 'TEXTAREA' && !readOnly) return true; + if (tagName === 'SELECT' && !readOnly) return true; + if (tagName === 'INPUT' && !readOnly) { + return alwaysFocusVisibleInputTypes.includes(type); + } + if (element.isContentEditable) return true; + const role = element.getAttribute('role'); + if (role === 'combobox' && element.dataset.name) { + return true; + } + return false; + } + function getLabels(element) { + if ('labels' in element) { + return element.labels; + } + return null; + } + function isNativeCheckboxOrRadio(element) { + const tagName = element.tagName.toLowerCase(); + if (tagName === 'input' && element.type) { + return ( + element.type === 'radio' || + element.type === 'checkbox' ); + } + return false; + } + function isNativeTabbable(tagName) { + if (!tagName) return true; + return ( + tagName === 'button' || + tagName === 'summary' || + tagName === 'input' || + tagName === 'select' || + tagName === 'textarea' || + tagName === 'a' + ); + } + function supportsDisabledAttribute(tagName) { + if (!tagName) return true; + return ( + tagName === 'button' || + tagName === 'input' || + tagName === 'select' || + tagName === 'textarea' + ); + } + function getTabIndex( + focusable, + trulyDisabled, + nativeTabbable, + supportsDisabled, + tabIndexProp + ) { + if (!focusable) { + return tabIndexProp; + } + if (trulyDisabled) { + if (nativeTabbable && !supportsDisabled) { + return -1; + } + return; + } + if (nativeTabbable) { + return tabIndexProp; + } + return tabIndexProp || 0; + } + function useDisableEvent(onEvent, disabled) { + return (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__.useEvent)( + (event) => { + onEvent == null ? void 0 : onEvent(event); + if (event.defaultPrevented) return; + if (disabled) { + event.stopPropagation(); + event.preventDefault(); + } + } + ); + } + var hasInstalledGlobalEventListeners = false; + var isKeyboardModality = true; + function onGlobalMouseDown(event) { + const target = event.target; + if (target && 'hasAttribute' in target) { + if (!target.hasAttribute('data-focus-visible')) { + isKeyboardModality = false; + } + } + } + function onGlobalKeyDown(event) { + if (event.metaKey) return; + if (event.ctrlKey) return; + if (event.altKey) return; + isKeyboardModality = true; + } + var useFocusable = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createHook)( + function useFocusable2({ + focusable = true, + accessibleWhenDisabled, + autoFocus, + onFocusVisible, + ...props + }) { + const ref = (0, + react__WEBPACK_IMPORTED_MODULE_8__.useRef)(null); (0, - react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(() => { - const onMouseLeave = (event) => { - if (!store) return; - const { anchorElement } = store.getState(); - if (!anchorElement) return; - if (event.target !== anchorElement) return; - window.clearTimeout(showTimeoutRef.current); - showTimeoutRef.current = 0; - }; - return (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_5__.addGlobalEventListener)( - 'mouseleave', - onMouseLeave, + react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(() => { + if (!focusable) return; + if (hasInstalledGlobalEventListeners) return; + (0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_4__.addGlobalEventListener)( + 'mousedown', + onGlobalMouseDown, true ); - }, [store]); - const onMouseMoveProp = props.onMouseMove; - const showOnHoverProp = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__.useBooleanEvent)( - showOnHover + (0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_4__.addGlobalEventListener)( + 'keydown', + onGlobalKeyDown, + true + ); + hasInstalledGlobalEventListeners = true; + }, [focusable]); + if (isSafariBrowser) { + (0, + react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(() => { + if (!focusable) return; + const element = ref.current; + if (!element) return; + if (!isNativeCheckboxOrRadio(element)) return; + const labels = getLabels(element); + if (!labels) return; + const onMouseUp = () => + queueMicrotask(() => element.focus()); + for (const label of labels) { + label.addEventListener( + 'mouseup', + onMouseUp + ); + } + return () => { + for (const label of labels) { + label.removeEventListener( + 'mouseup', + onMouseUp + ); + } + }; + }, [focusable]); + } + const disabled = + focusable && + (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__.disabledFromProps)( + props + ); + const trulyDisabled = + !!disabled && !accessibleWhenDisabled; + const [focusVisible, setFocusVisible] = (0, + react__WEBPACK_IMPORTED_MODULE_8__.useState)(false); + (0, + react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(() => { + if (!focusable) return; + if (trulyDisabled && focusVisible) { + setFocusVisible(false); + } + }, [focusable, trulyDisabled, focusVisible]); + (0, + react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(() => { + if (!focusable) return; + if (!focusVisible) return; + const element = ref.current; + if (!element) return; + if (typeof IntersectionObserver === 'undefined') + return; + const observer = new IntersectionObserver(() => { + if ( + !(0, + _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_5__.isFocusable)( + element + ) + ) { + setFocusVisible(false); + } + }); + observer.observe(element); + return () => observer.disconnect(); + }, [focusable, focusVisible]); + const onKeyPressCapture = useDisableEvent( + props.onKeyPressCapture, + disabled ); - const isMouseMoving = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__.useIsMouseMoving)(); - const onMouseMove = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__.useEvent)( + const onMouseDownCapture = useDisableEvent( + props.onMouseDownCapture, + disabled + ); + const onClickCapture = useDisableEvent( + props.onClickCapture, + disabled + ); + const onMouseDownProp = props.onMouseDown; + const onMouseDown = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__.useEvent)( (event) => { - onMouseMoveProp == null + onMouseDownProp == null ? void 0 - : onMouseMoveProp(event); - if (disabled) return; - if (!store) return; + : onMouseDownProp(event); if (event.defaultPrevented) return; - if (showTimeoutRef.current) return; - if (!isMouseMoving()) return; - if (!showOnHoverProp(event)) return; + if (!focusable) return; const element = event.currentTarget; - store.setAnchorElement(element); - store.setDisclosureElement(element); - const { showTimeout, timeout } = - store.getState(); - const showHovercard = () => { - showTimeoutRef.current = 0; - if (!isMouseMoving()) return; - store == null - ? void 0 - : store.setAnchorElement(element); - store == null ? void 0 : store.show(); - queueMicrotask(() => { - store == null - ? void 0 - : store.setDisclosureElement( - element - ); - }); + if (!isSafariBrowser) return; + if ( + (0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_4__.isPortalEvent)( + event + ) + ) + return; + if ( + !(0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_3__.isButton)( + element + ) && + !isNativeCheckboxOrRadio(element) + ) + return; + let receivedFocus = false; + const onFocus = () => { + receivedFocus = true; }; - const timeoutMs = - showTimeout != null ? showTimeout : timeout; - if (timeoutMs === 0) { - showHovercard(); - } else { - showTimeoutRef.current = window.setTimeout( - showHovercard, - timeoutMs - ); - } + const options = { capture: true, once: true }; + element.addEventListener( + 'focusin', + onFocus, + options + ); + const focusableContainer = (0, + _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_5__.getClosestFocusable)( + element.parentElement + ); + markSafariFocusAncestor( + focusableContainer, + true + ); + (0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_4__.queueBeforeEvent)( + element, + 'mouseup', + () => { + element.removeEventListener( + 'focusin', + onFocus, + true + ); + markSafariFocusAncestor( + focusableContainer, + false + ); + if (receivedFocus) return; + (0, + _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_5__.focusIfNeeded)( + element + ); + } + ); } ); - const onClickProp = props.onClick; - const onClick = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__.useEvent)( + const handleFocusVisible = (event, currentTarget) => { + if (currentTarget) { + event.currentTarget = currentTarget; + } + if (!focusable) return; + const element = event.currentTarget; + if (!element) return; + if ( + !(0, + _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_5__.hasFocus)( + element + ) + ) + return; + onFocusVisible == null + ? void 0 + : onFocusVisible(event); + if (event.defaultPrevented) return; + element.dataset.focusVisible = 'true'; + setFocusVisible(true); + }; + const onKeyDownCaptureProp = props.onKeyDownCapture; + const onKeyDownCapture = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__.useEvent)( (event) => { - onClickProp == null + onKeyDownCaptureProp == null ? void 0 - : onClickProp(event); - if (!store) return; - window.clearTimeout(showTimeoutRef.current); - showTimeoutRef.current = 0; + : onKeyDownCaptureProp(event); + if (event.defaultPrevented) return; + if (!focusable) return; + if (focusVisible) return; + if (event.metaKey) return; + if (event.altKey) return; + if (event.ctrlKey) return; + if ( + !(0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_4__.isSelfTarget)( + event + ) + ) + return; + const element = event.currentTarget; + const applyFocusVisible = () => + handleFocusVisible(event, element); + (0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_4__.queueBeforeEvent)( + element, + 'focusout', + applyFocusVisible + ); } ); - const ref = (0, - react__WEBPACK_IMPORTED_MODULE_7__.useCallback)( - (element) => { - if (!store) return; - const { anchorElement } = store.getState(); + const onFocusCaptureProp = props.onFocusCapture; + const onFocusCapture = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__.useEvent)( + (event) => { + onFocusCaptureProp == null + ? void 0 + : onFocusCaptureProp(event); + if (event.defaultPrevented) return; + if (!focusable) return; if ( - anchorElement == null - ? void 0 - : anchorElement.isConnected + !(0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_4__.isSelfTarget)( + event + ) + ) { + setFocusVisible(false); + return; + } + const element = event.currentTarget; + const applyFocusVisible = () => + handleFocusVisible(event, element); + if ( + isKeyboardModality || + isAlwaysFocusVisible(event.target) + ) { + (0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_4__.queueBeforeEvent)( + event.target, + 'focusout', + applyFocusVisible + ); + } else { + setFocusVisible(false); + } + } + ); + const onBlurProp = props.onBlur; + const onBlur = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__.useEvent)( + (event) => { + onBlurProp == null ? void 0 : onBlurProp(event); + if (!focusable) return; + if ( + !(0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_4__.isFocusEventOutside)( + event + ) ) return; - store.setAnchorElement(element); - }, - [store] + event.currentTarget.removeAttribute( + 'data-focus-visible' + ); + setFocusVisible(false); + } ); - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - {}, - props - ), - { - ref: (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__.useMergeRefs)( - ref, - props.ref - ), - onMouseMove, - onClick, + const autoFocusOnShow = (0, + react__WEBPACK_IMPORTED_MODULE_8__.useContext)( + _SWN3JYXT_js__WEBPACK_IMPORTED_MODULE_0__.FocusableContext + ); + const autoFocusRef = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__.useEvent)( + (element) => { + if (!focusable) return; + if (!autoFocus) return; + if (!element) return; + if (!autoFocusOnShow) return; + queueMicrotask(() => { + if ( + (0, + _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_5__.hasFocus)( + element + ) + ) + return; + if ( + !(0, + _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_5__.isFocusable)( + element + ) + ) + return; + element.focus(); + }); } ); - props = (0, - _OE2EFRVA_js__WEBPACK_IMPORTED_MODULE_1__.useFocusable)( + const tagName = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__.useTagName)( + ref + ); + const nativeTabbable = + focusable && isNativeTabbable(tagName); + const supportsDisabled = + focusable && supportsDisabledAttribute(tagName); + const styleProp = props.style; + const style = (0, + react__WEBPACK_IMPORTED_MODULE_8__.useMemo)(() => { + if (trulyDisabled) { + return { pointerEvents: 'none', ...styleProp }; + } + return styleProp; + }, [trulyDisabled, styleProp]); + props = { + 'data-focus-visible': + (focusable && focusVisible) || void 0, + 'data-autofocus': autoFocus || void 0, + 'aria-disabled': disabled || void 0, + ...props, + ref: (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__.useMergeRefs)( + ref, + autoFocusRef, + props.ref + ), + style, + tabIndex: getTabIndex( + focusable, + trulyDisabled, + nativeTabbable, + supportsDisabled, + props.tabIndex + ), + disabled: + supportsDisabled && trulyDisabled + ? true + : void 0, + // TODO: Test Focusable contentEditable. + contentEditable: disabled + ? void 0 + : props.contentEditable, + onKeyPressCapture, + onClickCapture, + onMouseDownCapture, + onMouseDown, + onKeyDownCapture, + onFocusCapture, + onBlur, + }; + return (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__.removeUndefinedValues)( props ); - return props; } ); - var HovercardAnchor = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.forwardRef)( - function HovercardAnchor2(props) { - const htmlProps = useHovercardAnchor(props); + var Focusable = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.forwardRef)( + function Focusable2(props) { + const htmlProps = useFocusable(props); return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.createElement)( + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createElement)( TagName, htmlProps - ); - } - ); - - /***/ - }, - - /***/ './node_modules/@ariakit/react-core/esm/__chunks/VJQU3YUE.js': - /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/VJQU3YUE.js ***! - \*******************************************************************/ - /***/ function ( - __unused_webpack___webpack_module__, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ TagContextProvider: function () { - return /* binding */ TagContextProvider; - }, - /* harmony export */ TagRemoveIdContext: function () { - return /* binding */ TagRemoveIdContext; - }, - /* harmony export */ TagScopedContextProvider: - function () { - return /* binding */ TagScopedContextProvider; - }, - /* harmony export */ TagValueContext: function () { - return /* binding */ TagValueContext; - }, - /* harmony export */ useTagContext: function () { - return /* binding */ useTagContext; - }, - /* harmony export */ useTagProviderContext: - function () { - return /* binding */ useTagProviderContext; - }, - /* harmony export */ useTagScopedContext: function () { - return /* binding */ useTagScopedContext; - }, - /* harmony export */ + ); } ); - /* harmony import */ var _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./APTFW6PT.js */ './node_modules/@ariakit/react-core/esm/__chunks/APTFW6PT.js' - ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' - ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = - __webpack_require__( - /*! react */ './node_modules/react/index.js' - ); - ('use client'); - - // src/tag/tag-context.tsx - - var TagValueContext = (0, - react__WEBPACK_IMPORTED_MODULE_2__.createContext)(null); - var TagRemoveIdContext = (0, - react__WEBPACK_IMPORTED_MODULE_2__.createContext)(null); - var ctx = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createStoreContext)( - [ - _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_0__.CompositeContextProvider, - ], - [ - _APTFW6PT_js__WEBPACK_IMPORTED_MODULE_0__.CompositeScopedContextProvider, - ] - ); - var useTagContext = ctx.useContext; - var useTagScopedContext = ctx.useScopedContext; - var useTagProviderContext = ctx.useProviderContext; - var TagContextProvider = ctx.ContextProvider; - var TagScopedContextProvider = ctx.ScopedContextProvider; /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/VEHC2EHR.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/VEHC2EHR.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -21478,254 +19641,119 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ createElement: function () { - return /* binding */ createElement; - }, - /* harmony export */ createHook: function () { - return /* binding */ createHook; - }, - /* harmony export */ createStoreContext: function () { - return /* binding */ createStoreContext; - }, - /* harmony export */ forwardRef: function () { - return /* binding */ forwardRef2; - }, - /* harmony export */ memo: function () { - return /* binding */ memo2; + /* harmony export */ useCompositeStore: function () { + return /* binding */ useCompositeStore; }, + /* harmony export */ useCompositeStoreOptions: + function () { + return /* binding */ useCompositeStoreOptions; + }, + /* harmony export */ useCompositeStoreProps: + function () { + return /* binding */ useCompositeStoreProps; + }, /* harmony export */ } ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _QHXYX2YB_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! ./QHXYX2YB.js */ './node_modules/@ariakit/react-core/esm/__chunks/QHXYX2YB.js' ); - /* harmony import */ var _SK3NAZA3_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./SK3NAZA3.js */ './node_modules/@ariakit/react-core/esm/__chunks/SK3NAZA3.js' + /*! ./Q3KUZPD7.js */ './node_modules/@ariakit/react-core/esm/__chunks/Q3KUZPD7.js' ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' - ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = - __webpack_require__( - /*! react */ './node_modules/react/index.js' + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _ariakit_core_composite_composite_store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' + /*! @ariakit/core/composite/composite-store */ './node_modules/@ariakit/core/esm/__chunks/73UNQSFO.js' ); ('use client'); - // src/utils/system.tsx + // src/composite/composite-store.ts - function forwardRef2(render) { - const Role = react__WEBPACK_IMPORTED_MODULE_3__.forwardRef( - (props, ref) => - render( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__.__spreadValues)( - {}, - props - ), - { ref } - ) - ) - ); - Role.displayName = render.displayName || render.name; - return Role; + function useCompositeStoreOptions(props) { + const id = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__.useId)(props.id); + return { id, ...props }; } - function memo2(Component, propsAreEqual) { - return react__WEBPACK_IMPORTED_MODULE_3__.memo( - Component, - propsAreEqual + function useCompositeStoreProps(store, update, props) { + store = (0, + _QHXYX2YB_js__WEBPACK_IMPORTED_MODULE_0__.useCollectionStoreProps)( + store, + update, + props ); - } - function createElement(Type, props) { - const _a = props, - { wrapElement, render } = _a, - rest = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__.__objRest)( - _a, - ['wrapElement', 'render'] - ); - const mergedRef = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_0__.useMergeRefs)( - props.ref, - (0, - _SK3NAZA3_js__WEBPACK_IMPORTED_MODULE_1__.getRefProperty)( - render - ) + (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_1__.useStoreProps)( + store, + props, + 'activeId', + 'setActiveId' ); - let element; - if ( - react__WEBPACK_IMPORTED_MODULE_3__.isValidElement( - render - ) - ) { - const renderProps = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__.__spreadValues)( - {}, - render.props - ), - { ref: mergedRef } - ); - element = - react__WEBPACK_IMPORTED_MODULE_3__.cloneElement( - render, - (0, - _SK3NAZA3_js__WEBPACK_IMPORTED_MODULE_1__.mergeProps)( - rest, - renderProps - ) - ); - } else if (render) { - element = render(rest); - } else { - element = /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)( - Type, - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__.__spreadValues)( - {}, - rest - ) - ); - } - if (wrapElement) { - return wrapElement(element); - } - return element; - } - function createHook(useProps) { - const useRole = (props = {}) => { - return useProps(props); - }; - useRole.displayName = useProps.name; - return useRole; + (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_1__.useStoreProps)( + store, + props, + 'includesBaseElement' + ); + (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_1__.useStoreProps)( + store, + props, + 'virtualFocus' + ); + (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_1__.useStoreProps)( + store, + props, + 'orientation' + ); + (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_1__.useStoreProps)( + store, + props, + 'rtl' + ); + (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_1__.useStoreProps)( + store, + props, + 'focusLoop' + ); + (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_1__.useStoreProps)( + store, + props, + 'focusWrap' + ); + (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_1__.useStoreProps)( + store, + props, + 'focusShift' + ); + return store; } - function createStoreContext( - providers = [], - scopedProviders = [] - ) { - const context = - react__WEBPACK_IMPORTED_MODULE_3__.createContext( - void 0 - ); - const scopedContext = - react__WEBPACK_IMPORTED_MODULE_3__.createContext( - void 0 - ); - const useContext2 = () => - react__WEBPACK_IMPORTED_MODULE_3__.useContext(context); - const useScopedContext = (onlyScoped = false) => { - const scoped = - react__WEBPACK_IMPORTED_MODULE_3__.useContext( - scopedContext - ); - const store = useContext2(); - if (onlyScoped) return scoped; - return scoped || store; - }; - const useProviderContext = () => { - const scoped = - react__WEBPACK_IMPORTED_MODULE_3__.useContext( - scopedContext - ); - const store = useContext2(); - if (scoped && scoped === store) return; - return store; - }; - const ContextProvider = (props) => { - return providers.reduceRight( - (children, Provider) => - /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)( - Provider, - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__.__spreadValues)( - {}, - props - ), - { children } - ) - ), - /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)( - context.Provider, - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__.__spreadValues)( - {}, - props - ) - ) - ); - }; - const ScopedContextProvider = (props) => { - return /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)( - ContextProvider, - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__.__spreadValues)( - {}, - props - ), - { - children: scopedProviders.reduceRight( - (children, Provider) => - /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)( - Provider, - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__.__spreadValues)( - {}, - props - ), - { children } - ) - ), - /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)( - scopedContext.Provider, - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__.__spreadValues)( - {}, - props - ) - ) - ), - } - ) - ); - }; - return { - context, - scopedContext, - useContext: useContext2, - useScopedContext, - useProviderContext, - ContextProvider, - ScopedContextProvider, - }; + function useCompositeStore(props = {}) { + props = useCompositeStoreOptions(props); + const [store, update] = (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_1__.useStore)( + _ariakit_core_composite_composite_store__WEBPACK_IMPORTED_MODULE_3__.createCompositeStore, + props + ); + return useCompositeStoreProps(store, update, props); } /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/W5BTY3ZG.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/WJ7PHYH7.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/W5BTY3ZG.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/WJ7PHYH7.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -21737,297 +19765,246 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ MenuList: function () { - return /* binding */ MenuList; + /* harmony export */ Command: function () { + return /* binding */ Command; }, - /* harmony export */ useMenuList: function () { - return /* binding */ useMenuList; + /* harmony export */ useCommand: function () { + return /* binding */ useCommand; }, /* harmony export */ } ); - /* harmony import */ var _4QTMCR75_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./4QTMCR75.js */ './node_modules/@ariakit/react-core/esm/__chunks/4QTMCR75.js' - ); - /* harmony import */ var _OYOFZOGB_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _US3TW2XI_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./OYOFZOGB.js */ './node_modules/@ariakit/react-core/esm/__chunks/OYOFZOGB.js' + /*! ./US3TW2XI.js */ './node_modules/@ariakit/react-core/esm/__chunks/US3TW2XI.js' ); - /* harmony import */ var _K4R5DNTX_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./K4R5DNTX.js */ './node_modules/@ariakit/react-core/esm/__chunks/K4R5DNTX.js' + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var _NSTBQJLB_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ./NSTBQJLB.js */ './node_modules/@ariakit/react-core/esm/__chunks/NSTBQJLB.js' + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! ./RTNCFSKZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/RTNCFSKZ.js' - ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_5__ = - __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! @ariakit/core/utils/dom */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_6__ = + /* harmony import */ var _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! @ariakit/core/utils/events */ './node_modules/@ariakit/core/esm/utils/events.js' ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__ = + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_8__ = + /* harmony import */ var _ariakit_core_utils_platform__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! @ariakit/core/utils/platform */ './node_modules/@ariakit/core/esm/__chunks/O6E4ZWCP.js' ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_9__ = + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__( /*! react */ './node_modules/react/index.js' ); - /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__ = - __webpack_require__( - /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' - ); ('use client'); - // src/menu/menu-list.tsx + // src/command/command.tsx - var TagName = 'div'; - function useAriaLabelledBy(_a) { - var _b = _a, - { store } = _b, - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__objRest)( - _b, - ['store'] + var TagName = 'button'; + function isNativeClick(event) { + if (!event.isTrusted) return false; + const element = event.currentTarget; + if (event.key === 'Enter') { + return ( + (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_3__.isButton)( + element + ) || + element.tagName === 'SUMMARY' || + element.tagName === 'A' ); - const [id, setId] = (0, - react__WEBPACK_IMPORTED_MODULE_9__.useState)(void 0); - const label = props['aria-label']; - const disclosureElement = (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_4__.useStoreState)( - store, - 'disclosureElement' - ); - const contentElement = (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_4__.useStoreState)( - store, - 'contentElement' - ); - (0, react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(() => { - const disclosure = disclosureElement; - if (!disclosure) return; - const menu = contentElement; - if (!menu) return; - const menuLabel = - label || menu.hasAttribute('aria-label'); - if (menuLabel) { - setId(void 0); - } else if (disclosure.id) { - setId(disclosure.id); - } - }, [label, disclosureElement, contentElement]); - return id; + } + if (event.key === ' ') { + return ( + (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_3__.isButton)( + element + ) || + element.tagName === 'SUMMARY' || + element.tagName === 'INPUT' || + element.tagName === 'SELECT' + ); + } + return false; } - var useMenuList = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_5__.createHook)( - function useMenuList2(_a) { - var _b = _a, - { store, alwaysVisible, composite } = _b, - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__objRest)( - _b, - ['store', 'alwaysVisible', 'composite'] - ); - const context = (0, - _4QTMCR75_js__WEBPACK_IMPORTED_MODULE_0__.useMenuProviderContext)(); - store = store || context; + var symbol = Symbol('command'); + var useCommand = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createHook)( + function useCommand2({ + clickOnEnter = true, + clickOnSpace = true, + ...props + }) { + const ref = (0, + react__WEBPACK_IMPORTED_MODULE_7__.useRef)(null); + const [isNativeButton, setIsNativeButton] = (0, + react__WEBPACK_IMPORTED_MODULE_7__.useState)(false); (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_8__.invariant)( - store, - true && - 'MenuList must receive a `store` prop or be wrapped in a MenuProvider component.' + react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(() => { + if (!ref.current) return; + setIsNativeButton( + (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_3__.isButton)( + ref.current + ) + ); + }, []); + const [active, setActive] = (0, + react__WEBPACK_IMPORTED_MODULE_7__.useState)(false); + const activeRef = (0, + react__WEBPACK_IMPORTED_MODULE_7__.useRef)(false); + const disabled = (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__.disabledFromProps)( + props ); - const parentMenu = store.parent; - const parentMenubar = store.menubar; - const hasParentMenu = !!parentMenu; - const id = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_6__.useId)( - props.id + const [isDuplicate, metadataProps] = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__.useMetadataProps)( + props, + symbol, + true ); const onKeyDownProp = props.onKeyDown; - const dir = store.useState( - (state) => state.placement.split('-')[0] - ); - const orientation = store.useState((state) => - state.orientation === 'both' - ? void 0 - : state.orientation - ); - const isHorizontal = orientation !== 'vertical'; - const isMenubarHorizontal = (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_4__.useStoreState)( - parentMenubar, - (state) => - !!state && state.orientation !== 'vertical' - ); const onKeyDown = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_6__.useEvent)( + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__.useEvent)( (event) => { onKeyDownProp == null ? void 0 : onKeyDownProp(event); + const element = event.currentTarget; if (event.defaultPrevented) return; + if (isDuplicate) return; + if (disabled) return; if ( - hasParentMenu || - (parentMenubar && !isHorizontal) - ) { - const hideMap = { - ArrowRight: () => - dir === 'left' && !isHorizontal, - ArrowLeft: () => - dir === 'right' && !isHorizontal, - ArrowUp: () => - dir === 'bottom' && isHorizontal, - ArrowDown: () => - dir === 'top' && isHorizontal, - }; - const action = hideMap[event.key]; - if (action == null ? void 0 : action()) { - event.stopPropagation(); - event.preventDefault(); - return store == null - ? void 0 - : store.hide(); + !(0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_4__.isSelfTarget)( + event + ) + ) + return; + if ( + (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_3__.isTextField)( + element + ) + ) + return; + if (element.isContentEditable) return; + const isEnter = + clickOnEnter && event.key === 'Enter'; + const isSpace = + clickOnSpace && event.key === ' '; + const shouldPreventEnter = + event.key === 'Enter' && !clickOnEnter; + const shouldPreventSpace = + event.key === ' ' && !clickOnSpace; + if (shouldPreventEnter || shouldPreventSpace) { + event.preventDefault(); + return; + } + if (isEnter || isSpace) { + const nativeClick = isNativeClick(event); + if (isEnter) { + if (!nativeClick) { + event.preventDefault(); + const { view, ...eventInit } = + event; + const click = () => + (0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_4__.fireClickEvent)( + element, + eventInit + ); + if ( + (0, + _ariakit_core_utils_platform__WEBPACK_IMPORTED_MODULE_6__.isFirefox)() + ) { + (0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_4__.queueBeforeEvent)( + element, + 'keyup', + click + ); + } else { + queueMicrotask(click); + } + } + } else if (isSpace) { + activeRef.current = true; + if (!nativeClick) { + event.preventDefault(); + setActive(true); + } } } - if (parentMenubar) { - const keyMap = { - ArrowRight: () => { - if (!isMenubarHorizontal) return; - return parentMenubar.next(); - }, - ArrowLeft: () => { - if (!isMenubarHorizontal) return; - return parentMenubar.previous(); - }, - ArrowDown: () => { - if (isMenubarHorizontal) return; - return parentMenubar.next(); - }, - ArrowUp: () => { - if (isMenubarHorizontal) return; - return parentMenubar.previous(); - }, - }; - const action = keyMap[event.key]; - const id2 = - action == null ? void 0 : action(); - if (id2 !== void 0) { - event.stopPropagation(); + } + ); + const onKeyUpProp = props.onKeyUp; + const onKeyUp = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__.useEvent)( + (event) => { + onKeyUpProp == null + ? void 0 + : onKeyUpProp(event); + if (event.defaultPrevented) return; + if (isDuplicate) return; + if (disabled) return; + if (event.metaKey) return; + const isSpace = + clickOnSpace && event.key === ' '; + if (activeRef.current && isSpace) { + activeRef.current = false; + if (!isNativeClick(event)) { event.preventDefault(); - parentMenubar.move(id2); + setActive(false); + const element = event.currentTarget; + const { view, ...eventInit } = event; + queueMicrotask(() => + (0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_4__.fireClickEvent)( + element, + eventInit + ) + ); } } } ); - props = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_6__.useWrapElement)( - props, - (element) => - /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)( - _4QTMCR75_js__WEBPACK_IMPORTED_MODULE_0__.MenuScopedContextProvider, - { value: store, children: element } - ), - [store] - ); - const ariaLabelledBy = useAriaLabelledBy( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__spreadValues)( - { store }, - props - ) - ); - const mounted = store.useState('mounted'); - const hidden = (0, - _K4R5DNTX_js__WEBPACK_IMPORTED_MODULE_2__.isHidden)( - mounted, - props.hidden, - alwaysVisible - ); - const style = hidden - ? (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__spreadValues)( - {}, - props.style - ), - { display: 'none' } - ) - : props.style; - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__spreadValues)( - { - id, - 'aria-labelledby': ariaLabelledBy, - hidden, - }, - props + props = { + 'data-active': active || void 0, + type: isNativeButton ? 'button' : void 0, + ...metadataProps, + ...props, + ref: (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_2__.useMergeRefs)( + ref, + props.ref ), - { - ref: (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_6__.useMergeRefs)( - id ? store.setContentElement : null, - props.ref - ), - style, - onKeyDown, - } - ); - const hasCombobox = !!store.combobox; - composite = - composite != null ? composite : !hasCombobox; - if (composite) { - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__spreadValues)( - { - role: 'menu', - 'aria-orientation': orientation, - }, - props - ); - } - props = (0, - _NSTBQJLB_js__WEBPACK_IMPORTED_MODULE_3__.useComposite)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__spreadValues)( - { store, composite }, - props - ) - ); + onKeyDown, + onKeyUp, + }; props = (0, - _OYOFZOGB_js__WEBPACK_IMPORTED_MODULE_1__.useCompositeTypeahead)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__spreadValues)( - { store, typeahead: !hasCombobox }, - props - ) + _US3TW2XI_js__WEBPACK_IMPORTED_MODULE_0__.useFocusable)( + props ); return props; } ); - var MenuList = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_5__.forwardRef)( - function MenuList2(props) { - const htmlProps = useMenuList(props); + var Command = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.forwardRef)( + function Command2(props) { + const htmlProps = useCommand(props); return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_5__.createElement)( + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createElement)( TagName, htmlProps ); @@ -22037,110 +20014,9 @@ If there's a particular need for this, please submit a feature request at https: /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/W6WVJJEY.js': - /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/W6WVJJEY.js ***! - \*******************************************************************/ - /***/ function ( - __unused_webpack___webpack_module__, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ useRootDialog: function () { - return /* binding */ useRootDialog; - }, - /* harmony export */ - } - ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' - ); - /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! @ariakit/core/utils/dom */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' - ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = - __webpack_require__( - /*! react */ './node_modules/react/index.js' - ); - /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_3__ = - __webpack_require__( - /*! react-dom */ './node_modules/react-dom/index.js' - ); - ('use client'); - - // src/dialog/utils/use-root-dialog.ts - - function useRootDialog({ - attribute, - contentId, - contentElement, - enabled, - }) { - const [updated, retry] = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_0__.useForceUpdate)(); - const isRootDialog = (0, - react__WEBPACK_IMPORTED_MODULE_2__.useCallback)(() => { - if (!enabled) return false; - if (!contentElement) return false; - const { body } = (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_1__.getDocument)( - contentElement - ); - const id = body.getAttribute(attribute); - return !id || id === contentId; - }, [ - updated, - enabled, - contentElement, - attribute, - contentId, - ]); - (0, react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => { - if (!enabled) return; - if (!contentId) return; - if (!contentElement) return; - const { body } = (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_1__.getDocument)( - contentElement - ); - if (isRootDialog()) { - body.setAttribute(attribute, contentId); - return () => body.removeAttribute(attribute); - } - const observer = new MutationObserver(() => - (0, - react_dom__WEBPACK_IMPORTED_MODULE_3__.flushSync)( - retry - ) - ); - observer.observe(body, { - attributeFilter: [attribute], - }); - return () => observer.disconnect(); - }, [ - updated, - enabled, - contentId, - contentElement, - isRootDialog, - attribute, - ]); - return isRootDialog; - } - - /***/ - }, - - /***/ './node_modules/@ariakit/react-core/esm/__chunks/WWPIG7YG.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/WVT277Z4.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/WWPIG7YG.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/WVT277Z4.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -22152,49 +20028,60 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ CheckboxContextProvider: + /* harmony export */ TooltipContextProvider: function () { - return /* binding */ CheckboxContextProvider; + return /* binding */ TooltipContextProvider; }, - /* harmony export */ CheckboxScopedContextProvider: + /* harmony export */ TooltipScopedContextProvider: function () { - return /* binding */ CheckboxScopedContextProvider; + return /* binding */ TooltipScopedContextProvider; }, - /* harmony export */ useCheckboxContext: function () { - return /* binding */ useCheckboxContext; + /* harmony export */ useTooltipContext: function () { + return /* binding */ useTooltipContext; }, - /* harmony export */ useCheckboxProviderContext: + /* harmony export */ useTooltipProviderContext: function () { - return /* binding */ useCheckboxProviderContext; + return /* binding */ useTooltipProviderContext; }, - /* harmony export */ useCheckboxScopedContext: + /* harmony export */ useTooltipScopedContext: function () { - return /* binding */ useCheckboxScopedContext; + return /* binding */ useTooltipScopedContext; }, /* harmony export */ } ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _2WDBOH5E_js__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! ./2WDBOH5E.js */ './node_modules/@ariakit/react-core/esm/__chunks/2WDBOH5E.js' + ); + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); ('use client'); - // src/checkbox/checkbox-context.tsx + // src/tooltip/tooltip-context.tsx var ctx = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_0__.createStoreContext)(); - var useCheckboxContext = ctx.useContext; - var useCheckboxScopedContext = ctx.useScopedContext; - var useCheckboxProviderContext = ctx.useProviderContext; - var CheckboxContextProvider = ctx.ContextProvider; - var CheckboxScopedContextProvider = ctx.ScopedContextProvider; + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createStoreContext)( + [ + _2WDBOH5E_js__WEBPACK_IMPORTED_MODULE_0__.HovercardContextProvider, + ], + [ + _2WDBOH5E_js__WEBPACK_IMPORTED_MODULE_0__.HovercardScopedContextProvider, + ] + ); + var useTooltipContext = ctx.useContext; + var useTooltipScopedContext = ctx.useScopedContext; + var useTooltipProviderContext = ctx.useProviderContext; + var TooltipContextProvider = ctx.ContextProvider; + var TooltipScopedContextProvider = ctx.ScopedContextProvider; /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/WXI7YN3P.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/WXLNFAIL.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/WXI7YN3P.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/WXLNFAIL.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -22206,225 +20093,236 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ Group: function () { - return /* binding */ Group; - }, - /* harmony export */ useGroup: function () { - return /* binding */ useGroup; + /* harmony export */ CompositeTypeahead: function () { + return /* binding */ CompositeTypeahead; }, + /* harmony export */ useCompositeTypeahead: + function () { + return /* binding */ useCompositeTypeahead; + }, /* harmony export */ } ); - /* harmony import */ var _7HVFURXT_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./7HVFURXT.js */ './node_modules/@ariakit/react-core/esm/__chunks/7HVFURXT.js' + /*! ./5VQZOHHZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/5VQZOHHZ.js' ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ./72IB6YNO.js */ './node_modules/@ariakit/react-core/esm/__chunks/72IB6YNO.js' ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! @ariakit/core/utils/dom */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = + /* harmony import */ var _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( - /*! react */ './node_modules/react/index.js' + /*! @ariakit/core/utils/events */ './node_modules/@ariakit/core/esm/utils/events.js' ); - /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__( - /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' + ); + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = + __webpack_require__( + /*! react */ './node_modules/react/index.js' ); ('use client'); - // src/group/group.tsx + // src/composite/composite-typeahead.tsx var TagName = 'div'; - var useGroup = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createHook)( - function useGroup2(props) { - const [labelId, setLabelId] = (0, - react__WEBPACK_IMPORTED_MODULE_5__.useState)(); - props = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__.useWrapElement)( - props, - (element) => - /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)( - _7HVFURXT_js__WEBPACK_IMPORTED_MODULE_0__ - .GroupLabelContext.Provider, - { value: setLabelId, children: element } - ), - [] - ); - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - { - role: 'group', - 'aria-labelledby': labelId, - }, - props - ); - return (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_4__.removeUndefinedValues)( - props - ); - } - ); - var Group = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.forwardRef)( - function Group2(props) { - const htmlProps = useGroup(props); - return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createElement)( - TagName, - htmlProps - ); - } - ); - - /***/ - }, - - /***/ './node_modules/@ariakit/react-core/esm/__chunks/X5OJP2NB.js': - /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/X5OJP2NB.js ***! - \*******************************************************************/ - /***/ function ( - __unused_webpack___webpack_module__, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ CheckboxCheck: function () { - return /* binding */ CheckboxCheck; - }, - /* harmony export */ useCheckboxCheck: function () { - return /* binding */ useCheckboxCheck; - }, - /* harmony export */ - } - ); - /* harmony import */ var _EYKMH5G5_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./EYKMH5G5.js */ './node_modules/@ariakit/react-core/esm/__chunks/EYKMH5G5.js' - ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' - ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__ = - __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' - ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_3__ = - __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + var chars = ''; + function clearChars() { + chars = ''; + } + function isValidTypeaheadEvent(event) { + const target = event.target; + if ( + target && + (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_4__.isTextField)( + target + ) + ) + return false; + if (event.key === ' ' && chars.length) return true; + return ( + event.key.length === 1 && + !event.ctrlKey && + !event.altKey && + !event.metaKey && + /^[\p{Letter}\p{Number}]$/u.test(event.key) ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = - __webpack_require__( - /*! react */ './node_modules/react/index.js' + } + function isSelfTargetOrItem(event, items) { + if ( + (0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_5__.isSelfTarget)( + event + ) + ) + return true; + const target = event.target; + if (!target) return false; + const isItem = items.some( + (item) => item.element === target ); - /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__ = - __webpack_require__( - /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' + return isItem; + } + function getEnabledItems(items) { + return items.filter((item) => !item.disabled); + } + function itemTextStartsWith(item, text) { + var _a; + const itemText = + ((_a = item.element) == null + ? void 0 + : _a.textContent) || + item.children || // The composite item object itself doesn't include a value property, but + // other components like Select do. Since CompositeTypeahead is a generic + // component that can be used with those as well, we also consider the value + // property as a fallback for the typeahead text content. + ('value' in item && item.value); + if (!itemText) return false; + return (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__.normalizeString)( + itemText + ) + .trim() + .toLowerCase() + .startsWith(text.toLowerCase()); + } + function getSameInitialItems(items, char, activeId) { + if (!activeId) return items; + const activeItem = items.find( + (item) => item.id === activeId ); - ('use client'); - - // src/checkbox/checkbox-check.tsx - - var TagName = 'span'; - var checkmark = /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)('svg', { - display: 'block', - fill: 'none', - stroke: 'currentColor', - strokeLinecap: 'round', - strokeLinejoin: 'round', - strokeWidth: 1.5, - viewBox: '0 0 16 16', - height: '1em', - width: '1em', - children: /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)( - 'polyline', - { points: '4,8 7,12 12,4' } - ), - }); - function getChildren(props) { - if (props.checked) { - return props.children || checkmark; - } - if (typeof props.children === 'function') { - return props.children; - } - return null; + if (!activeItem) return items; + if (!itemTextStartsWith(activeItem, char)) return items; + if (chars !== char && itemTextStartsWith(activeItem, chars)) + return items; + chars = char; + return (0, + _5VQZOHHZ_js__WEBPACK_IMPORTED_MODULE_0__.flipItems)( + items.filter((item) => itemTextStartsWith(item, chars)), + activeId + ).filter((item) => item.id !== activeId); } - var useCheckboxCheck = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createHook)( - function useCheckboxCheck2(_a) { - var _b = _a, - { store, checked } = _b, - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__.__objRest)( - _b, - ['store', 'checked'] - ); + var useCompositeTypeahead = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.createHook)( + function useCompositeTypeahead2({ + store, + typeahead = true, + ...props + }) { const context = (0, - react__WEBPACK_IMPORTED_MODULE_4__.useContext)( - _EYKMH5G5_js__WEBPACK_IMPORTED_MODULE_0__.CheckboxCheckedContext + _72IB6YNO_js__WEBPACK_IMPORTED_MODULE_1__.useCompositeContext)(); + store = store || context; + (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__.invariant)( + store, + true && + 'CompositeTypeahead must be a Composite component' ); - checked = checked != null ? checked : context; - const children = getChildren({ - checked, - children: props.children, - }); - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__.__spreadValues)( - { - 'aria-hidden': true, - }, - props - ), - { - children, - style: (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__.__spreadValues)( - { - width: '1em', - height: '1em', - pointerEvents: 'none', + const onKeyDownCaptureProp = props.onKeyDownCapture; + const cleanupTimeoutRef = (0, + react__WEBPACK_IMPORTED_MODULE_7__.useRef)(0); + const onKeyDownCapture = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__.useEvent)( + (event) => { + onKeyDownCaptureProp == null + ? void 0 + : onKeyDownCaptureProp(event); + if (event.defaultPrevented) return; + if (!typeahead) return; + if (!store) return; + if (!isValidTypeaheadEvent(event)) { + return clearChars(); + } + const { renderedItems, items, activeId, id } = + store.getState(); + let enabledItems = getEnabledItems( + items.length > renderedItems.length + ? items + : renderedItems + ); + const document = (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_4__.getDocument)( + event.currentTarget + ); + const selector = `[data-offscreen-id="${id}"]`; + const offscreenItems = + document.querySelectorAll(selector); + for (const element of offscreenItems) { + const disabled = + element.ariaDisabled === 'true' || + ('disabled' in element && + !!element.disabled); + enabledItems.push({ + id: element.id, + element, + disabled, + }); + } + if (offscreenItems.length) { + enabledItems = (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_4__.sortBasedOnDOMPosition)( + enabledItems, + (i) => i.element + ); + } + if (!isSelfTargetOrItem(event, enabledItems)) + return clearChars(); + event.preventDefault(); + window.clearTimeout(cleanupTimeoutRef.current); + cleanupTimeoutRef.current = window.setTimeout( + () => { + chars = ''; }, - props.style - ), + 500 + ); + const char = event.key.toLowerCase(); + chars += char; + enabledItems = getSameInitialItems( + enabledItems, + char, + activeId + ); + const item = enabledItems.find((item2) => + itemTextStartsWith(item2, chars) + ); + if (item) { + store.move(item.id); + } else { + clearChars(); + } } ); + props = { + ...props, + onKeyDownCapture, + }; return (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_3__.removeUndefinedValues)( + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__.removeUndefinedValues)( props ); } ); - var CheckboxCheck = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.forwardRef)( - function CheckboxCheck2(props) { - const htmlProps = useCheckboxCheck(props); + var CompositeTypeahead = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.forwardRef)( + function CompositeTypeahead2(props) { + const htmlProps = useCompositeTypeahead(props); return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createElement)( + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.createElement)( TagName, htmlProps ); @@ -22553,9 +20451,9 @@ If there's a particular need for this, please submit a feature request at https: /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/XCKGTAUF.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/XEN5OWJF.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/XCKGTAUF.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/XEN5OWJF.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -22567,118 +20465,49 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ Button: function () { - return /* binding */ Button; - }, - /* harmony export */ useButton: function () { - return /* binding */ useButton; + /* harmony export */ CheckboxContextProvider: + function () { + return /* binding */ CheckboxContextProvider; + }, + /* harmony export */ CheckboxScopedContextProvider: + function () { + return /* binding */ CheckboxScopedContextProvider; + }, + /* harmony export */ useCheckboxContext: function () { + return /* binding */ useCheckboxContext; }, + /* harmony export */ useCheckboxProviderContext: + function () { + return /* binding */ useCheckboxProviderContext; + }, + /* harmony export */ useCheckboxScopedContext: + function () { + return /* binding */ useCheckboxScopedContext; + }, /* harmony export */ } ); - /* harmony import */ var _2W3RN7C5_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./2W3RN7C5.js */ './node_modules/@ariakit/react-core/esm/__chunks/2W3RN7C5.js' - ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' - ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' - ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__ = - __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' - ); - /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_4__ = - __webpack_require__( - /*! @ariakit/core/utils/dom */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' - ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = - __webpack_require__( - /*! react */ './node_modules/react/index.js' + /*! ./ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); ('use client'); - // src/button/button.tsx - - var TagName = 'button'; - var useButton = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createHook)( - function useButton2(props) { - const ref = (0, - react__WEBPACK_IMPORTED_MODULE_5__.useRef)(null); - const tagName = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__.useTagName)( - ref, - TagName - ); - const [isNativeButton, setIsNativeButton] = (0, - react__WEBPACK_IMPORTED_MODULE_5__.useState)( - () => - !!tagName && - (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_4__.isButton)( - { tagName, type: props.type } - ) - ); - (0, - react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => { - if (!ref.current) return; - setIsNativeButton( - (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_4__.isButton)( - ref.current - ) - ); - }, []); - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - { - role: - !isNativeButton && tagName !== 'a' - ? 'button' - : void 0, - }, - props - ), - { - ref: (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__.useMergeRefs)( - ref, - props.ref - ), - } - ); - props = (0, - _2W3RN7C5_js__WEBPACK_IMPORTED_MODULE_0__.useCommand)( - props - ); - return props; - } - ); - var Button = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.forwardRef)( - function Button2(props) { - const htmlProps = useButton(props); - return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createElement)( - TagName, - htmlProps - ); - } - ); + // src/checkbox/checkbox-context.tsx + var ctx = (0, + _ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_0__.createStoreContext)(); + var useCheckboxContext = ctx.useContext; + var useCheckboxScopedContext = ctx.useScopedContext; + var useCheckboxProviderContext = ctx.useProviderContext; + var CheckboxContextProvider = ctx.ContextProvider; + var CheckboxScopedContextProvider = ctx.ScopedContextProvider; /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/Y2U4BRIM.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/Y7OMCS5T.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/Y2U4BRIM.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/Y7OMCS5T.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -22690,183 +20519,291 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ useDialogStore: function () { - return /* binding */ useDialogStore; - }, - /* harmony export */ useDialogStoreProps: function () { - return /* binding */ useDialogStoreProps; - }, + /* harmony export */ useHideOnInteractOutside: + function () { + return /* binding */ useHideOnInteractOutside; + }, /* harmony export */ } ); - /* harmony import */ var _T22PY7TE_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./T22PY7TE.js */ './node_modules/@ariakit/react-core/esm/__chunks/T22PY7TE.js' - ); - /* harmony import */ var _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _HLTQOHKZ_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./RTNCFSKZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/RTNCFSKZ.js' + /*! ./HLTQOHKZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/HLTQOHKZ.js' ); - /* harmony import */ var _ariakit_core_dialog_dialog_store__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _3NDVDEB4_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! @ariakit/core/dialog/dialog-store */ './node_modules/@ariakit/core/esm/__chunks/RZDDWCDV.js' - ); - ('use client'); - - // src/dialog/dialog-store.ts - - function useDialogStoreProps(store, update, props) { - return (0, - _T22PY7TE_js__WEBPACK_IMPORTED_MODULE_0__.useDisclosureStoreProps)( - store, - update, - props - ); - } - function useDialogStore(props = {}) { - const [store, update] = (0, - _RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_1__.useStore)( - _ariakit_core_dialog_dialog_store__WEBPACK_IMPORTED_MODULE_2__.createDialogStore, - props + /*! ./3NDVDEB4.js */ './node_modules/@ariakit/react-core/esm/__chunks/3NDVDEB4.js' ); - return useDialogStoreProps(store, update, props); - } - - /***/ - }, - - /***/ './node_modules/@ariakit/react-core/esm/__chunks/Y62RTBST.js': - /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/Y62RTBST.js ***! - \*******************************************************************/ - /***/ function ( - __unused_webpack___webpack_module__, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ CollectionItem: function () { - return /* binding */ CollectionItem; - }, - /* harmony export */ useCollectionItem: function () { - return /* binding */ useCollectionItem; - }, - /* harmony export */ - } - ); - /* harmony import */ var _5CPL3B7G_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _US3TW2XI_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ./5CPL3B7G.js */ './node_modules/@ariakit/react-core/esm/__chunks/5CPL3B7G.js' + /*! ./US3TW2XI.js */ './node_modules/@ariakit/react-core/esm/__chunks/US3TW2XI.js' ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ./Q3KUZPD7.js */ './node_modules/@ariakit/react-core/esm/__chunks/Q3KUZPD7.js' ); - /* harmony import */ var _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! ./5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! ./K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' + /*! @ariakit/core/utils/dom */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! @ariakit/core/utils/events */ './node_modules/@ariakit/core/esm/utils/events.js' ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__( /*! react */ './node_modules/react/index.js' ); ('use client'); - // src/collection/collection-item.tsx + // src/dialog/utils/use-hide-on-interact-outside.ts - var TagName = 'div'; - var useCollectionItem = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createHook)( - function useCollectionItem2(_a) { - var _b = _a, - { - store, - shouldRegisterItem = true, - getItem = _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_4__.identity, - element: element, - } = _b, - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__objRest)( - _b, - [ - 'store', - 'shouldRegisterItem', - 'getItem', - // @ts-expect-error This prop may come from a collection renderer. - 'element', - ] - ); - const context = (0, - _5CPL3B7G_js__WEBPACK_IMPORTED_MODULE_0__.useCollectionContext)(); - store = store || context; - const id = (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__.useId)( - props.id - ); - const ref = (0, - react__WEBPACK_IMPORTED_MODULE_5__.useRef)(element); + function isInDocument(target) { + if (target.tagName === 'HTML') return true; + return (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_5__.contains)( (0, - react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => { - const element2 = ref.current; - if (!id) return; - if (!element2) return; - if (!shouldRegisterItem) return; - const item = getItem({ id, element: element2 }); - return store == null - ? void 0 - : store.renderItem(item); - }, [id, shouldRegisterItem, getItem, store]); - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadProps)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - {}, - props - ), - { - ref: (0, - _5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_2__.useMergeRefs)( - ref, - props.ref - ), - } - ); - return (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_4__.removeUndefinedValues)( - props - ); + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_5__.getDocument)( + target + ).body, + target + ); + } + function isDisclosure(disclosure, target) { + if (!disclosure) return false; + if ( + (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_5__.contains)( + disclosure, + target + ) + ) + return true; + const activeId = target.getAttribute( + 'aria-activedescendant' + ); + if (activeId) { + const activeElement = (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_5__.getDocument)( + disclosure + ).getElementById(activeId); + if (activeElement) { + return (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_5__.contains)( + disclosure, + activeElement + ); + } } - ); - var CollectionItem = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.forwardRef)( - function CollectionItem2(props) { - const htmlProps = useCollectionItem(props); + return false; + } + function isMouseEventOnDialog(event, dialog) { + if (!('clientY' in event)) return false; + const rect = dialog.getBoundingClientRect(); + if (rect.width === 0 || rect.height === 0) return false; + return ( + rect.top <= event.clientY && + event.clientY <= rect.top + rect.height && + rect.left <= event.clientX && + event.clientX <= rect.left + rect.width + ); + } + function useEventOutside({ + store, + type, + listener, + capture, + domReady, + }) { + const callListener = (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useEvent)( + listener + ); + const open = (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_3__.useStoreState)( + store, + 'open' + ); + const focusedRef = (0, + react__WEBPACK_IMPORTED_MODULE_7__.useRef)(false); + (0, + _K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useSafeLayoutEffect)(() => { + if (!open) return; + if (!domReady) return; + const { contentElement } = store.getState(); + if (!contentElement) return; + const onFocus = () => { + focusedRef.current = true; + }; + contentElement.addEventListener( + 'focusin', + onFocus, + true + ); + return () => + contentElement.removeEventListener( + 'focusin', + onFocus, + true + ); + }, [store, open, domReady]); + (0, react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(() => { + if (!open) return; + const onEvent = (event) => { + const { contentElement, disclosureElement } = + store.getState(); + const target = event.target; + if (!contentElement) return; + if (!target) return; + if (!isInDocument(target)) return; + if ( + (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_5__.contains)( + contentElement, + target + ) + ) + return; + if (isDisclosure(disclosureElement, target)) return; + if (target.hasAttribute('data-focus-trap')) return; + if (isMouseEventOnDialog(event, contentElement)) + return; + const focused = focusedRef.current; + if ( + focused && + !(0, + _3NDVDEB4_js__WEBPACK_IMPORTED_MODULE_1__.isElementMarked)( + target, + contentElement.id + ) + ) + return; + if ( + (0, + _US3TW2XI_js__WEBPACK_IMPORTED_MODULE_2__.isSafariFocusAncestor)( + target + ) + ) + return; + callListener(event); + }; return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createElement)( - TagName, - htmlProps + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_6__.addGlobalEventListener)( + type, + onEvent, + capture ); + }, [open, capture]); + } + function shouldHideOnInteractOutside( + hideOnInteractOutside, + event + ) { + if (typeof hideOnInteractOutside === 'function') { + return hideOnInteractOutside(event); } - ); + return !!hideOnInteractOutside; + } + function useHideOnInteractOutside( + store, + hideOnInteractOutside, + domReady + ) { + const open = (0, + _Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_3__.useStoreState)( + store, + 'open' + ); + const previousMouseDownRef = (0, + _HLTQOHKZ_js__WEBPACK_IMPORTED_MODULE_0__.usePreviousMouseDownRef)( + open + ); + const props = { store, domReady, capture: true }; + useEventOutside({ + ...props, + type: 'click', + listener: (event) => { + const { contentElement } = store.getState(); + const previousMouseDown = + previousMouseDownRef.current; + if (!previousMouseDown) return; + if ( + !(0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_5__.isVisible)( + previousMouseDown + ) + ) + return; + if ( + !(0, + _3NDVDEB4_js__WEBPACK_IMPORTED_MODULE_1__.isElementMarked)( + previousMouseDown, + contentElement == null + ? void 0 + : contentElement.id + ) + ) + return; + if ( + !shouldHideOnInteractOutside( + hideOnInteractOutside, + event + ) + ) + return; + store.hide(); + }, + }); + useEventOutside({ + ...props, + type: 'focusin', + listener: (event) => { + const { contentElement } = store.getState(); + if (!contentElement) return; + if ( + event.target === + (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_5__.getDocument)( + contentElement + ) + ) + return; + if ( + !shouldHideOnInteractOutside( + hideOnInteractOutside, + event + ) + ) + return; + store.hide(); + }, + }); + useEventOutside({ + ...props, + type: 'contextmenu', + listener: (event) => { + if ( + !shouldHideOnInteractOutside( + hideOnInteractOutside, + event + ) + ) + return; + store.hide(); + }, + }); + } /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/Y67KZUMI.js': + /***/ './node_modules/@ariakit/react-core/esm/__chunks/YXGXYGQX.js': /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/Y67KZUMI.js ***! + !*** ./node_modules/@ariakit/react-core/esm/__chunks/YXGXYGQX.js ***! \*******************************************************************/ /***/ function ( __unused_webpack___webpack_module__, @@ -22878,53 +20815,101 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ __webpack_require__.d( __webpack_exports__, { - /* harmony export */ PopoverContextProvider: - function () { - return /* binding */ PopoverContextProvider; - }, - /* harmony export */ PopoverScopedContextProvider: - function () { - return /* binding */ PopoverScopedContextProvider; - }, - /* harmony export */ usePopoverContext: function () { - return /* binding */ usePopoverContext; + /* harmony export */ getRefProperty: function () { + return /* binding */ getRefProperty; }, - /* harmony export */ usePopoverProviderContext: - function () { - return /* binding */ usePopoverProviderContext; - }, - /* harmony export */ usePopoverScopedContext: + /* harmony export */ isValidElementWithRef: function () { - return /* binding */ usePopoverScopedContext; + return /* binding */ isValidElementWithRef; }, + /* harmony export */ mergeProps: function () { + return /* binding */ mergeProps; + }, + /* harmony export */ setRef: function () { + return /* binding */ setRef; + }, /* harmony export */ } ); - /* harmony import */ var _T2AZQXQU_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ./T2AZQXQU.js */ './node_modules/@ariakit/react-core/esm/__chunks/T2AZQXQU.js' + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! react */ './node_modules/react/index.js' ); ('use client'); - // src/popover/popover-context.tsx - var ctx = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createStoreContext)( - [ - _T2AZQXQU_js__WEBPACK_IMPORTED_MODULE_0__.DialogContextProvider, - ], - [ - _T2AZQXQU_js__WEBPACK_IMPORTED_MODULE_0__.DialogScopedContextProvider, - ] - ); - var usePopoverContext = ctx.useContext; - var usePopoverScopedContext = ctx.useScopedContext; - var usePopoverProviderContext = ctx.useProviderContext; - var PopoverContextProvider = ctx.ContextProvider; - var PopoverScopedContextProvider = ctx.ScopedContextProvider; + // src/utils/misc.ts + + function setRef(ref, value) { + if (typeof ref === 'function') { + ref(value); + } else if (ref) { + ref.current = value; + } + } + function isValidElementWithRef(element) { + if (!element) return false; + if ( + !(0, react__WEBPACK_IMPORTED_MODULE_1__.isValidElement)( + element + ) + ) + return false; + if ('ref' in element.props) return true; + if ('ref' in element) return true; + return false; + } + function getRefProperty(element) { + if (!isValidElementWithRef(element)) return null; + const props = { ...element.props }; + return props.ref || element.ref; + } + function mergeProps(base, overrides) { + const props = { ...base }; + for (const key in overrides) { + if ( + !(0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_0__.hasOwnProperty)( + overrides, + key + ) + ) + continue; + if (key === 'className') { + const prop = 'className'; + props[prop] = base[prop] + ? `${base[prop]} ${overrides[prop]}` + : overrides[prop]; + continue; + } + if (key === 'style') { + const prop = 'style'; + props[prop] = base[prop] + ? { ...base[prop], ...overrides[prop] } + : overrides[prop]; + continue; + } + const overrideValue = overrides[key]; + if ( + typeof overrideValue === 'function' && + key.startsWith('on') + ) { + const baseValue = base[key]; + if (typeof baseValue === 'function') { + props[key] = (...args) => { + overrideValue(...args); + baseValue(...args); + }; + continue; + } + } + props[key] = overrideValue; + } + return props; + } /***/ }, @@ -22986,7 +20971,7 @@ If there's a particular need for this, please submit a feature request at https: ); /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); ('use client'); @@ -23130,115 +21115,6 @@ If there's a particular need for this, please submit a feature request at https: /***/ }, - /***/ './node_modules/@ariakit/react-core/esm/__chunks/ZTXFEM5L.js': - /*!*******************************************************************!*\ - !*** ./node_modules/@ariakit/react-core/esm/__chunks/ZTXFEM5L.js ***! - \*******************************************************************/ - /***/ function ( - __unused_webpack___webpack_module__, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ DialogDisclosure: function () { - return /* binding */ DialogDisclosure; - }, - /* harmony export */ useDialogDisclosure: function () { - return /* binding */ useDialogDisclosure; - }, - /* harmony export */ - } - ); - /* harmony import */ var _NMGNQVTG_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./NMGNQVTG.js */ './node_modules/@ariakit/react-core/esm/__chunks/NMGNQVTG.js' - ); - /* harmony import */ var _T2AZQXQU_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ./T2AZQXQU.js */ './node_modules/@ariakit/react-core/esm/__chunks/T2AZQXQU.js' - ); - /* harmony import */ var _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__ = - __webpack_require__( - /*! ./VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' - ); - /* harmony import */ var _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__ = - __webpack_require__( - /*! ./3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' - ); - /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_4__ = - __webpack_require__( - /*! @ariakit/core/utils/dom */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' - ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__ = - __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' - ); - ('use client'); - - // src/dialog/dialog-disclosure.tsx - - var TagName = 'button'; - var useDialogDisclosure = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.createHook)( - function useDialogDisclosure2(_a) { - var _b = _a, - { store } = _b, - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__objRest)( - _b, - ['store'] - ); - const context = (0, - _T2AZQXQU_js__WEBPACK_IMPORTED_MODULE_1__.useDialogProviderContext)(); - store = store || context; - (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__.invariant)( - store, - true && - 'DialogDisclosure must receive a `store` prop or be wrapped in a DialogProvider component.' - ); - const contentElement = store.useState('contentElement'); - props = (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - { - 'aria-haspopup': (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_4__.getPopupRole)( - contentElement, - 'dialog' - ), - }, - props - ); - props = (0, - _NMGNQVTG_js__WEBPACK_IMPORTED_MODULE_0__.useDisclosure)( - (0, - _3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - { store }, - props - ) - ); - return props; - } - ); - var DialogDisclosure = (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.forwardRef)( - function DialogDisclosure2(props) { - const htmlProps = useDialogDisclosure(props); - return (0, - _VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.createElement)( - TagName, - htmlProps - ); - } - ); - - /***/ - }, - /***/ './node_modules/@ariakit/react-core/esm/combobox/combobox-item-value.js': /*!******************************************************************************!*\ !*** ./node_modules/@ariakit/react-core/esm/combobox/combobox-item-value.js ***! @@ -23262,35 +21138,31 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ } ); - /* harmony import */ var _chunks_OLVWQA7U_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _chunks_7P7IWEBR_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ../__chunks/OLVWQA7U.js */ './node_modules/@ariakit/react-core/esm/__chunks/OLVWQA7U.js' + /*! ../__chunks/7P7IWEBR.js */ './node_modules/@ariakit/react-core/esm/__chunks/7P7IWEBR.js' ); - /* harmony import */ var _chunks_RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _chunks_Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ../__chunks/RTNCFSKZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/RTNCFSKZ.js' + /*! ../__chunks/Q3KUZPD7.js */ './node_modules/@ariakit/react-core/esm/__chunks/Q3KUZPD7.js' ); - /* harmony import */ var _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ../__chunks/VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ../__chunks/ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__ = - __webpack_require__( - /*! ../__chunks/3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' - ); - /* harmony import */ var _ariakit_core_utils_array__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _ariakit_core_utils_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( /*! @ariakit/core/utils/array */ './node_modules/@ariakit/core/esm/__chunks/7PRQYBBV.js' ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__ = + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( /*! react */ './node_modules/react/index.js' ); - /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__ = + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__( /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' ); @@ -23301,7 +21173,7 @@ If there's a particular need for this, please submit a feature request at https: var TagName = 'span'; function normalizeValue(value) { return (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__.normalizeString)( + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_4__.normalizeString)( value ).toLowerCase(); } @@ -23337,7 +21209,7 @@ If there's a particular need for this, please submit a feature request at https: if (!itemValue) return itemValue; if (!userValue) return itemValue; const userValues = (0, - _ariakit_core_utils_array__WEBPACK_IMPORTED_MODULE_4__.toArray)( + _ariakit_core_utils_array__WEBPACK_IMPORTED_MODULE_3__.toArray)( userValue ) .filter(Boolean) @@ -23345,7 +21217,7 @@ If there's a particular need for this, please submit a feature request at https: const parts = []; const span = (value, autocomplete = false) => /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)( + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)( 'span', { 'data-autocomplete-value': autocomplete @@ -23394,25 +21266,23 @@ If there's a particular need for this, please submit a feature request at https: return parts; } var useComboboxItemValue = (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.createHook)( - function useComboboxItemValue2(_a) { - var _b = _a, - { store, value, userValue } = _b, - props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__objRest)( - _b, - ['store', 'value', 'userValue'] - ); + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.createHook)( + function useComboboxItemValue2({ + store, + value, + userValue, + ...props + }) { const context = (0, - _chunks_OLVWQA7U_js__WEBPACK_IMPORTED_MODULE_0__.useComboboxScopedContext)(); + _chunks_7P7IWEBR_js__WEBPACK_IMPORTED_MODULE_0__.useComboboxScopedContext)(); store = store || context; const itemContext = (0, - react__WEBPACK_IMPORTED_MODULE_6__.useContext)( - _chunks_OLVWQA7U_js__WEBPACK_IMPORTED_MODULE_0__.ComboboxItemValueContext + react__WEBPACK_IMPORTED_MODULE_5__.useContext)( + _chunks_7P7IWEBR_js__WEBPACK_IMPORTED_MODULE_0__.ComboboxItemValueContext ); const itemValue = value != null ? value : itemContext; const inputValue = (0, - _chunks_RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_1__.useStoreState)( + _chunks_Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_1__.useStoreState)( store, (state) => userValue != null @@ -23422,30 +21292,27 @@ If there's a particular need for this, please submit a feature request at https: : state.value ); const children = (0, - react__WEBPACK_IMPORTED_MODULE_6__.useMemo)(() => { + react__WEBPACK_IMPORTED_MODULE_5__.useMemo)(() => { if (!itemValue) return; if (!inputValue) return itemValue; return splitValue(itemValue, inputValue); }, [itemValue, inputValue]); - props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - { - children, - }, - props - ); + props = { + children, + ...props, + }; return (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__.removeUndefinedValues)( + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_4__.removeUndefinedValues)( props ); } ); var ComboboxItemValue = (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.forwardRef)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.forwardRef)( function ComboboxItemValue2(props) { const htmlProps = useComboboxItemValue(props); return (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.createElement)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.createElement)( TagName, htmlProps ); @@ -23478,21 +21345,17 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ } ); - /* harmony import */ var _chunks_OLVWQA7U_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ../__chunks/OLVWQA7U.js */ './node_modules/@ariakit/react-core/esm/__chunks/OLVWQA7U.js' - ); - /* harmony import */ var _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _chunks_7P7IWEBR_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ../__chunks/VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ../__chunks/7P7IWEBR.js */ './node_modules/@ariakit/react-core/esm/__chunks/7P7IWEBR.js' ); - /* harmony import */ var _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ../__chunks/3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' + /*! ../__chunks/ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); ('use client'); @@ -23500,51 +21363,41 @@ If there's a particular need for this, please submit a feature request at https: var TagName = 'label'; var useComboboxLabel = (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createHook)( - function useComboboxLabel2(_a) { - var _b = _a, - { store } = _b, - props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__.__objRest)( - _b, - ['store'] - ); + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createHook)( + function useComboboxLabel2({ store, ...props }) { const context = (0, - _chunks_OLVWQA7U_js__WEBPACK_IMPORTED_MODULE_0__.useComboboxProviderContext)(); + _chunks_7P7IWEBR_js__WEBPACK_IMPORTED_MODULE_0__.useComboboxProviderContext)(); store = store || context; (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_3__.invariant)( + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_2__.invariant)( store, true && 'ComboboxLabel must receive a `store` prop or be wrapped in a ComboboxProvider component.' ); const comboboxId = store.useState((state) => { - var _a2; - return (_a2 = state.baseElement) == null + var _a; + return (_a = state.baseElement) == null ? void 0 - : _a2.id; + : _a.id; }); - props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_2__.__spreadValues)( - { - htmlFor: comboboxId, - }, - props - ); + props = { + htmlFor: comboboxId, + ...props, + }; return (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_3__.removeUndefinedValues)( + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_2__.removeUndefinedValues)( props ); } ); var ComboboxLabel = (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.memo)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.memo)( (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.forwardRef)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.forwardRef)( function ComboboxLabel2(props) { const htmlProps = useComboboxLabel(props); return (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createElement)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createElement)( TagName, htmlProps ); @@ -23575,13 +21428,13 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ } ); - /* harmony import */ var _chunks_HI6DYBVE_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _chunks_BAEM5RK7_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ../__chunks/HI6DYBVE.js */ './node_modules/@ariakit/react-core/esm/__chunks/HI6DYBVE.js' + /*! ../__chunks/BAEM5RK7.js */ './node_modules/@ariakit/react-core/esm/__chunks/BAEM5RK7.js' ); - /* harmony import */ var _chunks_OLVWQA7U_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _chunks_7P7IWEBR_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ../__chunks/OLVWQA7U.js */ './node_modules/@ariakit/react-core/esm/__chunks/OLVWQA7U.js' + /*! ../__chunks/7P7IWEBR.js */ './node_modules/@ariakit/react-core/esm/__chunks/7P7IWEBR.js' ); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( @@ -23593,12 +21446,12 @@ If there's a particular need for this, please submit a feature request at https: function ComboboxProvider(props = {}) { const store = (0, - _chunks_HI6DYBVE_js__WEBPACK_IMPORTED_MODULE_0__.useComboboxStore)( + _chunks_BAEM5RK7_js__WEBPACK_IMPORTED_MODULE_0__.useComboboxStore)( props ); return /* @__PURE__ */ (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)( - _chunks_OLVWQA7U_js__WEBPACK_IMPORTED_MODULE_1__.ComboboxContextProvider, + _chunks_7P7IWEBR_js__WEBPACK_IMPORTED_MODULE_1__.ComboboxContextProvider, { value: store, children: props.children } ); } @@ -23629,51 +21482,47 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ } ); - /* harmony import */ var _chunks_NSTBQJLB_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _chunks_E7PWFDGB_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ../__chunks/NSTBQJLB.js */ './node_modules/@ariakit/react-core/esm/__chunks/NSTBQJLB.js' + /*! ../__chunks/E7PWFDGB.js */ './node_modules/@ariakit/react-core/esm/__chunks/E7PWFDGB.js' ); - /* harmony import */ var _chunks_HMCFFQCB_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _chunks_DTOLNWNF_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ../__chunks/HMCFFQCB.js */ './node_modules/@ariakit/react-core/esm/__chunks/HMCFFQCB.js' + /*! ../__chunks/DTOLNWNF.js */ './node_modules/@ariakit/react-core/esm/__chunks/DTOLNWNF.js' ); - /* harmony import */ var _chunks_OLVWQA7U_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _chunks_7P7IWEBR_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ../__chunks/OLVWQA7U.js */ './node_modules/@ariakit/react-core/esm/__chunks/OLVWQA7U.js' + /*! ../__chunks/7P7IWEBR.js */ './node_modules/@ariakit/react-core/esm/__chunks/7P7IWEBR.js' ); - /* harmony import */ var _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! ../__chunks/VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ../__chunks/ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! ../__chunks/5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! ../__chunks/K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__ = - __webpack_require__( - /*! ../__chunks/3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' - ); - /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_6__ = + /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( /*! @ariakit/core/utils/dom */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' ); - /* harmony import */ var _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__ = + /* harmony import */ var _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__( /*! @ariakit/core/utils/events */ './node_modules/@ariakit/core/esm/utils/events.js' ); - /* harmony import */ var _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_8__ = + /* harmony import */ var _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__( /*! @ariakit/core/utils/focus */ './node_modules/@ariakit/core/esm/utils/focus.js' ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_9__ = + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); - /* harmony import */ var _ariakit_core_utils_store__WEBPACK_IMPORTED_MODULE_10__ = + /* harmony import */ var _ariakit_core_utils_store__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__( - /*! @ariakit/core/utils/store */ './node_modules/@ariakit/core/esm/__chunks/EWA2WL6G.js' + /*! @ariakit/core/utils/store */ './node_modules/@ariakit/core/esm/__chunks/SXKM4CGU.js' ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_11__ = + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__( /*! react */ './node_modules/react/index.js' ); @@ -23700,7 +21549,7 @@ If there's a particular need for this, please submit a feature request at https: if (!activeValue) return false; if (value == null) return false; value = (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_9__.normalizeString)( + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_8__.normalizeString)( value ); return ( @@ -23734,64 +21583,42 @@ If there's a particular need for this, please submit a feature request at https: return item == null ? void 0 : item.id; } var useCombobox = (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__.createHook)( - function useCombobox2(_a) { - var _b = _a, - { - store, - focusable = true, - autoSelect: autoSelectProp = false, - getAutoSelectId, - setValueOnChange, - showMinLength = 0, - showOnChange, - showOnMouseDown, - showOnClick = showOnMouseDown, - showOnKeyDown, - showOnKeyPress = showOnKeyDown, - blurActiveItemOnClick, - setValueOnClick = true, - moveOnKeyPress = true, - autoComplete = 'list', - } = _b, - props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__objRest)( - _b, - [ - 'store', - 'focusable', - 'autoSelect', - 'getAutoSelectId', - 'setValueOnChange', - 'showMinLength', - 'showOnChange', - 'showOnMouseDown', - 'showOnClick', - 'showOnKeyDown', - 'showOnKeyPress', - 'blurActiveItemOnClick', - 'setValueOnClick', - 'moveOnKeyPress', - 'autoComplete', - ] - ); + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__.createHook)( + function useCombobox2({ + store, + focusable = true, + autoSelect: autoSelectProp = false, + getAutoSelectId, + setValueOnChange, + showMinLength = 0, + showOnChange, + showOnMouseDown, + showOnClick = showOnMouseDown, + showOnKeyDown, + showOnKeyPress = showOnKeyDown, + blurActiveItemOnClick, + setValueOnClick = true, + moveOnKeyPress = true, + autoComplete = 'list', + ...props + }) { const context = (0, - _chunks_OLVWQA7U_js__WEBPACK_IMPORTED_MODULE_2__.useComboboxProviderContext)(); + _chunks_7P7IWEBR_js__WEBPACK_IMPORTED_MODULE_2__.useComboboxProviderContext)(); store = store || context; (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_9__.invariant)( + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_8__.invariant)( store, true && 'Combobox must receive a `store` prop or be wrapped in a ComboboxProvider component.' ); const ref = (0, - react__WEBPACK_IMPORTED_MODULE_11__.useRef)(null); + react__WEBPACK_IMPORTED_MODULE_10__.useRef)(null); const [valueUpdated, forceValueUpdate] = (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useForceUpdate)(); + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useForceUpdate)(); const canAutoSelectRef = (0, - react__WEBPACK_IMPORTED_MODULE_11__.useRef)(false); + react__WEBPACK_IMPORTED_MODULE_10__.useRef)(false); const composingRef = (0, - react__WEBPACK_IMPORTED_MODULE_11__.useRef)(false); + react__WEBPACK_IMPORTED_MODULE_10__.useRef)(false); const autoSelect = store.useState( (state) => state.virtualFocus && autoSelectProp ); @@ -23799,19 +21626,19 @@ If there's a particular need for this, please submit a feature request at https: autoComplete === 'inline' || autoComplete === 'both'; const [canInline, setCanInline] = (0, - react__WEBPACK_IMPORTED_MODULE_11__.useState)(inline); + react__WEBPACK_IMPORTED_MODULE_10__.useState)(inline); (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useUpdateLayoutEffect)(() => { + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useUpdateLayoutEffect)(() => { if (!inline) return; setCanInline(true); }, [inline]); const storeValue = store.useState('value'); const prevSelectedValueRef = (0, - react__WEBPACK_IMPORTED_MODULE_11__.useRef)(); + react__WEBPACK_IMPORTED_MODULE_10__.useRef)(); (0, - react__WEBPACK_IMPORTED_MODULE_11__.useEffect)(() => { + react__WEBPACK_IMPORTED_MODULE_10__.useEffect)(() => { return (0, - _ariakit_core_utils_store__WEBPACK_IMPORTED_MODULE_10__.sync)( + _ariakit_core_utils_store__WEBPACK_IMPORTED_MODULE_9__.sync)( store, ['selectedValue', 'activeId'], (_, prev) => { @@ -23821,7 +21648,7 @@ If there's a particular need for this, please submit a feature request at https: ); }, []); const inlineActiveValue = store.useState((state) => { - var _a2; + var _a; if (!inline) return; if (!canInline) return; if ( @@ -23835,9 +21662,9 @@ If there's a particular need for this, please submit a feature request at https: ) return; if ( - (_a2 = prevSelectedValueRef.current) == null + (_a = prevSelectedValueRef.current) == null ? void 0 - : _a2.includes(state.activeValue) + : _a.includes(state.activeValue) ) return; } @@ -23847,7 +21674,7 @@ If there's a particular need for this, please submit a feature request at https: const open = store.useState('open'); const contentElement = store.useState('contentElement'); const value = (0, - react__WEBPACK_IMPORTED_MODULE_11__.useMemo)(() => { + react__WEBPACK_IMPORTED_MODULE_10__.useMemo)(() => { if (!inline) return storeValue; if (!canInline) return storeValue; const firstItemAutoSelected = @@ -23883,7 +21710,7 @@ If there's a particular need for this, please submit a feature request at https: storeValue, ]); (0, - react__WEBPACK_IMPORTED_MODULE_11__.useEffect)(() => { + react__WEBPACK_IMPORTED_MODULE_10__.useEffect)(() => { const element = ref.current; if (!element) return; const onCompositeItemMove = () => @@ -23900,7 +21727,7 @@ If there's a particular need for this, please submit a feature request at https: }; }, []); (0, - react__WEBPACK_IMPORTED_MODULE_11__.useEffect)(() => { + react__WEBPACK_IMPORTED_MODULE_10__.useEffect)(() => { if (!inline) return; if (!canInline) return; if (!inlineActiveValue) return; @@ -23919,18 +21746,18 @@ If there's a particular need for this, please submit a feature request at https: ) return; let cleanup = - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_9__.noop; + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_8__.noop; queueMicrotask(() => { const element = ref.current; if (!element) return; const { start: prevStart, end: prevEnd } = (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_6__.getTextboxSelection)( + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_5__.getTextboxSelection)( element ); const nextStart = storeValue.length; const nextEnd = inlineActiveValue.length; (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_6__.setSelectionRange)( + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_5__.setSelectionRange)( element, nextStart, nextEnd @@ -23938,19 +21765,19 @@ If there's a particular need for this, please submit a feature request at https: cleanup = () => { if ( !(0, - _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_8__.hasFocus)( + _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_7__.hasFocus)( element ) ) return; const { start, end } = (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_6__.getTextboxSelection)( + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_5__.getTextboxSelection)( element ); if (start !== nextStart) return; if (end !== nextEnd) return; (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_6__.setSelectionRange)( + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_5__.setSelectionRange)( element, prevStart, prevEnd @@ -23968,19 +21795,19 @@ If there's a particular need for this, please submit a feature request at https: storeValue, ]); const scrollingElementRef = (0, - react__WEBPACK_IMPORTED_MODULE_11__.useRef)(null); + react__WEBPACK_IMPORTED_MODULE_10__.useRef)(null); const getAutoSelectIdProp = (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useEvent)( + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useEvent)( getAutoSelectId ); const autoSelectIdRef = (0, - react__WEBPACK_IMPORTED_MODULE_11__.useRef)(null); + react__WEBPACK_IMPORTED_MODULE_10__.useRef)(null); (0, - react__WEBPACK_IMPORTED_MODULE_11__.useEffect)(() => { + react__WEBPACK_IMPORTED_MODULE_10__.useEffect)(() => { if (!open) return; if (!contentElement) return; const scrollingElement = (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_6__.getScrollingElement)( + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_5__.getScrollingElement)( contentElement ); if (!scrollingElement) return; @@ -24032,21 +21859,21 @@ If there's a particular need for this, please submit a feature request at https: }; }, [open, contentElement, store]); (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useSafeLayoutEffect)(() => { + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useSafeLayoutEffect)(() => { if (!storeValue) return; if (composingRef.current) return; canAutoSelectRef.current = true; }, [storeValue]); (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useSafeLayoutEffect)(() => { + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useSafeLayoutEffect)(() => { if (autoSelect !== 'always' && open) return; canAutoSelectRef.current = open; }, [autoSelect, open]); const resetValueOnSelect = store.useState('resetValueOnSelect'); (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useUpdateEffect)(() => { - var _a2, _b2; + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useUpdateEffect)(() => { + var _a, _b; const canAutoSelect = canAutoSelectRef.current; if (!store) return; if (!open) return; @@ -24059,7 +21886,7 @@ If there's a particular need for this, please submit a feature request at https: if ( baseElement && !(0, - _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_8__.hasFocus)( + _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_7__.hasFocus)( baseElement ) ) @@ -24085,11 +21912,11 @@ If there's a particular need for this, please submit a feature request at https: const autoSelectId = userAutoSelectId !== void 0 ? userAutoSelectId - : (_a2 = + : (_a = getDefaultAutoSelectId( items )) != null - ? _a2 + ? _a : store.first(); autoSelectIdRef.current = autoSelectId; store.move( @@ -24097,11 +21924,11 @@ If there's a particular need for this, please submit a feature request at https: ); } else { const element = - (_b2 = store.item( + (_b = store.item( activeId || store.first() )) == null ? void 0 - : _b2.element; + : _b.element; if (element && 'scrollIntoView' in element) { element.scrollIntoView({ block: 'nearest', @@ -24121,7 +21948,7 @@ If there's a particular need for this, please submit a feature request at https: items, ]); (0, - react__WEBPACK_IMPORTED_MODULE_11__.useEffect)(() => { + react__WEBPACK_IMPORTED_MODULE_10__.useEffect)(() => { if (!inline) return; const combobox = ref.current; if (!combobox) return; @@ -24132,7 +21959,7 @@ If there's a particular need for this, please submit a feature request at https: if ( elements.every((el) => (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__.isFocusEventOutside)( + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_6__.isFocusEventOutside)( event, el ) @@ -24161,11 +21988,11 @@ If there's a particular need for this, please submit a feature request at https: }; const onChangeProp = props.onChange; const showOnChangeProp = (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useBooleanEvent)( + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useBooleanEvent)( showOnChange != null ? showOnChange : canShow ); const setValueOnChangeProp = (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useBooleanEvent)( + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useBooleanEvent)( // If the combobox is combined with tags, the value will be set by the tag // input component. setValueOnChange != null @@ -24173,7 +22000,7 @@ If there's a particular need for this, please submit a feature request at https: : !store.tag ); const onChange = (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useEvent)( + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useEvent)( (event) => { onChangeProp == null ? void 0 @@ -24212,7 +22039,7 @@ If there's a particular need for this, please submit a feature request at https: store.setValue(value2); queueMicrotask(() => { (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_6__.setSelectionRange)( + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_5__.setSelectionRange)( currentTarget, selectionStart, selectionEnd @@ -24232,7 +22059,7 @@ If there's a particular need for this, please submit a feature request at https: ); const onCompositionEndProp = props.onCompositionEnd; const onCompositionEnd = (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useEvent)( + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useEvent)( (event) => { canAutoSelectRef.current = true; composingRef.current = false; @@ -24246,7 +22073,7 @@ If there's a particular need for this, please submit a feature request at https: ); const onMouseDownProp = props.onMouseDown; const blurActiveItemOnClickProp = (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useBooleanEvent)( + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useBooleanEvent)( blurActiveItemOnClick != null ? blurActiveItemOnClick : () => @@ -24256,15 +22083,15 @@ If there's a particular need for this, please submit a feature request at https: .includesBaseElement) ); const setValueOnClickProp = (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useBooleanEvent)( + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useBooleanEvent)( setValueOnClick ); const showOnClickProp = (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useBooleanEvent)( + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useBooleanEvent)( showOnClick != null ? showOnClick : canShow ); const onMouseDown = (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useEvent)( + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useEvent)( (event) => { onMouseDownProp == null ? void 0 @@ -24281,7 +22108,7 @@ If there's a particular need for this, please submit a feature request at https: } if (showOnClickProp(event)) { (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__.queueBeforeEvent)( + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_6__.queueBeforeEvent)( event.currentTarget, 'mouseup', store.show @@ -24291,11 +22118,11 @@ If there's a particular need for this, please submit a feature request at https: ); const onKeyDownProp = props.onKeyDown; const showOnKeyPressProp = (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useBooleanEvent)( + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useBooleanEvent)( showOnKeyPress != null ? showOnKeyPress : canShow ); const onKeyDown = (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useEvent)( + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useEvent)( (event) => { onKeyDownProp == null ? void 0 @@ -24324,7 +22151,7 @@ If there's a particular need for this, please submit a feature request at https: ); const onBlurProp = props.onBlur; const onBlur = (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useEvent)( + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useEvent)( (event) => { canAutoSelectRef.current = false; onBlurProp == null ? void 0 : onBlurProp(event); @@ -24332,7 +22159,7 @@ If there's a particular need for this, please submit a feature request at https: } ); const id = (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useId)( + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useId)( props.id ); const ariaAutoComplete = isAriaAutoCompleteValue( @@ -24343,93 +22170,69 @@ If there's a particular need for this, please submit a feature request at https: const isActiveItem = store.useState( (state) => state.activeId === null ); - props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - { - id, - role: 'combobox', - 'aria-autocomplete': ariaAutoComplete, - 'aria-haspopup': (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_6__.getPopupRole)( - contentElement, - 'listbox' - ), - 'aria-expanded': open, - 'aria-controls': - contentElement == null - ? void 0 - : contentElement.id, - 'data-active-item': isActiveItem || void 0, - value, - }, - props + props = { + id, + role: 'combobox', + 'aria-autocomplete': ariaAutoComplete, + 'aria-haspopup': (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_5__.getPopupRole)( + contentElement, + 'listbox' + ), + 'aria-expanded': open, + 'aria-controls': + contentElement == null + ? void 0 + : contentElement.id, + 'data-active-item': isActiveItem || void 0, + value, + ...props, + ref: (0, + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useMergeRefs)( + ref, + props.ref ), - { - ref: (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useMergeRefs)( - ref, - props.ref - ), - onChange, - onCompositionEnd, - onMouseDown, - onKeyDown, - onBlur, - } - ); + onChange, + onCompositionEnd, + onMouseDown, + onKeyDown, + onBlur, + }; props = (0, - _chunks_NSTBQJLB_js__WEBPACK_IMPORTED_MODULE_0__.useComposite)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - { - store, - focusable, - }, - props - ), - { - // Enable inline autocomplete when the user moves from the combobox input - // to an item. - moveOnKeyPress: (event) => { - if ( - (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_9__.isFalsyBooleanCallback)( - moveOnKeyPress, - event - ) + _chunks_E7PWFDGB_js__WEBPACK_IMPORTED_MODULE_0__.useComposite)( + { + store, + focusable, + ...props, + // Enable inline autocomplete when the user moves from the combobox input + // to an item. + moveOnKeyPress: (event) => { + if ( + (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_8__.isFalsyBooleanCallback)( + moveOnKeyPress, + event ) - return false; - if (inline) setCanInline(true); - return true; - }, - } - ) + ) + return false; + if (inline) setCanInline(true); + return true; + }, + } ); props = (0, - _chunks_HMCFFQCB_js__WEBPACK_IMPORTED_MODULE_1__.usePopoverAnchor)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - { store }, - props - ) - ); - return (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - { autoComplete: 'off' }, - props + _chunks_DTOLNWNF_js__WEBPACK_IMPORTED_MODULE_1__.usePopoverAnchor)( + { store, ...props } ); + return { autoComplete: 'off', ...props }; } ); var Combobox = (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__.forwardRef)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__.forwardRef)( function Combobox2(props) { const htmlProps = useCombobox(props); return (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__.createElement)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__.createElement)( TagName, htmlProps ); @@ -24462,55 +22265,51 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ } ); - /* harmony import */ var _chunks_4QTMCR75_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ../__chunks/4QTMCR75.js */ './node_modules/@ariakit/react-core/esm/__chunks/4QTMCR75.js' - ); - /* harmony import */ var _chunks_TRDK6LYC_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _chunks_SPU3NB66_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ../__chunks/TRDK6LYC.js */ './node_modules/@ariakit/react-core/esm/__chunks/TRDK6LYC.js' + /*! ../__chunks/SPU3NB66.js */ './node_modules/@ariakit/react-core/esm/__chunks/SPU3NB66.js' ); - /* harmony import */ var _chunks_OYOFZOGB_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _chunks_BVSK4LBK_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ../__chunks/OYOFZOGB.js */ './node_modules/@ariakit/react-core/esm/__chunks/OYOFZOGB.js' + /*! ../__chunks/BVSK4LBK.js */ './node_modules/@ariakit/react-core/esm/__chunks/BVSK4LBK.js' ); - /* harmony import */ var _chunks_4I4MLMKD_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _chunks_WXLNFAIL_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ../__chunks/4I4MLMKD.js */ './node_modules/@ariakit/react-core/esm/__chunks/4I4MLMKD.js' + /*! ../__chunks/WXLNFAIL.js */ './node_modules/@ariakit/react-core/esm/__chunks/WXLNFAIL.js' ); - /* harmony import */ var _chunks_QJ4LGO2N_js__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _chunks_NG75I6FS_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! ../__chunks/QJ4LGO2N.js */ './node_modules/@ariakit/react-core/esm/__chunks/QJ4LGO2N.js' + /*! ../__chunks/NG75I6FS.js */ './node_modules/@ariakit/react-core/esm/__chunks/NG75I6FS.js' ); - /* harmony import */ var _chunks_RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_5__ = + /* harmony import */ var _chunks_HIN2NSI2_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! ../__chunks/RTNCFSKZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/RTNCFSKZ.js' + /*! ../__chunks/HIN2NSI2.js */ './node_modules/@ariakit/react-core/esm/__chunks/HIN2NSI2.js' ); - /* harmony import */ var _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_6__ = + /* harmony import */ var _chunks_Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( - /*! ../__chunks/VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ../__chunks/Q3KUZPD7.js */ './node_modules/@ariakit/react-core/esm/__chunks/Q3KUZPD7.js' ); - /* harmony import */ var _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_7__ = + /* harmony import */ var _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__( - /*! ../__chunks/5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! ../__chunks/ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_8__ = + /* harmony import */ var _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__( - /*! ../__chunks/3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' + /*! ../__chunks/K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_9__ = + /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__( /*! @ariakit/core/utils/dom */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_10__ = + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_11__ = + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__( /*! react */ './node_modules/react/index.js' ); - /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__ = + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__( /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' ); @@ -24545,43 +22344,32 @@ If there's a particular need for this, please submit a feature request at https: })); } var useMenuButton = (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_6__.createHook)( - function useMenuButton2(_a) { - var _b = _a, - { - store, - focusable, - accessibleWhenDisabled, - showOnHover, - } = _b, - props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_8__.__objRest)( - _b, - [ - 'store', - 'focusable', - 'accessibleWhenDisabled', - 'showOnHover', - ] - ); + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_6__.createHook)( + function useMenuButton2({ + store, + focusable, + accessibleWhenDisabled, + showOnHover, + ...props + }) { const context = (0, - _chunks_4QTMCR75_js__WEBPACK_IMPORTED_MODULE_0__.useMenuProviderContext)(); + _chunks_SPU3NB66_js__WEBPACK_IMPORTED_MODULE_0__.useMenuProviderContext)(); store = store || context; (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_10__.invariant)( + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_9__.invariant)( store, true && 'MenuButton must receive a `store` prop or be wrapped in a MenuProvider component.' ); const ref = (0, - react__WEBPACK_IMPORTED_MODULE_11__.useRef)(null); + react__WEBPACK_IMPORTED_MODULE_10__.useRef)(null); const parentMenu = store.parent; const parentMenubar = store.menubar; const hasParentMenu = !!parentMenu; const parentIsMenubar = !!parentMenubar && !hasParentMenu; const disabled = (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_10__.disabledFromProps)( + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_9__.disabledFromProps)( props ); const showMenu = () => { @@ -24597,7 +22385,7 @@ If there's a particular need for this, please submit a feature request at https: }; const onFocusProp = props.onFocus; const onFocus = (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_7__.useEvent)( + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_7__.useEvent)( (event) => { onFocusProp == null ? void 0 @@ -24619,13 +22407,13 @@ If there's a particular need for this, please submit a feature request at https: } ); const dir = (0, - _chunks_RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_5__.useStoreState)( + _chunks_Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_5__.useStoreState)( store, (state) => state.placement.split('-')[0] ); const onKeyDownProp = props.onKeyDown; const onKeyDown = (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_7__.useEvent)( + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_7__.useEvent)( (event) => { onKeyDownProp == null ? void 0 @@ -24650,7 +22438,7 @@ If there's a particular need for this, please submit a feature request at https: ); const onClickProp = props.onClick; const onClick = (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_7__.useEvent)( + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_7__.useEvent)( (event) => { onClickProp == null ? void 0 @@ -24673,40 +22461,33 @@ If there's a particular need for this, please submit a feature request at https: } ); props = (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_7__.useWrapElement)( + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_7__.useWrapElement)( props, (element) => /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)( - _chunks_4QTMCR75_js__WEBPACK_IMPORTED_MODULE_0__.MenuContextProvider, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)( + _chunks_SPU3NB66_js__WEBPACK_IMPORTED_MODULE_0__.MenuContextProvider, { value: store, children: element } ), [store] ); if (hasParentMenu) { - props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_8__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_8__.__spreadValues)( - {}, - props + props = { + ...props, + render: /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)( + _chunks_HIN2NSI2_js__WEBPACK_IMPORTED_MODULE_4__ + .Role.div, + { render: props.render } ), - { - render: /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)( - _chunks_QJ4LGO2N_js__WEBPACK_IMPORTED_MODULE_4__ - .Role.div, - { render: props.render } - ), - } - ); + }; } const id = (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_7__.useId)( + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_7__.useId)( props.id ); const parentContentElement = (0, - _chunks_RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_5__.useStoreState)( + _chunks_Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_5__.useStoreState)( (parentMenu == null ? void 0 : parentMenu.combobox) || parentMenu, @@ -24715,117 +22496,90 @@ If there's a particular need for this, please submit a feature request at https: const role = hasParentMenu || parentIsMenubar ? (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_9__.getPopupItemRole)( + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_8__.getPopupItemRole)( parentContentElement, 'menuitem' ) : void 0; const contentElement = store.useState('contentElement'); - props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_8__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_8__.__spreadValues)( - { - id, - role, - 'aria-haspopup': (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_9__.getPopupRole)( - contentElement, - 'menu' - ), - }, - props + props = { + id, + role, + 'aria-haspopup': (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_8__.getPopupRole)( + contentElement, + 'menu' ), - { - ref: (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_7__.useMergeRefs)( - ref, - props.ref - ), - onFocus, - onKeyDown, - onClick, - } - ); + ...props, + ref: (0, + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_7__.useMergeRefs)( + ref, + props.ref + ), + onFocus, + onKeyDown, + onClick, + }; props = (0, - _chunks_TRDK6LYC_js__WEBPACK_IMPORTED_MODULE_1__.useHovercardAnchor)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_8__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_8__.__spreadValues)( - { - store, - focusable, - accessibleWhenDisabled, - }, - props - ), - { - showOnHover: (event) => { - const getShowOnHover = () => { - if ( - typeof showOnHover === - 'function' - ) - return showOnHover(event); - if (showOnHover != null) - return showOnHover; - if (hasParentMenu) return true; - if (!parentMenubar) return false; - const { items } = - parentMenubar.getState(); - return ( - parentIsMenubar && - hasActiveItem(items) - ); - }; - const canShowOnHover = getShowOnHover(); - if (!canShowOnHover) return false; - const parent = parentIsMenubar - ? parentMenubar - : parentMenu; - if (!parent) return true; - parent.setActiveId( - event.currentTarget.id + _chunks_BVSK4LBK_js__WEBPACK_IMPORTED_MODULE_1__.useHovercardAnchor)( + { + store, + focusable, + accessibleWhenDisabled, + ...props, + showOnHover: (event) => { + const getShowOnHover = () => { + if (typeof showOnHover === 'function') + return showOnHover(event); + if (showOnHover != null) + return showOnHover; + if (hasParentMenu) return true; + if (!parentMenubar) return false; + const { items } = + parentMenubar.getState(); + return ( + parentIsMenubar && + hasActiveItem(items) ); - return true; - }, - } - ) + }; + const canShowOnHover = getShowOnHover(); + if (!canShowOnHover) return false; + const parent = parentIsMenubar + ? parentMenubar + : parentMenu; + if (!parent) return true; + parent.setActiveId(event.currentTarget.id); + return true; + }, + } ); props = (0, - _chunks_4I4MLMKD_js__WEBPACK_IMPORTED_MODULE_3__.usePopoverDisclosure)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_8__.__spreadValues)( - { - store, - toggleOnClick: !hasParentMenu, - focusable, - accessibleWhenDisabled, - }, - props - ) + _chunks_NG75I6FS_js__WEBPACK_IMPORTED_MODULE_3__.usePopoverDisclosure)( + { + store, + toggleOnClick: !hasParentMenu, + focusable, + accessibleWhenDisabled, + ...props, + } ); props = (0, - _chunks_OYOFZOGB_js__WEBPACK_IMPORTED_MODULE_2__.useCompositeTypeahead)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_8__.__spreadValues)( - { - store, - typeahead: parentIsMenubar, - }, - props - ) + _chunks_WXLNFAIL_js__WEBPACK_IMPORTED_MODULE_2__.useCompositeTypeahead)( + { + store, + typeahead: parentIsMenubar, + ...props, + } ); return props; } ); var MenuButton = (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_6__.forwardRef)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_6__.forwardRef)( function MenuButton2(props) { const htmlProps = useMenuButton(props); return (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_6__.createElement)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_6__.createElement)( TagName, htmlProps ); @@ -24858,34 +22612,34 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ } ); - /* harmony import */ var _chunks_5KKPXPXV_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _chunks_FUGOO6U6_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ../__chunks/5KKPXPXV.js */ './node_modules/@ariakit/react-core/esm/__chunks/5KKPXPXV.js' + /*! ../__chunks/FUGOO6U6.js */ './node_modules/@ariakit/react-core/esm/__chunks/FUGOO6U6.js' ); - /* harmony import */ var _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ../__chunks/VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ../__chunks/ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); ('use client'); // src/menu/menu-group-label.tsx var TagName = 'div'; var useMenuGroupLabel = (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createHook)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createHook)( function useMenuGroupLabel2(props) { props = (0, - _chunks_5KKPXPXV_js__WEBPACK_IMPORTED_MODULE_0__.useCompositeGroupLabel)( + _chunks_FUGOO6U6_js__WEBPACK_IMPORTED_MODULE_0__.useCompositeGroupLabel)( props ); return props; } ); var MenuGroupLabel = (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.forwardRef)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.forwardRef)( function MenuGroupLabel2(props) { const htmlProps = useMenuGroupLabel(props); return (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createElement)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createElement)( TagName, htmlProps ); @@ -24918,34 +22672,34 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ } ); - /* harmony import */ var _chunks_T4WMOWCD_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _chunks_QNTIVZIC_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ../__chunks/T4WMOWCD.js */ './node_modules/@ariakit/react-core/esm/__chunks/T4WMOWCD.js' + /*! ../__chunks/QNTIVZIC.js */ './node_modules/@ariakit/react-core/esm/__chunks/QNTIVZIC.js' ); - /* harmony import */ var _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ../__chunks/VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ../__chunks/ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); ('use client'); // src/menu/menu-group.tsx var TagName = 'div'; var useMenuGroup = (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createHook)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createHook)( function useMenuGroup2(props) { props = (0, - _chunks_T4WMOWCD_js__WEBPACK_IMPORTED_MODULE_0__.useCompositeGroup)( + _chunks_QNTIVZIC_js__WEBPACK_IMPORTED_MODULE_0__.useCompositeGroup)( props ); return props; } ); var MenuGroup = (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.forwardRef)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.forwardRef)( function MenuGroup2(props) { const htmlProps = useMenuGroup(props); return (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_1__.createElement)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_1__.createElement)( TagName, htmlProps ); @@ -24978,23 +22732,19 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ } ); - /* harmony import */ var _chunks_4QTMCR75_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ../__chunks/4QTMCR75.js */ './node_modules/@ariakit/react-core/esm/__chunks/4QTMCR75.js' - ); - /* harmony import */ var _chunks_X5OJP2NB_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _chunks_SPU3NB66_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ../__chunks/X5OJP2NB.js */ './node_modules/@ariakit/react-core/esm/__chunks/X5OJP2NB.js' + /*! ../__chunks/SPU3NB66.js */ './node_modules/@ariakit/react-core/esm/__chunks/SPU3NB66.js' ); - /* harmony import */ var _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _chunks_4U4UFXBE_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ../__chunks/VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ../__chunks/4U4UFXBE.js */ './node_modules/@ariakit/react-core/esm/__chunks/4U4UFXBE.js' ); - /* harmony import */ var _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ../__chunks/3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' + /*! ../__chunks/ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( /*! react */ './node_modules/react/index.js' ); @@ -25004,41 +22754,26 @@ If there's a particular need for this, please submit a feature request at https: var TagName = 'span'; var useMenuItemCheck = (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.createHook)( - function useMenuItemCheck2(_a) { - var _b = _a, - { store, checked } = _b, - props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__objRest)( - _b, - ['store', 'checked'] - ); + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.createHook)( + function useMenuItemCheck2({ store, checked, ...props }) { const context = (0, - react__WEBPACK_IMPORTED_MODULE_4__.useContext)( - _chunks_4QTMCR75_js__WEBPACK_IMPORTED_MODULE_0__.MenuItemCheckedContext + react__WEBPACK_IMPORTED_MODULE_3__.useContext)( + _chunks_SPU3NB66_js__WEBPACK_IMPORTED_MODULE_0__.MenuItemCheckedContext ); checked = checked != null ? checked : context; props = (0, - _chunks_X5OJP2NB_js__WEBPACK_IMPORTED_MODULE_1__.useCheckboxCheck)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - {}, - props - ), - { checked } - ) + _chunks_4U4UFXBE_js__WEBPACK_IMPORTED_MODULE_1__.useCheckboxCheck)( + { ...props, checked } ); return props; } ); var MenuItemCheck = (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.forwardRef)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.forwardRef)( function MenuItemCheck2(props) { const htmlProps = useMenuItemCheck(props); return (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.createElement)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.createElement)( TagName, htmlProps ); @@ -25071,39 +22806,35 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ } ); - /* harmony import */ var _chunks_BSJHR6LI_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _chunks_K6RNI2CX_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ../__chunks/BSJHR6LI.js */ './node_modules/@ariakit/react-core/esm/__chunks/BSJHR6LI.js' + /*! ../__chunks/K6RNI2CX.js */ './node_modules/@ariakit/react-core/esm/__chunks/K6RNI2CX.js' ); - /* harmony import */ var _chunks_4QTMCR75_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _chunks_SPU3NB66_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ../__chunks/4QTMCR75.js */ './node_modules/@ariakit/react-core/esm/__chunks/4QTMCR75.js' + /*! ../__chunks/SPU3NB66.js */ './node_modules/@ariakit/react-core/esm/__chunks/SPU3NB66.js' ); - /* harmony import */ var _chunks_KPSSTU6K_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _chunks_KJ2ELZJV_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ../__chunks/KPSSTU6K.js */ './node_modules/@ariakit/react-core/esm/__chunks/KPSSTU6K.js' + /*! ../__chunks/KJ2ELZJV.js */ './node_modules/@ariakit/react-core/esm/__chunks/KJ2ELZJV.js' ); - /* harmony import */ var _chunks_KPUWHTQJ_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _chunks_7LQR24VD_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! ../__chunks/KPUWHTQJ.js */ './node_modules/@ariakit/react-core/esm/__chunks/KPUWHTQJ.js' + /*! ../__chunks/7LQR24VD.js */ './node_modules/@ariakit/react-core/esm/__chunks/7LQR24VD.js' ); - /* harmony import */ var _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! ../__chunks/VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ../__chunks/ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_5__ = + /* harmony import */ var _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( - /*! ../__chunks/5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! ../__chunks/K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__ = - __webpack_require__( - /*! ../__chunks/3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' - ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_7__ = + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8__ = + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__( /*! react */ './node_modules/react/index.js' ); @@ -25141,44 +22872,31 @@ If there's a particular need for this, please submit a feature request at https: return storeValue.filter((v) => v !== primitiveValue); } var useMenuItemCheckbox = (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_4__.createHook)( - function useMenuItemCheckbox2(_a) { - var _b = _a, - { - store, - name, - value, - checked, - defaultChecked: defaultCheckedProp, - hideOnClick = false, - } = _b, - props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__.__objRest)( - _b, - [ - 'store', - 'name', - 'value', - 'checked', - 'defaultChecked', - 'hideOnClick', - ] - ); + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_4__.createHook)( + function useMenuItemCheckbox2({ + store, + name, + value, + checked, + defaultChecked: defaultCheckedProp, + hideOnClick = false, + ...props + }) { const context = (0, - _chunks_4QTMCR75_js__WEBPACK_IMPORTED_MODULE_1__.useMenuScopedContext)(); + _chunks_SPU3NB66_js__WEBPACK_IMPORTED_MODULE_1__.useMenuScopedContext)(); store = store || context; (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_7__.invariant)( + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__.invariant)( store, true && 'MenuItemCheckbox must be wrapped in a MenuList or Menu component' ); const defaultChecked = (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_5__.useInitialValue)( + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_5__.useInitialValue)( defaultCheckedProp ); (0, - react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(() => { + react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(() => { store == null ? void 0 : store.setValue(name, (prevValue = []) => { @@ -25187,7 +22905,7 @@ If there's a particular need for this, please submit a feature request at https: }); }, [store, name, value, defaultChecked]); (0, - react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(() => { + react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(() => { if (checked === void 0) return; store == null ? void 0 @@ -25200,7 +22918,7 @@ If there's a particular need for this, please submit a feature request at https: }); }, [store, name, value, checked]); const checkboxStore = (0, - _chunks_KPSSTU6K_js__WEBPACK_IMPORTED_MODULE_2__.useCheckboxStore)( + _chunks_KJ2ELZJV_js__WEBPACK_IMPORTED_MODULE_2__.useCheckboxStore)( { value: store.useState( (state) => state.values[name] @@ -25226,7 +22944,7 @@ If there's a particular need for this, please submit a feature request at https: return nextValue; if ( (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_7__.shallowEqual)( + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__.shallowEqual)( internalValue, nextValue ) @@ -25237,45 +22955,35 @@ If there's a particular need for this, please submit a feature request at https: }, } ); + props = { + role: 'menuitemcheckbox', + ...props, + }; props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__.__spreadValues)( + _chunks_7LQR24VD_js__WEBPACK_IMPORTED_MODULE_3__.useCheckbox)( { - role: 'menuitemcheckbox', - }, - props + store: checkboxStore, + name, + value, + checked, + ...props, + } ); props = (0, - _chunks_KPUWHTQJ_js__WEBPACK_IMPORTED_MODULE_3__.useCheckbox)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__.__spreadValues)( - { - store: checkboxStore, - name, - value, - checked, - }, - props - ) - ); - props = (0, - _chunks_BSJHR6LI_js__WEBPACK_IMPORTED_MODULE_0__.useMenuItem)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_6__.__spreadValues)( - { store, hideOnClick }, - props - ) + _chunks_K6RNI2CX_js__WEBPACK_IMPORTED_MODULE_0__.useMenuItem)( + { store, hideOnClick, ...props } ); return props; } ); var MenuItemCheckbox = (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_4__.memo)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_4__.memo)( (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_4__.forwardRef)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_4__.forwardRef)( function MenuItemCheckbox2(props) { const htmlProps = useMenuItemCheckbox(props); return (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_4__.createElement)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_4__.createElement)( TagName, htmlProps ); @@ -25309,39 +23017,35 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ } ); - /* harmony import */ var _chunks_BSJHR6LI_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _chunks_K6RNI2CX_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ../__chunks/BSJHR6LI.js */ './node_modules/@ariakit/react-core/esm/__chunks/BSJHR6LI.js' + /*! ../__chunks/K6RNI2CX.js */ './node_modules/@ariakit/react-core/esm/__chunks/K6RNI2CX.js' ); - /* harmony import */ var _chunks_4QTMCR75_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _chunks_SPU3NB66_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ../__chunks/4QTMCR75.js */ './node_modules/@ariakit/react-core/esm/__chunks/4QTMCR75.js' + /*! ../__chunks/SPU3NB66.js */ './node_modules/@ariakit/react-core/esm/__chunks/SPU3NB66.js' ); - /* harmony import */ var _chunks_SQZLCNLX_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _chunks_D7BWB6V7_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ../__chunks/SQZLCNLX.js */ './node_modules/@ariakit/react-core/esm/__chunks/SQZLCNLX.js' + /*! ../__chunks/D7BWB6V7.js */ './node_modules/@ariakit/react-core/esm/__chunks/D7BWB6V7.js' ); - /* harmony import */ var _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! ../__chunks/VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ../__chunks/ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! ../__chunks/5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! ../__chunks/K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__ = - __webpack_require__( - /*! ../__chunks/3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' - ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__ = + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__( /*! react */ './node_modules/react/index.js' ); - /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__( /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' ); @@ -25356,44 +23060,31 @@ If there's a particular need for this, please submit a feature request at https: return prevValue; } var useMenuItemRadio = (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__.createHook)( - function useMenuItemRadio2(_a) { - var _b = _a, - { - store, - name, - value, - checked, - onChange: onChangeProp, - hideOnClick = false, - } = _b, - props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__objRest)( - _b, - [ - 'store', - 'name', - 'value', - 'checked', - 'onChange', - 'hideOnClick', - ] - ); + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__.createHook)( + function useMenuItemRadio2({ + store, + name, + value, + checked, + onChange: onChangeProp, + hideOnClick = false, + ...props + }) { const context = (0, - _chunks_4QTMCR75_js__WEBPACK_IMPORTED_MODULE_1__.useMenuScopedContext)(); + _chunks_SPU3NB66_js__WEBPACK_IMPORTED_MODULE_1__.useMenuScopedContext)(); store = store || context; (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__.invariant)( + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__.invariant)( store, true && 'MenuItemRadio must be wrapped in a MenuList or Menu component' ); const defaultChecked = (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useInitialValue)( + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useInitialValue)( props.defaultChecked ); (0, - react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(() => { + react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => { store == null ? void 0 : store.setValue(name, (prevValue = false) => { @@ -25405,7 +23096,7 @@ If there's a particular need for this, please submit a feature request at https: }); }, [store, name, value, defaultChecked]); (0, - react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(() => { + react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => { if (checked === void 0) return; store == null ? void 0 @@ -25421,76 +23112,63 @@ If there's a particular need for this, please submit a feature request at https: (state) => state.values[name] === value ); props = (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useWrapElement)( + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useWrapElement)( props, (element) => /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)( - _chunks_4QTMCR75_js__WEBPACK_IMPORTED_MODULE_1__ + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)( + _chunks_SPU3NB66_js__WEBPACK_IMPORTED_MODULE_1__ .MenuItemCheckedContext.Provider, { value: !!isChecked, children: element } ), [isChecked] ); + props = { + role: 'menuitemradio', + ...props, + }; props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( + _chunks_D7BWB6V7_js__WEBPACK_IMPORTED_MODULE_2__.useRadio)( { - role: 'menuitemradio', - }, - props - ); - props = (0, - _chunks_SQZLCNLX_js__WEBPACK_IMPORTED_MODULE_2__.useRadio)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - { - name, - value, - checked: isChecked, - onChange(event) { - onChangeProp == null - ? void 0 - : onChangeProp(event); - if (event.defaultPrevented) return; - const element = event.currentTarget; - store == null - ? void 0 - : store.setValue( - name, - (prevValue) => { - return getValue( - prevValue, - value, - checked != null - ? checked - : element.checked - ); - } + name, + value, + checked: isChecked, + onChange(event) { + onChangeProp == null + ? void 0 + : onChangeProp(event); + if (event.defaultPrevented) return; + const element = event.currentTarget; + store == null + ? void 0 + : store.setValue(name, (prevValue) => { + return getValue( + prevValue, + value, + checked != null + ? checked + : element.checked ); - }, + }); }, - props - ) + ...props, + } ); props = (0, - _chunks_BSJHR6LI_js__WEBPACK_IMPORTED_MODULE_0__.useMenuItem)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - { store, hideOnClick }, - props - ) + _chunks_K6RNI2CX_js__WEBPACK_IMPORTED_MODULE_0__.useMenuItem)( + { store, hideOnClick, ...props } ); return props; } ); var MenuItemRadio = (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__.memo)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__.memo)( (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__.forwardRef)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__.forwardRef)( function MenuItemRadio2(props) { const htmlProps = useMenuItemRadio(props); return (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__.createElement)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__.createElement)( TagName, htmlProps ); @@ -25524,56 +23202,41 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ } ); - /* harmony import */ var _chunks_4QTMCR75_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ../__chunks/4QTMCR75.js */ './node_modules/@ariakit/react-core/esm/__chunks/4QTMCR75.js' - ); - /* harmony import */ var _chunks_JJEANXHI_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _chunks_SPU3NB66_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ../__chunks/JJEANXHI.js */ './node_modules/@ariakit/react-core/esm/__chunks/JJEANXHI.js' + /*! ../__chunks/SPU3NB66.js */ './node_modules/@ariakit/react-core/esm/__chunks/SPU3NB66.js' ); - /* harmony import */ var _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _chunks_E4E6RWAK_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ../__chunks/VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ../__chunks/E4E6RWAK.js */ './node_modules/@ariakit/react-core/esm/__chunks/E4E6RWAK.js' ); - /* harmony import */ var _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ../__chunks/3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' + /*! ../__chunks/ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); ('use client'); // src/menu/menu-separator.tsx var TagName = 'hr'; var useMenuSeparator = (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.createHook)( - function useMenuSeparator2(_a) { - var _b = _a, - { store } = _b, - props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__objRest)( - _b, - ['store'] - ); + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.createHook)( + function useMenuSeparator2({ store, ...props }) { const context = (0, - _chunks_4QTMCR75_js__WEBPACK_IMPORTED_MODULE_0__.useMenuContext)(); + _chunks_SPU3NB66_js__WEBPACK_IMPORTED_MODULE_0__.useMenuContext)(); store = store || context; props = (0, - _chunks_JJEANXHI_js__WEBPACK_IMPORTED_MODULE_1__.useCompositeSeparator)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_3__.__spreadValues)( - { store }, - props - ) + _chunks_E4E6RWAK_js__WEBPACK_IMPORTED_MODULE_1__.useCompositeSeparator)( + { store, ...props } ); return props; } ); var MenuSeparator = (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.forwardRef)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.forwardRef)( function MenuSeparator2(props) { const htmlProps = useMenuSeparator(props); return (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.createElement)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.createElement)( TagName, htmlProps ); @@ -25606,51 +23269,47 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ } ); - /* harmony import */ var _chunks_W5BTY3ZG_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _chunks_T7IYZ6JK_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ../__chunks/W5BTY3ZG.js */ './node_modules/@ariakit/react-core/esm/__chunks/W5BTY3ZG.js' + /*! ../__chunks/T7IYZ6JK.js */ './node_modules/@ariakit/react-core/esm/__chunks/T7IYZ6JK.js' ); - /* harmony import */ var _chunks_73HKIOBA_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _chunks_7QZRSZWP_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ../__chunks/73HKIOBA.js */ './node_modules/@ariakit/react-core/esm/__chunks/73HKIOBA.js' + /*! ../__chunks/7QZRSZWP.js */ './node_modules/@ariakit/react-core/esm/__chunks/7QZRSZWP.js' ); - /* harmony import */ var _chunks_4QTMCR75_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _chunks_SPU3NB66_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ../__chunks/4QTMCR75.js */ './node_modules/@ariakit/react-core/esm/__chunks/4QTMCR75.js' + /*! ../__chunks/SPU3NB66.js */ './node_modules/@ariakit/react-core/esm/__chunks/SPU3NB66.js' ); - /* harmony import */ var _chunks_NI3IVY7K_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _chunks_2S4Q4M35_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! ../__chunks/NI3IVY7K.js */ './node_modules/@ariakit/react-core/esm/__chunks/NI3IVY7K.js' + /*! ../__chunks/2S4Q4M35.js */ './node_modules/@ariakit/react-core/esm/__chunks/2S4Q4M35.js' ); - /* harmony import */ var _chunks_RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _chunks_Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! ../__chunks/RTNCFSKZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/RTNCFSKZ.js' + /*! ../__chunks/Q3KUZPD7.js */ './node_modules/@ariakit/react-core/esm/__chunks/Q3KUZPD7.js' ); - /* harmony import */ var _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_5__ = + /* harmony import */ var _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( - /*! ../__chunks/VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ../__chunks/ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_6__ = + /* harmony import */ var _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__( - /*! ../__chunks/5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! ../__chunks/K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__ = - __webpack_require__( - /*! ../__chunks/3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' - ); - /* harmony import */ var _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_8__ = + /* harmony import */ var _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__( /*! @ariakit/core/utils/events */ './node_modules/@ariakit/core/esm/utils/events.js' ); - /* harmony import */ var _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_9__ = + /* harmony import */ var _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__( /*! @ariakit/core/utils/focus */ './node_modules/@ariakit/core/esm/utils/focus.js' ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_10__ = + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_11__ = + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__( /*! react */ './node_modules/react/index.js' ); @@ -25660,117 +23319,90 @@ If there's a particular need for this, please submit a feature request at https: var TagName = 'div'; var useMenu = (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_5__.createHook)( - function useMenu2(_a) { - var _b = _a, - { - store, - modal: modalProp = false, - portal = !!modalProp, - hideOnEscape = true, - autoFocusOnShow = true, - hideOnHoverOutside, - alwaysVisible, - } = _b, - props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__objRest)( - _b, - [ - 'store', - 'modal', - 'portal', - 'hideOnEscape', - 'autoFocusOnShow', - 'hideOnHoverOutside', - 'alwaysVisible', - ] - ); + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_5__.createHook)( + function useMenu2({ + store, + modal: modalProp = false, + portal = !!modalProp, + hideOnEscape = true, + autoFocusOnShow = true, + hideOnHoverOutside, + alwaysVisible, + ...props + }) { const context = (0, - _chunks_4QTMCR75_js__WEBPACK_IMPORTED_MODULE_2__.useMenuProviderContext)(); + _chunks_SPU3NB66_js__WEBPACK_IMPORTED_MODULE_2__.useMenuProviderContext)(); store = store || context; (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_10__.invariant)( + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_9__.invariant)( store, true && 'Menu must receive a `store` prop or be wrapped in a MenuProvider component.' ); const ref = (0, - react__WEBPACK_IMPORTED_MODULE_11__.useRef)(null); + react__WEBPACK_IMPORTED_MODULE_10__.useRef)(null); const parentMenu = store.parent; const parentMenubar = store.menubar; const hasParentMenu = !!parentMenu; const parentIsMenubar = !!parentMenubar && !hasParentMenu; - props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__spreadValues)( - {}, - props + props = { + ...props, + ref: (0, + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_6__.useMergeRefs)( + ref, + props.ref ), + }; + const { + 'aria-labelledby': ariaLabelledBy, + ...menuListProps + } = (0, + _chunks_T7IYZ6JK_js__WEBPACK_IMPORTED_MODULE_0__.useMenuList)( { - ref: (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_6__.useMergeRefs)( - ref, - props.ref - ), + store, + alwaysVisible, + ...props, } ); - const _a2 = (0, - _chunks_W5BTY3ZG_js__WEBPACK_IMPORTED_MODULE_0__.useMenuList)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__spreadValues)( - { - store, - alwaysVisible, - }, - props - ) - ), - { 'aria-labelledby': ariaLabelledBy } = _a2, - menuListProps = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__objRest)( - _a2, - ['aria-labelledby'] - ); props = menuListProps; const [initialFocusRef, setInitialFocusRef] = (0, - react__WEBPACK_IMPORTED_MODULE_11__.useState)(); + react__WEBPACK_IMPORTED_MODULE_10__.useState)(); const autoFocusOnShowState = store.useState('autoFocusOnShow'); const initialFocus = store.useState('initialFocus'); const baseElement = store.useState('baseElement'); const items = store.useState('renderedItems'); (0, - react__WEBPACK_IMPORTED_MODULE_11__.useEffect)(() => { + react__WEBPACK_IMPORTED_MODULE_10__.useEffect)(() => { let cleaning = false; setInitialFocusRef((prevInitialFocusRef) => { - var _a3, _b2, _c; + var _a, _b, _c; if (cleaning) return; if (!autoFocusOnShowState) return; if ( - (_a3 = + (_a = prevInitialFocusRef == null ? void 0 : prevInitialFocusRef.current) == null ? void 0 - : _a3.isConnected + : _a.isConnected ) return prevInitialFocusRef; const ref2 = (0, - react__WEBPACK_IMPORTED_MODULE_11__.createRef)(); + react__WEBPACK_IMPORTED_MODULE_10__.createRef)(); switch (initialFocus) { // TODO: Refactor case 'first': ref2.current = - ((_b2 = items.find( + ((_b = items.find( (item) => !item.disabled && item.element )) == null ? void 0 - : _b2.element) || null; + : _b.element) || null; break; case 'last': ref2.current = @@ -25806,19 +23438,19 @@ If there's a particular need for this, please submit a feature request at https: !!props.initialFocus || !!modal; const contentElement = (0, - _chunks_RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_4__.useStoreState)( + _chunks_Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_4__.useStoreState)( store.combobox || store, 'contentElement' ); const parentContentElement = (0, - _chunks_RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_4__.useStoreState)( + _chunks_Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_4__.useStoreState)( (parentMenu == null ? void 0 : parentMenu.combobox) || parentMenu, 'contentElement' ); const preserveTabOrderAnchor = (0, - react__WEBPACK_IMPORTED_MODULE_11__.useMemo)(() => { + react__WEBPACK_IMPORTED_MODULE_10__.useMemo)(() => { if (!parentContentElement) return; if (!contentElement) return; const role = contentElement.getAttribute('role'); @@ -25832,139 +23464,117 @@ If there's a particular need for this, please submit a feature request at https: return parentContentElement; }, [contentElement, parentContentElement]); if (preserveTabOrderAnchor !== void 0) { - props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__spreadValues)( - { - preserveTabOrderAnchor, - }, - props - ); + props = { + preserveTabOrderAnchor, + ...props, + }; } props = (0, - _chunks_73HKIOBA_js__WEBPACK_IMPORTED_MODULE_1__.useHovercard)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__spreadValues)( - { - store, - alwaysVisible, - initialFocus: initialFocusRef, - autoFocusOnShow: mayAutoFocusOnShow - ? canAutoFocusOnShow && - autoFocusOnShow - : autoFocusOnShowState || !!modal, - }, - props - ), - { - hideOnEscape(event) { + _chunks_7QZRSZWP_js__WEBPACK_IMPORTED_MODULE_1__.useHovercard)( + { + store, + alwaysVisible, + initialFocus: initialFocusRef, + autoFocusOnShow: mayAutoFocusOnShow + ? canAutoFocusOnShow && autoFocusOnShow + : autoFocusOnShowState || !!modal, + ...props, + hideOnEscape(event) { + if ( + (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_9__.isFalsyBooleanCallback)( + hideOnEscape, + event + ) + ) + return false; + store == null ? void 0 : store.hideAll(); + return true; + }, + hideOnHoverOutside(event) { + const disclosureElement = + store == null + ? void 0 + : store.getState() + .disclosureElement; + const getHideOnHoverOutside = () => { + if ( + typeof hideOnHoverOutside === + 'function' + ) { + return hideOnHoverOutside(event); + } + if (hideOnHoverOutside != null) + return hideOnHoverOutside; + if (hasParentMenu) return true; + if (!parentIsMenubar) return false; + if (!disclosureElement) return true; if ( (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_10__.isFalsyBooleanCallback)( - hideOnEscape, - event + _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_8__.hasFocusWithin)( + disclosureElement ) ) return false; - store == null - ? void 0 - : store.hideAll(); return true; - }, - hideOnHoverOutside(event) { - const disclosureElement = - store == null - ? void 0 - : store.getState() - .disclosureElement; - const getHideOnHoverOutside = () => { - if ( - typeof hideOnHoverOutside === - 'function' - ) { - return hideOnHoverOutside( - event - ); - } - if (hideOnHoverOutside != null) - return hideOnHoverOutside; - if (hasParentMenu) return true; - if (!parentIsMenubar) return false; - if (!disclosureElement) return true; - if ( - (0, - _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_9__.hasFocusWithin)( - disclosureElement - ) - ) - return false; - return true; - }; - if (!getHideOnHoverOutside()) - return false; - if (event.defaultPrevented) return true; - if (!hasParentMenu) return true; - if (!disclosureElement) return true; - (0, - _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_8__.fireEvent)( - disclosureElement, - 'mouseout', - event - ); + }; + if (!getHideOnHoverOutside()) return false; + if (event.defaultPrevented) return true; + if (!hasParentMenu) return true; + if (!disclosureElement) return true; + (0, + _ariakit_core_utils_events__WEBPACK_IMPORTED_MODULE_7__.fireEvent)( + disclosureElement, + 'mouseout', + event + ); + if ( + !(0, + _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_8__.hasFocusWithin)( + disclosureElement + ) + ) + return true; + requestAnimationFrame(() => { if ( - !(0, - _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_9__.hasFocusWithin)( + (0, + _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_8__.hasFocusWithin)( disclosureElement ) ) - return true; - requestAnimationFrame(() => { - if ( - (0, - _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_9__.hasFocusWithin)( - disclosureElement - ) - ) - return; - store == null - ? void 0 - : store.hide(); - }); - return false; - }, - modal, - portal, - backdrop: hasParentMenu - ? false - : props.backdrop, - } - ) - ); - props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_7__.__spreadValues)( - { - 'aria-labelledby': ariaLabelledBy, - }, - props + return; + store == null ? void 0 : store.hide(); + }); + return false; + }, + modal, + portal, + backdrop: hasParentMenu + ? false + : props.backdrop, + } ); + props = { + 'aria-labelledby': ariaLabelledBy, + ...props, + }; return props; } ); var Menu = (0, - _chunks_NI3IVY7K_js__WEBPACK_IMPORTED_MODULE_3__.createDialogComponent)( + _chunks_2S4Q4M35_js__WEBPACK_IMPORTED_MODULE_3__.createDialogComponent)( (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_5__.forwardRef)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_5__.forwardRef)( function Menu2(props) { const htmlProps = useMenu(props); return (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_5__.createElement)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_5__.createElement)( TagName, htmlProps ); } ), - _chunks_4QTMCR75_js__WEBPACK_IMPORTED_MODULE_2__.useMenuProviderContext + _chunks_SPU3NB66_js__WEBPACK_IMPORTED_MODULE_2__.useMenuProviderContext ); /***/ @@ -25993,31 +23603,27 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ } ); - /* harmony import */ var _chunks_BGBYET7R_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ../__chunks/BGBYET7R.js */ './node_modules/@ariakit/react-core/esm/__chunks/BGBYET7R.js' - ); - /* harmony import */ var _chunks_NSTBQJLB_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _chunks_NJV4AM4M_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ../__chunks/NSTBQJLB.js */ './node_modules/@ariakit/react-core/esm/__chunks/NSTBQJLB.js' + /*! ../__chunks/NJV4AM4M.js */ './node_modules/@ariakit/react-core/esm/__chunks/NJV4AM4M.js' ); - /* harmony import */ var _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _chunks_E7PWFDGB_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ../__chunks/VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ../__chunks/E7PWFDGB.js */ './node_modules/@ariakit/react-core/esm/__chunks/E7PWFDGB.js' ); - /* harmony import */ var _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ../__chunks/5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! ../__chunks/ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! ../__chunks/3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' + /*! ../__chunks/K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__ = + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); - /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' ); @@ -26027,59 +23633,45 @@ If there's a particular need for this, please submit a feature request at https: var TagName = 'div'; var useRadioGroup = (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.createHook)( - function useRadioGroup2(_a) { - var _b = _a, - { store } = _b, - props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__objRest)( - _b, - ['store'] - ); + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.createHook)( + function useRadioGroup2({ store, ...props }) { const context = (0, - _chunks_BGBYET7R_js__WEBPACK_IMPORTED_MODULE_0__.useRadioProviderContext)(); + _chunks_NJV4AM4M_js__WEBPACK_IMPORTED_MODULE_0__.useRadioProviderContext)(); store = store || context; (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__.invariant)( + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_4__.invariant)( store, true && 'RadioGroup must receive a `store` prop or be wrapped in a RadioProvider component.' ); props = (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__.useWrapElement)( + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__.useWrapElement)( props, (element) => /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)( - _chunks_BGBYET7R_js__WEBPACK_IMPORTED_MODULE_0__.RadioScopedContextProvider, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)( + _chunks_NJV4AM4M_js__WEBPACK_IMPORTED_MODULE_0__.RadioScopedContextProvider, { value: store, children: element } ), [store] ); + props = { + role: 'radiogroup', + ...props, + }; props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - { - role: 'radiogroup', - }, - props - ); - props = (0, - _chunks_NSTBQJLB_js__WEBPACK_IMPORTED_MODULE_1__.useComposite)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - { store }, - props - ) + _chunks_E7PWFDGB_js__WEBPACK_IMPORTED_MODULE_1__.useComposite)( + { store, ...props } ); return props; } ); var RadioGroup = (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.forwardRef)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.forwardRef)( function RadioGroup2(props) { const htmlProps = useRadioGroup(props); return (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.createElement)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.createElement)( TagName, htmlProps ); @@ -26112,31 +23704,27 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ } ); - /* harmony import */ var _chunks_QGC5LOGZ_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ../__chunks/QGC5LOGZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/QGC5LOGZ.js' - ); - /* harmony import */ var _chunks_NSTBQJLB_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _chunks_T3X6WUOS_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ../__chunks/NSTBQJLB.js */ './node_modules/@ariakit/react-core/esm/__chunks/NSTBQJLB.js' + /*! ../__chunks/T3X6WUOS.js */ './node_modules/@ariakit/react-core/esm/__chunks/T3X6WUOS.js' ); - /* harmony import */ var _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _chunks_E7PWFDGB_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ../__chunks/VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ../__chunks/E7PWFDGB.js */ './node_modules/@ariakit/react-core/esm/__chunks/E7PWFDGB.js' ); - /* harmony import */ var _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ../__chunks/5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! ../__chunks/ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! ../__chunks/3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' + /*! ../__chunks/K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__ = + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); - /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' ); @@ -26146,20 +23734,13 @@ If there's a particular need for this, please submit a feature request at https: var TagName = 'div'; var useTabList = (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.createHook)( - function useTabList2(_a) { - var _b = _a, - { store } = _b, - props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__objRest)( - _b, - ['store'] - ); + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.createHook)( + function useTabList2({ store, ...props }) { const context = (0, - _chunks_QGC5LOGZ_js__WEBPACK_IMPORTED_MODULE_0__.useTabProviderContext)(); + _chunks_T3X6WUOS_js__WEBPACK_IMPORTED_MODULE_0__.useTabProviderContext)(); store = store || context; (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__.invariant)( + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_4__.invariant)( store, true && 'TabList must receive a `store` prop or be wrapped in a TabProvider component.' @@ -26170,50 +23751,40 @@ If there's a particular need for this, please submit a feature request at https: : state.orientation ); props = (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__.useWrapElement)( + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__.useWrapElement)( props, (element) => /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)( - _chunks_QGC5LOGZ_js__WEBPACK_IMPORTED_MODULE_0__.TabScopedContextProvider, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)( + _chunks_T3X6WUOS_js__WEBPACK_IMPORTED_MODULE_0__.TabScopedContextProvider, { value: store, children: element } ), [store] ); if (store.composite) { - props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - { - focusable: false, - }, - props - ); + props = { + focusable: false, + ...props, + }; } + props = { + role: 'tablist', + 'aria-orientation': orientation, + ...props, + }; props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - { - role: 'tablist', - 'aria-orientation': orientation, - }, - props - ); - props = (0, - _chunks_NSTBQJLB_js__WEBPACK_IMPORTED_MODULE_1__.useComposite)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - { store }, - props - ) + _chunks_E7PWFDGB_js__WEBPACK_IMPORTED_MODULE_1__.useComposite)( + { store, ...props } ); return props; } ); var TabList = (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.forwardRef)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.forwardRef)( function TabList2(props) { const htmlProps = useTabList(props); return (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.createElement)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.createElement)( TagName, htmlProps ); @@ -26246,55 +23817,51 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ } ); - /* harmony import */ var _chunks_QGC5LOGZ_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _chunks_T3X6WUOS_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ../__chunks/QGC5LOGZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/QGC5LOGZ.js' + /*! ../__chunks/T3X6WUOS.js */ './node_modules/@ariakit/react-core/esm/__chunks/T3X6WUOS.js' ); - /* harmony import */ var _chunks_K4R5DNTX_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _chunks_HAX24JB7_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ../__chunks/K4R5DNTX.js */ './node_modules/@ariakit/react-core/esm/__chunks/K4R5DNTX.js' + /*! ../__chunks/HAX24JB7.js */ './node_modules/@ariakit/react-core/esm/__chunks/HAX24JB7.js' ); - /* harmony import */ var _chunks_T22PY7TE_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _chunks_33YRLYNQ_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ../__chunks/T22PY7TE.js */ './node_modules/@ariakit/react-core/esm/__chunks/T22PY7TE.js' + /*! ../__chunks/33YRLYNQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/33YRLYNQ.js' ); - /* harmony import */ var _chunks_Y62RTBST_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _chunks_DTXGDDAC_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! ../__chunks/Y62RTBST.js */ './node_modules/@ariakit/react-core/esm/__chunks/Y62RTBST.js' + /*! ../__chunks/DTXGDDAC.js */ './node_modules/@ariakit/react-core/esm/__chunks/DTXGDDAC.js' ); - /* harmony import */ var _chunks_OE2EFRVA_js__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _chunks_US3TW2XI_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! ../__chunks/OE2EFRVA.js */ './node_modules/@ariakit/react-core/esm/__chunks/OE2EFRVA.js' + /*! ../__chunks/US3TW2XI.js */ './node_modules/@ariakit/react-core/esm/__chunks/US3TW2XI.js' ); - /* harmony import */ var _chunks_RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_5__ = + /* harmony import */ var _chunks_Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( - /*! ../__chunks/RTNCFSKZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/RTNCFSKZ.js' + /*! ../__chunks/Q3KUZPD7.js */ './node_modules/@ariakit/react-core/esm/__chunks/Q3KUZPD7.js' ); - /* harmony import */ var _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_6__ = + /* harmony import */ var _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__( - /*! ../__chunks/VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ../__chunks/ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_7__ = + /* harmony import */ var _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__( - /*! ../__chunks/5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! ../__chunks/K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_8__ = - __webpack_require__( - /*! ../__chunks/3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' - ); - /* harmony import */ var _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_9__ = + /* harmony import */ var _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__( /*! @ariakit/core/utils/focus */ './node_modules/@ariakit/core/esm/utils/focus.js' ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_10__ = + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_11__ = + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__( /*! react */ './node_modules/react/index.js' ); - /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__ = + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__( /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' ); @@ -26304,80 +23871,67 @@ If there's a particular need for this, please submit a feature request at https: var TagName = 'div'; var useTabPanel = (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_6__.createHook)( - function useTabPanel2(_a) { - var _b = _a, - { - store, - unmountOnHide, - tabId: tabIdProp, - getItem: getItemProp, - scrollRestoration, - scrollElement, - } = _b, - props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_8__.__objRest)( - _b, - [ - 'store', - 'unmountOnHide', - 'tabId', - 'getItem', - 'scrollRestoration', - 'scrollElement', - ] - ); + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_6__.createHook)( + function useTabPanel2({ + store, + unmountOnHide, + tabId: tabIdProp, + getItem: getItemProp, + scrollRestoration, + scrollElement, + ...props + }) { const context = (0, - _chunks_QGC5LOGZ_js__WEBPACK_IMPORTED_MODULE_0__.useTabProviderContext)(); + _chunks_T3X6WUOS_js__WEBPACK_IMPORTED_MODULE_0__.useTabProviderContext)(); store = store || context; (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_10__.invariant)( + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_9__.invariant)( store, true && 'TabPanel must receive a `store` prop or be wrapped in a TabProvider component.' ); const ref = (0, - react__WEBPACK_IMPORTED_MODULE_11__.useRef)(null); + react__WEBPACK_IMPORTED_MODULE_10__.useRef)(null); const id = (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_7__.useId)( + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_7__.useId)( props.id ); const tabId = (0, - _chunks_RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_5__.useStoreState)( + _chunks_Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_5__.useStoreState)( store.panels, () => { - var _a2; + var _a; return ( tabIdProp || - ((_a2 = + ((_a = store == null ? void 0 : store.panels.item(id)) == null ? void 0 - : _a2.tabId) + : _a.tabId) ); } ); const open = (0, - _chunks_RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_5__.useStoreState)( + _chunks_Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_5__.useStoreState)( store, (state) => !!tabId && state.selectedId === tabId ); const disclosure = (0, - _chunks_T22PY7TE_js__WEBPACK_IMPORTED_MODULE_2__.useDisclosureStore)( + _chunks_33YRLYNQ_js__WEBPACK_IMPORTED_MODULE_2__.useDisclosureStore)( { open } ); const mounted = (0, - _chunks_RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_5__.useStoreState)( + _chunks_Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_5__.useStoreState)( disclosure, 'mounted' ); const scrollPositionRef = (0, - react__WEBPACK_IMPORTED_MODULE_11__.useRef)( + react__WEBPACK_IMPORTED_MODULE_10__.useRef)( /* @__PURE__ */ new Map() ); const getScrollElement = (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_7__.useEvent)( + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_7__.useEvent)( () => { const panelElement = ref.current; if (!panelElement) return null; @@ -26392,8 +23946,8 @@ If there's a particular need for this, please submit a feature request at https: } ); (0, - react__WEBPACK_IMPORTED_MODULE_11__.useEffect)(() => { - var _a2, _b2; + react__WEBPACK_IMPORTED_MODULE_10__.useEffect)(() => { + var _a, _b; if (!scrollRestoration) return; if (!mounted) return; const element = getScrollElement(); @@ -26406,15 +23960,13 @@ If there's a particular need for this, please submit a feature request at https: const position = scrollPositionRef.current.get(tabId); element.scroll( - (_a2 = - position == null ? void 0 : position.x) != + (_a = position == null ? void 0 : position.x) != null - ? _a2 + ? _a : 0, - (_b2 = - position == null ? void 0 : position.y) != + (_b = position == null ? void 0 : position.y) != null - ? _b2 + ? _b : 0 ); const onScroll = () => { @@ -26435,31 +23987,27 @@ If there's a particular need for this, please submit a feature request at https: store, ]); const [hasTabbableChildren, setHasTabbableChildren] = - (0, react__WEBPACK_IMPORTED_MODULE_11__.useState)( + (0, react__WEBPACK_IMPORTED_MODULE_10__.useState)( false ); (0, - react__WEBPACK_IMPORTED_MODULE_11__.useEffect)(() => { + react__WEBPACK_IMPORTED_MODULE_10__.useEffect)(() => { const element = ref.current; if (!element) return; const tabbable = (0, - _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_9__.getAllTabbableIn)( + _ariakit_core_utils_focus__WEBPACK_IMPORTED_MODULE_8__.getAllTabbableIn)( element ); setHasTabbableChildren(!!tabbable.length); }, []); const getItem = (0, - react__WEBPACK_IMPORTED_MODULE_11__.useCallback)( + react__WEBPACK_IMPORTED_MODULE_10__.useCallback)( (item) => { - const nextItem = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_8__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_8__.__spreadValues)( - {}, - item - ), - { id: id || item.id, tabId: tabIdProp } - ); + const nextItem = { + ...item, + id: id || item.id, + tabId: tabIdProp, + }; if (getItemProp) { return getItemProp(nextItem); } @@ -26469,7 +24017,7 @@ If there's a particular need for this, please submit a feature request at https: ); const onKeyDownProp = props.onKeyDown; const onKeyDown = (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_7__.useEvent)( + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_7__.useEvent)( (event) => { onKeyDownProp == null ? void 0 @@ -26493,83 +24041,59 @@ If there's a particular need for this, please submit a feature request at https: } ); props = (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_7__.useWrapElement)( + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_7__.useWrapElement)( props, (element) => /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)( - _chunks_QGC5LOGZ_js__WEBPACK_IMPORTED_MODULE_0__.TabScopedContextProvider, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)( + _chunks_T3X6WUOS_js__WEBPACK_IMPORTED_MODULE_0__.TabScopedContextProvider, { value: store, children: element } ), [store] ); - props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_8__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_8__.__spreadValues)( - { - id, - role: 'tabpanel', - 'aria-labelledby': tabId || void 0, - }, - props + props = { + id, + role: 'tabpanel', + 'aria-labelledby': tabId || void 0, + ...props, + children: + unmountOnHide && !mounted + ? null + : props.children, + ref: (0, + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_7__.useMergeRefs)( + ref, + props.ref ), + onKeyDown, + }; + props = (0, + _chunks_US3TW2XI_js__WEBPACK_IMPORTED_MODULE_4__.useFocusable)( { - children: - unmountOnHide && !mounted - ? null - : props.children, - ref: (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_7__.useMergeRefs)( - ref, - props.ref - ), - onKeyDown, + // If the tab panel is rendered as part of another composite widget such + // as combobox, it should not be focusable. + focusable: + !store.composite && !hasTabbableChildren, + ...props, } ); props = (0, - _chunks_OE2EFRVA_js__WEBPACK_IMPORTED_MODULE_4__.useFocusable)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_8__.__spreadValues)( - { - // If the tab panel is rendered as part of another composite widget such - // as combobox, it should not be focusable. - focusable: - !store.composite && - !hasTabbableChildren, - }, - props - ) - ); - props = (0, - _chunks_K4R5DNTX_js__WEBPACK_IMPORTED_MODULE_1__.useDisclosureContent)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_8__.__spreadValues)( - { store: disclosure }, - props - ) + _chunks_HAX24JB7_js__WEBPACK_IMPORTED_MODULE_1__.useDisclosureContent)( + { store: disclosure, ...props } ); props = (0, - _chunks_Y62RTBST_js__WEBPACK_IMPORTED_MODULE_3__.useCollectionItem)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_8__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_8__.__spreadValues)( - { store: store.panels }, - props - ), - { getItem } - ) + _chunks_DTXGDDAC_js__WEBPACK_IMPORTED_MODULE_3__.useCollectionItem)( + { store: store.panels, ...props, getItem } ); return props; } ); var TabPanel = (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_6__.forwardRef)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_6__.forwardRef)( function TabPanel2(props) { const htmlProps = useTabPanel(props); return (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_6__.createElement)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_6__.createElement)( TagName, htmlProps ); @@ -26602,39 +24126,35 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ } ); - /* harmony import */ var _chunks_QGC5LOGZ_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _chunks_T3X6WUOS_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ../__chunks/QGC5LOGZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/QGC5LOGZ.js' + /*! ../__chunks/T3X6WUOS.js */ './node_modules/@ariakit/react-core/esm/__chunks/T3X6WUOS.js' ); - /* harmony import */ var _chunks_SBSPVDDI_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _chunks_FIT2LC3L_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ../__chunks/SBSPVDDI.js */ './node_modules/@ariakit/react-core/esm/__chunks/SBSPVDDI.js' + /*! ../__chunks/FIT2LC3L.js */ './node_modules/@ariakit/react-core/esm/__chunks/FIT2LC3L.js' ); - /* harmony import */ var _chunks_RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _chunks_Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ../__chunks/RTNCFSKZ.js */ './node_modules/@ariakit/react-core/esm/__chunks/RTNCFSKZ.js' + /*! ../__chunks/Q3KUZPD7.js */ './node_modules/@ariakit/react-core/esm/__chunks/Q3KUZPD7.js' ); - /* harmony import */ var _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! ../__chunks/VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ../__chunks/ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! ../__chunks/5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! ../__chunks/K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__ = - __webpack_require__( - /*! ../__chunks/3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' - ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__ = + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__( /*! react */ './node_modules/react/index.js' ); - /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__( /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' ); @@ -26644,44 +24164,33 @@ If there's a particular need for this, please submit a feature request at https: var TagName = 'button'; var useTab = (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__.createHook)( - function useTab2(_a) { - var _b = _a, - { store, getItem: getItemProp } = _b, - props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__objRest)( - _b, - ['store', 'getItem'] - ); - var _a2; + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__.createHook)( + function useTab2({ + store, + getItem: getItemProp, + ...props + }) { + var _a; const context = (0, - _chunks_QGC5LOGZ_js__WEBPACK_IMPORTED_MODULE_0__.useTabScopedContext)(); + _chunks_T3X6WUOS_js__WEBPACK_IMPORTED_MODULE_0__.useTabScopedContext)(); store = store || context; (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__.invariant)( + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__.invariant)( store, true && 'Tab must be wrapped in a TabList component.' ); const defaultId = (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useId)(); + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useId)(); const id = props.id || defaultId; const dimmed = (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__.disabledFromProps)( + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__.disabledFromProps)( props ); const getItem = (0, - react__WEBPACK_IMPORTED_MODULE_7__.useCallback)( + react__WEBPACK_IMPORTED_MODULE_6__.useCallback)( (item) => { - const nextItem = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - {}, - item - ), - { dimmed } - ); + const nextItem = { ...item, dimmed }; if (getItemProp) { return getItemProp(nextItem); } @@ -26691,7 +24200,7 @@ If there's a particular need for this, please submit a feature request at https: ); const onClickProp = props.onClick; const onClick = (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useEvent)( + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useEvent)( (event) => { onClickProp == null ? void 0 @@ -26703,12 +24212,12 @@ If there's a particular need for this, please submit a feature request at https: } ); const panelId = store.panels.useState((state) => { - var _a3; - return (_a3 = state.items.find( + var _a2; + return (_a2 = state.items.find( (item) => item.tabId === id )) == null ? void 0 - : _a3.id; + : _a2.id; }); const shouldRegisterItem = defaultId ? props.shouldRegisterItem @@ -26726,43 +24235,28 @@ If there's a particular need for this, please submit a feature request at https: isActive || (selected && !hasActiveItem); const accessibleWhenDisabled = selected || - ((_a2 = props.accessibleWhenDisabled) != null - ? _a2 + ((_a = props.accessibleWhenDisabled) != null + ? _a : true); const isWithinVirtualFocusComposite = (0, - _chunks_RTNCFSKZ_js__WEBPACK_IMPORTED_MODULE_2__.useStoreState)( + _chunks_Q3KUZPD7_js__WEBPACK_IMPORTED_MODULE_2__.useStoreState)( store.combobox || store.composite, 'virtualFocus' ); if (isWithinVirtualFocusComposite) { - props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - {}, - props - ), - { - tabIndex: -1, - } - ); + props = { + ...props, + tabIndex: -1, + }; } - props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - { - id, - role: 'tab', - 'aria-selected': selected, - 'aria-controls': panelId || void 0, - }, - props - ), - { - onClick, - } - ); + props = { + id, + role: 'tab', + 'aria-selected': selected, + 'aria-controls': panelId || void 0, + ...props, + onClick, + }; if (store.composite) { const defaultProps = { id, @@ -26774,80 +24268,50 @@ If there's a particular need for this, please submit a feature request at https: rowId: props.rowId, render: props.render, }; - props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - {}, - props + props = { + ...props, + render: /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)( + _chunks_FIT2LC3L_js__WEBPACK_IMPORTED_MODULE_1__.CompositeItem, + { + ...defaultProps, + render: + store.combobox && + store.composite !== store.combobox + ? /* @__PURE__ */ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)( + _chunks_FIT2LC3L_js__WEBPACK_IMPORTED_MODULE_1__.CompositeItem, + { + ...defaultProps, + store: store.combobox, + } + ) + : defaultProps.render, + } ), - { - render: /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)( - _chunks_SBSPVDDI_js__WEBPACK_IMPORTED_MODULE_1__.CompositeItem, - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - {}, - defaultProps - ), - { - render: - store.combobox && - store.composite !== - store.combobox - ? /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)( - _chunks_SBSPVDDI_js__WEBPACK_IMPORTED_MODULE_1__.CompositeItem, - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - {}, - defaultProps - ), - { - store: store.combobox, - } - ) - ) - : defaultProps.render, - } - ) - ), - } - ); + }; } props = (0, - _chunks_SBSPVDDI_js__WEBPACK_IMPORTED_MODULE_1__.useCompositeItem)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - { - store, - }, - props - ), - { - accessibleWhenDisabled, - getItem, - shouldRegisterItem, - } - ) + _chunks_FIT2LC3L_js__WEBPACK_IMPORTED_MODULE_1__.useCompositeItem)( + { + store, + ...props, + accessibleWhenDisabled, + getItem, + shouldRegisterItem, + } ); return props; } ); var Tab = (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__.memo)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__.memo)( (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__.forwardRef)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__.forwardRef)( function Tab2(props) { const htmlProps = useTab(props); return (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__.createElement)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__.createElement)( TagName, htmlProps ); @@ -26881,35 +24345,31 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ } ); - /* harmony import */ var _chunks_L3J7PHFC_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ../__chunks/L3J7PHFC.js */ './node_modules/@ariakit/react-core/esm/__chunks/L3J7PHFC.js' - ); - /* harmony import */ var _chunks_TRDK6LYC_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _chunks_WVT277Z4_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ../__chunks/TRDK6LYC.js */ './node_modules/@ariakit/react-core/esm/__chunks/TRDK6LYC.js' + /*! ../__chunks/WVT277Z4.js */ './node_modules/@ariakit/react-core/esm/__chunks/WVT277Z4.js' ); - /* harmony import */ var _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _chunks_BVSK4LBK_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ../__chunks/VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ../__chunks/BVSK4LBK.js */ './node_modules/@ariakit/react-core/esm/__chunks/BVSK4LBK.js' ); - /* harmony import */ var _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ../__chunks/5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! ../__chunks/ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! ../__chunks/3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' + /*! ../__chunks/K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__ = + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); - /* harmony import */ var _ariakit_core_utils_store__WEBPACK_IMPORTED_MODULE_6__ = + /* harmony import */ var _ariakit_core_utils_store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( - /*! @ariakit/core/utils/store */ './node_modules/@ariakit/core/esm/__chunks/EWA2WL6G.js' + /*! @ariakit/core/utils/store */ './node_modules/@ariakit/core/esm/__chunks/SXKM4CGU.js' ); - /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__( /*! react */ './node_modules/react/index.js' ); @@ -26919,7 +24379,7 @@ If there's a particular need for this, please submit a feature request at https: var TagName = 'div'; var globalStore = (0, - _ariakit_core_utils_store__WEBPACK_IMPORTED_MODULE_6__.createStore)( + _ariakit_core_utils_store__WEBPACK_IMPORTED_MODULE_5__.createStore)( { activeStore: null, } @@ -26932,30 +24392,27 @@ If there's a particular need for this, please submit a feature request at https: }; } var useTooltipAnchor = (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.createHook)( - function useTooltipAnchor2(_a) { - var _b = _a, - { store, showOnHover = true } = _b, - props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__objRest)( - _b, - ['store', 'showOnHover'] - ); + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.createHook)( + function useTooltipAnchor2({ + store, + showOnHover = true, + ...props + }) { const context = (0, - _chunks_L3J7PHFC_js__WEBPACK_IMPORTED_MODULE_0__.useTooltipProviderContext)(); + _chunks_WVT277Z4_js__WEBPACK_IMPORTED_MODULE_0__.useTooltipProviderContext)(); store = store || context; (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__.invariant)( + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_4__.invariant)( store, true && 'TooltipAnchor must receive a `store` prop or be wrapped in a TooltipProvider component.' ); const canShowOnHoverRef = (0, - react__WEBPACK_IMPORTED_MODULE_7__.useRef)(false); + react__WEBPACK_IMPORTED_MODULE_6__.useRef)(false); (0, - react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(() => { + react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => { return (0, - _ariakit_core_utils_store__WEBPACK_IMPORTED_MODULE_6__.sync)( + _ariakit_core_utils_store__WEBPACK_IMPORTED_MODULE_5__.sync)( store, ['mounted'], (state) => { @@ -26965,16 +24422,16 @@ If there's a particular need for this, please submit a feature request at https: ); }, [store]); (0, - react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(() => { + react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => { if (!store) return; return (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__.chain)( + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_4__.chain)( // Immediately remove the current store from the global store when // the component unmounts. This is useful, for example, to avoid // showing tooltips immediately on serial tests. createRemoveStoreCallback(store), (0, - _ariakit_core_utils_store__WEBPACK_IMPORTED_MODULE_6__.sync)( + _ariakit_core_utils_store__WEBPACK_IMPORTED_MODULE_5__.sync)( store, ['mounted', 'skipTimeout'], (state) => { @@ -27003,7 +24460,7 @@ If there's a particular need for this, please submit a feature request at https: }, [store]); const onMouseEnterProp = props.onMouseEnter; const onMouseEnter = (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__.useEvent)( + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__.useEvent)( (event) => { onMouseEnterProp == null ? void 0 @@ -27013,7 +24470,7 @@ If there's a particular need for this, please submit a feature request at https: ); const onFocusVisibleProp = props.onFocusVisible; const onFocusVisible = (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__.useEvent)( + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__.useEvent)( (event) => { onFocusVisibleProp == null ? void 0 @@ -27029,7 +24486,7 @@ If there's a particular need for this, please submit a feature request at https: ); const onBlurProp = props.onBlur; const onBlur = (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_3__.useEvent)( + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_3__.useEvent)( (event) => { onBlurProp == null ? void 0 : onBlurProp(event); if (event.defaultPrevented) return; @@ -27042,63 +24499,52 @@ If there's a particular need for this, please submit a feature request at https: ); const type = store.useState('type'); const contentId = store.useState((state) => { - var _a2; - return (_a2 = state.contentElement) == null + var _a; + return (_a = state.contentElement) == null ? void 0 - : _a2.id; + : _a.id; }); + props = { + 'aria-labelledby': + type === 'label' ? contentId : void 0, + ...props, + onMouseEnter, + onFocusVisible, + onBlur, + }; props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - { - 'aria-labelledby': - type === 'label' ? contentId : void 0, - }, - props - ), + _chunks_BVSK4LBK_js__WEBPACK_IMPORTED_MODULE_1__.useHovercardAnchor)( { - onMouseEnter, - onFocusVisible, - onBlur, - } - ); - props = (0, - _chunks_TRDK6LYC_js__WEBPACK_IMPORTED_MODULE_1__.useHovercardAnchor)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_4__.__spreadValues)( - { - store, - showOnHover(event) { - if (!canShowOnHoverRef.current) - return false; - if ( - (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_5__.isFalsyBooleanCallback)( - showOnHover, - event - ) + store, + showOnHover(event) { + if (!canShowOnHoverRef.current) + return false; + if ( + (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_4__.isFalsyBooleanCallback)( + showOnHover, + event ) - return false; - const { activeStore } = - globalStore.getState(); - if (!activeStore) return true; - store == null ? void 0 : store.show(); + ) return false; - }, + const { activeStore } = + globalStore.getState(); + if (!activeStore) return true; + store == null ? void 0 : store.show(); + return false; }, - props - ) + ...props, + } ); return props; } ); var TooltipAnchor = (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.forwardRef)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.forwardRef)( function TooltipAnchor2(props) { const htmlProps = useTooltipAnchor(props); return (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_2__.createElement)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_2__.createElement)( TagName, htmlProps ); @@ -27131,39 +24577,35 @@ If there's a particular need for this, please submit a feature request at https: /* harmony export */ } ); - /* harmony import */ var _chunks_L3J7PHFC_js__WEBPACK_IMPORTED_MODULE_0__ = + /* harmony import */ var _chunks_WVT277Z4_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! ../__chunks/L3J7PHFC.js */ './node_modules/@ariakit/react-core/esm/__chunks/L3J7PHFC.js' + /*! ../__chunks/WVT277Z4.js */ './node_modules/@ariakit/react-core/esm/__chunks/WVT277Z4.js' ); - /* harmony import */ var _chunks_73HKIOBA_js__WEBPACK_IMPORTED_MODULE_1__ = + /* harmony import */ var _chunks_7QZRSZWP_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! ../__chunks/73HKIOBA.js */ './node_modules/@ariakit/react-core/esm/__chunks/73HKIOBA.js' + /*! ../__chunks/7QZRSZWP.js */ './node_modules/@ariakit/react-core/esm/__chunks/7QZRSZWP.js' ); - /* harmony import */ var _chunks_NI3IVY7K_js__WEBPACK_IMPORTED_MODULE_2__ = + /* harmony import */ var _chunks_2S4Q4M35_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! ../__chunks/NI3IVY7K.js */ './node_modules/@ariakit/react-core/esm/__chunks/NI3IVY7K.js' + /*! ../__chunks/2S4Q4M35.js */ './node_modules/@ariakit/react-core/esm/__chunks/2S4Q4M35.js' ); - /* harmony import */ var _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__ = + /* harmony import */ var _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! ../__chunks/VOQWLFSQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/VOQWLFSQ.js' + /*! ../__chunks/ILRXHV7V.js */ './node_modules/@ariakit/react-core/esm/__chunks/ILRXHV7V.js' ); - /* harmony import */ var _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__ = + /* harmony import */ var _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! ../__chunks/5GGHRIN3.js */ './node_modules/@ariakit/react-core/esm/__chunks/5GGHRIN3.js' + /*! ../__chunks/K2XTQB3X.js */ './node_modules/@ariakit/react-core/esm/__chunks/K2XTQB3X.js' ); - /* harmony import */ var _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__ = - __webpack_require__( - /*! ../__chunks/3YLGPPWQ.js */ './node_modules/@ariakit/react-core/esm/__chunks/3YLGPPWQ.js' - ); - /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_6__ = + /* harmony import */ var _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( /*! @ariakit/core/utils/dom */ './node_modules/@ariakit/core/esm/__chunks/37JWRFYW.js' ); - /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_7__ = + /* harmony import */ var _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__( - /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/PBFD2E7P.js' + /*! @ariakit/core/utils/misc */ './node_modules/@ariakit/core/esm/__chunks/XMCVU3LR.js' ); - /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__( /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' ); @@ -27173,45 +24615,32 @@ If there's a particular need for this, please submit a feature request at https: var TagName = 'div'; var useTooltip = (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__.createHook)( - function useTooltip2(_a) { - var _b = _a, - { - store, - portal = true, - gutter = 8, - preserveTabOrder = false, - hideOnHoverOutside = true, - hideOnInteractOutside = true, - } = _b, - props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__objRest)( - _b, - [ - 'store', - 'portal', - 'gutter', - 'preserveTabOrder', - 'hideOnHoverOutside', - 'hideOnInteractOutside', - ] - ); + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__.createHook)( + function useTooltip2({ + store, + portal = true, + gutter = 8, + preserveTabOrder = false, + hideOnHoverOutside = true, + hideOnInteractOutside = true, + ...props + }) { const context = (0, - _chunks_L3J7PHFC_js__WEBPACK_IMPORTED_MODULE_0__.useTooltipProviderContext)(); + _chunks_WVT277Z4_js__WEBPACK_IMPORTED_MODULE_0__.useTooltipProviderContext)(); store = store || context; (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_7__.invariant)( + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__.invariant)( store, true && 'Tooltip must receive a `store` prop or be wrapped in a TooltipProvider component.' ); props = (0, - _chunks_5GGHRIN3_js__WEBPACK_IMPORTED_MODULE_4__.useWrapElement)( + _chunks_K2XTQB3X_js__WEBPACK_IMPORTED_MODULE_4__.useWrapElement)( props, (element) => /* @__PURE__ */ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)( - _chunks_L3J7PHFC_js__WEBPACK_IMPORTED_MODULE_0__.TooltipScopedContextProvider, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)( + _chunks_WVT277Z4_js__WEBPACK_IMPORTED_MODULE_0__.TooltipScopedContextProvider, { value: store, children: element } ), [store] @@ -27219,92 +24648,76 @@ If there's a particular need for this, please submit a feature request at https: const role = store.useState((state) => state.type === 'description' ? 'tooltip' : 'none' ); + props = { role, ...props }; props = (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - { role }, - props - ); - props = (0, - _chunks_73HKIOBA_js__WEBPACK_IMPORTED_MODULE_1__.useHovercard)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadProps)( - (0, - _chunks_3YLGPPWQ_js__WEBPACK_IMPORTED_MODULE_5__.__spreadValues)( - {}, - props - ), - { - store, - portal, - gutter, - preserveTabOrder, - hideOnHoverOutside(event) { - if ( - (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_7__.isFalsyBooleanCallback)( - hideOnHoverOutside, - event - ) - ) - return false; - const anchorElement = - store == null - ? void 0 - : store.getState() - .anchorElement; - if (!anchorElement) return true; - if ( - 'focusVisible' in - anchorElement.dataset + _chunks_7QZRSZWP_js__WEBPACK_IMPORTED_MODULE_1__.useHovercard)( + { + ...props, + store, + portal, + gutter, + preserveTabOrder, + hideOnHoverOutside(event) { + if ( + (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__.isFalsyBooleanCallback)( + hideOnHoverOutside, + event ) - return false; - return true; - }, - hideOnInteractOutside: (event) => { - if ( - (0, - _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_7__.isFalsyBooleanCallback)( - hideOnInteractOutside, - event - ) + ) + return false; + const anchorElement = + store == null + ? void 0 + : store.getState().anchorElement; + if (!anchorElement) return true; + if ('focusVisible' in anchorElement.dataset) + return false; + return true; + }, + hideOnInteractOutside: (event) => { + if ( + (0, + _ariakit_core_utils_misc__WEBPACK_IMPORTED_MODULE_6__.isFalsyBooleanCallback)( + hideOnInteractOutside, + event ) - return false; - const anchorElement = - store == null - ? void 0 - : store.getState() - .anchorElement; - if (!anchorElement) return true; - if ( - (0, - _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_6__.contains)( - anchorElement, - event.target - ) + ) + return false; + const anchorElement = + store == null + ? void 0 + : store.getState().anchorElement; + if (!anchorElement) return true; + if ( + (0, + _ariakit_core_utils_dom__WEBPACK_IMPORTED_MODULE_5__.contains)( + anchorElement, + event.target ) - return false; - return true; - }, - } - ) + ) + return false; + return true; + }, + } ); return props; } ); var Tooltip = (0, - _chunks_NI3IVY7K_js__WEBPACK_IMPORTED_MODULE_2__.createDialogComponent)( + _chunks_2S4Q4M35_js__WEBPACK_IMPORTED_MODULE_2__.createDialogComponent)( (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__.forwardRef)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__.forwardRef)( function Tooltip2(props) { const htmlProps = useTooltip(props); return (0, - _chunks_VOQWLFSQ_js__WEBPACK_IMPORTED_MODULE_3__.createElement)( + _chunks_ILRXHV7V_js__WEBPACK_IMPORTED_MODULE_3__.createElement)( TagName, htmlProps ); } ), - _chunks_L3J7PHFC_js__WEBPACK_IMPORTED_MODULE_0__.useTooltipProviderContext + _chunks_WVT277Z4_js__WEBPACK_IMPORTED_MODULE_0__.useTooltipProviderContext ); /***/ @@ -42646,7 +40059,7 @@ styleSheet.flush() ); /* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! @wordpress/warning */ './node_modules/@wordpress/warning/build-module/index.js' + /*! @wordpress/warning */ './node_modules/@wordpress/components/node_modules/@wordpress/warning/build-module/index.js' ); /* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( @@ -42807,7 +40220,7 @@ styleSheet.flush() ); /* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! @wordpress/warning */ './node_modules/@wordpress/warning/build-module/index.js' + /*! @wordpress/warning */ './node_modules/@wordpress/components/node_modules/@wordpress/warning/build-module/index.js' ); /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( @@ -42963,7 +40376,7 @@ styleSheet.flush() ); /* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! @wordpress/warning */ './node_modules/@wordpress/warning/build-module/index.js' + /*! @wordpress/warning */ './node_modules/@wordpress/components/node_modules/@wordpress/warning/build-module/index.js' ); /* harmony import */ var _context_system_provider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( @@ -43987,7 +41400,7 @@ styleSheet.flush() ); /* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! @wordpress/warning */ './node_modules/@wordpress/warning/build-module/index.js' + /*! @wordpress/warning */ './node_modules/@wordpress/components/node_modules/@wordpress/warning/build-module/index.js' ); // packages/components/src/modal/use-modal-exit-animation.ts @@ -44866,15 +42279,15 @@ styleSheet.flush() ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/BZZ52UJN.js' + /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/QHA3XIQA.js' ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/RTNCFSKZ.js' + /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/Q3KUZPD7.js' ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/QJ4LGO2N.js' + /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/HIN2NSI2.js' ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( @@ -45905,6 +43318,84 @@ styleSheet.flush() /***/ }, + /***/ './node_modules/@wordpress/components/node_modules/@wordpress/warning/build-module/index.js': + /*!**************************************************************************************************!*\ + !*** ./node_modules/@wordpress/components/node_modules/@wordpress/warning/build-module/index.js ***! + \**************************************************************************************************/ + /***/ function ( + __unused_webpack_module, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ default: function () { + return /* binding */ warning; + }, + /* harmony export */ + } + ); + /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! ./utils */ './node_modules/@wordpress/components/node_modules/@wordpress/warning/build-module/utils.js' + ); + // packages/warning/src/index.ts + + function isDev() { + return globalThis.SCRIPT_DEBUG === true; + } + function warning(message) { + if (!isDev()) { + return; + } + if ( + _utils__WEBPACK_IMPORTED_MODULE_0__.logged.has(message) + ) { + return; + } + console.warn(message); + try { + throw Error(message); + } catch (x) {} + _utils__WEBPACK_IMPORTED_MODULE_0__.logged.add(message); + } + + //# sourceMappingURL=index.js.map + + /***/ + }, + + /***/ './node_modules/@wordpress/components/node_modules/@wordpress/warning/build-module/utils.js': + /*!**************************************************************************************************!*\ + !*** ./node_modules/@wordpress/components/node_modules/@wordpress/warning/build-module/utils.js ***! + \**************************************************************************************************/ + /***/ function ( + __unused_webpack_module, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ logged: function () { + return /* binding */ logged; + }, + /* harmony export */ + } + ); + // packages/warning/src/utils.ts + var logged = /* @__PURE__ */ new Set(); + + //# sourceMappingURL=utils.js.map + + /***/ + }, + /***/ './node_modules/@wordpress/compose/build-module/higher-order/compose.js': /*!******************************************************************************!*\ !*** ./node_modules/@wordpress/compose/build-module/higher-order/compose.js ***! @@ -46379,11 +43870,32 @@ styleSheet.flush() ) { return; } - if (focusOnMountRef.current !== 'firstElement') { + if ( + focusOnMountRef.current !== 'firstElement' && + focusOnMountRef.current !== 'firstInputElement' + ) { setFocus(node); return; } timerIdRef.current = setTimeout(() => { + if ( + focusOnMountRef.current === + 'firstInputElement' + ) { + let formInput = null; + if ( + typeof window !== 'undefined' && + node instanceof window.Element + ) { + formInput = node.querySelector( + 'input:not([type="hidden"]):not([disabled]), select:not([disabled]), textarea:not([disabled])' + ); + } + if (formInput) { + setFocus(formInput); + return; + } + } const firstTabbable = _wordpress_dom__WEBPACK_IMPORTED_MODULE_1__.focus.tabbable.find( node @@ -50939,7 +48451,7 @@ styleSheet.flush() datetimeAbbreviated: 'M j, Y g: i a', }, timezone: { - offset: '0', + offset: 0, offsetFormatted: '0', string: '', abbr: '', @@ -56958,288 +54470,6 @@ styleSheet.flush() /***/ }, - /***/ './node_modules/@wordpress/icons/build-module/icon/index.js': - /*!******************************************************************!*\ - !*** ./node_modules/@wordpress/icons/build-module/icon/index.js ***! - \******************************************************************/ - /***/ function ( - __unused_webpack_module, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! @wordpress/element */ './node_modules/react/index.js' - ); - /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = - /*#__PURE__*/ __webpack_require__.n( - _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ - ); - /** - * WordPress dependencies - */ - - /** - * External dependencies - */ - - /** - * Return an SVG icon. - * - * @param props The component props. - * - * @return Icon component - */ - /* harmony default export */ __webpack_exports__['default'] = - (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_0__.forwardRef)( - ({ icon, size = 24, ...props }, ref) => { - return (0, - _wordpress_element__WEBPACK_IMPORTED_MODULE_0__.cloneElement)( - icon, - { - width: size, - height: size, - ...props, - ref, - } - ); - } - ); - //# sourceMappingURL=index.js.map - - /***/ - }, - - /***/ './node_modules/@wordpress/icons/build-module/library/check.js': - /*!*********************************************************************!*\ - !*** ./node_modules/@wordpress/icons/build-module/library/check.js ***! - \*********************************************************************/ - /***/ function ( - __unused_webpack_module, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! @wordpress/primitives */ './node_modules/@wordpress/primitives/build-module/svg/index.js' - ); - /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' - ); - /** - * WordPress dependencies - */ - - const check = /*#__PURE__*/ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)( - _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, - { - xmlns: 'http://www.w3.org/2000/svg', - viewBox: '0 0 24 24', - children: /*#__PURE__*/ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)( - _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, - { - d: 'M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z', - } - ), - } - ); - /* harmony default export */ __webpack_exports__['default'] = - check; - //# sourceMappingURL=check.js.map - - /***/ - }, - - /***/ './node_modules/@wordpress/icons/build-module/library/close.js': - /*!*********************************************************************!*\ - !*** ./node_modules/@wordpress/icons/build-module/library/close.js ***! - \*********************************************************************/ - /***/ function ( - __unused_webpack_module, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! @wordpress/primitives */ './node_modules/@wordpress/primitives/build-module/svg/index.js' - ); - /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' - ); - /** - * WordPress dependencies - */ - - const close = /*#__PURE__*/ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)( - _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, - { - xmlns: 'http://www.w3.org/2000/svg', - viewBox: '0 0 24 24', - children: /*#__PURE__*/ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)( - _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, - { - d: 'm13.06 12 6.47-6.47-1.06-1.06L12 10.94 5.53 4.47 4.47 5.53 10.94 12l-6.47 6.47 1.06 1.06L12 13.06l6.47 6.47 1.06-1.06L13.06 12Z', - } - ), - } - ); - /* harmony default export */ __webpack_exports__['default'] = - close; - //# sourceMappingURL=close.js.map - - /***/ - }, - - /***/ './node_modules/@wordpress/icons/build-module/library/copy.js': - /*!********************************************************************!*\ - !*** ./node_modules/@wordpress/icons/build-module/library/copy.js ***! - \********************************************************************/ - /***/ function ( - __unused_webpack_module, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! @wordpress/primitives */ './node_modules/@wordpress/primitives/build-module/svg/index.js' - ); - /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' - ); - /** - * WordPress dependencies - */ - - const copy = /*#__PURE__*/ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)( - _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, - { - xmlns: 'http://www.w3.org/2000/svg', - viewBox: '0 0 24 24', - children: /*#__PURE__*/ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)( - _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, - { - fillRule: 'evenodd', - clipRule: 'evenodd', - d: 'M5 4.5h11a.5.5 0 0 1 .5.5v11a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V5a.5.5 0 0 1 .5-.5ZM3 5a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5Zm17 3v10.75c0 .69-.56 1.25-1.25 1.25H6v1.5h12.75a2.75 2.75 0 0 0 2.75-2.75V8H20Z', - } - ), - } - ); - /* harmony default export */ __webpack_exports__['default'] = - copy; - //# sourceMappingURL=copy.js.map - - /***/ - }, - - /***/ './node_modules/@wordpress/icons/build-module/library/plus.js': - /*!********************************************************************!*\ - !*** ./node_modules/@wordpress/icons/build-module/library/plus.js ***! - \********************************************************************/ - /***/ function ( - __unused_webpack_module, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! @wordpress/primitives */ './node_modules/@wordpress/primitives/build-module/svg/index.js' - ); - /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' - ); - /** - * WordPress dependencies - */ - - const plus = /*#__PURE__*/ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)( - _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, - { - xmlns: 'http://www.w3.org/2000/svg', - viewBox: '0 0 24 24', - children: /*#__PURE__*/ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)( - _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, - { - d: 'M11 12.5V17.5H12.5V12.5H17.5V11H12.5V6H11V11H6V12.5H11Z', - } - ), - } - ); - /* harmony default export */ __webpack_exports__['default'] = - plus; - //# sourceMappingURL=plus.js.map - - /***/ - }, - - /***/ './node_modules/@wordpress/icons/build-module/library/reset.js': - /*!*********************************************************************!*\ - !*** ./node_modules/@wordpress/icons/build-module/library/reset.js ***! - \*********************************************************************/ - /***/ function ( - __unused_webpack_module, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! @wordpress/primitives */ './node_modules/@wordpress/primitives/build-module/svg/index.js' - ); - /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' - ); - /** - * WordPress dependencies - */ - - const reset = /*#__PURE__*/ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)( - _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, - { - xmlns: 'http://www.w3.org/2000/svg', - viewBox: '0 0 24 24', - children: /*#__PURE__*/ (0, - react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)( - _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, - { - d: 'M7 11.5h10V13H7z', - } - ), - } - ); - /* harmony default export */ __webpack_exports__['default'] = - reset; - //# sourceMappingURL=reset.js.map - - /***/ - }, - /***/ './node_modules/@wordpress/is-shallow-equal/build-module/arrays.js': /*!*************************************************************************!*\ !*** ./node_modules/@wordpress/is-shallow-equal/build-module/arrays.js ***! @@ -57744,6 +54974,7 @@ styleSheet.flush() '@wordpress/blocks', '@wordpress/boot', '@wordpress/commands', + '@wordpress/workflows', '@wordpress/components', '@wordpress/core-commands', '@wordpress/core-data', @@ -57757,6 +54988,7 @@ styleSheet.flush() '@wordpress/patterns', '@wordpress/preferences', '@wordpress/reusable-blocks', + '@wordpress/route', '@wordpress/router', '@wordpress/routes', '@wordpress/sync', @@ -58600,84 +55832,6 @@ styleSheet.flush() /***/ }, - /***/ './node_modules/@wordpress/warning/build-module/index.js': - /*!***************************************************************!*\ - !*** ./node_modules/@wordpress/warning/build-module/index.js ***! - \***************************************************************/ - /***/ function ( - __unused_webpack_module, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ default: function () { - return /* binding */ warning; - }, - /* harmony export */ - } - ); - /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./utils */ './node_modules/@wordpress/warning/build-module/utils.js' - ); - // packages/warning/src/index.ts - - function isDev() { - return globalThis.SCRIPT_DEBUG === true; - } - function warning(message) { - if (!isDev()) { - return; - } - if ( - _utils__WEBPACK_IMPORTED_MODULE_0__.logged.has(message) - ) { - return; - } - console.warn(message); - try { - throw Error(message); - } catch (x) {} - _utils__WEBPACK_IMPORTED_MODULE_0__.logged.add(message); - } - - //# sourceMappingURL=index.js.map - - /***/ - }, - - /***/ './node_modules/@wordpress/warning/build-module/utils.js': - /*!***************************************************************!*\ - !*** ./node_modules/@wordpress/warning/build-module/utils.js ***! - \***************************************************************/ - /***/ function ( - __unused_webpack_module, - __webpack_exports__, - __webpack_require__ - ) { - 'use strict'; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ logged: function () { - return /* binding */ logged; - }, - /* harmony export */ - } - ); - // packages/warning/src/utils.ts - var logged = /* @__PURE__ */ new Set(); - - //# sourceMappingURL=utils.js.map - - /***/ - }, - /***/ './node_modules/@wpmvc/colors/build/colors.es.js': /*!*******************************************************!*\ !*** ./node_modules/@wpmvc/colors/build/colors.es.js ***! @@ -59074,15 +56228,15 @@ ${n}}`, ); /* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__( - /*! @wordpress/icons */ './node_modules/@wordpress/icons/build-module/library/check.js' + /*! @wordpress/icons */ './node_modules/@wpmvc/components/node_modules/@wordpress/icons/build-module/library/check.js' ); /* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__( - /*! @wordpress/icons */ './node_modules/@wordpress/icons/build-module/library/close.js' + /*! @wordpress/icons */ './node_modules/@wpmvc/components/node_modules/@wordpress/icons/build-module/library/close.js' ); /* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__( - /*! @wordpress/icons */ './node_modules/@wordpress/icons/build-module/library/copy.js' + /*! @wordpress/icons */ './node_modules/@wpmvc/components/node_modules/@wordpress/icons/build-module/library/copy.js' ); /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__( @@ -62082,15 +59236,15 @@ ${n}}`, ); /* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( - /*! @wordpress/icons */ './node_modules/@wordpress/icons/build-module/icon/index.js' + /*! @wordpress/icons */ './node_modules/@wpmvc/components/node_modules/@wordpress/icons/build-module/icon/index.js' ); /* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__( - /*! @wordpress/icons */ './node_modules/@wordpress/icons/build-module/library/check.js' + /*! @wordpress/icons */ './node_modules/@wpmvc/components/node_modules/@wordpress/icons/build-module/library/check.js' ); /* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__( - /*! @wordpress/icons */ './node_modules/@wordpress/icons/build-module/library/reset.js' + /*! @wordpress/icons */ './node_modules/@wpmvc/components/node_modules/@wordpress/icons/build-module/library/reset.js' ); /* harmony import */ var _base_control__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__( @@ -62397,7 +59551,7 @@ ${n}}`, ); /* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! @wordpress/warning */ './node_modules/@wordpress/warning/build-module/index.js' + /*! @wordpress/warning */ './node_modules/@wpmvc/components/node_modules/@wordpress/warning/build-module/index.js' ); /* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( @@ -62617,7 +59771,7 @@ ${n}}`, ); /* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! @wordpress/warning */ './node_modules/@wordpress/warning/build-module/index.js' + /*! @wordpress/warning */ './node_modules/@wpmvc/components/node_modules/@wordpress/warning/build-module/index.js' ); /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( @@ -62830,7 +59984,7 @@ ${n}}`, ); /* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! @wordpress/warning */ './node_modules/@wordpress/warning/build-module/index.js' + /*! @wordpress/warning */ './node_modules/@wpmvc/components/node_modules/@wordpress/warning/build-module/index.js' ); /* harmony import */ var _context_system_provider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( @@ -66664,7 +63818,7 @@ ${n}}`, ); /* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__( - /*! @wordpress/icons */ './node_modules/@wordpress/icons/build-module/library/close.js' + /*! @wordpress/icons */ './node_modules/@wpmvc/components/node_modules/@wordpress/icons/build-module/library/close.js' ); /* harmony import */ var _wordpress_dom__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__( @@ -67293,7 +64447,7 @@ ${n}}`, ); /* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! @wordpress/warning */ './node_modules/@wordpress/warning/build-module/index.js' + /*! @wordpress/warning */ './node_modules/@wpmvc/components/node_modules/@wordpress/warning/build-module/index.js' ); /** * WordPress dependencies @@ -67448,7 +64602,7 @@ ${n}}`, ); /* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__( - /*! @wordpress/icons */ './node_modules/@wordpress/icons/build-module/library/close.js' + /*! @wordpress/icons */ './node_modules/@wpmvc/components/node_modules/@wordpress/icons/build-module/library/close.js' ); /* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__( @@ -67751,11 +64905,11 @@ ${n}}`, ); /* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( - /*! @wordpress/icons */ './node_modules/@wordpress/icons/build-module/library/plus.js' + /*! @wordpress/icons */ './node_modules/@wpmvc/components/node_modules/@wordpress/icons/build-module/library/plus.js' ); /* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( - /*! @wordpress/icons */ './node_modules/@wordpress/icons/build-module/library/reset.js' + /*! @wordpress/icons */ './node_modules/@wpmvc/components/node_modules/@wordpress/icons/build-module/library/reset.js' ); /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( @@ -71310,11 +68464,11 @@ ${n}}`, ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/7XCHEDST.js' + /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/KBWOFRCQ.js' ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/RTNCFSKZ.js' + /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/Q3KUZPD7.js' ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( @@ -72804,7 +69958,7 @@ ${n}}`, __webpack_require__.r(__webpack_exports__); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/SQZLCNLX.js' + /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/D7BWB6V7.js' ); /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( @@ -73536,11 +70690,11 @@ ${n}}`, ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/BE2VUBZ4.js' + /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/KWQBZ6D4.js' ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/RTNCFSKZ.js' + /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/Q3KUZPD7.js' ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( @@ -74276,15 +71430,15 @@ ${n}}`, ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( - /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/BZZ52UJN.js' + /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/QHA3XIQA.js' ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/RTNCFSKZ.js' + /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/Q3KUZPD7.js' ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( - /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/QJ4LGO2N.js' + /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/HIN2NSI2.js' ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( @@ -79180,47 +76334,47 @@ ${n}}`, ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__( - /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/B7UTNDHN.js' + /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/VEHC2EHR.js' ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__( - /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/NSTBQJLB.js' + /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/E7PWFDGB.js' ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__( - /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/T4WMOWCD.js' + /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/QNTIVZIC.js' ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__( - /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/5KKPXPXV.js' + /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/FUGOO6U6.js' ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__( - /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/IABE5EV2.js' + /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/RIJYZEV5.js' ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__( - /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/SBSPVDDI.js' + /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/FIT2LC3L.js' ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__( - /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/N3H2JN6A.js' + /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/EYFT2Y3I.js' ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__( - /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/OYOFZOGB.js' + /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/WXLNFAIL.js' ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__( - /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/BZZ52UJN.js' + /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/QHA3XIQA.js' ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__( - /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/RTNCFSKZ.js' + /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/Q3KUZPD7.js' ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__( - /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/QJ4LGO2N.js' + /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/HIN2NSI2.js' ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__( @@ -79328,7 +76482,7 @@ ${n}}`, ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__( - /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/BE2VUBZ4.js' + /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/KWQBZ6D4.js' ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__( @@ -79336,7 +76490,7 @@ ${n}}`, ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__( - /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/SQZLCNLX.js' + /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/D7BWB6V7.js' ); /* harmony import */ var date_fns__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__( @@ -79364,11 +76518,11 @@ ${n}}`, ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__( - /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/BV5PFOXH.js' + /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/TGQLWSI3.js' ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__( - /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/BSJHR6LI.js' + /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/K6RNI2CX.js' ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__( @@ -79408,7 +76562,7 @@ ${n}}`, ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__( - /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/7XCHEDST.js' + /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/KBWOFRCQ.js' ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__( @@ -79428,11 +76582,11 @@ ${n}}`, ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__( - /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/MNJRSAAC.js' + /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/MDHGE4WQ.js' ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__( - /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/D7FSM5GC.js' + /*! @ariakit/react */ './node_modules/@ariakit/react-core/esm/__chunks/QKXRU7QI.js' ); /* harmony import */ var _ariakit_react__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__( @@ -104032,6 +101186,366 @@ ${n}}`, /***/ }, + /***/ './node_modules/@wpmvc/components/node_modules/@wordpress/icons/build-module/icon/index.js': + /*!*************************************************************************************************!*\ + !*** ./node_modules/@wpmvc/components/node_modules/@wordpress/icons/build-module/icon/index.js ***! + \*************************************************************************************************/ + /***/ function ( + __unused_webpack_module, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! @wordpress/element */ './node_modules/react/index.js' + ); + /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = + /*#__PURE__*/ __webpack_require__.n( + _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ + ); + /** + * WordPress dependencies + */ + + /** + * External dependencies + */ + + /** + * Return an SVG icon. + * + * @param props The component props. + * + * @return Icon component + */ + /* harmony default export */ __webpack_exports__['default'] = + (0, + _wordpress_element__WEBPACK_IMPORTED_MODULE_0__.forwardRef)( + ({ icon, size = 24, ...props }, ref) => { + return (0, + _wordpress_element__WEBPACK_IMPORTED_MODULE_0__.cloneElement)( + icon, + { + width: size, + height: size, + ...props, + ref, + } + ); + } + ); + //# sourceMappingURL=index.js.map + + /***/ + }, + + /***/ './node_modules/@wpmvc/components/node_modules/@wordpress/icons/build-module/library/check.js': + /*!****************************************************************************************************!*\ + !*** ./node_modules/@wpmvc/components/node_modules/@wordpress/icons/build-module/library/check.js ***! + \****************************************************************************************************/ + /***/ function ( + __unused_webpack_module, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! @wordpress/primitives */ './node_modules/@wordpress/primitives/build-module/svg/index.js' + ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = + __webpack_require__( + /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' + ); + /** + * WordPress dependencies + */ + + const check = /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)( + _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, + { + xmlns: 'http://www.w3.org/2000/svg', + viewBox: '0 0 24 24', + children: /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)( + _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, + { + d: 'M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z', + } + ), + } + ); + /* harmony default export */ __webpack_exports__['default'] = + check; + //# sourceMappingURL=check.js.map + + /***/ + }, + + /***/ './node_modules/@wpmvc/components/node_modules/@wordpress/icons/build-module/library/close.js': + /*!****************************************************************************************************!*\ + !*** ./node_modules/@wpmvc/components/node_modules/@wordpress/icons/build-module/library/close.js ***! + \****************************************************************************************************/ + /***/ function ( + __unused_webpack_module, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! @wordpress/primitives */ './node_modules/@wordpress/primitives/build-module/svg/index.js' + ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = + __webpack_require__( + /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' + ); + /** + * WordPress dependencies + */ + + const close = /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)( + _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, + { + xmlns: 'http://www.w3.org/2000/svg', + viewBox: '0 0 24 24', + children: /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)( + _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, + { + d: 'm13.06 12 6.47-6.47-1.06-1.06L12 10.94 5.53 4.47 4.47 5.53 10.94 12l-6.47 6.47 1.06 1.06L12 13.06l6.47 6.47 1.06-1.06L13.06 12Z', + } + ), + } + ); + /* harmony default export */ __webpack_exports__['default'] = + close; + //# sourceMappingURL=close.js.map + + /***/ + }, + + /***/ './node_modules/@wpmvc/components/node_modules/@wordpress/icons/build-module/library/copy.js': + /*!***************************************************************************************************!*\ + !*** ./node_modules/@wpmvc/components/node_modules/@wordpress/icons/build-module/library/copy.js ***! + \***************************************************************************************************/ + /***/ function ( + __unused_webpack_module, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! @wordpress/primitives */ './node_modules/@wordpress/primitives/build-module/svg/index.js' + ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = + __webpack_require__( + /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' + ); + /** + * WordPress dependencies + */ + + const copy = /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)( + _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, + { + xmlns: 'http://www.w3.org/2000/svg', + viewBox: '0 0 24 24', + children: /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)( + _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, + { + fillRule: 'evenodd', + clipRule: 'evenodd', + d: 'M5 4.5h11a.5.5 0 0 1 .5.5v11a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V5a.5.5 0 0 1 .5-.5ZM3 5a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5Zm17 3v10.75c0 .69-.56 1.25-1.25 1.25H6v1.5h12.75a2.75 2.75 0 0 0 2.75-2.75V8H20Z', + } + ), + } + ); + /* harmony default export */ __webpack_exports__['default'] = + copy; + //# sourceMappingURL=copy.js.map + + /***/ + }, + + /***/ './node_modules/@wpmvc/components/node_modules/@wordpress/icons/build-module/library/plus.js': + /*!***************************************************************************************************!*\ + !*** ./node_modules/@wpmvc/components/node_modules/@wordpress/icons/build-module/library/plus.js ***! + \***************************************************************************************************/ + /***/ function ( + __unused_webpack_module, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! @wordpress/primitives */ './node_modules/@wordpress/primitives/build-module/svg/index.js' + ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = + __webpack_require__( + /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' + ); + /** + * WordPress dependencies + */ + + const plus = /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)( + _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, + { + xmlns: 'http://www.w3.org/2000/svg', + viewBox: '0 0 24 24', + children: /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)( + _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, + { + d: 'M11 12.5V17.5H12.5V12.5H17.5V11H12.5V6H11V11H6V12.5H11Z', + } + ), + } + ); + /* harmony default export */ __webpack_exports__['default'] = + plus; + //# sourceMappingURL=plus.js.map + + /***/ + }, + + /***/ './node_modules/@wpmvc/components/node_modules/@wordpress/icons/build-module/library/reset.js': + /*!****************************************************************************************************!*\ + !*** ./node_modules/@wpmvc/components/node_modules/@wordpress/icons/build-module/library/reset.js ***! + \****************************************************************************************************/ + /***/ function ( + __unused_webpack_module, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! @wordpress/primitives */ './node_modules/@wordpress/primitives/build-module/svg/index.js' + ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = + __webpack_require__( + /*! react/jsx-runtime */ './node_modules/react/jsx-runtime.js' + ); + /** + * WordPress dependencies + */ + + const reset = /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)( + _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, + { + xmlns: 'http://www.w3.org/2000/svg', + viewBox: '0 0 24 24', + children: /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)( + _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, + { + d: 'M7 11.5h10V13H7z', + } + ), + } + ); + /* harmony default export */ __webpack_exports__['default'] = + reset; + //# sourceMappingURL=reset.js.map + + /***/ + }, + + /***/ './node_modules/@wpmvc/components/node_modules/@wordpress/warning/build-module/index.js': + /*!**********************************************************************************************!*\ + !*** ./node_modules/@wpmvc/components/node_modules/@wordpress/warning/build-module/index.js ***! + \**********************************************************************************************/ + /***/ function ( + __unused_webpack_module, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ default: function () { + return /* binding */ warning; + }, + /* harmony export */ + } + ); + /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! ./utils */ './node_modules/@wpmvc/components/node_modules/@wordpress/warning/build-module/utils.js' + ); + // packages/warning/src/index.ts + + function isDev() { + return globalThis.SCRIPT_DEBUG === true; + } + function warning(message) { + if (!isDev()) { + return; + } + if ( + _utils__WEBPACK_IMPORTED_MODULE_0__.logged.has(message) + ) { + return; + } + console.warn(message); + try { + throw Error(message); + } catch (x) {} + _utils__WEBPACK_IMPORTED_MODULE_0__.logged.add(message); + } + + //# sourceMappingURL=index.js.map + + /***/ + }, + + /***/ './node_modules/@wpmvc/components/node_modules/@wordpress/warning/build-module/utils.js': + /*!**********************************************************************************************!*\ + !*** ./node_modules/@wpmvc/components/node_modules/@wordpress/warning/build-module/utils.js ***! + \**********************************************************************************************/ + /***/ function ( + __unused_webpack_module, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ logged: function () { + return /* binding */ logged; + }, + /* harmony export */ + } + ); + // packages/warning/src/utils.ts + var logged = /* @__PURE__ */ new Set(); + + //# sourceMappingURL=utils.js.map + + /***/ + }, + /***/ './node_modules/clipboard/dist/clipboard.js': /*!**************************************************!*\ !*** ./node_modules/clipboard/dist/clipboard.js ***! @@ -227049,6 +224563,664 @@ ${n}}`, /***/ }, + /***/ './node_modules/react-from-dom/dist/index.mjs': + /*!****************************************************!*\ + !*** ./node_modules/react-from-dom/dist/index.mjs ***! + \****************************************************/ + /***/ function ( + __unused_webpack___webpack_module__, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ convertFromNode: function () { + return /* binding */ convertFromNode; + }, + /* harmony export */ convertFromString: function () { + return /* binding */ convertFromString; + }, + /* harmony export */ default: function () { + return /* binding */ convert; + }, + /* harmony export */ + } + ); + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! react */ './node_modules/react/index.js' + ); + // src/index.ts + + // src/helpers.ts + var styleToObject = (input) => { + if (typeof input !== 'string') { + return {}; + } + return input.split(/ ?; ?/).reduce((acc, item) => { + const [key, value] = item + .split(/ ?: ?/) + .map((d, index) => + index === 0 ? d.replace(/\s+/g, '') : d.trim() + ); + if (key && value) { + const nextKey = key.replace( + /(\w)-(\w)/g, + (_$0, $1, $2) => `${$1}${$2.toUpperCase()}` + ); + let nextValue = value.trim(); + if (!Number.isNaN(Number(value))) { + nextValue = Number(value); + } + acc[key.startsWith('-') ? key : nextKey] = + nextValue; + } + return acc; + }, {}); + }; + function randomString(length = 6) { + const characters = + '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; + let result = ''; + for (let index = length; index > 0; --index) { + result += + characters[ + Math.round( + Math.random() * (characters.length - 1) + ) + ]; + } + return result; + } + var noTextChildNodes = [ + 'br', + 'col', + 'colgroup', + 'dl', + 'hr', + 'iframe', + 'img', + 'input', + 'link', + 'menuitem', + 'meta', + 'ol', + 'param', + 'select', + 'table', + 'tbody', + 'tfoot', + 'thead', + 'tr', + 'ul', + 'wbr', + ]; + var possibleStandardNames = { + // HTML + 'accept-charset': 'acceptCharset', + acceptcharset: 'acceptCharset', + accesskey: 'accessKey', + allowfullscreen: 'allowFullScreen', + autocapitalize: 'autoCapitalize', + autocomplete: 'autoComplete', + autocorrect: 'autoCorrect', + autofocus: 'autoFocus', + autoplay: 'autoPlay', + autosave: 'autoSave', + cellpadding: 'cellPadding', + cellspacing: 'cellSpacing', + charset: 'charSet', + class: 'className', + classid: 'classID', + classname: 'className', + colspan: 'colSpan', + contenteditable: 'contentEditable', + contextmenu: 'contextMenu', + controlslist: 'controlsList', + crossorigin: 'crossOrigin', + dangerouslysetinnerhtml: 'dangerouslySetInnerHTML', + datetime: 'dateTime', + defaultchecked: 'defaultChecked', + defaultvalue: 'defaultValue', + enctype: 'encType', + for: 'htmlFor', + formmethod: 'formMethod', + formaction: 'formAction', + formenctype: 'formEncType', + formnovalidate: 'formNoValidate', + formtarget: 'formTarget', + frameborder: 'frameBorder', + hreflang: 'hrefLang', + htmlfor: 'htmlFor', + httpequiv: 'httpEquiv', + 'http-equiv': 'httpEquiv', + icon: 'icon', + innerhtml: 'innerHTML', + inputmode: 'inputMode', + itemid: 'itemID', + itemprop: 'itemProp', + itemref: 'itemRef', + itemscope: 'itemScope', + itemtype: 'itemType', + keyparams: 'keyParams', + keytype: 'keyType', + marginwidth: 'marginWidth', + marginheight: 'marginHeight', + maxlength: 'maxLength', + mediagroup: 'mediaGroup', + minlength: 'minLength', + nomodule: 'noModule', + novalidate: 'noValidate', + playsinline: 'playsInline', + radiogroup: 'radioGroup', + readonly: 'readOnly', + referrerpolicy: 'referrerPolicy', + rowspan: 'rowSpan', + spellcheck: 'spellCheck', + srcdoc: 'srcDoc', + srclang: 'srcLang', + srcset: 'srcSet', + tabindex: 'tabIndex', + typemustmatch: 'typeMustMatch', + usemap: 'useMap', + // SVG + accentheight: 'accentHeight', + 'accent-height': 'accentHeight', + alignmentbaseline: 'alignmentBaseline', + 'alignment-baseline': 'alignmentBaseline', + allowreorder: 'allowReorder', + arabicform: 'arabicForm', + 'arabic-form': 'arabicForm', + attributename: 'attributeName', + attributetype: 'attributeType', + autoreverse: 'autoReverse', + basefrequency: 'baseFrequency', + baselineshift: 'baselineShift', + 'baseline-shift': 'baselineShift', + baseprofile: 'baseProfile', + calcmode: 'calcMode', + capheight: 'capHeight', + 'cap-height': 'capHeight', + clippath: 'clipPath', + 'clip-path': 'clipPath', + clippathunits: 'clipPathUnits', + cliprule: 'clipRule', + 'clip-rule': 'clipRule', + colorinterpolation: 'colorInterpolation', + 'color-interpolation': 'colorInterpolation', + colorinterpolationfilters: 'colorInterpolationFilters', + 'color-interpolation-filters': 'colorInterpolationFilters', + colorprofile: 'colorProfile', + 'color-profile': 'colorProfile', + colorrendering: 'colorRendering', + 'color-rendering': 'colorRendering', + contentscripttype: 'contentScriptType', + contentstyletype: 'contentStyleType', + diffuseconstant: 'diffuseConstant', + dominantbaseline: 'dominantBaseline', + 'dominant-baseline': 'dominantBaseline', + edgemode: 'edgeMode', + enablebackground: 'enableBackground', + 'enable-background': 'enableBackground', + externalresourcesrequired: 'externalResourcesRequired', + fillopacity: 'fillOpacity', + 'fill-opacity': 'fillOpacity', + fillrule: 'fillRule', + 'fill-rule': 'fillRule', + filterres: 'filterRes', + filterunits: 'filterUnits', + floodopacity: 'floodOpacity', + 'flood-opacity': 'floodOpacity', + floodcolor: 'floodColor', + 'flood-color': 'floodColor', + fontfamily: 'fontFamily', + 'font-family': 'fontFamily', + fontsize: 'fontSize', + 'font-size': 'fontSize', + fontsizeadjust: 'fontSizeAdjust', + 'font-size-adjust': 'fontSizeAdjust', + fontstretch: 'fontStretch', + 'font-stretch': 'fontStretch', + fontstyle: 'fontStyle', + 'font-style': 'fontStyle', + fontvariant: 'fontVariant', + 'font-variant': 'fontVariant', + fontweight: 'fontWeight', + 'font-weight': 'fontWeight', + glyphname: 'glyphName', + 'glyph-name': 'glyphName', + glyphorientationhorizontal: 'glyphOrientationHorizontal', + 'glyph-orientation-horizontal': + 'glyphOrientationHorizontal', + glyphorientationvertical: 'glyphOrientationVertical', + 'glyph-orientation-vertical': 'glyphOrientationVertical', + glyphref: 'glyphRef', + gradienttransform: 'gradientTransform', + gradientunits: 'gradientUnits', + horizadvx: 'horizAdvX', + 'horiz-adv-x': 'horizAdvX', + horizoriginx: 'horizOriginX', + 'horiz-origin-x': 'horizOriginX', + imagerendering: 'imageRendering', + 'image-rendering': 'imageRendering', + kernelmatrix: 'kernelMatrix', + kernelunitlength: 'kernelUnitLength', + keypoints: 'keyPoints', + keysplines: 'keySplines', + keytimes: 'keyTimes', + lengthadjust: 'lengthAdjust', + letterspacing: 'letterSpacing', + 'letter-spacing': 'letterSpacing', + lightingcolor: 'lightingColor', + 'lighting-color': 'lightingColor', + limitingconeangle: 'limitingConeAngle', + markerend: 'markerEnd', + 'marker-end': 'markerEnd', + markerheight: 'markerHeight', + markermid: 'markerMid', + 'marker-mid': 'markerMid', + markerstart: 'markerStart', + 'marker-start': 'markerStart', + markerunits: 'markerUnits', + markerwidth: 'markerWidth', + maskcontentunits: 'maskContentUnits', + maskunits: 'maskUnits', + numoctaves: 'numOctaves', + overlineposition: 'overlinePosition', + 'overline-position': 'overlinePosition', + overlinethickness: 'overlineThickness', + 'overline-thickness': 'overlineThickness', + paintorder: 'paintOrder', + 'paint-order': 'paintOrder', + 'panose-1': 'panose1', + pathlength: 'pathLength', + patterncontentunits: 'patternContentUnits', + patterntransform: 'patternTransform', + patternunits: 'patternUnits', + pointerevents: 'pointerEvents', + 'pointer-events': 'pointerEvents', + pointsatx: 'pointsAtX', + pointsaty: 'pointsAtY', + pointsatz: 'pointsAtZ', + preservealpha: 'preserveAlpha', + preserveaspectratio: 'preserveAspectRatio', + primitiveunits: 'primitiveUnits', + refx: 'refX', + refy: 'refY', + renderingintent: 'renderingIntent', + 'rendering-intent': 'renderingIntent', + repeatcount: 'repeatCount', + repeatdur: 'repeatDur', + requiredextensions: 'requiredExtensions', + requiredfeatures: 'requiredFeatures', + shaperendering: 'shapeRendering', + 'shape-rendering': 'shapeRendering', + specularconstant: 'specularConstant', + specularexponent: 'specularExponent', + spreadmethod: 'spreadMethod', + startoffset: 'startOffset', + stddeviation: 'stdDeviation', + stitchtiles: 'stitchTiles', + stopcolor: 'stopColor', + 'stop-color': 'stopColor', + stopopacity: 'stopOpacity', + 'stop-opacity': 'stopOpacity', + strikethroughposition: 'strikethroughPosition', + 'strikethrough-position': 'strikethroughPosition', + strikethroughthickness: 'strikethroughThickness', + 'strikethrough-thickness': 'strikethroughThickness', + strokedasharray: 'strokeDasharray', + 'stroke-dasharray': 'strokeDasharray', + strokedashoffset: 'strokeDashoffset', + 'stroke-dashoffset': 'strokeDashoffset', + strokelinecap: 'strokeLinecap', + 'stroke-linecap': 'strokeLinecap', + strokelinejoin: 'strokeLinejoin', + 'stroke-linejoin': 'strokeLinejoin', + strokemiterlimit: 'strokeMiterlimit', + 'stroke-miterlimit': 'strokeMiterlimit', + strokewidth: 'strokeWidth', + 'stroke-width': 'strokeWidth', + strokeopacity: 'strokeOpacity', + 'stroke-opacity': 'strokeOpacity', + suppresscontenteditablewarning: + 'suppressContentEditableWarning', + suppresshydrationwarning: 'suppressHydrationWarning', + surfacescale: 'surfaceScale', + systemlanguage: 'systemLanguage', + tablevalues: 'tableValues', + targetx: 'targetX', + targety: 'targetY', + textanchor: 'textAnchor', + 'text-anchor': 'textAnchor', + textdecoration: 'textDecoration', + 'text-decoration': 'textDecoration', + textlength: 'textLength', + textrendering: 'textRendering', + 'text-rendering': 'textRendering', + underlineposition: 'underlinePosition', + 'underline-position': 'underlinePosition', + underlinethickness: 'underlineThickness', + 'underline-thickness': 'underlineThickness', + unicodebidi: 'unicodeBidi', + 'unicode-bidi': 'unicodeBidi', + unicoderange: 'unicodeRange', + 'unicode-range': 'unicodeRange', + unitsperem: 'unitsPerEm', + 'units-per-em': 'unitsPerEm', + unselectable: 'unselectable', + valphabetic: 'vAlphabetic', + 'v-alphabetic': 'vAlphabetic', + vectoreffect: 'vectorEffect', + 'vector-effect': 'vectorEffect', + vertadvy: 'vertAdvY', + 'vert-adv-y': 'vertAdvY', + vertoriginx: 'vertOriginX', + 'vert-origin-x': 'vertOriginX', + vertoriginy: 'vertOriginY', + 'vert-origin-y': 'vertOriginY', + vhanging: 'vHanging', + 'v-hanging': 'vHanging', + videographic: 'vIdeographic', + 'v-ideographic': 'vIdeographic', + viewbox: 'viewBox', + viewtarget: 'viewTarget', + vmathematical: 'vMathematical', + 'v-mathematical': 'vMathematical', + wordspacing: 'wordSpacing', + 'word-spacing': 'wordSpacing', + writingmode: 'writingMode', + 'writing-mode': 'writingMode', + xchannelselector: 'xChannelSelector', + xheight: 'xHeight', + 'x-height': 'xHeight', + xlinkactuate: 'xlinkActuate', + 'xlink:actuate': 'xlinkActuate', + xlinkarcrole: 'xlinkArcrole', + 'xlink:arcrole': 'xlinkArcrole', + xlinkhref: 'xlinkHref', + 'xlink:href': 'xlinkHref', + xlinkrole: 'xlinkRole', + 'xlink:role': 'xlinkRole', + xlinkshow: 'xlinkShow', + 'xlink:show': 'xlinkShow', + xlinktitle: 'xlinkTitle', + 'xlink:title': 'xlinkTitle', + xlinktype: 'xlinkType', + 'xlink:type': 'xlinkType', + xmlbase: 'xmlBase', + 'xml:base': 'xmlBase', + xmllang: 'xmlLang', + 'xml:lang': 'xmlLang', + 'xml:space': 'xmlSpace', + xmlnsxlink: 'xmlnsXlink', + 'xmlns:xlink': 'xmlnsXlink', + xmlspace: 'xmlSpace', + ychannelselector: 'yChannelSelector', + zoomandpan: 'zoomAndPan', + // event handlers + onblur: 'onBlur', + onchange: 'onChange', + onclick: 'onClick', + oncontextmenu: 'onContextMenu', + ondoubleclick: 'onDoubleClick', + ondrag: 'onDrag', + ondragend: 'onDragEnd', + ondragenter: 'onDragEnter', + ondragexit: 'onDragExit', + ondragleave: 'onDragLeave', + ondragover: 'onDragOver', + ondragstart: 'onDragStart', + ondrop: 'onDrop', + onerror: 'onError', + onfocus: 'onFocus', + oninput: 'onInput', + oninvalid: 'onInvalid', + onkeydown: 'onKeyDown', + onkeypress: 'onKeyPress', + onkeyup: 'onKeyUp', + onload: 'onLoad', + onmousedown: 'onMouseDown', + onmouseenter: 'onMouseEnter', + onmouseleave: 'onMouseLeave', + onmousemove: 'onMouseMove', + onmouseout: 'onMouseOut', + onmouseover: 'onMouseOver', + onmouseup: 'onMouseUp', + onscroll: 'onScroll', + onsubmit: 'onSubmit', + ontouchcancel: 'onTouchCancel', + ontouchend: 'onTouchEnd', + ontouchmove: 'onTouchMove', + ontouchstart: 'onTouchStart', + onwheel: 'onWheel', + }; + + // src/index.ts + function getReactNode(node, options) { + const { key, level, ...rest } = options; + switch (node.nodeType) { + case 1: { + return react__WEBPACK_IMPORTED_MODULE_0__.createElement( + parseName(node.nodeName), + parseAttributes(node, key), + parseChildren(node.childNodes, level, rest) + ); + } + case 3: { + const nodeText = node.nodeValue?.toString() ?? ''; + if ( + !rest.allowWhiteSpaces && + /^\s+$/.test(nodeText) && + !/[\u00A0\u202F]/.test(nodeText) + ) { + return null; + } + if (!node.parentNode) { + return nodeText; + } + const parentNodeName = + node.parentNode.nodeName.toLowerCase(); + if (noTextChildNodes.includes(parentNodeName)) { + if (/\S/.test(nodeText)) { + console.warn( + `A textNode is not allowed inside '${parentNodeName}'. Your text "${nodeText}" will be ignored` + ); + } + return null; + } + return nodeText; + } + case 8: { + return null; + } + case 11: { + return parseChildren( + node.childNodes, + level, + options + ); + } + /* c8 ignore next 3 */ + default: { + return null; + } + } + } + function parseAttributes(node, reactKey) { + const attributes = { + key: reactKey, + }; + if (node instanceof Element) { + const nodeClassNames = node.getAttribute('class'); + if (nodeClassNames) { + attributes.className = nodeClassNames; + } + [...node.attributes].forEach((d) => { + switch (d.name) { + // this is manually handled above, so break; + case 'class': + break; + case 'style': + attributes[d.name] = styleToObject(d.value); + break; + case 'allowfullscreen': + case 'allowpaymentrequest': + case 'async': + case 'autofocus': + case 'autoplay': + case 'checked': + case 'controls': + case 'default': + case 'defer': + case 'disabled': + case 'formnovalidate': + case 'hidden': + case 'ismap': + case 'itemscope': + case 'loop': + case 'multiple': + case 'muted': + case 'nomodule': + case 'novalidate': + case 'open': + case 'readonly': + case 'required': + case 'reversed': + case 'selected': + case 'typemustmatch': + attributes[ + possibleStandardNames[d.name] || d.name + ] = true; + break; + default: + attributes[ + possibleStandardNames[d.name] || d.name + ] = d.value; + } + }); + } + return attributes; + } + function parseChildren(childNodeList, level, options) { + const children = [...childNodeList] + .map((node, index) => + convertFromNode(node, { + ...options, + index, + level: level + 1, + }) + ) + .filter(Boolean); + if (!children.length) { + return null; + } + return children; + } + function parseName(nodeName) { + if (/[a-z]+[A-Z]+[a-z]+/.test(nodeName)) { + return nodeName; + } + return nodeName.toLowerCase(); + } + function convert(input, options = {}) { + if (typeof input === 'string') { + return convertFromString(input, options); + } + if (input instanceof Node) { + return convertFromNode(input, options); + } + return null; + } + function convertFromNode(input, options = {}) { + if (!input || !(input instanceof Node)) { + return null; + } + const { + actions = [], + index = 0, + level = 0, + randomKey, + } = options; + let node = input; + let key = `${level}-${index}`; + const result = []; + if (randomKey && level === 0) { + key = `${randomString()}-${key}`; + } + if (Array.isArray(actions)) { + actions.forEach((action) => { + if (action.condition(node, key, level)) { + if (typeof action.pre === 'function') { + node = action.pre(node, key, level); + if (!(node instanceof Node)) { + node = input; + if (true) { + console.warn( + 'The `pre` method always must return a valid DomNode (instanceof Node) - your modification will be ignored (Hint: if you want to render a React-component, use the `post` method instead)' + ); + } + } + } + if (typeof action.post === 'function') { + result.push(action.post(node, key, level)); + } + } + }); + } + if (result.length) { + return result; + } + return getReactNode(node, { key, level, ...options }); + } + function convertFromString(input, options = {}) { + if (!input || typeof input !== 'string') { + return null; + } + const { + includeAllNodes = false, + nodeOnly = false, + selector = 'body > *', + type = 'text/html', + } = options; + try { + const parser = new DOMParser(); + const document = parser.parseFromString(input, type); + if (includeAllNodes) { + const { childNodes } = document.body; + if (nodeOnly) { + return childNodes; + } + return [...childNodes].map((node2) => + convertFromNode(node2, options) + ); + } + const node = + document.querySelector(selector) || + document.body.childNodes[0]; + if (!(node instanceof Node)) { + throw new TypeError('Error parsing input'); + } + if (nodeOnly) { + return node; + } + return convertFromNode(node, options); + } catch (error) { + if (true) { + console.error(error); + } + } + return null; + } + + //# sourceMappingURL=index.mjs.map + + /***/ + }, + /***/ './node_modules/react-hot-toast/dist/index.mjs': /*!*****************************************************!*\ !*** ./node_modules/react-hot-toast/dist/index.mjs ***! @@ -228100,6 +226272,798 @@ to { /***/ }, + /***/ './node_modules/react-inlinesvg/dist/index.mjs': + /*!*****************************************************!*\ + !*** ./node_modules/react-inlinesvg/dist/index.mjs ***! + \*****************************************************/ + /***/ function ( + __unused_webpack___webpack_module__, + __webpack_exports__, + __webpack_require__ + ) { + 'use strict'; + __webpack_require__.r(__webpack_exports__); + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ cacheStore: function () { + return /* binding */ cacheStore; + }, + /* harmony export */ default: function () { + return /* binding */ InlineSVG; + }, + /* harmony export */ + } + ); + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + /*! react */ './node_modules/react/index.js' + ); + /* harmony import */ var react_from_dom__WEBPACK_IMPORTED_MODULE_1__ = + __webpack_require__( + /*! react-from-dom */ './node_modules/react-from-dom/dist/index.mjs' + ); + ('use client'); + var __defProp = Object.defineProperty; + var __defNormalProp = (obj, key, value) => + key in obj + ? __defProp(obj, key, { + enumerable: true, + configurable: true, + writable: true, + value, + }) + : (obj[key] = value); + var __publicField = (obj, key, value) => + __defNormalProp( + obj, + typeof key !== 'symbol' ? key + '' : key, + value + ); + + // src/index.tsx + + // src/config.ts + var CACHE_NAME = 'react-inlinesvg'; + var CACHE_MAX_RETRIES = 10; + var STATUS = { + IDLE: 'idle', + LOADING: 'loading', + LOADED: 'loaded', + FAILED: 'failed', + READY: 'ready', + UNSUPPORTED: 'unsupported', + }; + + // src/modules/helpers.ts + function randomCharacter(character) { + return character[ + Math.floor(Math.random() * character.length) + ]; + } + function canUseDOM() { + return !!( + typeof window !== 'undefined' && + window.document?.createElement + ); + } + function isSupportedEnvironment() { + return ( + supportsInlineSVG() && + typeof window !== 'undefined' && + window !== null + ); + } + function omit(input, ...filter) { + const output = {}; + for (const key in input) { + if ({}.hasOwnProperty.call(input, key)) { + if (!filter.includes(key)) { + output[key] = input[key]; + } + } + } + return output; + } + function randomString(length) { + const letters = 'abcdefghijklmnopqrstuvwxyz'; + const numbers = '1234567890'; + const charset = `${letters}${letters.toUpperCase()}${numbers}`; + let R = ''; + for (let index = 0; index < length; index++) { + R += randomCharacter(charset); + } + return R; + } + async function request(url, options) { + const response = await fetch(url, options); + const contentType = response.headers.get('content-type'); + const [fileType] = (contentType ?? '').split(/ ?; ?/); + if (response.status > 299) { + throw new Error('Not found'); + } + if ( + !['image/svg+xml', 'text/plain'].some((d) => + fileType.includes(d) + ) + ) { + throw new Error( + `Content type isn't valid: ${fileType}` + ); + } + return response.text(); + } + function sleep(seconds = 1) { + return new Promise((resolve) => { + setTimeout(resolve, seconds * 1e3); + }); + } + function supportsInlineSVG() { + if (!document) { + return false; + } + const div = document.createElement('div'); + div.innerHTML = ''; + const svg = div.firstChild; + return ( + !!svg && + svg.namespaceURI === 'http://www.w3.org/2000/svg' + ); + } + + // src/modules/cache.ts + var CacheStore = class { + constructor() { + __publicField(this, 'cacheApi'); + __publicField(this, 'cacheStore'); + __publicField(this, 'subscribers', []); + __publicField(this, 'isReady', false); + this.cacheStore = /* @__PURE__ */ new Map(); + let cacheName = CACHE_NAME; + let usePersistentCache = false; + if (canUseDOM()) { + cacheName = + window.REACT_INLINESVG_CACHE_NAME ?? CACHE_NAME; + usePersistentCache = + !!window.REACT_INLINESVG_PERSISTENT_CACHE && + 'caches' in window; + } + if (usePersistentCache) { + caches + .open(cacheName) + .then((cache) => { + this.cacheApi = cache; + }) + .catch((error) => { + console.error( + `Failed to open cache: ${error.message}` + ); + this.cacheApi = void 0; + }) + .finally(() => { + this.isReady = true; + const callbacks = [...this.subscribers]; + this.subscribers.length = 0; + callbacks.forEach((callback) => { + try { + callback(); + } catch (error) { + console.error( + `Error in CacheStore subscriber callback: ${error.message}` + ); + } + }); + }); + } else { + this.isReady = true; + } + } + onReady(callback) { + if (this.isReady) { + callback(); + } else { + this.subscribers.push(callback); + } + } + async get(url, fetchOptions) { + await (this.cacheApi + ? this.fetchAndAddToPersistentCache( + url, + fetchOptions + ) + : this.fetchAndAddToInternalCache( + url, + fetchOptions + )); + return this.cacheStore.get(url)?.content ?? ''; + } + set(url, data) { + this.cacheStore.set(url, data); + } + isCached(url) { + return ( + this.cacheStore.get(url)?.status === STATUS.LOADED + ); + } + async fetchAndAddToInternalCache(url, fetchOptions) { + const cache = this.cacheStore.get(url); + if (cache?.status === STATUS.LOADING) { + await this.handleLoading(url, async () => { + this.cacheStore.set(url, { + content: '', + status: STATUS.IDLE, + }); + await this.fetchAndAddToInternalCache( + url, + fetchOptions + ); + }); + return; + } + if (!cache?.content) { + this.cacheStore.set(url, { + content: '', + status: STATUS.LOADING, + }); + try { + const content = await request( + url, + fetchOptions + ); + this.cacheStore.set(url, { + content, + status: STATUS.LOADED, + }); + } catch (error) { + this.cacheStore.set(url, { + content: '', + status: STATUS.FAILED, + }); + throw error; + } + } + } + async fetchAndAddToPersistentCache(url, fetchOptions) { + const cache = this.cacheStore.get(url); + if (cache?.status === STATUS.LOADED) { + return; + } + if (cache?.status === STATUS.LOADING) { + await this.handleLoading(url, async () => { + this.cacheStore.set(url, { + content: '', + status: STATUS.IDLE, + }); + await this.fetchAndAddToPersistentCache( + url, + fetchOptions + ); + }); + return; + } + this.cacheStore.set(url, { + content: '', + status: STATUS.LOADING, + }); + const data = await this.cacheApi?.match(url); + if (data) { + const content = await data.text(); + this.cacheStore.set(url, { + content, + status: STATUS.LOADED, + }); + return; + } + try { + await this.cacheApi?.add( + new Request(url, fetchOptions) + ); + const response = await this.cacheApi?.match(url); + const content = (await response?.text()) ?? ''; + this.cacheStore.set(url, { + content, + status: STATUS.LOADED, + }); + } catch (error) { + this.cacheStore.set(url, { + content: '', + status: STATUS.FAILED, + }); + throw error; + } + } + async handleLoading(url, callback) { + for ( + let retryCount = 0; + retryCount < CACHE_MAX_RETRIES; + retryCount++ + ) { + if ( + this.cacheStore.get(url)?.status !== + STATUS.LOADING + ) { + return; + } + await sleep(0.1); + } + await callback(); + } + keys() { + return [...this.cacheStore.keys()]; + } + data() { + return [...this.cacheStore.entries()].map( + ([key, value]) => ({ [key]: value }) + ); + } + async delete(url) { + if (this.cacheApi) { + await this.cacheApi.delete(url); + } + this.cacheStore.delete(url); + } + async clear() { + if (this.cacheApi) { + const keys = await this.cacheApi.keys(); + await Promise.allSettled( + keys.map((key) => this.cacheApi.delete(key)) + ); + } + this.cacheStore.clear(); + } + }; + + // src/modules/hooks.tsx + + function usePrevious(state) { + const ref = (0, react__WEBPACK_IMPORTED_MODULE_0__.useRef)( + void 0 + ); + (0, react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => { + ref.current = state; + }); + return ref.current; + } + + // src/modules/utils.ts + + function getNode(options) { + const { + baseURL, + content, + description, + handleError, + hash, + preProcessor, + title, + uniquifyIDs = false, + } = options; + try { + const svgText = processSVG(content, preProcessor); + const node = (0, + react_from_dom__WEBPACK_IMPORTED_MODULE_1__['default'])( + svgText, + { nodeOnly: true } + ); + if (!node || !(node instanceof SVGSVGElement)) { + throw new Error( + 'Could not convert the src to a DOM Node' + ); + } + const svg = updateSVGAttributes(node, { + baseURL, + hash, + uniquifyIDs, + }); + if (description) { + const originalDesc = svg.querySelector('desc'); + if (originalDesc?.parentNode) { + originalDesc.parentNode.removeChild( + originalDesc + ); + } + const descElement = document.createElementNS( + 'http://www.w3.org/2000/svg', + 'desc' + ); + descElement.innerHTML = description; + svg.prepend(descElement); + } + if (typeof title !== 'undefined') { + const originalTitle = svg.querySelector('title'); + if (originalTitle?.parentNode) { + originalTitle.parentNode.removeChild( + originalTitle + ); + } + if (title) { + const titleElement = document.createElementNS( + 'http://www.w3.org/2000/svg', + 'title' + ); + titleElement.innerHTML = title; + svg.prepend(titleElement); + } + } + return svg; + } catch (error) { + return handleError(error); + } + } + function processSVG(content, preProcessor) { + if (preProcessor) { + return preProcessor(content); + } + return content; + } + function updateSVGAttributes(node, options) { + const { baseURL = '', hash, uniquifyIDs } = options; + const replaceableAttributes = [ + 'id', + 'href', + 'xlink:href', + 'xlink:role', + 'xlink:arcrole', + ]; + const linkAttributes = ['href', 'xlink:href']; + const isDataValue = (name, value) => + linkAttributes.includes(name) && + (value ? !value.includes('#') : false); + if (!uniquifyIDs) { + return node; + } + [...node.children].forEach((d) => { + if (d.attributes?.length) { + const attributes = Object.values(d.attributes).map( + (a) => { + const attribute = a; + const match = /url\((.*?)\)/.exec(a.value); + if (match?.[1]) { + attribute.value = a.value.replace( + match[0], + `url(${baseURL}${match[1]}__${hash})` + ); + } + return attribute; + } + ); + replaceableAttributes.forEach((r) => { + const attribute = attributes.find( + (a) => a.name === r + ); + if ( + attribute && + !isDataValue(r, attribute.value) + ) { + attribute.value = `${attribute.value}__${hash}`; + } + }); + } + if (d.children.length) { + return updateSVGAttributes(d, options); + } + return d; + }); + return node; + } + + // src/index.tsx + var cacheStore; + function ReactInlineSVG(props) { + const { + cacheRequests = true, + children = null, + description, + fetchOptions, + innerRef, + loader = null, + onError, + onLoad, + src, + title, + uniqueHash, + } = props; + const [state, setState] = (0, + react__WEBPACK_IMPORTED_MODULE_0__.useReducer)( + (previousState2, nextState) => ({ + ...previousState2, + ...nextState, + }), + { + content: '', + element: null, + isCached: + cacheRequests && cacheStore.isCached(props.src), + status: STATUS.IDLE, + } + ); + const { content, element, isCached, status } = state; + const previousProps = usePrevious(props); + const previousState = usePrevious(state); + const hash = (0, react__WEBPACK_IMPORTED_MODULE_0__.useRef)( + uniqueHash ?? randomString(8) + ); + const isActive = (0, + react__WEBPACK_IMPORTED_MODULE_0__.useRef)(false); + const isInitialized = (0, + react__WEBPACK_IMPORTED_MODULE_0__.useRef)(false); + const handleError = (0, + react__WEBPACK_IMPORTED_MODULE_0__.useCallback)( + (error) => { + if (isActive.current) { + setState({ + status: + error.message === + 'Browser does not support SVG' + ? STATUS.UNSUPPORTED + : STATUS.FAILED, + }); + onError?.(error); + } + }, + [onError] + ); + const handleLoad = (0, + react__WEBPACK_IMPORTED_MODULE_0__.useCallback)( + (loadedContent, hasCache = false) => { + if (isActive.current) { + setState({ + content: loadedContent, + isCached: hasCache, + status: STATUS.LOADED, + }); + } + }, + [] + ); + const fetchContent = (0, + react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(async () => { + const responseContent = await request( + src, + fetchOptions + ); + handleLoad(responseContent); + }, [fetchOptions, handleLoad, src]); + const getElement = (0, + react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(() => { + try { + const node = getNode({ + ...props, + handleError, + hash: hash.current, + content, + }); + const convertedElement = (0, + react_from_dom__WEBPACK_IMPORTED_MODULE_1__[ + 'default' + ])(node); + if ( + !convertedElement || + !(0, + react__WEBPACK_IMPORTED_MODULE_0__.isValidElement)( + convertedElement + ) + ) { + throw new Error( + 'Could not convert the src to a React element' + ); + } + setState({ + element: convertedElement, + status: STATUS.READY, + }); + } catch (error) { + handleError(error); + } + }, [content, handleError, props]); + const getContent = (0, + react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(async () => { + const dataURI = + /^data:image\/svg[^,]*?(;base64)?,(.*)/u.exec(src); + let inlineSrc; + if (dataURI) { + inlineSrc = dataURI[1] + ? window.atob(dataURI[2]) + : decodeURIComponent(dataURI[2]); + } else if (src.includes(' { + if (isActive.current) { + setState({ + content: '', + element: null, + isCached: false, + status: STATUS.LOADING, + }); + } + }, []); + (0, react__WEBPACK_IMPORTED_MODULE_0__.useEffect)( + () => { + isActive.current = true; + if (!canUseDOM() || isInitialized.current) { + return void 0; + } + try { + if (status === STATUS.IDLE) { + if (!isSupportedEnvironment()) { + throw new Error( + 'Browser does not support SVG' + ); + } + if (!src) { + throw new Error('Missing src'); + } + load(); + } + } catch (error) { + handleError(error); + } + isInitialized.current = true; + return () => { + isActive.current = false; + }; + }, + // eslint-disable-next-line react-hooks/exhaustive-deps + [] + ); + (0, react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => { + if (!canUseDOM() || !previousProps) { + return; + } + if (previousProps.src !== src) { + if (!src) { + handleError(new Error('Missing src')); + return; + } + load(); + } + }, [handleError, load, previousProps, src]); + (0, react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => { + if (status === STATUS.LOADED) { + getElement(); + } + }, [status, getElement]); + (0, react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => { + if ( + !canUseDOM() || + !previousProps || + previousProps.src !== src + ) { + return; + } + if ( + previousProps.title !== title || + previousProps.description !== description + ) { + getElement(); + } + }, [description, getElement, previousProps, src, title]); + (0, react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => { + if (!previousState) { + return; + } + switch (status) { + case STATUS.LOADING: { + if (previousState.status !== STATUS.LOADING) { + getContent(); + } + break; + } + case STATUS.LOADED: { + if (previousState.status !== STATUS.LOADED) { + getElement(); + } + break; + } + case STATUS.READY: { + if (previousState.status !== STATUS.READY) { + onLoad?.(src, isCached); + } + break; + } + } + }, [ + getContent, + getElement, + isCached, + onLoad, + previousState, + src, + status, + ]); + const elementProps = omit( + props, + 'baseURL', + 'cacheRequests', + 'children', + 'description', + 'fetchOptions', + 'innerRef', + 'loader', + 'onError', + 'onLoad', + 'preProcessor', + 'src', + 'title', + 'uniqueHash', + 'uniquifyIDs' + ); + if (!canUseDOM()) { + return loader; + } + if (element) { + return (0, + react__WEBPACK_IMPORTED_MODULE_0__.cloneElement)( + element, + { + ref: innerRef, + ...elementProps, + } + ); + } + if ([STATUS.UNSUPPORTED, STATUS.FAILED].includes(status)) { + return children; + } + return loader; + } + function InlineSVG(props) { + if (!cacheStore) { + cacheStore = new CacheStore(); + } + const { loader } = props; + const [isReady, setReady] = (0, + react__WEBPACK_IMPORTED_MODULE_0__.useState)( + cacheStore.isReady + ); + (0, react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => { + if (isReady) { + return; + } + cacheStore.onReady(() => { + setReady(true); + }); + }, [isReady]); + if (!isReady) { + return loader; + } + return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement( + ReactInlineSVG, + { ...props } + ); + } + + //# sourceMappingURL=index.mjs.map + + /***/ + }, + /***/ './node_modules/react-is/cjs/react-is.development.js': /*!***********************************************************!*\ !*** ./node_modules/react-is/cjs/react-is.development.js ***! diff --git a/assets/src/js/formgent-integration/components/EnquiriesComponent.js b/assets/src/js/formgent-integration/components/EnquiriesComponent.js index 1c7c97dc45..e0e4192b3a 100644 --- a/assets/src/js/formgent-integration/components/EnquiriesComponent.js +++ b/assets/src/js/formgent-integration/components/EnquiriesComponent.js @@ -1,22 +1,22 @@ /** * WordPress dependencies */ -import { useState, useEffect } from '@wordpress/element'; +import { useEffect, useState } from '@wordpress/element'; /** * Internal dependencies */ -import Inbox from '../icons/Inbox'; -import Envelope from '../icons/Envelope'; import Calendar from '../icons/Calendar'; import Check from '../icons/Check'; -import { EnquiriesComponentStyle } from './style'; -import Tables from './Table'; +import Envelope from '../icons/Envelope'; +import Inbox from '../icons/Inbox'; import { - fetchEnquiryKPIs, fetchAllEnquiries, + fetchEnquiryKPIs, refreshEnquiryData, } from '../utils/enquiryUtils'; +import { EnquiriesComponentStyle } from './style'; +import Tables from './Table'; const EnquiriesComponent = ({ data = {} }) => { const [responseKPIs, setResponseKPIs] = useState({}); @@ -25,14 +25,12 @@ const EnquiriesComponent = ({ data = {} }) => { //get response KPIs useEffect(() => { fetchEnquiryKPIs().then((data) => { - console.log('KPIs response:', data); setResponseKPIs(data); }); }, []); useEffect(() => { fetchAllEnquiries().then((data) => { - console.log('Responses response:', data); setResponses(data); }); }, []); diff --git a/assets/src/js/formgent-integration/components/EnquiryDetailsModal.js b/assets/src/js/formgent-integration/components/EnquiryDetailsModal.js index 0a19c23bc9..c24f475082 100644 --- a/assets/src/js/formgent-integration/components/EnquiryDetailsModal.js +++ b/assets/src/js/formgent-integration/components/EnquiryDetailsModal.js @@ -1,22 +1,26 @@ /** * WordPress dependencies */ -import { useState, useEffect } from '@wordpress/element'; import { Modal } from '@wordpress/components'; +import { useEffect, useState } from '@wordpress/element'; + +/** + * External dependencies + */ +import ReactSVG from 'react-inlinesvg'; /** * Internal dependencies */ -import { renderAnswerValue } from '../utils/renderAnswerValue'; -import { EnquiryDetailsModalStyle } from './style'; -import Reply from '../icons/Reply'; import Check from '../icons/Check'; +import Reply from '../icons/Reply'; import Trash from '../icons/Trash'; import { fetchSingleEnquiry, findMatchingEnquiry, getStatusBadgeText, } from '../utils/enquiryUtils'; +import { EnquiryDetailsModalStyle } from './style'; /** * EnquiryDetailsModal Component @@ -43,6 +47,12 @@ export default function EnquiryDetailsModal({ const [matchedEnquiry, setMatchedEnquiry] = useState(null); const [loading, setLoading] = useState(false); const [error, setError] = useState(null); + const { + TableDrawerAnswer, + getFormattedAnswer, + handleAnswerIcon, + isProActive, + } = window.formgent.directorist_modules; // Effect to fetch single item data when selectedItem changes useEffect(() => { @@ -94,51 +104,6 @@ export default function EnquiryDetailsModal({ handleMarkAsRead(singleItem.response); }; - // Function to render form answers - const renderFormAnswers = () => { - if ( - !singleItem || - !singleItem.fields || - !singleItem.response || - !singleItem.response.answers - ) { - return

No answers available

; - } - - const { fields, response } = singleItem; - - return ( -
- {fields.map((field, index) => { - // Find matching answer by field name - const matchingAnswer = response.answers.find( - (answer) => answer.field_name === field.name - ); - - return ( -
-

- {field.label} -

-
- {matchingAnswer ? ( - renderAnswerValue(matchingAnswer) - ) : ( - - No answer provided - - )} -
-
- ); - })} -
- ); - }; - if (!isOpen || !selectedItem) { return null; } @@ -215,7 +180,24 @@ export default function EnquiryDetailsModal({
- {renderFormAnswers()} + {/* { + singleItem.response.answers.ma + } */} + {singleItem?.response?.answers.map( + (answer, index) => { + return ( + + ); + } + )}
diff --git a/assets/src/js/formgent-integration/components/style.js b/assets/src/js/formgent-integration/components/style.js index cbcc18c0ef..ca71d506f5 100644 --- a/assets/src/js/formgent-integration/components/style.js +++ b/assets/src/js/formgent-integration/components/style.js @@ -220,7 +220,9 @@ const EnquiryDetailsModalStyle = styled.div` } } .directorist-enquiry-listing { - margin-bottom: 24px; + margin-bottom: 16px; + border-bottom: 1px solid var(--directorist-color-border); + padding-bottom: 16px; h3 { margin: 0 0 4px 0; font-size: 16px; @@ -353,6 +355,131 @@ const EnquiryDetailsModalStyle = styled.div` color: var(--directorist-color-info); } } + .directorist-answers-section { + display: flex; + gap: 24px; + flex-direction: column; + align-items: flex-start; + } + + .formgent-response-badge { + background-color: var(--directorist-color-light); + padding: 0 8px; + color: var(--directorist-color-dark); + font-size: 14px; + line-height: 1.6; + font-weight: 400; + border-radius: 4px; + } + + .response-table__drawer__tab__item { + display: flex; + gap: 12px; + width: 100%; + &.response-table__drawer__tab__item--tag { + .response-table__drawer__tab__item__title { + height: 40px; + } + } + .response-table__drawer__tab__item__icon { + display: flex; + align-items: center; + justify-content: center; + height: 40px; + width: 40px; + min-width: 40px; + border-radius: 10px; + color: var(--directorist-color-dark); + background-color: var(--directorist-color-light); + } + .response-table__drawer__tab__item__content { + display: flex; + gap: 6px; + flex-direction: column; + flex: 1; + } + .response-table__drawer__tab__item__title { + display: block; + font-size: 15px; + font-weight: 600; + color: var(--formgent-color-dark); + margin: 0; + &:first-letter { + text-transform: uppercase; + } + } + .response-table__drawer__tab__item__desc { + display: flex; + gap: 5px; + flex-wrap: wrap; + font-size: 14px; + font-weight: 400; + color: var(--directorist-color-light-gray); + margin: 0; + img { + max-width: 200px; + } + .formgent-signature-image-preview, + .formgent-file-upload-preview { + width: 100%; + max-width: 350px; + } + .formgent-file-upload-answer { + padding: 8px 0; + &:last-child { + border-bottom: 0 none; + padding-bottom: 0; + } + } + } + .response-table__drawer__tab__item__desc__key { + font-size: 14px; + font-weight: 500; + display: inline-flex; + padding-right: 4px; + &::first-letter { + text-transform: uppercase; + } + } + .response-table__drawer__tab__item__desc__value { + font-size: 14px; + color: var(--directorist-color-light-gray); + } + .response-table__drawer__tab__item__add { + display: flex; + align-items: center; + background: transparent; + border: none; + margin: 0; + padding: 0; + cursor: pointer; + &:hover { + color: var(--directorist-color-primary); + } + } + .response-table__drawer__tab__item__btns { + display: flex; + gap: 8px; + flex-wrap: wrap; + .response-table__drawer__tab__item__btn { + font-size: 14px; + font-weight: 500; + padding: 0 8px; + margin: 0; + height: 28px; + color: var(--directorist-color-gray); + background: var(--formgent-color-border); + border: none; + border-radius: 8px; + cursor: pointer; + transition: all ease 0.3s; + &:hover { + color: var(--formgent-color-white); + background: var(--formgent-color-light-gray); + } + } + } + } `; export { EnquiriesComponentStyle, EnquiryDetailsModalStyle }; diff --git a/assets/src/js/formgent-integration/utils/renderAnswerValue.js b/assets/src/js/formgent-integration/utils/renderAnswerValue.js deleted file mode 100644 index 56910c1028..0000000000 --- a/assets/src/js/formgent-integration/utils/renderAnswerValue.js +++ /dev/null @@ -1,176 +0,0 @@ -/** - * Utility function to render different types of form answer values - * @param {Object} answer - The answer object containing field_type, value, and other properties - * @returns {JSX.Element} - The rendered answer value component - */ -export const renderAnswerValue = (answer) => { - const { - field_type, - value, - options, - option_label, - rating_limit, - rating_icon, - children, - } = answer; - - switch (field_type) { - case 'name': - case 'address': - return ( -
- {children?.map((child) => ( -
-
- {child.label || 'Unknown Field'}: -
-
- {child.value} -
-
- ))} -
- ); - - case 'email': - return {value}; - - case 'website': - return ( - - {value} - - ); - - case 'file-upload': - if (Array.isArray(value)) { - return ( -
- {value.map((file, index) => ( - - {file.split('/').pop()} - - ))} -
- ); - } - return ( - - {value} - - ); - - case 'rating': - const rating = parseInt(value); - return ( -
- - {rating} out of {rating_limit || 5} - -
- ); - - case 'dropdown': - case 'single-choice': - return {option_label || value}; - - case 'multiple-choice': - if (options && Array.isArray(options)) { - const selectedValues = JSON.parse(value || '[]'); - const selectedOptions = options.filter((opt) => - selectedValues.includes(opt.value) - ); - return ( -
- {selectedOptions.map((option, index) => ( - - {option.label} - - ))} -
- ); - } - return {value}; - - case 'google-map': - try { - const mapData = JSON.parse(value); - return ( -
-

- Address: {mapData.address} -

-

- Coordinates: {mapData.map.lat},{' '} - {mapData.map.lng} -

-
- ); - } catch (e) { - return {value}; - } - - case 'repeater': - try { - // Check if value is already an array or needs to be parsed - const repeaterData = Array.isArray(value) - ? value - : JSON.parse(value); - return ( -
- - - - {Object.entries(repeaterData[0]).map( - ([key, val]) => ( - - ) - )} - - - - {repeaterData.map((item, index) => ( - - {Object.entries(item).map( - ([key, val]) => ( - - ) - )} - - ))} - -
- {val.label || key} -
{val.value}
-
- ); - } catch (e) { - return Error rendering repeater data; - } - - case 'digital-signature': - return ( -
- Digital Signature -
- ); - - default: - return {value}; - } -}; diff --git a/assets/src/scss/component/listing-details/_details-content.scss b/assets/src/scss/component/listing-details/_details-content.scss index e69de29bb2..2831cd1a33 100644 --- a/assets/src/scss/component/listing-details/_details-content.scss +++ b/assets/src/scss/component/listing-details/_details-content.scss @@ -0,0 +1,14 @@ +// Formgent Integration Styles +.directorist-single-wrapper { + .formgent-form-general { + .formgent-field-list--frontend { + padding: 0; + } + } + .formgent-file-upload-progress-text { + min-width: 40px; + } + .formgent-file-preview-action .formgent-file-delete { + line-height: 1; + } +} diff --git a/package.json b/package.json index c34c419854..3907e24f98 100644 --- a/package.json +++ b/package.json @@ -41,6 +41,7 @@ "lodash": "^4.17.20", "prettier": "^3.5.3", "react-hot-toast": "^2.6.0", + "react-inlinesvg": "^4.2.0", "styled-components": "^6.1.19", "vue": "^2.6.11", "vue-dndrop": "^1.3.0", From a0e46bfde5b13a155a10442b9fed79d465f4f81d Mon Sep 17 00:00:00 2001 From: Tanjim Hasan <34968601+tanjimhasan@users.noreply.github.com> Date: Tue, 2 Dec 2025 14:38:18 +0600 Subject: [PATCH 2/2] integration update --- assets/css/formgent-integration.css | 38 ++++----- assets/css/formgent-integration.rtl.css | 38 ++++----- assets/js/formgent-integration.js | 7 +- .../components/EnquiryDetailsModal.js | 3 + .../formgent-integration/components/style.js | 80 +++++++++---------- assets/src/js/formgent-integration/index.scss | 48 ++++------- includes/model/ListingDashboard.php | 2 + 7 files changed, 95 insertions(+), 121 deletions(-) diff --git a/assets/css/formgent-integration.css b/assets/css/formgent-integration.css index 4e5f98bb6d..ecf3c8263e 100644 --- a/assets/css/formgent-integration.css +++ b/assets/css/formgent-integration.css @@ -2117,29 +2117,23 @@ div.dataviews-view-list { /*!******************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-4.use[1]!./node_modules/resolve-url-loader/index.js!./node_modules/postcss-loader/src/index.js??clonedRuleSet-4.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-4.use[4]!./assets/src/js/formgent-integration/index.scss ***! \******************************************************************************************************************************************************************************************************************************************************************************************************/ -.directorist-answers-modal .directorist-modal-content { - max-height: 70vh; - overflow-y: auto; - padding: 20px; -} -.directorist-answers-modal .directorist-enquiry-info { - margin-bottom: 30px; - padding-bottom: 20px; - border-bottom: 1px solid #e0e0e0; -} -.directorist-answers-modal .directorist-enquiry-info h3 { - margin: 0 0 15px 0; - color: #333; -} -.directorist-answers-modal .directorist-enquiry-info p { - margin: 8px 0; - color: #666; +.directorist-enquiry-modal { + --formgent-color-primary: #5e53f9; + --formgent-color-primary-hover: #563dee; + --formgent-color-primary-2: #2188ff; + --formgent-color-primary-50: #edefff; + --formgent-color-primary-100: #dee3ff; + --formgent-color-primary-200: #c4cbff; + --formgent-color-gray-100: #f3f4f6; + --formgent-color-gray-200: #e5e7eb; + --formgent-color-gray-300: #d2d6db; + --formgent-color-gray-400: #a1a9b2; + --formgent-color-gray-500: #747c89; + --formgent-color-gray-600: #4d5761; + --formgent-color-gray-700: #383f47; + --formgent-color-gray-800: #2c3239; + --formgent-color-gray-900: #141921; } -.directorist-answers-modal .directorist-answers-section h3 { - margin: 0 0 20px 0; - color: #333; -} - .directorist-enquiry-modal .components-modal__header { border-bottom: 1px solid #e0e0e0; } diff --git a/assets/css/formgent-integration.rtl.css b/assets/css/formgent-integration.rtl.css index 3f75ecca29..66c0c60cd2 100644 --- a/assets/css/formgent-integration.rtl.css +++ b/assets/css/formgent-integration.rtl.css @@ -2117,29 +2117,23 @@ div.dataviews-view-list { /*!******************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-4.use[1]!./node_modules/resolve-url-loader/index.js!./node_modules/postcss-loader/src/index.js??clonedRuleSet-4.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-4.use[4]!./assets/src/js/formgent-integration/index.scss ***! \******************************************************************************************************************************************************************************************************************************************************************************************************/ -.directorist-answers-modal .directorist-modal-content { - max-height: 70vh; - overflow-y: auto; - padding: 20px; -} -.directorist-answers-modal .directorist-enquiry-info { - margin-bottom: 30px; - padding-bottom: 20px; - border-bottom: 1px solid #e0e0e0; -} -.directorist-answers-modal .directorist-enquiry-info h3 { - margin: 0 0 15px 0; - color: #333; -} -.directorist-answers-modal .directorist-enquiry-info p { - margin: 8px 0; - color: #666; +.directorist-enquiry-modal { + --formgent-color-primary: #5e53f9; + --formgent-color-primary-hover: #563dee; + --formgent-color-primary-2: #2188ff; + --formgent-color-primary-50: #edefff; + --formgent-color-primary-100: #dee3ff; + --formgent-color-primary-200: #c4cbff; + --formgent-color-gray-100: #f3f4f6; + --formgent-color-gray-200: #e5e7eb; + --formgent-color-gray-300: #d2d6db; + --formgent-color-gray-400: #a1a9b2; + --formgent-color-gray-500: #747c89; + --formgent-color-gray-600: #4d5761; + --formgent-color-gray-700: #383f47; + --formgent-color-gray-800: #2c3239; + --formgent-color-gray-900: #141921; } -.directorist-answers-modal .directorist-answers-section h3 { - margin: 0 0 20px 0; - color: #333; -} - .directorist-enquiry-modal .components-modal__header { border-bottom: 1px solid #e0e0e0; } diff --git a/assets/js/formgent-integration.js b/assets/js/formgent-integration.js index 14a9fe92ec..fb1f5655b7 100644 --- a/assets/js/formgent-integration.js +++ b/assets/js/formgent-integration.js @@ -942,6 +942,11 @@ react_inlinesvg__WEBPACK_IMPORTED_MODULE_4__[ 'default' ], + useState: + _wordpress_element__WEBPACK_IMPORTED_MODULE_2__.useState, + useEffect: + _wordpress_element__WEBPACK_IMPORTED_MODULE_2__.useEffect, + isLoadedFromDirectorist: true, } ); } @@ -1696,7 +1701,7 @@ _babel_runtime_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[ 'default' ])([ - '\n\tmargin-top: 20px;\n\t.directorist-enquiry-sender {\n\t\tdisplay: flex;\n\t\tgap: 16px;\n\t\talign-items: flex-start;\n\t\tmargin-bottom: 24px;\n\t}\n\t.directorist-enquiry-sender-avatar img {\n\t\twidth: 48px;\n\t\theight: 48px;\n\t\tborder-radius: 50%;\n\t\tobject-fit: cover;\n\t}\n\t.directorist-enquiry-sender-info {\n\t\th2 {\n\t\t\tmargin: 0 0 8px 0;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tgap: 12px;\n\t\t\tfont-size: 16px;\n\t\t\tfont-weight: 600;\n\t\t}\n\t\tp {\n\t\t\tmargin: 0 0 8px 0;\n\t\t\tfont-size: 14px;\n\t\t\tcolor: var(--directorist-color-body);\n\t\t}\n\t\tspan {\n\t\t\tdisplay: flex;\n\t\t\tfont-size: 12px;\n\t\t}\n\t}\n\t.directorist-enquiry-listing {\n\t\tmargin-bottom: 16px;\n\t\tborder-bottom: 1px solid var(--directorist-color-border);\n\t\tpadding-bottom: 16px;\n\t\th3 {\n\t\t\tmargin: 0 0 4px 0;\n\t\t\tfont-size: 16px;\n\t\t\tfont-weight: 600;\n\t\t}\n\t\ta {\n\t\t\ttext-decoration: none;\n\t\t\tcolor: var(--directorist-color-info);\n\t\t\tfont-size: 14px;\n\t\t\tfont-weight: 500;\n\t\t}\n\t}\n\t.directorist-answers-section {\n\t\tmargin-bottom: 110px;\n\t}\n\t.directorist-enquiry-answer-item {\n\t\tmargin-bottom: 24px;\n\t}\n\t.directorist-enquiry-answer-title {\n\t\tmargin: 0 0 10px 0;\n\t\tfont-size: 16px;\n\t\tfont-weight: 600;\n\t\tcolor: var(--directorist-color-dark);\n\t}\n\t.directorist-enquiry-answer-value {\n\t\tmargin: 0;\n\t\tfont-size: 14px;\n\t\tfont-weight: 500;\n\t\tcolor: var(--directorist-color-deep-gray);\n\t}\n\t.directorist-enquiry-answer-child {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tgap: 12px;\n\t\tmargin-bottom: 5px;\n\t}\n\t.directorist-enquiry-answer-title-child {\n\t\tmargin: 0;\n\t\tfont-size: 14px;\n\t\tfont-weight: 600;\n\t\tcolor: var(--directorist-color-dark);\n\t}\n\t.directorist-enquiry-answer-value-child {\n\t\tmargin: 0;\n\t\tfont-size: 14px;\n\t\tfont-weight: 400;\n\t}\n\t.directorist-enquiry-answer-repeater {\n\t\ttable {\n\t\t\twidth: 100%;\n\t\t\tborder-collapse: separate;\n\t\t\tborder-spacing: 0;\n\t\t\tborder-radius: 8px;\n\t\t\toverflow: hidden;\n\t\t\tborder: 1px solid #eee;\n\t\t}\n\n\t\tthead {\n\t\t\tbackground: linear-gradient(to bottom, #f9f9f9, #f1f3f5);\n\t\t}\n\n\t\tth {\n\t\t\ttext-align: left;\n\t\t\tpadding: 12px 16px;\n\t\t\tfont-weight: 600;\n\t\t\tfont-size: 14px;\n\t\t\tcolor: #333;\n\t\t}\n\n\t\ttd {\n\t\t\tpadding: 12px 16px;\n\t\t\tfont-size: 14px;\n\t\t\tcolor: #000;\n\t\t\tborder-top: 1px solid #eee;\n\t\t}\n\n\t\t/* Hover effect */\n\t\ttr:hover td {\n\t\t\tbackground-color: #fafafa;\n\t\t}\n\t}\n\t//stick footer to bottom\n\t.directorist-enquiry-modal-footer {\n\t\tborder-top: 1px solid #e5e7eb;\n\t\tdisplay: flex;\n\t\tgap: 12px;\n\t\tposition: fixed;\n\t\tbottom: 0;\n\t\tbackground-color: #fff;\n\t\twidth: 100%;\n\t\tpadding: 20px 30px;\n\t\tbox-sizing: border-box;\n\t\tleft: 0;\n\t}\n\t.directorist-enquiry-modal-btn {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tgap: 8px;\n\t\tpadding: 0 16px;\n\t\tmin-height: 42px;\n\t\tborder-radius: 8px;\n\t\tfont-size: 14px;\n\t\tfont-weight: 500;\n\t\tbox-shadow: none;\n\t\tborder: 1px solid #e5e7eb;\n\t\tbackground: none;\n\t\tcursor: pointer;\n\t\ttransition: 0.3s ease;\n\t\t&.directorist-btn-disabled {\n\t\t\topacity: 0.5;\n\t\t\tpointer-events: none;\n\t\t}\n\t}\n\t.directorist-enquiry-modal-btn-delete {\n\t\tmargin-left: auto;\n\t\t&:hover {\n\t\t\tborder-color: var(--directorist-color-danger);\n\t\t\tcolor: var(--directorist-color-danger);\n\t\t}\n\t}\n\t.directorist-enquiry-modal-btn-resolved {\n\t\t&:hover {\n\t\t\tborder-color: var(--directorist-color-success);\n\t\t\tcolor: var(--directorist-color-success);\n\t\t}\n\t}\n\t.directorist-enquiry-modal-btn-reply {\n\t\t&:hover {\n\t\t\tborder-color: var(--directorist-color-info);\n\t\t\tcolor: var(--directorist-color-info);\n\t\t}\n\t}\n\t.directorist-answers-section{\n\t\tdisplay: flex;\n\t\tgap: 24px;\n\t\tflex-direction: column;\n\t\talign-items: flex-start;\n\t}\n\n\t.formgent-response-badge {\n\t\tbackground-color: var(--directorist-color-light);\n\t\tpadding: 0 8px;\n\t\tcolor: var(--directorist-color-dark);\n\t\tfont-size: 14px;\n\t\tline-height: 1.6;\n\t\tfont-weight: 400;\n\t\tborder-radius: 4px;\n\t}\n\n\t.response-table__drawer__tab__item {\n display: flex;\n gap: 12px;\n width: 100%;\n &.response-table__drawer__tab__item--tag {\n .response-table__drawer__tab__item__title {\n height: 40px;\n }\n }\n .response-table__drawer__tab__item__icon {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 40px;\n width: 40px;\n min-width: 40px;\n border-radius: 10px;\n color: var(--directorist-color-dark);\n background-color: var(--directorist-color-light);\n }\n .response-table__drawer__tab__item__content {\n display: flex;\n gap: 6px;\n flex-direction: column;\n flex: 1;\n }\n .response-table__drawer__tab__item__title {\n display: block;\n font-size: 15px;\n font-weight: 600;\n color: var(--formgent-color-dark);\n margin: 0;\n &:first-letter{\n text-transform: uppercase;\n }\n }\n .response-table__drawer__tab__item__desc {\n display: flex;\n gap: 5px;\n flex-wrap: wrap;\n font-size: 14px;\n font-weight: 400;\n color: var(--directorist-color-light-gray);\n margin: 0;\n img{\n max-width: 200px;\n }\n .formgent-signature-image-preview,\n .formgent-file-upload-preview{\n width: 100%;\n max-width: 350px;\n }\n .formgent-file-upload-answer{\n padding: 8px 0;\n &:last-child{\n border-bottom: 0 none;\n padding-bottom: 0;\n }\n }\n }\n .response-table__drawer__tab__item__desc__key {\n\t\t\tfont-size: 14px;\n font-weight: 500;\n display: inline-flex;\n padding-right: 4px;\n &::first-letter{\n text-transform: uppercase;\n }\n }\n .response-table__drawer__tab__item__desc__value {\n\t\t\tfont-size: 14px;\n color: var(--directorist-color-light-gray);\n }\n .response-table__drawer__tab__item__add {\n display: flex;\n align-items: center;\n background: transparent;\n border: none;\n margin: 0;\n padding: 0;\n cursor: pointer;\n &:hover {\n color: var(--directorist-color-primary);\n }\n }\n .response-table__drawer__tab__item__btns {\n display: flex;\n gap: 8px;\n flex-wrap: wrap;\n .response-table__drawer__tab__item__btn {\n font-size: 14px;\n font-weight: 500;\n padding: 0 8px;\n margin: 0;\n height: 28px;\n color: var(--directorist-color-gray);\n background: var(--formgent-color-border);\n border: none;\n border-radius: 8px;\n cursor: pointer;\n transition: all ease .3s;\n &:hover {\n color: var(--formgent-color-white);\n background: var(--formgent-color-light-gray);\n }\n }\n }\n }\n', + '\n\tmargin-top: 20px;\n\t.directorist-enquiry-sender {\n\t\tdisplay: flex;\n\t\tgap: 16px;\n\t\talign-items: flex-start;\n\t\tmargin-bottom: 24px;\n\t}\n\t.directorist-enquiry-sender-avatar img {\n\t\twidth: 48px;\n\t\theight: 48px;\n\t\tborder-radius: 50%;\n\t\tobject-fit: cover;\n\t}\n\t.directorist-enquiry-sender-info {\n\t\th2 {\n\t\t\tmargin: 0 0 8px 0;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tgap: 12px;\n\t\t\tfont-size: 16px;\n\t\t\tfont-weight: 600;\n\t\t}\n\t\tp {\n\t\t\tmargin: 0 0 8px 0;\n\t\t\tfont-size: 14px;\n\t\t\tcolor: var(--directorist-color-body);\n\t\t}\n\t\tspan {\n\t\t\tdisplay: flex;\n\t\t\tfont-size: 12px;\n\t\t}\n\t}\n\t.directorist-enquiry-listing {\n\t\tmargin-bottom: 16px;\n\t\tborder-bottom: 1px solid var(--directorist-color-border);\n\t\tpadding-bottom: 16px;\n\t\th3 {\n\t\t\tmargin: 0 0 4px 0;\n\t\t\tfont-size: 16px;\n\t\t\tfont-weight: 600;\n\t\t}\n\t\ta {\n\t\t\ttext-decoration: none;\n\t\t\tcolor: var(--directorist-color-info);\n\t\t\tfont-size: 14px;\n\t\t\tfont-weight: 500;\n\t\t}\n\t}\n\t.directorist-answers-section {\n\t\tmargin-bottom: 110px;\n\t}\n\t.directorist-enquiry-answer-item {\n\t\tmargin-bottom: 24px;\n\t}\n\t.directorist-enquiry-answer-title {\n\t\tmargin: 0 0 10px 0;\n\t\tfont-size: 16px;\n\t\tfont-weight: 600;\n\t\tcolor: var(--directorist-color-dark);\n\t}\n\t.directorist-enquiry-answer-value {\n\t\tmargin: 0;\n\t\tfont-size: 14px;\n\t\tfont-weight: 500;\n\t\tcolor: var(--directorist-color-deep-gray);\n\t}\n\t.directorist-enquiry-answer-child {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tgap: 12px;\n\t\tmargin-bottom: 5px;\n\t}\n\t.directorist-enquiry-answer-title-child {\n\t\tmargin: 0;\n\t\tfont-size: 14px;\n\t\tfont-weight: 600;\n\t\tcolor: var(--directorist-color-dark);\n\t}\n\t.directorist-enquiry-answer-value-child {\n\t\tmargin: 0;\n\t\tfont-size: 14px;\n\t\tfont-weight: 400;\n\t}\n\t.directorist-repeater-table-wrapper{\n max-width: 600px;\n @media (max-width: 768px) {\n max-width: 500px;\n }\n }\n\t.formgent-editor-rating {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tgap: 12px;\n\t\tmargin: 5px 0;\n\t}\n\t.formgent-editor-rating__icons {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tgap: 5px;\n\t}\n\t.formgent-editor-rating__icons .formgent-editor-rating__icon--active svg path{\n\t\tfill: var(--directorist-color-primary);\n\t}\n\t.formgent-google-map-external-link{\n\t\tcolor: var(--directorist-color-info);\n\t}\n\t//stick footer to bottom\n\t.directorist-enquiry-modal-footer {\n\t\tborder-top: 1px solid #e5e7eb;\n\t\tdisplay: flex;\n\t\tgap: 12px;\n\t\tposition: fixed;\n\t\tbottom: 0;\n\t\tbackground-color: #fff;\n\t\twidth: 100%;\n\t\tpadding: 20px 30px;\n\t\tbox-sizing: border-box;\n\t\tleft: 0;\n\t}\n\t.directorist-enquiry-modal-btn {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tgap: 8px;\n\t\tpadding: 0 16px;\n\t\tmin-height: 42px;\n\t\tborder-radius: 8px;\n\t\tfont-size: 14px;\n\t\tfont-weight: 500;\n\t\tbox-shadow: none;\n\t\tborder: 1px solid #e5e7eb;\n\t\tbackground: none;\n\t\tcursor: pointer;\n\t\ttransition: 0.3s ease;\n\t\t&.directorist-btn-disabled {\n\t\t\topacity: 0.5;\n\t\t\tpointer-events: none;\n\t\t}\n\t}\n\t.directorist-enquiry-modal-btn-delete {\n\t\tmargin-left: auto;\n\t\t&:hover {\n\t\t\tborder-color: var(--directorist-color-danger);\n\t\t\tcolor: var(--directorist-color-danger);\n\t\t}\n\t}\n\t.directorist-enquiry-modal-btn-resolved {\n\t\t&:hover {\n\t\t\tborder-color: var(--directorist-color-success);\n\t\t\tcolor: var(--directorist-color-success);\n\t\t}\n\t}\n\t.directorist-enquiry-modal-btn-reply {\n\t\t&:hover {\n\t\t\tborder-color: var(--directorist-color-info);\n\t\t\tcolor: var(--directorist-color-info);\n\t\t}\n\t}\n\t.directorist-answers-section {\n\t\tdisplay: flex;\n\t\tgap: 24px;\n\t\tflex-direction: column;\n\t\talign-items: flex-start;\n\t}\n\n\t.formgent-response-badge {\n\t\tbackground-color: var(--directorist-color-light);\n\t\tpadding: 0 8px;\n\t\tcolor: var(--directorist-color-dark);\n\t\tfont-size: 14px;\n\t\tline-height: 1.6;\n\t\tfont-weight: 400;\n\t\tborder-radius: 4px;\n\t}\n\n\t.formgent-response-table__drawer__tab__item {\n\t\tdisplay: flex;\n\t\tgap: 12px;\n\t\twidth: 100%;\n\t\t&.formgent-response-table__drawer__tab__item--tag {\n\t\t\t.formgent-response-table__drawer__tab__item__title {\n\t\t\t\theight: 40px;\n\t\t\t}\n\t\t}\n\t\t.formgent-response-table__drawer__tab__item__icon {\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\theight: 40px;\n\t\t\twidth: 40px;\n\t\t\tmin-width: 40px;\n\t\t\tborder-radius: 10px;\n\t\t\tcolor: var(--directorist-color-dark);\n\t\t\tbackground-color: var(--directorist-color-light);\n\t\t}\n\t\t.formgent-response-table__drawer__tab__item__content {\n\t\t\tdisplay: flex;\n\t\t\tgap: 6px;\n\t\t\tflex-direction: column;\n\t\t\tflex: 1;\n\t\t}\n\t\t.formgent-response-table__drawer__tab__item__title {\n\t\t\tdisplay: block;\n\t\t\tfont-size: 15px;\n\t\t\tfont-weight: 600;\n\t\t\tcolor: var(--formgent-color-dark);\n\t\t\tmargin: 0;\n\t\t\t&:first-letter {\n\t\t\t\ttext-transform: uppercase;\n\t\t\t}\n\t\t}\n\t\t.formgent-response-table__drawer__tab__item__desc {\n\t\t\tdisplay: flex;\n\t\t\tgap: 5px;\n\t\t\tflex-wrap: wrap;\n\t\t\tfont-size: 14px;\n\t\t\tfont-weight: 400;\n\t\t\tcolor: var(--directorist-color-light-gray);\n\t\t\tmargin: 0;\n\t\t\timg {\n\t\t\t\tmax-width: 200px;\n\t\t\t}\n\t\t\t.formgent-signature-image-preview,\n\t\t\t.formgent-file-upload-preview {\n\t\t\t\twidth: 100%;\n\t\t\t\tmax-width: 350px;\n\t\t\t}\n\t\t\t.formgent-file-upload-answer {\n\t\t\t\tpadding: 8px 0;\n\t\t\t\t&:last-child {\n\t\t\t\t\tborder-bottom: 0 none;\n\t\t\t\t\tpadding-bottom: 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t.formgent-response-table__drawer__tab__item__desc__key {\n\t\t\tfont-size: 14px;\n\t\t\tfont-weight: 500;\n\t\t\tdisplay: inline-flex;\n\t\t\tpadding-right: 4px;\n\t\t\t&::first-letter {\n\t\t\t\ttext-transform: uppercase;\n\t\t\t}\n\t\t}\n\t\t.formgent-response-table__drawer__tab__item__desc__value {\n\t\t\tfont-size: 14px;\n\t\t\tcolor: var(--directorist-color-light-gray);\n\t\t}\n\t\t.formgent-response-table__drawer__tab__item__add {\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tbackground: transparent;\n\t\t\tborder: none;\n\t\t\tmargin: 0;\n\t\t\tpadding: 0;\n\t\t\tcursor: pointer;\n\t\t\t&:hover {\n\t\t\t\tcolor: var(--directorist-color-primary);\n\t\t\t}\n\t\t}\n\t\t.formgent-response-table__drawer__tab__item__btns {\n\t\t\tdisplay: flex;\n\t\t\tgap: 8px;\n\t\t\tflex-wrap: wrap;\n\t\t\t.formgent-response-table__drawer__tab__item__btn {\n\t\t\t\tfont-size: 14px;\n\t\t\t\tfont-weight: 500;\n\t\t\t\tpadding: 0 8px;\n\t\t\t\tmargin: 0;\n\t\t\t\theight: 28px;\n\t\t\t\tcolor: var(--directorist-color-gray);\n\t\t\t\tbackground: var(--formgent-color-border);\n\t\t\t\tborder: none;\n\t\t\t\tborder-radius: 8px;\n\t\t\t\tcursor: pointer;\n\t\t\t\ttransition: all ease 0.3s;\n\t\t\t\t&:hover {\n\t\t\t\t\tcolor: var(--formgent-color-white);\n\t\t\t\t\tbackground: var(--formgent-color-light-gray);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n', ])) ); diff --git a/assets/src/js/formgent-integration/components/EnquiryDetailsModal.js b/assets/src/js/formgent-integration/components/EnquiryDetailsModal.js index c24f475082..3059c5e5ab 100644 --- a/assets/src/js/formgent-integration/components/EnquiryDetailsModal.js +++ b/assets/src/js/formgent-integration/components/EnquiryDetailsModal.js @@ -194,6 +194,9 @@ export default function EnquiryDetailsModal({ getFormattedAnswer } ReactSVG={ReactSVG} + useState={useState} + useEffect={useEffect} + isLoadedFromDirectorist={true} /> ); } diff --git a/assets/src/js/formgent-integration/components/style.js b/assets/src/js/formgent-integration/components/style.js index ca71d506f5..a028f1bf45 100644 --- a/assets/src/js/formgent-integration/components/style.js +++ b/assets/src/js/formgent-integration/components/style.js @@ -270,40 +270,32 @@ const EnquiryDetailsModalStyle = styled.div` font-size: 14px; font-weight: 400; } - .directorist-enquiry-answer-repeater { - table { - width: 100%; - border-collapse: separate; - border-spacing: 0; - border-radius: 8px; - overflow: hidden; - border: 1px solid #eee; - } - - thead { - background: linear-gradient(to bottom, #f9f9f9, #f1f3f5); - } - - th { - text-align: left; - padding: 12px 16px; - font-weight: 600; - font-size: 14px; - color: #333; - } - - td { - padding: 12px 16px; - font-size: 14px; - color: #000; - border-top: 1px solid #eee; - } - - /* Hover effect */ - tr:hover td { - background-color: #fafafa; + .directorist-repeater-table-wrapper { + max-width: 600px; + @media (max-width: 768px) { + max-width: 500px; } } + .formgent-editor-rating { + display: flex; + align-items: center; + gap: 12px; + margin: 5px 0; + } + .formgent-editor-rating__icons { + display: flex; + align-items: center; + gap: 5px; + } + .formgent-editor-rating__icons + .formgent-editor-rating__icon--active + svg + path { + fill: var(--directorist-color-primary); + } + .formgent-google-map-external-link { + color: var(--directorist-color-info); + } //stick footer to bottom .directorist-enquiry-modal-footer { border-top: 1px solid #e5e7eb; @@ -372,16 +364,16 @@ const EnquiryDetailsModalStyle = styled.div` border-radius: 4px; } - .response-table__drawer__tab__item { + .formgent-response-table__drawer__tab__item { display: flex; gap: 12px; width: 100%; - &.response-table__drawer__tab__item--tag { - .response-table__drawer__tab__item__title { + &.formgent-response-table__drawer__tab__item--tag { + .formgent-response-table__drawer__tab__item__title { height: 40px; } } - .response-table__drawer__tab__item__icon { + .formgent-response-table__drawer__tab__item__icon { display: flex; align-items: center; justify-content: center; @@ -392,13 +384,13 @@ const EnquiryDetailsModalStyle = styled.div` color: var(--directorist-color-dark); background-color: var(--directorist-color-light); } - .response-table__drawer__tab__item__content { + .formgent-response-table__drawer__tab__item__content { display: flex; gap: 6px; flex-direction: column; flex: 1; } - .response-table__drawer__tab__item__title { + .formgent-response-table__drawer__tab__item__title { display: block; font-size: 15px; font-weight: 600; @@ -408,7 +400,7 @@ const EnquiryDetailsModalStyle = styled.div` text-transform: uppercase; } } - .response-table__drawer__tab__item__desc { + .formgent-response-table__drawer__tab__item__desc { display: flex; gap: 5px; flex-wrap: wrap; @@ -432,7 +424,7 @@ const EnquiryDetailsModalStyle = styled.div` } } } - .response-table__drawer__tab__item__desc__key { + .formgent-response-table__drawer__tab__item__desc__key { font-size: 14px; font-weight: 500; display: inline-flex; @@ -441,11 +433,11 @@ const EnquiryDetailsModalStyle = styled.div` text-transform: uppercase; } } - .response-table__drawer__tab__item__desc__value { + .formgent-response-table__drawer__tab__item__desc__value { font-size: 14px; color: var(--directorist-color-light-gray); } - .response-table__drawer__tab__item__add { + .formgent-response-table__drawer__tab__item__add { display: flex; align-items: center; background: transparent; @@ -457,11 +449,11 @@ const EnquiryDetailsModalStyle = styled.div` color: var(--directorist-color-primary); } } - .response-table__drawer__tab__item__btns { + .formgent-response-table__drawer__tab__item__btns { display: flex; gap: 8px; flex-wrap: wrap; - .response-table__drawer__tab__item__btn { + .formgent-response-table__drawer__tab__item__btn { font-size: 14px; font-weight: 500; padding: 0 8px; diff --git a/assets/src/js/formgent-integration/index.scss b/assets/src/js/formgent-integration/index.scss index ee0ecb7d55..618dc6ffda 100644 --- a/assets/src/js/formgent-integration/index.scss +++ b/assets/src/js/formgent-integration/index.scss @@ -1,38 +1,22 @@ @import "~@wordpress/dataviews/build-style/style.css"; -// Modal Styles -.directorist-answers-modal { - .directorist-modal-content { - max-height: 70vh; - overflow-y: auto; - padding: 20px; - } - - .directorist-enquiry-info { - margin-bottom: 30px; - padding-bottom: 20px; - border-bottom: 1px solid #e0e0e0; - - h3 { - margin: 0 0 15px 0; - color: #333; - } - - p { - margin: 8px 0; - color: #666; - } - } - - .directorist-answers-section { - h3 { - margin: 0 0 20px 0; - color: #333; - } - } -} - .directorist-enquiry-modal { + --formgent-color-primary: #5e53f9; + --formgent-color-primary-hover: #563dee; + --formgent-color-primary-2: #2188ff; + --formgent-color-primary-50: #edefff; + --formgent-color-primary-100: #dee3ff; + --formgent-color-primary-200: #c4cbff; + --formgent-color-gray-100: #f3f4f6; + --formgent-color-gray-200: #e5e7eb; + --formgent-color-gray-300: #d2d6db; + --formgent-color-gray-400: #a1a9b2; + --formgent-color-gray-500: #747c89; + --formgent-color-gray-600: #4d5761; + --formgent-color-gray-700: #383f47; + --formgent-color-gray-800: #2c3239; + --formgent-color-gray-900: #141921; + .components-modal__header { border-bottom: 1px solid #e0e0e0; } diff --git a/includes/model/ListingDashboard.php b/includes/model/ListingDashboard.php index 9f0bf2da79..594b2679ff 100644 --- a/includes/model/ListingDashboard.php +++ b/includes/model/ListingDashboard.php @@ -517,6 +517,8 @@ public function render_shortcode( $atts ) { return $this->restrict_access_template(); } + do_action( 'directorist_before_load_dashboard', $atts, $this ); + return Helper::get_template_contents( 'dashboard-contents', [ 'dashboard' => $this ] ); }