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,33 @@
.#{$namespace}-wrap .#{$namespace}-header-tabs {
@apply relative flex flex-row border-b border-advads -mx-5 pt-8 pl-4;
a {
@apply text-base font-medium py-2 px-4 border border-advads border-b-0 border-r-0;
&:first-child {
@apply rounded-tl;
}
&:last-of-type {
@apply border-r rounded-tr;
}
&:hover,
&:focus,
&.is-active {
color: #1a1e22;
outline: none;
background: #f8f9fa;
box-shadow: none;
}
&.is-active {
border-bottom: 1px solid #f8f9fa;
margin-bottom: -1px;
}
}
+ .#{$namespace}-tab-content {
@apply -mx-5 py-6 px-5;
}
}

View File

@@ -0,0 +1,24 @@
.#{$namespace}-header {
margin: -10px -20px auto !important;
##{$namespace}-header-links {
@apply flex items-center justify-center;
}
.#{$namespace}-icon-help {
@apply ml-1.5 px-1 border-0 bg-transparent text-neutral-400;
&:focus,
&:hover {
@apply bg-transparent text-primary;
}
i {
@apply text-3xl leading-none;
}
}
.#{$namespace}-upgrade {
@apply flex items-center gap-x-2;
}
}

View File

@@ -0,0 +1,109 @@
/* stylelint-disable selector-id-pattern */
.advanced-ads-post-type-list {
.search-box {
@apply hidden mb-3;
}
.wrap .subsubsub,
#screen-options-link-wrap {
@apply hidden;
}
.advads-table .toggle-row {
@apply absolute right-2 top-2.5 hidden p-0 w-10 h-10 border-0 outline-none bg-transparent;
}
.tablenav.top {
@apply clear-none mt-0 pt-0;
.displaying-num,
.alignleft.actions:not(.bulkactions),
.bulkactions {
@apply hidden;
}
.alignleft {
@apply float-none my-3 mx-0;
}
.tablenav-pages {
@apply mt-3 mb-5 mx-0;
}
#delete_all {
@apply m-0 mt-2.5 ml-5;
}
.alignleft.actions #delete_all {
@apply m-0 p-0 w-0 border-0 invisible;
}
}
.tablenav.bottom {
@apply mt-4;
.bulkactions.fixed {
position: fixed;
@apply bottom-0 bg-white p-4 border border-black z-[1000];
}
}
.advanced-ads-ad-list-views {
@apply float-left clear-both mt-2.5 mb-5;
li {
@apply inline-block p-0 overflow-hidden;
}
a {
@apply inline-block no-underline p-0 px-2.5;
}
}
#adv-settings .submit button {
@apply ml-2.5;
}
#advads-show-filters span {
@apply leading-8;
}
.button:not(.button-primary):not(.advads-button-primary):not(:hover) {
border-color: #0474a2;
color: #0474a2;
}
.wp-list-table thead tr {
.dashicons-edit {
@apply float-right invisible cursor-pointer;
}
&:hover .dashicons-edit {
@apply visible;
}
}
tr:not(.inline-edit-row):not(.no-items) td:not(.column-primary)::before {
@apply content-none;
}
#screen-meta {
@apply absolute z-[1000] border-black;
}
.advads-quick-edit,
.advads-bulk-edit {
.expiry-inputs {
@apply hidden;
}
label {
@apply inline-block;
}
input[type="text"] {
@apply align-middle p-0 px-1;
}
}
}

View File

@@ -0,0 +1,127 @@
.switch {
position: relative;
input {
position: absolute;
top: 0;
z-index: 2;
opacity: 0;
cursor: pointer;
background: transparent;
&:checked {
z-index: 1;
+ label {
opacity: 1;
cursor: default;
}
}
&:not(:checked) + label:hover {
opacity: 0.5;
}
}
label {
color: #fff;
opacity: 0.33;
transition: opacity 0.25s ease;
cursor: pointer;
}
.toggle {
&-outside {
height: 100%;
border-radius: 2rem;
padding: 0.25rem;
overflow: hidden;
transition: 0.25s ease all;
}
&-inside {
border-radius: 5rem;
background: #4a4a4a;
position: absolute;
transition: 0.25s ease all;
}
}
&-horizontal {
font-size: 0;
height: 1.6rem;
width: 3rem;
margin-bottom: 1rem;
border: 1px solid #ccc;
border-radius: 2rem;
input {
height: 1.6rem;
width: 3rem;
left: 3rem;
margin: 0;
}
label {
font-size: 1.5rem;
line-height: 3;
display: inline-block;
width: 3rem;
height: 100%;
margin: 0;
text-align: center;
&:last-of-type {
margin-left: 3rem;
}
}
.toggle {
&-outside {
position: absolute;
width: 3rem;
left: 3rem;
}
&-inside {
height: 1rem;
width: 1rem;
}
}
input:checked ~ .toggle-outside .toggle-inside {
left: 0.25rem;
}
input ~ input:checked ~ .toggle-outside .toggle-inside {
left: 1.6rem;
}
}
&--no-label {
label {
width: 0;
height: 0;
visibility: hidden;
overflow: hidden;
}
input {
&:checked ~ .toggle-outside .toggle-inside {
background: rgba(0, 0, 0, 0.2);
border: 1px solid rgba(0, 0, 0, 0.2);
}
~ input:checked ~ .toggle-outside {
.toggle-inside {
background: #3582c4;
}
}
}
&.switch-horizontal input,
&.switch-horizontal .toggle-outside {
left: 0;
}
}
}

View File

@@ -0,0 +1,56 @@
.lds-ripple {
display: none;
position: relative;
width: 40px;
height: 40px;
&.show {
display: inline-block;
}
}
.lds-ripple div {
position: absolute;
border: 4px solid #ccc;
opacity: 1;
border-radius: 50%;
animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
animation-delay: -0.5s;
}
@keyframes lds-ripple {
0% {
top: 20px;
left: 20px;
width: 0;
height: 0;
opacity: 0;
}
4.9% {
top: 20px;
left: 20px;
width: 0;
height: 0;
opacity: 0;
}
5% {
top: 20px;
left: 20px;
width: 0;
height: 0;
opacity: 1;
}
100% {
top: 0;
left: 0;
width: 40px;
height: 40px;
opacity: 0;
}
}

View File

@@ -0,0 +1,39 @@
.#{$namespace}-ui-switch {
@apply inline-flex relative items-center cursor-pointer;
&-list {
@apply space-y-4;
}
input {
@apply sr-only;
&:checked ~ div {
@apply bg-primary after:left-auto after:right-[2px] after:border-white;
}
&:disabled ~ div {
@apply after:bg-gray-100 after:border-gray-200;
}
}
div {
@apply relative w-11 h-6 bg-gray-200 rounded-full border;
&::after {
@apply content-[""] absolute top-0.5 left-[2px] bg-white border-gray-300 border rounded-full h-5 w-5 transition-all;
}
}
span {
@apply ml-4;
}
span.muted {
@apply block text-gray-400 ml-0;
}
em.muted {
@apply text-gray-400;
}
}

View File

@@ -0,0 +1,40 @@
.#{$namespace}-page .#{$namespace}-tab {
&-container {
@apply border border-advads rounded-md;
}
&-target {
@apply hidden;
}
&-menu {
@apply border-b border-advads flex;
a {
@apply flex items-center font-medium relative py-3 px-5 border-r border-advads;
&:first-child {
@apply rounded-tl-md;
}
&:hover,
&:focus,
&.is-active {
@apply bg-white outline-none shadow-none;
color: #1a1e22;
}
&.is-active {
@apply -mb-[1px] border-b border-b-white;
}
}
}
&-content-body {
@apply bg-white rounded-b-md py-4 px-5;
}
&-content-footer {
@apply border-t border-advads py-4 px-5;
}
}