@wizishop/angular-components 0.0.54 → 0.0.55

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,37 +687,44 @@ $wac-color-success-popup-alert: #6DCC95!default;
687
687
  }
688
688
 
689
689
  }
690
- .wac-settings {
691
- width: 40px;
692
- height: 40px;
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
+ }
693
703
 
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;
704
+ .notification.is-transparent {
705
+ background-color: rgba(0, 0, 0, 0.8);
706
+ }
703
707
 
704
- i {
705
- color: $wac-second-color;
706
- font-size: 15px;
707
- line-height: 0;
708
- transition: color 0.3s ease-in-out;
708
+ .notification button {
709
+ word-wrap: break-word;
710
+ word-break: break-all;
711
+ white-space: normal;
712
+ height: 100%;
713
+ margin-right: 1em;
709
714
  }
710
715
 
711
- &:hover {
712
- background-color: $wac-second-color;
713
- transition: background-color 0.3s ease-in-out;
716
+ .notification .column:nth-child(2) {
717
+ text-align: right;
718
+ }
714
719
 
715
- i {
716
- color: $wac-white;
717
- transition: color 0.3s ease-in-out;
718
- }
720
+ .notification .column:nth-child(1) {
721
+ text-align: left;
719
722
  }
720
- }
723
+
724
+ .notification--message {
725
+ align-self: center;
726
+ }
727
+
721
728
  }
722
729
  .wac-block {
723
730
  background-color: $white;
@@ -829,44 +836,64 @@ $wac-color-success-popup-alert: #6DCC95!default;
829
836
  }
830
837
  }
831
838
  }
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;
844
- }
839
+ .wac-state {
840
+ width: 12px;
841
+ height: 12px;
842
+ position: relative;
845
843
 
846
- .notification.is-transparent {
847
- background-color: rgba(0, 0, 0, 0.8);
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;
848
871
  }
849
872
 
850
- .notification button {
851
- word-wrap: break-word;
852
- word-break: break-all;
853
- white-space: normal;
854
- height: 100%;
855
- margin-right: 1em;
873
+ &:after {
874
+ background-color: $wac-green-color;
856
875
  }
876
+ }
857
877
 
858
- .notification .column:nth-child(2) {
859
- text-align: right;
878
+ &.warning {
879
+ &:before {
880
+ border-color: $wac-warning-color;
860
881
  }
861
882
 
862
- .notification .column:nth-child(1) {
863
- text-align: left;
883
+ &:after {
884
+ background-color: $wac-warning-color;
864
885
  }
886
+ }
865
887
 
866
- .notification--message {
867
- align-self: center;
888
+ &.error {
889
+ &:before {
890
+ border-color: $wac-primary-button;
868
891
  }
869
892
 
893
+ &:after {
894
+ background-color: $wac-primary-button;
895
+ }
896
+ }
870
897
  }
871
898
  .wac-calendar {
872
899
  position: relative;
@@ -1413,62 +1440,35 @@ $wac-color-success-popup-alert: #6DCC95!default;
1413
1440
  .datetimepicker .datetimepicker-footer {
1414
1441
  display: none;
1415
1442
  }
1416
- .wac-state {
1417
- width: 12px;
1418
- height: 12px;
1419
- position: relative;
1420
-
1421
- &:before,
1422
- &:after {
1423
- position: absolute;
1424
- content: '';
1425
- border-radius: 45px;
1426
- }
1443
+ .wac-settings {
1444
+ width: 40px;
1445
+ height: 40px;
1427
1446
 
1428
- &:before {
1447
+ &__wrapper {
1448
+ @include flexbox();
1449
+ @include justify-content(center);
1450
+ @include align-items(center);
1429
1451
  width: 100%;
1430
1452
  height: 100%;
1431
- left: 0;
1432
- top: 0;
1433
- border-width: 1px;
1434
- border-style: solid;
1435
- }
1436
-
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;
1448
- }
1449
-
1450
- &:after {
1451
- background-color: $wac-green-color;
1452
- }
1453
- }
1454
-
1455
- &.warning {
1456
- &:before {
1457
- border-color: $wac-warning-color;
1458
- }
1453
+ border-radius: 3px;
1454
+ background-color: $wac-gray-background;
1455
+ transition: background-color 0.3s ease-in-out;
1459
1456
 
1460
- &:after {
1461
- background-color: $wac-warning-color;
1457
+ i {
1458
+ color: $wac-second-color;
1459
+ font-size: 15px;
1460
+ line-height: 0;
1461
+ transition: color 0.3s ease-in-out;
1462
1462
  }
1463
- }
1464
1463
 
1465
- &.error {
1466
- &:before {
1467
- border-color: $wac-primary-button;
1468
- }
1464
+ &:hover {
1465
+ background-color: $wac-second-color;
1466
+ transition: background-color 0.3s ease-in-out;
1469
1467
 
1470
- &:after {
1471
- background-color: $wac-primary-button;
1468
+ i {
1469
+ color: $wac-white;
1470
+ transition: color 0.3s ease-in-out;
1471
+ }
1472
1472
  }
1473
1473
  }
1474
1474
  }
@@ -1662,88 +1662,174 @@ $wac-color-success-popup-alert: #6DCC95!default;
1662
1662
  }
1663
1663
  }
1664
1664
  }
1665
- .wac-dropdown {
1665
+ .wac-edit-in-place.nwb-wrapper {
1666
1666
  display: inline-block;
1667
- width: 40px;
1668
- height: 40px;
1667
+ position: relative;
1668
+ width: auto;
1669
+ min-width: 12px;
1670
+ min-height: 1.4em;
1669
1671
 
1670
- &__wrapper {
1671
- @include flexbox();
1672
- @include justify-content(center);
1673
- @include align-items(center);
1674
- width: 100%;
1675
- height: 100%;
1676
- position: relative;
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;
1677
1688
 
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;
1689
+ &.nwb-editable {
1690
+ text-decoration: none;
1691
+ color: inherit;
1692
+ border: none;
1693
+ cursor: pointer;
1694
+ height: 26px;
1683
1695
  }
1684
1696
 
1685
- &__sublevel {
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;
1686
1709
  position: absolute;
1687
- width: 160px;
1688
- top: 100%;
1689
- right: 0;
1690
- z-index: -1;
1691
- opacity: 0;
1692
- background-color: $wac-white;
1693
- border-radius: rem(3);
1694
- box-shadow: 0px 2px 5px $wac-info-box-shadow;
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 {
1695
1741
  visibility: hidden;
1696
- transition: opacity 0.15s ease, z-index 0.15s ease, visibility 0s linear .16s;
1742
+ }
1697
1743
 
1698
- &__container {
1699
- padding: 10px 10px;
1700
- border: 1px solid $wac-border-color;
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
+ }
1701
1749
 
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;
1750
+ &.nwbSelect {
1751
+ cursor: pointer;
1752
+ }
1753
+ }
1754
+ }
1713
1755
 
1714
- i {
1715
- min-width: 15px;
1716
- margin-right: 5px;
1717
- text-align: center;
1718
- }
1719
- span {
1720
- white-space: nowrap;
1721
- }
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
+ }
1722
1764
 
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
- }
1729
- }
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);
1775
+
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;
1730
1786
  }
1731
1787
 
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;
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;
1797
+ }
1798
+
1799
+ &__item {
1800
+ border: none;
1801
+ padding: 8px 10px;
1802
+ 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;
1809
+
1810
+ &:hover {
1811
+ background-color: darken($wac-white, 10%);
1812
+ color: $wac-main-text;
1813
+ transition: all 0.3s ease-in-out;
1737
1814
  }
1738
1815
 
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;
1816
+ &--selected,
1817
+ &--selected:hover {
1818
+ background-color: $wac-wizishop-blue;
1819
+ color: $wac-white;
1820
+ transition: all 0.3s ease-in-out;
1744
1821
  }
1745
1822
  }
1746
1823
  }
1824
+
1825
+ &__background {
1826
+ position: fixed;
1827
+ top: 0;
1828
+ left: 0;
1829
+ width: 100vw;
1830
+ height: 100vh;
1831
+ z-index: 2;
1832
+ }
1747
1833
  }
1748
1834
  .wac-tab {
1749
1835
  &__wrapper {
@@ -2998,6 +3084,11 @@ span.wac-tooltip {
2998
3084
  border-style: solid;
2999
3085
  border-width: 1px;
3000
3086
  border-radius: 3px;
3087
+ box-sizing: border-box;
3088
+
3089
+ * {
3090
+ box-sizing: border-box;
3091
+ }
3001
3092
 
3002
3093
  &.width-auto {
3003
3094
  display: inline-block;
@@ -3577,190 +3668,104 @@ span.wac-tooltip {
3577
3668
  &.sidebar {
3578
3669
  width: calc(100% + 30px);
3579
3670
  transform: translateX(-15px);
3580
- display: flex;
3581
- flex-wrap: nowrap;
3582
- align-items: flex-start;
3583
- align-content: flex-start;
3584
- & > :first-child {
3585
- @include media('>=desktop') {
3586
- width: 100%;
3587
- }
3588
- }
3589
- & > :last-child:not(:first-child) {
3590
- min-width: 340px;
3591
- }
3592
- & > * {
3593
- margin: 0 15px;
3594
- }
3595
- }
3596
- }
3597
- .wac-edit-in-place.nwb-wrapper {
3598
- display: inline-block;
3599
- position: relative;
3600
- width: auto;
3601
- min-width: 12px;
3602
- min-height: 1.4em;
3603
-
3604
- input {
3605
- font-size: inherit;
3606
- transition: width 50ms;
3607
- position: absolute;
3608
- top: 0;
3609
- left: -5px;
3610
- width: calc(100% + 16px) !important;
3611
- height: calc(100% + 14px) !important;
3612
- padding: 5px;
3613
- z-index: 1;
3614
- margin: 0;
3615
- outline: none !important;
3616
- border: 1px solid $wac-edit-in-place-border;
3617
- background: inherit;
3618
- transform: translateY(-17%);
3619
- background-color: $wac-edit-in-place-background;
3620
-
3621
- &.nwb-editable {
3622
- text-decoration: none;
3623
- color: inherit;
3624
- border: none;
3625
- cursor: pointer;
3626
- height: 26px;
3627
- }
3628
-
3629
- &.nwb-editing {
3630
- color: $wac-edit-in-place-border;
3631
- }
3632
- }
3633
-
3634
- div.select {
3635
- position: absolute;
3636
- left: 0;
3637
-
3638
- &:before,
3639
- &:after {
3640
- display: block;
3641
- position: absolute;
3642
- height: 10px;
3643
- width: 10px;
3644
- }
3645
- }
3646
-
3647
- span.nwb-loader {
3648
- &.nwb-is-loading {
3649
- z-index: 2;
3650
- opacity: 1;
3651
- position: absolute;
3652
- top: -7px;
3653
- left: -7px;
3654
- width: calc(100% + 16px) !important;
3655
- height: calc(100% + 14px) !important;
3656
- min-width: 12px;
3657
- min-height: 1em;
3658
- margin: 0;
3659
- background-size: auto 70%;
3660
- 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");
3661
- background-repeat: no-repeat;
3662
- background-position: center center;
3663
- }
3664
- }
3665
- span {
3666
- color: inherit;
3667
- font-weight: 500;
3668
- &:not(.nwb-loader) {
3669
- display: inline-block;
3670
- min-width: 12px;
3671
- }
3672
- &.nwb-editing {
3673
- visibility: hidden;
3671
+ display: flex;
3672
+ flex-wrap: nowrap;
3673
+ align-items: flex-start;
3674
+ align-content: flex-start;
3675
+ & > :first-child {
3676
+ @include media('>=desktop') {
3677
+ width: 100%;
3678
+ }
3674
3679
  }
3675
-
3676
- &.nwb-is-loading {
3677
- text-shadow: 0 0 0.5em rgba(0, 0, 0, 0.6);
3678
- color: rgba(0, 0, 0, 0.4);
3679
- opacity: 0.25;
3680
+ & > :last-child:not(:first-child) {
3681
+ min-width: 340px;
3680
3682
  }
3681
-
3682
- &.nwbSelect {
3683
- cursor: pointer;
3683
+ & > * {
3684
+ margin: 0 15px;
3684
3685
  }
3685
3686
  }
3686
3687
  }
3688
+ .wac-dropdown {
3689
+ display: inline-block;
3690
+ width: 40px;
3691
+ height: 40px;
3687
3692
 
3688
- .wac-edit-in-place.nwb-wrapper--editable::after {
3689
- position: absolute;
3690
- content: '';
3691
- border-bottom: dashed 1px $wac-primary;
3692
- width: 100%;
3693
- bottom: 0;
3694
- left: 0;
3695
- }
3696
-
3697
- .wac-edit-in-place.nwbSelect {
3698
- &__container {
3699
- display: flex;
3700
- flex-direction: column;
3701
- position: absolute;
3702
- white-space: nowrap;
3703
- border: solid 1px rgba(0, 0, 0, 0.2);
3704
- box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
3705
- border-radius: 3px;
3706
- top: calc(100% + 7px);
3693
+ &__wrapper {
3694
+ @include flexbox();
3695
+ @include justify-content(center);
3696
+ @include align-items(center);
3697
+ width: 100%;
3698
+ height: 100%;
3699
+ position: relative;
3707
3700
 
3708
- &::before {
3709
- position: absolute;
3710
- top: -7px;
3711
- left: 9px;
3712
- content: '';
3713
- border-left: 7px solid transparent;
3714
- border-right: 7px solid transparent;
3715
- border-bottom: 7px solid $wac-edit-in-place-before-border-bottom;
3716
- border-bottom-color: rgba(0, 0, 0, 0.2);
3717
- display: inline-block;
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;
3718
3706
  }
3719
3707
 
3720
- &::after {
3708
+ &__sublevel {
3721
3709
  position: absolute;
3722
- top: -6px;
3723
- left: 10px;
3724
- content: '';
3725
- border-left: 6px solid transparent;
3726
- border-right: 6px solid transparent;
3727
- border-bottom: 6px solid $wac-white;
3728
- display: inline-block;
3729
- }
3730
-
3731
- &__item {
3732
- border: none;
3733
- padding: 8px 10px;
3710
+ width: 160px;
3711
+ top: 100%;
3712
+ right: 0;
3713
+ z-index: -1;
3714
+ opacity: 0;
3734
3715
  background-color: $wac-white;
3735
- cursor: pointer;
3736
- transition: all 0.3s ease-in-out;
3737
- z-index: 3;
3738
- font-size: rem(12);
3739
- text-align: left;
3740
- border-radius: 0;
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;
3741
3720
 
3742
- &:hover {
3743
- background-color: darken($wac-white, 10%);
3744
- color: $wac-main-text;
3745
- transition: all 0.3s ease-in-out;
3746
- }
3721
+ &__container {
3722
+ padding: 10px 10px;
3723
+ border: 1px solid $wac-border-color;
3747
3724
 
3748
- &--selected,
3749
- &--selected:hover {
3750
- background-color: $wac-wizishop-blue;
3751
- color: $wac-white;
3752
- transition: all 0.3s ease-in-out;
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
+ }
3745
+
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
+ }
3753
3752
  }
3754
3753
  }
3755
- }
3756
3754
 
3757
- &__background {
3758
- position: fixed;
3759
- top: 0;
3760
- left: 0;
3761
- width: 100vw;
3762
- height: 100vh;
3763
- z-index: 2;
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;
3760
+ }
3761
+
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;
3767
+ }
3768
+ }
3764
3769
  }
3765
3770
  }
3766
3771
  h1.wac-h1 {
@@ -4791,56 +4796,6 @@ h4.wac-h4 {
4791
4796
  }
4792
4797
  }
4793
4798
  }
4794
- div.wac-field-input-search {
4795
- padding: 20px;
4796
- background-color: $wac-gray-background;
4797
- &.small-padding {
4798
- padding: 10px 20px;
4799
- }
4800
- p.control {
4801
- .input,
4802
- .input:focus,
4803
- .input.is-focused,
4804
- .input:active,
4805
- .input.is-active {
4806
- font-size: rem(14);
4807
- color: $wac-main-text;
4808
- border: rem(1) solid $wac-input-border-search;
4809
- box-shadow: none;
4810
- padding: rem(13.5) rem(20) rem(13.5) rem(48);
4811
- border-radius: rem(3);
4812
- margin: 0;
4813
- height: auto;
4814
- min-height: unset;
4815
-
4816
- &::placeholder {
4817
- color: $wac-placeholder-color;
4818
- font-weight: normal;
4819
- }
4820
- }
4821
-
4822
- .input:focus,
4823
- .input.is-focused,
4824
- .input:active,
4825
- .input.is-active {
4826
- border-color: $wac-wizishop-blue;
4827
- }
4828
-
4829
- .icon {
4830
- position: absolute;
4831
- top: 50%;
4832
- left: 20px;
4833
- font-size: rem(18);
4834
- transform: translateY(-50%);
4835
- pointer-events: none;
4836
- font-weight: 400;
4837
- color: $wac-placeholder-color;
4838
- margin: 0;
4839
- width: rem(18);
4840
- height: rem(18);
4841
- }
4842
- }
4843
- }
4844
4799
  .wac-input {
4845
4800
  .field-label {
4846
4801
  margin-bottom: 0!important;
@@ -5243,6 +5198,56 @@ div.wac-field-input-search {
5243
5198
  color: $wac-green-color;
5244
5199
  font-size: rem(14);
5245
5200
  }
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
+ }
5246
5251
  .wac-info {
5247
5252
  display: inline-block;
5248
5253
  width: 40px;