Changeset 3354702
- Timestamp:
- 09/02/2025 12:36:42 PM (7 months ago)
- Location:
- flexible-layout-preview-image-for-acf
- Files:
-
- 10 edited
- 1 copied
-
tags/1.4.1 (copied) (copied from flexible-layout-preview-image-for-acf/trunk)
-
tags/1.4.1/CHANGELOG.md (modified) (1 diff)
-
tags/1.4.1/README.md (modified) (2 diffs)
-
tags/1.4.1/assets/css/flexible-layout-preview-image-for-acf.css (modified) (10 diffs)
-
tags/1.4.1/assets/js/flexible-layout-preview-image-for-acf.js (modified) (1 diff)
-
tags/1.4.1/readme.txt (modified) (2 diffs)
-
trunk/CHANGELOG.md (modified) (1 diff)
-
trunk/README.md (modified) (2 diffs)
-
trunk/assets/css/flexible-layout-preview-image-for-acf.css (modified) (10 diffs)
-
trunk/assets/js/flexible-layout-preview-image-for-acf.js (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
flexible-layout-preview-image-for-acf/tags/1.4.1/CHANGELOG.md
r3354073 r3354702 1 1 # Changelog ## 2 3 ## [1.4.1] 4 - Ensured compatibility with WordPress 6.8.2 and ACF Pro 6.5+ 2 5 3 6 ## [1.4] -
flexible-layout-preview-image-for-acf/tags/1.4.1/README.md
r3354073 r3354702 8 8 **Requires PHP:** 7.4 9 9 **Requires Plugins:** advanced-custom-fields (>= 5.0) 10 **Stable tag:** 1.4 10 **Stable tag:** 1.4.1 11 11 **License:** GPLv2 or later 12 12 **License URI:** [https://www.gnu.org/licenses/gpl-2.0.html](https://www.gnu.org/licenses/gpl-2.0.html) … … 66 66 ## Changelog 67 67 68 **1.4.1** 69 * Ensured compatibility with WordPress 6.8.2 and ACF Pro 6.5+ 70 68 71 **1.4** 69 72 * Ensured compatibility with WordPress 6.8.2 and ACF Pro 6.5+ -
flexible-layout-preview-image-for-acf/tags/1.4.1/assets/css/flexible-layout-preview-image-for-acf.css
r3354073 r3354702 1 .acf-fc-popup {1 .acf-fc-popup.acf-fc-popup-module { 2 2 box-sizing: border-box; 3 3 position: fixed !important; … … 15 15 16 16 @media only screen and (min-width: 783px) { 17 .acf-fc-popup .acf-fc-popup{17 .acf-fc-popup.acf-fc-popup-module .acf-fc-popup.acf-fc-popup-module { 18 18 width: 80%; 19 19 height: 80%; … … 21 21 } 22 22 23 .acf-fc-popup * {23 .acf-fc-popup.acf-fc-popup-module * { 24 24 box-sizing: border-box; 25 25 } 26 26 27 .acf-fc-popup ::before, .acf-fc-popup::after {27 .acf-fc-popup.acf-fc-popup-module::before, .acf-fc-popup.acf-fc-popup-module::after { 28 28 border-color: transparent !important; 29 29 } 30 30 31 .acf-fc-popup ::before {31 .acf-fc-popup.acf-fc-popup-module::before { 32 32 content: ''; 33 33 position: fixed; … … 43 43 } 44 44 45 .acf-fc-popup ul {45 .acf-fc-popup.acf-fc-popup-module ul { 46 46 display: flex; 47 47 flex-wrap: wrap; … … 58 58 } 59 59 60 .acf-fc-popup ul::after {60 .acf-fc-popup.acf-fc-popup-module ul::after { 61 61 content: ''; 62 62 display: block; … … 65 65 } 66 66 67 .acf-fc-popup ul li {67 .acf-fc-popup.acf-fc-popup-module ul li { 68 68 width: 100%; 69 69 padding: 15px; … … 72 72 73 73 @media only screen and (min-width: 600px) { 74 .acf-fc-popup ul li {74 .acf-fc-popup.acf-fc-popup-module ul li { 75 75 width: 50%; 76 76 } … … 78 78 79 79 @media only screen and (min-width: 1200px) { 80 .acf-fc-popup ul li {80 .acf-fc-popup.acf-fc-popup-module ul li { 81 81 width: calc(100% / 3); 82 82 } 83 83 } 84 84 85 .acf-fc-popup ul li a {85 .acf-fc-popup.acf-fc-popup-module ul li a { 86 86 padding: 0; 87 87 box-shadow: 0 10px 16px -6px #777; … … 90 90 } 91 91 92 .acf-fc-popup ul li a:hover, .acf-fc-popup ul li a:focus, .acf-fc-popupul li a:active {92 .acf-fc-popup.acf-fc-popup-module ul li a:hover, .acf-fc-popup.acf-fc-popup-module ul li a:focus, .acf-fc-popup.acf-fc-popup-module ul li a:active { 93 93 box-shadow: 0 10px 6px -6px #777; 94 94 } 95 95 96 .acf-fc-popup ul li a:hover .acf-fc-popup-label, .acf-fc-popup ul li a:focus .acf-fc-popup-label, .acf-fc-popupul li a:active .acf-fc-popup-label {96 .acf-fc-popup.acf-fc-popup-module ul li a:hover .acf-fc-popup-label, .acf-fc-popup.acf-fc-popup-module ul li a:focus .acf-fc-popup-label, .acf-fc-popup.acf-fc-popup-module ul li a:active .acf-fc-popup-label { 97 97 background-color: #006799; 98 98 } 99 99 100 .acf-fc-popup ul li a .acf-fc-popup-label {100 .acf-fc-popup.acf-fc-popup-module ul li a .acf-fc-popup-label { 101 101 position: relative; 102 102 background-color: #0085ba; … … 113 113 } 114 114 115 .acf-fc-popup ul li a .acf-fc-popup-image {115 .acf-fc-popup.acf-fc-popup-module ul li a .acf-fc-popup-image { 116 116 background-position: center !important; 117 117 background-repeat: repeat-x !important; -
flexible-layout-preview-image-for-acf/tags/1.4.1/assets/js/flexible-layout-preview-image-for-acf.js
r3163868 r3354702 17 17 // Transform a link into a div for styling purpose 18 18 jQuery('body').on('click', 'a[data-name="add-layout"]', function() { 19 setTimeout(function() { 20 jQuery('.acf-fc-popup a').each(function() { 19 // Add custom class 20 jQuery('.acf-fc-popup').addClass('acf-fc-popup-module'); 21 jQuery('.acf-fc-popup.acf-fc-popup-module a').each(function() { 21 22 var html = '<div class="acf-fc-popup-label">' + jQuery(this).text() + '</div><div class="acf-fc-popup-image"></div>'; 22 23 jQuery(this).html(html); 23 24 }); 24 }, 0);25 25 }); 26 27 // Remove custom class when a layout is chosen 28 jQuery('body').on('click', '.acf-fc-popup.acf-fc-popup-module a[data-layout]', function ($) { 29 $(this).closest('.acf-fc-popup').removeClass('acf-fc-popup-module'); 30 }); -
flexible-layout-preview-image-for-acf/tags/1.4.1/readme.txt
r3354073 r3354702 7 7 Requires PHP: 7.4 8 8 Requires Plugins: advanced-custom-fields (>= 5.0) 9 Stable tag: 1.4 9 Stable tag: 1.4.1 10 10 License: GPLv2 or later 11 11 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 74 74 75 75 == Changelog == 76 = 1.4.1 = 77 Ensured compatibility with WordPress 6.8.2 and ACF Pro 6.5+ 76 78 77 79 = 1.4 = -
flexible-layout-preview-image-for-acf/trunk/CHANGELOG.md
r3354073 r3354702 1 1 # Changelog ## 2 3 ## [1.4.1] 4 - Ensured compatibility with WordPress 6.8.2 and ACF Pro 6.5+ 2 5 3 6 ## [1.4] -
flexible-layout-preview-image-for-acf/trunk/README.md
r3354073 r3354702 8 8 **Requires PHP:** 7.4 9 9 **Requires Plugins:** advanced-custom-fields (>= 5.0) 10 **Stable tag:** 1.4 10 **Stable tag:** 1.4.1 11 11 **License:** GPLv2 or later 12 12 **License URI:** [https://www.gnu.org/licenses/gpl-2.0.html](https://www.gnu.org/licenses/gpl-2.0.html) … … 66 66 ## Changelog 67 67 68 **1.4.1** 69 * Ensured compatibility with WordPress 6.8.2 and ACF Pro 6.5+ 70 68 71 **1.4** 69 72 * Ensured compatibility with WordPress 6.8.2 and ACF Pro 6.5+ -
flexible-layout-preview-image-for-acf/trunk/assets/css/flexible-layout-preview-image-for-acf.css
r3354073 r3354702 1 .acf-fc-popup {1 .acf-fc-popup.acf-fc-popup-module { 2 2 box-sizing: border-box; 3 3 position: fixed !important; … … 15 15 16 16 @media only screen and (min-width: 783px) { 17 .acf-fc-popup .acf-fc-popup{17 .acf-fc-popup.acf-fc-popup-module .acf-fc-popup.acf-fc-popup-module { 18 18 width: 80%; 19 19 height: 80%; … … 21 21 } 22 22 23 .acf-fc-popup * {23 .acf-fc-popup.acf-fc-popup-module * { 24 24 box-sizing: border-box; 25 25 } 26 26 27 .acf-fc-popup ::before, .acf-fc-popup::after {27 .acf-fc-popup.acf-fc-popup-module::before, .acf-fc-popup.acf-fc-popup-module::after { 28 28 border-color: transparent !important; 29 29 } 30 30 31 .acf-fc-popup ::before {31 .acf-fc-popup.acf-fc-popup-module::before { 32 32 content: ''; 33 33 position: fixed; … … 43 43 } 44 44 45 .acf-fc-popup ul {45 .acf-fc-popup.acf-fc-popup-module ul { 46 46 display: flex; 47 47 flex-wrap: wrap; … … 58 58 } 59 59 60 .acf-fc-popup ul::after {60 .acf-fc-popup.acf-fc-popup-module ul::after { 61 61 content: ''; 62 62 display: block; … … 65 65 } 66 66 67 .acf-fc-popup ul li {67 .acf-fc-popup.acf-fc-popup-module ul li { 68 68 width: 100%; 69 69 padding: 15px; … … 72 72 73 73 @media only screen and (min-width: 600px) { 74 .acf-fc-popup ul li {74 .acf-fc-popup.acf-fc-popup-module ul li { 75 75 width: 50%; 76 76 } … … 78 78 79 79 @media only screen and (min-width: 1200px) { 80 .acf-fc-popup ul li {80 .acf-fc-popup.acf-fc-popup-module ul li { 81 81 width: calc(100% / 3); 82 82 } 83 83 } 84 84 85 .acf-fc-popup ul li a {85 .acf-fc-popup.acf-fc-popup-module ul li a { 86 86 padding: 0; 87 87 box-shadow: 0 10px 16px -6px #777; … … 90 90 } 91 91 92 .acf-fc-popup ul li a:hover, .acf-fc-popup ul li a:focus, .acf-fc-popupul li a:active {92 .acf-fc-popup.acf-fc-popup-module ul li a:hover, .acf-fc-popup.acf-fc-popup-module ul li a:focus, .acf-fc-popup.acf-fc-popup-module ul li a:active { 93 93 box-shadow: 0 10px 6px -6px #777; 94 94 } 95 95 96 .acf-fc-popup ul li a:hover .acf-fc-popup-label, .acf-fc-popup ul li a:focus .acf-fc-popup-label, .acf-fc-popupul li a:active .acf-fc-popup-label {96 .acf-fc-popup.acf-fc-popup-module ul li a:hover .acf-fc-popup-label, .acf-fc-popup.acf-fc-popup-module ul li a:focus .acf-fc-popup-label, .acf-fc-popup.acf-fc-popup-module ul li a:active .acf-fc-popup-label { 97 97 background-color: #006799; 98 98 } 99 99 100 .acf-fc-popup ul li a .acf-fc-popup-label {100 .acf-fc-popup.acf-fc-popup-module ul li a .acf-fc-popup-label { 101 101 position: relative; 102 102 background-color: #0085ba; … … 113 113 } 114 114 115 .acf-fc-popup ul li a .acf-fc-popup-image {115 .acf-fc-popup.acf-fc-popup-module ul li a .acf-fc-popup-image { 116 116 background-position: center !important; 117 117 background-repeat: repeat-x !important; -
flexible-layout-preview-image-for-acf/trunk/assets/js/flexible-layout-preview-image-for-acf.js
r3163868 r3354702 17 17 // Transform a link into a div for styling purpose 18 18 jQuery('body').on('click', 'a[data-name="add-layout"]', function() { 19 setTimeout(function() { 20 jQuery('.acf-fc-popup a').each(function() { 19 // Add custom class 20 jQuery('.acf-fc-popup').addClass('acf-fc-popup-module'); 21 jQuery('.acf-fc-popup.acf-fc-popup-module a').each(function() { 21 22 var html = '<div class="acf-fc-popup-label">' + jQuery(this).text() + '</div><div class="acf-fc-popup-image"></div>'; 22 23 jQuery(this).html(html); 23 24 }); 24 }, 0);25 25 }); 26 27 // Remove custom class when a layout is chosen 28 jQuery('body').on('click', '.acf-fc-popup.acf-fc-popup-module a[data-layout]', function ($) { 29 $(this).closest('.acf-fc-popup').removeClass('acf-fc-popup-module'); 30 }); -
flexible-layout-preview-image-for-acf/trunk/readme.txt
r3354073 r3354702 7 7 Requires PHP: 7.4 8 8 Requires Plugins: advanced-custom-fields (>= 5.0) 9 Stable tag: 1.4 9 Stable tag: 1.4.1 10 10 License: GPLv2 or later 11 11 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 74 74 75 75 == Changelog == 76 = 1.4.1 = 77 Ensured compatibility with WordPress 6.8.2 and ACF Pro 6.5+ 76 78 77 79 = 1.4 =
Note: See TracChangeset
for help on using the changeset viewer.