@natec/mef-dev-ui-kit 0.0.41 → 0.0.312

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.
Files changed (38) hide show
  1. package/package.json +1 -1
  2. package/src/lib/styles/pg/_color.scss +0 -689
  3. package/src/lib/styles/pg/_dropdown.scss +0 -38
  4. package/src/lib/styles/pg/_mixins.scss +0 -1010
  5. package/src/lib/styles/pg/_responsive.scss +0 -1140
  6. package/src/lib/styles/pg/_var.scss +0 -198
  7. package/src/lib/styles/pg/core.scss +0 -276
  8. package/src/lib/styles/pg/icons.scss +0 -330
  9. package/src/lib/styles/pg/modules/_breadcrumb.scss +0 -66
  10. package/src/lib/styles/pg/modules/_buttons.scss +0 -65
  11. package/src/lib/styles/pg/modules/_cards.scss +0 -417
  12. package/src/lib/styles/pg/modules/_form_elements.scss +0 -1335
  13. package/src/lib/styles/pg/modules/_header.scss +0 -259
  14. package/src/lib/styles/pg/modules/_horizontal-layout.scss +0 -183
  15. package/src/lib/styles/pg/modules/_horizontal_menu.scss +0 -344
  16. package/src/lib/styles/pg/modules/_jqx.scss +0 -11
  17. package/src/lib/styles/pg/modules/_layout.scss +0 -180
  18. package/src/lib/styles/pg/modules/_lock_screen.scss +0 -92
  19. package/src/lib/styles/pg/modules/_login.scss +0 -62
  20. package/src/lib/styles/pg/modules/_misc.scss +0 -703
  21. package/src/lib/styles/pg/modules/_modals.scss +0 -281
  22. package/src/lib/styles/pg/modules/_print.scss +0 -32
  23. package/src/lib/styles/pg/modules/_secondary-sidebar.scss +0 -243
  24. package/src/lib/styles/pg/modules/_select.scss +0 -599
  25. package/src/lib/styles/pg/modules/_sidebar.scss +0 -413
  26. package/src/lib/styles/pg/modules/_switch.scss +0 -144
  27. package/src/lib/styles/pg/modules/_tabs.scss +0 -336
  28. package/src/lib/styles/pg/modules/_tabs_accordian.scss +0 -662
  29. package/src/lib/styles/pg/modules/_timepicker.scss +0 -34
  30. package/src/lib/styles/pg/modules/_typography.scss +0 -743
  31. package/src/lib/styles/pg/modules/_uploader.scss +0 -226
  32. package/src/lib/styles/pg/modules/_view.scss +0 -127
  33. package/src/lib/styles/pg/modules/_z_index.scss +0 -33
  34. package/src/lib/styles/pg/toaster.scss +0 -22
  35. package/src/lib/styles/pg/utils.scss +0 -32
  36. package/src/lib/styles/pg/vendor/ng-datatable.scss +0 -263
  37. package/src/lib/styles/pg/vendor/ngx-google-map.scss +0 -18
  38. package/src/lib/styles/pg/vendor/typehead.scss +0 -29
@@ -1,599 +0,0 @@
1
-
2
- $select-prefix-cls: "pg-select";
3
- $input-height-base:35px;
4
- $input-height-lg:55px;
5
- $input-height-sm:25px;
6
- $input-placeholder-color : lighten( $color-master-dark, 67% );
7
- $tag-default-color:$color-master;
8
- $tag-default-bg:$color-master-light;
9
- $box-shadow-base:"none";
10
- $zindex-dropdown:999;
11
- $item-hover-bg:$color-master-lighter;
12
- $background-color-base:$color-master-lighter;
13
-
14
- @mixin selection__clear(){
15
- display: inline-block;
16
- font-style: normal;
17
- vertical-align: baseline;
18
- text-align: center;
19
- text-transform: none;
20
- text-rendering: auto;
21
- opacity: 0;
22
- position: absolute;
23
- right: 13px;
24
- z-index: 1;
25
- background: #fff;
26
- top: 50%;
27
- color: $color-info-lighter;
28
- width: 12px;
29
- height: 12px;
30
- margin-top: -6px;
31
- line-height: 12px;
32
- cursor: pointer;
33
- transition: color 0.3s ease, opacity 0.15s ease;
34
- font: normal normal normal 12px/1 pages-icon;
35
- &:before {
36
- display: block;
37
- content: "\e60a";
38
- }
39
- &:hover {
40
- color: $color-info-dark;
41
- }
42
- }
43
-
44
- .pg-select {
45
- border: 2px solid #F3F3F3;
46
- box-sizing: border-box;
47
- display: inline-block;
48
- position: relative;
49
- color: $color-info;
50
- font-size: 12px;
51
- transition: background .3s ease-in-out;
52
- > ul > li > a {
53
- padding: 0;
54
- background-color: #fff;
55
- }
56
-
57
- // arrow
58
- &-arrow {
59
-
60
- position: absolute;
61
- top: 50%;
62
- right: 13px;
63
- line-height: 1;
64
- margin-top: -6px;
65
- color: $color-master;
66
- font: normal normal normal 12px/1 pages-icon;
67
- * {
68
- display: none;
69
- }
70
-
71
- &:before {
72
- content: '\e60b';
73
- transition: transform 0.2s ease;
74
- }
75
- }
76
-
77
- &-selection {
78
- outline: none;
79
- user-select: none;
80
-
81
- box-sizing: border-box;
82
- display: block;
83
-
84
- background-color: #fff;
85
- border-radius: 2px;
86
- border: 1px solid $form-control-border-color;
87
- transition: all .3s ease-in-out;
88
-
89
- &__clear {
90
- @include selection__clear();
91
- }
92
-
93
- &:hover &__clear {
94
- opacity: 1;
95
- }
96
-
97
- &-selected-value {
98
- float: left;
99
- overflow: hidden;
100
- text-overflow: ellipsis;
101
- white-space: nowrap;
102
- max-width: 100%;
103
- padding-right: 12px;
104
- font-size: 14px;
105
- }
106
- }
107
-
108
- &-disabled {
109
- color: $color-info-lighter;
110
- }
111
-
112
- &-disabled &-selection {
113
- background: $color-master-lightest;
114
- cursor: not-allowed;
115
- &:hover,
116
- &:focus,
117
- &:active {
118
- border-color: $form-control-border-color;
119
- box-shadow: none;
120
- }
121
-
122
- &__clear {
123
- display: none;
124
- visibility: hidden;
125
- pointer-events: none;
126
- }
127
- }
128
-
129
- &-disabled &-selection--multiple &-selection__choice {
130
- background: $color-primary;
131
- color: #aaa;
132
- padding-right: 10px;
133
- &__remove {
134
- display: none;
135
- }
136
- }
137
-
138
- &-selection--single {
139
- height: $input-height-base;
140
- position: relative;
141
- cursor: pointer;
142
- }
143
-
144
- &-selection__rendered {
145
- display: block;
146
- margin-left: 12px;
147
- margin-right: 12px;
148
- position: relative;
149
- line-height: $input-height-base;
150
- &:after {
151
- content: '.';
152
- visibility: hidden;
153
- pointer-events: none;
154
- display: inline-block;
155
- width: 0;
156
- }
157
- }
158
-
159
- &-lg {
160
- .pg-select-selection--single {
161
- height: $input-height-lg;
162
- }
163
- .pg-select-selection__rendered {
164
- line-height: $input-height-lg - 2px;
165
- }
166
- .pg-select-selection--multiple {
167
- min-height: $input-height-lg;
168
- .pg-select-selection__rendered {
169
- li {
170
- height: $input-height-lg - 8px;
171
- line-height: $input-height-lg - 8px;
172
- }
173
- }
174
- .pg-select-selection__clear {
175
- top: $input-height-lg / 2;
176
- }
177
- }
178
- }
179
-
180
- &-sm {
181
- .pg-select-selection--single {
182
- height: $input-height-sm;
183
- }
184
- .pg-select-selection__rendered {
185
- line-height: $input-height-sm - 2px;
186
- }
187
- .pg-select-selection--multiple {
188
- min-height: $input-height-sm;
189
- .pg-select-selection__rendered {
190
- li {
191
- height: $input-height-sm - 8px;
192
- line-height: $input-height-sm - 8px;
193
- }
194
- }
195
- .pg-select-selection__clear {
196
- top: $input-height-sm / 2;
197
- }
198
- }
199
- }
200
-
201
- &-disabled &-selection__choice__remove {
202
- color: $color-info-lighter;
203
- cursor: default;
204
- &:hover {
205
- color: $color-info-lighter;
206
- }
207
- }
208
-
209
- &-search__field__wrap {
210
- display: inline-block;
211
- position: relative;
212
- }
213
-
214
- &-selection__placeholder,
215
- &-search__field__placeholder { // for TreeSelect compatibility
216
- position: absolute;
217
- top: 50%;
218
- left: 0;
219
- right: 9px;
220
- color: $color-master;
221
- opacity: 0;
222
- line-height: 20px;
223
- height: 20px;
224
- max-width: 100%;
225
- margin-top: -10px;
226
- overflow: hidden;
227
- text-overflow: ellipsis;
228
- white-space: nowrap;
229
- text-align: left;
230
- font-size: 14px;
231
- }
232
-
233
- &-search__field__placeholder {
234
- left: 8px;
235
- }
236
-
237
- &-search__field__mirror {
238
- position: absolute;
239
- top: 0;
240
- left: -9999px;
241
- white-space: pre;
242
- pointer-events: none;
243
- }
244
-
245
- &-search--inline {
246
- position: absolute;
247
- height: 100%;
248
- width: 100%;
249
-
250
- .pg-select-selection--multiple & {
251
- float: left;
252
- position: static;
253
- }
254
-
255
- .pg-select-search__field__wrap {
256
- width: 100%;
257
- height: 100%;
258
- }
259
-
260
- .pg-select-search__field {
261
- border-width: 0;
262
- font-size:14px;
263
- height: 100%;
264
- width: 100%;
265
- background: transparent;
266
- outline: 0;
267
- border-radius: 2px;
268
- line-height: 1;
269
- }
270
-
271
- > i {
272
- float: right;
273
- }
274
- }
275
-
276
- &-selection--multiple {
277
- min-height: $input-height-base;
278
- cursor: text;
279
- padding-bottom: 3px;
280
- @include clearfix;
281
- .pg-select-selection__placeholder{
282
- left: 6px;
283
- }
284
- .pg-select-search--inline {
285
- width: auto;
286
- padding: 0;
287
- max-width: 100%;
288
- .pg-select-search__field {
289
- max-width: 100%;
290
- width: 0.75em;
291
- }
292
- }
293
-
294
- .pg-select-selection__rendered {
295
- margin-left: 5px;
296
- margin-bottom: -3px;
297
- height: auto;
298
- }
299
- ul{
300
- padding: 0;
301
- padding-left: 6px;
302
- margin: 0;
303
- list-style: none;
304
- }
305
- > ul > li,
306
- .pg-select-selection__rendered > ul > li {
307
- margin-top: 7px;
308
- height: 21px;
309
- line-height: 21px;
310
- }
311
-
312
- .pg-select-selection__choice {
313
- color: $tag-default-color;
314
- background-color: $tag-default-bg;
315
- border-radius: 8px;
316
- cursor: default;
317
- float: left;
318
- margin-right: 4px;
319
- max-width: 99%;
320
- position: relative;
321
- overflow: hidden;
322
- transition: padding .3s ease-in-out;
323
- padding: 0 10px 0 17px;
324
- &__disabled {
325
- padding: 0 10px;
326
- }
327
- }
328
-
329
- .pg-select-selection__choice__content {
330
- display: inline-block;
331
- white-space: nowrap;
332
- overflow: hidden;
333
- text-overflow: ellipsis;
334
- max-width: 100%;
335
- transition: margin .3s ease-in-out;
336
- }
337
-
338
- .pg-select-selection__choice__remove {
339
- font: normal normal normal 12px/1 pages-icon;
340
- color: $color-info-dark;
341
- line-height: inherit;
342
- cursor: pointer;
343
- display: inline-block;
344
- transition: all 0.3s ease-in-out;
345
- position: absolute;
346
- left: 4px;
347
- padding: 0 8px 0 0;
348
- &:hover {
349
- color: #404040;
350
- }
351
- &:before {
352
- content: "\E60A";
353
- }
354
- }
355
-
356
- .pg-select-selection__clear {
357
- top: $input-height-base / 2;
358
- }
359
- }
360
-
361
- &-allow-clear &-selection--multiple &-selection__rendered {
362
- margin-right: 20px; // In case that clear button will overlap content
363
- }
364
-
365
- &-open {
366
- .pg-select-arrow {
367
- -ms-transform: rotate(180deg);
368
- transform: rotate(180deg);
369
- }
370
- .pg-select-selection {
371
- //@include active();
372
- }
373
- }
374
-
375
- &-combobox {
376
- .pg-select-arrow {
377
- display: none;
378
- }
379
- .pg-select-search--inline {
380
- height: 100%;
381
- width: 100%;
382
- float: none;
383
- }
384
- .pg-select-search__field__wrap {
385
- width: 100%;
386
- height: 100%;
387
- }
388
- .pg-select-search__field {
389
- width: 100%;
390
- height: 100%;
391
- position: relative;
392
- z-index: 1;
393
- transition: all .3s ease-in-out;
394
- box-shadow: none;
395
- }
396
- }
397
- }
398
-
399
- .pg-select-dropdown {
400
- &.slide-up-enter.slide-up-enter-active-placement-bottomLeft,
401
- &.slide-up-appear.slide-up-appear-active-placement-bottomLeft {
402
- animation-name: antSlideUpIn;
403
- }
404
-
405
- &.slide-up-enter.slide-up-enter-active-placement-topLeft,
406
- &.slide-up-appear.slide-up-appear-active-placement-topLeft {
407
- animation-name: antSlideDownIn;
408
- }
409
-
410
- &.slide-up-leave.slide-up-leave-active-placement-bottomLeft {
411
- animation-name: antSlideUpOut;
412
- }
413
-
414
- &.slide-up-leave.slide-up-leave-active-placement-topLeft {
415
- animation-name: antSlideDownOut;
416
- }
417
-
418
- &-hidden {
419
- display: none;
420
- }
421
-
422
- background-color: #fff;
423
- box-shadow: $box-shadow-base;
424
- border-radius: 2px;
425
- box-sizing: border-box;
426
- z-index: $zindex-dropdown;
427
- left: -9999px;
428
- top: -9999px;
429
- position: absolute;
430
- outline: none;
431
- overflow: hidden;
432
- font-size: 12px;
433
-
434
- &-menu {
435
- outline: none;
436
- margin: 3px 8px 10px 8px;
437
- padding-left: 0; // Override default ul/ol
438
- list-style: none;
439
- max-height: 250px;
440
- overflow: auto;
441
-
442
- &-item-group-list {
443
- margin: 0;
444
- padding: 0;
445
-
446
- > .pg-select-dropdown-menu-item {
447
- padding-left: 16px;
448
- }
449
- }
450
-
451
- &-item-group-title {
452
- color: $color-info-dark;
453
- line-height: 1.5;
454
- padding: 8px;
455
- }
456
-
457
- &-item {
458
- min-height: 3em;
459
- position: relative;
460
- display: block;
461
- padding: 6px 8px;
462
- padding-left: 1em;
463
- font-weight: normal;
464
- color: $color-master;
465
- white-space: nowrap;
466
- border-radius: 3px;
467
- cursor: pointer;
468
- overflow: hidden;
469
- text-overflow: ellipsis;
470
- transition: background 0.3s ease;
471
- font-size: 14px;
472
- &:hover {
473
- background-color: $item-hover-bg;
474
- }
475
-
476
- &-disabled {
477
- color: $color-info-lighter;
478
- cursor: not-allowed;
479
-
480
- &:hover {
481
- color: $color-info-lighter;
482
- background-color: #fff;
483
- cursor: not-allowed;
484
- }
485
- }
486
-
487
- &-selected {
488
- background-color: $color-complete-lighter !important;
489
- &,
490
- &:hover {
491
- background-color: $background-color-base;
492
- color: $color-info;
493
- }
494
- }
495
-
496
- &-active {
497
- //background-color: $color-master-lighter;
498
- }
499
-
500
- &-divider {
501
- height: 1px;
502
- margin: 1px 0;
503
- overflow: hidden;
504
- background-color: #e5e5e5;
505
- line-height: 0;
506
- }
507
- }
508
- }
509
-
510
- &--multiple {
511
- .pg-select-dropdown-menu-item {
512
- &:after {
513
- color: transparent;
514
- transition: all 0.2s ease;
515
- position: absolute;
516
- top: 50%;
517
- transform: translateY(-50%);
518
- right: 8px;
519
- font-weight: bold;
520
- text-shadow: 0 0.1px 0, 0.1px 0 0, 0 -0.1px 0, -0.1px 0;
521
- }
522
-
523
- &:hover:after {
524
- color: #ddd;
525
- }
526
-
527
- &-disabled:after {
528
- display: none;
529
- }
530
-
531
- &-selected:after,
532
- &-selected:hover:after {
533
- color: $color-master;
534
- display: inline-block;
535
- }
536
- }
537
- }
538
-
539
- &-container-open,
540
- &-open {
541
- .pg-select-dropdown {
542
- display: block;
543
- }
544
- }
545
- }
546
-
547
- .pg-select-dropdown{
548
- top: 100% !important;
549
- left: 0 !important;
550
- position: relative !important;
551
- width: 100%;
552
- margin-top: 0;
553
- margin-bottom: 4px;
554
- border: 1px solid $form-control-border-color;
555
- border-top:0;
556
- border-radius: 0;
557
- border-bottom-right-radius: 2px;
558
- border-bottom-left-radius: 2px;
559
- padding-top: 5px;
560
- z-index: 790;
561
- box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
562
- }
563
- .pg-select-open{
564
-
565
- border: 2px solid #F3F3F3;
566
-
567
- .pg-select-selection{
568
- background-color:$color-master-lighter;
569
- }
570
- .pg-select-selection--multiple{
571
- li.pg-select-selection__choice{
572
- background: #fff;
573
- }
574
- }
575
- .pg-select-selection__placeholder{
576
- opacity: 0;
577
- }
578
- }
579
-
580
- .form-group-default-select2{
581
- .pg-select-selection{
582
- margin-top: 20px;
583
- border: 0;
584
- }
585
- &.has-error{
586
- background-color: rgba($color-danger,.10);
587
- .pg-select-selection{
588
- background-color: rgba($color-danger,.10);
589
- }
590
- }
591
- }
592
-
593
- .pg-select-selection{
594
- border: 0 !important;
595
- }
596
-
597
- .pg-select-open .pg-select-selection{
598
- background-color: #fff !important;
599
- }