new-front-common-library 0.0.17 → 0.0.21

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.
@@ -2,7 +2,7 @@
2
2
 
3
3
  .dark-theme {
4
4
  //1
5
- .u-sidenav-container {
5
+ .page-container {
6
6
  background-color: $background-lvl3;
7
7
  }
8
8
 
@@ -34,6 +34,10 @@
34
34
  background-color: whitesmoke;
35
35
  }
36
36
 
37
+ .expandable-row:hover {
38
+ background-color: transparent !important;
39
+ }
40
+
37
41
  //7
38
42
  /* Table header coloring*/
39
43
  .mat-form-field-appearance-legacy .mat-form-field-label {
@@ -103,6 +107,10 @@
103
107
  color: $gray-light;
104
108
  }
105
109
 
110
+ a {
111
+ color: $gray-background-lightest;
112
+ }
113
+
106
114
  .mat-row, row-drop {
107
115
  border-radius: 3%;
108
116
  border-left-width: 1px;
@@ -183,7 +191,11 @@
183
191
  }
184
192
 
185
193
  .mat-menu-item {
186
- color: $gray-light !important;
194
+ color: $gray-background-lightest !important;
195
+ }
196
+
197
+ .mat-menu-panel {
198
+ background: $background-lvl2 !important
187
199
  }
188
200
 
189
201
  .cancel-button{
@@ -199,16 +211,6 @@
199
211
 
200
212
  }
201
213
 
202
- .expand-button {
203
- background-color: $gray-blue-primary !important;
204
- color: white !important;
205
- font-family: Sofia Pro;
206
- font-style: normal;
207
- font-weight: bold;
208
- font-size: 12px;
209
- line-height: 12px;
210
- }
211
-
212
214
  .mat-badge-content {
213
215
  color: white;
214
216
  background: $red-primary !important;
@@ -245,10 +247,11 @@
245
247
  //END SCROLL BAR
246
248
 
247
249
  .mat-select-panel {
248
- max-height: 300px !important;
249
- max-width: 450px !important;
250
- min-width: auto !important;
251
- width: auto !important;
250
+ background: $dark-background-color !important;
251
+ }
252
+
253
+ .mat-option {
254
+ color: $gray-background-lightest !important;
252
255
  }
253
256
 
254
257
  .block-title {
@@ -333,6 +336,11 @@
333
336
  color: #FFFFFF !important;
334
337
  }
335
338
 
339
+ .mat-chip.mat-standard-chip {
340
+ background: $black-bluish;
341
+ color: white;
342
+ }
343
+
336
344
  .row-drop {
337
345
  background-color: $background-lvl2;
338
346
  border-color: $gray-background-lightest;
@@ -344,6 +352,14 @@
344
352
  background-color: whitesmoke;
345
353
  }
346
354
 
355
+ .mat-checkbox {
356
+ color: $gray-primary;
357
+ }
358
+
359
+ .mat-radio-button {
360
+ color: $gray-primary;
361
+ }
362
+
347
363
  .mat-checkbox-checked.mat-accent .mat-checkbox-background {
348
364
  background-color: $blue-primary;
349
365
  }
@@ -382,30 +398,12 @@
382
398
  color: $gray-background-lightest !important;
383
399
  }
384
400
 
385
- .mat-dialog-container .text {
401
+ .mat-dialog-container h4 {
386
402
  color: $gray-background-lightest !important;
387
403
  }
388
404
 
389
- .mat-dialog-container .btn-ok {
390
- color: white !important;
391
- background: $blue-primary !important;
392
- border: none;
393
- padding: 5px 10px 5px 10px;
394
- border-radius: 4px;height: 32px;
395
- min-width: 64px;
396
- margin-right: 10px;
397
- cursor: pointer;
398
- }
399
-
400
- .mat-dialog-container .btn-ko {
401
- color: white !important;
402
- background: $red-primary !important;
403
- border: none;
404
- padding: 5px 10px 5px 10px;
405
- border-radius: 4px;height: 32px;
406
- min-width: 64px;
407
- margin-right: 10px;
408
- cursor: pointer;
405
+ .mat-dialog-container .text {
406
+ color: $gray-background-lightest !important;
409
407
  }
410
408
 
411
409
  // END POPUP
@@ -422,12 +420,12 @@
422
420
  }
423
421
 
424
422
  .mat-paginator-page-size .mat-select-trigger {
425
- background: $gray-strong;
423
+ background: $background-lvl2;
426
424
  padding: 2px;
427
425
  }
428
426
 
429
427
  .mat-paginator .mat-select-value-text {
430
- color: $black-bluish !important;
428
+ color: $gray-background-lightest !important;
431
429
  }
432
430
 
433
431
  //END PAGINATOR
@@ -453,7 +451,12 @@
453
451
  // END DRAG & DROP
454
452
 
455
453
  .text {
456
- color: $gray-background-lightest;
454
+ color: $gray-background-lightest !important;
455
+ }
456
+
457
+ .see-more-text {
458
+ color: $black-bluish !important;
459
+ font-size: 12px;
457
460
  }
458
461
 
459
462
  .no-results {
@@ -527,7 +530,7 @@
527
530
  // END CALENDAR
528
531
 
529
532
  .mat-raised-button.mat-accent {
530
- background: $gray-blue-primary !important;;
533
+ background: $gray-blue-primary !important;
531
534
  }
532
535
 
533
536
  // HEADER
@@ -2,12 +2,24 @@
2
2
  @import url('https://fonts.googleapis.com/css?family=Poppins');
3
3
  @import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro');
4
4
 
5
+ @import "mat-palettes";
6
+
5
7
  body, html {
6
8
  margin: 0;
7
9
  padding: 0;
8
10
  font-family: 'Sofia Pro'!important;
9
11
  }
10
12
 
13
+ .page-container {
14
+ flex: 1;
15
+ margin-top: 64px;
16
+ position: relative;
17
+ z-index: 1;
18
+ display: block;
19
+ height: 100%;
20
+ overflow: auto;
21
+ }
22
+
11
23
  .spacer {
12
24
  flex: 1 1 auto;
13
25
  }
@@ -105,6 +117,11 @@ body, html {
105
117
  height: 12px !important;
106
118
  }
107
119
 
120
+ .form-group {
121
+ display: flex;
122
+ flex-direction: column;
123
+ }
124
+
108
125
  .form-group > mat-label {
109
126
  text-transform: uppercase;
110
127
  font-size: 8px;
@@ -295,6 +312,10 @@ textarea {
295
312
  letter-spacing: 0.25px;
296
313
  }
297
314
 
315
+ .mat-chip.mat-standard-chip {
316
+ padding: 10px !important;
317
+ }
318
+
298
319
  .mat-row .mat-input-element {
299
320
  padding: 4px;
300
321
  border-radius: 4px;
@@ -310,6 +331,10 @@ textarea {
310
331
  height: auto;
311
332
  }
312
333
 
334
+ .mat-cell input.mat-input-element {
335
+ margin-top: 0.08em !important;
336
+ }
337
+
313
338
  .mat-table .mat-checkbox-inner-container {
314
339
  height: 12px;
315
340
  width: 12px;
@@ -378,6 +403,7 @@ textarea {
378
403
  .action-menu .material-icons-outlined {
379
404
  font-size: 15px;
380
405
  margin-right: 10px;
406
+ margin-bottom: 2px;
381
407
  }
382
408
 
383
409
  .action-menu span {
@@ -411,6 +437,23 @@ textarea {
411
437
  cursor: pointer;
412
438
  }
413
439
 
440
+ .expand-button {
441
+ background-color: $gray-blue-primary !important;
442
+ color: white !important;
443
+ font-family: Sofia Pro;
444
+ font-style: normal;
445
+ font-weight: bold;
446
+ font-size: 12px;
447
+ line-height: 12px;
448
+ height: 24px;
449
+ padding: 5px;
450
+ }
451
+
452
+ .expand-button span {
453
+ color: #FFFFFF;
454
+ font-size: 12px;
455
+ }
456
+
414
457
  // END BUTTONS
415
458
 
416
459
  .transparent {
@@ -459,3 +502,71 @@ textarea {
459
502
  .sub-toolbar .icon {
460
503
  margin-right: 5px;
461
504
  }
505
+
506
+ .table-icon {
507
+ font-size: 16px !important;
508
+ }
509
+
510
+ // POPUP
511
+
512
+ .mat-dialog-container .btn-primary {
513
+ height: 24px !important;
514
+ color: white !important;
515
+ background: $blue-primary !important;
516
+ border: none;
517
+ padding: 5px 10px 5px 10px;
518
+ border-radius: 4px;
519
+ min-width: 64px;
520
+ margin-right: 10px;
521
+ cursor: pointer;
522
+ line-height: 15px;
523
+ }
524
+
525
+ .mat-dialog-container .btn-danger {
526
+ height: 24px !important;
527
+ color: white !important;
528
+ background: $red-primary !important;
529
+ border: none;
530
+ padding: 5px 10px 5px 10px;
531
+ border-radius: 4px;
532
+ min-width: 64px;
533
+ margin-right: 10px;
534
+ cursor: pointer;
535
+ line-height: 15px;
536
+ }
537
+
538
+ .mat-dialog-container .btn-secondary {
539
+ height: 24px !important;
540
+ color: white !important;
541
+ background: $purple-primary !important;
542
+ border: none;
543
+ padding: 5px 10px 5px 10px;
544
+ border-radius: 4px;
545
+ min-width: 64px;
546
+ margin-right: 10px;
547
+ cursor: pointer;
548
+ line-height: 15px;
549
+ }
550
+
551
+ .btn-secondary {
552
+ height: 24px !important;
553
+ color: white !important;
554
+ background: $purple-primary !important;
555
+ border: none;
556
+ padding: 5px 10px 5px 10px;
557
+ border-radius: 4px;
558
+ min-width: 64px;
559
+ margin-right: 10px;
560
+ cursor: pointer;
561
+ line-height: 15px;
562
+ }
563
+
564
+ // END POPUP
565
+
566
+ .mat-select-panel {
567
+ max-height: 300px !important;
568
+ max-width: 450px !important;
569
+ min-width: auto !important;
570
+ width: auto !important;
571
+ }
572
+
@@ -2,7 +2,7 @@
2
2
 
3
3
  .light-theme {
4
4
  //1
5
- .u-sidenav-container {
5
+ .page-container {
6
6
  background-color: $gray-background-lightest;
7
7
  }
8
8
 
@@ -34,6 +34,10 @@
34
34
  background-color: whitesmoke;
35
35
  }
36
36
 
37
+ .expandable-row:hover {
38
+ background-color: whitesmoke !important;
39
+ }
40
+
37
41
  //7
38
42
  /* Table header coloring*/
39
43
  .mat-form-field-appearance-legacy .mat-form-field-label {
@@ -103,6 +107,10 @@
103
107
  color: $black-bluish;
104
108
  }
105
109
 
110
+ a {
111
+ color: $black-bluish;
112
+ }
113
+
106
114
  .mat-row, row-drop {
107
115
  border-radius: 3%;
108
116
  border-left-width: 1px;
@@ -186,6 +194,10 @@
186
194
  color: $black-bluish !important;
187
195
  }
188
196
 
197
+ .mat-menu-panel {
198
+ background: #FFFFFF !important
199
+ }
200
+
189
201
  .cancel-button{
190
202
  background-color: $red-primary !important;
191
203
  color: white !important;
@@ -199,16 +211,6 @@
199
211
 
200
212
  }
201
213
 
202
- .expand-button {
203
- background-color: $gray-blue-primary !important;
204
- color: white !important;
205
- font-family: Sofia Pro;
206
- font-style: normal;
207
- font-weight: bold;
208
- font-size: 12px;
209
- line-height: 12px;
210
- }
211
-
212
214
  .mat-badge-content {
213
215
  color: white;
214
216
  background: $red-primary !important;
@@ -245,10 +247,11 @@
245
247
  // END SCROLL BAR
246
248
 
247
249
  .mat-select-panel {
248
- max-height: 300px !important;
249
- max-width: 450px !important;
250
- min-width: auto !important;
251
- width: auto !important;
250
+ background: #FFFFFF !important;
251
+ }
252
+
253
+ .mat-option {
254
+ color: $black-bluish !important;
252
255
  }
253
256
 
254
257
  .block-title {
@@ -333,6 +336,11 @@
333
336
  color: #FFFFFF !important;
334
337
  }
335
338
 
339
+ .mat-chip.mat-standard-chip {
340
+ background: $black-bluish;
341
+ color: white;
342
+ }
343
+
336
344
  .row-drop {
337
345
  background-color: $gray-background-light2;
338
346
  border-color: $gray-strong;
@@ -344,6 +352,14 @@
344
352
  background-color: whitesmoke;
345
353
  }
346
354
 
355
+ .mat-checkbox {
356
+ color: $gray-primary;
357
+ }
358
+
359
+ .mat-radio-button {
360
+ color: $gray-primary;
361
+ }
362
+
347
363
  .mat-checkbox-checked.mat-accent .mat-checkbox-background {
348
364
  background-color: $blue-primary;
349
365
  }
@@ -382,11 +398,15 @@
382
398
  color: $black-bluish !important;
383
399
  }
384
400
 
401
+ .mat-dialog-container h4 {
402
+ color: $black-bluish !important;
403
+ }
404
+
385
405
  .mat-dialog-container .text {
386
406
  color: $black-bluish !important;
387
407
  }
388
408
 
389
- .mat-dialog-container .btn-ok {
409
+ .mat-dialog-container .btn- {
390
410
  color: white !important;
391
411
  background: $blue-primary !important;
392
412
  border: none;
@@ -453,7 +473,12 @@
453
473
  // END DRAG & DROP
454
474
 
455
475
  .text {
456
- color: $black-bluish;
476
+ color: $black-bluish !important;
477
+ }
478
+
479
+ .see-more-text {
480
+ color: $gray-light !important;
481
+ font-size: 12px;
457
482
  }
458
483
 
459
484
  .no-results {
@@ -527,7 +552,7 @@
527
552
  // END CALENDAR
528
553
 
529
554
  .mat-raised-button.mat-accent {
530
- background: $gray-blue-primary !important;;
555
+ background: $gray-blue-primary !important;
531
556
  }
532
557
 
533
558
  // HEADER
@@ -0,0 +1,17 @@
1
+ {
2
+ "COMMON": {
3
+ "GLOBAL_SEARCH" : {
4
+ "ADVANCED": "Advanced"
5
+ },
6
+ "HEADER": {
7
+ "HISTORY": {
8
+ "PRODUCT": "Product",
9
+ "PO": "Purchase order",
10
+ "DEAL": "Deal",
11
+ "WORK": "Work",
12
+ "CONTRACT_ACQ": "Contract",
13
+ "CONTRACT_CESS": "Contract"
14
+ }
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "COMMON": {
3
+ "GLOBAL_SEARCH" : {
4
+ "ADVANCED": "Advanced"
5
+ },
6
+ "HEADER": {
7
+ "HISTORY": {
8
+ "PRODUCT": "Product",
9
+ "PO": "Purchase order",
10
+ "DEAL": "Deal",
11
+ "WORK": "Work",
12
+ "CONTRACT_ACQ": "Contract",
13
+ "CONTRACT_CESS": "Contract"
14
+ }
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "COMMON": {
3
+ "GLOBAL_SEARCH" : {
4
+ "ADVANCED": "Avancée"
5
+ },
6
+ "HEADER": {
7
+ "HISTORY": {
8
+ "PRODUCT": "Produit",
9
+ "PO": "Commande",
10
+ "DEAL": "Deal",
11
+ "WORK": "Fiche",
12
+ "CONTRACT_ACQ": "Contrat",
13
+ "CONTRACT_CESS": "Contrat"
14
+ }
15
+ }
16
+ }
17
+ }