Changeset 357841
- Timestamp:
- 11/07/2026 10:22:25 AM (69 minutes ago)
- Location:
- demolition-contractor/2.9.1
- Files:
-
- 1 added
- 8 edited
- 1 copied
-
. (copied) (copied from demolition-contractor/2.9 )
-
assets/css/editor-style.css (modified) (1 diff)
-
assets/css/style.css (modified) (1 diff)
-
assets/js/theme.js (modified) (1 diff)
-
demolition-contractor-get-theme-info.php (modified) (1 diff)
-
languages/demolition-contractor.pot (modified) (1 diff)
-
patterns/faq-section.php (added)
-
readme.txt (modified) (4 diffs)
-
style.css (modified) (1 diff)
-
templates/front-page.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
demolition-contractor/2.9.1/assets/css/editor-style.css
r300709 r357841 9 9 background-color: #3b3e40 !important; 10 10 } 11 /* ========================================================== 12 FAQ Section – block theme styles 13 ========================================================== */ 14 .rwp-faq { 15 --wp--preset--color--primary-soft: #e0e3fb; 16 --faq-text: #111827; 17 --faq-muted: #5b6475; 18 --faq-bg: #f1f1f1; 19 --faq-card: #ffffff; 20 --faq-green: #0f7a4d; 21 --faq-radius: 12px; 22 color: var(--faq-text); 23 padding: 60px 20px; 24 background: var(--faq-bg); 25 margin: 0px; 26 } 27 28 /* ---------- Header ---------- */ 29 .rwp-faq__header { text-align: center; margin-bottom: 28px; } 30 31 .rwp-faq__eyebrow { 32 display: inline-block; 33 margin: 0 auto 18px; 34 padding: 4px 12px; 35 font-size: 11px; 36 font-weight: 600; 37 letter-spacing: .04em; 38 text-transform: uppercase; 39 color: #fff; 40 background: var(--wp--preset--color--primary); 41 border-radius: 999px; 42 } 43 44 .rwp-faq__title { 45 margin: 0 0 14px; 46 font-size: 34px; 47 font-weight: 800; 48 line-height: 1.15; 49 letter-spacing: -0.02em; 50 } 51 52 .rwp-faq__intro { 53 max-width: 620px; 54 margin: 0 auto; 55 font-size: 15px; 56 line-height: 1.6; 57 color: var(--faq-muted); 58 } 59 60 /* ---------- Filter tabs ---------- */ 61 .rwp-faq__tabs { 62 display: flex; 63 flex-wrap: wrap; 64 justify-content: center; 65 gap: 8px; 66 margin-bottom: 28px; 67 } 68 69 .rwp-faq__tab { 70 padding: 5px 14px; 71 font: inherit; 72 font-size: 11px; 73 font-weight: 600; 74 color: var(--wp--preset--color--primary); 75 background: var(--wp--preset--color--primary-soft); 76 border: 0; 77 border-radius: 999px; 78 cursor: pointer; 79 transition: background .2s, color .2s; 80 } 81 .rwp-faq__tab:hover { background: #cfd3f7; } 82 .rwp-faq__tab.is-active { color: #fff; background: var(--wp--preset--color--primary); } 83 .rwp-faq__tab:focus-visible { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 2px; } 84 85 /* ---------- Accordion ---------- */ 86 .rwp-faq__list { display: flex; flex-direction: column; gap: 12px; } 87 88 .rwp-faq__item { 89 background: var(--faq-card); 90 border-radius: var(--faq-radius); 91 box-shadow: 0 1px 3px rgba(17, 24, 39, .06); 92 padding: 0; 93 transition: box-shadow .2s; 94 margin-top: 6px; 95 } 96 .rwp-faq__item:hover { box-shadow: 0 4px 14px rgba(17, 24, 39, .08); } 97 .rwp-faq__item[hidden] { display: none; } 98 99 .rwp-faq__item summary { 100 position: relative; 101 display: block; 102 padding: 20px 64px 20px 24px; 103 font-size: 16px; 104 font-weight: 700; 105 cursor: pointer; 106 list-style: none; 107 } 108 .rwp-faq__item summary::-webkit-details-marker { display: none; } 109 .rwp-faq__item summary::marker { content: ""; } 110 111 /* chevron button */ 112 .rwp-faq__item summary::after { 113 content: ""; 114 position: absolute; 115 top: 50%; 116 right: 20px; 117 width: 28px; 118 height: 28px; 119 transform: translateY(-50%); 120 border-radius: 50%; 121 background-color: var(--wp--preset--color--primary-soft); 122 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); 123 background-repeat: no-repeat; 124 background-position: center; 125 transition: transform .25s ease; 126 } 127 .rwp-faq__item[open] summary::after { transform: translateY(-50%) rotate(180deg); } 128 129 .rwp-faq__item > :not(summary) { margin-left: 24px; margin-right: 24px; } 130 .rwp-faq__item > p { margin-top: 0; font-size: 14px; line-height: 1.65; color: var(--faq-muted); } 131 .rwp-faq__item > :last-child { margin-bottom: 22px; } 132 133 /* ---------- Badges ---------- */ 134 .rwp-faq__badges { gap: 12px; align-items: center; } 135 .rwp-faq__badge { 136 display: inline-flex; 137 align-items: center; 138 gap: 6px; 139 margin: 0; 140 padding: 3px 8px; 141 font-size: 11px; 142 font-weight: 500; 143 } 144 .rwp-faq__badge--green { color: var(--faq-green); background: #e7f6ee; border-radius: 6px; } 145 .rwp-faq__badge--green::before { content: "✓"; font-weight: 700; } 146 147 /* ---------- CTA ---------- */ 148 .rwp-faq__cta { 149 margin-top: 32px; 150 padding: 22px 24px; 151 gap: 16px; 152 background: #fff; 153 border-radius: var(--faq-radius); 154 box-shadow: 0px 0px 10px #0000001f; 155 } 156 .rwp-faq__cta-title { margin: 0 0 4px; font-size: 17px; font-weight: 800; } 157 .rwp-faq__cta-desc { margin: 0; max-width: 340px; font-size: 12px; line-height: 1.5; color: var(--faq-muted); } 158 159 .rwp-faq__pill { 160 display: inline-block; 161 margin-left: 6px; 162 padding: 1px 8px; 163 font-size: 10px; 164 font-weight: 600; 165 color: #0b5e7a; 166 background: #d3eef7; 167 border-radius: 999px; 168 vertical-align: middle; 169 } 170 .rwp-faq__pill::before { 171 content: ""; 172 display: inline-block; 173 width: 6px; 174 height: 6px; 175 margin-right: 5px; 176 background: #16a34a; 177 border-radius: 50%; 178 } 179 180 .rwp-faq__cta-buttons { gap: 10px; } 181 .rwp-faq__cta-buttons .wp-block-button__link { 182 padding: 9px 16px; 183 font-size: 12px; 184 font-weight: 700; 185 border-radius: 8px; 186 transition: transform .15s, box-shadow .15s; 187 } 188 .rwp-faq__cta-buttons .wp-block-button__link:hover { transform: translateY(-1px); } 189 190 .rwp-btn-primary .wp-block-button__link { color: #fff; background: var(--wp--preset--color--primary); border: 1px solid var(--wp--preset--color--primary); } 191 .rwp-btn-light .wp-block-button__link { 192 color: #fff; 193 background: var(--wp--preset--color--primary); 194 border: 1px solid #fff; 195 } 196 197 /* ---------- Responsive ---------- */ 198 @media (max-width: 600px) { 199 .rwp-faq { padding: 40px 14px; } 200 .rwp-faq__item summary { padding: 16px 56px 16px 16px; font-size: 15px; } 201 .rwp-faq__item > :not(summary) { margin-left: 16px; margin-right: 16px; } 202 .rwp-faq__cta { flex-direction: column; align-items: flex-start; } 203 } -
demolition-contractor/2.9.1/assets/css/style.css
r345975 r357841 1617 1617 font-weight: 800; 1618 1618 } 1619 /* ========================================================== 1620 FAQ Section – block theme styles 1621 ========================================================== */ 1622 .rwp-faq { 1623 --wp--preset--color--primary-soft: #e0e3fb; 1624 --faq-text: #111827; 1625 --faq-muted: #5b6475; 1626 --faq-bg: #f1f1f1; 1627 --faq-card: #ffffff; 1628 --faq-green: #0f7a4d; 1629 --faq-radius: 12px; 1630 color: var(--faq-text); 1631 padding: 60px 20px; 1632 background: var(--faq-bg); 1633 margin: 0px; 1634 } 1635 1636 /* ---------- Header ---------- */ 1637 .rwp-faq__header { text-align: center; margin-bottom: 28px; } 1638 1639 .rwp-faq__eyebrow { 1640 display: inline-block; 1641 margin: 0 auto 18px; 1642 padding: 4px 12px; 1643 font-size: 11px; 1644 font-weight: 600; 1645 letter-spacing: .04em; 1646 text-transform: uppercase; 1647 color: #fff; 1648 background: var(--wp--preset--color--primary); 1649 border-radius: 999px; 1650 } 1651 1652 .rwp-faq__title { 1653 margin: 0 0 14px; 1654 font-size: 34px; 1655 font-weight: 800; 1656 line-height: 1.15; 1657 letter-spacing: -0.02em; 1658 } 1659 1660 .rwp-faq__intro { 1661 max-width: 620px; 1662 margin: 0 auto; 1663 font-size: 15px; 1664 line-height: 1.6; 1665 color: var(--faq-muted); 1666 } 1667 1668 /* ---------- Filter tabs ---------- */ 1669 .rwp-faq__tabs { 1670 display: flex; 1671 flex-wrap: wrap; 1672 justify-content: center; 1673 gap: 8px; 1674 margin-bottom: 28px; 1675 } 1676 1677 .rwp-faq__tab { 1678 padding: 5px 14px; 1679 font: inherit; 1680 font-size: 11px; 1681 font-weight: 600; 1682 color: var(--wp--preset--color--primary); 1683 background: var(--wp--preset--color--primary-soft); 1684 border: 0; 1685 border-radius: 999px; 1686 cursor: pointer; 1687 transition: background .2s, color .2s; 1688 } 1689 .rwp-faq__tab:hover { background: #cfd3f7; } 1690 .rwp-faq__tab.is-active { color: #fff; background: var(--wp--preset--color--primary); } 1691 .rwp-faq__tab:focus-visible { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 2px; } 1692 1693 /* ---------- Accordion ---------- */ 1694 .rwp-faq__list { display: flex; flex-direction: column; gap: 12px; } 1695 1696 .rwp-faq__item { 1697 background: var(--faq-card); 1698 border-radius: var(--faq-radius); 1699 box-shadow: 0 1px 3px rgba(17, 24, 39, .06); 1700 padding: 0; 1701 transition: box-shadow .2s; 1702 margin-top: 6px; 1703 } 1704 .rwp-faq__item:hover { box-shadow: 0 4px 14px rgba(17, 24, 39, .08); } 1705 .rwp-faq__item[hidden] { display: none; } 1706 1707 .rwp-faq__item summary { 1708 position: relative; 1709 display: block; 1710 padding: 20px 64px 20px 24px; 1711 font-size: 16px; 1712 font-weight: 700; 1713 cursor: pointer; 1714 list-style: none; 1715 } 1716 .rwp-faq__item summary::-webkit-details-marker { display: none; } 1717 .rwp-faq__item summary::marker { content: ""; } 1718 1719 /* chevron button */ 1720 .rwp-faq__item summary::after { 1721 content: ""; 1722 position: absolute; 1723 top: 50%; 1724 right: 20px; 1725 width: 28px; 1726 height: 28px; 1727 transform: translateY(-50%); 1728 border-radius: 50%; 1729 background-color: var(--wp--preset--color--primary-soft); 1730 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); 1731 background-repeat: no-repeat; 1732 background-position: center; 1733 transition: transform .25s ease; 1734 } 1735 .rwp-faq__item[open] summary::after { transform: translateY(-50%) rotate(180deg); } 1736 1737 .rwp-faq__item > :not(summary) { margin-left: 24px; margin-right: 24px; } 1738 .rwp-faq__item > p { margin-top: 0; font-size: 14px; line-height: 1.65; color: var(--faq-muted); } 1739 .rwp-faq__item > :last-child { margin-bottom: 22px; } 1740 1741 /* ---------- Badges ---------- */ 1742 .rwp-faq__badges { gap: 12px; align-items: center; } 1743 .rwp-faq__badge { 1744 display: inline-flex; 1745 align-items: center; 1746 gap: 6px; 1747 margin: 0; 1748 padding: 3px 8px; 1749 font-size: 11px; 1750 font-weight: 500; 1751 } 1752 .rwp-faq__badge--green { color: var(--faq-green); background: #e7f6ee; border-radius: 6px; } 1753 .rwp-faq__badge--green::before { content: "✓"; font-weight: 700; } 1754 1755 /* ---------- CTA ---------- */ 1756 .rwp-faq__cta { 1757 margin-top: 32px; 1758 padding: 22px 24px; 1759 gap: 16px; 1760 background: #fff; 1761 border-radius: var(--faq-radius); 1762 box-shadow: 0px 0px 10px #0000001f; 1763 } 1764 .rwp-faq__cta-title { margin: 0 0 4px; font-size: 17px; font-weight: 800; } 1765 .rwp-faq__cta-desc { margin: 0; max-width: 340px; font-size: 12px; line-height: 1.5; color: var(--faq-muted); } 1766 1767 .rwp-faq__pill { 1768 display: inline-block; 1769 margin-left: 6px; 1770 padding: 1px 8px; 1771 font-size: 10px; 1772 font-weight: 600; 1773 color: #0b5e7a; 1774 background: #d3eef7; 1775 border-radius: 999px; 1776 vertical-align: middle; 1777 } 1778 .rwp-faq__pill::before { 1779 content: ""; 1780 display: inline-block; 1781 width: 6px; 1782 height: 6px; 1783 margin-right: 5px; 1784 background: #16a34a; 1785 border-radius: 50%; 1786 } 1787 1788 .rwp-faq__cta-buttons { gap: 10px; } 1789 .rwp-faq__cta-buttons .wp-block-button__link { 1790 padding: 9px 16px; 1791 font-size: 12px; 1792 font-weight: 700; 1793 border-radius: 8px; 1794 transition: transform .15s, box-shadow .15s; 1795 } 1796 .rwp-faq__cta-buttons .wp-block-button__link:hover { transform: translateY(-1px); } 1797 1798 .rwp-btn-primary .wp-block-button__link { color: #fff; background: var(--wp--preset--color--primary); border: 1px solid var(--wp--preset--color--primary); } 1799 .rwp-btn-light .wp-block-button__link { 1800 color: #fff; 1801 background: var(--wp--preset--color--primary); 1802 border: 1px solid #fff; 1803 } 1804 1805 /* ---------- Responsive ---------- */ 1806 @media (max-width: 600px) { 1807 .rwp-faq { padding: 40px 14px; } 1808 .rwp-faq__item summary { padding: 16px 56px 16px 16px; font-size: 15px; } 1809 .rwp-faq__item > :not(summary) { margin-left: 16px; margin-right: 16px; } 1810 .rwp-faq__cta { flex-direction: column; align-items: flex-start; } 1811 } -
demolition-contractor/2.9.1/assets/js/theme.js
r300709 r357841 64 64 }); 65 65 }); 66 67 ( function () { 68 document.querySelectorAll( '.rwp-faq' ).forEach( function ( faq ) { 69 var items = faq.querySelectorAll( '.rwp-faq__item' ); 70 71 items.forEach( function ( item ) { 72 item.addEventListener( 'toggle', function () { 73 if ( ! item.open ) { 74 return; 75 } 76 items.forEach( function ( other ) { 77 if ( other !== item ) { 78 other.open = false; 79 } 80 }); 81 }); 82 }); 83 }); 84 } )(); -
demolition-contractor/2.9.1/demolition-contractor-get-theme-info.php
r355001 r357841 313 313 </div> 314 314 <div class="info-pro-btn"> 315 <a class="button button-primary button-large bundle-btn" href="<?php echo esc_url(DEMOLITION_CONTRACTOR_THEME_BUNDLE_URL); ?>" target="_blank"><?php esc_html_e( 'GET ALL THEMES – $ 59', 'demolition-contractor' ); ?></a>315 <a class="button button-primary button-large bundle-btn" href="<?php echo esc_url(DEMOLITION_CONTRACTOR_THEME_BUNDLE_URL); ?>" target="_blank"><?php esc_html_e( 'GET ALL THEMES – $69', 'demolition-contractor' ); ?></a> 316 316 </div> 317 317 <div class="info-pro-btn"> -
demolition-contractor/2.9.1/languages/demolition-contractor.pot
r355001 r357841 196 196 197 197 #: demolition-contractor-get-theme-info.php:315 198 msgid "GET ALL THEMES – $ 59"198 msgid "GET ALL THEMES – $69" 199 199 msgstr "" 200 200 -
demolition-contractor/2.9.1/readme.txt
r355001 r357841 3 3 Requires at least: 5.5 4 4 Tested up to: 7.1 5 Stable tag: 2.9 5 Stable tag: 2.9.1 6 6 Requires PHP: 5.6 7 7 License: GNU General Public License v3 … … 12 12 13 13 The Demolition Contractor theme is a versatile and modern solution designed specifically for demolition experts, construction companies, and service providers in the demolition industry. It showcases a clean and sophisticated layout that enhances your brand's professional image while ensuring a fully responsive and user-friendly experience across all devices. With optimized, secure, and lightweight code, this theme guarantees fast page load times and seamless performance. Its retina-ready, mobile-friendly design features an eye-catching homepage banner and includes sections to highlight your services, past projects, and expertise through interactive animations. Customer testimonials build credibility, while a dedicated team section emphasizes your professionals. Strategically placed Call to Action (CTA) buttons lead visitors toward quotes and bookings, significantly enhancing conversions. The extensive customization options, powered by its Bootstrap framework, allow developers and beginners alike to easily modify layouts, colors, fonts, and shortcodes without delving into complex coding. Plus, with translation-ready functionality and social media integration, you can expand your reach and engagement. Boasting luxurious styling elements and practical features, the Demolition Contractor theme stands as a robust platform for any demolition, construction, or industrial business seeking to create an impactful online presence, particularly for those utilizing engineered hardwoods or looking for a construction architecture WordPress theme. 14 14 15 = Installation = 15 16 … … 92 93 * Added link to mail and home page buttons. 93 94 94 95 95 = 2.4 = 96 96 * Enhanced Mobile Layout. … … 110 110 = 2.9 = 111 111 * Improved User Experience. 112 113 = 2.9.1 = 114 * Added faq section. 115 112 116 == Resources == 113 117 -
demolition-contractor/2.9.1/style.css
r355001 r357841 8 8 * Tested up to: 7.1 9 9 * Requires PHP: 5.6 10 * Version: 2.9 10 * Version: 2.9.1 11 11 * License: GNU General Public License v3 12 12 * License URI: https://www.gnu.org/licenses/gpl-3.0.html -
demolition-contractor/2.9.1/templates/front-page.html
r301334 r357841 8 8 <!-- wp:pattern {"slug":"demolition-contractor/services"} /--> 9 9 10 <!-- wp:pattern {"slug":"demolition-contractor/faq-section"} /--> 11 10 12 <!-- wp:pattern {"slug":"demolition-contractor/homepage-blog"} /--> 11 13
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)