Spaces:
Running
Running
File size: 2,227 Bytes
716c855 fc96140 716c855 bf11e6f fc96140 716c855 bf11e6f fc96140 7013d65 bf11e6f 7013d65 71cdd8f 7013d65 fc96140 bf11e6f fc96140 bf11e6f fc96140 bf11e6f fc96140 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
/* Estilos base */
:root {
--bg-color: #ffffff;
--text-color: #1a1a1a;
--primary-color: #3B82F6;
--secondary-color: #10B981;
--border-color: #e5e7eb;
--card-bg: #ffffff;
}
[data-theme="dark"] {
--bg-color: #1a202c;
--text-color: #f7fafc;
--primary-color: #63B3ED;
--secondary-color: #68D391;
--border-color: #4a5568;
--card-bg: #2d3748;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
background-color: var(--bg-color);
color: var(--text-color);
}
/* Estilos para el árbol XML */
#xmlTree {
line-height: 1.6;
background-color: #f8fafc;
}
.collapsible {
cursor: pointer;
user-select: none;
}
.collapsible::before {
content: "+";
color: #6b7280;
font-weight: bold;
display: inline-block;
width: 1em;
margin-left: -1em;
}
.collapsible.active::before {
content: "-";
}
.nested {
display: none;
padding-left: 1.5em;
}
.nested.active {
display: block;
}
/* Botones de copiar */
.copy-btn {
background-color: #EFF6FF;
color: #3B82F6;
border: 1px solid #BFDBFE;
border-radius: 4px;
padding: 2px 6px;
font-size: 12px;
cursor: pointer;
margin-left: 8px;
transition: all 0.2s;
}
.copy-btn:hover {
background-color: #DBEAFE;
}
/* Estilos para inputs editables */
input[type="text"] {
transition: all 0.2s;
}
input[type="text"]:focus {
border-color: #3b82f6;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
.xml-tag {
color: #3B82F6;
font-weight: 500;
}
.xml-attr {
color: #10B981;
font-weight: 500;
}
.xml-value {
color: #6B7280;
}
.excel-cell {
color: #10B981;
font-weight: 500;
}
.excel-sheet {
color: #3B82F6;
font-weight: 500;
}
/* Transiciones para hover */
button, .hover-transition {
transition: all 0.2s ease-in-out;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
background: #c1c1c1;
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: #a1a1a1;
} |