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

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,27 @@
<svg style="position: absolute; width: 0; height: 0; overflow: hidden;" version="1.1" xmlns="http://www.w3.org/2000/svg">
<defs>
<symbol id="icon-move" viewBox="0 0 32 32">
<title>move</title>
<path d="M16 4.8v6.4h-12.8v-6.4h12.8zM17.6 3.2h-16v9.6h16v-9.6z"></path>
<path d="M22.4 8h-1.6v1.6h1.6c3.52 0 6.4 2.88 6.4 6.4s-2.88 6.4-6.4 6.4v1.6c4.48 0 8-3.52 8-8s-3.52-8-8-8z"></path>
<path d="M8 19.2h3.2v1.6h-3.2v-1.6z"></path>
<path d="M16 19.2h-1.6v1.6h1.6v1.6h1.6v-3.2z"></path>
<path d="M1.6 19.2v3.2h1.6v-1.6h1.6v-1.6h-1.6z"></path>
<path d="M8 27.2h3.2v1.6h-3.2v-1.6z"></path>
<path d="M3.2 25.6h-1.6v3.2h3.2v-1.6h-1.6z"></path>
<path d="M16 27.2h-1.6v1.6h3.2v-3.2h-1.6z"></path>
<path d="M19.337 22.731l3.394-3.394 1.131 1.131-3.394 3.394-1.131-1.131z"></path>
<path d="M20.469 22.537l3.394 3.394-1.131 1.131-3.394-3.394 1.131-1.131z"></path>
<path d="M20.8 22.4h1.6v1.6h-1.6v-1.6z"></path>
</symbol>
<symbol id="icon-move-symbol" viewBox="0 0 34 32">
<path d="M28.653 9.143h-14.938c-2.525 0-4.571 2.047-4.571 4.571v4.571c0 2.525 2.047 4.571 4.571 4.571h6.857v2.286h-6.857c-3.787 0-6.857-3.070-6.857-6.857v-4.571c0-3.787 3.070-6.857 6.857-6.857h14.384l-5.241-5.241 1.616-1.616 8.081 8.081-0.196 0.196 0.196 0.196-8.081 8.081-1.616-1.616 5.796-5.796zM18.286 0v2.286h-13.714c-1.262 0-2.286 1.023-2.286 2.286v22.857c0 1.262 1.023 2.286 2.286 2.286h20.571c1.262 0 2.286-1.023 2.286-2.286v-4.571h2.286v4.571c0 2.525-2.047 4.571-4.571 4.571h-20.571c-2.525 0-4.571-2.047-4.571-4.571v-22.857c0-2.525 2.047-4.571 4.571-4.571h13.714z"></path>
</symbol>
<symbol id="icon-duplicate" viewBox="0 0 32 32">
<path d="M13.714 20.571v6.857c0 1.262 1.023 2.286 2.286 2.286h11.429c1.262 0 2.286-1.023 2.286-2.286v-13.714c0-1.262-1.023-2.286-2.286-2.286h-4.571v-2.286h4.571c2.525 0 4.571 2.047 4.571 4.571v13.714c0 2.525-2.047 4.571-4.571 4.571h-11.429c-2.525 0-4.571-2.047-4.571-4.571v-4.571h-6.857c-2.525 0-4.571-2.047-4.571-4.571v-10.286l8-8h8c2.525 0 4.571 2.047 4.571 4.571v4.571h2.286v11.429h-9.143zM13.714 18.286h6.857v-6.857l-6.857 6.857zM18.286 10.286v-5.714c0-1.262-1.023-2.286-2.286-2.286h-6.857l-6.857 6.857v9.143c0 1.262 1.023 2.286 2.286 2.286h6.857v-3.429l6.857-6.857zM9.143 2.286v6.857h-6.857v2.286h9.143v-9.143h-2.286z"></path>
</symbol>
<symbol id="icon-delete" viewBox="0 0 32 32">
<path d="M22.857 6.857h9.143v2.286h-4.571v18.286c0 2.525-2.047 4.571-4.571 4.571h-13.714c-2.525 0-4.571-2.047-4.571-4.571v-18.286h-4.571v-2.286h9.143v-2.286c0-2.525 2.047-4.571 4.571-4.571h4.571c2.525 0 4.571 2.047 4.571 4.571v2.286zM20.571 6.857v-2.286c0-1.262-1.023-2.286-2.286-2.286h-4.571c-1.262 0-2.286 1.023-2.286 2.286v2.286h9.143zM25.143 9.143h-18.286v18.286c0 1.262 1.023 2.286 2.286 2.286h13.714c1.262 0 2.286-1.023 2.286-2.286v-18.286zM11.429 13.714h2.286v11.429h-2.286v-11.429zM18.286 13.714h2.286v11.429h-2.286v-11.429z"></path>
</symbol>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@@ -0,0 +1,456 @@
/* General image grid styles */
.tcb-unsplash-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
grid-gap: 10px;
margin-top: 20px;
margin-right: 40px;
}
.tcb-unsplash-grid-item {
position: relative;
}
.tcb-unsplash-grid-item::before {
content: ""; /* Necessary for creating the pseudo-element */
position: absolute; /* Position it over the image/container */
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay */
opacity: 0; /* Hidden by default */
transition: opacity 0.3s ease; /* Smooth transition effect */
z-index: 1; /* Layer above image */
}
/* Show overlay on hover over the grid item */
.tcb-unsplash-grid-item:hover::before {
opacity: 1; /* Make overlay visible on hover */
}
.tcb-unsplash-image {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
/* Image container styling */
.tcb-unsplash-image-container {
opacity: 0; /* Start as invisible */
transition: opacity 0.5s ease-in-out; /* Smooth fade-in */
display: contents;
}
/* Header styling */
.tcb-stock-images {
height: 60px;
background: #f6f7f7;
align-items: center;
padding-left: 40px;
}
.tcb-stock-images h2 {
margin-left: 10px;
color: #000;
}
.tcb-unsplash-header {
display: flex;
align-items: center;
padding: 0 5px 0 10px;
height: 56px;
max-width: 120px;
border-bottom: 4px solid #2B5E92;
}
/* Active menu item styling */
#menu-item-unsplash.active {
background: #f6f7f7;
}
/* Photo count styling */
.tcb-unsplash-total-count {
padding: 10px 29px;
background: #2B5E92;
color: #fff;
border-radius: 30px;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
max-width: 100px;
height: 10px;
}
/* Search button styling */
#tcb-unsplash-search-btn {
background-color: #2B5E92;
border-top: 1px solid #E2E8EE;
border-right: 1px solid #E2E8EE;
border-bottom: 1px solid #E2E8EE;
border-left: none;
padding: 10.5px;
border-radius: 0 5px 5px 0;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
}
#tcb-unsplash-search-btn svg {
fill: #ffffff;
width: 32px;
height: 15px;
}
.tcb-unsplash-search {
display: flex;
align-items: center;
}
#tcb-unsplash-search-input {
height: 38px;
border-radius: 5px 0 0 5px;
border-top: 1px solid #E2E8EE;
border-right: none;
border-bottom: 1px solid #E2E8EE;
border-left: 1px solid #E2E8EE;
width: 160px;
}
/* Top panel styling */
.tcb-unsplash-top {
display: flex;
justify-content: space-between;
align-items: center;
padding-right: 40px;
}
/* Filter styling */
.tcb-unsplash-filters {
display: flex;
margin-top: 20px;
justify-content: space-between;
padding-right: 40px;
font-size: 14px;
}
#tcb-unsplash-category-dropdown {
display: flex;
gap: 10px;
align-items: center;
max-width: 190px;
border: 1px solid #E2E8EE;
}
.tcb-unsplash-category {
display: flex;
gap: 4px;
align-items: center;
}
#tcb-unsplash-category-dropdown:hover {
border: 1px solid #2B5E92;
}
.tcb-unsplash-dropdown-container {
display: flex;
gap: 10px;
align-items: center;
}
.tcb-unsplash-dropdown-container label {
color: #77848F;
}
.tcb-unsplash-filters select {
padding: 0;
border-color: #E2E8EE;
}
/* Button and author block visibility */
.tcb-stock-image-buttons,
.tcb-unsplash-stock-author {
opacity: 0;
z-index: 3;
}
.tcb-unsplash-gear-button {
z-index: 3;
}
.tcb-unsplash-outbound-link {
z-index: 3;
}
.tcb-unsplash-download-button {
z-index: 3;
}
.tcb-unsplash-grid-item:hover .tcb-stock-image-buttons,
.tcb-unsplash-grid-item:hover .tcb-unsplash-stock-author {
opacity: 1;
}
/* Download and gear button positions */
.tcb-unsplash-download-button,
.tcb-unsplash-gear-button {
display: flex; /* Use flexbox for alignment */
align-items: center; /* Vertically center content */
justify-content: center;
position: absolute;
border: none;
cursor: pointer;
transition: background 0.3s;
}
.tcb-unsplash-download-button {
padding: 10px;
background: #2B5E92;
bottom: 10px;
right: 10px;
border-radius: 10%;
}
.tcb-unsplash-gear-button,
.tcb-unsplash-outbound-link {
padding: 5px;
background: #fff;
border-radius: 50%;
}
.tcb-unsplash-gear-button {
top: 10px;
right: 10px;
}
/* Add styles for the outbound link button */
.tcb-unsplash-outbound-link {
position: absolute;
top: 10px;
right: 40px; /* Adjust this to place it next to the gear button */
border: none;
cursor: pointer;
transition: background 0.3s;
}
.tcb-unsplash-download-button svg {
width: 24px;
height: 24px;
}
.tcb-unsplash-gear-button svg,
.tcb-unsplash-outbound-link svg {
width: 14px;
height: 14px;
display: block;
}
/* Author block styling */
.tcb-unsplash-stock-author {
position: absolute;
bottom: 10px;
left: 10px;
display: flex;
align-items: center;
gap: 8px;
padding: 5px;
border-radius: 5px;
}
.tcb-author-image {
border-radius: 50%;
width: 32px;
height: 32px;
}
.tcb-unsplash-stock-author a {
color: #ffffff;
text-decoration: none;
}
.tcb-unsplash-stock-author a:hover,
.tcb-unsplash-stock-author a:focus,
.tcb-unsplash-stock-author a:visited {
text-decoration: underline;
color: #fff;
}
/* Modal styling */
.tcb-unsplash-grid .close-button:hover,
.tcb-unsplash-grid .close-button:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}
/* Loader styles */
#tcb-unsplash-loader img {
margin-top: 50px;
width: 20px;
height: 20px;
}
/* Dropdown styling */
#tcb-unsplash-order-dropdown:hover,
#tcb-unsplash-ordination-dropdown:hover {
border: 1px solid #2B5E92;
}
#tcb-unsplash-order-dropdown,
#tcb-unsplash-ordination-dropdown {
min-width: 120px;
}
#tcb-unsplash-order,
.tcb-unsplash-ordination {
display: flex;
align-items: center;
gap: 4px;
}
/* Form Styles */
.unsplash-gear-popup {
position: absolute;
background: rgba(255, 255, 255, 1);
border: 1px solid #ccc;
border-radius: 4px;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
z-index: 1000;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
padding: 10px;
box-sizing: border-box;
overflow-y: auto;
overflow-x: hidden;
}
.tcb-stock-library-form {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
max-height: 100%;
color: #000;
}
.tcb-stock-library-form label {
font-size: 15px;
line-height: 1;
width: 100%;
margin-bottom: 4px; /* Ensure labels have spacing */
}
.tcb-stock-library-form input[type="text"],
.tcb-stock-library-form textarea {
font-size: 14px;
width: 100%; /* Ensure all inputs take full width of the parent */
padding: 5px;
margin-bottom: 10px; /* Ensure uniformity in spacing */
box-sizing: border-box;
color: #77848F;
}
.tcb-stock-library-form textarea {
height: 60px;
}
.tcb-unsplash-grid button.upload,
.tcb-unsplash-grid button.cancel {
font-size: 12px;
padding: 5px 17px;
cursor: pointer;
border-radius: 4px;
border: 1px solid #2B5E92;
}
.tcb-unsplash-grid button.upload {
background-color: #2B5E92;
color: #fff;
}
.tcb-unsplash-grid button.cancel {
background-color: #F6F7F7;
color: #2B5E92;
}
.tcb-unsplash-grid .button-container {
display: flex;
justify-content: space-between; /* Align buttons to the left and right */
width: 100%;
padding-bottom: 10px;
}
.tcb-stock-library-form-field {
width: 100%;
}
#tcb-unsplash-clear-search-btn {
background: none;
border: none;
position: absolute;
margin-left: 140px;
cursor: pointer;
font-size: 16px;
}
input#tcb-unsplash-search-input:focus {
box-shadow: inset 0 0 0 1px #2B5E92;
}
/* Loader container */
#tcb-unsplash-loading-container {
pointer-events: none; /* Allow clicks to pass through */
position: absolute; /* Position the loading container absolutely */
top: 0; /* Align it to the top */
left: 0; /* Align it to the left */
width: 100%; /* Cover the full width of the parent */
height: 100%; /* Cover the full height of the parent */
z-index: 9999; /* Ensure it's on top visually */
display: flex; /* Use flexbox for alignment */
justify-content: center; /* Center horizontally */
align-items: center; /* Center vertically */
}
.tcb-unsplash-grid .loading-background {
width: 74px; /* Fixed width */
height: 74px; /* Fixed height */
background-color: white; /* Background color */
display: flex; /* Flexbox for centering */
justify-content: center; /* Center contents horizontally */
align-items: center; /* Center contents vertically */
border-radius: 3px; /* Optional: rounded corners */
box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); /* Optional: shadow for depth */
display: none;
border-radius: 15px;
}
.tcb-unsplash-grid .loading-background svg {
display: flex;
justify-content: center;
align-items: center;
}
.tcb-unsplash-grid .spin-svg {
animation: spin 2s linear infinite; /* Spinning */
z-index: 9999; /* Ensure it's on top visually */
}
/* Ordination container */
#tcb-unsplash-ordination {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
z-index: 10;
display: none; /* Initially hidden */
}

File diff suppressed because one or more lines are too long