plugin update (wp-media-folder)
This commit is contained in:
@@ -335,6 +335,11 @@
|
||||
column-gap: 10px;
|
||||
}
|
||||
|
||||
.edit-php .wpmf-folder-actions {
|
||||
width: calc(100% - 40px);
|
||||
margin: 0 10px 10px 10px;
|
||||
}
|
||||
|
||||
.media-frame .wpmf-folder-actions {
|
||||
width: calc(50% - 25px);
|
||||
}
|
||||
@@ -771,7 +776,7 @@
|
||||
padding: 0 10px !important;
|
||||
background: #0073ab !important;
|
||||
color: #ffffff;
|
||||
width: 186px !important;
|
||||
width: 210px !important;
|
||||
height: 40px !important;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
@@ -3759,4 +3764,130 @@ svg.wpmf-icon-category {
|
||||
.table-view-list.media .media-icon.image-icon img{
|
||||
width: 60px!important;
|
||||
height: 60px!important;
|
||||
}
|
||||
|
||||
.wpmf-folder-post-type {
|
||||
position: fixed !important;
|
||||
top: 32px;
|
||||
left: 160px;
|
||||
bottom: 0;
|
||||
box-sizing: border-box;
|
||||
z-index: 1;
|
||||
direction: ltr;
|
||||
}
|
||||
body.folded .wpmf-folder-post-type {
|
||||
left: 36px!important;
|
||||
}
|
||||
.wpmf-folder-post-type .wpmf-main-tree {
|
||||
padding: 15px 0 0;
|
||||
transition: all .15s linear;
|
||||
-webkit-transition: all .15s linear;
|
||||
-moz-transition: all .15s linear;
|
||||
}
|
||||
.wpmf-folder-post-type .wpmf-main-tree-resize {
|
||||
top: 65px;
|
||||
}
|
||||
.wpmf-folder-post-type .wpmf-tree-actions {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.wpmf-folder-post-type .wpmf-new-folder {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.wp-list-table tr td .wpmf-folder-move-file {
|
||||
vertical-align: middle;
|
||||
opacity: 0;
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
.wp-list-table tr:hover td .wpmf-folder-move-file {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.wp-list-table tr td .wpmf-folder-move-file .wpmf-folder-item {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.wpmf-folder-post-type .wpmf-main-tree li > .wpmf-item .wpmf-item-count-all {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#wpmf_folder_move {
|
||||
width: 20px!important;
|
||||
}
|
||||
|
||||
.wpmf-folder-type-metabox {
|
||||
margin-top: 0;
|
||||
}
|
||||
.wpmf-folder-type-metabox .tabs-panel {
|
||||
border: none!important;
|
||||
padding: 0!important;
|
||||
}
|
||||
[id^="taxonomy_wpmf-folder-type-"][id$="_metabox"] h2 {
|
||||
padding: 16px!important;
|
||||
font-weight: 500!important;
|
||||
font-size: 13px!important;
|
||||
}
|
||||
[id^="taxonomy_wpmf-folder-type-"][id$="_metabox"] .inside {
|
||||
margin: 0!important;
|
||||
padding: 0 16px 16px!important;
|
||||
}
|
||||
[id^="taxonomy_wpmf-folder-type-"][id$="_metabox"] .categorychecklist li {
|
||||
margin-left: 1px;
|
||||
}
|
||||
[id^="wpmf-folder-type-"][id$="-checklist"] {
|
||||
margin: 0!important;
|
||||
}
|
||||
[id^="wpmf-folder-type-"][id$="-all"] #genesis-category-checklist-toggle {
|
||||
display: none!important;
|
||||
}
|
||||
|
||||
.wpmf-item-icon.wpmf-item-unassigned {
|
||||
margin-left: 3px;
|
||||
}
|
||||
|
||||
.wpmf-hide-show-buttons {
|
||||
position: absolute;
|
||||
top: 22px;
|
||||
right: -12px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.wpmf-hide-folder-tree .wpmf-hide-show-buttons {
|
||||
right: -22px;
|
||||
}
|
||||
.wpmf-hide-show-buttons .toggle-buttons {
|
||||
display: none;
|
||||
}
|
||||
.wpmf-hide-show-buttons .toggle-buttons .dashicons {
|
||||
color: transparent;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
.wpmf-hide-show-buttons .toggle-buttons.active {
|
||||
display: block;
|
||||
}
|
||||
.wpmf-hide-show-buttons .hide-folders {
|
||||
background: url('../images/folder-off.svg') no-repeat;
|
||||
}
|
||||
.wpmf-hide-show-buttons .show-folders {
|
||||
background: url('../images/drive-file-move-outline.svg') no-repeat;
|
||||
}
|
||||
.wpmf-hide-folder-tree .wpmf-main-tree {
|
||||
width: 0!important;
|
||||
min-width: 0!important;
|
||||
}
|
||||
.wpmf-hide-folder-tree .wpmf-tree-actions, .wpmf-hide-folder-tree .wpmf-expandable-search, .wpmf-hide-folder-tree .wpmf-all-tree, .wpmf-hide-folder-tree .wpmf-main-tree-resize {
|
||||
display: none;
|
||||
transition: all .15s linear;
|
||||
-webkit-transition: all .15s linear;
|
||||
-moz-transition: all .15s linear;
|
||||
}
|
||||
body.wp-admin #wpcontent {
|
||||
transition: all .15s linear;
|
||||
-webkit-transition: all .15s linear;
|
||||
-moz-transition: all .15s linear;
|
||||
}
|
||||
body.woocommerce-page th#taxonomy-wpmf-folder-type-product, body.woocommerce-admin-page th#taxonomy-wpmf-folder-type-product {
|
||||
width: 10% !important;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#0073ab"><path d="m488-400-65 65 56 56 161-161-161-161-56 56 65 65H320v80h168ZM160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h240l80 80h320q33 0 56.5 23.5T880-640v400q0 33-23.5 56.5T800-160H160Zm0-80h640v-400H447l-80-80H160v480Zm0 0v-480 480Z"/></svg>
|
||||
|
After Width: | Height: | Size: 361 B |
@@ -0,0 +1,7 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-folder-off" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<line x1="3" y1="3" x2="21" y2="21" stroke="#0073ab"/>
|
||||
<path d="M19 19h-14a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 1.172 -1.821m3.828 -.179h1l3 3h7a2 2 0 0 1 2 2v8" stroke="#0073ab" fill="#0073ab"/>
|
||||
</svg>
|
||||
|
||||
|
||||
|
After Width: | Height: | Size: 486 B |
1548
wp/wp-content/plugins/wp-media-folder/assets/js/folder-post-type.js
Normal file
1548
wp/wp-content/plugins/wp-media-folder/assets/js/folder-post-type.js
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
10905
wp/wp-content/plugins/wp-media-folder/assets/js/pdf-embed/pdf-old.js
Normal file
10905
wp/wp-content/plugins/wp-media-folder/assets/js/pdf-embed/pdf-old.js
Normal file
File diff suppressed because it is too large
Load Diff
19
wp/wp-content/plugins/wp-media-folder/assets/js/pdf-embed/pdf.worker.min.js
vendored
Normal file
19
wp/wp-content/plugins/wp-media-folder/assets/js/pdf-embed/pdf.worker.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@@ -340,14 +340,16 @@ var wpmfFoldersModule = void 0,
|
||||
}
|
||||
};
|
||||
|
||||
// Create an observer instance linked to the callback function
|
||||
const observer = new MutationObserver(callback);
|
||||
if (targetNode){
|
||||
// Create an observer instance linked to the callback function
|
||||
const observer = new MutationObserver(callback);
|
||||
|
||||
// Start observing the target node for configured mutations
|
||||
observer.observe(targetNode, config);
|
||||
|
||||
// Start observing the target node for configured mutations
|
||||
observer.observe(targetNode, config);
|
||||
|
||||
// Later, you can stop observing
|
||||
// observer.disconnect();
|
||||
// Later, you can stop observing
|
||||
// observer.disconnect();
|
||||
}
|
||||
|
||||
// Add the creation gallery from folder button
|
||||
|
||||
|
||||
@@ -91,7 +91,7 @@ var wpmfSnackbarModule = void 0;
|
||||
// Reset the close function as we've done an undo
|
||||
wpmfSnackbarModule.snackbar_ids[snack_id].onClose = function () {};
|
||||
// Finally close the snackbar
|
||||
wpmfSnackbarModule.snackbar_ids[snack_id].close(snack_id);
|
||||
wpmfSnackbarModule.close(snack_id);
|
||||
});
|
||||
|
||||
Object.keys(wpmfSnackbarModule.snackbar_ids).map(function (snack_id, index) {
|
||||
|
||||
Reference in New Issue
Block a user