backend-skins 0.1.26 → 0.1.28

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.
@@ -291,27 +291,13 @@ button
291
291
  border-left: 4px solid #F59E0B;
292
292
  }
293
293
 
294
- .table-param-screen tr {
295
- display: grid;
296
- }
297
-
298
- .table-param-screen td:not([contenteditable]) {
299
- text-transform: uppercase;
300
- font-size: x-small;
301
- font-weight: bold;
302
- color: #666;
303
- }
304
-
305
- .table-param-screen td[contenteditable] {
306
- padding: 5px;
307
- margin-bottom: -7px;
308
- margin-top: -2px;
309
- margin-left: 4px;
310
- }
311
-
312
- .table-param-screen a {
313
- background-color: #1976d2 !important;
314
- padding 8px;
315
- color: #fff !important
316
- border-radius: 5px;
317
- }
294
+ // Estilo para todos los inputs del sistema
295
+ input
296
+ border 1px solid #ddd
297
+ padding 3px 5px
298
+ position relative
299
+ background transparent
300
+ border-radius 4px // Un pequeño radio para que no sea tan rígido
301
+ font-size 14px
302
+ transition border-color 0.2s ease, box-shadow 0.2s ease
303
+ outline none // Quitamos el outline azul por defecto del navegador
@@ -94,3 +94,29 @@ td[my-mandatory=pk] {
94
94
  td[io-status=pending] { background-color: #ebf8ff; }
95
95
  td[io-status=error] { background-color: #fff5f5; color: #c53030; }
96
96
  td[io-status=temporal-ok] { background-color: #f0fff4; color: #276749; }
97
+
98
+
99
+ .table-param-screen tr {
100
+ display: grid;
101
+ }
102
+
103
+ .table-param-screen td:not([contenteditable]) {
104
+ text-transform: uppercase;
105
+ font-size: small;
106
+ font-weight: bold;
107
+ color: #666;
108
+ }
109
+
110
+ .table-param-screen td[contenteditable] {
111
+ padding: 5px;
112
+ margin-bottom: -7px;
113
+ margin-top: -2px;
114
+ margin-left: 4px;
115
+ }
116
+
117
+ .table-param-screen a {
118
+ background-color: #1976d2 !important;
119
+ padding 8px;
120
+ color: #fff !important
121
+ border-radius: 5px;
122
+ }
@@ -3,15 +3,12 @@
3
3
  background-color rgba(255,255,255,0.95) // Un toque más opaco para legibilidad
4
4
  text-align center
5
5
  margin 0px
6
- padding 15px !important// Aumentamos padding para que el contenido respire
7
6
  border 1px solid #456b71
8
7
  box-shadow 5px 5px 15px rgba(137, 127, 140, 0.4) // Sombra más suave y moderna
9
8
  width auto
10
9
  max-width 90%
11
10
  height auto
12
11
  max-height 90%
13
- overflow auto
14
- -webkit-animation animatezoom 0.3s
15
12
  animation animatezoom 0.3s
16
13
 
17
14
  &[docked=under]
@@ -20,99 +17,28 @@
20
17
  &[docked=under-right]
21
18
  transform-origin top right
22
19
 
23
- // --- EL INPUT PROLIJO DENTRO DEL DIALOG ---
24
- .dialog-promise-upper-div
25
- display flex
26
- align-items center
27
- background #fff
28
- border 1px solid #456b71 // Mismo color de borde que el modal para coherencia
29
- border-radius 6px
30
- padding 8px 12px
31
- margin-bottom 20px // El espacio abajo que pediste
32
- min-height 45px
33
- box-sizing border-box
34
- transition all 0.2s ease
35
- text-align left // Alineamos texto a la izquierda aunque el padre sea center
36
-
37
- &:focus-within
38
- border-color #ddd
39
- box-shadow 0 0 0 3px rgba(59, 130, 246, 0.1)
40
-
41
- // El div interno que contiene los elementos
42
- & > div:first-child
43
- display flex
44
- align-items center
45
- width 100%
46
- gap 10px
47
-
48
- // Lupa a la IZQUIERDA
49
- img
50
- order 1
51
- height 16px
52
- width auto
53
- opacity 0.6
54
- flex-shrink 0
55
-
56
- // El Texto/Input al CENTRO
57
- span[contenteditable="true"]
58
- order 2
59
- flex 1
60
- top 0 !important // Mata el -40px viejo
61
- outline none
62
- font-size 15px
63
- color #333
64
- min-width 120px
65
-
66
- &:empty::before
67
- content "Escribe para filtrar..."
68
- color #999
69
- pointer-events none
70
-
71
- // La X a la DERECHA
72
- .dialog-promise-close-button
73
- order 3
74
- background transparent
75
- border none
76
- cursor pointer
77
- padding 5px
78
- color #456b71
79
- display flex
80
- align-items center
81
- font-size 18px
82
- line-height 1
83
-
84
- &:hover
85
- color #ef4444
86
- transform scale(1.1)
87
-
88
- // Limpiador antiguo
89
- div[style*="clear"]
90
- display none !important
20
+ // --- EL INPUT PROLIJO DENTRO DEL DIALOG ---
21
+ .dialog-promise .dialog-promise-upper-div
22
+ padding 0px 5px
23
+ border-bottom 1px solid #e2e8f0
91
24
 
92
25
  .dialog-promise-upper-div
93
26
  // 1. Contenedor Principal (El "Input" grande)
94
27
  display flex
95
28
  align-items center
96
29
  background #ffffff
97
- border 2px solid #e2e8f0
98
- border-radius 4px
99
- padding 0 8px !important
100
- margin-bottom 10px !important // Espacio abajo
101
- box-shadow 0 2px 4px rgba(0,0,0,0.02)
102
- transition all 0.2s ease
103
- box-sizing border-box
104
30
 
105
31
  &:focus-within
106
32
  border-color #ddd
107
- box-shadow 0 0 0 4px rgba(59, 130, 246, 0.1)
33
+ box-shadow 0 0 0 1px rgba(59, 130, 246, 0.1)
108
34
 
109
35
  // 2. Ajuste del div interno para distribuir elementos
110
36
  & > div:first-child
111
37
  display flex
112
38
  align-items center
113
39
  width 100%
114
- gap 4px
115
40
  position relative
41
+ gap 5px
116
42
 
117
43
  // Lupa a la IZQUIERDA
118
44
  img
@@ -126,11 +52,9 @@
126
52
  span[contenteditable="true"]
127
53
  order 2
128
54
  flex 1 // Toma todo el espacio sobrante
129
- top 0 !important // Mata el -40px
130
55
  outline none
131
56
  font-size 16px
132
57
  color #1e293b
133
- padding 8px 0
134
58
  min-width 100px
135
59
 
136
60
  // La "X" a la DERECHA
@@ -140,34 +64,13 @@
140
64
  border none
141
65
  cursor pointer
142
66
  padding 8px
67
+ margin-left auto
143
68
  margin-right -8px // Ajuste para que pegue más al borde derecho
144
69
  color #94a3b8
145
- display flex
146
- align-items center
147
70
 
148
71
  &:hover
149
72
  color #ef4444
150
73
 
151
- // 3. Limpieza de residuos antiguos
152
- div[style*="clear"]
153
- display none !important
154
-
155
- // --- MEJORA DE LA LISTA (TABLA) ---
156
- .dialog-promise-inner-div
157
- max-height 350px // Altura máxima para que no se pierda en la pantalla
158
- overflow-y auto // Scroll vertical
159
- margin-top 5px
160
- padding-right 5px // Espacio para el scrollbar
161
-
162
- // Personalización del Scrollbar (Moderno y fino)
163
- &::-webkit-scrollbar
164
- width 6px
165
- &::-webkit-scrollbar-thumb
166
- background #cbd5e1
167
- border-radius 10px
168
- &::-webkit-scrollbar-track
169
- background transparent
170
-
171
74
  // Estilo de la tabla de opciones
172
75
  table.dialog-menu
173
76
  width 100%
@@ -185,16 +88,14 @@ table.dialog-menu
185
88
 
186
89
  // Estilo de las celdas
187
90
  td
188
- padding 10px 12px
189
91
  border none // Quitamos bordes de tabla vieja
190
92
  text-align left
191
93
  color #475569 // Gris azulado moderno
192
- font-family 'Segoe UI', system-ui, sans-serif
193
94
  font-size 14px
194
95
 
195
96
  // Primera columna (si está vacía la hacemos pequeña)
196
97
  &:first-child
197
- width 20px
98
+ //width 15px
198
99
  padding-right 0
199
100
 
200
101
  label
@@ -218,28 +119,16 @@ table.dialog-menu
218
119
  padding 5px 12px
219
120
  cursor default
220
121
 
221
- // Estilo para todos los inputs del sistema
222
- input
223
- border 1px solid #ddd
224
- padding 3px 7px
225
- position relative
226
- background transparent
227
- border-radius 4px // Un pequeño radio para que no sea tan rígido
228
- font-family inherit
229
- font-size 14px
230
- transition border-color 0.2s ease, box-shadow 0.2s ease
231
- outline none // Quitamos el outline azul por defecto del navegador
232
-
233
122
  // Efecto cuando el usuario hace clic para escribir
234
123
  &:focus
235
124
  border-color #ddd // Usamos el azul de tu .menu-item para coherencia
236
125
  box-shadow 0 0 0 2px rgba(25, 118, 210, 0.1)
237
126
  background #fff // Al escribir, un fondo blanco ayuda a la lectura
238
127
 
128
+
239
129
  .dialog-promise-inner-div input {
240
130
  border-width: 1px;
241
131
  border-radius: 3px;
242
132
  border-color: #ddd;
243
133
  padding: 3px;
244
- box-shadow: 1px 1px 5px #ddd;
245
134
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "backend-skins",
3
3
  "description": "Skins for backend-plus",
4
- "version": "0.1.26",
4
+ "version": "0.1.28",
5
5
  "author": "Codenautas <codenautas@googlegroups.com>",
6
6
  "license": "MIT",
7
7
  "repository": "codenautas/backend-skins",