@solcre-org/core-ui 2.20.22 → 2.20.24

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.
@@ -68,8 +68,9 @@
68
68
  }
69
69
 
70
70
  .c-header__filter-item{
71
- flex: 0 1 auto;
71
+ flex: 1 1 200px;
72
72
  min-width: 200px;
73
+ max-width: 400px;
73
74
  }
74
75
 
75
76
  .c-header__filter-actions{
@@ -0,0 +1,229 @@
1
+ /* ******************************************** */
2
+ /** COMPONENT: NATIVE SELECT (custom dropdown) */
3
+ /* ******************************************** */
4
+
5
+
6
+ /* ---- Wrapper: positioning context ---- */
7
+
8
+ .c-entry-input--native-select{
9
+ position: relative;
10
+ }
11
+
12
+
13
+ /* ---- Wrapper state: open ---- */
14
+
15
+ .c-entry-input--native-select.is-open{
16
+ z-index: 10;
17
+ }
18
+
19
+
20
+ /* ---- Wrapper state: disabled ---- */
21
+
22
+ .c-entry-input--native-select.is-disabled{
23
+ opacity: 0.6;
24
+ pointer-events: none;
25
+ cursor: not-allowed;
26
+ }
27
+
28
+
29
+ /* ---- Control area (clickable trigger) ---- */
30
+
31
+ .c-native-select__control{
32
+ display: flex;
33
+ flex-wrap: wrap;
34
+ align-items: center;
35
+ gap: 0.25em;
36
+ flex: 1;
37
+ min-height: 1.4em;
38
+ max-height: 5em;
39
+ overflow-y: auto;
40
+ cursor: pointer;
41
+ min-width: 0;
42
+ }
43
+
44
+
45
+ /* ---- Single value ---- */
46
+
47
+ .c-native-select__single-value{
48
+ white-space: nowrap;
49
+ overflow: hidden;
50
+ text-overflow: ellipsis;
51
+ pointer-events: none;
52
+ }
53
+
54
+
55
+ /* ---- Placeholder ---- */
56
+
57
+ .c-native-select__placeholder{
58
+ color: var(--_entry-input-placeholder-color);
59
+ white-space: nowrap;
60
+ overflow: hidden;
61
+ text-overflow: ellipsis;
62
+ pointer-events: none;
63
+ }
64
+
65
+
66
+ /* ---- Multi-select chips container ---- */
67
+
68
+ .c-native-select__values{
69
+ display: flex;
70
+ flex-wrap: wrap;
71
+ gap: 0.2em;
72
+ align-items: center;
73
+ flex: 1;
74
+ min-width: 0;
75
+ }
76
+
77
+
78
+ /* ---- Chip ---- */
79
+
80
+ .c-native-select__chip{
81
+ display: inline-flex;
82
+ align-items: center;
83
+ gap: 0.3em;
84
+ background-color: var(--form-highlighted-color, var(--color-neutral-300));
85
+ color: #3F4E6A;
86
+ border-radius: 4px;
87
+ padding: 0.2em 0.8em;
88
+ font-size: 0.9em;
89
+ line-height: 1.3;
90
+ white-space: nowrap;
91
+ }
92
+
93
+
94
+ /* ---- Chip remove ---- */
95
+
96
+ .c-native-select__chip-remove{
97
+ display: inline-flex;
98
+ align-items: center;
99
+ justify-content: center;
100
+ border: none;
101
+ background: none;
102
+ padding: 0;
103
+ margin: 0;
104
+ cursor: pointer;
105
+ font-size: 1.1em;
106
+ line-height: 1;
107
+ color: #3F4E6A;
108
+ opacity: 0.7;
109
+ transition: opacity 100ms ease-out;
110
+ -webkit-tap-highlight-color: transparent;
111
+ }
112
+ .c-native-select__chip-remove:hover{
113
+ opacity: 1;
114
+ }
115
+ .c-native-select__chip-remove-icon::before{
116
+ content: '\00d7';
117
+ }
118
+
119
+
120
+ /* ---- Search input ---- */
121
+
122
+ .c-native-select__search{
123
+ border: none;
124
+ outline: none;
125
+ background: transparent;
126
+ font: inherit;
127
+ color: inherit;
128
+ padding: 0;
129
+ min-width: 4em;
130
+ flex: 1;
131
+ width: 100%;
132
+ }
133
+
134
+
135
+ /* ---- Clear button ---- */
136
+
137
+ .c-native-select__clear{
138
+ display: inline-flex;
139
+ align-items: center;
140
+ justify-content: center;
141
+ border: none;
142
+ background: none;
143
+ padding: 0 0.2em;
144
+ cursor: pointer;
145
+ font-size: 1.1em;
146
+ color: hsl(var(--_entry-input-addon-color-hsl));
147
+ opacity: 0.7;
148
+ transition: opacity 100ms ease-out, color 100ms ease-out;
149
+ -webkit-tap-highlight-color: transparent;
150
+ flex-shrink: 0;
151
+ }
152
+ .c-native-select__clear:hover{
153
+ opacity: 1;
154
+ color: var(--color-hover, var(--color-primary-400));
155
+ }
156
+ .c-native-select__clear-icon::before{
157
+ content: '\00d7';
158
+ }
159
+
160
+
161
+ /* ---- Arrow ---- */
162
+
163
+ .c-entry-input--native-select .c-entry-input__addon{
164
+ cursor: pointer;
165
+ }
166
+ .c-entry-input--native-select .c-entry-input__addon.is-flipped{
167
+ transform: rotate(180deg);
168
+ }
169
+
170
+
171
+ /* ---- Dropdown panel ---- */
172
+
173
+ .c-native-select__dropdown{
174
+ position: absolute;
175
+ top: 100%;
176
+ left: 0;
177
+ right: 0;
178
+ margin-top: 0.3em;
179
+ z-index: 10;
180
+ }
181
+
182
+ .c-native-select__options{
183
+ background: #f2f5fa;
184
+ border-radius: var(--_entry-input-br, 8px);
185
+ padding: 0.6em;
186
+ box-shadow: 1em 2.4em 3.4em -2em hsl(var(--color-neutral-900-hsl) / 25%);
187
+ max-height: 16em;
188
+ overflow-y: auto;
189
+ }
190
+
191
+
192
+ /* ---- Option items ---- */
193
+
194
+ .c-native-select__option{
195
+ padding: 0.6em 0.8em;
196
+ color: #6A788C;
197
+ cursor: pointer;
198
+ border-radius: calc(var(--_entry-input-br, 8px) * 0.6);
199
+ transition: background-color 100ms ease-out, color 100ms ease-out;
200
+ white-space: nowrap;
201
+ overflow: hidden;
202
+ text-overflow: ellipsis;
203
+ }
204
+ .c-native-select__option.is-highlighted{
205
+ background-color: hsl(var(--color-primary-400-hsl) / 8%);
206
+ color: var(--color-primary-400);
207
+ }
208
+ .c-native-select__option.is-selected{
209
+ color: var(--color-primary-400);
210
+ font-weight: 500;
211
+ }
212
+
213
+ @media (hover: hover){
214
+ .c-native-select__option:hover{
215
+ background-color: hsl(var(--color-primary-400-hsl) / 8%);
216
+ color: var(--color-primary-400);
217
+ }
218
+ }
219
+
220
+
221
+ /* ---- No results ---- */
222
+
223
+ .c-native-select__no-results{
224
+ padding: 0.8em;
225
+ text-align: center;
226
+ color: hsl(from hsl(var(--color-context-error-hsl)) h s 60%);
227
+ background-color: hsl(from hsl(var(--color-context-error-hsl)) h s 94%);
228
+ border-radius: var(--_entry-input-br, 8px);
229
+ }
@@ -208,5 +208,9 @@ app-server-select-field .ng-select:not(.ng-select-filtered):not(.ng-select-opene
208
208
  }
209
209
 
210
210
  .ng-select.ng-select-opened {
211
- z-index: 1;
211
+ z-index: 999;
212
+ }
213
+
214
+ .ng-dropdown-panel {
215
+ z-index: 998;
212
216
  }
@@ -81,6 +81,7 @@
81
81
  @import url(inc/components/mobile-nav.css);
82
82
  @import url(inc/components/calendar.css);
83
83
  @import url(inc/components/ng-select.css);
84
+ @import url(inc/components/native-select.css);
84
85
 
85
86
  /* Utilities */
86
87
  @import url(inc/utilities/headings.css);
@@ -49,7 +49,7 @@
49
49
  "logout": "Cerrar sesión",
50
50
  "users": "Usuarios",
51
51
  "clients": "Clientes",
52
- "administration": "Administración"
52
+ "administration": "Configuración"
53
53
  },
54
54
  "dialog": {
55
55
  "confirm": "Confirmar",