backend-skins 0.1.24 → 0.1.26
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/LICENSE +21 -21
- package/README.md +35 -35
- package/dist/confort/css/my-menu.styl +17 -17
- package/dist/confort/unlogged/css/chpass.styl +97 -97
- package/dist/confort-bis/css/my-menu.styl +17 -17
- package/dist/confort-bis/unlogged/css/chpass.styl +112 -112
- package/dist/confort-dark/css/my-menu.styl +17 -17
- package/dist/confort-dark/unlogged/css/chpass.styl +138 -138
- package/dist/confort-gold/css/my-menu.styl +17 -17
- package/dist/confort-gold/unlogged/css/chpass.styl +143 -143
- package/dist/default/css/my-menu.styl +17 -17
- package/dist/default/unlogged/css/chpass.styl +116 -116
- package/dist/modern/css/menu.styl +0 -0
- package/dist/modern/css/my-menu.styl +316 -325
- package/dist/modern/css/my-tables.styl +96 -93
- package/dist/modern/dialog-promise/dialog-promise.styl +245 -0
- package/dist/modern/pikaday/pikaday.styl +17 -0
- package/dist/modern/unlogged/css/chpass.styl +151 -151
- package/dist/modern/unlogged/css/login.styl +107 -107
- package/package.json +27 -27
- package/dist/modern/css/pikaday.styl +0 -1
|
@@ -1,93 +1,96 @@
|
|
|
1
|
-
.my-grid {
|
|
2
|
-
border-collapse: collapse;
|
|
3
|
-
border: none;
|
|
4
|
-
background: white;
|
|
5
|
-
margin-top: 10px;
|
|
6
|
-
font-size: small;
|
|
7
|
-
background: transparent;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.my-grid > thead > tr > th {
|
|
11
|
-
outline: none;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.my-grid td, .my-grid th {
|
|
15
|
-
border: 1px solid #ddd;
|
|
16
|
-
padding: 3px 7px;
|
|
17
|
-
position: relative;
|
|
18
|
-
background: transparent;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.my-grid caption {
|
|
22
|
-
border: none;
|
|
23
|
-
font-size: large;
|
|
24
|
-
margin-bottom: 7px;
|
|
25
|
-
background: transparent;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
th[my-mandatory=pk] {
|
|
29
|
-
outline: none !important;
|
|
30
|
-
font-weight: 900;
|
|
31
|
-
text-decoration: underline;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
td[my-mandatory=pk] {
|
|
35
|
-
outline: none !important;
|
|
36
|
-
font-weight: bold;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.th-name {
|
|
40
|
-
outline: none;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.my-grid > * > tr > *[my-pk-column], .my-grid > * > tr > *[my-fixed2left-column] {
|
|
44
|
-
outline: none !important;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/* Fila de filtros específica */
|
|
48
|
-
.filter-line td.autoFilter {
|
|
49
|
-
background-color: white;
|
|
50
|
-
border: 1px solid #d1d5db;
|
|
51
|
-
border-radius: 4px;
|
|
52
|
-
padding-left: 24px;
|
|
53
|
-
background-position: 4px center;
|
|
54
|
-
background-repeat: no-repeat;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.my-grid button:not(.table-button), #button-filter {
|
|
58
|
-
align-items: center;
|
|
59
|
-
background-color: #1976d2;
|
|
60
|
-
color: white;
|
|
61
|
-
border: none;
|
|
62
|
-
padding: 4px 12px;
|
|
63
|
-
border-radius: 4px;
|
|
64
|
-
font-size: 11px;
|
|
65
|
-
text-transform: uppercase;
|
|
66
|
-
font-weight: 600;
|
|
67
|
-
cursor: pointer;
|
|
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
|
-
|
|
1
|
+
.my-grid {
|
|
2
|
+
border-collapse: collapse;
|
|
3
|
+
border: none;
|
|
4
|
+
background: white;
|
|
5
|
+
margin-top: 10px;
|
|
6
|
+
font-size: small;
|
|
7
|
+
background: transparent;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.my-grid > thead > tr > th {
|
|
11
|
+
outline: none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.my-grid td, .my-grid th {
|
|
15
|
+
border: 1px solid #ddd;
|
|
16
|
+
padding: 3px 7px;
|
|
17
|
+
position: relative;
|
|
18
|
+
background: transparent;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.my-grid caption {
|
|
22
|
+
border: none;
|
|
23
|
+
font-size: large;
|
|
24
|
+
margin-bottom: 7px;
|
|
25
|
+
background: transparent;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
th[my-mandatory=pk] {
|
|
29
|
+
outline: none !important;
|
|
30
|
+
font-weight: 900;
|
|
31
|
+
text-decoration: underline;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
td[my-mandatory=pk] {
|
|
35
|
+
outline: none !important;
|
|
36
|
+
font-weight: bold;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.th-name {
|
|
40
|
+
outline: none;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.my-grid > * > tr > *[my-pk-column], .my-grid > * > tr > *[my-fixed2left-column] {
|
|
44
|
+
outline: none !important;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/* Fila de filtros específica */
|
|
48
|
+
.filter-line td.autoFilter {
|
|
49
|
+
background-color: white;
|
|
50
|
+
border: 1px solid #d1d5db;
|
|
51
|
+
border-radius: 4px;
|
|
52
|
+
padding-left: 24px;
|
|
53
|
+
background-position: 4px center;
|
|
54
|
+
background-repeat: no-repeat;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.my-grid button:not(.table-button), #button-filter {
|
|
58
|
+
align-items: center;
|
|
59
|
+
background-color: #1976d2;
|
|
60
|
+
color: white;
|
|
61
|
+
border: none;
|
|
62
|
+
padding: 4px 12px;
|
|
63
|
+
border-radius: 4px;
|
|
64
|
+
font-size: 11px;
|
|
65
|
+
text-transform: uppercase;
|
|
66
|
+
font-weight: 600;
|
|
67
|
+
cursor: pointer;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
#main_layout .my-grid .menu-item
|
|
71
|
+
@extend .my-grid button:not(.table-button), #button-filter
|
|
72
|
+
|
|
73
|
+
.table-button {
|
|
74
|
+
background: transparent;
|
|
75
|
+
border: none;
|
|
76
|
+
padding: 4px;
|
|
77
|
+
cursor: pointer;
|
|
78
|
+
display: inline-flex;
|
|
79
|
+
align-items: center;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.table-button img, .dialog-promise img {
|
|
83
|
+
transition: 0.2s;
|
|
84
|
+
height: 16px;
|
|
85
|
+
width: auto;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.table-button:hover img, .dialog-promise .dialog-menu-option:hover img{
|
|
89
|
+
filter: none;
|
|
90
|
+
opacity: 1;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/* Estados IO */
|
|
94
|
+
td[io-status=pending] { background-color: #ebf8ff; }
|
|
95
|
+
td[io-status=error] { background-color: #fff5f5; color: #c53030; }
|
|
96
|
+
td[io-status=temporal-ok] { background-color: #f0fff4; color: #276749; }
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
// Estilo base del modal/contenedor que ya tenías
|
|
2
|
+
.dialog-promise
|
|
3
|
+
background-color rgba(255,255,255,0.95) // Un toque más opaco para legibilidad
|
|
4
|
+
text-align center
|
|
5
|
+
margin 0px
|
|
6
|
+
padding 15px !important// Aumentamos padding para que el contenido respire
|
|
7
|
+
border 1px solid #456b71
|
|
8
|
+
box-shadow 5px 5px 15px rgba(137, 127, 140, 0.4) // Sombra más suave y moderna
|
|
9
|
+
width auto
|
|
10
|
+
max-width 90%
|
|
11
|
+
height auto
|
|
12
|
+
max-height 90%
|
|
13
|
+
overflow auto
|
|
14
|
+
-webkit-animation animatezoom 0.3s
|
|
15
|
+
animation animatezoom 0.3s
|
|
16
|
+
|
|
17
|
+
&[docked=under]
|
|
18
|
+
transform-origin top left
|
|
19
|
+
|
|
20
|
+
&[docked=under-right]
|
|
21
|
+
transform-origin top right
|
|
22
|
+
|
|
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
|
|
91
|
+
|
|
92
|
+
.dialog-promise-upper-div
|
|
93
|
+
// 1. Contenedor Principal (El "Input" grande)
|
|
94
|
+
display flex
|
|
95
|
+
align-items center
|
|
96
|
+
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
|
+
|
|
105
|
+
&:focus-within
|
|
106
|
+
border-color #ddd
|
|
107
|
+
box-shadow 0 0 0 4px rgba(59, 130, 246, 0.1)
|
|
108
|
+
|
|
109
|
+
// 2. Ajuste del div interno para distribuir elementos
|
|
110
|
+
& > div:first-child
|
|
111
|
+
display flex
|
|
112
|
+
align-items center
|
|
113
|
+
width 100%
|
|
114
|
+
gap 4px
|
|
115
|
+
position relative
|
|
116
|
+
|
|
117
|
+
// Lupa a la IZQUIERDA
|
|
118
|
+
img
|
|
119
|
+
order 1
|
|
120
|
+
height 18px
|
|
121
|
+
width auto
|
|
122
|
+
opacity 0.4
|
|
123
|
+
flex-shrink 0
|
|
124
|
+
|
|
125
|
+
// Texto al CENTRO
|
|
126
|
+
span[contenteditable="true"]
|
|
127
|
+
order 2
|
|
128
|
+
flex 1 // Toma todo el espacio sobrante
|
|
129
|
+
top 0 !important // Mata el -40px
|
|
130
|
+
outline none
|
|
131
|
+
font-size 16px
|
|
132
|
+
color #1e293b
|
|
133
|
+
padding 8px 0
|
|
134
|
+
min-width 100px
|
|
135
|
+
|
|
136
|
+
// La "X" a la DERECHA
|
|
137
|
+
.dialog-promise-close-button
|
|
138
|
+
order 3
|
|
139
|
+
background none
|
|
140
|
+
border none
|
|
141
|
+
cursor pointer
|
|
142
|
+
padding 8px
|
|
143
|
+
margin-right -8px // Ajuste para que pegue más al borde derecho
|
|
144
|
+
color #94a3b8
|
|
145
|
+
display flex
|
|
146
|
+
align-items center
|
|
147
|
+
|
|
148
|
+
&:hover
|
|
149
|
+
color #ef4444
|
|
150
|
+
|
|
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
|
+
// Estilo de la tabla de opciones
|
|
172
|
+
table.dialog-menu
|
|
173
|
+
width 100%
|
|
174
|
+
border-collapse separate
|
|
175
|
+
border-spacing 0 2px // Pequeña separación entre filas
|
|
176
|
+
|
|
177
|
+
tr.dialog-menu-option
|
|
178
|
+
cursor pointer
|
|
179
|
+
transition background 0.2s ease, transform 0.1s ease
|
|
180
|
+
border-radius 6px // Bordes redondeados en la fila
|
|
181
|
+
|
|
182
|
+
&:hover
|
|
183
|
+
background-color rgba(25, 118, 210, 0.08) // Azul suave que combina con tu focus
|
|
184
|
+
// transform translateX(4px) // Opcional: pequeño desplazamiento al hacer hover
|
|
185
|
+
|
|
186
|
+
// Estilo de las celdas
|
|
187
|
+
td
|
|
188
|
+
padding 10px 12px
|
|
189
|
+
border none // Quitamos bordes de tabla vieja
|
|
190
|
+
text-align left
|
|
191
|
+
color #475569 // Gris azulado moderno
|
|
192
|
+
font-family 'Segoe UI', system-ui, sans-serif
|
|
193
|
+
font-size 14px
|
|
194
|
+
|
|
195
|
+
// Primera columna (si está vacía la hacemos pequeña)
|
|
196
|
+
&:first-child
|
|
197
|
+
width 20px
|
|
198
|
+
padding-right 0
|
|
199
|
+
|
|
200
|
+
label
|
|
201
|
+
cursor pointer
|
|
202
|
+
display block
|
|
203
|
+
font-weight 500
|
|
204
|
+
text-transform none // Quitamos el uppercase rígido para mejor lectura
|
|
205
|
+
letter-spacing 0.3px
|
|
206
|
+
|
|
207
|
+
// Línea divisoria si el sistema la usa
|
|
208
|
+
&.dialog-menu-line
|
|
209
|
+
height 1px
|
|
210
|
+
background #e2e8f0
|
|
211
|
+
margin 8px 0
|
|
212
|
+
|
|
213
|
+
// Estilo para opciones que no son seleccionables
|
|
214
|
+
.dialog-menu-non-option
|
|
215
|
+
background #f8fafc
|
|
216
|
+
color #94a3b8
|
|
217
|
+
font-size 12px
|
|
218
|
+
padding 5px 12px
|
|
219
|
+
cursor default
|
|
220
|
+
|
|
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
|
+
// Efecto cuando el usuario hace clic para escribir
|
|
234
|
+
&:focus
|
|
235
|
+
border-color #ddd // Usamos el azul de tu .menu-item para coherencia
|
|
236
|
+
box-shadow 0 0 0 2px rgba(25, 118, 210, 0.1)
|
|
237
|
+
background #fff // Al escribir, un fondo blanco ayuda a la lectura
|
|
238
|
+
|
|
239
|
+
.dialog-promise-inner-div input {
|
|
240
|
+
border-width: 1px;
|
|
241
|
+
border-radius: 3px;
|
|
242
|
+
border-color: #ddd;
|
|
243
|
+
padding: 3px;
|
|
244
|
+
box-shadow: 1px 1px 5px #ddd;
|
|
245
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* calendar */
|
|
2
|
+
|
|
3
|
+
.pika-button {
|
|
4
|
+
background-color: #eee !important;
|
|
5
|
+
color: #666 !important;
|
|
6
|
+
border-radius: 0px !important;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.pika-button:hover {
|
|
10
|
+
background: #1976d2 !important;
|
|
11
|
+
color: #eee !important;
|
|
12
|
+
border-radius: 3px !important;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.date-year {
|
|
16
|
+
font-size: 100% !important;
|
|
17
|
+
}
|