calliope-media-import-export
Last commit date
assets
8 months ago
languages
8 months ago
export-import-media.php
8 months ago
importer.js
8 months ago
readme.txt
8 months ago
style.css
8 months ago
style.css.mine
8 months ago
style.css.r0
8 months ago
style.css.r3375314
8 months ago
style.css
411 lines
| 1 | <<<<<<< .mine |
| 2 | /* --- ARCHIVO style.css COMPLETO Y CORREGIDO --- */ |
| 3 | /* |
| 4 | * Plugin Name: Export/Import Media - Custom Styles |
| 5 | * Version: 1.5 |
| 6 | */ |
| 7 | |
| 8 | /* --- Importar la fuente Poppins de Google Fonts --- */ |
| 9 | @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap'); |
| 10 | |
| 11 | /* Estilos generales y fondo */ |
| 12 | body.wp-admin.media_page_export-import-media { |
| 13 | background-color: #F8F9FB; |
| 14 | font-family: 'Poppins', sans-serif; |
| 15 | } |
| 16 | |
| 17 | .wrap { |
| 18 | padding: 20px; |
| 19 | } |
| 20 | |
| 21 | /* --- Estilos de tipografía y color para los títulos --- */ |
| 22 | .wrap h1, .wrap h2, .wrap h3 { |
| 23 | font-family: 'Poppins', sans-serif; |
| 24 | font-weight: 600; |
| 25 | color: #4C528B; |
| 26 | } |
| 27 | |
| 28 | .wrap h2 { font-size: 1.5em; margin-top: 10px; margin-bottom: 15px; } |
| 29 | .wrap h3 { font-size: 1.2em; } |
| 30 | |
| 31 | /* --- Estilo para las tarjetas/secciones --- */ |
| 32 | .wrap .eim-card { |
| 33 | background-color: #FFFFFF; |
| 34 | border-radius: 8px; |
| 35 | box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07); |
| 36 | padding: 30px; |
| 37 | margin-bottom: 30px; |
| 38 | border: none; |
| 39 | } |
| 40 | .wrap .eim-card form { |
| 41 | padding: 0; margin: 0; box-shadow: none; |
| 42 | } |
| 43 | |
| 44 | /* Estilo general para todos los botones del plugin */ |
| 45 | .eim-card .button { |
| 46 | border: none !important; |
| 47 | border-radius: 25px !important; |
| 48 | padding: 10px 25px !important; |
| 49 | font-size: 1em !important; |
| 50 | line-height: 1.5 !important; |
| 51 | height: auto !important; |
| 52 | cursor: pointer; |
| 53 | transition: all 0.3s ease; |
| 54 | text-shadow: none !important; |
| 55 | box-shadow: 0 2px 5px rgba(0,0,0,0.1); |
| 56 | font-weight: 600; |
| 57 | } |
| 58 | |
| 59 | .eim-card .button:hover { |
| 60 | box-shadow: 0 4px 8px rgba(0,0,0,0.15); |
| 61 | transform: translateY(-2px); |
| 62 | } |
| 63 | |
| 64 | /* Botones Principales (Fucsia) */ |
| 65 | #eim-start-button.button-primary, |
| 66 | #eim-continue-button.button-primary { |
| 67 | background-color: #FF4081 !important; |
| 68 | color: #FFFFFF !important; |
| 69 | } |
| 70 | #eim-start-button.button-primary:hover, |
| 71 | #eim-continue-button.button-primary:hover { |
| 72 | background-color: #E03570 !important; |
| 73 | } |
| 74 | |
| 75 | /* --- Selector por ID para el botón de Exportar (Rosa) --- */ |
| 76 | #eim_export_csv { |
| 77 | background-color: #FF4081 !important; |
| 78 | color: #FFFFFF !important; |
| 79 | border: none !important; |
| 80 | border-radius: 25px !important; |
| 81 | padding: 10px 25px !important; |
| 82 | font-size: 1em !important; |
| 83 | } |
| 84 | #eim_export_csv:hover { |
| 85 | background-color: #E03570 !important; |
| 86 | transform: translateY(-2px); |
| 87 | box-shadow: 0 4px 8px rgba(0,0,0,0.15); |
| 88 | } |
| 89 | |
| 90 | |
| 91 | /* Botón Detener (Gris) */ |
| 92 | #eim-stop-button.button { |
| 93 | background-color: #95a5a6 !important; |
| 94 | color: #FFFFFF !important; |
| 95 | } |
| 96 | #eim-stop-button.button:hover { |
| 97 | background-color: #7f8c8d !important; |
| 98 | } |
| 99 | |
| 100 | /* Barra de progreso */ |
| 101 | #eimp-progress-bar { |
| 102 | background-color: #34D3F5 !important; |
| 103 | border-radius: 3px; |
| 104 | } |
| 105 | |
| 106 | /* Estilo para el selector de lote */ |
| 107 | #batch_size { |
| 108 | border: 1px solid #ddd; |
| 109 | border-radius: 5px; |
| 110 | padding: 10px 15px; |
| 111 | margin-top: 5px; |
| 112 | min-width: 100px; |
| 113 | height: auto; |
| 114 | } |
| 115 | |
| 116 | /* --- Estilos para el Banner Superior --- */ |
| 117 | .eim-main-banner { |
| 118 | display: flex; |
| 119 | justify-content: space-between; |
| 120 | align-items: center; |
| 121 | background: linear-gradient(90deg, #4C528B 0%, #34D3F5 100%); |
| 122 | color: #FFFFFF; |
| 123 | padding: 20px 30px; |
| 124 | border-radius: 8px; |
| 125 | margin-bottom: 25px; |
| 126 | box-shadow: 0 4px 15px rgba(0,0,0,0.1); |
| 127 | } |
| 128 | |
| 129 | .eim-banner-content { |
| 130 | display: flex; |
| 131 | align-items: center; |
| 132 | } |
| 133 | |
| 134 | .eim-banner-logo svg { |
| 135 | width: 48px; |
| 136 | height: 48px; |
| 137 | color: #FFFFFF; |
| 138 | margin-right: 20px; |
| 139 | } |
| 140 | |
| 141 | .eim-banner-text h3 { |
| 142 | margin: 0; |
| 143 | font-weight: 600; |
| 144 | font-size: 1.4em; |
| 145 | color: #FFFFFF !important; |
| 146 | } |
| 147 | |
| 148 | .eim-banner-text p { |
| 149 | margin: 0; |
| 150 | font-size: 0.9em; |
| 151 | opacity: 0.8; |
| 152 | } |
| 153 | |
| 154 | .eim-banner-actions { |
| 155 | display: flex; |
| 156 | align-items: center; |
| 157 | } |
| 158 | |
| 159 | /* Estilos para los enlaces de texto en el banner */ |
| 160 | .eim-banner-actions .eim-banner-link { |
| 161 | color: #FFFFFF; |
| 162 | text-decoration: none; |
| 163 | font-weight: 600; |
| 164 | margin-right: 20px; |
| 165 | transition: opacity 0.3s ease; |
| 166 | } |
| 167 | .eim-banner-actions .eim-banner-link:hover { |
| 168 | opacity: 0.8; |
| 169 | } |
| 170 | |
| 171 | /* --- Estilos para Botón Ko-fi con Imagen --- */ |
| 172 | .eim-kofi-button { |
| 173 | background-color: #FF4081 !important; |
| 174 | color: #FFFFFF !important; |
| 175 | border: none !important; |
| 176 | border-radius: 6px !important; |
| 177 | padding: 8px 16px !important; |
| 178 | font-size: 0.9em !important; |
| 179 | line-height: 1.5 !important; |
| 180 | height: auto !important; |
| 181 | display: inline-flex !important; |
| 182 | align-items: center; |
| 183 | gap: 8px; |
| 184 | transition: all 0.3s ease; |
| 185 | } |
| 186 | .eim-kofi-button:hover { |
| 187 | background-color: #E03570 !important; |
| 188 | transform: translateY(-2px); |
| 189 | box-shadow: 0 4px 8px rgba(0,0,0,0.15); |
| 190 | } |
| 191 | |
| 192 | .eim-kofi-button img { |
| 193 | width: 22px; |
| 194 | height: auto; |
| 195 | vertical-align: middle; |
| 196 | } |
| 197 | |
| 198 | /* --- Estilos para el Mensaje de Advertencia --- */ |
| 199 | .eim-warning-message { |
| 200 | background-color: #fffbe6; |
| 201 | border: 1px solid #ffe58f; |
| 202 | border-radius: 4px; |
| 203 | padding: 15px; |
| 204 | margin-top: 20px; |
| 205 | text-align: center; |
| 206 | font-weight: 600; |
| 207 | color: #d46b08; |
| 208 | } |
| 209 | |
| 210 | /* --- Aviso de Puntuación Inferior --- */ |
| 211 | .eim-footer-review { |
| 212 | text-align: center; |
| 213 | padding: 20px; |
| 214 | background-color: #f0f0f1; |
| 215 | border-radius: 8px; |
| 216 | margin-top: 25px; |
| 217 | font-size: 1.1em; |
| 218 | color: #3c434a; |
| 219 | } |
| 220 | .eim-footer-review a { |
| 221 | text-decoration: none; |
| 222 | } |
| 223 | .eim-footer-review svg { |
| 224 | vertical-align: middle; |
| 225 | transition: transform 0.2s ease-in-out; |
| 226 | } |
| 227 | .eim-footer-review a:hover svg { |
| 228 | transform: scale(1.2); |
| 229 | }||||||| .r0 |
| 230 | ======= |
| 231 | /* |
| 232 | * Plugin Name: Export/Import Media - Custom Styles |
| 233 | * Version: 1.0 |
| 234 | */ |
| 235 | |
| 236 | /* --- Importar la fuente Poppins de Google Fonts --- */ |
| 237 | @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap'); |
| 238 | |
| 239 | /* Estilos generales y fondo */ |
| 240 | body.wp-admin.media_page_export-import-media { |
| 241 | background-color: #F8F9FB; |
| 242 | font-family: 'Poppins', sans-serif; |
| 243 | } |
| 244 | |
| 245 | .wrap { |
| 246 | padding: 20px; |
| 247 | } |
| 248 | |
| 249 | /* --- Estilos de tipografía y color para los títulos --- */ |
| 250 | .wrap h1, .wrap h2, .wrap h3 { |
| 251 | font-family: 'Poppins', sans-serif; |
| 252 | font-weight: 600; |
| 253 | color: #4C528B; |
| 254 | } |
| 255 | |
| 256 | .wrap h1 { font-size: 2em; margin-bottom: 20px; } |
| 257 | .wrap h2 { font-size: 1.5em; margin-top: 10px; margin-bottom: 15px; } |
| 258 | .wrap h3 { font-size: 1.2em; } |
| 259 | |
| 260 | /* --- Estilo para las tarjetas/secciones --- */ |
| 261 | .wrap .eim-card { |
| 262 | background-color: #FFFFFF; |
| 263 | border-radius: 8px; |
| 264 | box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07); |
| 265 | padding: 30px; |
| 266 | margin-bottom: 30px; |
| 267 | border: none; |
| 268 | } |
| 269 | .wrap .eim-card form { |
| 270 | padding: 0; margin: 0; box-shadow: none; |
| 271 | } |
| 272 | |
| 273 | /* Estilo general para todos los botones del plugin */ |
| 274 | .eim-card .button { |
| 275 | border: none !important; |
| 276 | border-radius: 25px !important; |
| 277 | padding: 10px 25px !important; |
| 278 | font-size: 1em !important; |
| 279 | line-height: 1.5 !important; |
| 280 | height: auto !important; |
| 281 | cursor: pointer; |
| 282 | transition: all 0.3s ease; |
| 283 | text-shadow: none !important; |
| 284 | box-shadow: 0 2px 5px rgba(0,0,0,0.1); |
| 285 | font-weight: 600; |
| 286 | } |
| 287 | |
| 288 | .eim-card .button:hover { |
| 289 | box-shadow: 0 4px 8px rgba(0,0,0,0.15); |
| 290 | transform: translateY(-2px); |
| 291 | } |
| 292 | |
| 293 | /* Botones Principales (Cian) */ |
| 294 | #eim-start-button.button-primary, |
| 295 | #eim-continue-button.button-primary { |
| 296 | background-color: #34D3F5 !important; |
| 297 | color: #FFFFFF !important; |
| 298 | } |
| 299 | #eim-start-button.button-primary:hover, |
| 300 | #eim-continue-button.button-primary:hover { |
| 301 | background-color: #2CC0E0 !important; |
| 302 | } |
| 303 | |
| 304 | /* --- Selector por ID para el botón de Exportar (Rosa) --- */ |
| 305 | #eim_export_csv { |
| 306 | background-color: #FF4081 !important; |
| 307 | color: #FFFFFF !important; |
| 308 | border: none !important; |
| 309 | border-radius: 25px !important; |
| 310 | padding: 10px 25px !important; |
| 311 | font-size: 1em !important; |
| 312 | } |
| 313 | #eim_export_csv:hover { |
| 314 | background-color: #E03570 !important; |
| 315 | transform: translateY(-2px); |
| 316 | box-shadow: 0 4px 8px rgba(0,0,0,0.15); |
| 317 | } |
| 318 | |
| 319 | |
| 320 | /* Botón Detener (Gris) */ |
| 321 | #eim-stop-button.button { |
| 322 | background-color: #95a5a6 !important; |
| 323 | color: #FFFFFF !important; |
| 324 | } |
| 325 | #eim-stop-button.button:hover { |
| 326 | background-color: #7f8c8d !important; |
| 327 | } |
| 328 | |
| 329 | /* Barra de progreso */ |
| 330 | #eimp-progress-bar { |
| 331 | background-color: #34D3F5 !important; |
| 332 | border-radius: 3px; |
| 333 | } |
| 334 | |
| 335 | /* Estilo para el selector de lote */ |
| 336 | #batch_size { |
| 337 | border: 1px solid #ddd; |
| 338 | border-radius: 5px; |
| 339 | padding: 10px 15px; |
| 340 | margin-top: 5px; |
| 341 | min-width: 100px; |
| 342 | height: auto; |
| 343 | } |
| 344 | |
| 345 | /* --- Estilos para el Banner Superior --- */ |
| 346 | .eim-main-banner { |
| 347 | display: flex; |
| 348 | justify-content: space-between; |
| 349 | align-items: center; |
| 350 | background: linear-gradient(90deg, #4C528B 0%, #34D3F5 100%); |
| 351 | color: #FFFFFF; |
| 352 | padding: 20px 30px; |
| 353 | border-radius: 8px; |
| 354 | margin-bottom: 25px; |
| 355 | box-shadow: 0 4px 15px rgba(0,0,0,0.1); |
| 356 | font-family: 'Poppins', sans-serif; |
| 357 | } |
| 358 | |
| 359 | .eim-banner-content { |
| 360 | display: flex; |
| 361 | align-items: center; |
| 362 | } |
| 363 | |
| 364 | .eim-banner-logo svg { |
| 365 | width: 48px; |
| 366 | height: 48px; |
| 367 | color: #FFFFFF; |
| 368 | margin-right: 20px; |
| 369 | } |
| 370 | |
| 371 | .eim-banner-text h3 { |
| 372 | margin: 0; |
| 373 | font-weight: 600; |
| 374 | font-size: 1.4em; |
| 375 | color: #FFFFFF !important; /* Importante para sobreescribir otros estilos */ |
| 376 | } |
| 377 | |
| 378 | .eim-banner-text p { |
| 379 | margin: 0; |
| 380 | font-size: 0.9em; |
| 381 | opacity: 0.8; |
| 382 | } |
| 383 | |
| 384 | .eim-banner-actions .button.button-primary { |
| 385 | background-color: #FF4081 !important; /* Rosa de la paleta */ |
| 386 | color: #FFFFFF !important; |
| 387 | border-radius: 6px; |
| 388 | text-shadow: none !important; |
| 389 | border: none; |
| 390 | font-weight: 600; |
| 391 | transition: all 0.3s ease; |
| 392 | } |
| 393 | |
| 394 | .eim-banner-actions .button.button-primary:hover { |
| 395 | background-color: #E03570 !important; /* Un rosa más oscuro para el hover */ |
| 396 | transform: translateY(-2px); |
| 397 | box-shadow: 0 4px 8px rgba(0,0,0,0.15); |
| 398 | } |
| 399 | |
| 400 | /* --- Estilos para el Mensaje de Advertencia --- */ |
| 401 | .eim-warning-message { |
| 402 | background-color: #fffbe6; |
| 403 | border: 1px solid #ffe58f; |
| 404 | border-radius: 4px; |
| 405 | padding: 15px; |
| 406 | margin-top: 20px; |
| 407 | text-align: center; |
| 408 | font-weight: 600; |
| 409 | color: #d46b08; |
| 410 | }>>>>>>> .r3375314 |
| 411 |