@wizishop/angular-components 0.0.44 → 0.0.48

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.
@@ -20,6 +20,7 @@ $wac-green-color-darken: #25a25a!default;
20
20
  $wac-green-color-focus: #208e4f!default;
21
21
  $wac-green-color: #2ecc71!default;
22
22
  $wac-green-color-disabled: #70df9f!default;
23
+ $wac-green-opacity: #EAFAF1!default;
23
24
  $wac-header-color: #1e2e43!default;
24
25
  $wac-hover-btn-grey: #5263841a!default;
25
26
  $wac-info-box-shadow: #e5e5e5!default;
@@ -43,6 +44,7 @@ $wac-primary-button-darken: #e32929!default;
43
44
  $wac-primary-button: #e95656!default;
44
45
  $wac-primary-button-disabled: #f3a1a1!default;
45
46
  $wac-primary-button-focus: #d02323!default;
47
+ $wac-primary-button-light: #FCEEEE!default;
46
48
  $wac-primary: #e95656!default;
47
49
  $wac-second-color: #526384!default;
48
50
  $wac-secondary-color: #526384!default;
@@ -485,6 +487,19 @@ $wac-color-success-popup-alert: #6DCC95!default;
485
487
  box-shadow: 0 0 20px rgba(50, 50, 50, 0.1);
486
488
  font-size: 14px;
487
489
 
490
+ &.with-icon {
491
+ .alert--message {
492
+ display: flex;
493
+ align-items: center;
494
+ justify-content: center;
495
+ width: 100%;
496
+ }
497
+ }
498
+
499
+ .icon + .wac-alert-popup__close + .wac-alert-popup__text {
500
+ width: auto;
501
+ }
502
+
488
503
  &.fullsize {
489
504
  max-width: 100%;
490
505
  width: 100%;
@@ -532,6 +547,9 @@ $wac-color-success-popup-alert: #6DCC95!default;
532
547
 
533
548
  &.is-top {
534
549
  top: 0;
550
+ &.small {
551
+ top: 100px;
552
+ }
535
553
  }
536
554
 
537
555
  &.is-bottom {
@@ -586,7 +604,6 @@ $wac-color-success-popup-alert: #6DCC95!default;
586
604
  &.small {
587
605
  padding: 10px;
588
606
  border-radius: 3px;
589
- bottom: -100px;
590
607
  right: 0;
591
608
  top: auto;
592
609
  left: auto;
@@ -609,6 +626,9 @@ $wac-color-success-popup-alert: #6DCC95!default;
609
626
  }
610
627
  }
611
628
  }
629
+ .is-bottom & {
630
+ bottom: -100px;
631
+ }
612
632
  }
613
633
 
614
634
  &__title {
@@ -1641,88 +1661,174 @@ $wac-color-success-popup-alert: #6DCC95!default;
1641
1661
  }
1642
1662
  }
1643
1663
  }
1644
- .wac-dropdown {
1664
+ .wac-edit-in-place.nwb-wrapper {
1645
1665
  display: inline-block;
1646
- width: 40px;
1647
- height: 40px;
1666
+ position: relative;
1667
+ width: auto;
1668
+ min-width: 12px;
1669
+ min-height: 1.4em;
1648
1670
 
1649
- &__wrapper {
1650
- @include flexbox();
1651
- @include justify-content(center);
1652
- @include align-items(center);
1653
- width: 100%;
1654
- height: 100%;
1655
- position: relative;
1671
+ input {
1672
+ font-size: inherit;
1673
+ transition: width 50ms;
1674
+ position: absolute;
1675
+ top: 0;
1676
+ left: -5px;
1677
+ width: calc(100% + 16px) !important;
1678
+ height: calc(100% + 14px) !important;
1679
+ padding: 5px;
1680
+ z-index: 1;
1681
+ margin: 0;
1682
+ outline: none !important;
1683
+ border: 1px solid $wac-edit-in-place-border;
1684
+ background: inherit;
1685
+ transform: translateY(-17%);
1686
+ background-color: $wac-edit-in-place-background;
1656
1687
 
1657
- &__icon {
1658
- font-size: 30px;
1659
- line-height: 18px;
1660
- color: $wac-border-form;
1661
- transition: color 0.3s ease, transform 0.3s ease;
1688
+ &.nwb-editable {
1689
+ text-decoration: none;
1690
+ color: inherit;
1691
+ border: none;
1692
+ cursor: pointer;
1693
+ height: 26px;
1662
1694
  }
1663
1695
 
1664
- &__sublevel {
1696
+ &.nwb-editing {
1697
+ color: $wac-edit-in-place-border;
1698
+ }
1699
+ }
1700
+
1701
+ div.select {
1702
+ position: absolute;
1703
+ left: 0;
1704
+
1705
+ &:before,
1706
+ &:after {
1707
+ display: block;
1665
1708
  position: absolute;
1666
- width: 160px;
1667
- top: 100%;
1668
- right: 0;
1669
- z-index: -1;
1670
- opacity: 0;
1671
- background-color: $wac-white;
1672
- border-radius: rem(3);
1673
- box-shadow: 0px 2px 5px $wac-info-box-shadow;
1709
+ height: 10px;
1710
+ width: 10px;
1711
+ }
1712
+ }
1713
+
1714
+ span.nwb-loader {
1715
+ &.nwb-is-loading {
1716
+ z-index: 2;
1717
+ opacity: 1;
1718
+ position: absolute;
1719
+ top: -7px;
1720
+ left: -7px;
1721
+ width: calc(100% + 16px) !important;
1722
+ height: calc(100% + 14px) !important;
1723
+ min-width: 12px;
1724
+ min-height: 1em;
1725
+ margin: 0;
1726
+ background-size: auto 70%;
1727
+ 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");
1728
+ background-repeat: no-repeat;
1729
+ background-position: center center;
1730
+ }
1731
+ }
1732
+ span {
1733
+ color: inherit;
1734
+ font-weight: 500;
1735
+ &:not(.nwb-loader) {
1736
+ display: inline-block;
1737
+ min-width: 12px;
1738
+ }
1739
+ &.nwb-editing {
1674
1740
  visibility: hidden;
1675
- transition: opacity 0.15s ease, z-index 0.15s ease, visibility 0s linear .16s;
1741
+ }
1676
1742
 
1677
- &__container {
1678
- padding: 10px 10px;
1679
- border: 1px solid $wac-border-color;
1743
+ &.nwb-is-loading {
1744
+ text-shadow: 0 0 0.5em rgba(0, 0, 0, 0.6);
1745
+ color: rgba(0, 0, 0, 0.4);
1746
+ opacity: 0.25;
1747
+ }
1680
1748
 
1681
- &__item {
1682
- padding: 5.7px 10px;
1683
- font-size: 14px;
1684
- line-height: 24px;
1685
- color: $wac-second-color;
1686
- cursor: pointer;
1687
- transition: background-color 0.3s ease, color 0.3s ease;
1688
- display: flex;
1689
- justify-content: flex-start;
1690
- align-items: center;
1691
- align-content: center;
1749
+ &.nwbSelect {
1750
+ cursor: pointer;
1751
+ }
1752
+ }
1753
+ }
1692
1754
 
1693
- i {
1694
- min-width: 15px;
1695
- margin-right: 5px;
1696
- text-align: center;
1697
- }
1698
- span {
1699
- white-space: nowrap;
1700
- }
1755
+ .wac-edit-in-place.nwb-wrapper--editable::after {
1756
+ position: absolute;
1757
+ content: '';
1758
+ border-bottom: dashed 1px $wac-primary;
1759
+ width: 100%;
1760
+ bottom: 0;
1761
+ left: 0;
1762
+ }
1701
1763
 
1702
- &:hover {
1703
- background-color: $wac-gray-background;
1704
- transition: background-color 0.3s ease, color 0.3s ease;
1705
- color: $wac-input-active-color;
1706
- }
1707
- }
1708
- }
1764
+ .wac-edit-in-place.nwbSelect {
1765
+ &__container {
1766
+ display: flex;
1767
+ flex-direction: column;
1768
+ position: absolute;
1769
+ white-space: nowrap;
1770
+ border: solid 1px rgba(0, 0, 0, 0.2);
1771
+ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
1772
+ border-radius: 3px;
1773
+ top: calc(100% + 7px);
1774
+
1775
+ &::before {
1776
+ position: absolute;
1777
+ top: -7px;
1778
+ left: 9px;
1779
+ content: '';
1780
+ border-left: 7px solid transparent;
1781
+ border-right: 7px solid transparent;
1782
+ border-bottom: 7px solid $wac-edit-in-place-before-border-bottom;
1783
+ border-bottom-color: rgba(0, 0, 0, 0.2);
1784
+ display: inline-block;
1709
1785
  }
1710
1786
 
1711
- &:hover {
1712
- .wac-dropdown__wrapper__icon {
1713
- color: $wac-second-color;
1714
- transform: rotate(90deg);
1715
- transition: color 0.3s ease, transform 0.3s ease;
1787
+ &::after {
1788
+ position: absolute;
1789
+ top: -6px;
1790
+ left: 10px;
1791
+ content: '';
1792
+ border-left: 6px solid transparent;
1793
+ border-right: 6px solid transparent;
1794
+ border-bottom: 6px solid $wac-white;
1795
+ display: inline-block;
1796
+ }
1797
+
1798
+ &__item {
1799
+ border: none;
1800
+ padding: 8px 10px;
1801
+ background-color: $wac-white;
1802
+ cursor: pointer;
1803
+ transition: all 0.3s ease-in-out;
1804
+ z-index: 3;
1805
+ font-size: rem(12);
1806
+ text-align: left;
1807
+ border-radius: 0;
1808
+
1809
+ &:hover {
1810
+ background-color: darken($wac-white, 10%);
1811
+ color: $wac-main-text;
1812
+ transition: all 0.3s ease-in-out;
1716
1813
  }
1717
1814
 
1718
- .wac-dropdown__wrapper__sublevel {
1719
- visibility: visible;
1720
- opacity: 1;
1721
- z-index: 2;
1722
- transition: visibility 0s ease 0s, opacity 0.3s ease .1s;
1815
+ &--selected,
1816
+ &--selected:hover {
1817
+ background-color: $wac-wizishop-blue;
1818
+ color: $wac-white;
1819
+ transition: all 0.3s ease-in-out;
1723
1820
  }
1724
1821
  }
1725
1822
  }
1823
+
1824
+ &__background {
1825
+ position: fixed;
1826
+ top: 0;
1827
+ left: 0;
1828
+ width: 100vw;
1829
+ height: 100vh;
1830
+ z-index: 2;
1831
+ }
1726
1832
  }
1727
1833
  .wac-tab {
1728
1834
  &__wrapper {
@@ -3297,6 +3403,15 @@ span.wac-tooltip {
3297
3403
  }
3298
3404
  }
3299
3405
 
3406
+ &.opacity {
3407
+ background-color: $wac-primary-button-light;
3408
+ border-color: $wac-primary-button-light;
3409
+ &:hover, &:focus {
3410
+ background-color: $wac-primary-button;
3411
+ border-color: $wac-primary-button;
3412
+ }
3413
+ }
3414
+
3300
3415
  &.disabled {
3301
3416
  background-color: $wac-primary-button-disabled;
3302
3417
  border-color: $wac-primary-button-disabled;
@@ -3370,6 +3485,14 @@ span.wac-tooltip {
3370
3485
  transition: background-color 0.3s ease-in-out;
3371
3486
  }
3372
3487
  }
3488
+ &.opacity {
3489
+ background-color: $wac-green-opacity;
3490
+ border-color: $wac-green-opacity;
3491
+ &:hover, &:focus {
3492
+ background-color: $wac-green-color;
3493
+ border-color: $wac-green-color;
3494
+ }
3495
+ }
3373
3496
  &.disabled {
3374
3497
  background-color: $wac-green-color-disabled;
3375
3498
  border-color: $wac-green-color-disabled;
@@ -3494,174 +3617,88 @@ span.wac-tooltip {
3494
3617
  }
3495
3618
  }
3496
3619
  }
3497
- .wac-edit-in-place.nwb-wrapper {
3620
+ .wac-dropdown {
3498
3621
  display: inline-block;
3499
- position: relative;
3500
- width: auto;
3501
- min-width: 12px;
3502
- min-height: 1.4em;
3503
-
3504
- input {
3505
- font-size: inherit;
3506
- transition: width 50ms;
3507
- position: absolute;
3508
- top: 0;
3509
- left: -5px;
3510
- width: calc(100% + 16px) !important;
3511
- height: calc(100% + 14px) !important;
3512
- padding: 5px;
3513
- z-index: 1;
3514
- margin: 0;
3515
- outline: none !important;
3516
- border: 1px solid $wac-edit-in-place-border;
3517
- background: inherit;
3518
- transform: translateY(-17%);
3519
- background-color: $wac-edit-in-place-background;
3520
-
3521
- &.nwb-editable {
3522
- text-decoration: none;
3523
- color: inherit;
3524
- border: none;
3525
- cursor: pointer;
3526
- height: 26px;
3527
- }
3528
-
3529
- &.nwb-editing {
3530
- color: $wac-edit-in-place-border;
3531
- }
3532
- }
3622
+ width: 40px;
3623
+ height: 40px;
3533
3624
 
3534
- div.select {
3535
- position: absolute;
3536
- left: 0;
3625
+ &__wrapper {
3626
+ @include flexbox();
3627
+ @include justify-content(center);
3628
+ @include align-items(center);
3629
+ width: 100%;
3630
+ height: 100%;
3631
+ position: relative;
3537
3632
 
3538
- &:before,
3539
- &:after {
3540
- display: block;
3541
- position: absolute;
3542
- height: 10px;
3543
- width: 10px;
3633
+ &__icon {
3634
+ font-size: 30px;
3635
+ line-height: 18px;
3636
+ color: $wac-second-color;
3637
+ transition: color 0.3s ease, transform 0.3s ease;
3544
3638
  }
3545
- }
3546
3639
 
3547
- span.nwb-loader {
3548
- &.nwb-is-loading {
3549
- z-index: 2;
3550
- opacity: 1;
3640
+ &__sublevel {
3551
3641
  position: absolute;
3552
- top: -7px;
3553
- left: -7px;
3554
- width: calc(100% + 16px) !important;
3555
- height: calc(100% + 14px) !important;
3556
- min-width: 12px;
3557
- min-height: 1em;
3558
- margin: 0;
3559
- background-size: auto 70%;
3560
- 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");
3561
- background-repeat: no-repeat;
3562
- background-position: center center;
3563
- }
3564
- }
3565
- span {
3566
- color: inherit;
3567
- font-weight: 500;
3568
- &:not(.nwb-loader) {
3569
- display: inline-block;
3570
- min-width: 12px;
3571
- }
3572
- &.nwb-editing {
3642
+ width: 160px;
3643
+ top: 100%;
3644
+ right: 0;
3645
+ z-index: -1;
3646
+ opacity: 0;
3647
+ background-color: $wac-white;
3648
+ border-radius: rem(3);
3649
+ box-shadow: 0px 2px 5px $wac-info-box-shadow;
3573
3650
  visibility: hidden;
3574
- }
3575
-
3576
- &.nwb-is-loading {
3577
- text-shadow: 0 0 0.5em rgba(0, 0, 0, 0.6);
3578
- color: rgba(0, 0, 0, 0.4);
3579
- opacity: 0.25;
3580
- }
3581
-
3582
- &.nwbSelect {
3583
- cursor: pointer;
3584
- }
3585
- }
3586
- }
3651
+ transition: opacity 0.15s ease, z-index 0.15s ease, visibility 0s linear .16s;
3587
3652
 
3588
- .wac-edit-in-place.nwb-wrapper--editable::after {
3589
- position: absolute;
3590
- content: '';
3591
- border-bottom: dashed 1px $wac-primary;
3592
- width: 100%;
3593
- bottom: 0;
3594
- left: 0;
3595
- }
3653
+ &__container {
3654
+ padding: 10px 10px;
3655
+ border: 1px solid $wac-border-color;
3596
3656
 
3597
- .wac-edit-in-place.nwbSelect {
3598
- &__container {
3599
- display: flex;
3600
- flex-direction: column;
3601
- position: absolute;
3602
- white-space: nowrap;
3603
- border: solid 1px rgba(0, 0, 0, 0.2);
3604
- box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
3605
- border-radius: 3px;
3606
- top: calc(100% + 7px);
3657
+ &__item {
3658
+ padding: 5.7px 10px;
3659
+ font-size: 14px;
3660
+ line-height: 24px;
3661
+ color: $wac-second-color;
3662
+ cursor: pointer;
3663
+ transition: background-color 0.3s ease, color 0.3s ease;
3664
+ display: flex;
3665
+ justify-content: flex-start;
3666
+ align-items: center;
3667
+ align-content: center;
3607
3668
 
3608
- &::before {
3609
- position: absolute;
3610
- top: -7px;
3611
- left: 9px;
3612
- content: '';
3613
- border-left: 7px solid transparent;
3614
- border-right: 7px solid transparent;
3615
- border-bottom: 7px solid $wac-edit-in-place-before-border-bottom;
3616
- border-bottom-color: rgba(0, 0, 0, 0.2);
3617
- display: inline-block;
3618
- }
3669
+ i {
3670
+ min-width: 15px;
3671
+ margin-right: 5px;
3672
+ text-align: center;
3673
+ }
3674
+ span {
3675
+ white-space: nowrap;
3676
+ }
3619
3677
 
3620
- &::after {
3621
- position: absolute;
3622
- top: -6px;
3623
- left: 10px;
3624
- content: '';
3625
- border-left: 6px solid transparent;
3626
- border-right: 6px solid transparent;
3627
- border-bottom: 6px solid $wac-white;
3628
- display: inline-block;
3678
+ &:hover {
3679
+ background-color: $wac-gray-background;
3680
+ transition: background-color 0.3s ease, color 0.3s ease;
3681
+ color: $wac-input-active-color;
3682
+ }
3683
+ }
3684
+ }
3629
3685
  }
3630
3686
 
3631
- &__item {
3632
- border: none;
3633
- padding: 8px 10px;
3634
- background-color: $wac-white;
3635
- cursor: pointer;
3636
- transition: all 0.3s ease-in-out;
3637
- z-index: 3;
3638
- font-size: rem(12);
3639
- text-align: left;
3640
- border-radius: 0;
3641
-
3642
- &:hover {
3643
- background-color: darken($wac-white, 10%);
3644
- color: $wac-main-text;
3645
- transition: all 0.3s ease-in-out;
3687
+ &:hover {
3688
+ .wac-dropdown__wrapper__icon {
3689
+ color: $wac-wizishop-blue;
3690
+ transform: rotate(90deg);
3691
+ transition: color 0.3s ease, transform 0.3s ease;
3646
3692
  }
3647
3693
 
3648
- &--selected,
3649
- &--selected:hover {
3650
- background-color: $wac-wizishop-blue;
3651
- color: $wac-white;
3652
- transition: all 0.3s ease-in-out;
3694
+ .wac-dropdown__wrapper__sublevel {
3695
+ visibility: visible;
3696
+ opacity: 1;
3697
+ z-index: 2;
3698
+ transition: visibility 0s ease 0s, opacity 0.3s ease .1s;
3653
3699
  }
3654
3700
  }
3655
3701
  }
3656
-
3657
- &__background {
3658
- position: fixed;
3659
- top: 0;
3660
- left: 0;
3661
- width: 100vw;
3662
- height: 100vh;
3663
- z-index: 2;
3664
- }
3665
3702
  }
3666
3703
  h1.wac-h1 {
3667
3704
  font-size: rem(30);
@@ -914,6 +914,7 @@
914
914
  this.hasLoader = false;
915
915
  this.disabled = false;
916
916
  this.whiteSpaceNowrap = false;
917
+ this.opacity = false;
917
918
  this.click = new i0.EventEmitter();
918
919
  this.isLoading = false;
919
920
  this.interval = null;
@@ -953,7 +954,7 @@
953
954
  ButtonComponent.decorators = [
954
955
  { type: i0.Component, args: [{
955
956
  selector: 'wac-button',
956
- template: "<a\n [class]=\"'wac-button ' + extraClasses\"\n (click)=\"onButtonClick($event)\"\n [ngClass]=\"[label === '' ? 'alone' : '', isLoading ? 'is-loading' : '', disabled ? 'disabled' : '', widthAuto ? 'width-auto' : '', whiteSpaceNowrap ? 'white-space-no-wrap' : '']\"\n>\n <span class=\"wac-button__wrapper\">\n <i *ngIf=\"icon !== ''\" [ngClass]=\"icon\" [style.font-size.px]=\"iconFontSize\"></i>\n {{ label }}\n <i *ngIf=\"iconNext !== ''\" [ngClass]=\"iconNext\" [style.font-size.px]=\"iconFontSize\"></i>\n </span>\n <span\n class=\"wac-button__loader\"\n [ngClass]=\"extraClasses.includes('is-outlined') ? 'outlined' : ''\"\n *ngIf=\"isLoading || interval !== null\"\n [style.width]=\"currentLoading + '%'\"\n >\n <span *ngIf=\"extraClasses.includes('is-outlined')\">\n <i *ngIf=\"icon !== ''\" [ngClass]=\"icon\" [style.font-size.px]=\"iconFontSize\"></i>\n {{ label }}\n <i *ngIf=\"iconNext !== ''\" [ngClass]=\"iconNext\" [style.font-size.px]=\"iconFontSize\"></i>\n </span>\n </span>\n</a>\n"
957
+ template: "<a\n [class]=\"'wac-button ' + extraClasses\"\n (click)=\"onButtonClick($event)\"\n [ngClass]=\"[label === '' ? 'alone' : '', isLoading ? 'is-loading' : '', opacity ? 'opacity' : '', disabled ? 'disabled' : '', widthAuto ? 'width-auto' : '', whiteSpaceNowrap ? 'white-space-no-wrap' : '']\"\n>\n <span class=\"wac-button__wrapper\">\n <i *ngIf=\"icon !== ''\" [ngClass]=\"icon\" [style.font-size.px]=\"iconFontSize\"></i>\n {{ label }}\n <i *ngIf=\"iconNext !== ''\" [ngClass]=\"iconNext\" [style.font-size.px]=\"iconFontSize\"></i>\n </span>\n <span\n class=\"wac-button__loader\"\n [ngClass]=\"extraClasses.includes('is-outlined') ? 'outlined' : ''\"\n *ngIf=\"isLoading || interval !== null\"\n [style.width]=\"currentLoading + '%'\"\n >\n <span *ngIf=\"extraClasses.includes('is-outlined')\">\n <i *ngIf=\"icon !== ''\" [ngClass]=\"icon\" [style.font-size.px]=\"iconFontSize\"></i>\n {{ label }}\n <i *ngIf=\"iconNext !== ''\" [ngClass]=\"iconNext\" [style.font-size.px]=\"iconFontSize\"></i>\n </span>\n </span>\n</a>\n"
957
958
  },] }
958
959
  ];
959
960
  ButtonComponent.ctorParameters = function () { return []; };
@@ -967,6 +968,7 @@
967
968
  hasLoader: [{ type: i0.Input }],
968
969
  disabled: [{ type: i0.Input }],
969
970
  whiteSpaceNowrap: [{ type: i0.Input }],
971
+ opacity: [{ type: i0.Input }],
970
972
  click: [{ type: i0.Output }]
971
973
  };
972
974
 
@@ -3500,7 +3502,7 @@
3500
3502
  AlertPopupComponent.decorators = [
3501
3503
  { type: i0.Component, args: [{
3502
3504
  selector: 'wac-alert-popup',
3503
- template: "<div\n [class]=\"'alert ' + ((config.color) ? config.color : ' is-primary') + ((config.extraClasses) ? ' ' + config.extraClasses : '') + ((config.position) ? ' ' + config.position : '') + ((config.fullsize) ? ' fullsize' : '') + ((config.opacity) ? ' opacity-active' : '') + ((config.small) ? ' small' : '')\"\n [ngClass]=\"{'is-active': open}\"\n>\n <div class=\"alert--message\">\n <span class=\"icon\" *ngIf=\"config.icon\">\n <i [class]=\"config.icon\"></i>\n </span>\n <span (click)=\"dismiss()\" class=\"wac-alert-popup__close\"><i class=\"fas fa-times\"></i></span>\n <p *ngIf=\"config.title\" class=\"wac-alert-popup__title\" [innerHTML]=\"config.title\"></p>\n <p *ngIf=\"config.message\" class=\"wac-alert-popup__text\" [innerHTML]=\"config.message\"></p>\n </div>\n</div>\n",
3505
+ template: "<div\n [class]=\"'alert ' + ((config.color) ? config.color : ' is-primary') + ((config.extraClasses) ? ' ' + config.extraClasses : '') + ((config.position) ? ' ' + config.position : '') + ((config.fullsize) ? ' fullsize' : '') + ((config.opacity) ? ' opacity-active' : '') + ((config.small) ? ' small' : '') + ((config.icon) ? ' with-icon' : '')\"\n [ngClass]=\"{'is-active': open}\"\n>\n <div class=\"alert--message\">\n <span class=\"icon\" *ngIf=\"config.icon\">\n <i [class]=\"config.icon\"></i>\n </span>\n <span (click)=\"dismiss()\" class=\"wac-alert-popup__close\"><i class=\"fas fa-times\"></i></span>\n <p *ngIf=\"config.title\" class=\"wac-alert-popup__title\" [innerHTML]=\"config.title\"></p>\n <p *ngIf=\"config.message\" class=\"wac-alert-popup__text\" [innerHTML]=\"config.message\"></p>\n </div>\n</div>\n",
3504
3506
  host: {
3505
3507
  class: 'wac-alert-popup'
3506
3508
  },
@@ -3667,6 +3669,7 @@
3667
3669
  exports.AbstractDebounceDirective = AbstractDebounceDirective;
3668
3670
  exports.AlertComponent = AlertComponent;
3669
3671
  exports.AlertPopupComponent = AlertPopupComponent;
3672
+ exports.AlertPopupModule = AlertPopupModule;
3670
3673
  exports.AlertPopupService = AlertPopupService;
3671
3674
  exports.AutoHideDirective = AutoHideDirective;
3672
3675
  exports.BackComponent = BackComponent;
@@ -3739,8 +3742,7 @@
3739
3742
  exports.ɵk = LoaderModule;
3740
3743
  exports.ɵl = CheckboxModule;
3741
3744
  exports.ɵm = inOutY;
3742
- exports.ɵn = AlertPopupModule;
3743
- exports.ɵo = inOutX;
3745
+ exports.ɵn = inOutX;
3744
3746
 
3745
3747
  Object.defineProperty(exports, '__esModule', { value: true });
3746
3748