@wizishop/angular-components 0.0.54 → 0.0.58

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,7 +1472,8 @@ $wac-color-success-popup-alert: #6DCC95!default;
1472
1472
  }
1473
1473
  }
1474
1474
  }
1475
- .wac-delete {
1475
+ .wac-dropdown {
1476
+ display: inline-block;
1476
1477
  width: 40px;
1477
1478
  height: 40px;
1478
1479
 
@@ -1482,24 +1483,74 @@ $wac-color-success-popup-alert: #6DCC95!default;
1482
1483
  @include align-items(center);
1483
1484
  width: 100%;
1484
1485
  height: 100%;
1485
- border-radius: 3px;
1486
- background-color: transparent;
1487
- transition: background-color 0.3s ease-in-out;
1486
+ position: relative;
1488
1487
 
1489
- i {
1490
- color: $wac-border-form;
1491
- font-size: 14px;
1492
- line-height: 23px;
1493
- transition: color 0.3s ease-in-out;
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
+ }
1532
+
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
+ }
1494
1540
  }
1495
1541
 
1496
1542
  &:hover {
1497
- background-color: $wac-primary-button;
1498
- transition: background-color 0.3s ease-in-out;
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
+ }
1499
1548
 
1500
- i {
1501
- color: $wac-white;
1502
- transition: color 0.3s ease-in-out;
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;
1503
1554
  }
1504
1555
  }
1505
1556
  }
@@ -1662,88 +1713,174 @@ $wac-color-success-popup-alert: #6DCC95!default;
1662
1713
  }
1663
1714
  }
1664
1715
  }
1665
- .wac-dropdown {
1716
+ .wac-edit-in-place.nwb-wrapper {
1666
1717
  display: inline-block;
1667
- width: 40px;
1668
- height: 40px;
1718
+ position: relative;
1719
+ width: auto;
1720
+ min-width: 12px;
1721
+ min-height: 1.4em;
1669
1722
 
1670
- &__wrapper {
1671
- @include flexbox();
1672
- @include justify-content(center);
1673
- @include align-items(center);
1674
- width: 100%;
1675
- height: 100%;
1676
- position: relative;
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;
1677
1739
 
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;
1740
+ &.nwb-editable {
1741
+ text-decoration: none;
1742
+ color: inherit;
1743
+ border: none;
1744
+ cursor: pointer;
1745
+ height: 26px;
1683
1746
  }
1684
1747
 
1685
- &__sublevel {
1748
+ &.nwb-editing {
1749
+ color: $wac-edit-in-place-border;
1750
+ }
1751
+ }
1752
+
1753
+ div.select {
1754
+ position: absolute;
1755
+ left: 0;
1756
+
1757
+ &:before,
1758
+ &:after {
1759
+ display: block;
1686
1760
  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;
1761
+ height: 10px;
1762
+ width: 10px;
1763
+ }
1764
+ }
1765
+
1766
+ span.nwb-loader {
1767
+ &.nwb-is-loading {
1768
+ z-index: 2;
1769
+ opacity: 1;
1770
+ 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 {
1695
1792
  visibility: hidden;
1696
- transition: opacity 0.15s ease, z-index 0.15s ease, visibility 0s linear .16s;
1793
+ }
1697
1794
 
1698
- &__container {
1699
- padding: 10px 10px;
1700
- border: 1px solid $wac-border-color;
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
+ }
1701
1800
 
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;
1801
+ &.nwbSelect {
1802
+ cursor: pointer;
1803
+ }
1804
+ }
1805
+ }
1713
1806
 
1714
- i {
1715
- min-width: 15px;
1716
- margin-right: 5px;
1717
- text-align: center;
1718
- }
1719
- span {
1720
- white-space: nowrap;
1721
- }
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
+ }
1722
1815
 
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
- }
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);
1826
+
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;
1730
1837
  }
1731
1838
 
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;
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;
1848
+ }
1849
+
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;
1737
1865
  }
1738
1866
 
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;
1867
+ &--selected,
1868
+ &--selected:hover {
1869
+ background-color: $wac-wizishop-blue;
1870
+ color: $wac-white;
1871
+ transition: all 0.3s ease-in-out;
1744
1872
  }
1745
1873
  }
1746
1874
  }
1875
+
1876
+ &__background {
1877
+ position: fixed;
1878
+ top: 0;
1879
+ left: 0;
1880
+ width: 100vw;
1881
+ height: 100vh;
1882
+ z-index: 2;
1883
+ }
1747
1884
  }
1748
1885
  .wac-tab {
1749
1886
  &__wrapper {
@@ -2998,6 +3135,11 @@ span.wac-tooltip {
2998
3135
  border-style: solid;
2999
3136
  border-width: 1px;
3000
3137
  border-radius: 3px;
3138
+ box-sizing: border-box;
3139
+
3140
+ * {
3141
+ box-sizing: border-box;
3142
+ }
3001
3143
 
3002
3144
  &.width-auto {
3003
3145
  display: inline-block;
@@ -3572,6 +3714,39 @@ span.wac-tooltip {
3572
3714
  left: 14.6px;
3573
3715
  }
3574
3716
  }
3717
+
3718
+ &.opacity {
3719
+ min-width: rem(40);
3720
+ min-height: rem(40);
3721
+
3722
+ &.alone {
3723
+ display: flex;
3724
+ align-items: center;
3725
+ justify-content: center;
3726
+ }
3727
+
3728
+ &.is-success {
3729
+ i {
3730
+ color: $wac-green-color!important;
3731
+ }
3732
+ &:hover, &:focus {
3733
+ i {
3734
+ color: $wac-white!important;
3735
+ }
3736
+ }
3737
+ }
3738
+
3739
+ &.is-danger {
3740
+ i {
3741
+ color: $wac-primary-button!important;
3742
+ }
3743
+ &:hover, &:focus {
3744
+ i {
3745
+ color: $wac-white!important;
3746
+ }
3747
+ }
3748
+ }
3749
+ }
3575
3750
  }
3576
3751
  .wac-wrapper-blocs {
3577
3752
  &.sidebar {
@@ -3594,174 +3769,155 @@ span.wac-tooltip {
3594
3769
  }
3595
3770
  }
3596
3771
  }
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;
3772
+ .wac-field-checkbox {
3773
+ &__row {
3774
+ min-width: 100%;
3614
3775
  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
3776
  }
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;
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
+ }
3644
3788
  }
3645
3789
  }
3646
3790
 
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;
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
+ }
3663
3820
  }
3664
3821
  }
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;
3674
- }
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
- }
3822
+ &.alone {
3823
+ .is-checkradio[type='checkbox'] {
3824
+ & + label {
3825
+ padding-left: 9px;
3826
+ margin-right: 0px;
3681
3827
 
3682
- &.nwbSelect {
3683
- cursor: pointer;
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
+ }
3684
3841
  }
3685
3842
  }
3686
- }
3687
-
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);
3707
3843
 
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;
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
+ }
3718
3887
  }
3719
-
3720
- &::after {
3721
- 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;
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
+ }
3729
3905
  }
3730
-
3731
- &__item {
3732
- border: none;
3733
- padding: 8px 10px;
3734
- 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;
3741
-
3742
- &:hover {
3743
- background-color: darken($wac-white, 10%);
3744
- color: $wac-main-text;
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;
3745
3911
  transition: all 0.3s ease-in-out;
3746
3912
  }
3747
-
3748
- &--selected,
3749
- &--selected:hover {
3750
- background-color: $wac-wizishop-blue;
3751
- color: $wac-white;
3913
+ &:after {
3914
+ left: 7px;
3915
+ top: 8px;
3752
3916
  transition: all 0.3s ease-in-out;
3753
3917
  }
3754
3918
  }
3755
3919
  }
3756
3920
 
3757
- &__background {
3758
- position: fixed;
3759
- top: 0;
3760
- left: 0;
3761
- width: 100vw;
3762
- height: 100vh;
3763
- z-index: 2;
3764
- }
3765
3921
  }
3766
3922
  h1.wac-h1 {
3767
3923
  font-size: rem(30);
@@ -5299,155 +5455,37 @@ div.wac-field-input-search {
5299
5455
  }
5300
5456
  }
5301
5457
  }
5302
- .wac-field-checkbox {
5303
- &__row {
5304
- min-width: 100%;
5305
- margin: 0;
5306
- }
5307
- &--nowrap {
5308
- display: inline-block;
5309
- width: auto;
5310
- min-width: 0;
5311
- margin: 0 10px 10px 0;
5312
- .field {
5313
- &__row {
5314
- width: auto;
5315
- display: inline-block;
5316
- margin: 0;
5317
- }
5318
- }
5319
- }
5458
+ .wac-delete {
5459
+ width: 40px;
5460
+ height: 40px;
5320
5461
 
5321
- input[type='text'] {
5322
- height: 40px;
5323
- max-height: 40px;
5324
- padding: 0 20px;
5325
- line-height: 40px;
5326
- border: 1px solid $wac-border-form;
5462
+ &__wrapper {
5463
+ @include flexbox();
5464
+ @include justify-content(center);
5465
+ @include align-items(center);
5466
+ width: 100%;
5467
+ height: 100%;
5327
5468
  border-radius: 3px;
5328
- margin: 15px 0 10px !important;
5329
- font-size: rem(14) !important;
5330
- color: $wac-main-text;
5331
- &:focus {
5332
- border-color: $wac-wizishop-blue !important;
5333
- box-shadow: 0px 0px 4px $wac-checkbox-shadow !important;
5334
- &::-webkit-input-placeholder {
5335
- /* Chrome/Opera/Safari */
5336
- opacity: 0;
5337
- }
5338
- &::-moz-placeholder {
5339
- /* Firefox 19+ */
5340
- opacity: 0;
5341
- }
5342
- &:-ms-input-placeholder {
5343
- /* IE 10+ */
5344
- opacity: 0;
5345
- }
5346
- &:-moz-placeholder {
5347
- /* Firefox 18- */
5348
- opacity: 0;
5349
- }
5350
- }
5351
- }
5352
- &.alone {
5353
- .is-checkradio[type='checkbox'] {
5354
- & + label {
5355
- padding-left: 9px;
5356
- margin-right: 0px;
5469
+ background-color: transparent;
5470
+ transition: background-color 0.3s ease-in-out;
5357
5471
 
5358
- &:before {
5359
- border-width: 1px;
5360
- width: 16px;
5361
- height: 16px;
5362
- border-radius: 2px;
5363
- }
5364
- }
5365
- &:checked + label {
5366
- &:after {
5367
- top: 7px;
5368
- transform: scale(1.1) translateY(1px) translateX(6px) rotate(45deg);
5369
- }
5370
- }
5472
+ i {
5473
+ color: $wac-border-form;
5474
+ font-size: 14px;
5475
+ line-height: 23px;
5476
+ transition: color 0.3s ease-in-out;
5371
5477
  }
5372
- }
5373
5478
 
5374
- .is-checkradio[type='checkbox'] {
5375
- outline: 0 !important;
5376
- & + label {
5377
- font-size: rem(14);
5378
- line-height: 0;
5379
- color: $wac-input-radio-color-label;
5380
- white-space: nowrap;
5381
- padding: 0 8px;
5382
- margin-right: 0;
5383
- outline: 0 !important;
5384
- &:before {
5385
- width: 16px;
5386
- height: 16px;
5387
- border: 1px solid $wac-border-color;
5388
- top: 0;
5389
- transition: all 0.3s ease-in-out;
5390
- }
5391
- &:after {
5392
- top: 2.3px !important;
5393
- left: 3px !important;
5394
- width: 10px;
5395
- height: 12px;
5396
- border: none !important;
5397
- background: transparent
5398
- 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")
5399
- center center / 8px 8px no-repeat;
5400
- transform: scale(1) translateY(0px) translateX(0px) rotate(0deg) !important;
5401
- transition: all 0.3s ease-in-out;
5402
- }
5403
- span {
5404
- margin: 0 0 0 rem(16);
5405
- display: inline-block;
5406
- }
5407
- &:hover,
5408
- &:focus {
5409
- &:before {
5410
- border-color: $wac-input-active-color !important;
5411
- }
5412
- }
5413
- &:before,
5414
- &:after {
5415
- outline: 0 !important;
5416
- }
5417
- }
5418
5479
  &:hover {
5419
- & + label {
5420
- color: $wac-input-radio-color-active-label;
5421
- &:before {
5422
- border-color: $wac-input-active-color !important;
5423
- }
5424
- &:after {
5425
- border-color: $wac-white !important;
5426
- }
5427
- }
5428
- &:not([disabled]) {
5429
- & + label {
5430
- &:before {
5431
- border-color: $wac-input-active-color !important;
5432
- }
5433
- }
5434
- }
5435
- }
5436
- &:checked + label {
5437
- color: $wac-input-radio-color-active-label;
5438
- &:before {
5439
- border: 1px solid $wac-input-active-color;
5440
- background-color: $wac-input-active-color;
5441
- transition: all 0.3s ease-in-out;
5442
- }
5443
- &:after {
5444
- left: 7px;
5445
- top: 8px;
5446
- transition: all 0.3s ease-in-out;
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;
5447
5486
  }
5448
5487
  }
5449
5488
  }
5450
-
5451
5489
  }
5452
5490
  .wac-free {
5453
5491
  height: 100%;