@edc-motor/admin-kit 0.4.9 → 0.4.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edc-motor/admin-kit",
3
- "version": "0.4.9",
3
+ "version": "0.4.10",
4
4
  "description": "EdC Motor — kit del panel de administración: layout, gestores CRUD, imágenes, PDF, páginas, configuración, usuarios y copias (paquete fuente: lo compila el consumidor con Vite)",
5
5
  "license": "GPL-3.0-only",
6
6
  "type": "module",
@@ -33,7 +33,7 @@
33
33
  "access": "public"
34
34
  },
35
35
  "dependencies": {
36
- "@edc-motor/ui": "^0.4.9",
36
+ "@edc-motor/ui": "^0.4.10",
37
37
  "axios": "^1.7.0",
38
38
  "vue-draggable-plus": "^0.6.1"
39
39
  },
@@ -22,7 +22,8 @@
22
22
 
23
23
  // Franja superior opcional (emblema/imagen). Cuadrada: con el grid de los
24
24
  // index a 4 columnas la tarjeta es más estrecha y la imagen queda contenida
25
- // (más bien pequeña) y centrada, nunca deformada ni recortada.
25
+ // (más bien pequeña) y centrada, nunca deformada ni recortada. Sin fondo:
26
+ // la franja hereda la superficie de la tarjeta.
26
27
  &__media {
27
28
  position: relative;
28
29
  aspect-ratio: 1 / 1;
@@ -30,7 +31,6 @@
30
31
  align-items: center;
31
32
  justify-content: center;
32
33
  overflow: hidden;
33
- background: $surface-2;
34
34
 
35
35
  img { width: 100%; height: 100%; object-fit: contain; }
36
36
  }
@@ -40,7 +40,7 @@
40
40
  display: flex;
41
41
  align-items: center;
42
42
  gap: $space-2;
43
- padding: $space-3 $space-4;
43
+ padding: $space-3 $space-4 $space-2;
44
44
  border-bottom: 1px solid $border;
45
45
  min-width: 0;
46
46
  }
@@ -57,7 +57,8 @@
57
57
  min-width: 0;
58
58
  }
59
59
 
60
- // Editar en la propia tarjeta (entidades sin single).
60
+ // Editar en la propia tarjeta (entidades sin single). En verde ($success),
61
+ // con hover al estilo de los icon-btn del ui (fondo semitransparente).
61
62
  &__edit {
62
63
  display: inline-flex;
63
64
  align-items: center;
@@ -66,11 +67,11 @@
66
67
  background: none;
67
68
  border: none;
68
69
  border-radius: $radius-sm;
69
- color: $text-3;
70
+ color: $success;
70
71
  cursor: pointer;
71
- transition: color 0.15s ease;
72
+ transition: color 0.15s ease, background-color 0.15s ease;
72
73
 
73
- &:hover { color: $accent-500; }
74
+ &:hover { background: rgba(74, 222, 128, 0.16); }
74
75
  }
75
76
 
76
77
  &__actions {
@@ -84,7 +85,7 @@
84
85
  display: flex;
85
86
  flex-direction: column;
86
87
  gap: $space-2;
87
- padding: $space-3 $space-4;
88
+ padding: $space-2 $space-4 $space-3;
88
89
  }
89
90
 
90
91
  &__badges {