@wizishop/angular-components 0.0.58 → 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.
@@ -1472,8 +1472,7 @@ $wac-color-success-popup-alert: #6DCC95!default;
1472
1472
  }
1473
1473
  }
1474
1474
  }
1475
- .wac-dropdown {
1476
- display: inline-block;
1475
+ .wac-delete {
1477
1476
  width: 40px;
1478
1477
  height: 40px;
1479
1478
 
@@ -1483,74 +1482,24 @@ $wac-color-success-popup-alert: #6DCC95!default;
1483
1482
  @include align-items(center);
1484
1483
  width: 100%;
1485
1484
  height: 100%;
1486
- position: relative;
1487
-
1488
- &__icon {
1489
- font-size: 30px;
1490
- line-height: 18px;
1491
- color: $wac-second-color;
1492
- transition: color 0.3s ease, transform 0.3s ease;
1493
- }
1494
-
1495
- &__sublevel {
1496
- position: absolute;
1497
- width: 160px;
1498
- top: 100%;
1499
- right: 0;
1500
- z-index: -1;
1501
- opacity: 0;
1502
- background-color: $wac-white;
1503
- border-radius: rem(3);
1504
- box-shadow: 0px 2px 5px $wac-info-box-shadow;
1505
- visibility: hidden;
1506
- transition: opacity 0.15s ease, z-index 0.15s ease, visibility 0s linear .16s;
1507
-
1508
- &__container {
1509
- padding: 10px 10px;
1510
- border: 1px solid $wac-border-color;
1511
-
1512
- &__item {
1513
- padding: 5.7px 10px;
1514
- font-size: 14px;
1515
- line-height: 24px;
1516
- color: $wac-second-color;
1517
- cursor: pointer;
1518
- transition: background-color 0.3s ease, color 0.3s ease;
1519
- display: flex;
1520
- justify-content: flex-start;
1521
- align-items: center;
1522
- align-content: center;
1523
-
1524
- i {
1525
- min-width: 15px;
1526
- margin-right: 5px;
1527
- text-align: center;
1528
- }
1529
- span {
1530
- white-space: nowrap;
1531
- }
1485
+ border-radius: 3px;
1486
+ background-color: transparent;
1487
+ transition: background-color 0.3s ease-in-out;
1532
1488
 
1533
- &:hover {
1534
- background-color: $wac-gray-background;
1535
- transition: background-color 0.3s ease, color 0.3s ease;
1536
- color: $wac-input-active-color;
1537
- }
1538
- }
1539
- }
1489
+ i {
1490
+ color: $wac-border-form;
1491
+ font-size: 14px;
1492
+ line-height: 23px;
1493
+ transition: color 0.3s ease-in-out;
1540
1494
  }
1541
1495
 
1542
1496
  &:hover {
1543
- .wac-dropdown__wrapper__icon {
1544
- color: $wac-wizishop-blue;
1545
- transform: rotate(90deg);
1546
- transition: color 0.3s ease, transform 0.3s ease;
1547
- }
1497
+ background-color: $wac-primary-button;
1498
+ transition: background-color 0.3s ease-in-out;
1548
1499
 
1549
- .wac-dropdown__wrapper__sublevel {
1550
- visibility: visible;
1551
- opacity: 1;
1552
- z-index: 2;
1553
- transition: visibility 0s ease 0s, opacity 0.3s ease .1s;
1500
+ i {
1501
+ color: $wac-white;
1502
+ transition: color 0.3s ease-in-out;
1554
1503
  }
1555
1504
  }
1556
1505
  }
@@ -1713,174 +1662,88 @@ $wac-color-success-popup-alert: #6DCC95!default;
1713
1662
  }
1714
1663
  }
1715
1664
  }
1716
- .wac-edit-in-place.nwb-wrapper {
1665
+ .wac-dropdown {
1717
1666
  display: inline-block;
1718
- position: relative;
1719
- width: auto;
1720
- min-width: 12px;
1721
- min-height: 1.4em;
1722
-
1723
- input {
1724
- font-size: inherit;
1725
- transition: width 50ms;
1726
- position: absolute;
1727
- top: 0;
1728
- left: -5px;
1729
- width: calc(100% + 16px) !important;
1730
- height: calc(100% + 14px) !important;
1731
- padding: 5px;
1732
- z-index: 1;
1733
- margin: 0;
1734
- outline: none !important;
1735
- border: 1px solid $wac-edit-in-place-border;
1736
- background: inherit;
1737
- transform: translateY(-17%);
1738
- background-color: $wac-edit-in-place-background;
1739
-
1740
- &.nwb-editable {
1741
- text-decoration: none;
1742
- color: inherit;
1743
- border: none;
1744
- cursor: pointer;
1745
- height: 26px;
1746
- }
1747
-
1748
- &.nwb-editing {
1749
- color: $wac-edit-in-place-border;
1750
- }
1751
- }
1667
+ width: 40px;
1668
+ height: 40px;
1752
1669
 
1753
- div.select {
1754
- position: absolute;
1755
- left: 0;
1670
+ &__wrapper {
1671
+ @include flexbox();
1672
+ @include justify-content(center);
1673
+ @include align-items(center);
1674
+ width: 100%;
1675
+ height: 100%;
1676
+ position: relative;
1756
1677
 
1757
- &:before,
1758
- &:after {
1759
- display: block;
1760
- position: absolute;
1761
- height: 10px;
1762
- width: 10px;
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;
1763
1683
  }
1764
- }
1765
1684
 
1766
- span.nwb-loader {
1767
- &.nwb-is-loading {
1768
- z-index: 2;
1769
- opacity: 1;
1685
+ &__sublevel {
1770
1686
  position: absolute;
1771
- top: -7px;
1772
- left: -7px;
1773
- width: calc(100% + 16px) !important;
1774
- height: calc(100% + 14px) !important;
1775
- min-width: 12px;
1776
- min-height: 1em;
1777
- margin: 0;
1778
- background-size: auto 70%;
1779
- 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");
1780
- background-repeat: no-repeat;
1781
- background-position: center center;
1782
- }
1783
- }
1784
- span {
1785
- color: inherit;
1786
- font-weight: 500;
1787
- &:not(.nwb-loader) {
1788
- display: inline-block;
1789
- min-width: 12px;
1790
- }
1791
- &.nwb-editing {
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;
1792
1695
  visibility: hidden;
1793
- }
1794
-
1795
- &.nwb-is-loading {
1796
- text-shadow: 0 0 0.5em rgba(0, 0, 0, 0.6);
1797
- color: rgba(0, 0, 0, 0.4);
1798
- opacity: 0.25;
1799
- }
1800
-
1801
- &.nwbSelect {
1802
- cursor: pointer;
1803
- }
1804
- }
1805
- }
1696
+ transition: opacity 0.15s ease, z-index 0.15s ease, visibility 0s linear .16s;
1806
1697
 
1807
- .wac-edit-in-place.nwb-wrapper--editable::after {
1808
- position: absolute;
1809
- content: '';
1810
- border-bottom: dashed 1px $wac-primary;
1811
- width: 100%;
1812
- bottom: 0;
1813
- left: 0;
1814
- }
1698
+ &__container {
1699
+ padding: 10px 10px;
1700
+ border: 1px solid $wac-border-color;
1815
1701
 
1816
- .wac-edit-in-place.nwbSelect {
1817
- &__container {
1818
- display: flex;
1819
- flex-direction: column;
1820
- position: absolute;
1821
- white-space: nowrap;
1822
- border: solid 1px rgba(0, 0, 0, 0.2);
1823
- box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
1824
- border-radius: 3px;
1825
- top: calc(100% + 7px);
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;
1826
1713
 
1827
- &::before {
1828
- position: absolute;
1829
- top: -7px;
1830
- left: 9px;
1831
- content: '';
1832
- border-left: 7px solid transparent;
1833
- border-right: 7px solid transparent;
1834
- border-bottom: 7px solid $wac-edit-in-place-before-border-bottom;
1835
- border-bottom-color: rgba(0, 0, 0, 0.2);
1836
- display: inline-block;
1837
- }
1714
+ i {
1715
+ min-width: 15px;
1716
+ margin-right: 5px;
1717
+ text-align: center;
1718
+ }
1719
+ span {
1720
+ white-space: nowrap;
1721
+ }
1838
1722
 
1839
- &::after {
1840
- position: absolute;
1841
- top: -6px;
1842
- left: 10px;
1843
- content: '';
1844
- border-left: 6px solid transparent;
1845
- border-right: 6px solid transparent;
1846
- border-bottom: 6px solid $wac-white;
1847
- display: inline-block;
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
+ }
1848
1730
  }
1849
1731
 
1850
- &__item {
1851
- border: none;
1852
- padding: 8px 10px;
1853
- background-color: $wac-white;
1854
- cursor: pointer;
1855
- transition: all 0.3s ease-in-out;
1856
- z-index: 3;
1857
- font-size: rem(12);
1858
- text-align: left;
1859
- border-radius: 0;
1860
-
1861
- &:hover {
1862
- background-color: darken($wac-white, 10%);
1863
- color: $wac-main-text;
1864
- transition: all 0.3s ease-in-out;
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;
1865
1737
  }
1866
1738
 
1867
- &--selected,
1868
- &--selected:hover {
1869
- background-color: $wac-wizishop-blue;
1870
- color: $wac-white;
1871
- transition: all 0.3s ease-in-out;
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;
1872
1744
  }
1873
1745
  }
1874
1746
  }
1875
-
1876
- &__background {
1877
- position: fixed;
1878
- top: 0;
1879
- left: 0;
1880
- width: 100vw;
1881
- height: 100vh;
1882
- z-index: 2;
1883
- }
1884
1747
  }
1885
1748
  .wac-tab {
1886
1749
  &__wrapper {
@@ -3230,6 +3093,75 @@ span.wac-tooltip {
3230
3093
  }
3231
3094
  }
3232
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
+
3233
3165
  &.alone {
3234
3166
  padding: 7px 14.6px;
3235
3167
 
@@ -3769,155 +3701,174 @@ span.wac-tooltip {
3769
3701
  }
3770
3702
  }
3771
3703
  }
3772
- .wac-field-checkbox {
3773
- &__row {
3774
- min-width: 100%;
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;
3775
3721
  margin: 0;
3776
- }
3777
- &--nowrap {
3778
- display: inline-block;
3779
- width: auto;
3780
- min-width: 0;
3781
- margin: 0 10px 10px 0;
3782
- .field {
3783
- &__row {
3784
- width: auto;
3785
- display: inline-block;
3786
- margin: 0;
3787
- }
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;
3788
3738
  }
3789
3739
  }
3790
3740
 
3791
- input[type='text'] {
3792
- height: 40px;
3793
- max-height: 40px;
3794
- padding: 0 20px;
3795
- line-height: 40px;
3796
- border: 1px solid $wac-border-form;
3797
- border-radius: 3px;
3798
- margin: 15px 0 10px !important;
3799
- font-size: rem(14) !important;
3800
- color: $wac-main-text;
3801
- &:focus {
3802
- border-color: $wac-wizishop-blue !important;
3803
- box-shadow: 0px 0px 4px $wac-checkbox-shadow !important;
3804
- &::-webkit-input-placeholder {
3805
- /* Chrome/Opera/Safari */
3806
- opacity: 0;
3807
- }
3808
- &::-moz-placeholder {
3809
- /* Firefox 19+ */
3810
- opacity: 0;
3811
- }
3812
- &:-ms-input-placeholder {
3813
- /* IE 10+ */
3814
- opacity: 0;
3815
- }
3816
- &:-moz-placeholder {
3817
- /* Firefox 18- */
3818
- opacity: 0;
3819
- }
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;
3820
3751
  }
3821
3752
  }
3822
- &.alone {
3823
- .is-checkradio[type='checkbox'] {
3824
- & + label {
3825
- padding-left: 9px;
3826
- margin-right: 0px;
3827
3753
 
3828
- &:before {
3829
- border-width: 1px;
3830
- width: 16px;
3831
- height: 16px;
3832
- border-radius: 2px;
3833
- }
3834
- }
3835
- &:checked + label {
3836
- &:after {
3837
- top: 7px;
3838
- transform: scale(1.1) translateY(1px) translateX(6px) rotate(45deg);
3839
- }
3840
- }
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;
3841
3770
  }
3842
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;
3781
+ }
3843
3782
 
3844
- .is-checkradio[type='checkbox'] {
3845
- outline: 0 !important;
3846
- & + label {
3847
- font-size: rem(14);
3848
- line-height: 0;
3849
- color: $wac-input-radio-color-label;
3850
- white-space: nowrap;
3851
- padding: 0 8px;
3852
- margin-right: 0;
3853
- outline: 0 !important;
3854
- &:before {
3855
- width: 16px;
3856
- height: 16px;
3857
- border: 1px solid $wac-border-color;
3858
- top: 0;
3859
- transition: all 0.3s ease-in-out;
3860
- }
3861
- &:after {
3862
- top: 2.3px !important;
3863
- left: 3px !important;
3864
- width: 10px;
3865
- height: 12px;
3866
- border: none !important;
3867
- background: transparent
3868
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='check' viewBox='0 0 512 512' class='svg-inline--fa fa-check fa-w-16 fa-5x'%3E%3Cpath fill='%23ffffff' d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'/%3E%3C/svg%3E")
3869
- center center / 8px 8px no-repeat;
3870
- transform: scale(1) translateY(0px) translateX(0px) rotate(0deg) !important;
3871
- transition: all 0.3s ease-in-out;
3872
- }
3873
- span {
3874
- margin: 0 0 0 rem(16);
3875
- display: inline-block;
3876
- }
3877
- &:hover,
3878
- &:focus {
3879
- &:before {
3880
- border-color: $wac-input-active-color !important;
3881
- }
3882
- }
3883
- &:before,
3884
- &:after {
3885
- outline: 0 !important;
3886
- }
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;
3791
+ }
3792
+ }
3793
+ }
3794
+
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
+ }
3803
+
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);
3814
+
3815
+ &::before {
3816
+ position: absolute;
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;
3887
3825
  }
3888
- &:hover {
3889
- & + label {
3890
- color: $wac-input-radio-color-active-label;
3891
- &:before {
3892
- border-color: $wac-input-active-color !important;
3893
- }
3894
- &:after {
3895
- border-color: $wac-white !important;
3896
- }
3897
- }
3898
- &:not([disabled]) {
3899
- & + label {
3900
- &:before {
3901
- border-color: $wac-input-active-color !important;
3902
- }
3903
- }
3904
- }
3826
+
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;
3905
3836
  }
3906
- &:checked + label {
3907
- color: $wac-input-radio-color-active-label;
3908
- &:before {
3909
- border: 1px solid $wac-input-active-color;
3910
- background-color: $wac-input-active-color;
3837
+
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;
3911
3852
  transition: all 0.3s ease-in-out;
3912
3853
  }
3913
- &:after {
3914
- left: 7px;
3915
- top: 8px;
3854
+
3855
+ &--selected,
3856
+ &--selected:hover {
3857
+ background-color: $wac-wizishop-blue;
3858
+ color: $wac-white;
3916
3859
  transition: all 0.3s ease-in-out;
3917
3860
  }
3918
3861
  }
3919
3862
  }
3920
3863
 
3864
+ &__background {
3865
+ position: fixed;
3866
+ top: 0;
3867
+ left: 0;
3868
+ width: 100vw;
3869
+ height: 100vh;
3870
+ z-index: 2;
3871
+ }
3921
3872
  }
3922
3873
  h1.wac-h1 {
3923
3874
  font-size: rem(30);
@@ -5455,37 +5406,155 @@ div.wac-field-input-search {
5455
5406
  }
5456
5407
  }
5457
5408
  }
5458
- .wac-delete {
5459
- width: 40px;
5460
- height: 40px;
5409
+ .wac-field-checkbox {
5410
+ &__row {
5411
+ min-width: 100%;
5412
+ margin: 0;
5413
+ }
5414
+ &--nowrap {
5415
+ display: inline-block;
5416
+ width: auto;
5417
+ min-width: 0;
5418
+ margin: 0 10px 10px 0;
5419
+ .field {
5420
+ &__row {
5421
+ width: auto;
5422
+ display: inline-block;
5423
+ margin: 0;
5424
+ }
5425
+ }
5426
+ }
5461
5427
 
5462
- &__wrapper {
5463
- @include flexbox();
5464
- @include justify-content(center);
5465
- @include align-items(center);
5466
- width: 100%;
5467
- height: 100%;
5428
+ input[type='text'] {
5429
+ height: 40px;
5430
+ max-height: 40px;
5431
+ padding: 0 20px;
5432
+ line-height: 40px;
5433
+ border: 1px solid $wac-border-form;
5468
5434
  border-radius: 3px;
5469
- background-color: transparent;
5470
- transition: background-color 0.3s ease-in-out;
5435
+ margin: 15px 0 10px !important;
5436
+ font-size: rem(14) !important;
5437
+ color: $wac-main-text;
5438
+ &:focus {
5439
+ border-color: $wac-wizishop-blue !important;
5440
+ box-shadow: 0px 0px 4px $wac-checkbox-shadow !important;
5441
+ &::-webkit-input-placeholder {
5442
+ /* Chrome/Opera/Safari */
5443
+ opacity: 0;
5444
+ }
5445
+ &::-moz-placeholder {
5446
+ /* Firefox 19+ */
5447
+ opacity: 0;
5448
+ }
5449
+ &:-ms-input-placeholder {
5450
+ /* IE 10+ */
5451
+ opacity: 0;
5452
+ }
5453
+ &:-moz-placeholder {
5454
+ /* Firefox 18- */
5455
+ opacity: 0;
5456
+ }
5457
+ }
5458
+ }
5459
+ &.alone {
5460
+ .is-checkradio[type='checkbox'] {
5461
+ & + label {
5462
+ padding-left: 9px;
5463
+ margin-right: 0px;
5471
5464
 
5472
- i {
5473
- color: $wac-border-form;
5474
- font-size: 14px;
5475
- line-height: 23px;
5476
- transition: color 0.3s ease-in-out;
5465
+ &:before {
5466
+ border-width: 1px;
5467
+ width: 16px;
5468
+ height: 16px;
5469
+ border-radius: 2px;
5470
+ }
5471
+ }
5472
+ &:checked + label {
5473
+ &:after {
5474
+ top: 7px;
5475
+ transform: scale(1.1) translateY(1px) translateX(6px) rotate(45deg);
5476
+ }
5477
+ }
5477
5478
  }
5479
+ }
5478
5480
 
5481
+ .is-checkradio[type='checkbox'] {
5482
+ outline: 0 !important;
5483
+ & + label {
5484
+ font-size: rem(14);
5485
+ line-height: 0;
5486
+ color: $wac-input-radio-color-label;
5487
+ white-space: nowrap;
5488
+ padding: 0 8px;
5489
+ margin-right: 0;
5490
+ outline: 0 !important;
5491
+ &:before {
5492
+ width: 16px;
5493
+ height: 16px;
5494
+ border: 1px solid $wac-border-color;
5495
+ top: 0;
5496
+ transition: all 0.3s ease-in-out;
5497
+ }
5498
+ &:after {
5499
+ top: 2.3px !important;
5500
+ left: 3px !important;
5501
+ width: 10px;
5502
+ height: 12px;
5503
+ border: none !important;
5504
+ background: transparent
5505
+ url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='check' viewBox='0 0 512 512' class='svg-inline--fa fa-check fa-w-16 fa-5x'%3E%3Cpath fill='%23ffffff' d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'/%3E%3C/svg%3E")
5506
+ center center / 8px 8px no-repeat;
5507
+ transform: scale(1) translateY(0px) translateX(0px) rotate(0deg) !important;
5508
+ transition: all 0.3s ease-in-out;
5509
+ }
5510
+ span {
5511
+ margin: 0 0 0 rem(16);
5512
+ display: inline-block;
5513
+ }
5514
+ &:hover,
5515
+ &:focus {
5516
+ &:before {
5517
+ border-color: $wac-input-active-color !important;
5518
+ }
5519
+ }
5520
+ &:before,
5521
+ &:after {
5522
+ outline: 0 !important;
5523
+ }
5524
+ }
5479
5525
  &:hover {
5480
- background-color: $wac-primary-button;
5481
- transition: background-color 0.3s ease-in-out;
5482
-
5483
- i {
5484
- color: $wac-white;
5485
- transition: color 0.3s ease-in-out;
5526
+ & + label {
5527
+ color: $wac-input-radio-color-active-label;
5528
+ &:before {
5529
+ border-color: $wac-input-active-color !important;
5530
+ }
5531
+ &:after {
5532
+ border-color: $wac-white !important;
5533
+ }
5534
+ }
5535
+ &:not([disabled]) {
5536
+ & + label {
5537
+ &:before {
5538
+ border-color: $wac-input-active-color !important;
5539
+ }
5540
+ }
5541
+ }
5542
+ }
5543
+ &:checked + label {
5544
+ color: $wac-input-radio-color-active-label;
5545
+ &:before {
5546
+ border: 1px solid $wac-input-active-color;
5547
+ background-color: $wac-input-active-color;
5548
+ transition: all 0.3s ease-in-out;
5549
+ }
5550
+ &:after {
5551
+ left: 7px;
5552
+ top: 8px;
5553
+ transition: all 0.3s ease-in-out;
5486
5554
  }
5487
5555
  }
5488
5556
  }
5557
+
5489
5558
  }
5490
5559
  .wac-free {
5491
5560
  height: 100%;