From a63f95dc8e2d7944121e178c3abb06ba9399023d Mon Sep 17 00:00:00 2001 From: TeoAlex Date: Wed, 14 Aug 2024 15:46:33 +0300 Subject: [PATCH 1/5] [ #904 ] importing descriptions --- includes/migrate/class-modula-ajax-migrator.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/migrate/class-modula-ajax-migrator.php b/includes/migrate/class-modula-ajax-migrator.php index 87ef0e91..1ec81507 100644 --- a/includes/migrate/class-modula-ajax-migrator.php +++ b/includes/migrate/class-modula-ajax-migrator.php @@ -96,7 +96,7 @@ public function add_image_to_library( $source_path, $source_file, $description, global $wpdb; $sql = $wpdb->prepare( "SELECT * FROM $wpdb->posts WHERE guid LIKE %s", - '%/' . $source_file + '%/' . str_replace( '-scaled', '', $source_file ) ); $queried = $wpdb->get_results( $sql ); @@ -106,7 +106,7 @@ public function add_image_to_library( $source_path, $source_file, $description, 'ID' => $queried[0]->ID, 'title' => $queried[0]->post_title, 'alt' => get_post_meta( $queried[0]->ID, '_wp_attachment_image_alt', true ), - 'caption' => $queried[0]->post_content + 'caption' => ! empty( $description ) ? $description : $queried[0]->post_content, ); } From f5d59fe3e547b486fe50843a0f225a8d016723f7 Mon Sep 17 00:00:00 2001 From: TeoAlex Date: Wed, 14 Aug 2024 15:47:39 +0300 Subject: [PATCH 2/5] [ #937 ] ACF PRO incompatibility --- assets/css/admin/modula-cpt.css | 2 +- assets/css/admin/modula-cpt.min.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/css/admin/modula-cpt.css b/assets/css/admin/modula-cpt.css index 37efdbb8..78082647 100644 --- a/assets/css/admin/modula-cpt.css +++ b/assets/css/admin/modula-cpt.css @@ -1662,7 +1662,7 @@ Scaling Effect Preview /* Autocomplete z-index fix */ -.ui-autocomplete { +html body.post-type-modula-gallery .ui-autocomplete { z-index: 160000; background: white; font-family: inherit; diff --git a/assets/css/admin/modula-cpt.min.css b/assets/css/admin/modula-cpt.min.css index dd5be9aa..219bc827 100644 --- a/assets/css/admin/modula-cpt.min.css +++ b/assets/css/admin/modula-cpt.min.css @@ -1 +1 @@ -#modula-settings .inside{padding:0;margin:0}.modula-settings-container{display:flex}.modula-settings-container .modula-tabs{background-color:#f8f8f8}.modula-settings-container .modula-tabs .modula-tab{margin:0 10px 0 0;padding:15px 0;color:#9c9c9c;cursor:pointer;position:relative;min-width:200px;position:relative}.modula-settings-container .modula-tabs .modula-tab sup{margin-left:5px;padding:2px 5px;border-radius:5px;color:#fff;font-size:10px;background:#9c9c9c;display:inline-block;line-height:1;position:relative;float:right;top:4px}.modula-settings-container .modula-tabs .modula-tab.active-tab sup,.modula-settings-container .modula-tabs .modula-tab:hover sup{background-color:#57a7c9}.modula-settings-container .modula-tabs .modula-tab.modula-responsive.active-tab sup,.modula-settings-container .modula-tabs .modula-tab.modula-responsive:hover sup{background:#dc3232}.modula-settings-container .modula-tabs .modula-tab>i{margin-right:10px;margin-left:15px}.modula-settings-container .modula-tabs .modula-tab:after{position:absolute;content:"";width:1px;height:100%;background-color:transparent;top:0;right:-1px}.modula-settings-container .modula-tabs .modula-tab.active-tab:first-child{border-top:none}.modula-settings-container .modula-tabs .modula-tab:hover{color:#333}.modula-settings-container .modula-tabs .modula-tab.active-tab{margin:0;padding:15px 10px 15px 0;background-color:#fff;border-top:1px solid #ddd;color:#333}.modula-settings-container .modula-tabs .modula-tab.active-tab:not(:last-child){border-bottom:1px solid #ddd}.modula-settings-container .modula-tabs .modula-tab.active-tab:before{content:"";position:absolute;left:-2px;top:-1px;width:3px;height:calc(100% + 2px);background-color:#57a7c9}.modula-settings-container .modula-tabs .modula-tab.active-tab:after{background-color:#fff}tr label.th-label{color:#23282d;font-weight:600;margin-bottom:10px}.postbox .modula-settings-container table.form-table{margin:0}.modula-settings-container .modula-tabs-content{padding:0;border-left:1px solid #ccd0d4;flex-grow:1}.modula-tabs-content>div:not( .active-tab ){display:none}.modula-settings-container .modula-tabs-content .tab-content-header{width:100%;padding:15px 20px 15px 20px;border-bottom:1px solid #ccd0d4;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between}.modula-settings-container .modula-tabs-content .tab-content-header .tab-content-header-actions{display:flex;align-items:center}.modula-settings-container .modula-tabs-content .tab-content-header .tab-content-header-actions>span{margin:0 10px;font-style:italic}.modula-settings-container .modula-tabs-content .tab-content-header .tab-content-header-actions a.button>span{height:auto;line-height:26px;margin-right:10px}#poststuff .modula-settings-container .modula-tabs-content .tab-content-header .tab-content-header-title>h2{font-weight:700;padding:0;display:inline-block;line-height:20px}#poststuff .modula-settings-container .modula-tabs-content .tab-content-header .tab-header-description p{margin:0}.modula-settings-container .form-table td p.description{font-size:13px}.modula-settings-container .modula-tabs-content .form-table tr{border-top:1px solid #eee;border-bottom:1px solid #eee}.modula-settings-container .modula-tabs-content .form-table tr:first-of-type{border-top:none}.modula-settings-container .modula-tabs-content .form-table tr:last-of-type{border-bottom:none}.modula-settings-container .modula-tabs-content .form-table th{padding:20px;width:200px;min-width:200px}.modula-settings-container .modula-tabs-content .form-table th.child_setting{padding-left:40px;width:220px;min-width:220px}.modula-settings-container .modula-tabs-content .form-table textarea:not(#modula-style-customcode){max-width:230px}textarea#modula-style-customcode{resize:none;height:calc(100vh - 100px)}.modula-settings-container .modula-tabs-content .form-table th.two_child_setting{padding-left:60px;display:inline-block;width:200px}.modula-settings-container .modula-tabs-content .form-table th.three_child_setting{padding-left:80px;display:inline-block;width:180px;min-width:180px}.modula-placeholders{display:flex;flex-wrap:wrap}.modula-placeholder-value{font-family:'Courier New',Courier,monospace;font-weight:500;letter-spacing:-.5px;font-size:12px;border:1px solid grey;padding:3px 4px;background:#ddd;cursor:pointer;user-select:none;-webkit-user-select:none;margin-right:3px;width:115px}.modula-settings-container .slider-container{position:relative;height:2px;padding:10px 0;width:230px;box-sizing:border-box;display:flex;display:flex;justify-content:space-between;align-items:center}.modula-settings-container .slider-container input[type=text]{border:none;text-align:center;padding:2px;margin:0 30px 0 0;font-size:12px;color:#333;border-radius:10px;background-color:#fff;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.16);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.16);box-shadow:inset 0 1px 1px rgba(0,0,0,.16);width:40px;height:22px;min-width:auto}.modula-settings-container .slider-container .ui-slider{position:relative;text-align:left;height:2px;border-radius:3px;border:none;display:block;width:100%;background:#d6d6d6;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.modula-settings-container .slider-container .ui-slider .ui-slider-handle{position:absolute;z-index:2;top:-10px;cursor:default;-ms-touch-action:none;touch-action:none;width:18px;height:18px;-webkit-border-radius:9px;-moz-border-radius:9px;border-radius:9px;background-color:#fff;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.1);-moz-box-shadow:0 1px 1px rgba(0,0,0,.1);box-shadow:0 1px 1px rgba(0,0,0,.1);border:solid 1px #d7d7d7;transform:translateX(-50%)}.modula-settings-container .slider-container .ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0;background:#57a7c9;top:0;bottom:0}.modula-settings-container input:not([type=select-one]):not([type=button]):not([contenteditable=true]),.modula-settings-container select{max-width:230px}.selectize-control.single .selectize-input,.selectize-dropdown.single{max-width:230px}.modula-effects-preview{margin-top:20px}.modula-effects-preview .modula-item{height:300px;overflow:hidden;position:relative}.modula-effects-preview .modula-item img{position:absolute;min-height:100%;min-width:100%}.modula-effects-preview .modula-item .figc{display:flex;align-items:center;justify-content:center;color:#fff;font-size:11px;text-align:center;position:absolute;left:0;width:100%;height:100%;padding:0}.modula-effects-preview .modula-item .figc .jtg-title{font-size:21px!important;color:#fff}.modula-effects-preview .modula-item .figc p{color:#fff;font-size:15px;font-style:normal}.modula .modula-items .modula-item .jtg-title{margin:0}.modula .modula-items .modula-item p{margin:0;padding:0}.modula .figc{color:#000;text-align:center;position:absolute;left:0;width:100%;padding:2em}.modula .modula-item .jtg-social a{text-decoration:none;color:#fff;display:inline-block;margin:0 10px 0 0;width:20px;padding:6px 4px;border:0;opacity:0;transition:opacity .3s}.modula .modula-item .jtg-social svg{width:20px;height:16px}.modula .modula-item:hover .jtg-social a{opacity:1}.modula .modula-items .jtg-social{opacity:0;transition:opacity .1s;right:30px;position:absolute;bottom:20px;text-align:right;transition:all .3s}html body .modula.modula-gallery .modula-items .jtg-social{opacity:1}.modula .modula-items .jtg-social a:last-of-type{margin-right:0}.modula .modula-item.effect-pufrobo p.description{margin-bottom:2em}.modula .modula-item.effect-pufrobo .figc{text-align:right}.modula .modula-item.effect-pufrobo .jtg-title,.modula .modula-item.effect-pufrobo p{position:absolute;right:30px;left:30px;padding:10px 0}.modula .modula-item:hover img{opacity:.8}.modula .modula-item{background-color:#000}.modula .modula-item.effect-pufrobo p{bottom:20%;line-height:1.5;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);letter-spacing:1px}.modula .modula-item.effect-pufrobo .jtg-title{top:10%;-webkit-transition:-webkit-transform .35s;transition:transform .35s;-webkit-transform:translate3d(0,20px,0);transform:translate3d(0,20px,0)}.modula .modula-item.effect-pufrobo:hover .jtg-title{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.modula .modula-item.effect-pufrobo .jtg-title::after{position:absolute;top:80%;left:0;width:100%;height:4px;background:#fff;content:'';-webkit-transform:translate3d(0,40px,0);transform:translate3d(0,40px,0)}.modula .modula-item.effect-pufrobo .jtg-title::after,.modula .modula-item.effect-pufrobo p{opacity:0;-webkit-transition:opacity .35s,-webkit-transform .35s;transition:opacity .35s,transform .35s}.modula .modula-item.effect-pufrobo:hover .jtg-title::after,.modula .modula-item.effect-pufrobo:hover p{margin-top:10px;margin-bottom:5px;opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.single-modula-gallery.post-type-modula-gallery.modula-no-drag #poststuff .postbox .handle-actions{display:none}html body #wpbody #poststuff #post-body .postbox-container #modula-hover-effect .modula.modula-gallery .modula-items .modula-item.effect-sadie .jtg-title{color:#fff}html body #wpbody #poststuff #post-body .postbox-container #modula-hover-effect .modula.modula-gallery .modula-items .modula-item.effect-zoe .jtg-social a,html body #wpbody #poststuff #post-body .postbox-container #modula-hover-effect .modula.modula-gallery .modula-items .modula-item.effect-zoe .jtg-title{color:#000}html body #wpbody #poststuff #post-body .postbox-container #modula-hover-effect .modula.modula-gallery .modula-items .modula-preview-badge+.modula-item.effect-dexter .figc::after{-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}html body #wpbody #poststuff #post-body .postbox-container #modula-hover-effect .modula.modula-gallery .modula-items .modula-item.effect-milo:hover .description{opacity:1}html body #wpbody #poststuff #post-body .postbox-container #modula-hover-effect .modula.modula-gallery .modula-items .modula-preview-badge+.modula-item.effect-dexter .figc:hover::after{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}tr[data-container=effect]>td{padding:15px 20px}.modula-effects-preview,.modula-effects-preview .modula-item.effect-dexter .figc,.modula-effects-preview p{box-sizing:border-box}#poststuff .modula-effects-preview .modula-item .figc .jtg-title,.modula-effects-preview .modula-item.effect-chico .figc,.modula-effects-preview .modula-item.effect-layla .figc,.modula-effects-preview .modula-item.effect-oscar .figc,.modula-effects-preview .modula-item.effect-roxy .figc{padding:0}#poststuff .modula .modula-item.effect-reflex .figc-inner .jtg-title{padding-left:10px}#poststuff .modula .modula-items .modula-item.effect-comodo .jtg-title{margin-top:20px}#poststuff .modula .modula-item.effect-appear .jtg-title,#poststuff .modula .modula-item.effect-honey .jtg-title{padding:1em 1.5em}#poststuff .modula .modula-item.effect-milo .jtg-title{padding:1em 1.2em}.modula .modula-items .modula-item.effect-julia p{margin:0 0 .25em;padding:.4em 1em}#poststuff .modula .modula-item.effect-terry .jtg-title{padding:.4em 15px}.modula .modula-items .modula-item.effect-apollo p{margin:3em;padding:0 1em}#poststuff .modula .modula-items .modula-item.effect-steve .jtg-title{margin-top:2em;padding:.25em;color:#000}.modula .modula-items .modula-item.effect-steve p{margin-top:1em;padding:.5em;color:#000}.modula-effects-preview .modula-item.effect-under img{top:50%;left:50%;transform:translate(-50%,-50%)}.modula-upsell{background:#f1f1f1;border:0;padding:15px;margin-top:30px}.modula-settings-container .modula-upsell{margin:30px}.modula-upsell .modula-upsell-features{text-align:left;display:flex;flex-wrap:wrap;padding:20px 0}.modula-upsell .modula-upsell-features li{width:33%}#modula-exif .modula-upsell .modula-upsell-features li,#modula-zoom .modula-upsell .modula-upsell-features li{width:50%}#modula-image_licensing .modula-upsell .modula-upsell-features li{width:100%}.form-table-wrapper .modula-upsell{border:1px solid #ddd;text-align:center}#poststuff .modula-upsell h2{font-weight:700;background:#fff;left:-15px;top:-15px;padding:8px 12px;position:relative;width:calc(100% + 6px);border-bottom:1px solid #ddd}.modula-upsell p{margin:0}.modula-upsell p.modula-upsell-description{font-size:13px;line-height:1.5;color:#333;opacity:.8;margin-top:0;margin-bottom:10px;padding:0 10px}.modula-upsell .button{height:31px;line-height:31px;font-weight:700}.modula-upsell .button:first-child{margin-right:10px}.modula-upsell .action-link,.modula-upsell .action-link:hover{background:#51ad31;border-color:#51ad31;color:#fff;font-weight:700}#modula-uploader-container{position:relative;padding-left:10px;padding-right:10px}#modula-uploader-container.modula-resizer-enabled{margin-bottom:20px}.modula-upload-actions{padding:15px 20px;background-color:#f8fcfd;border-bottom:1px solid #ecf6f9;margin-bottom:20px;display:flex;align-items:center;justify-content:space-between;width:100%;box-sizing:border-box}.modula-upload-actions .buttons{flex-shrink:0;width:auto;display:flex}.modula-sources-dropdown{position:relative;border-top:1px solid rgba(255,255,255,0);border-right:1px solid rgba(255,255,255,0);border-left:1px solid rgba(255,255,255,0)}.modula-sources-dropdown:hover{border-color:#ddd;background:#f5f5f5}.modula-sources-dropdown>span{width:28px;height:32px;text-align:center;line-height:28px;cursor:pointer;display:inline-block;font-size:25px;font-weight:700}.modula-sources-dropdown .modula-sources-dropdown-content{position:absolute;right:-1px;bottom:0;transform:translateY(100%);display:none;padding:15px;background-color:#f5f5f5;box-shadow:0 1px 1px rgba(0,0,0,.04);box-sizing:border-box;border:1px solid #ddd}.modula-sources-dropdown:hover .modula-sources-dropdown-content{display:block}.modula-sources-dropdown:hover .modula-sources-dropdown-content:before{content:"";height:1px;width:28px;background-color:#f5f5f5;position:absolute;top:-1px;right:0}.segrip.ui-resizable-se{width:30px;height:30px;background:url('../../images/resize-se.svg') no-repeat;background-size:contain;display:none;z-index:100;opacity:1}.modula-resizer-enabled .segrip.ui-resizable-se{display:block}.modula-upload-actions #modula-uploader-browser{border-bottom-right-radius:0;border-top-right-radius:0}.modula-upload-actions #modula-wp-gallery{border-bottom-left-radius:0;border-top-left-radius:0}.wp-core-ui .modula-upload-actions>a{margin:0 5px}#modula-dropzone-container{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0,86,132,.9);z-index:250000;display:none;text-align:center;opacity:0;transition:opacity 250ms}#modula-dropzone-container .modula-uploader-window-content{position:absolute;top:10px;left:10px;right:10px;bottom:10px;border:1px dashed #fff}#poststuff #modula-dropzone-container .modula-uploader-window-content h1{margin:-.5em 0 0;position:absolute;top:50%;left:0;right:0;-webkit-transform:translateY(-50%);transform:translateY(-50%);font-size:20px;line-height:28px;font-weight:400;color:#fff;padding:0}.modula-uploader-inline-content{position:relative;min-height:300px;width:100%}.modula-resizer-enabled .modula-uploader-inline-content{min-height:initial}.modula-uploader-inline-content h2{text-align:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}#poststuff .modula-upload-message{font-size:43px;line-height:1;font-weight:400;margin:0;display:none;color:#ebebeb}#poststuff .modula-upload-message .dashicons,#poststuff .modula-upload-message .dashicons-before:before{font-size:43px;width:43px;height:43px}.modula-uploader-inline p{font-size:12px;margin:.5em 0}#poststuff .modula-uploader-inline .modula-upload-instructions{font-size:14px;color:#444;font-weight:400;padding:0}.modula-uploader-footer .max-upload-size{float:left}.modula-uploader-footer .modula-upload-numbers{float:right;opacity:0}.modula-uploader-footer:after{display:block;content:"";clear:both}.upload-progress .modula-upload-numbers{margin:0;line-height:1.4em}.modula-progress-bar{width:100%;max-width:400px;position:relative;height:2px;margin:8px 0 0;border-radius:10px;background:#e5e5e5}.upload-info-container{position:relative;overflow:hidden;flex-grow:1}.upload-info-container .upload-info{padding:5px 0}.upload-info-container .upload-progress{position:absolute;background-color:#f8fcfd;height:100%;display:flex;top:0;left:0;width:100%;flex-direction:column;transition:transform .5s;transform:translateY(100%)}.modula-upload-actions.show-progress .upload-info-container .upload-progress{transform:translateY(0)}.modula-progress-bar .modula-progress-bar-inner{height:2px;min-width:20px;width:0;background:#0085ba;-webkit-transition:width .3s;-moz-transition:width .3s;-ms-transition:width .3s;-o-transition:width .3s;transition:width .3s;border-radius:5px}.modula-uploader-footer.show-progress .modula-progress-bar,.modula-uploader-footer.show-progress .modula-upload-numbers{opacity:1}.modula-uploader-inline-content .modula-single-image,.modula-uploader-inline-content .modula-single-image-placeholder{cursor:move;display:inline-block;padding:0 10px 10px 0;box-sizing:border-box;width:16.66%}.modula-uploader-inline-content .modula-single-image-placeholder:after{width:100%;height:100%;display:inline-block;content:"";position:relative;border:3px dashed #444;padding-top:calc(100% - 6px);box-sizing:border-box}.modula-uploader-inline-content .modula-single-image .modula-single-image-content{position:relative;border:1px solid #d6d6d6;box-sizing:border-box;background-position:center;background-size:cover}.modula-uploader-inline-content .modula-single-image .modula-single-image-content img{display:block;width:100%}#poststuff .modula-uploader-inline-content>.modula-upload-message:only-child{display:block}.modula-uploader-inline-content .modula-single-image .actions{position:absolute;z-index:99;font-size:0;width:100%;height:100%;top:0;left:0;background:rgba(0,0,0,.4);padding:5px;box-sizing:border-box;display:none}.modula-uploader-inline-content .modula-single-image:hover .actions{display:block}.modula-uploader-inline-content .modula-single-image .actions a{width:20px;height:20px;border-radius:100%;border:1px solid #000;background-color:rgba(255,255,255,.8);color:#000;display:block;text-decoration:none;text-align:center;line-height:20px;margin-bottom:5px}.modula-uploader-inline-content .modula-single-image .actions a:hover{background-color:#000;color:#fff}.modula-uploader-inline-content .modula-single-image .actions a span{font-size:16px;width:20px;height:20px;line-height:20px}.modula-uploader-inline-content .modula-single-image .actions a.modula-delete-image{color:#a00a00}.modula-uploader-inline-content .modula-single-image .actions a.modula-delete-image:hover{background-color:#a00a00;color:#fff}.modula-uploader-inline-content:after{content:"";display:block;clear:both}.media-modal .modula-edit-popup.edit-attachment-frame .edit-media-header button.right{border-right:1px solid #ddd}.media-modal .modula-edit-popup .attachment-details .attachment-info .settings .setting{margin:0 0 20px 0;padding:0 0 20px 0;border-bottom:1px solid #ddd}.media-modal .modula-edit-popup .attachment-details .attachment-info .settings .setting span.name{display:block;width:100%;min-width:100%;margin:0;padding:0;text-align:left;font-weight:700;font-size:14px}.media-modal .modula-edit-popup .attachment-details .attachment-info .settings .setting input[type=text],.media-modal .modula-edit-popup .attachment-details .attachment-info .settings .setting textarea{display:block;width:100%;min-width:100%;margin:0}.media-modal .modula-edit-popup .attachment-details .attachment-info .settings .setting div.description{clear:both;float:left;margin:5px 0 0 0;text-align:left;font-size:13px;font-style:italic;color:#666}.media-modal .modula-edit-popup .attachment-details .attachment-info .settings .setting.modula-link input[name=link]{padding:10px 40px 10px 5px}.media-modal .modula-edit-popup .attachment-details .attachment-info .settings .setting.modula-link input[name=link].ui-autocomplete-loading{background-position:calc(100% - 40px) center}.media-modal .modula-edit-popup .attachment-details .attachment-info .settings .setting.modula-link label{position:relative}.media-modal .modula-edit-popup .attachment-details .attachment-info .settings .setting.modula-link span.dashicons{position:absolute;right:15px;margin-top:35px;font-size:16px;line-height:0}.media-modal .modula-edit-popup .attachment-details .attachment-info .settings{margin:0;padding:0;border:none}.media-modal .attachment-info .actions a{display:inline-block}.inline-input{display:inline}.ui-draggable.ui-resizable>.segrip{width:10px;height:10px;background:red;position:absolute;bottom:0;right:0}.ui-draggable.ui-resizable .modula-single-image-content img{display:none}.ui-draggable.ui-resizable .modula-single-image-content{width:100%;height:100%}.ui-draggable.ui-resizable.modula-single-image{padding:0}.packery-drop-placeholder{outline:3px dashed #444;outline-offset:-6px;-webkit-transition:-webkit-transform .2s;transition:transform .2s}.ui-resizable-helper{border:3px dashed #444;box-sizing:border-box}#poststuff #modula-preview-gallery h2.hndle,#poststuff #modula-settings h2.hndle{padding-left:20px}#poststuff #modula-preview-gallery .inside{margin-top:0;padding:0}.modula-edit-popup .attachment-details .setting span.description>span{display:inline-block;float:none;width:auto;min-width:unset;line-height:16px;min-height:16px;margin-top:8px;padding:0;vertical-align:middle;margin-right:0}.modula-edit-popup .attachment-details .setting span.description{text-align:left;vertical-align:middle}.modula-media-modal .attachments-browser .media-toolbar .media-toolbar-secondary{width:100%}.modula-media-modal .attachments-browser .media-toolbar .media-toolbar-secondary .modula-error-container{margin-top:25px}.modula-error-container{display:block}.modula-error-container.hide{display:none}.modula-error-container .modula-error{padding:12px;margin-bottom:12px;background:#fff;border-left:4px solid #dc3232;box-shadow:0 0 4px 0 rgba(0,0,0,.1);font-weight:600;margin-top:5px;position:relative;background-color:#dc3232;color:#fff}.modula-error-container .modula-error a{color:#fff}.modula-error-container .modula-error .upload-dismiss-errors{position:absolute;top:50%;right:-5px;padding:10px;transition:none;display:block;text-decoration:none;margin-top:-18px}.modula-error-container .modula-error .upload-dismiss-errors:before{content:"\f153";display:block;font:400 16px/1 dashicons;color:#fff}a.modula-tab-link{text-decoration:none}.modula-tab-link span.dashicons{width:16px;height:16px;line-height:16px;margin-right:3px;vertical-align:text-bottom;font-size:16px;text-decoration:none}#modula-grid{height:100%;position:absolute;overflow:hidden;top:0;left:0;width:100%}#modula-grid .modula-grid-item{background-color:#fafafa;float:left}#modula-grid .modula-grid-item:nth-child(12n){margin-right:0!important}#modula-grid:after{content:"";display:block;clear:both}.modula-shortcuts{padding:10px;color:#696969;background:#f5efe0;font-size:11px}.modula-shortcuts strong{color:#000}.modula-tooltip{position:relative;display:inline-block;float:left;margin-right:10px}.modula-tooltip>span{cursor:pointer;color:#0073aa;text-decoration:underline;margin-left:5px}.modula-tooltip .modula-tooltip-content{display:none;position:absolute;top:50%;right:-10px;transform:translate(100% ,-50%);width:300px;background:#000;color:#fff;padding:10px;box-sizing:border-box;z-index:99}.modula-tooltip .modula-tooltip-content:before{content:'';width:0;height:0;border-style:solid;border-width:8px 8px 8px 0;border-color:transparent #000 transparent transparent;display:block;position:absolute;top:50%;left:-8px;transform:translateY(-50%)}.modula-tooltip:hover .modula-tooltip-content{display:block}.modula-helper-guidelines-container{padding:15px 20px;background-color:#f8fcfd;display:flex;align-items:center;border-top:1px solid #ecf6f9;z-index:999;position:relative}.modula-helper-guidelines-container .onoffswitch{margin-top:0}.modula-helper-guidelines-wrapper .modula-helper-guidelines-label{margin-left:5px}.modula-helper-guidelines-container.modula-guidelines-display{display:none}.modula-creative-gallery.modula-uploader-inline-content .modula-single-image .modula-single-image-content{background:#eee!important;position:relative;overflow:hidden}.modula-creative-gallery.modula-uploader-inline-content .modula-single-image-content:before{content:"";display:block;padding-top:100%}.modula-creative-gallery.modula-uploader-inline-content .modula-single-image-content img{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.modula-creative-gallery.modula-uploader-inline-content .modula-single-image-content.landscape img{max-height:100%}.modula-creative-gallery.modula-uploader-inline-content .modula-single-image-content.portrait img{max-width:100%}.modula-toggle{position:relative;position:relative;user-select:none;display:inline-block}.modula-toggle__items{box-sizing:border-box;display:inline-block;position:relative}.modula-toggle__items>*{box-sizing:inherit}.modula-toggle__input[type=checkbox],.modula-toggle__input[type=radio],body .media-modal-content .attachment-details .modula-toggle__input[type=checkbox],body .media-modal-content .attachment-details .modula-toggle__input[type=radio]{border-radius:2px;border:2px solid #6c7781;margin-right:12px;transition:none;height:100%;left:0;top:0;margin:0;padding:0;opacity:0;position:absolute;width:100%;z-index:1}.modula-toggle__track,body .media-modal-content .attachment-details .modula-toggle__track{background-color:#fff;border:2px solid #6c7781;border-radius:9px;display:inline-block;height:18px;width:36px;vertical-align:top;transition:background .2s ease}.modula-toggle__thumb,body .media-modal-content .attachment-details .modula-toggle__thumb{background-color:#6c7781;border:5px solid #6c7781;border-radius:50%;display:block;height:10px;width:10px;position:absolute;left:4px;top:4px;transition:transform .2s ease}body .media-modal-content .attachment-details .modula-toggle__thumb,body .media-modal-content .attachment-details .modula-toggle__track{min-width:auto;min-height:auto;float:none;padding:0}.modula-toggle__off{position:absolute;right:6px;top:6px;color:#6c7781;fill:currentColor}.modula-toggle__on{position:absolute;top:6px;left:8px;border:1px solid #fff;outline:1px solid transparent;outline-offset:-1px;display:none}.modula-toggle__input[type=checkbox]:checked+.modula-toggle__items .modula-toggle__track,.modula-toggle__input[type=radio]:checked+.modula-toggle__items .modula-toggle__track{background-color:#11a0d2;border:9px solid transparent}.modula-toggle__input[type=checkbox]:checked+.modula-toggle__items .modula-toggle__thumb,.modula-toggle__input[type=radio]:checked+.modula-toggle__items .modula-toggle__thumb{background-color:#fff;border-width:0;transform:translateX(18px)}.modula-toggle__input[type=checkbox]:checked+.modula-toggle__items .modula-toggle__off,.modula-toggle__input[type=radio]:checked+.modula-toggle__items .modula-toggle__off{display:none}.modula-toggle__input[type=checkbox]:checked+.modula-toggle__items .modula-toggle__on,.modula-toggle__input[type=radio]:checked+.modula-toggle__items .modula-toggle__on{display:inline-block}p.description.alert{color:red}tr.troubleshoot-subfield.hide{display:none}.modula-copy-shortcode{display:flex;align-items:center;flex-wrap:wrap}.modula-copy-shortcode input{margin:0;border-top-right-radius:0;border-bottom-right-radius:0;flex-grow:1}.modula-copy-shortcode span{width:100%}.wp-core-ui .modula-copy-shortcode a.button-primary{height:30px;border-top-left-radius:0;border-bottom-left-radius:0}@keyframes carousel{0%{transform:translateX(0);opacity:1!important}50%{transform:translateX(0);opacity:1!important}51%{transform:translateX(-100%);opacity:1!important}99%{transform:translateX(-100%);opacity:1!important}100%{transform:translateX(-200%);opacity:1!important}}.modula-upsells-carousel-wrapper{position:relative;display:flex;overflow:hidden}.modula-upsells-carousel{flex-shrink:0;position:relative;display:block;width:100%}.modula-upsells-carousel .modula-upsell-item{position:relative;width:100%;flex-shrink:0;margin-top:0;left:-15px}.modula-upsells-carousel .modula-upsell-item{text-align:center}.modula-upsells-carousel .modula-upsell-item ul.modula-upsells-list{padding-left:40px}.modula-upsells-carousel .modula-upsell-item ul li{position:relative;list-style-type:none!important;text-align:left}#modula-albums-upsell .modula-upsells-carousel .modula-upsell-item ul li{display:inline-block;margin:0 15px 15px 35px}.modula-upsells-carousel .modula-upsell-item ul li:before{font-family:Dashicons;content:"\f147";position:absolute;left:-30px;font-size:14px;color:green;background-color:#fff;padding:0 3px;border-radius:50%;border:1px solid #ddd;top:-1px}.modula-upsell ul.modula-upsell-features li span.modula-check{display:inline-block;color:green;background-color:#fff;border-radius:50%;border:1px solid #ddd;display:inline-block;margin-right:5px}#modula-albums-upsell>button.handlediv,#modula-albums-upsell>h2.hndle.ui-sortable-handle,#modula-sorting-upsell>button.handlediv,#modula-sorting-upsell>h2.hndle.ui-sortable-handle{display:none}#modula-defaults-upsell p:not(:last-child){text-align:left}#modula-albums-upsell>.inside,#modula-debug>.inside,#modula-defaults-upsell>.inside,#modula-sorting-upsell>.inside{padding:0;margin:0 auto}.cm-s-dracula .CodeMirror-gutters,.cm-s-dracula.CodeMirror{background-color:#282a36!important;color:#f8f8f2!important;border:none}.cm-s-dracula .CodeMirror-gutters{color:#282a36}.cm-s-dracula .CodeMirror-cursor{border-left:solid thin #f8f8f0}.cm-s-dracula .CodeMirror-linenumber{color:#6d8a88}.cm-s-dracula .CodeMirror-selected{background:rgba(255,255,255,.1)}.cm-s-dracula .CodeMirror-line::selection,.cm-s-dracula .CodeMirror-line>span::selection,.cm-s-dracula .CodeMirror-line>span>span::selection{background:rgba(255,255,255,.1)}.cm-s-dracula .CodeMirror-line::-moz-selection,.cm-s-dracula .CodeMirror-line>span::-moz-selection,.cm-s-dracula .CodeMirror-line>span>span::-moz-selection{background:rgba(255,255,255,.1)}.cm-s-dracula span.cm-comment{color:#6272a4}.cm-s-dracula span.cm-string,.cm-s-dracula span.cm-string-2{color:#f1fa8c}.cm-s-dracula span.cm-number{color:#bd93f9}.cm-s-dracula span.cm-variable{color:#50fa7b}.cm-s-dracula span.cm-variable-2{color:#fff}.cm-s-dracula span.cm-def{color:#50fa7b}.cm-s-dracula span.cm-operator{color:#ff79c6}.cm-s-dracula span.cm-keyword{color:#ff79c6}.cm-s-dracula span.cm-atom{color:#bd93f9}.cm-s-dracula span.cm-meta{color:#f8f8f2}.cm-s-dracula span.cm-tag{color:#ff79c6}.cm-s-dracula span.cm-attribute{color:#50fa7b}.cm-s-dracula span.cm-qualifier{color:#50fa7b}.cm-s-dracula span.cm-property{color:#66d9ef}.cm-s-dracula span.cm-builtin{color:#50fa7b}.cm-s-dracula span.cm-type,.cm-s-dracula span.cm-variable-3{color:#ffb86c}.cm-s-dracula .CodeMirror-activeline-background{background:rgba(255,255,255,.1)}.cm-s-dracula .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}#modula_troubleshooting_option .modula-select label{margin-right:10px}#modula_troubleshooting_option .modula-select label:last-child{margin-right:0}#modula_troubleshooting_option td>.wrap.modula{margin:0 auto}#modula_troubleshooting_option td>.wrap.modula .modula-toggle{margin-top:0}#modula_image_licensing_option h2,#modula_troubleshooting_option h2,.modula .row th>h2{margin:0}#modula-albums-upsell h2{margin:0!important}.modula-settings-container input[type=number]{max-width:80px}.modula-after-input{margin-left:5px}.modula-scaling-effect-preview{position:relative;max-width:900px;width:100%;margin:0 auto;margin-top:20px}.modula-scaling-effect-preview .modula-item{transition:.6s all;z-index:9999;float:left;margin:10px}.modula-scaling-effect-preview a#test-scaling-preview{margin-top:25px;margin-left:10px}#modula-shortcode .modula-copy-shortcode{margin:10px auto}#modula-shortcode .inside{padding:0 12px 2.5px!important}.shortcode-description{margin:10px 0 0 0;border-bottom:1px solid #ddd;color:#696969;padding-bottom:10px}.modula-imagesize-info span{font-weight:700}.modula-settings-container .selectize-dropdown{cursor:pointer}.modula-settings-container .lightbox-announcement{position:relative;padding:30px}.modula-settings-container .lightbox-announcement a.notice-dismiss{text-decoration:none}.ui-autocomplete{z-index:160000;background:#fff;font-family:inherit}.modula-autocomplete-results{padding:5px}.modula-autocomplete-results p{margin-left:8px;margin-bottom:0;font-size:14px}.modula-autocomplete-results span{position:absolute;top:50%;right:5%;transform:translate(-5%,-50%)}.modula-autocomplete-results code{padding:10px 20px}.ui-autocomplete .ui-menu-item{border-bottom:1px solid #555}.modula-colorpickers .iris-border .iris-picker-inner{right:0}html body .modula-tabs-content .modula-colorpickers .iris-palette-container a{display:none}html body .modula-tabs-content .modula-colorpickers .iris-palette-container a:first-child,html body .modula-tabs-content .modula-colorpickers .iris-palette-container a:nth-child(2),html body .modula-tabs-content .modula-colorpickers .iris-palette-container a:nth-child(3),html body .modula-tabs-content .modula-colorpickers .iris-palette-container a:nth-child(4),html body .modula-tabs-content .modula-colorpickers .iris-palette-container a:nth-child(5),html body .modula-tabs-content .modula-colorpickers .iris-palette-container a:nth-child(6),html body .modula-tabs-content .modula-colorpickers .iris-palette-container a:nth-child(7),html body .modula-tabs-content .modula-colorpickers .iris-palette-container a:nth-child(8){display:block}.post-type-modula-gallery #preview-action{display:none}.modula .nav-tab .modula-badge{font-size:10px;background:#f4daa4;padding:2px 5px;display:inline-block;margin-left:10px;border-radius:10px}.modula-settings-upsell{max-width:600px;padding:15px;background:#fff;margin-bottom:20px}.modula-settings-tab-upsell{padding:20px;background:#fff;color:#3c434a}.modula-settings-tab-upsell a:first-child,.modula-settings-upsell a:first-child{margin-right:10px}.modula-columns{display:block}.modula-columns .m-col-4{flex:0 0 30%;max-width:30%}.modula-columns .modula-column{box-sizing:border-box}.modula-columns .modula-column+.modula-column{padding-left:20px}.modula-side-tab .modula-upsell{padding:15px;background:#fff;margin-top:20px}.modula-side-tab .modula-upsell .modula-upsell-content{margin-bottom:15px}.modula-side-tab .modula-upsell h3{margin-top:0}.modula-tab-content{position:relative}.form-table-wrapper .modula-compatibility{text-align:left;margin:30px}.form-table-wrapper .modula-compatibility-block{width:100%;height:60px;position:absolute;background:gray;z-index:9;opacity:.5}.modula-tab-content td>span.dashicons,.modula-tabs-content td>span.modula_input_suffix{padding:5px;background:#eaecef;color:#000;position:relative;border-top:1px solid #7e8993;border-bottom:1px solid #7e8993;display:inline-block;vertical-align:middle}.modula-tab-content td>span.dashicons{border-top-left-radius:4px;border-bottom-left-radius:4px;border-left:1px solid #7e8993}.modula-tabs-content td>span.modula_input_suffix{border-top-right-radius:4px;border-bottom-right-radius:4px;border-right:1px solid #7e8993;left:-2px;display:inline-block;vertical-align:middle;line-height:20px}html body .modula-settings-container .modula-tab-content tr[data-container=gutter]>td,html body .modula-settings-container .modula-tab-content tr[data-container=height]>td{display:inline-block}html body .modula-settings-container .modula-tab-content tr[data-container] input.modula-gutter-input{border-radius:0;border-right:0;border-left:0;min-width:62px;max-width:62px;height:32px;position:relative;left:-1px}.modula-preview-item-container{position:relative}.modula-preview-item-container .modula-preview-badge{background:#dc3232;color:#fff;padding:5px 10px;position:absolute;top:5px;right:5px;z-index:1}.modula-preview-item-container .modula-selected-effect-badge{background:#2271b1;color:#fff;padding:5px 10px;position:absolute;top:5px;left:5px;z-index:1}.modula-preview-item-container:hover .modula-effects-badge{transition:opacity .5s;opacity:0}.modula-preview-item-container .modula-preview-item-content{background:#f1f1f1;padding:0 10px;flex:1}.modula-preview-item-container .modula-preview-item-content h4{margin:0;padding:10px 0 10px}.modula-preview-item-container{border:2px solid transparent;height:100%;display:flex;flex-direction:column}#modula-hover-effect .modula-effects-preview .panel-pro-preview input[type=radio]:checked+.modula-preview-item-container{border-color:#0071a1}html body #wpbody #poststuff #post-body .postbox-container #modula-hover-effect .modula-effects-preview{position:relative;min-height:650px}#modula-hover-effect .modula-effects-preview .panel-pro-preview{width:31%;margin-bottom:20px}#modula-hover-effect .modula-effects-preview .panel-pro-preview h4{text-align:center}#modula-hover-effect .modula-effects-preview .modula-effects-wrapper{max-height:600px;overflow-Y:scroll;display:flex;flex-wrap:wrap;justify-content:space-between}#modula-hover-effect .modula-effects-preview .panel-pro-preview input[type=radio]{display:none}.modula-settings-container .modula-tabs-content input[type=checkbox]:disabled{opacity:0;cursor:default}.modula-settings-container .modula-tabs-content .modula_settings_accordion{float:right;font-size:12px;line-height:16px;color:#1d2327;cursor:pointer}.modula-settings-container .modula-tabs-content .modula_settings_accordion:after{right:0;content:"\f140";font:normal 20px/1 dashicons;display:inline-block;padding:0 5px 0 0;bottom:2px;position:relative;vertical-align:bottom;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;top:2px}.modula-settings-container .modula-tabs-content .modula_accordion_open .modula_settings_accordion:after{content:"\f142"}.modula-settings-container .modula-tabs-content .modula-icons-radio-wrapper input[type=radio]{position:absolute;opacity:0}.modula-settings-container .modula-tabs-content .modula-icons-radio-wrapper{display:inline-flex}.modula-settings-container .modula-tabs-content .modula-radio-icon{border-left:1px solid #ccd0d4;border-top:1px solid #ccd0d4;border-bottom:1px solid #ccd0d4;padding:15px 15px 12px 15px;display:flex;flex-flow:row;align-items:center}.modula-settings-container .modula-tabs-content .modula-icons-radio-item:last-child .modula-radio-icon{border-top-right-radius:5px;border-bottom-right-radius:5px;border-right:1px solid #ccd0d4}.modula-settings-container .modula-tabs-content .modula-icons-radio-wrapper .modula-icons-radio-item:first-of-type .modula-radio-icon{border-top-left-radius:5px;border-bottom-left-radius:5px}.modula-settings-container .modula-tabs-content .modula-icon-radio-name{margin-left:10px;font-weight:500;width:auto;position:relative}.modula-settings-container .modula-tabs-content .modula-radio-icon>img{max-width:30px}.modula-icons-radio-wrapper{max-width:420px;position:relative;left:-85px}.modula-settings-container .modula-tabs-content .modula-icons-radio-wrapper input[type=radio]:checked+label{border:1px solid #27be92;margin-right:-1px;z-index:98;box-shadow:0 0 5px #27be92}.modula-settings-container .modula-tabs-content .modula-radio-icon.modula-radio-icon-disabled,.modula-settings-container .modula-tabs-content .modula-radio-icon.modula-radio-icon-install{cursor:default;position:relative}.modula-settings-container .modula-tabs-content .modula-radio-icon.modula-radio-icon-disabled>*,.modula-settings-container .modula-tabs-content .modula-radio-icon.modula-radio-icon-install>*{opacity:.5}.modula-settings-container .modula-tabs-content .modula-radio-icon.modula-radio-icon-install::after{content:'NOT INSTALLED';position:absolute;right:-1px;top:-1px;left:-1px;background-color:#9c9c9c;padding:1px 6px;font-size:10px;color:#fff;border-top-right-radius:5px;letter-spacing:1px;text-align:center}.modula-settings-container .modula-tabs-content .modula-radio-icon.modula-radio-icon-disabled::after{content:'PRO';position:absolute;right:-1px;top:-1px;background-color:#9c9c9c;padding:2px 6px;font-size:11px;border-bottom-left-radius:5px;color:#fff;border-top-right-radius:5px;letter-spacing:1px}@media screen and (min-width:1000px) and (max-width:1680px){html body .modula-settings-container .modula-tabs-content .modula-radio-icon,html body .modula-settings-container .modula-tabs-content .modula-radio-icon.modula-radio-icon-disabled,html body .modula-settings-container .modula-tabs-content .modula-radio-icon.modula-radio-icon-install{border:1px solid #ccd0d4;border-radius:0}.modula-settings-container .modula-tabs-content .modula-radio-icon.modula-radio-icon-disabled::after,.modula-settings-container .modula-tabs-content .modula-radio-icon.modula-radio-icon-install::after{border-top-right-radius:0}.modula-settings-container .modula-tabs-content .modula-icons-radio-wrapper{display:flex;flex-wrap:wrap;gap:10px;left:unset}html body .modula-settings-container .modula-tabs-content .modula-radio-icon.modula-radio-icon-install::after{border-top-left-radius:5px;border-top-right-radius:5px}html body .modula-settings-container .modula-tabs-content .modula-icons-radio-wrapper .modula-radio-icon{border-radius:5px}}@media screen and (max-width:1680px){.modula-icons-radio-wrapper .modula-icons-radio-item{width:calc(33.33% - 10px)}}@media screen and (max-width:1366px){.modula-icons-radio-wrapper .modula-icons-radio-item{width:calc(50% - 10px)}.modula-settings-container .modula-tabs-content .modula-icons-radio-wrapper{left:-85px}}html body .modula .modula-radio-item{margin-top:10px}html body ul#modula_gallery_add_action{position:absolute;z-index:999;background-color:#fff;border:1px solid #8c8f94;border-radius:3px;top:35px;right:20px}html body ul#modula_gallery_add_action li:not(:last-child){border-bottom:1px solid #8c8f94}html body ul#modula_gallery_add_action li{padding:5px 10px;cursor:pointer;margin:0}html body ul#modula_gallery_add_action li:hover{background-color:#f8fcfd}.modula-image-licensing-radio-wrapper{display:flex;flex-wrap:wrap;gap:16px}.modula-image-licensing-radio-icon{display:flex;align-items:center;flex:1 1 calc(100% / 4 - 16px);max-width:calc(100% / 4 - 16px);box-sizing:border-box;background-color:#fff;padding:16px;border-radius:5px;border:1px solid #ccd0d4;transition:border-color .3s ease;cursor:pointer}.modula-image-licensing-radio-icon img{margin-right:16px;max-height:70px;max-width:30%}.modula_image_licensing_radio_input{position:absolute;opacity:0}.modula_image_licensing_radio_input:checked+.modula-image-licensing-radio-icon{border:1px solid #27be92;box-shadow:0 0 5px #27be92}.modula-image-licensing-radio-icon:first-of-type{justify-content:center;text-align:center}.modula-image-licensing-radio-icon:first-of-type .modula-image-licensing-radio-name{flex-grow:1;display:flex;align-items:center;justify-content:center}@media (max-width:1800px){.modula-image-licensing-radio-icon{flex:1 1 calc(100% / 3 - 16px);max-width:calc(100% / 3 - 16px)}#modula-image_licensing.modula-tab-content .modula-image-licensing-radio-wrapper{position:relative;left:-80px;width:calc(100% + 80px)}}@media (max-width:1600px){.modula-image-licensing-radio-icon{flex:1 1 calc(100% / 2 - 16px);max-width:calc(100% / 2 - 16px)}#modula-image_licensing.modula-tab-content .modula-image-licensing-radio-wrapper{position:relative;left:-80px;width:calc(100% + 80px)}}@media (max-width:1400px){.modula-image-licensing-radio-icon{flex:1 1 100%;max-width:100%}} \ No newline at end of file +#modula-settings .inside{padding:0;margin:0}.modula-settings-container{display:flex}.modula-settings-container .modula-tabs{background-color:#f8f8f8}.modula-settings-container .modula-tabs .modula-tab{margin:0 10px 0 0;padding:15px 0;color:#9c9c9c;cursor:pointer;position:relative;min-width:200px;position:relative}.modula-settings-container .modula-tabs .modula-tab sup{margin-left:5px;padding:2px 5px;border-radius:5px;color:#fff;font-size:10px;background:#9c9c9c;display:inline-block;line-height:1;position:relative;float:right;top:4px}.modula-settings-container .modula-tabs .modula-tab.active-tab sup,.modula-settings-container .modula-tabs .modula-tab:hover sup{background-color:#57a7c9}.modula-settings-container .modula-tabs .modula-tab.modula-responsive.active-tab sup,.modula-settings-container .modula-tabs .modula-tab.modula-responsive:hover sup{background:#dc3232}.modula-settings-container .modula-tabs .modula-tab>i{margin-right:10px;margin-left:15px}.modula-settings-container .modula-tabs .modula-tab:after{position:absolute;content:"";width:1px;height:100%;background-color:transparent;top:0;right:-1px}.modula-settings-container .modula-tabs .modula-tab.active-tab:first-child{border-top:none}.modula-settings-container .modula-tabs .modula-tab:hover{color:#333}.modula-settings-container .modula-tabs .modula-tab.active-tab{margin:0;padding:15px 10px 15px 0;background-color:#fff;border-top:1px solid #ddd;color:#333}.modula-settings-container .modula-tabs .modula-tab.active-tab:not(:last-child){border-bottom:1px solid #ddd}.modula-settings-container .modula-tabs .modula-tab.active-tab:before{content:"";position:absolute;left:-2px;top:-1px;width:3px;height:calc(100% + 2px);background-color:#57a7c9}.modula-settings-container .modula-tabs .modula-tab.active-tab:after{background-color:#fff}tr label.th-label{color:#23282d;font-weight:600;margin-bottom:10px}.postbox .modula-settings-container table.form-table{margin:0}.modula-settings-container .modula-tabs-content{padding:0;border-left:1px solid #ccd0d4;flex-grow:1}.modula-tabs-content>div:not( .active-tab ){display:none}.modula-settings-container .modula-tabs-content .tab-content-header{width:100%;padding:15px 20px 15px 20px;border-bottom:1px solid #ccd0d4;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between}.modula-settings-container .modula-tabs-content .tab-content-header .tab-content-header-actions{display:flex;align-items:center}.modula-settings-container .modula-tabs-content .tab-content-header .tab-content-header-actions>span{margin:0 10px;font-style:italic}.modula-settings-container .modula-tabs-content .tab-content-header .tab-content-header-actions a.button>span{height:auto;line-height:26px;margin-right:10px}#poststuff .modula-settings-container .modula-tabs-content .tab-content-header .tab-content-header-title>h2{font-weight:700;padding:0;display:inline-block;line-height:20px}#poststuff .modula-settings-container .modula-tabs-content .tab-content-header .tab-header-description p{margin:0}.modula-settings-container .form-table td p.description{font-size:13px}.modula-settings-container .modula-tabs-content .form-table tr{border-top:1px solid #eee;border-bottom:1px solid #eee}.modula-settings-container .modula-tabs-content .form-table tr:first-of-type{border-top:none}.modula-settings-container .modula-tabs-content .form-table tr:last-of-type{border-bottom:none}.modula-settings-container .modula-tabs-content .form-table th{padding:20px;width:200px;min-width:200px}.modula-settings-container .modula-tabs-content .form-table th.child_setting{padding-left:40px;width:220px;min-width:220px}.modula-settings-container .modula-tabs-content .form-table textarea:not(#modula-style-customcode){max-width:230px}textarea#modula-style-customcode{resize:none;height:calc(100vh - 100px)}.modula-settings-container .modula-tabs-content .form-table th.two_child_setting{padding-left:60px;display:inline-block;width:200px}.modula-settings-container .modula-tabs-content .form-table th.three_child_setting{padding-left:80px;display:inline-block;width:180px;min-width:180px}.modula-placeholders{display:flex;flex-wrap:wrap}.modula-placeholder-value{font-family:'Courier New',Courier,monospace;font-weight:500;letter-spacing:-.5px;font-size:12px;border:1px solid grey;padding:3px 4px;background:#ddd;cursor:pointer;user-select:none;-webkit-user-select:none;margin-right:3px;width:115px}.modula-settings-container .slider-container{position:relative;height:2px;padding:10px 0;width:230px;box-sizing:border-box;display:flex;display:flex;justify-content:space-between;align-items:center}.modula-settings-container .slider-container input[type=text]{border:none;text-align:center;padding:2px;margin:0 30px 0 0;font-size:12px;color:#333;border-radius:10px;background-color:#fff;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.16);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.16);box-shadow:inset 0 1px 1px rgba(0,0,0,.16);width:40px;height:22px;min-width:auto}.modula-settings-container .slider-container .ui-slider{position:relative;text-align:left;height:2px;border-radius:3px;border:none;display:block;width:100%;background:#d6d6d6;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.modula-settings-container .slider-container .ui-slider .ui-slider-handle{position:absolute;z-index:2;top:-10px;cursor:default;-ms-touch-action:none;touch-action:none;width:18px;height:18px;-webkit-border-radius:9px;-moz-border-radius:9px;border-radius:9px;background-color:#fff;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.1);-moz-box-shadow:0 1px 1px rgba(0,0,0,.1);box-shadow:0 1px 1px rgba(0,0,0,.1);border:solid 1px #d7d7d7;transform:translateX(-50%)}.modula-settings-container .slider-container .ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0;background:#57a7c9;top:0;bottom:0}.modula-settings-container input:not([type=select-one]):not([type=button]):not([contenteditable=true]),.modula-settings-container select{max-width:230px}.selectize-control.single .selectize-input,.selectize-dropdown.single{max-width:230px}.modula-effects-preview{margin-top:20px}.modula-effects-preview .modula-item{height:300px;overflow:hidden;position:relative}.modula-effects-preview .modula-item img{position:absolute;min-height:100%;min-width:100%}.modula-effects-preview .modula-item .figc{display:flex;align-items:center;justify-content:center;color:#fff;font-size:11px;text-align:center;position:absolute;left:0;width:100%;height:100%;padding:0}.modula-effects-preview .modula-item .figc .jtg-title{font-size:21px!important;color:#fff}.modula-effects-preview .modula-item .figc p{color:#fff;font-size:15px;font-style:normal}.modula .modula-items .modula-item .jtg-title{margin:0}.modula .modula-items .modula-item p{margin:0;padding:0}.modula .figc{color:#000;text-align:center;position:absolute;left:0;width:100%;padding:2em}.modula .modula-item .jtg-social a{text-decoration:none;color:#fff;display:inline-block;margin:0 10px 0 0;width:20px;padding:6px 4px;border:0;opacity:0;transition:opacity .3s}.modula .modula-item .jtg-social svg{width:20px;height:16px}.modula .modula-item:hover .jtg-social a{opacity:1}.modula .modula-items .jtg-social{opacity:0;transition:opacity .1s;right:30px;position:absolute;bottom:20px;text-align:right;transition:all .3s}html body .modula.modula-gallery .modula-items .jtg-social{opacity:1}.modula .modula-items .jtg-social a:last-of-type{margin-right:0}.modula .modula-item.effect-pufrobo p.description{margin-bottom:2em}.modula .modula-item.effect-pufrobo .figc{text-align:right}.modula .modula-item.effect-pufrobo .jtg-title,.modula .modula-item.effect-pufrobo p{position:absolute;right:30px;left:30px;padding:10px 0}.modula .modula-item:hover img{opacity:.8}.modula .modula-item{background-color:#000}.modula .modula-item.effect-pufrobo p{bottom:20%;line-height:1.5;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);letter-spacing:1px}.modula .modula-item.effect-pufrobo .jtg-title{top:10%;-webkit-transition:-webkit-transform .35s;transition:transform .35s;-webkit-transform:translate3d(0,20px,0);transform:translate3d(0,20px,0)}.modula .modula-item.effect-pufrobo:hover .jtg-title{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.modula .modula-item.effect-pufrobo .jtg-title::after{position:absolute;top:80%;left:0;width:100%;height:4px;background:#fff;content:'';-webkit-transform:translate3d(0,40px,0);transform:translate3d(0,40px,0)}.modula .modula-item.effect-pufrobo .jtg-title::after,.modula .modula-item.effect-pufrobo p{opacity:0;-webkit-transition:opacity .35s,-webkit-transform .35s;transition:opacity .35s,transform .35s}.modula .modula-item.effect-pufrobo:hover .jtg-title::after,.modula .modula-item.effect-pufrobo:hover p{margin-top:10px;margin-bottom:5px;opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.single-modula-gallery.post-type-modula-gallery.modula-no-drag #poststuff .postbox .handle-actions{display:none}html body #wpbody #poststuff #post-body .postbox-container #modula-hover-effect .modula.modula-gallery .modula-items .modula-item.effect-sadie .jtg-title{color:#fff}html body #wpbody #poststuff #post-body .postbox-container #modula-hover-effect .modula.modula-gallery .modula-items .modula-item.effect-zoe .jtg-social a,html body #wpbody #poststuff #post-body .postbox-container #modula-hover-effect .modula.modula-gallery .modula-items .modula-item.effect-zoe .jtg-title{color:#000}html body #wpbody #poststuff #post-body .postbox-container #modula-hover-effect .modula.modula-gallery .modula-items .modula-preview-badge+.modula-item.effect-dexter .figc::after{-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}html body #wpbody #poststuff #post-body .postbox-container #modula-hover-effect .modula.modula-gallery .modula-items .modula-item.effect-milo:hover .description{opacity:1}html body #wpbody #poststuff #post-body .postbox-container #modula-hover-effect .modula.modula-gallery .modula-items .modula-preview-badge+.modula-item.effect-dexter .figc:hover::after{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}tr[data-container=effect]>td{padding:15px 20px}.modula-effects-preview,.modula-effects-preview .modula-item.effect-dexter .figc,.modula-effects-preview p{box-sizing:border-box}#poststuff .modula-effects-preview .modula-item .figc .jtg-title,.modula-effects-preview .modula-item.effect-chico .figc,.modula-effects-preview .modula-item.effect-layla .figc,.modula-effects-preview .modula-item.effect-oscar .figc,.modula-effects-preview .modula-item.effect-roxy .figc{padding:0}#poststuff .modula .modula-item.effect-reflex .figc-inner .jtg-title{padding-left:10px}#poststuff .modula .modula-items .modula-item.effect-comodo .jtg-title{margin-top:20px}#poststuff .modula .modula-item.effect-appear .jtg-title,#poststuff .modula .modula-item.effect-honey .jtg-title{padding:1em 1.5em}#poststuff .modula .modula-item.effect-milo .jtg-title{padding:1em 1.2em}.modula .modula-items .modula-item.effect-julia p{margin:0 0 .25em;padding:.4em 1em}#poststuff .modula .modula-item.effect-terry .jtg-title{padding:.4em 15px}.modula .modula-items .modula-item.effect-apollo p{margin:3em;padding:0 1em}#poststuff .modula .modula-items .modula-item.effect-steve .jtg-title{margin-top:2em;padding:.25em;color:#000}.modula .modula-items .modula-item.effect-steve p{margin-top:1em;padding:.5em;color:#000}.modula-effects-preview .modula-item.effect-under img{top:50%;left:50%;transform:translate(-50%,-50%)}.modula-upsell{background:#f1f1f1;border:0;padding:15px;margin-top:30px}.modula-settings-container .modula-upsell{margin:30px}.modula-upsell .modula-upsell-features{text-align:left;display:flex;flex-wrap:wrap;padding:20px 0}.modula-upsell .modula-upsell-features li{width:33%}#modula-exif .modula-upsell .modula-upsell-features li,#modula-zoom .modula-upsell .modula-upsell-features li{width:50%}#modula-image_licensing .modula-upsell .modula-upsell-features li{width:100%}.form-table-wrapper .modula-upsell{border:1px solid #ddd;text-align:center}#poststuff .modula-upsell h2{font-weight:700;background:#fff;left:-15px;top:-15px;padding:8px 12px;position:relative;width:calc(100% + 6px);border-bottom:1px solid #ddd}.modula-upsell p{margin:0}.modula-upsell p.modula-upsell-description{font-size:13px;line-height:1.5;color:#333;opacity:.8;margin-top:0;margin-bottom:10px;padding:0 10px}.modula-upsell .button{height:31px;line-height:31px;font-weight:700}.modula-upsell .button:first-child{margin-right:10px}.modula-upsell .action-link,.modula-upsell .action-link:hover{background:#51ad31;border-color:#51ad31;color:#fff;font-weight:700}#modula-uploader-container{position:relative;padding-left:10px;padding-right:10px}#modula-uploader-container.modula-resizer-enabled{margin-bottom:20px}.modula-upload-actions{padding:15px 20px;background-color:#f8fcfd;border-bottom:1px solid #ecf6f9;margin-bottom:20px;display:flex;align-items:center;justify-content:space-between;width:100%;box-sizing:border-box}.modula-upload-actions .buttons{flex-shrink:0;width:auto;display:flex}.modula-sources-dropdown{position:relative;border-top:1px solid rgba(255,255,255,0);border-right:1px solid rgba(255,255,255,0);border-left:1px solid rgba(255,255,255,0)}.modula-sources-dropdown:hover{border-color:#ddd;background:#f5f5f5}.modula-sources-dropdown>span{width:28px;height:32px;text-align:center;line-height:28px;cursor:pointer;display:inline-block;font-size:25px;font-weight:700}.modula-sources-dropdown .modula-sources-dropdown-content{position:absolute;right:-1px;bottom:0;transform:translateY(100%);display:none;padding:15px;background-color:#f5f5f5;box-shadow:0 1px 1px rgba(0,0,0,.04);box-sizing:border-box;border:1px solid #ddd}.modula-sources-dropdown:hover .modula-sources-dropdown-content{display:block}.modula-sources-dropdown:hover .modula-sources-dropdown-content:before{content:"";height:1px;width:28px;background-color:#f5f5f5;position:absolute;top:-1px;right:0}.segrip.ui-resizable-se{width:30px;height:30px;background:url('../../images/resize-se.svg') no-repeat;background-size:contain;display:none;z-index:100;opacity:1}.modula-resizer-enabled .segrip.ui-resizable-se{display:block}.modula-upload-actions #modula-uploader-browser{border-bottom-right-radius:0;border-top-right-radius:0}.modula-upload-actions #modula-wp-gallery{border-bottom-left-radius:0;border-top-left-radius:0}.wp-core-ui .modula-upload-actions>a{margin:0 5px}#modula-dropzone-container{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0,86,132,.9);z-index:250000;display:none;text-align:center;opacity:0;transition:opacity 250ms}#modula-dropzone-container .modula-uploader-window-content{position:absolute;top:10px;left:10px;right:10px;bottom:10px;border:1px dashed #fff}#poststuff #modula-dropzone-container .modula-uploader-window-content h1{margin:-.5em 0 0;position:absolute;top:50%;left:0;right:0;-webkit-transform:translateY(-50%);transform:translateY(-50%);font-size:20px;line-height:28px;font-weight:400;color:#fff;padding:0}.modula-uploader-inline-content{position:relative;min-height:300px;width:100%}.modula-resizer-enabled .modula-uploader-inline-content{min-height:initial}.modula-uploader-inline-content h2{text-align:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}#poststuff .modula-upload-message{font-size:43px;line-height:1;font-weight:400;margin:0;display:none;color:#ebebeb}#poststuff .modula-upload-message .dashicons,#poststuff .modula-upload-message .dashicons-before:before{font-size:43px;width:43px;height:43px}.modula-uploader-inline p{font-size:12px;margin:.5em 0}#poststuff .modula-uploader-inline .modula-upload-instructions{font-size:14px;color:#444;font-weight:400;padding:0}.modula-uploader-footer .max-upload-size{float:left}.modula-uploader-footer .modula-upload-numbers{float:right;opacity:0}.modula-uploader-footer:after{display:block;content:"";clear:both}.upload-progress .modula-upload-numbers{margin:0;line-height:1.4em}.modula-progress-bar{width:100%;max-width:400px;position:relative;height:2px;margin:8px 0 0;border-radius:10px;background:#e5e5e5}.upload-info-container{position:relative;overflow:hidden;flex-grow:1}.upload-info-container .upload-info{padding:5px 0}.upload-info-container .upload-progress{position:absolute;background-color:#f8fcfd;height:100%;display:flex;top:0;left:0;width:100%;flex-direction:column;transition:transform .5s;transform:translateY(100%)}.modula-upload-actions.show-progress .upload-info-container .upload-progress{transform:translateY(0)}.modula-progress-bar .modula-progress-bar-inner{height:2px;min-width:20px;width:0;background:#0085ba;-webkit-transition:width .3s;-moz-transition:width .3s;-ms-transition:width .3s;-o-transition:width .3s;transition:width .3s;border-radius:5px}.modula-uploader-footer.show-progress .modula-progress-bar,.modula-uploader-footer.show-progress .modula-upload-numbers{opacity:1}.modula-uploader-inline-content .modula-single-image,.modula-uploader-inline-content .modula-single-image-placeholder{cursor:move;display:inline-block;padding:0 10px 10px 0;box-sizing:border-box;width:16.66%}.modula-uploader-inline-content .modula-single-image-placeholder:after{width:100%;height:100%;display:inline-block;content:"";position:relative;border:3px dashed #444;padding-top:calc(100% - 6px);box-sizing:border-box}.modula-uploader-inline-content .modula-single-image .modula-single-image-content{position:relative;border:1px solid #d6d6d6;box-sizing:border-box;background-position:center;background-size:cover}.modula-uploader-inline-content .modula-single-image .modula-single-image-content img{display:block;width:100%}#poststuff .modula-uploader-inline-content>.modula-upload-message:only-child{display:block}.modula-uploader-inline-content .modula-single-image .actions{position:absolute;z-index:99;font-size:0;width:100%;height:100%;top:0;left:0;background:rgba(0,0,0,.4);padding:5px;box-sizing:border-box;display:none}.modula-uploader-inline-content .modula-single-image:hover .actions{display:block}.modula-uploader-inline-content .modula-single-image .actions a{width:20px;height:20px;border-radius:100%;border:1px solid #000;background-color:rgba(255,255,255,.8);color:#000;display:block;text-decoration:none;text-align:center;line-height:20px;margin-bottom:5px}.modula-uploader-inline-content .modula-single-image .actions a:hover{background-color:#000;color:#fff}.modula-uploader-inline-content .modula-single-image .actions a span{font-size:16px;width:20px;height:20px;line-height:20px}.modula-uploader-inline-content .modula-single-image .actions a.modula-delete-image{color:#a00a00}.modula-uploader-inline-content .modula-single-image .actions a.modula-delete-image:hover{background-color:#a00a00;color:#fff}.modula-uploader-inline-content:after{content:"";display:block;clear:both}.media-modal .modula-edit-popup.edit-attachment-frame .edit-media-header button.right{border-right:1px solid #ddd}.media-modal .modula-edit-popup .attachment-details .attachment-info .settings .setting{margin:0 0 20px 0;padding:0 0 20px 0;border-bottom:1px solid #ddd}.media-modal .modula-edit-popup .attachment-details .attachment-info .settings .setting span.name{display:block;width:100%;min-width:100%;margin:0;padding:0;text-align:left;font-weight:700;font-size:14px}.media-modal .modula-edit-popup .attachment-details .attachment-info .settings .setting input[type=text],.media-modal .modula-edit-popup .attachment-details .attachment-info .settings .setting textarea{display:block;width:100%;min-width:100%;margin:0}.media-modal .modula-edit-popup .attachment-details .attachment-info .settings .setting div.description{clear:both;float:left;margin:5px 0 0 0;text-align:left;font-size:13px;font-style:italic;color:#666}.media-modal .modula-edit-popup .attachment-details .attachment-info .settings .setting.modula-link input[name=link]{padding:10px 40px 10px 5px}.media-modal .modula-edit-popup .attachment-details .attachment-info .settings .setting.modula-link input[name=link].ui-autocomplete-loading{background-position:calc(100% - 40px) center}.media-modal .modula-edit-popup .attachment-details .attachment-info .settings .setting.modula-link label{position:relative}.media-modal .modula-edit-popup .attachment-details .attachment-info .settings .setting.modula-link span.dashicons{position:absolute;right:15px;margin-top:35px;font-size:16px;line-height:0}.media-modal .modula-edit-popup .attachment-details .attachment-info .settings{margin:0;padding:0;border:none}.media-modal .attachment-info .actions a{display:inline-block}.inline-input{display:inline}.ui-draggable.ui-resizable>.segrip{width:10px;height:10px;background:red;position:absolute;bottom:0;right:0}.ui-draggable.ui-resizable .modula-single-image-content img{display:none}.ui-draggable.ui-resizable .modula-single-image-content{width:100%;height:100%}.ui-draggable.ui-resizable.modula-single-image{padding:0}.packery-drop-placeholder{outline:3px dashed #444;outline-offset:-6px;-webkit-transition:-webkit-transform .2s;transition:transform .2s}.ui-resizable-helper{border:3px dashed #444;box-sizing:border-box}#poststuff #modula-preview-gallery h2.hndle,#poststuff #modula-settings h2.hndle{padding-left:20px}#poststuff #modula-preview-gallery .inside{margin-top:0;padding:0}.modula-edit-popup .attachment-details .setting span.description>span{display:inline-block;float:none;width:auto;min-width:unset;line-height:16px;min-height:16px;margin-top:8px;padding:0;vertical-align:middle;margin-right:0}.modula-edit-popup .attachment-details .setting span.description{text-align:left;vertical-align:middle}.modula-media-modal .attachments-browser .media-toolbar .media-toolbar-secondary{width:100%}.modula-media-modal .attachments-browser .media-toolbar .media-toolbar-secondary .modula-error-container{margin-top:25px}.modula-error-container{display:block}.modula-error-container.hide{display:none}.modula-error-container .modula-error{padding:12px;margin-bottom:12px;background:#fff;border-left:4px solid #dc3232;box-shadow:0 0 4px 0 rgba(0,0,0,.1);font-weight:600;margin-top:5px;position:relative;background-color:#dc3232;color:#fff}.modula-error-container .modula-error a{color:#fff}.modula-error-container .modula-error .upload-dismiss-errors{position:absolute;top:50%;right:-5px;padding:10px;transition:none;display:block;text-decoration:none;margin-top:-18px}.modula-error-container .modula-error .upload-dismiss-errors:before{content:"\f153";display:block;font:400 16px/1 dashicons;color:#fff}a.modula-tab-link{text-decoration:none}.modula-tab-link span.dashicons{width:16px;height:16px;line-height:16px;margin-right:3px;vertical-align:text-bottom;font-size:16px;text-decoration:none}#modula-grid{height:100%;position:absolute;overflow:hidden;top:0;left:0;width:100%}#modula-grid .modula-grid-item{background-color:#fafafa;float:left}#modula-grid .modula-grid-item:nth-child(12n){margin-right:0!important}#modula-grid:after{content:"";display:block;clear:both}.modula-shortcuts{padding:10px;color:#696969;background:#f5efe0;font-size:11px}.modula-shortcuts strong{color:#000}.modula-tooltip{position:relative;display:inline-block;float:left;margin-right:10px}.modula-tooltip>span{cursor:pointer;color:#0073aa;text-decoration:underline;margin-left:5px}.modula-tooltip .modula-tooltip-content{display:none;position:absolute;top:50%;right:-10px;transform:translate(100% ,-50%);width:300px;background:#000;color:#fff;padding:10px;box-sizing:border-box;z-index:99}.modula-tooltip .modula-tooltip-content:before{content:'';width:0;height:0;border-style:solid;border-width:8px 8px 8px 0;border-color:transparent #000 transparent transparent;display:block;position:absolute;top:50%;left:-8px;transform:translateY(-50%)}.modula-tooltip:hover .modula-tooltip-content{display:block}.modula-helper-guidelines-container{padding:15px 20px;background-color:#f8fcfd;display:flex;align-items:center;border-top:1px solid #ecf6f9;z-index:999;position:relative}.modula-helper-guidelines-container .onoffswitch{margin-top:0}.modula-helper-guidelines-wrapper .modula-helper-guidelines-label{margin-left:5px}.modula-helper-guidelines-container.modula-guidelines-display{display:none}.modula-creative-gallery.modula-uploader-inline-content .modula-single-image .modula-single-image-content{background:#eee!important;position:relative;overflow:hidden}.modula-creative-gallery.modula-uploader-inline-content .modula-single-image-content:before{content:"";display:block;padding-top:100%}.modula-creative-gallery.modula-uploader-inline-content .modula-single-image-content img{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.modula-creative-gallery.modula-uploader-inline-content .modula-single-image-content.landscape img{max-height:100%}.modula-creative-gallery.modula-uploader-inline-content .modula-single-image-content.portrait img{max-width:100%}.modula-toggle{position:relative;position:relative;user-select:none;display:inline-block}.modula-toggle__items{box-sizing:border-box;display:inline-block;position:relative}.modula-toggle__items>*{box-sizing:inherit}.modula-toggle__input[type=checkbox],.modula-toggle__input[type=radio],body .media-modal-content .attachment-details .modula-toggle__input[type=checkbox],body .media-modal-content .attachment-details .modula-toggle__input[type=radio]{border-radius:2px;border:2px solid #6c7781;margin-right:12px;transition:none;height:100%;left:0;top:0;margin:0;padding:0;opacity:0;position:absolute;width:100%;z-index:1}.modula-toggle__track,body .media-modal-content .attachment-details .modula-toggle__track{background-color:#fff;border:2px solid #6c7781;border-radius:9px;display:inline-block;height:18px;width:36px;vertical-align:top;transition:background .2s ease}.modula-toggle__thumb,body .media-modal-content .attachment-details .modula-toggle__thumb{background-color:#6c7781;border:5px solid #6c7781;border-radius:50%;display:block;height:10px;width:10px;position:absolute;left:4px;top:4px;transition:transform .2s ease}body .media-modal-content .attachment-details .modula-toggle__thumb,body .media-modal-content .attachment-details .modula-toggle__track{min-width:auto;min-height:auto;float:none;padding:0}.modula-toggle__off{position:absolute;right:6px;top:6px;color:#6c7781;fill:currentColor}.modula-toggle__on{position:absolute;top:6px;left:8px;border:1px solid #fff;outline:1px solid transparent;outline-offset:-1px;display:none}.modula-toggle__input[type=checkbox]:checked+.modula-toggle__items .modula-toggle__track,.modula-toggle__input[type=radio]:checked+.modula-toggle__items .modula-toggle__track{background-color:#11a0d2;border:9px solid transparent}.modula-toggle__input[type=checkbox]:checked+.modula-toggle__items .modula-toggle__thumb,.modula-toggle__input[type=radio]:checked+.modula-toggle__items .modula-toggle__thumb{background-color:#fff;border-width:0;transform:translateX(18px)}.modula-toggle__input[type=checkbox]:checked+.modula-toggle__items .modula-toggle__off,.modula-toggle__input[type=radio]:checked+.modula-toggle__items .modula-toggle__off{display:none}.modula-toggle__input[type=checkbox]:checked+.modula-toggle__items .modula-toggle__on,.modula-toggle__input[type=radio]:checked+.modula-toggle__items .modula-toggle__on{display:inline-block}p.description.alert{color:red}tr.troubleshoot-subfield.hide{display:none}.modula-copy-shortcode{display:flex;align-items:center;flex-wrap:wrap}.modula-copy-shortcode input{margin:0;border-top-right-radius:0;border-bottom-right-radius:0;flex-grow:1}.modula-copy-shortcode span{width:100%}.wp-core-ui .modula-copy-shortcode a.button-primary{height:30px;border-top-left-radius:0;border-bottom-left-radius:0}@keyframes carousel{0%{transform:translateX(0);opacity:1!important}50%{transform:translateX(0);opacity:1!important}51%{transform:translateX(-100%);opacity:1!important}99%{transform:translateX(-100%);opacity:1!important}100%{transform:translateX(-200%);opacity:1!important}}.modula-upsells-carousel-wrapper{position:relative;display:flex;overflow:hidden}.modula-upsells-carousel{flex-shrink:0;position:relative;display:block;width:100%}.modula-upsells-carousel .modula-upsell-item{position:relative;width:100%;flex-shrink:0;margin-top:0;left:-15px}.modula-upsells-carousel .modula-upsell-item{text-align:center}.modula-upsells-carousel .modula-upsell-item ul.modula-upsells-list{padding-left:40px}.modula-upsells-carousel .modula-upsell-item ul li{position:relative;list-style-type:none!important;text-align:left}#modula-albums-upsell .modula-upsells-carousel .modula-upsell-item ul li{display:inline-block;margin:0 15px 15px 35px}.modula-upsells-carousel .modula-upsell-item ul li:before{font-family:Dashicons;content:"\f147";position:absolute;left:-30px;font-size:14px;color:green;background-color:#fff;padding:0 3px;border-radius:50%;border:1px solid #ddd;top:-1px}.modula-upsell ul.modula-upsell-features li span.modula-check{display:inline-block;color:green;background-color:#fff;border-radius:50%;border:1px solid #ddd;display:inline-block;margin-right:5px}#modula-albums-upsell>button.handlediv,#modula-albums-upsell>h2.hndle.ui-sortable-handle,#modula-sorting-upsell>button.handlediv,#modula-sorting-upsell>h2.hndle.ui-sortable-handle{display:none}#modula-defaults-upsell p:not(:last-child){text-align:left}#modula-albums-upsell>.inside,#modula-debug>.inside,#modula-defaults-upsell>.inside,#modula-sorting-upsell>.inside{padding:0;margin:0 auto}.cm-s-dracula .CodeMirror-gutters,.cm-s-dracula.CodeMirror{background-color:#282a36!important;color:#f8f8f2!important;border:none}.cm-s-dracula .CodeMirror-gutters{color:#282a36}.cm-s-dracula .CodeMirror-cursor{border-left:solid thin #f8f8f0}.cm-s-dracula .CodeMirror-linenumber{color:#6d8a88}.cm-s-dracula .CodeMirror-selected{background:rgba(255,255,255,.1)}.cm-s-dracula .CodeMirror-line::selection,.cm-s-dracula .CodeMirror-line>span::selection,.cm-s-dracula .CodeMirror-line>span>span::selection{background:rgba(255,255,255,.1)}.cm-s-dracula .CodeMirror-line::-moz-selection,.cm-s-dracula .CodeMirror-line>span::-moz-selection,.cm-s-dracula .CodeMirror-line>span>span::-moz-selection{background:rgba(255,255,255,.1)}.cm-s-dracula span.cm-comment{color:#6272a4}.cm-s-dracula span.cm-string,.cm-s-dracula span.cm-string-2{color:#f1fa8c}.cm-s-dracula span.cm-number{color:#bd93f9}.cm-s-dracula span.cm-variable{color:#50fa7b}.cm-s-dracula span.cm-variable-2{color:#fff}.cm-s-dracula span.cm-def{color:#50fa7b}.cm-s-dracula span.cm-operator{color:#ff79c6}.cm-s-dracula span.cm-keyword{color:#ff79c6}.cm-s-dracula span.cm-atom{color:#bd93f9}.cm-s-dracula span.cm-meta{color:#f8f8f2}.cm-s-dracula span.cm-tag{color:#ff79c6}.cm-s-dracula span.cm-attribute{color:#50fa7b}.cm-s-dracula span.cm-qualifier{color:#50fa7b}.cm-s-dracula span.cm-property{color:#66d9ef}.cm-s-dracula span.cm-builtin{color:#50fa7b}.cm-s-dracula span.cm-type,.cm-s-dracula span.cm-variable-3{color:#ffb86c}.cm-s-dracula .CodeMirror-activeline-background{background:rgba(255,255,255,.1)}.cm-s-dracula .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}#modula_troubleshooting_option .modula-select label{margin-right:10px}#modula_troubleshooting_option .modula-select label:last-child{margin-right:0}#modula_troubleshooting_option td>.wrap.modula{margin:0 auto}#modula_troubleshooting_option td>.wrap.modula .modula-toggle{margin-top:0}#modula_image_licensing_option h2,#modula_troubleshooting_option h2,.modula .row th>h2{margin:0}#modula-albums-upsell h2{margin:0!important}.modula-settings-container input[type=number]{max-width:80px}.modula-after-input{margin-left:5px}.modula-scaling-effect-preview{position:relative;max-width:900px;width:100%;margin:0 auto;margin-top:20px}.modula-scaling-effect-preview .modula-item{transition:.6s all;z-index:9999;float:left;margin:10px}.modula-scaling-effect-preview a#test-scaling-preview{margin-top:25px;margin-left:10px}#modula-shortcode .modula-copy-shortcode{margin:10px auto}#modula-shortcode .inside{padding:0 12px 2.5px!important}.shortcode-description{margin:10px 0 0 0;border-bottom:1px solid #ddd;color:#696969;padding-bottom:10px}.modula-imagesize-info span{font-weight:700}.modula-settings-container .selectize-dropdown{cursor:pointer}.modula-settings-container .lightbox-announcement{position:relative;padding:30px}.modula-settings-container .lightbox-announcement a.notice-dismiss{text-decoration:none}html body.post-type-modula-gallery .ui-autocomplete{z-index:160000;background:#fff;font-family:inherit}.modula-autocomplete-results{padding:5px}.modula-autocomplete-results p{margin-left:8px;margin-bottom:0;font-size:14px}.modula-autocomplete-results span{position:absolute;top:50%;right:5%;transform:translate(-5%,-50%)}.modula-autocomplete-results code{padding:10px 20px}.ui-autocomplete .ui-menu-item{border-bottom:1px solid #555}.modula-colorpickers .iris-border .iris-picker-inner{right:0}html body .modula-tabs-content .modula-colorpickers .iris-palette-container a{display:none}html body .modula-tabs-content .modula-colorpickers .iris-palette-container a:first-child,html body .modula-tabs-content .modula-colorpickers .iris-palette-container a:nth-child(2),html body .modula-tabs-content .modula-colorpickers .iris-palette-container a:nth-child(3),html body .modula-tabs-content .modula-colorpickers .iris-palette-container a:nth-child(4),html body .modula-tabs-content .modula-colorpickers .iris-palette-container a:nth-child(5),html body .modula-tabs-content .modula-colorpickers .iris-palette-container a:nth-child(6),html body .modula-tabs-content .modula-colorpickers .iris-palette-container a:nth-child(7),html body .modula-tabs-content .modula-colorpickers .iris-palette-container a:nth-child(8){display:block}.post-type-modula-gallery #preview-action{display:none}.modula .nav-tab .modula-badge{font-size:10px;background:#f4daa4;padding:2px 5px;display:inline-block;margin-left:10px;border-radius:10px}.modula-settings-upsell{max-width:600px;padding:15px;background:#fff;margin-bottom:20px}.modula-settings-tab-upsell{padding:20px;background:#fff;color:#3c434a}.modula-settings-tab-upsell a:first-child,.modula-settings-upsell a:first-child{margin-right:10px}.modula-columns{display:block}.modula-columns .m-col-4{flex:0 0 30%;max-width:30%}.modula-columns .modula-column{box-sizing:border-box}.modula-columns .modula-column+.modula-column{padding-left:20px}.modula-side-tab .modula-upsell{padding:15px;background:#fff;margin-top:20px}.modula-side-tab .modula-upsell .modula-upsell-content{margin-bottom:15px}.modula-side-tab .modula-upsell h3{margin-top:0}.modula-tab-content{position:relative}.form-table-wrapper .modula-compatibility{text-align:left;margin:30px}.form-table-wrapper .modula-compatibility-block{width:100%;height:60px;position:absolute;background:gray;z-index:9;opacity:.5}.modula-tab-content td>span.dashicons,.modula-tabs-content td>span.modula_input_suffix{padding:5px;background:#eaecef;color:#000;position:relative;border-top:1px solid #7e8993;border-bottom:1px solid #7e8993;display:inline-block;vertical-align:middle}.modula-tab-content td>span.dashicons{border-top-left-radius:4px;border-bottom-left-radius:4px;border-left:1px solid #7e8993}.modula-tabs-content td>span.modula_input_suffix{border-top-right-radius:4px;border-bottom-right-radius:4px;border-right:1px solid #7e8993;left:-2px;display:inline-block;vertical-align:middle;line-height:20px}html body .modula-settings-container .modula-tab-content tr[data-container=gutter]>td,html body .modula-settings-container .modula-tab-content tr[data-container=height]>td{display:inline-block}html body .modula-settings-container .modula-tab-content tr[data-container] input.modula-gutter-input{border-radius:0;border-right:0;border-left:0;min-width:62px;max-width:62px;height:32px;position:relative;left:-1px}.modula-preview-item-container{position:relative}.modula-preview-item-container .modula-preview-badge{background:#dc3232;color:#fff;padding:5px 10px;position:absolute;top:5px;right:5px;z-index:1}.modula-preview-item-container .modula-selected-effect-badge{background:#2271b1;color:#fff;padding:5px 10px;position:absolute;top:5px;left:5px;z-index:1}.modula-preview-item-container:hover .modula-effects-badge{transition:opacity .5s;opacity:0}.modula-preview-item-container .modula-preview-item-content{background:#f1f1f1;padding:0 10px;flex:1}.modula-preview-item-container .modula-preview-item-content h4{margin:0;padding:10px 0 10px}.modula-preview-item-container{border:2px solid transparent;height:100%;display:flex;flex-direction:column}#modula-hover-effect .modula-effects-preview .panel-pro-preview input[type=radio]:checked+.modula-preview-item-container{border-color:#0071a1}html body #wpbody #poststuff #post-body .postbox-container #modula-hover-effect .modula-effects-preview{position:relative;min-height:650px}#modula-hover-effect .modula-effects-preview .panel-pro-preview{width:31%;margin-bottom:20px}#modula-hover-effect .modula-effects-preview .panel-pro-preview h4{text-align:center}#modula-hover-effect .modula-effects-preview .modula-effects-wrapper{max-height:600px;overflow-Y:scroll;display:flex;flex-wrap:wrap;justify-content:space-between}#modula-hover-effect .modula-effects-preview .panel-pro-preview input[type=radio]{display:none}.modula-settings-container .modula-tabs-content input[type=checkbox]:disabled{opacity:0;cursor:default}.modula-settings-container .modula-tabs-content .modula_settings_accordion{float:right;font-size:12px;line-height:16px;color:#1d2327;cursor:pointer}.modula-settings-container .modula-tabs-content .modula_settings_accordion:after{right:0;content:"\f140";font:normal 20px/1 dashicons;display:inline-block;padding:0 5px 0 0;bottom:2px;position:relative;vertical-align:bottom;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;top:2px}.modula-settings-container .modula-tabs-content .modula_accordion_open .modula_settings_accordion:after{content:"\f142"}.modula-settings-container .modula-tabs-content .modula-icons-radio-wrapper input[type=radio]{position:absolute;opacity:0}.modula-settings-container .modula-tabs-content .modula-icons-radio-wrapper{display:inline-flex}.modula-settings-container .modula-tabs-content .modula-radio-icon{border-left:1px solid #ccd0d4;border-top:1px solid #ccd0d4;border-bottom:1px solid #ccd0d4;padding:15px 15px 12px 15px;display:flex;flex-flow:row;align-items:center}.modula-settings-container .modula-tabs-content .modula-icons-radio-item:last-child .modula-radio-icon{border-top-right-radius:5px;border-bottom-right-radius:5px;border-right:1px solid #ccd0d4}.modula-settings-container .modula-tabs-content .modula-icons-radio-wrapper .modula-icons-radio-item:first-of-type .modula-radio-icon{border-top-left-radius:5px;border-bottom-left-radius:5px}.modula-settings-container .modula-tabs-content .modula-icon-radio-name{margin-left:10px;font-weight:500;width:auto;position:relative}.modula-settings-container .modula-tabs-content .modula-radio-icon>img{max-width:30px}.modula-icons-radio-wrapper{max-width:420px;position:relative;left:-85px}.modula-settings-container .modula-tabs-content .modula-icons-radio-wrapper input[type=radio]:checked+label{border:1px solid #27be92;margin-right:-1px;z-index:98;box-shadow:0 0 5px #27be92}.modula-settings-container .modula-tabs-content .modula-radio-icon.modula-radio-icon-disabled,.modula-settings-container .modula-tabs-content .modula-radio-icon.modula-radio-icon-install{cursor:default;position:relative}.modula-settings-container .modula-tabs-content .modula-radio-icon.modula-radio-icon-disabled>*,.modula-settings-container .modula-tabs-content .modula-radio-icon.modula-radio-icon-install>*{opacity:.5}.modula-settings-container .modula-tabs-content .modula-radio-icon.modula-radio-icon-install::after{content:'NOT INSTALLED';position:absolute;right:-1px;top:-1px;left:-1px;background-color:#9c9c9c;padding:1px 6px;font-size:10px;color:#fff;border-top-right-radius:5px;letter-spacing:1px;text-align:center}.modula-settings-container .modula-tabs-content .modula-radio-icon.modula-radio-icon-disabled::after{content:'PRO';position:absolute;right:-1px;top:-1px;background-color:#9c9c9c;padding:2px 6px;font-size:11px;border-bottom-left-radius:5px;color:#fff;border-top-right-radius:5px;letter-spacing:1px}@media screen and (min-width:1000px) and (max-width:1680px){html body .modula-settings-container .modula-tabs-content .modula-radio-icon,html body .modula-settings-container .modula-tabs-content .modula-radio-icon.modula-radio-icon-disabled,html body .modula-settings-container .modula-tabs-content .modula-radio-icon.modula-radio-icon-install{border:1px solid #ccd0d4;border-radius:0}.modula-settings-container .modula-tabs-content .modula-radio-icon.modula-radio-icon-disabled::after,.modula-settings-container .modula-tabs-content .modula-radio-icon.modula-radio-icon-install::after{border-top-right-radius:0}.modula-settings-container .modula-tabs-content .modula-icons-radio-wrapper{display:flex;flex-wrap:wrap;gap:10px;left:unset}html body .modula-settings-container .modula-tabs-content .modula-radio-icon.modula-radio-icon-install::after{border-top-left-radius:5px;border-top-right-radius:5px}html body .modula-settings-container .modula-tabs-content .modula-icons-radio-wrapper .modula-radio-icon{border-radius:5px}}@media screen and (max-width:1680px){.modula-icons-radio-wrapper .modula-icons-radio-item{width:calc(33.33% - 10px)}}@media screen and (max-width:1366px){.modula-icons-radio-wrapper .modula-icons-radio-item{width:calc(50% - 10px)}.modula-settings-container .modula-tabs-content .modula-icons-radio-wrapper{left:-85px}}html body .modula .modula-radio-item{margin-top:10px}html body ul#modula_gallery_add_action{position:absolute;z-index:999;background-color:#fff;border:1px solid #8c8f94;border-radius:3px;top:35px;right:20px}html body ul#modula_gallery_add_action li:not(:last-child){border-bottom:1px solid #8c8f94}html body ul#modula_gallery_add_action li{padding:5px 10px;cursor:pointer;margin:0}html body ul#modula_gallery_add_action li:hover{background-color:#f8fcfd}.modula-image-licensing-radio-wrapper{display:flex;flex-wrap:wrap;gap:16px}.modula-image-licensing-radio-icon{display:flex;align-items:center;flex:1 1 calc(100% / 4 - 16px);max-width:calc(100% / 4 - 16px);box-sizing:border-box;background-color:#fff;padding:16px;border-radius:5px;border:1px solid #ccd0d4;transition:border-color .3s ease;cursor:pointer}.modula-image-licensing-radio-icon img{margin-right:16px;max-height:70px;max-width:30%}.modula_image_licensing_radio_input{position:absolute;opacity:0}.modula_image_licensing_radio_input:checked+.modula-image-licensing-radio-icon{border:1px solid #27be92;box-shadow:0 0 5px #27be92}.modula-image-licensing-radio-icon:first-of-type{justify-content:center;text-align:center}.modula-image-licensing-radio-icon:first-of-type .modula-image-licensing-radio-name{flex-grow:1;display:flex;align-items:center;justify-content:center}@media (max-width:1800px){.modula-image-licensing-radio-icon{flex:1 1 calc(100% / 3 - 16px);max-width:calc(100% / 3 - 16px)}#modula-image_licensing.modula-tab-content .modula-image-licensing-radio-wrapper{position:relative;left:-80px;width:calc(100% + 80px)}}@media (max-width:1600px){.modula-image-licensing-radio-icon{flex:1 1 calc(100% / 2 - 16px);max-width:calc(100% / 2 - 16px)}#modula-image_licensing.modula-tab-content .modula-image-licensing-radio-wrapper{position:relative;left:-80px;width:calc(100% + 80px)}}@media (max-width:1400px){.modula-image-licensing-radio-icon{flex:1 1 100%;max-width:100%}} \ No newline at end of file From c541dc2c052925a3c47854bcb17f3e62f67c7a29 Mon Sep 17 00:00:00 2001 From: TeoAlex Date: Wed, 14 Aug 2024 15:47:45 +0300 Subject: [PATCH 3/5] changelogs --- changelog.txt | 4 ++++ readme.txt | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/changelog.txt b/changelog.txt index 918811e3..9879767f 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,7 @@ += 2.10.0 - TBD = +Fixed: Compatibility with ACF Pro ( [#937]( https://github.com/WPChill/modula-lite/issues/937) ) +Fixed: Not importing sourge-gallery captions for existing media images. ( [#904]( https://github.com/WPChill/modula-lite/issues/904) ) + = 2.9.1 - 14.08.2024 = Fixed: PHP warning: undefined key. ( [#1018]( https://github.com/WPChill/modula-lite/issues/1018) ) Added: RTL elements orientation option added to isotope script. ( [#987]( https://github.com/WPChill/modula-lite/issues/987) ) diff --git a/readme.txt b/readme.txt index 06610b59..5c63c35a 100644 --- a/readme.txt +++ b/readme.txt @@ -154,6 +154,10 @@ Free support is included only with a PRO license: [Buy Modula PRO](https://wp-mo 4. Responsive galleries created with Modula == Changelog == += 2.10.0 - TBD = +Fixed: Compatibility with ACF Pro ( [#937]( https://github.com/WPChill/modula-lite/issues/937) ) +Fixed: Not importing sourge-gallery captions for existing media images. ( [#904]( https://github.com/WPChill/modula-lite/issues/904) ) + = 2.9.1 - 14.08.2024 = Fixed: PHP warning: undefined key. ( [#1018]( https://github.com/WPChill/modula-lite/issues/1018) ) Added: RTL elements orientation option added to isotope script. ( [#987]( https://github.com/WPChill/modula-lite/issues/987) ) From 626d2aef0cbdc6a4adc051f16699ca07d5fb1938 Mon Sep 17 00:00:00 2001 From: TeoAlex Date: Mon, 9 Sep 2024 10:46:42 +0300 Subject: [PATCH 4/5] [ #1036 ] --- changelog.txt | 1 + includes/admin/class-modula-cpt.php | 33 +++++++++++++++++------------ readme.txt | 1 + 3 files changed, 22 insertions(+), 13 deletions(-) diff --git a/changelog.txt b/changelog.txt index 9879767f..cd04a92a 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,6 +1,7 @@ = 2.10.0 - TBD = Fixed: Compatibility with ACF Pro ( [#937]( https://github.com/WPChill/modula-lite/issues/937) ) Fixed: Not importing sourge-gallery captions for existing media images. ( [#904]( https://github.com/WPChill/modula-lite/issues/904) ) +Fixed: Admin table listing error when searching for string containing %s. ( [#1036]( https://github.com/WPChill/modula-lite/issues/1036) ) = 2.9.1 - 14.08.2024 = Fixed: PHP warning: undefined key. ( [#1018]( https://github.com/WPChill/modula-lite/issues/1018) ) diff --git a/includes/admin/class-modula-cpt.php b/includes/admin/class-modula-cpt.php index 2a0ee96b..e9b7f0d9 100644 --- a/includes/admin/class-modula-cpt.php +++ b/includes/admin/class-modula-cpt.php @@ -1022,29 +1022,36 @@ public function filter_by_gallery_type( $views ) { 'post_type' => $this->cpt_name, ); + $search = false; if ( isset( $_GET['s'] ) ){ - $args['s'] = sanitize_text_field( $_GET['s'] ); + $search = sanitize_text_field( $_GET['s'] ); } - $type_url = add_query_arg( - $args, - admin_url( 'edit.php' ) - ); - $fields = array_merge( $fields['type']['values'], isset( $fields['type']['disabled']['values'] ) ? $fields['type']['disabled']['values'] : array() ); foreach( $fields as $type => $text ){ + + $type_url = add_query_arg( + $args, + admin_url( 'edit.php' ) + ); + if( ! isset( $gallery_types[$type] ) ){ continue; } + $count = count( $gallery_types[$type] ); - $views[$type] = sprintf( - ' %s (%s) ', - $type, - isset( $_GET['gallery_type'] ) && $type === $_GET['gallery_type'] ? 'class="current" aria-current="page"' : '', - $text, - $count - ); + + $type_url = sprintf( $type_url, $type ); + + if( $search ) { + $type_url = add_query_arg( array( 's' => $search ), $type_url ); + } + + $attributes = isset( $_GET['gallery_type'] ) && $type === $_GET['gallery_type'] ? 'class="current" aria-current="page"' : ''; + + $views[$type] = ' ' . esc_html( $text ) . ' (' . esc_html( $count) . ') '; + } return $views; diff --git a/readme.txt b/readme.txt index 5c63c35a..38e5374d 100644 --- a/readme.txt +++ b/readme.txt @@ -157,6 +157,7 @@ Free support is included only with a PRO license: [Buy Modula PRO](https://wp-mo = 2.10.0 - TBD = Fixed: Compatibility with ACF Pro ( [#937]( https://github.com/WPChill/modula-lite/issues/937) ) Fixed: Not importing sourge-gallery captions for existing media images. ( [#904]( https://github.com/WPChill/modula-lite/issues/904) ) +Fixed: Admin table listing error when searching for string containing %s. ( [#1036]( https://github.com/WPChill/modula-lite/issues/1036) ) = 2.9.1 - 14.08.2024 = Fixed: PHP warning: undefined key. ( [#1018]( https://github.com/WPChill/modula-lite/issues/1018) ) From aed7d014633a1f1dc29feb3c3d494d1904141075 Mon Sep 17 00:00:00 2001 From: TeoAlex Date: Mon, 9 Sep 2024 16:31:42 +0300 Subject: [PATCH 5/5] vbump --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8ba46c95..8d080ac8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "modula-best-grid-gallery", - "version": "2.9.4", + "version": "2.9.5", "description": "Modula Image Gallery build tools", "author": "WPChill", "license": "GPL-2.0-or-later",