styles.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. /* Estilos para HokoriTemp */
  2. .drop-zone {
  3. transition: all 0.3s ease;
  4. }
  5. .drop-zone.dragover {
  6. border-color: #3b82f6;
  7. background-color: #eff6ff;
  8. }
  9. .result-section {
  10. transition: all 0.3s ease;
  11. }
  12. .fade-in {
  13. animation: fadeIn 0.3s ease-in;
  14. }
  15. @keyframes fadeIn {
  16. from {
  17. opacity: 0;
  18. transform: translateY(10px);
  19. }
  20. to {
  21. opacity: 1;
  22. transform: translateY(0);
  23. }
  24. }
  25. /* Estilos para archivos grandes */
  26. .file-size-warning {
  27. background-color: #fef3c7;
  28. border-color: #f59e0b;
  29. color: #92400e;
  30. }
  31. .file-size-error {
  32. background-color: #fee2e2;
  33. border-color: #ef4444;
  34. color: #991b1b;
  35. }
  36. /* Estilos para loading */
  37. .loading-spinner {
  38. animation: spin 1s linear infinite;
  39. }
  40. @keyframes spin {
  41. from { transform: rotate(0deg); }
  42. to { transform: rotate(360deg); }
  43. }
  44. /* Estilos para notificaciones */
  45. .notification {
  46. position: fixed;
  47. top: 20px;
  48. right: 20px;
  49. z-index: 1000;
  50. padding: 1rem;
  51. border-radius: 0.5rem;
  52. box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  53. transform: translateX(100%);
  54. transition: transform 0.3s ease;
  55. }
  56. /* Estilos para truncate mejorado */
  57. .truncate {
  58. overflow: hidden;
  59. text-overflow: ellipsis;
  60. white-space: nowrap;
  61. }
  62. /* Mejorar el tooltip para nombres largos */
  63. [title] {
  64. cursor: help;
  65. }
  66. .notification.show {
  67. transform: translateX(0);
  68. }
  69. .notification.success {
  70. background-color: #d1fae5;
  71. border: 1px solid #10b981;
  72. color: #065f46;
  73. }
  74. .notification.error {
  75. background-color: #fee2e2;
  76. border: 1px solid #ef4444;
  77. color: #991b1b;
  78. }
  79. .notification.warning {
  80. background-color: #fef3c7;
  81. border: 1px solid #f59e0b;
  82. color: #92400e;
  83. }