Commit inicial - WordPress Análisis de Precios Unitarios

- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-11-03 21:04:30 -06:00
commit a22573bf0b
24068 changed files with 4993111 additions and 0 deletions

View File

@@ -0,0 +1,95 @@
.advads-modal {
display: none;
position: fixed;
z-index: -1;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(34, 34, 34, 0.4);
opacity: 0;
pointer-events: none;
-webkit-transition: opacity 400ms ease-in;
-moz-transition: opacity 400ms ease-in;
transition: opacity 400ms ease-in;
}
.advads-modal:target,
.advads-modal[open] {
display: flex;
align-items: center;
opacity: 1;
pointer-events: auto;
z-index: 9999;
}
dialog.advads-modal {
padding: 0;
border: 0;
margin: 0;
max-width: 100vw;
max-height: 100vh;
}
.advads-modal-content {
background-color: #fff;
border: 3px solid #20802d;
border-radius: 10px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
box-sizing: border-box;
margin: calc(5vh + var(--wp-admin--admin-bar--height, 0px)) auto 5vh;
width: 50em;
max-width: 50em;
max-height: calc(90vh - var(--wp-admin--admin-bar--height, 0px));
height: auto;
animation-name: advads-modal-animatetop;
animation-duration: 0.4s;
position: relative;
padding: 40px;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
.advads-modal-body {
padding: 16px 16px;
}
.close-wrapper {
display: flex;
justify-content: center;
margin: 1em 0;
}
button.advads-modal-close-action {
padding: 10px 20px;
border-radius: 3px;
font-weight: bold;
text-decoration: none;
cursor: pointer;
outline: inherit;
color: #fff;
border: 1px solid #0474a2;
margin: auto 40px;
background-color: #20802d;
}
@keyframes advads-modal-animatetop {
from {
top: -300px;
opacity: 0
}
to {
top: 0;
opacity: 1
}
}
.advads-ui-autocomplete.ui-front {
z-index: 10000;
}
@media (min-width: 60em) {
.advads-modal-content {
margin: 5% auto;
}
}

View File

@@ -0,0 +1,40 @@
(function ($) {
const overlayNotice = $('.advads-eab-overlay-notice');
const divOverlay = $('#advanced-ads-adblocker-overlay-options');
const divRedirect = $('#advanced-ads-adblocker-redirect-options');
const divExclude = $('#advanced-ads-adblocker-option-exclude');
const adblockerFixEnabled = $('#advanced-ads-use-adblocker').prop(
'checked'
);
$('.advanced-ads-adblocker-eab-method').on('change', function () {
overlayNotice.hide();
switch (this.value) {
case 'nothing':
divOverlay.hide();
divRedirect.hide();
divExclude.hide();
break;
case 'overlay':
divOverlay.show();
divRedirect.hide();
divExclude.show();
// eslint-disable-next-line no-unused-expressions
!adblockerFixEnabled && overlayNotice.show();
break;
case 'redirect':
divOverlay.hide();
divRedirect.show();
divExclude.show();
break;
}
});
const dismissButton = $('#advanced-ads-adblocker-dismiss-button-input');
dismissButton.on('change', function () {
$('#advanced-ads-adblocker-dismiss-options').toggle(!this.checked);
});
dismissButton.change();
})(jQuery);

View File

@@ -0,0 +1 @@
!function(e){const a=e(".advads-eab-overlay-notice"),d=e("#advanced-ads-adblocker-overlay-options"),o=e("#advanced-ads-adblocker-redirect-options"),c=e("#advanced-ads-adblocker-option-exclude"),s=e("#advanced-ads-use-adblocker").prop("checked");e(".advanced-ads-adblocker-eab-method").on("change",(function(){switch(a.hide(),this.value){case"nothing":d.hide(),o.hide(),c.hide();break;case"overlay":d.show(),o.hide(),c.show(),!s&&a.show();break;case"redirect":d.hide(),o.show(),c.show()}}));const n=e("#advanced-ads-adblocker-dismiss-button-input");n.on("change",(function(){e("#advanced-ads-adblocker-dismiss-options").toggle(!this.checked)})),n.change()}(jQuery);