cronapp-framework-mobile-js 3.0.0 → 3.1.0

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 (31) hide show
  1. package/components/crn-icon.components.json +3 -3
  2. package/components/crn-input-floating.components.json +5 -0
  3. package/components/crn-start.components.json +3 -0
  4. package/components/css/app.css +10 -1
  5. package/css/app_2.9.css +21 -0
  6. package/css/fonts/nunito/nunito.css +270 -0
  7. package/css/themes/custom/cosmo/custom-cosmo.css +84 -13
  8. package/css/themes/custom/cyborg/custom-cyborg.css +55 -55
  9. package/css/themes/custom/krypton/custom-krypton.css +540 -313
  10. package/css/themes/custom/material-round/custom-material-round.css +267 -51
  11. package/css/themes/custom/nature/custom-nature.css +1602 -0
  12. package/css/themes/nature.min.css +5 -0
  13. package/dist/components/css/app.css +1 -1
  14. package/dist/css/app_2.9.css +1 -1
  15. package/dist/css/themes/custom/cosmo/custom-cosmo.css +1 -1
  16. package/dist/css/themes/custom/cyborg/custom-cyborg.css +1 -1
  17. package/dist/css/themes/custom/krypton/custom-krypton.css +1 -1
  18. package/dist/css/themes/custom/material-round/custom-material-round.css +1 -1
  19. package/dist/css/themes/custom/nature/custom-nature.css +1 -0
  20. package/dist/css/themes/nature.min.css +1 -0
  21. package/dist/js/app.authentication.js +1 -1
  22. package/dist/js/app.js +1 -1
  23. package/dist/js/controllers.authentication.js +1 -1
  24. package/dist/js/directives.js +2 -2
  25. package/dist/js/upload.service.js +1 -1
  26. package/js/app.authentication.js +8 -4
  27. package/js/app.js +4 -2
  28. package/js/controllers.authentication.js +8 -21
  29. package/js/directives.js +31 -0
  30. package/js/upload.service.js +7 -4
  31. package/package.json +1 -1
@@ -10,10 +10,11 @@
10
10
 
11
11
  --textSmallSize: 10px;
12
12
  --textNormalSize: 12px;
13
- --textMediumSize: 16px;
13
+ --textSmallTitle: 18px;
14
+ --textMediumSize: 24px;
14
15
  --textBigSize: 22px;
15
- --textExtraBigSize: 28px;
16
- --textFullSize: 34px;
16
+ --textExtraBigSize: 30px;
17
+ --textFullSize: 36px;
17
18
 
18
19
  --textColor10: #d8d8d8;
19
20
  --textColor20: #b4b4b4;
@@ -78,10 +79,10 @@
78
79
  /* Color - Theme default */
79
80
  --colorDefault10: #d9d7dd;
80
81
  --colorDefault20: #b9abce;
81
- --colorDefault30: #5D3E8B;
82
+ --colorDefault30: #5d3e8b;
82
83
  --colorDefault40: #442b69;
83
84
  --colorDefault50: #3c265c;
84
- --colorDefault60: #32204d;
85
+ --colorDefault60: #6c5b87;
85
86
  --colorDefault70: #25183a;
86
87
  --textColorDefault10: #8c8c8c;
87
88
  --textColorDefault20: #bbbbbb;
@@ -236,26 +237,26 @@
236
237
  --textColorDark70: #fffffd;
237
238
 
238
239
  /* Color - Neutral (web e mobile) */
239
- --colorNeutral00: #FFFFFF;
240
- --colorNeutral10: #F1F1F1;
241
- --colorNeutral20: #E3E3E3;
242
- --colorNeutral30: #D5D5D5;
243
- --colorNeutral40: #C7C7C7;
244
- --colorNeutral50: #B9B9B9;
245
- --colorNeutral60: #ACACAC;
246
- --colorNeutral70: #9E9E9E;
240
+ --colorNeutral00: #ffffff;
241
+ --colorNeutral10: #f1f1f1;
242
+ --colorNeutral20: #e3e3e3;
243
+ --colorNeutral30: #d5d5d5;
244
+ --colorNeutral40: #c7c7c7;
245
+ --colorNeutral50: #b9b9b9;
246
+ --colorNeutral60: #acacac;
247
+ --colorNeutral70: #9e9e9e;
247
248
  --colorNeutral80: #909090;
248
249
  --colorNeutral90: #828282;
249
250
  --colorNeutral100: #747474;
250
251
  --colorNeutral110: #666666;
251
- --colorNeutral120: #5D5D5D;
252
+ --colorNeutral120: #5d5d5d;
252
253
  --colorNeutral130: #535353;
253
- --colorNeutral140: #4A4A4A;
254
+ --colorNeutral140: #4a4a4a;
254
255
  --colorNeutral150: #414141;
255
256
  --colorNeutral160: #383838;
256
- --colorNeutral170: #2E2E2E;
257
+ --colorNeutral170: #2e2e2e;
257
258
  --colorNeutral180: #252525;
258
- --colorNeutral190: #1C1C1C;
259
+ --colorNeutral190: #1c1c1c;
259
260
  --colorNeutral200: #131313;
260
261
  --colorNeutral210: #090909;
261
262
  --colorNeutral220: #000000;
@@ -473,6 +474,19 @@ h6,
473
474
  .h5,
474
475
  .h6 {
475
476
  font-family: var(--fontFamily, "Open Sans", "Arial", sans-serif);
477
+ color: var(--textColor40, #434343);
478
+ }
479
+
480
+ .h1 {
481
+ font-size: var(--textFullSize, 36px);
482
+ }
483
+
484
+ .h3 {
485
+ font-size: var(--textMediumSize, 24px);
486
+ }
487
+
488
+ .h5 {
489
+ font-size: var(--textSmallTitle, 18px);
476
490
  }
477
491
 
478
492
  a,
@@ -491,12 +505,16 @@ a.light,
491
505
  .stable,
492
506
  a.stable,
493
507
  .color-stable {
494
- color: var(--colorStable50, #b5b5b5);
508
+ color: var(--colorStable40, #cfcfcf);
509
+ }
510
+
511
+ .color-stable:active {
512
+ color: var(--colorStable70, #717171);
495
513
  }
496
514
 
497
515
  /* Login */
498
516
  .login-bg {
499
- background: var(--colorDefault30, #5D3E8B);
517
+ background: var(--colorDefault30, #5d3e8b);
500
518
  }
501
519
 
502
520
  .login-mobile .button.button-positive,
@@ -581,7 +599,6 @@ a.stable,
581
599
  }
582
600
 
583
601
  /*Buttons*/
584
-
585
602
  /*Default*/
586
603
  .button.button-default {
587
604
  background: var(--colorDefault40, #442b69);
@@ -593,7 +610,7 @@ a.stable,
593
610
 
594
611
  .button.button-default:active,
595
612
  .button.button-default-actived {
596
- background: var(--colorDefault60, #32204d);
613
+ background: var(--colorDefault70, #25183a);
597
614
  }
598
615
 
599
616
  /*Positive*/
@@ -633,7 +650,7 @@ a.stable,
633
650
  }
634
651
 
635
652
  .button.button-calm:active {
636
- background: var(--colorCalm60, #64acd7);
653
+ background: var(--colorCalm70, #6593ae);
637
654
  }
638
655
 
639
656
  /*Warning*/
@@ -676,7 +693,6 @@ a.stable,
676
693
  }
677
694
 
678
695
  /* Light - Outline */
679
-
680
696
  .button.button-light.button-outline span,
681
697
  .button.button-light.button-outline i {
682
698
  color: var(--colorLight50, #cdc2c2);
@@ -714,7 +730,6 @@ a.stable,
714
730
  }
715
731
 
716
732
  /*Dark*/
717
-
718
733
  .button.button-dark {
719
734
  background: var(--colorDark40, #343434);
720
735
  }
@@ -738,11 +753,6 @@ a.stable,
738
753
  }
739
754
 
740
755
  /* Rodapé com ícone */
741
-
742
- .tabs-striped.background-default .tabs {
743
- background: var(--textColorDefault40, #fffef9);
744
- }
745
-
746
756
  .tabs-striped.tabs-icon-default .tab-item {
747
757
  color: var(--textColorDefault40, #fffef9);
748
758
  background: var(--colorDefault40, #442b69);
@@ -758,6 +768,9 @@ a.stable,
758
768
  background: var(--colorDefault20, #b9abce);
759
769
  }
760
770
 
771
+ #menu-blue .item:active {
772
+ background: var(--colorDefault60, #6c5b87);
773
+ }
761
774
 
762
775
  .login-mobile .button.button-light {
763
776
  background: var(--colorDefault40, #442b69);
@@ -769,14 +782,13 @@ a.stable,
769
782
  width: 200px;
770
783
  }
771
784
 
772
-
773
785
  a#reset-password-login {
774
786
  color: var(--colorNeutral00, #FFFFFF);
775
787
  text-align: center;
776
788
  }
777
789
 
778
790
  .login-mobile .button.button-light:hover {
779
- background: var(--colorDefault50, #3c265c);
791
+ background: var(--colorDefault20, #b9abce);
780
792
  color: var(--textColorWarning40, #fffef9);
781
793
  }
782
794
 
@@ -839,7 +851,6 @@ input::-ms-input-placeholder {
839
851
  background: var(--backgroundColor10, #fffef9);
840
852
  }
841
853
 
842
-
843
854
  .item-input-wrapper {
844
855
  background: var(--backgroundColor40, #f2f2f2);
845
856
  }
@@ -885,7 +896,6 @@ button#crn-button-signup:hover {
885
896
  }
886
897
 
887
898
  /* Buttons search */
888
-
889
899
  /*Default*/
890
900
  .button.button-default.button-outline {
891
901
  background: var(--colorDefault40, #442b69);
@@ -902,7 +912,7 @@ button#crn-button-signup:hover {
902
912
  }
903
913
 
904
914
  .button.button-default.button-outline:active {
905
- background: var(--colorDefault60, #32204d);
915
+ background: var(--colorDefault70, #25183a);
906
916
  }
907
917
 
908
918
  .button.button-default.button-outline i {
@@ -1093,7 +1103,6 @@ button#crn-button-signup:hover {
1093
1103
  color: var(--textColorRoyal40, #fffef9);
1094
1104
  }
1095
1105
 
1096
-
1097
1106
  /*Dark*/
1098
1107
  .button.button-dark.button-outline {
1099
1108
  background: var(--colorDark40, #343434);
@@ -1117,7 +1126,6 @@ button#crn-button-signup:hover {
1117
1126
  color: var(--textColorDark40, #fffef9);
1118
1127
  }
1119
1128
 
1120
-
1121
1129
  .font-size-200 i {
1122
1130
  font-size: 10px;
1123
1131
  }
@@ -1142,10 +1150,14 @@ button#crn-button-signup:hover {
1142
1150
  button#crn-button-signup {
1143
1151
  letter-spacing: 0px;
1144
1152
  border-radius: 20px;
1145
- margin: 0px;
1153
+ margin: auto;
1146
1154
  height: 47px;
1147
1155
  }
1148
1156
 
1157
+ button#crn-button-signup:hover {
1158
+ background: var(--colorDefault20, #b9abce);
1159
+ border-radius: 20px;
1160
+ }
1149
1161
 
1150
1162
  /*Colors Evaluation*/
1151
1163
  .default {
@@ -1195,7 +1207,7 @@ button#crn-button-signup {
1195
1207
  }
1196
1208
 
1197
1209
  .color-default:active {
1198
- color: var(--colorDefault60, #32204d);
1210
+ color: var(--colorDefault70, #25183a);
1199
1211
  }
1200
1212
 
1201
1213
  /*Success*/
@@ -1354,63 +1366,62 @@ button#crn-button-signup {
1354
1366
  }
1355
1367
 
1356
1368
  /*Toggles*/
1357
-
1358
1369
  /*Default*/
1359
- .totggle.toggle-default input:checked+.track {
1370
+ .toggle.toggle-default input:checked+.track {
1360
1371
  background: var(--colorDefault40, #442b69);
1361
1372
  border-color: var(--colorDefault40, #442b69);
1362
1373
  }
1363
1374
 
1364
1375
  /*Secundary*/
1365
- .totggle.toggle-positive input:checked+.track {
1376
+ .toggle.toggle-positive input:checked+.track {
1366
1377
  background: var(--colorPrimary40, #68afd9);
1367
1378
  border-color: var(--colorPrimary40, #68afd9);
1368
1379
  }
1369
1380
 
1370
1381
  /*Success*/
1371
- .totggle.toggle-balanced input:checked+.track {
1382
+ .toggle.toggle-balanced input:checked+.track {
1372
1383
  background: var(--colorSuccess40, #62a86b);
1373
1384
  border-color: var(--colorSuccess40, #62a86b);
1374
1385
  }
1375
1386
 
1376
1387
  /*Info*/
1377
- .totggle.toggle-calm input:checked+.track {
1388
+ .toggle.toggle-calm input:checked+.track {
1378
1389
  background: var(--colorCalm40, #8ac8ee);
1379
1390
  border-color: var(--colorCalm40, #8ac8ee);
1380
1391
  }
1381
1392
 
1382
1393
  /*Warning*/
1383
- .totggle.toggle-energized input:checked+.track {
1394
+ .toggle.toggle-energized input:checked+.track {
1384
1395
  background: var(--colorWarning40, #e98053);
1385
1396
  border-color: var(--colorWarning40, #e98053);
1386
1397
  }
1387
1398
 
1388
1399
  /*Danger*/
1389
- .totggle.toggle-assertive input:checked+.track {
1400
+ .toggle.toggle-assertive input:checked+.track {
1390
1401
  background: var(--colorDanger40, #e34646);
1391
1402
  border-color: var(--colorDanger40, #e34646);
1392
1403
  }
1393
1404
 
1394
1405
  /*Light*/
1395
- .totggle.toggle-light input:checked+.track {
1406
+ .toggle.toggle-light input:checked+.track {
1396
1407
  background: var(--colorLight40, #eadede);
1397
1408
  border-color: var(--colorLight40, #eadede);
1398
1409
  }
1399
1410
 
1400
1411
  /*Stable*/
1401
- .totggle.toggle-stable input:checked+.track {
1412
+ .toggle.toggle-stable input:checked+.track {
1402
1413
  background: var(--colorStable40, #cfcfcf);
1403
1414
  border-color: var(--colorStable40, #cfcfcf);
1404
1415
  }
1405
1416
 
1406
1417
  /*Royal*/
1407
- .totggle.toggle-royal input:checked+.track {
1418
+ .toggle.toggle-royal input:checked+.track {
1408
1419
  background: var(--colorRoyal40, #2f1a4f);
1409
1420
  border-color: var(--colorRoyal40, #2f1a4f);
1410
1421
  }
1411
1422
 
1412
1423
  /*Dark*/
1413
- .totggle.toggle-dark input:checked+.track {
1424
+ .toggle.toggle-dark input:checked+.track {
1414
1425
  background: var(--colorDark40, #343434);
1415
1426
  border-color: var(--colorDark40, #343434);
1416
1427
  }
@@ -1484,7 +1495,6 @@ div.crn-ion-segment-classic ul.active-background-dark li.active {
1484
1495
  }
1485
1496
 
1486
1497
  /*Modais*/
1487
-
1488
1498
  .k-dialog-button-layout-stretched .k-primary:not(:hover):not(.k-state-hover):not(:active):not(.k-state-active) {
1489
1499
  color: var(--textColorDefault40, #fffef9);
1490
1500
  background: var(--colorPrimary40, #68afd9);
@@ -1534,7 +1544,6 @@ button.k-primary:active {
1534
1544
  display: block;
1535
1545
  }
1536
1546
 
1537
-
1538
1547
  .k-dialog[data-dialog-type="info"] .k-dialog-titlebar,
1539
1548
  .k-dialog[data-dialog-type="info"] .k-dialog-title,
1540
1549
  .k-dialog[data-dialog-type="info"] .k-dialog-titlebar:before {
@@ -1542,4 +1551,211 @@ button.k-primary:active {
1542
1551
  color: var(--colorCalm40, #8ac8ee);
1543
1552
  text-align: center;
1544
1553
  display: block;
1554
+ }
1555
+
1556
+ .k-dialog-button-layout-stretched .k-primary:not(:hover):not(.k-state-hover):not(:active):not(.k-state-active),
1557
+ .k-dialog-button-layout-stretched .k-primary:active {
1558
+ background: var(--colorPrimary40, #68afd9) !important;
1559
+ }
1560
+
1561
+ .k-button:not(:hover):not(.k-state-hover):not(:active):not(.k-state-active) {
1562
+ background: var(--colorDanger40, #e34646) !important;
1563
+ color: var(--textColorDanger40, #fffef9) !important;
1564
+ }
1565
+
1566
+ /*Menu and Footer Bar*/
1567
+ /*Default*/
1568
+ .bar.bar-default.bar-footer,
1569
+ .bar.bar-default {
1570
+ border-color: var(--colorDefault40, #442b69);
1571
+ background: var(--colorDefault40, #442b69);
1572
+ color: var(--textColorDefault40, #fffef9);
1573
+ }
1574
+
1575
+ /*Secundary*/
1576
+ .bar.bar-positive.bar-footer,
1577
+ .bar.bar-positive {
1578
+ border-color: var(--colorPrimary40, #68afd9);
1579
+ background: var(--colorPrimary40, #68afd9);
1580
+ color: var(--textColorPrimary40, #fffef9);
1581
+ }
1582
+
1583
+ /*Success*/
1584
+ .bar.bar-balanced.bar-footer,
1585
+ .bar.bar-balanced {
1586
+ border-color: var(--colorSuccess40, #62a86b);
1587
+ background: var(--colorSuccess40, #62a86b);
1588
+ color: var(--textColorSuccess40, #fffef9);
1589
+ }
1590
+
1591
+ /*Info*/
1592
+ .bar.bar-calm.bar-footer,
1593
+ .bar.bar-calm {
1594
+ border-color: var(--colorCalm40, #8ac8ee);
1595
+ background: var(--colorCalm40, #8ac8ee);
1596
+ color: var(--textColorCalm40, #fffef9);
1597
+ }
1598
+
1599
+ /*Warning*/
1600
+ .bar.bar-energized.bar-footer,
1601
+ .bar.bar-energized {
1602
+ border-color: var(--colorWarning40, #e98053);
1603
+ background: var(--colorWarning40, #e98053);
1604
+ color: var(--textColorWarning40, #fffef9);
1605
+ }
1606
+
1607
+ /*Danger*/
1608
+ .bar.bar-assertive.bar-footer,
1609
+ .bar.bar-assertive {
1610
+ border-color: var(--colorDanger40, #e34646);
1611
+ background: var(--colorDanger40, #e34646);
1612
+ color: var(--textColorDanger40, #fffef9);
1613
+ }
1614
+
1615
+ /*Light*/
1616
+ .bar.bar-light.bar-footer,
1617
+ .bar.bar-light {
1618
+ border-color: var(--colorLight40, #eadede);
1619
+ background: var(--colorLight40, #eadede);
1620
+ color: var(--textColorLight40, #434343);
1621
+ }
1622
+
1623
+ /*Stable*/
1624
+ .bar.bar-stable.bar-footer,
1625
+ .bar.bar-stable {
1626
+ border-color: var(--colorStable40, #cfcfcf);
1627
+ background: var(--colorStable40, #cfcfcf);
1628
+ color: var(--textColorStable40, #434343);
1629
+ }
1630
+
1631
+ /*Royal*/
1632
+ .bar.bar-royal.bar-footer,
1633
+ .bar.bar-royal {
1634
+ border-color: var(--colorRoyal40, #2f1a4f);
1635
+ background: var(--colorRoyal40, #2f1a4f);
1636
+ color: var(--textColorRoyal40, #fffef9);
1637
+ }
1638
+
1639
+ /*Dark*/
1640
+ .bar.bar-dark.bar-footer,
1641
+ .bar.bar-dark {
1642
+ border-color: var(--colorDark40, #343434);
1643
+ background: var(--colorDark40, #343434);
1644
+ color: var(--textColorDark40, #fffef9);
1645
+ }
1646
+
1647
+ /* Final menu and footer bar*/
1648
+
1649
+ /*Menu icons*/
1650
+ .tabs-striped.background-stable .tabs {
1651
+ background: transparent;
1652
+ }
1653
+
1654
+ /*Default*/
1655
+ .tabs-striped.tabs-icon-default .tab-item.active {
1656
+ color: var(--textColorDefault40, #fffef9);
1657
+ }
1658
+
1659
+ /*Secundary*/
1660
+ .tabs-striped.tabs-icon-positive .tab-item {
1661
+ background: var(--colorPrimary40, #68afd9);
1662
+ color: var(--textColorPrimary40, #fffef9);
1663
+ opacity: 0.5;
1664
+ }
1665
+
1666
+ .tabs-striped.tabs-icon-positive .tab-item.active {
1667
+ color: var(--textColorPrimary40, #fffef9);
1668
+ }
1669
+
1670
+ /*Success*/
1671
+ .tabs-striped.tabs-icon-balanced .tab-item {
1672
+ background: var(--colorSuccess40, #62a86b);
1673
+ color: var(--textColorSuccess40, #fffef9);
1674
+ opacity: 0.5;
1675
+ }
1676
+
1677
+ .tabs-striped.tabs-icon-balanced .tab-item.active {
1678
+ color: var(--textColorSuccess40, #fffef9);
1679
+ }
1680
+
1681
+ /*Info*/
1682
+ .tabs-striped.tabs-icon-calm .tab-item {
1683
+ background: var(--colorCalm40, #8ac8ee);
1684
+ color: var(--textColorCalm40, #fffef9);
1685
+ opacity: 0.5;
1686
+ }
1687
+
1688
+ .tabs-striped.tabs-icon-calm .tab-item.active {
1689
+ color: var(--textColorCalm40, #fffef9);
1690
+ }
1691
+
1692
+ /*Warning*/
1693
+ .tabs-striped.tabs-icon-energized .tab-item {
1694
+ background: var(--colorWarning40, #e98053);
1695
+ color: var(--textColorWarning40, #fffef9);
1696
+ opacity: 0.5;
1697
+ }
1698
+
1699
+ .tabs-striped.tabs-icon-warning .tab-item.active {
1700
+ color: var(--textColorWarning40, #fffef9);
1701
+ }
1702
+
1703
+ /*Danger*/
1704
+ .tabs-striped.tabs-icon-assertive .tab-item {
1705
+ background: var(--colorDanger40, #e34646);
1706
+ color: var(--textColorDanger40, #fffef9);
1707
+ opacity: 0.5;
1708
+ }
1709
+
1710
+ .tabs-striped.tabs-icon-assertive .tab-item.active {
1711
+ color: var(--textColorDanger40, #fffef9);
1712
+ }
1713
+
1714
+ /*Light*/
1715
+ .tabs-striped.tabs-icon-light .tab-item {
1716
+ background: var(--colorLight40, #eadede);
1717
+ color: var(--textColorLight40, #434343);
1718
+ opacity: 0.5;
1719
+ }
1720
+
1721
+ .tabs-striped.tabs-icon-light .tab-item.active {
1722
+ color: var(--textColorLight40, #434343);
1723
+ }
1724
+
1725
+ /*Stable*/
1726
+ .tabs-striped.tabs-icon-stable .tab-item {
1727
+ background: var(--colorStable40, #cfcfcf);
1728
+ color: var(--textColorStable40, #434343);
1729
+ opacity: 0.5;
1730
+ }
1731
+
1732
+ .tabs-striped.tabs-icon-stable .tab-item.active {
1733
+ color: var(--textColorStable40, #434343);
1734
+ }
1735
+
1736
+ /*Royal*/
1737
+ .tabs-striped.tabs-icon-royal .tab-item {
1738
+ background: var(--colorRoyal40, #2f1a4f);
1739
+ color: var(--textColorRoyal40, #fffef9);
1740
+ opacity: 0.5;
1741
+ }
1742
+
1743
+ .tabs-striped.tabs-icon-royal .tab-item.active {
1744
+ color: var(--textColorRoyal40, #fffef9);
1745
+ }
1746
+
1747
+ /*Dark*/
1748
+ .tabs-striped.tabs-icon-dark .tab-item {
1749
+ background: var(--colorDark40, #343434);
1750
+ color: var(--textColorDark40, #fffef9);
1751
+ opacity: 0.5;
1752
+ }
1753
+
1754
+ .tabs-striped.tabs-icon-dark .tab-item.active {
1755
+ color: var(--textColorDark40, #fffef9);
1756
+ }
1757
+
1758
+ /*Slider*/
1759
+ .slider {
1760
+ margin-left:50px;
1545
1761
  }