@vixcom/ui 1.7.0 → 1.7.1
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/dist/css/colors.css +66 -72
- package/dist/css/colors.css.map +1 -1
- package/dist/css/helper/primefaces.css +72 -24
- package/dist/css/helper/primefaces.css.map +1 -1
- package/dist/css/main.css +15 -9
- package/dist/css/main.css.map +1 -1
- package/dist/css/menu.css +14 -15
- package/dist/css/menu.css.map +1 -1
- package/package.json +1 -1
- package/src/css/colors.css +66 -72
- package/src/css/colors.css.map +1 -1
- package/src/css/helper/primefaces.css +72 -24
- package/src/css/helper/primefaces.css.map +1 -1
- package/src/css/main.css +15 -9
- package/src/css/main.css.map +1 -1
- package/src/css/menu.css +14 -15
- package/src/css/menu.css.map +1 -1
- package/src/styles/_mixins.scss +6 -22
- package/src/styles/colors.scss +7 -13
- package/src/styles/helper/primefaces.scss +110 -48
- package/src/styles/main.scss +22 -15
- package/src/styles/menu.scss +25 -18
|
@@ -53,6 +53,12 @@
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
+
.p-tabmenu {
|
|
57
|
+
&-nav {
|
|
58
|
+
align-items: flex-end;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
56
62
|
.p-dialog-mask,
|
|
57
63
|
.p-component-overlay,
|
|
58
64
|
.p-dialog-mask.p-component-overlay {
|
|
@@ -138,9 +144,33 @@
|
|
|
138
144
|
font-size: 0.75rem;
|
|
139
145
|
}
|
|
140
146
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
147
|
+
.p-float-label {
|
|
148
|
+
&,
|
|
149
|
+
&.p-inputgroup {
|
|
150
|
+
display: flex;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
:focus,
|
|
154
|
+
.p-filled {
|
|
155
|
+
~ label {
|
|
156
|
+
top: 0;
|
|
157
|
+
transform: translateY(-100%);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
label {
|
|
162
|
+
margin-top: 0;
|
|
163
|
+
/* top: 50%; */
|
|
164
|
+
left: 0;
|
|
165
|
+
padding: 0.25rem;
|
|
166
|
+
transform: translateY(-50%);
|
|
167
|
+
|
|
168
|
+
&.bottom {
|
|
169
|
+
transform: translateY(100%);
|
|
170
|
+
top: unset;
|
|
171
|
+
bottom: 0;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
144
174
|
|
|
145
175
|
.p-dropdown .p-placeholder {
|
|
146
176
|
opacity: 1;
|
|
@@ -156,16 +186,18 @@ body .p-float-label {
|
|
|
156
186
|
.p-input-icon-left,
|
|
157
187
|
.p-input-icon-right {
|
|
158
188
|
display: flex;
|
|
189
|
+
align-items: center;
|
|
159
190
|
|
|
160
191
|
i {
|
|
161
192
|
display: flex;
|
|
162
193
|
align-items: center;
|
|
163
|
-
position:
|
|
164
|
-
top:
|
|
194
|
+
position: absolute;
|
|
195
|
+
top: unset;
|
|
165
196
|
margin-top: 0;
|
|
166
197
|
}
|
|
167
198
|
}
|
|
168
|
-
|
|
199
|
+
|
|
200
|
+
.p-inputgroup {
|
|
169
201
|
.p-button {
|
|
170
202
|
width: unset;
|
|
171
203
|
}
|
|
@@ -179,7 +211,7 @@ body .p-float-label {
|
|
|
179
211
|
border-radius: var(--border-radius);
|
|
180
212
|
|
|
181
213
|
& &-label {
|
|
182
|
-
display: flex;
|
|
214
|
+
/* display: flex; */
|
|
183
215
|
}
|
|
184
216
|
}
|
|
185
217
|
|
|
@@ -200,12 +232,13 @@ body .p-float-label {
|
|
|
200
232
|
}
|
|
201
233
|
}
|
|
202
234
|
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
235
|
+
.p-dropdown,
|
|
236
|
+
.p-calendar,
|
|
237
|
+
.p-password,
|
|
238
|
+
.p-inputtext,
|
|
239
|
+
.p-inputnumber {
|
|
240
|
+
width: 100%;
|
|
241
|
+
flex: 1 1 auto;
|
|
209
242
|
}
|
|
210
243
|
|
|
211
244
|
p-chart {
|
|
@@ -217,47 +250,47 @@ p-chart {
|
|
|
217
250
|
}
|
|
218
251
|
}
|
|
219
252
|
|
|
220
|
-
.p-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
.p-datepicker {
|
|
224
|
-
min-width: unset;
|
|
253
|
+
.p-datepicker {
|
|
254
|
+
min-width: unset;
|
|
225
255
|
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
}
|
|
256
|
+
.p-datepicker-header {
|
|
257
|
+
.p-datepicker-month {
|
|
258
|
+
border: none;
|
|
230
259
|
}
|
|
260
|
+
}
|
|
231
261
|
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
& > * {
|
|
236
|
-
position: relative;
|
|
237
|
-
}
|
|
262
|
+
&:not(.p-datepicker-inline) {
|
|
263
|
+
box-shadow: unset;
|
|
238
264
|
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
display: block;
|
|
242
|
-
height: 100%;
|
|
243
|
-
width: 100%;
|
|
244
|
-
position: absolute;
|
|
245
|
-
box-shadow: var(--card-shadow);
|
|
246
|
-
border-radius: inherit;
|
|
247
|
-
top: 0;
|
|
248
|
-
left: 0;
|
|
249
|
-
z-index: 0;
|
|
250
|
-
}
|
|
265
|
+
& > * {
|
|
266
|
+
position: relative;
|
|
251
267
|
}
|
|
252
268
|
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
269
|
+
&::before {
|
|
270
|
+
content: '';
|
|
271
|
+
display: block;
|
|
272
|
+
height: 100%;
|
|
273
|
+
width: 100%;
|
|
274
|
+
position: absolute;
|
|
275
|
+
box-shadow: var(--card-shadow);
|
|
276
|
+
border-radius: inherit;
|
|
277
|
+
top: 0;
|
|
278
|
+
left: 0;
|
|
279
|
+
z-index: 0;
|
|
256
280
|
}
|
|
281
|
+
}
|
|
257
282
|
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
283
|
+
.p-datepicker-buttonbar {
|
|
284
|
+
padding: 0;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.p-timepicker span {
|
|
288
|
+
font-size: inherit;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
table td > span {
|
|
292
|
+
width: 2.25rem;
|
|
293
|
+
height: 2.25rem;
|
|
261
294
|
}
|
|
262
295
|
}
|
|
263
296
|
|
|
@@ -279,6 +312,15 @@ p-chart {
|
|
|
279
312
|
}
|
|
280
313
|
}
|
|
281
314
|
|
|
315
|
+
.p-timeline-horizontal {
|
|
316
|
+
&.p-timeline-left .p-timeline-event-opposite {
|
|
317
|
+
text-align: left;
|
|
318
|
+
}
|
|
319
|
+
&.p-timeline-right .p-timeline-event-opposite {
|
|
320
|
+
text-align: right;
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
|
|
282
324
|
.p-accordion {
|
|
283
325
|
.p-accordion-header-link {
|
|
284
326
|
border-radius: inherit;
|
|
@@ -349,6 +391,13 @@ p-chart {
|
|
|
349
391
|
}
|
|
350
392
|
|
|
351
393
|
.p-paginator {
|
|
394
|
+
background-color: unset;
|
|
395
|
+
padding: 0;
|
|
396
|
+
|
|
397
|
+
.p-inputwrapper {
|
|
398
|
+
width: unset;
|
|
399
|
+
}
|
|
400
|
+
|
|
352
401
|
&-left-content {
|
|
353
402
|
margin-right: none;
|
|
354
403
|
}
|
|
@@ -359,18 +408,31 @@ p-chart {
|
|
|
359
408
|
}
|
|
360
409
|
|
|
361
410
|
.p-datatable {
|
|
411
|
+
&-header {
|
|
412
|
+
display: flex;
|
|
413
|
+
flex-wrap: wrap;
|
|
414
|
+
gap: 1rem;
|
|
415
|
+
}
|
|
416
|
+
|
|
362
417
|
&-thead {
|
|
363
418
|
text-transform: capitalize;
|
|
364
419
|
}
|
|
365
420
|
|
|
366
421
|
&-thead > tr > th,
|
|
367
422
|
&-tbody > tr > td {
|
|
368
|
-
|
|
423
|
+
/* max-width: 1px; */
|
|
424
|
+
padding: 0.5rem;
|
|
369
425
|
|
|
370
426
|
.p-row-toggler {
|
|
371
427
|
min-width: unset;
|
|
372
428
|
}
|
|
373
429
|
}
|
|
430
|
+
tr.p-datatable-row-expansion > td {
|
|
431
|
+
padding: {
|
|
432
|
+
left: 5%;
|
|
433
|
+
right: 5%;
|
|
434
|
+
}
|
|
435
|
+
}
|
|
374
436
|
}
|
|
375
437
|
|
|
376
438
|
.p-message {
|
|
@@ -398,7 +460,7 @@ p-chart {
|
|
|
398
460
|
|
|
399
461
|
.p-button {
|
|
400
462
|
width: unset;
|
|
401
|
-
min-width: 2.5rem;
|
|
463
|
+
/* min-width: 2.5rem; */
|
|
402
464
|
/* text-transform: capitalize; */
|
|
403
465
|
|
|
404
466
|
&:hover {
|
package/src/styles/main.scss
CHANGED
|
@@ -360,9 +360,16 @@ textarea {
|
|
|
360
360
|
&::-moz-input-placeholder,
|
|
361
361
|
&:-webkit-input-placeholder,
|
|
362
362
|
&::-webkit-input-placeholder {
|
|
363
|
+
text-transform: capitalize;
|
|
363
364
|
display: none;
|
|
364
365
|
color: currentColor;
|
|
365
|
-
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
&:focus {
|
|
369
|
+
&::placeholder,
|
|
370
|
+
&::-webkit-input-placeholder {
|
|
371
|
+
opacity: 0.75;
|
|
372
|
+
}
|
|
366
373
|
}
|
|
367
374
|
}
|
|
368
375
|
|
|
@@ -378,20 +385,18 @@ label {
|
|
|
378
385
|
|
|
379
386
|
&.radio,
|
|
380
387
|
&.checkbox {
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
align-items: center;
|
|
388
|
+
display: flex;
|
|
389
|
+
align-items: center;
|
|
390
|
+
gap: 0.75rem;
|
|
385
391
|
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
392
|
+
.label > * {
|
|
393
|
+
margin-bottom: 0;
|
|
394
|
+
}
|
|
389
395
|
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
}
|
|
396
|
+
& + {
|
|
397
|
+
.radio,
|
|
398
|
+
.checkbox {
|
|
399
|
+
/* margin-top: 1rem; */
|
|
395
400
|
}
|
|
396
401
|
}
|
|
397
402
|
}
|
|
@@ -1396,7 +1401,7 @@ table {
|
|
|
1396
1401
|
|
|
1397
1402
|
.grid-item {
|
|
1398
1403
|
display: grid;
|
|
1399
|
-
grid-template-columns: 1fr
|
|
1404
|
+
grid-template-columns: minmax(1.5rem, 1fr) 6fr;
|
|
1400
1405
|
grid-template-rows: 1fr;
|
|
1401
1406
|
align-items: center;
|
|
1402
1407
|
|
|
@@ -1433,11 +1438,13 @@ table {
|
|
|
1433
1438
|
|
|
1434
1439
|
.card {
|
|
1435
1440
|
display: flex;
|
|
1436
|
-
flex-direction: column;
|
|
1437
1441
|
border-radius: var(--border-radius);
|
|
1438
1442
|
|
|
1439
1443
|
@include before-content;
|
|
1440
1444
|
|
|
1445
|
+
&:not(.h) {
|
|
1446
|
+
flex-direction: column;
|
|
1447
|
+
}
|
|
1441
1448
|
&:not(.flat)::before {
|
|
1442
1449
|
box-shadow: var(--card-shadow);
|
|
1443
1450
|
z-index: -1;
|
package/src/styles/menu.scss
CHANGED
|
@@ -98,7 +98,7 @@ input.main-menu-trigger {
|
|
|
98
98
|
.main-menu-toggle {
|
|
99
99
|
position: relative;
|
|
100
100
|
font-size: 120%;
|
|
101
|
-
z-index: 1;
|
|
101
|
+
/* z-index: 1; */
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
.menu-container {
|
|
@@ -119,11 +119,13 @@ nav,
|
|
|
119
119
|
align-items: center;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
nav,
|
|
123
|
-
.nav,
|
|
124
122
|
.menu-container {
|
|
125
|
-
|
|
126
|
-
|
|
123
|
+
nav,
|
|
124
|
+
.nav,
|
|
125
|
+
& {
|
|
126
|
+
flex: 1 1 100%;
|
|
127
|
+
gap: 0.5rem;
|
|
128
|
+
}
|
|
127
129
|
}
|
|
128
130
|
|
|
129
131
|
nav,
|
|
@@ -181,18 +183,12 @@ nav,
|
|
|
181
183
|
&.grid {
|
|
182
184
|
grid-template-columns: 1fr 4fr;
|
|
183
185
|
|
|
184
|
-
> *:not(.main-menu) {
|
|
185
|
-
grid-column: 2;
|
|
186
|
-
}
|
|
187
186
|
&:has(> header + main) {
|
|
188
187
|
grid-auto-rows: 1fr;
|
|
188
|
+
}
|
|
189
189
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
}
|
|
193
|
-
main {
|
|
194
|
-
grid-row: span 18;
|
|
195
|
-
}
|
|
190
|
+
main {
|
|
191
|
+
grid-row: span 18;
|
|
196
192
|
}
|
|
197
193
|
}
|
|
198
194
|
|
|
@@ -225,7 +221,7 @@ nav,
|
|
|
225
221
|
display: grid;
|
|
226
222
|
|
|
227
223
|
> .side-menu {
|
|
228
|
-
grid-row:
|
|
224
|
+
grid-row: span 20;
|
|
229
225
|
}
|
|
230
226
|
}
|
|
231
227
|
}
|
|
@@ -242,8 +238,8 @@ nav,
|
|
|
242
238
|
flex-direction: column;
|
|
243
239
|
}
|
|
244
240
|
|
|
245
|
-
img {
|
|
246
|
-
max-height: 5rem;
|
|
241
|
+
.menu-snap img {
|
|
242
|
+
max-height: 2.5rem;
|
|
247
243
|
}
|
|
248
244
|
|
|
249
245
|
nav,
|
|
@@ -339,7 +335,7 @@ main {
|
|
|
339
335
|
z-index: 0;
|
|
340
336
|
}
|
|
341
337
|
|
|
342
|
-
footer {
|
|
338
|
+
.main-menu-container > footer {
|
|
343
339
|
background-color: var(--primary);
|
|
344
340
|
color: var(--primary-c);
|
|
345
341
|
}
|
|
@@ -400,6 +396,10 @@ footer {
|
|
|
400
396
|
/* Above Mobile */
|
|
401
397
|
@media (min-width: 577px) {
|
|
402
398
|
.main-menu-container {
|
|
399
|
+
input.main-menu-trigger {
|
|
400
|
+
z-index: -1;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
403
|
.full-menu,
|
|
404
404
|
.float-menu {
|
|
405
405
|
.menu-container {
|
|
@@ -415,6 +415,13 @@ footer {
|
|
|
415
415
|
}
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
|
+
&:has(> .side-menu) {
|
|
419
|
+
&.grid {
|
|
420
|
+
> #{'header,footer'} {
|
|
421
|
+
grid-column: 2;
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
}
|
|
418
425
|
}
|
|
419
426
|
}
|
|
420
427
|
|