@wizishop/angular-components 0.0.55 → 0.0.59

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.
@@ -687,44 +687,37 @@ $wac-color-success-popup-alert: #6DCC95!default;
687
687
  }
688
688
 
689
689
  }
690
- .wac-snackbar {
691
- .notification {
692
- position: fixed;
693
- bottom: 0;
694
- width: 800px;
695
- color: #fff;
696
- font-size: 15px;
697
- font-weight: 300;
698
- margin: 0 auto;
699
- left: 0;
700
- right: 0;
701
- z-index: 10;
702
- }
703
-
704
- .notification.is-transparent {
705
- background-color: rgba(0, 0, 0, 0.8);
706
- }
690
+ .wac-settings {
691
+ width: 40px;
692
+ height: 40px;
707
693
 
708
- .notification button {
709
- word-wrap: break-word;
710
- word-break: break-all;
711
- white-space: normal;
712
- height: 100%;
713
- margin-right: 1em;
714
- }
694
+ &__wrapper {
695
+ @include flexbox();
696
+ @include justify-content(center);
697
+ @include align-items(center);
698
+ width: 100%;
699
+ height: 100%;
700
+ border-radius: 3px;
701
+ background-color: $wac-gray-background;
702
+ transition: background-color 0.3s ease-in-out;
715
703
 
716
- .notification .column:nth-child(2) {
717
- text-align: right;
704
+ i {
705
+ color: $wac-second-color;
706
+ font-size: 15px;
707
+ line-height: 0;
708
+ transition: color 0.3s ease-in-out;
718
709
  }
719
710
 
720
- .notification .column:nth-child(1) {
721
- text-align: left;
722
- }
711
+ &:hover {
712
+ background-color: $wac-second-color;
713
+ transition: background-color 0.3s ease-in-out;
723
714
 
724
- .notification--message {
725
- align-self: center;
715
+ i {
716
+ color: $wac-white;
717
+ transition: color 0.3s ease-in-out;
718
+ }
726
719
  }
727
-
720
+ }
728
721
  }
729
722
  .wac-block {
730
723
  background-color: $white;
@@ -836,64 +829,44 @@ $wac-color-success-popup-alert: #6DCC95!default;
836
829
  }
837
830
  }
838
831
  }
839
- .wac-state {
840
- width: 12px;
841
- height: 12px;
842
- position: relative;
843
-
844
- &:before,
845
- &:after {
846
- position: absolute;
847
- content: '';
848
- border-radius: 45px;
849
- }
850
-
851
- &:before {
852
- width: 100%;
853
- height: 100%;
854
- left: 0;
855
- top: 0;
856
- border-width: 1px;
857
- border-style: solid;
858
- }
859
-
860
- &:after {
861
- width: 6px;
862
- height: 6px;
863
- top: 50%;
864
- left: 50%;
865
- transform: translate(-50%, -50%);
866
- }
867
-
868
- &.success {
869
- &:before {
870
- border-color: $wac-green-color;
832
+ .wac-snackbar {
833
+ .notification {
834
+ position: fixed;
835
+ bottom: 0;
836
+ width: 800px;
837
+ color: #fff;
838
+ font-size: 15px;
839
+ font-weight: 300;
840
+ margin: 0 auto;
841
+ left: 0;
842
+ right: 0;
843
+ z-index: 10;
871
844
  }
872
845
 
873
- &:after {
874
- background-color: $wac-green-color;
846
+ .notification.is-transparent {
847
+ background-color: rgba(0, 0, 0, 0.8);
875
848
  }
876
- }
877
849
 
878
- &.warning {
879
- &:before {
880
- border-color: $wac-warning-color;
850
+ .notification button {
851
+ word-wrap: break-word;
852
+ word-break: break-all;
853
+ white-space: normal;
854
+ height: 100%;
855
+ margin-right: 1em;
881
856
  }
882
857
 
883
- &:after {
884
- background-color: $wac-warning-color;
858
+ .notification .column:nth-child(2) {
859
+ text-align: right;
885
860
  }
886
- }
887
861
 
888
- &.error {
889
- &:before {
890
- border-color: $wac-primary-button;
862
+ .notification .column:nth-child(1) {
863
+ text-align: left;
891
864
  }
892
865
 
893
- &:after {
894
- background-color: $wac-primary-button;
866
+ .notification--message {
867
+ align-self: center;
895
868
  }
896
- }
869
+
897
870
  }
898
871
  .wac-calendar {
899
872
  position: relative;
@@ -1440,35 +1413,62 @@ $wac-color-success-popup-alert: #6DCC95!default;
1440
1413
  .datetimepicker .datetimepicker-footer {
1441
1414
  display: none;
1442
1415
  }
1443
- .wac-settings {
1444
- width: 40px;
1445
- height: 40px;
1416
+ .wac-state {
1417
+ width: 12px;
1418
+ height: 12px;
1419
+ position: relative;
1446
1420
 
1447
- &__wrapper {
1448
- @include flexbox();
1449
- @include justify-content(center);
1450
- @include align-items(center);
1421
+ &:before,
1422
+ &:after {
1423
+ position: absolute;
1424
+ content: '';
1425
+ border-radius: 45px;
1426
+ }
1427
+
1428
+ &:before {
1451
1429
  width: 100%;
1452
1430
  height: 100%;
1453
- border-radius: 3px;
1454
- background-color: $wac-gray-background;
1455
- transition: background-color 0.3s ease-in-out;
1431
+ left: 0;
1432
+ top: 0;
1433
+ border-width: 1px;
1434
+ border-style: solid;
1435
+ }
1456
1436
 
1457
- i {
1458
- color: $wac-second-color;
1459
- font-size: 15px;
1460
- line-height: 0;
1461
- transition: color 0.3s ease-in-out;
1437
+ &:after {
1438
+ width: 6px;
1439
+ height: 6px;
1440
+ top: 50%;
1441
+ left: 50%;
1442
+ transform: translate(-50%, -50%);
1443
+ }
1444
+
1445
+ &.success {
1446
+ &:before {
1447
+ border-color: $wac-green-color;
1462
1448
  }
1463
1449
 
1464
- &:hover {
1465
- background-color: $wac-second-color;
1466
- transition: background-color 0.3s ease-in-out;
1450
+ &:after {
1451
+ background-color: $wac-green-color;
1452
+ }
1453
+ }
1467
1454
 
1468
- i {
1469
- color: $wac-white;
1470
- transition: color 0.3s ease-in-out;
1471
- }
1455
+ &.warning {
1456
+ &:before {
1457
+ border-color: $wac-warning-color;
1458
+ }
1459
+
1460
+ &:after {
1461
+ background-color: $wac-warning-color;
1462
+ }
1463
+ }
1464
+
1465
+ &.error {
1466
+ &:before {
1467
+ border-color: $wac-primary-button;
1468
+ }
1469
+
1470
+ &:after {
1471
+ background-color: $wac-primary-button;
1472
1472
  }
1473
1473
  }
1474
1474
  }
@@ -1662,173 +1662,87 @@ $wac-color-success-popup-alert: #6DCC95!default;
1662
1662
  }
1663
1663
  }
1664
1664
  }
1665
- .wac-edit-in-place.nwb-wrapper {
1665
+ .wac-dropdown {
1666
1666
  display: inline-block;
1667
- position: relative;
1668
- width: auto;
1669
- min-width: 12px;
1670
- min-height: 1.4em;
1671
-
1672
- input {
1673
- font-size: inherit;
1674
- transition: width 50ms;
1675
- position: absolute;
1676
- top: 0;
1677
- left: -5px;
1678
- width: calc(100% + 16px) !important;
1679
- height: calc(100% + 14px) !important;
1680
- padding: 5px;
1681
- z-index: 1;
1682
- margin: 0;
1683
- outline: none !important;
1684
- border: 1px solid $wac-edit-in-place-border;
1685
- background: inherit;
1686
- transform: translateY(-17%);
1687
- background-color: $wac-edit-in-place-background;
1688
-
1689
- &.nwb-editable {
1690
- text-decoration: none;
1691
- color: inherit;
1692
- border: none;
1693
- cursor: pointer;
1694
- height: 26px;
1695
- }
1696
-
1697
- &.nwb-editing {
1698
- color: $wac-edit-in-place-border;
1699
- }
1700
- }
1701
-
1702
- div.select {
1703
- position: absolute;
1704
- left: 0;
1705
-
1706
- &:before,
1707
- &:after {
1708
- display: block;
1709
- position: absolute;
1710
- height: 10px;
1711
- width: 10px;
1712
- }
1713
- }
1714
-
1715
- span.nwb-loader {
1716
- &.nwb-is-loading {
1717
- z-index: 2;
1718
- opacity: 1;
1719
- position: absolute;
1720
- top: -7px;
1721
- left: -7px;
1722
- width: calc(100% + 16px) !important;
1723
- height: calc(100% + 14px) !important;
1724
- min-width: 12px;
1725
- min-height: 1em;
1726
- margin: 0;
1727
- background-size: auto 70%;
1728
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30px' height='30px' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid' class='lds-ellipsis' style='background: none;'%3E%3C!--circle(cx='16',cy='50',r='10')--%3E%3Ccircle cx='84' cy='50' r='0' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='10;0;0;0;0' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3Canimate attributeName='cx' values='84;84;84;84;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3C/circle%3E%3Ccircle cx='28.6338' cy='50' r='10' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='0;10;10;10;0' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='-1s'/%3E%3Canimate attributeName='cx' values='16;16;50;84;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='-1s'/%3E%3C/circle%3E%3Ccircle cx='16' cy='50' r='3.71582' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='0;10;10;10;0' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='-0.5s'/%3E%3Canimate attributeName='cx' values='16;16;50;84;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='-0.5s'/%3E%3C/circle%3E%3Ccircle cx='84' cy='50' r='6.28418' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='0;10;10;10;0' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3Canimate attributeName='cx' values='16;16;50;84;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3C/circle%3E%3Ccircle cx='62.6338' cy='50' r='10' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='0;0;10;10;10' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3Canimate attributeName='cx' values='16;16;16;50;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3C/circle%3E%3C/svg%3E");
1729
- background-repeat: no-repeat;
1730
- background-position: center center;
1731
- }
1732
- }
1733
- span {
1734
- color: inherit;
1735
- font-weight: 500;
1736
- &:not(.nwb-loader) {
1737
- display: inline-block;
1738
- min-width: 12px;
1739
- }
1740
- &.nwb-editing {
1741
- visibility: hidden;
1742
- }
1743
-
1744
- &.nwb-is-loading {
1745
- text-shadow: 0 0 0.5em rgba(0, 0, 0, 0.6);
1746
- color: rgba(0, 0, 0, 0.4);
1747
- opacity: 0.25;
1748
- }
1749
-
1750
- &.nwbSelect {
1751
- cursor: pointer;
1752
- }
1753
- }
1754
- }
1755
-
1756
- .wac-edit-in-place.nwb-wrapper--editable::after {
1757
- position: absolute;
1758
- content: '';
1759
- border-bottom: dashed 1px $wac-primary;
1760
- width: 100%;
1761
- bottom: 0;
1762
- left: 0;
1763
- }
1764
-
1765
- .wac-edit-in-place.nwbSelect {
1766
- &__container {
1767
- display: flex;
1768
- flex-direction: column;
1769
- position: absolute;
1770
- white-space: nowrap;
1771
- border: solid 1px rgba(0, 0, 0, 0.2);
1772
- box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
1773
- border-radius: 3px;
1774
- top: calc(100% + 7px);
1667
+ width: 40px;
1668
+ height: 40px;
1775
1669
 
1776
- &::before {
1777
- position: absolute;
1778
- top: -7px;
1779
- left: 9px;
1780
- content: '';
1781
- border-left: 7px solid transparent;
1782
- border-right: 7px solid transparent;
1783
- border-bottom: 7px solid $wac-edit-in-place-before-border-bottom;
1784
- border-bottom-color: rgba(0, 0, 0, 0.2);
1785
- display: inline-block;
1786
- }
1670
+ &__wrapper {
1671
+ @include flexbox();
1672
+ @include justify-content(center);
1673
+ @include align-items(center);
1674
+ width: 100%;
1675
+ height: 100%;
1676
+ position: relative;
1787
1677
 
1788
- &::after {
1789
- position: absolute;
1790
- top: -6px;
1791
- left: 10px;
1792
- content: '';
1793
- border-left: 6px solid transparent;
1794
- border-right: 6px solid transparent;
1795
- border-bottom: 6px solid $wac-white;
1796
- display: inline-block;
1678
+ &__icon {
1679
+ font-size: 30px;
1680
+ line-height: 18px;
1681
+ color: $wac-second-color;
1682
+ transition: color 0.3s ease, transform 0.3s ease;
1797
1683
  }
1798
1684
 
1799
- &__item {
1800
- border: none;
1801
- padding: 8px 10px;
1685
+ &__sublevel {
1686
+ position: absolute;
1687
+ width: 160px;
1688
+ top: 100%;
1689
+ right: 0;
1690
+ z-index: -1;
1691
+ opacity: 0;
1802
1692
  background-color: $wac-white;
1803
- cursor: pointer;
1804
- transition: all 0.3s ease-in-out;
1805
- z-index: 3;
1806
- font-size: rem(12);
1807
- text-align: left;
1808
- border-radius: 0;
1693
+ border-radius: rem(3);
1694
+ box-shadow: 0px 2px 5px $wac-info-box-shadow;
1695
+ visibility: hidden;
1696
+ transition: opacity 0.15s ease, z-index 0.15s ease, visibility 0s linear .16s;
1809
1697
 
1810
- &:hover {
1811
- background-color: darken($wac-white, 10%);
1812
- color: $wac-main-text;
1813
- transition: all 0.3s ease-in-out;
1814
- }
1698
+ &__container {
1699
+ padding: 10px 10px;
1700
+ border: 1px solid $wac-border-color;
1815
1701
 
1816
- &--selected,
1817
- &--selected:hover {
1818
- background-color: $wac-wizishop-blue;
1819
- color: $wac-white;
1820
- transition: all 0.3s ease-in-out;
1702
+ &__item {
1703
+ padding: 5.7px 10px;
1704
+ font-size: 14px;
1705
+ line-height: 24px;
1706
+ color: $wac-second-color;
1707
+ cursor: pointer;
1708
+ transition: background-color 0.3s ease, color 0.3s ease;
1709
+ display: flex;
1710
+ justify-content: flex-start;
1711
+ align-items: center;
1712
+ align-content: center;
1713
+
1714
+ i {
1715
+ min-width: 15px;
1716
+ margin-right: 5px;
1717
+ text-align: center;
1718
+ }
1719
+ span {
1720
+ white-space: nowrap;
1721
+ }
1722
+
1723
+ &:hover {
1724
+ background-color: $wac-gray-background;
1725
+ transition: background-color 0.3s ease, color 0.3s ease;
1726
+ color: $wac-input-active-color;
1727
+ }
1728
+ }
1821
1729
  }
1822
1730
  }
1823
- }
1824
1731
 
1825
- &__background {
1826
- position: fixed;
1827
- top: 0;
1828
- left: 0;
1829
- width: 100vw;
1830
- height: 100vh;
1831
- z-index: 2;
1732
+ &:hover {
1733
+ .wac-dropdown__wrapper__icon {
1734
+ color: $wac-wizishop-blue;
1735
+ transform: rotate(90deg);
1736
+ transition: color 0.3s ease, transform 0.3s ease;
1737
+ }
1738
+
1739
+ .wac-dropdown__wrapper__sublevel {
1740
+ visibility: visible;
1741
+ opacity: 1;
1742
+ z-index: 2;
1743
+ transition: visibility 0s ease 0s, opacity 0.3s ease .1s;
1744
+ }
1745
+ }
1832
1746
  }
1833
1747
  }
1834
1748
  .wac-tab {
@@ -3179,6 +3093,75 @@ span.wac-tooltip {
3179
3093
  }
3180
3094
  }
3181
3095
 
3096
+ &.deletePosition-center .wac-button__confirmDelete {
3097
+ left: 50%;
3098
+ transform: translateX(-50%) translateY(-1px);
3099
+ }
3100
+
3101
+ &.deletePosition-right .wac-button__confirmDelete {
3102
+ right: 0;
3103
+ transform: translateY(-1px);
3104
+ }
3105
+
3106
+ &.deletePosition-left .wac-button__confirmDelete {
3107
+ left: 0;
3108
+ transform: translateY(-1px);
3109
+ }
3110
+
3111
+ &__confirmDelete {
3112
+ overflow: hidden;
3113
+ max-width: 0;
3114
+ height: 40px;
3115
+ position: absolute;
3116
+ top: 0;
3117
+ z-index: 2;
3118
+ transition: .3s ease!important;
3119
+ border-radius: 3px;
3120
+
3121
+
3122
+ .is-success & {
3123
+ background-color: $wac-green-color;
3124
+ &:hover, &:focus {
3125
+ background-color: darken($wac-green-color, 15%);
3126
+ }
3127
+ }
3128
+ .is-danger & {
3129
+ background-color: $wac-primary-button;
3130
+ &:hover, &:focus {
3131
+ background-color: darken($wac-primary-button, 15%);
3132
+ }
3133
+ }
3134
+ &__text {
3135
+ position: absolute;
3136
+ top: 0;
3137
+ left: 50%;
3138
+ transform: translateX(-50%);
3139
+ width: auto;
3140
+ white-space: nowrap;
3141
+ height: rem(40);
3142
+ line-height: rem(40);
3143
+ color: $wac-white !important;
3144
+ padding: 0 20px;
3145
+ font-size: rem(14);
3146
+ opacity: 0;
3147
+ transition: .3s ease;
3148
+ }
3149
+ }
3150
+
3151
+ &.step-delete {
3152
+ i {
3153
+ transition: .3s ease!important;
3154
+ opacity: 0!important;
3155
+ }
3156
+ .wac-button__confirmDelete {
3157
+ transition: .6s ease .3s!important;
3158
+ &__text {
3159
+ opacity: 1;
3160
+ transition: .3s ease .9s;
3161
+ }
3162
+ }
3163
+ }
3164
+
3182
3165
  &.alone {
3183
3166
  padding: 7px 14.6px;
3184
3167
 
@@ -3663,6 +3646,39 @@ span.wac-tooltip {
3663
3646
  left: 14.6px;
3664
3647
  }
3665
3648
  }
3649
+
3650
+ &.opacity {
3651
+ min-width: rem(40);
3652
+ min-height: rem(40);
3653
+
3654
+ &.alone {
3655
+ display: flex;
3656
+ align-items: center;
3657
+ justify-content: center;
3658
+ }
3659
+
3660
+ &.is-success {
3661
+ i {
3662
+ color: $wac-green-color!important;
3663
+ }
3664
+ &:hover, &:focus {
3665
+ i {
3666
+ color: $wac-white!important;
3667
+ }
3668
+ }
3669
+ }
3670
+
3671
+ &.is-danger {
3672
+ i {
3673
+ color: $wac-primary-button!important;
3674
+ }
3675
+ &:hover, &:focus {
3676
+ i {
3677
+ color: $wac-white!important;
3678
+ }
3679
+ }
3680
+ }
3681
+ }
3666
3682
  }
3667
3683
  .wac-wrapper-blocs {
3668
3684
  &.sidebar {
@@ -3677,96 +3693,182 @@ span.wac-tooltip {
3677
3693
  width: 100%;
3678
3694
  }
3679
3695
  }
3680
- & > :last-child:not(:first-child) {
3681
- min-width: 340px;
3696
+ & > :last-child:not(:first-child) {
3697
+ min-width: 340px;
3698
+ }
3699
+ & > * {
3700
+ margin: 0 15px;
3701
+ }
3702
+ }
3703
+ }
3704
+ .wac-edit-in-place.nwb-wrapper {
3705
+ display: inline-block;
3706
+ position: relative;
3707
+ width: auto;
3708
+ min-width: 12px;
3709
+ min-height: 1.4em;
3710
+
3711
+ input {
3712
+ font-size: inherit;
3713
+ transition: width 50ms;
3714
+ position: absolute;
3715
+ top: 0;
3716
+ left: -5px;
3717
+ width: calc(100% + 16px) !important;
3718
+ height: calc(100% + 14px) !important;
3719
+ padding: 5px;
3720
+ z-index: 1;
3721
+ margin: 0;
3722
+ outline: none !important;
3723
+ border: 1px solid $wac-edit-in-place-border;
3724
+ background: inherit;
3725
+ transform: translateY(-17%);
3726
+ background-color: $wac-edit-in-place-background;
3727
+
3728
+ &.nwb-editable {
3729
+ text-decoration: none;
3730
+ color: inherit;
3731
+ border: none;
3732
+ cursor: pointer;
3733
+ height: 26px;
3734
+ }
3735
+
3736
+ &.nwb-editing {
3737
+ color: $wac-edit-in-place-border;
3738
+ }
3739
+ }
3740
+
3741
+ div.select {
3742
+ position: absolute;
3743
+ left: 0;
3744
+
3745
+ &:before,
3746
+ &:after {
3747
+ display: block;
3748
+ position: absolute;
3749
+ height: 10px;
3750
+ width: 10px;
3751
+ }
3752
+ }
3753
+
3754
+ span.nwb-loader {
3755
+ &.nwb-is-loading {
3756
+ z-index: 2;
3757
+ opacity: 1;
3758
+ position: absolute;
3759
+ top: -7px;
3760
+ left: -7px;
3761
+ width: calc(100% + 16px) !important;
3762
+ height: calc(100% + 14px) !important;
3763
+ min-width: 12px;
3764
+ min-height: 1em;
3765
+ margin: 0;
3766
+ background-size: auto 70%;
3767
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30px' height='30px' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid' class='lds-ellipsis' style='background: none;'%3E%3C!--circle(cx='16',cy='50',r='10')--%3E%3Ccircle cx='84' cy='50' r='0' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='10;0;0;0;0' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3Canimate attributeName='cx' values='84;84;84;84;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3C/circle%3E%3Ccircle cx='28.6338' cy='50' r='10' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='0;10;10;10;0' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='-1s'/%3E%3Canimate attributeName='cx' values='16;16;50;84;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='-1s'/%3E%3C/circle%3E%3Ccircle cx='16' cy='50' r='3.71582' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='0;10;10;10;0' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='-0.5s'/%3E%3Canimate attributeName='cx' values='16;16;50;84;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='-0.5s'/%3E%3C/circle%3E%3Ccircle cx='84' cy='50' r='6.28418' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='0;10;10;10;0' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3Canimate attributeName='cx' values='16;16;50;84;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3C/circle%3E%3Ccircle cx='62.6338' cy='50' r='10' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='0;0;10;10;10' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3Canimate attributeName='cx' values='16;16;16;50;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3C/circle%3E%3C/svg%3E");
3768
+ background-repeat: no-repeat;
3769
+ background-position: center center;
3770
+ }
3771
+ }
3772
+ span {
3773
+ color: inherit;
3774
+ font-weight: 500;
3775
+ &:not(.nwb-loader) {
3776
+ display: inline-block;
3777
+ min-width: 12px;
3778
+ }
3779
+ &.nwb-editing {
3780
+ visibility: hidden;
3682
3781
  }
3683
- & > * {
3684
- margin: 0 15px;
3782
+
3783
+ &.nwb-is-loading {
3784
+ text-shadow: 0 0 0.5em rgba(0, 0, 0, 0.6);
3785
+ color: rgba(0, 0, 0, 0.4);
3786
+ opacity: 0.25;
3787
+ }
3788
+
3789
+ &.nwbSelect {
3790
+ cursor: pointer;
3685
3791
  }
3686
3792
  }
3687
3793
  }
3688
- .wac-dropdown {
3689
- display: inline-block;
3690
- width: 40px;
3691
- height: 40px;
3692
3794
 
3693
- &__wrapper {
3694
- @include flexbox();
3695
- @include justify-content(center);
3696
- @include align-items(center);
3697
- width: 100%;
3698
- height: 100%;
3699
- position: relative;
3795
+ .wac-edit-in-place.nwb-wrapper--editable::after {
3796
+ position: absolute;
3797
+ content: '';
3798
+ border-bottom: dashed 1px $wac-primary;
3799
+ width: 100%;
3800
+ bottom: 0;
3801
+ left: 0;
3802
+ }
3700
3803
 
3701
- &__icon {
3702
- font-size: 30px;
3703
- line-height: 18px;
3704
- color: $wac-second-color;
3705
- transition: color 0.3s ease, transform 0.3s ease;
3706
- }
3804
+ .wac-edit-in-place.nwbSelect {
3805
+ &__container {
3806
+ display: flex;
3807
+ flex-direction: column;
3808
+ position: absolute;
3809
+ white-space: nowrap;
3810
+ border: solid 1px rgba(0, 0, 0, 0.2);
3811
+ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
3812
+ border-radius: 3px;
3813
+ top: calc(100% + 7px);
3707
3814
 
3708
- &__sublevel {
3815
+ &::before {
3709
3816
  position: absolute;
3710
- width: 160px;
3711
- top: 100%;
3712
- right: 0;
3713
- z-index: -1;
3714
- opacity: 0;
3715
- background-color: $wac-white;
3716
- border-radius: rem(3);
3717
- box-shadow: 0px 2px 5px $wac-info-box-shadow;
3718
- visibility: hidden;
3719
- transition: opacity 0.15s ease, z-index 0.15s ease, visibility 0s linear .16s;
3720
-
3721
- &__container {
3722
- padding: 10px 10px;
3723
- border: 1px solid $wac-border-color;
3724
-
3725
- &__item {
3726
- padding: 5.7px 10px;
3727
- font-size: 14px;
3728
- line-height: 24px;
3729
- color: $wac-second-color;
3730
- cursor: pointer;
3731
- transition: background-color 0.3s ease, color 0.3s ease;
3732
- display: flex;
3733
- justify-content: flex-start;
3734
- align-items: center;
3735
- align-content: center;
3736
-
3737
- i {
3738
- min-width: 15px;
3739
- margin-right: 5px;
3740
- text-align: center;
3741
- }
3742
- span {
3743
- white-space: nowrap;
3744
- }
3817
+ top: -7px;
3818
+ left: 9px;
3819
+ content: '';
3820
+ border-left: 7px solid transparent;
3821
+ border-right: 7px solid transparent;
3822
+ border-bottom: 7px solid $wac-edit-in-place-before-border-bottom;
3823
+ border-bottom-color: rgba(0, 0, 0, 0.2);
3824
+ display: inline-block;
3825
+ }
3745
3826
 
3746
- &:hover {
3747
- background-color: $wac-gray-background;
3748
- transition: background-color 0.3s ease, color 0.3s ease;
3749
- color: $wac-input-active-color;
3750
- }
3751
- }
3752
- }
3827
+ &::after {
3828
+ position: absolute;
3829
+ top: -6px;
3830
+ left: 10px;
3831
+ content: '';
3832
+ border-left: 6px solid transparent;
3833
+ border-right: 6px solid transparent;
3834
+ border-bottom: 6px solid $wac-white;
3835
+ display: inline-block;
3753
3836
  }
3754
3837
 
3755
- &:hover {
3756
- .wac-dropdown__wrapper__icon {
3757
- color: $wac-wizishop-blue;
3758
- transform: rotate(90deg);
3759
- transition: color 0.3s ease, transform 0.3s ease;
3838
+ &__item {
3839
+ border: none;
3840
+ padding: 8px 10px;
3841
+ background-color: $wac-white;
3842
+ cursor: pointer;
3843
+ transition: all 0.3s ease-in-out;
3844
+ z-index: 3;
3845
+ font-size: rem(12);
3846
+ text-align: left;
3847
+ border-radius: 0;
3848
+
3849
+ &:hover {
3850
+ background-color: darken($wac-white, 10%);
3851
+ color: $wac-main-text;
3852
+ transition: all 0.3s ease-in-out;
3760
3853
  }
3761
3854
 
3762
- .wac-dropdown__wrapper__sublevel {
3763
- visibility: visible;
3764
- opacity: 1;
3765
- z-index: 2;
3766
- transition: visibility 0s ease 0s, opacity 0.3s ease .1s;
3855
+ &--selected,
3856
+ &--selected:hover {
3857
+ background-color: $wac-wizishop-blue;
3858
+ color: $wac-white;
3859
+ transition: all 0.3s ease-in-out;
3767
3860
  }
3768
3861
  }
3769
3862
  }
3863
+
3864
+ &__background {
3865
+ position: fixed;
3866
+ top: 0;
3867
+ left: 0;
3868
+ width: 100vw;
3869
+ height: 100vh;
3870
+ z-index: 2;
3871
+ }
3770
3872
  }
3771
3873
  h1.wac-h1 {
3772
3874
  font-size: rem(30);
@@ -4796,6 +4898,56 @@ h4.wac-h4 {
4796
4898
  }
4797
4899
  }
4798
4900
  }
4901
+ div.wac-field-input-search {
4902
+ padding: 20px;
4903
+ background-color: $wac-gray-background;
4904
+ &.small-padding {
4905
+ padding: 10px 20px;
4906
+ }
4907
+ p.control {
4908
+ .input,
4909
+ .input:focus,
4910
+ .input.is-focused,
4911
+ .input:active,
4912
+ .input.is-active {
4913
+ font-size: rem(14);
4914
+ color: $wac-main-text;
4915
+ border: rem(1) solid $wac-input-border-search;
4916
+ box-shadow: none;
4917
+ padding: rem(13.5) rem(20) rem(13.5) rem(48);
4918
+ border-radius: rem(3);
4919
+ margin: 0;
4920
+ height: auto;
4921
+ min-height: unset;
4922
+
4923
+ &::placeholder {
4924
+ color: $wac-placeholder-color;
4925
+ font-weight: normal;
4926
+ }
4927
+ }
4928
+
4929
+ .input:focus,
4930
+ .input.is-focused,
4931
+ .input:active,
4932
+ .input.is-active {
4933
+ border-color: $wac-wizishop-blue;
4934
+ }
4935
+
4936
+ .icon {
4937
+ position: absolute;
4938
+ top: 50%;
4939
+ left: 20px;
4940
+ font-size: rem(18);
4941
+ transform: translateY(-50%);
4942
+ pointer-events: none;
4943
+ font-weight: 400;
4944
+ color: $wac-placeholder-color;
4945
+ margin: 0;
4946
+ width: rem(18);
4947
+ height: rem(18);
4948
+ }
4949
+ }
4950
+ }
4799
4951
  .wac-input {
4800
4952
  .field-label {
4801
4953
  margin-bottom: 0!important;
@@ -5198,56 +5350,6 @@ h4.wac-h4 {
5198
5350
  color: $wac-green-color;
5199
5351
  font-size: rem(14);
5200
5352
  }
5201
- div.wac-field-input-search {
5202
- padding: 20px;
5203
- background-color: $wac-gray-background;
5204
- &.small-padding {
5205
- padding: 10px 20px;
5206
- }
5207
- p.control {
5208
- .input,
5209
- .input:focus,
5210
- .input.is-focused,
5211
- .input:active,
5212
- .input.is-active {
5213
- font-size: rem(14);
5214
- color: $wac-main-text;
5215
- border: rem(1) solid $wac-input-border-search;
5216
- box-shadow: none;
5217
- padding: rem(13.5) rem(20) rem(13.5) rem(48);
5218
- border-radius: rem(3);
5219
- margin: 0;
5220
- height: auto;
5221
- min-height: unset;
5222
-
5223
- &::placeholder {
5224
- color: $wac-placeholder-color;
5225
- font-weight: normal;
5226
- }
5227
- }
5228
-
5229
- .input:focus,
5230
- .input.is-focused,
5231
- .input:active,
5232
- .input.is-active {
5233
- border-color: $wac-wizishop-blue;
5234
- }
5235
-
5236
- .icon {
5237
- position: absolute;
5238
- top: 50%;
5239
- left: 20px;
5240
- font-size: rem(18);
5241
- transform: translateY(-50%);
5242
- pointer-events: none;
5243
- font-weight: 400;
5244
- color: $wac-placeholder-color;
5245
- margin: 0;
5246
- width: rem(18);
5247
- height: rem(18);
5248
- }
5249
- }
5250
- }
5251
5353
  .wac-info {
5252
5354
  display: inline-block;
5253
5355
  width: 40px;