backend-skins 0.1.28 → 0.1.30

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.
@@ -1,122 +1,112 @@
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; }
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;
1
+ .my-grid {
2
+ border-collapse: collapse;
3
+ border: none;
4
+ background: white;
5
+ margin-top: 10px;
6
+ background: transparent;
7
+ }
8
+
9
+ .my-grid > thead > tr > th {
10
+ outline: none;
11
+ }
12
+
13
+ .my-grid td, .my-grid th {
14
+ border: 1px solid #ddd;
15
+ padding: 3px;
16
+ position: relative;
17
+ background: transparent;
18
+ }
19
+
20
+ .my-grid caption {
21
+ border: none;
22
+ font-size: large;
23
+ margin-bottom: 7px;
24
+ background: transparent;
25
+ }
26
+
27
+ .th-name {
28
+ outline: none;
29
+ }
30
+
31
+ .my-grid > * > tr > *[my-pk-column], .my-grid > * > tr > *[my-fixed2left-column] {
32
+ outline: none !important;
33
+ }
34
+
35
+ /* Fila de filtros específica */
36
+ .filter-line td.autoFilter {
37
+ background-color: white;
38
+ border: 1px solid #d1d5db;
39
+ border-radius: 4px;
40
+ padding-left: 24px;
41
+ background-position: 4px center;
42
+ background-repeat: no-repeat;
43
+ }
44
+
45
+ .my-grid button:not(.table-button), #button-filter {
46
+ height: 24px;
47
+ font-size: 0.80rem !important;
48
+ align-items: center;
49
+ background-color: #1976d2;
50
+ color: white;
51
+ border: none;
52
+ padding: 4px 12px;
53
+ border-radius: 4px;
54
+ font-size: 11px;
55
+ text-transform: uppercase;
56
+ font-weight: 600;
57
+ cursor: pointer;
58
+ }
59
+
60
+ #main_layout .my-grid .menu-item
61
+ @extend .my-grid button:not(.table-button), #button-filter
62
+
63
+ .table-button {
64
+ background: transparent;
65
+ border: none;
66
+ padding: 4px;
67
+ cursor: pointer;
68
+ display: inline-flex;
69
+ align-items: center;
70
+ }
71
+
72
+ .table-button img, .dialog-promise img {
73
+ transition: 0.2s;
74
+ height: 16px;
75
+ width: auto;
76
+ }
77
+
78
+ .table-button:hover img, .dialog-promise .dialog-menu-option:hover img{
79
+ filter: none;
80
+ opacity: 1;
81
+ }
82
+
83
+ /* Estados IO */
84
+ td[io-status=pending] { background-color: #ebf8ff; }
85
+ td[io-status=error] { background-color: #fff5f5; color: #c53030; }
86
+ td[io-status=temporal-ok] { background-color: #f0fff4; color: #276749; }
87
+
88
+
89
+ .table-param-screen tr {
90
+ display: grid;
91
+ }
92
+
93
+ .table-param-screen td:not([contenteditable]) {
94
+ text-transform: uppercase;
95
+ font-size: small;
96
+ font-weight: bold;
97
+ color: #666;
98
+ }
99
+
100
+ .table-param-screen td[contenteditable] {
101
+ padding: 5px;
102
+ margin-bottom: -7px;
103
+ margin-top: -2px;
104
+ margin-left: 4px;
105
+ }
106
+
107
+ .table-param-screen a {
108
+ background-color: #1976d2 !important;
109
+ padding 8px;
110
+ color: #fff !important
111
+ border-radius: 5px;
122
112
  }
@@ -1,134 +1,137 @@
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
- border 1px solid #456b71
7
- box-shadow 5px 5px 15px rgba(137, 127, 140, 0.4) // Sombra más suave y moderna
8
- width auto
9
- max-width 90%
10
- height auto
11
- max-height 90%
12
- animation animatezoom 0.3s
13
-
14
- &[docked=under]
15
- transform-origin top left
16
-
17
- &[docked=under-right]
18
- transform-origin top right
19
-
20
- // --- EL INPUT PROLIJO DENTRO DEL DIALOG ---
21
- .dialog-promise .dialog-promise-upper-div
22
- padding 0px 5px
23
- border-bottom 1px solid #e2e8f0
24
-
25
- .dialog-promise-upper-div
26
- // 1. Contenedor Principal (El "Input" grande)
27
- display flex
28
- align-items center
29
- background #ffffff
30
-
31
- &:focus-within
32
- border-color #ddd
33
- box-shadow 0 0 0 1px rgba(59, 130, 246, 0.1)
34
-
35
- // 2. Ajuste del div interno para distribuir elementos
36
- & > div:first-child
37
- display flex
38
- align-items center
39
- width 100%
40
- position relative
41
- gap 5px
42
-
43
- // Lupa a la IZQUIERDA
44
- img
45
- order 1
46
- height 18px
47
- width auto
48
- opacity 0.4
49
- flex-shrink 0
50
-
51
- // Texto al CENTRO
52
- span[contenteditable="true"]
53
- order 2
54
- flex 1 // Toma todo el espacio sobrante
55
- outline none
56
- font-size 16px
57
- color #1e293b
58
- min-width 100px
59
-
60
- // La "X" a la DERECHA
61
- .dialog-promise-close-button
62
- order 3
63
- background none
64
- border none
65
- cursor pointer
66
- padding 8px
67
- margin-left auto
68
- margin-right -8px // Ajuste para que pegue más al borde derecho
69
- color #94a3b8
70
-
71
- &:hover
72
- color #ef4444
73
-
74
- // Estilo de la tabla de opciones
75
- table.dialog-menu
76
- width 100%
77
- border-collapse separate
78
- border-spacing 0 2px // Pequeña separación entre filas
79
-
80
- tr.dialog-menu-option
81
- cursor pointer
82
- transition background 0.2s ease, transform 0.1s ease
83
- border-radius 6px // Bordes redondeados en la fila
84
-
85
- &:hover
86
- background-color rgba(25, 118, 210, 0.08) // Azul suave que combina con tu focus
87
- // transform translateX(4px) // Opcional: pequeño desplazamiento al hacer hover
88
-
89
- // Estilo de las celdas
90
- td
91
- border none // Quitamos bordes de tabla vieja
92
- text-align left
93
- color #475569 // Gris azulado moderno
94
- font-size 14px
95
-
96
- // Primera columna (si está vacía la hacemos pequeña)
97
- &:first-child
98
- //width 15px
99
- padding-right 0
100
-
101
- label
102
- cursor pointer
103
- display block
104
- font-weight 500
105
- text-transform none // Quitamos el uppercase rígido para mejor lectura
106
- letter-spacing 0.3px
107
-
108
- // Línea divisoria si el sistema la usa
109
- &.dialog-menu-line
110
- height 1px
111
- background #e2e8f0
112
- margin 8px 0
113
-
114
- // Estilo para opciones que no son seleccionables
115
- .dialog-menu-non-option
116
- background #f8fafc
117
- color #94a3b8
118
- font-size 12px
119
- padding 5px 12px
120
- cursor default
121
-
122
- // Efecto cuando el usuario hace clic para escribir
123
- &:focus
124
- border-color #ddd // Usamos el azul de tu .menu-item para coherencia
125
- box-shadow 0 0 0 2px rgba(25, 118, 210, 0.1)
126
- background #fff // Al escribir, un fondo blanco ayuda a la lectura
127
-
128
-
129
- .dialog-promise-inner-div input {
130
- border-width: 1px;
131
- border-radius: 3px;
132
- border-color: #ddd;
133
- padding: 3px;
134
- }
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
+ border 1px solid #456b71
7
+ box-shadow 5px 5px 15px rgba(137, 127, 140, 0.4) // Sombra más suave y moderna
8
+ width auto
9
+ max-width 90%
10
+ height auto
11
+ max-height 90%
12
+ animation animatezoom 0.3s
13
+
14
+ &[docked=under]
15
+ transform-origin top left
16
+
17
+ &[docked=under-right]
18
+ transform-origin top right
19
+
20
+ // --- EL INPUT PROLIJO DENTRO DEL DIALOG ---
21
+ .dialog-promise .dialog-promise-upper-div
22
+ padding 0px 8px
23
+ border-bottom 1px solid #e2e8f0
24
+
25
+ .dialog-promise-upper-div
26
+ // 1. Contenedor Principal (El "Input" grande)
27
+ display flex
28
+ align-items center
29
+ background #ffffff
30
+
31
+ &:focus-within
32
+ border-color #ddd
33
+ box-shadow 0 0 0 1px rgba(59, 130, 246, 0.1)
34
+
35
+ // 2. Ajuste del div interno para distribuir elementos
36
+ & > div:first-child
37
+ display flex
38
+ align-items center
39
+ width 100%
40
+ position relative
41
+ gap 5px
42
+
43
+ // Lupa a la IZQUIERDA
44
+ img
45
+ order 1
46
+ height 18px
47
+ width auto
48
+ opacity 0.4
49
+ flex-shrink 0
50
+
51
+ // Texto al CENTRO
52
+ span[contenteditable="true"]
53
+ order 2
54
+ flex 1 // Toma todo el espacio sobrante
55
+ outline none
56
+ font-size 16px
57
+ color #1e293b
58
+ min-width 100px
59
+
60
+ // La "X" a la DERECHA
61
+ .dialog-promise-close-button
62
+ order 3
63
+ background none
64
+ border none
65
+ cursor pointer
66
+ padding 8px
67
+ margin-left auto
68
+ margin-right -8px // Ajuste para que pegue más al borde derecho
69
+ color #94a3b8
70
+
71
+ &:hover
72
+ color #ef4444
73
+
74
+ // Estilo de la tabla de opciones
75
+ table.dialog-menu
76
+ width 100%
77
+ border-collapse separate
78
+ border-spacing 0 2px // Pequeña separación entre filas
79
+
80
+ tr.dialog-menu-option
81
+ cursor pointer
82
+ transition background 0.2s ease, transform 0.1s ease
83
+ border-radius 6px // Bordes redondeados en la fila
84
+
85
+ &:hover
86
+ background-color rgba(25, 118, 210, 0.08) // Azul suave que combina con tu focus
87
+ // transform translateX(4px) // Opcional: pequeño desplazamiento al hacer hover
88
+
89
+ // Estilo de las celdas
90
+ td
91
+ border none // Quitamos bordes de tabla vieja
92
+ text-align left
93
+ color #475569 // Gris azulado moderno
94
+ font-size 14px
95
+
96
+ // Primera columna (si está vacía la hacemos pequeña)
97
+ &:first-child
98
+ //width 15px
99
+ padding-right 0
100
+
101
+ label
102
+ cursor pointer
103
+ display block
104
+ font-weight 500
105
+ text-transform none // Quitamos el uppercase rígido para mejor lectura
106
+ letter-spacing 0.3px
107
+
108
+ // Línea divisoria si el sistema la usa
109
+ &.dialog-menu-line
110
+ height 1px
111
+ background #e2e8f0
112
+ margin 8px 0
113
+
114
+ // Estilo para opciones que no son seleccionables
115
+ .dialog-menu-non-option
116
+ background #f8fafc
117
+ color #94a3b8
118
+ font-size 12px
119
+ padding 5px 12px
120
+ cursor default
121
+
122
+ // Efecto cuando el usuario hace clic para escribir
123
+ &:focus
124
+ border-color #ddd // Usamos el azul de tu .menu-item para coherencia
125
+ box-shadow 0 0 0 2px rgba(25, 118, 210, 0.1)
126
+ background #fff // Al escribir, un fondo blanco ayuda a la lectura
127
+
128
+
129
+ .dialog-promise-inner-div input {
130
+ border-width: 1px;
131
+ border-radius: 3px;
132
+ border-color: #ddd;
133
+ padding: 3px;
134
+ }
135
+
136
+ .dialog-menu label
137
+ margin 0px 4px 0px 4px
@@ -1,17 +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
- }
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
+ }