@wizishop/angular-components 0.0.118 → 0.0.119

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.
@@ -6,9 +6,9 @@ $wac-background-color-disabled: #ecf0f1!default;
6
6
  $wac-table-background-color: #fafafa!default;
7
7
  $wac-bleu-color: #52aecd!default;
8
8
  $wac-red-color: #ff1800!default;
9
- $wac-border-color: #dee2ed!default;
10
- $wac-border-form: #dee2ed!default;
11
- $wac-border-light: #dee2ed!default;
9
+ $wac-border-color: #cfd4e4!default;
10
+ $wac-border-form: #cfd4e4!default;
11
+ $wac-border-light: #cfd4e4!default;
12
12
  $wac-color-loader2: #a2c739!default;
13
13
  $wac-color-loader: #4baed0!default;
14
14
  $wac-color-text-grey: #6b7881!default;
@@ -25,8 +25,8 @@ $wac-header-color: #1e2e43!default;
25
25
  $wac-hover-btn-grey: #5263841a!default;
26
26
  $wac-info-box-shadow: #e5e5e5!default;
27
27
  $wac-input-active-color: #52aecd!default;
28
- $wac-input-border-search: #dee2ed!default;
29
- $wac-input-border: #dee2ed!default;
28
+ $wac-input-border-search: #cfd4e4!default;
29
+ $wac-input-border: #cfd4e4!default;
30
30
  $wac-input-radio-color-active-label: #1e2e43!default;
31
31
  $wac-input-radio-color-label: #6b7881!default;
32
32
  $wac-lightened-secondary: #d8d8d8!default;
@@ -57,7 +57,7 @@ $wac-second-color: #526384!default;
57
57
  $wac-secondary-color: #526384!default;
58
58
  $wac-secondary-text: #6c6c6c!default;
59
59
  $wac-p-alert-color-success: #11552e!default;
60
- $wac-textarea-border-color: #dee2ed!default;
60
+ $wac-textarea-border-color: #cfd4e4!default;
61
61
  $wac-warning-color: #f5b226!default;
62
62
  $wac-white: #ffffff!default;
63
63
  $wac-wizishop-blue-button-darken: #3596b7!default;
@@ -91,7 +91,7 @@ $wac-checkbox-shadow: #52aecd66!default;
91
91
 
92
92
  $wac-edit-in-place-border: #a8a8a8!default;
93
93
  $wac-edit-in-place-background: #ffffff!default;
94
- $wac-edit-in-place-before-border-bottom: #dee2ed!default;
94
+ $wac-edit-in-place-before-border-bottom: #cfd4e4!default;
95
95
 
96
96
  $wac-free-popin-boxshadow: #2F35424D!default;
97
97
 
@@ -1714,145 +1714,175 @@ $wac-color-success-popup-alert: #6DCC95!default;
1714
1714
  }
1715
1715
  }
1716
1716
  }
1717
- .wac-free-popin {
1718
- height: 100%;
1719
- width: 100%;
1720
- width: 100vw;
1721
- height: 100vh;
1722
- position: fixed;
1723
- top: 0;
1724
- left: 0;
1717
+ .wac-edit-in-place.nwb-wrapper {
1718
+ display: inline-block;
1719
+ position: relative;
1720
+ width: auto;
1721
+ min-width: 12px;
1722
+ min-height: 1.4em;
1725
1723
 
1726
- &__wrapper {
1727
- background-color: white;
1728
- border: 1px solid $wac-border-color;
1729
- border-radius: 3px;
1730
- margin: auto;
1731
- box-shadow: 0px 10px 40px $wac-free-popin-boxshadow;
1724
+ input {
1725
+ font-size: inherit;
1726
+ transition: width 50ms;
1732
1727
  position: absolute;
1733
- left: 50%;
1734
- top: 50%;
1735
- transform: translate(-50%, -50%);
1736
- padding: 50px;
1737
- z-index: 3;
1738
- max-height: 90vh;
1739
- display: flex;
1740
- flex-wrap: nowrap;
1741
- flex-direction: column;
1742
- justify-content: center;
1743
- align-items: center;
1744
- width: 100%;
1745
- max-width: 575px;
1746
- overflow: hidden;
1728
+ top: 0;
1729
+ left: -5px;
1730
+ width: calc(100% + 16px) !important;
1731
+ height: calc(100% + 14px) !important;
1732
+ padding: 5px;
1733
+ z-index: 1;
1734
+ margin: 0;
1735
+ outline: none !important;
1736
+ border: 1px solid $wac-edit-in-place-border;
1737
+ background: inherit;
1738
+ transform: translateY(-17%);
1739
+ background-color: $wac-edit-in-place-background;
1747
1740
 
1748
- &__content {
1749
- position: relative;
1750
- overflow: hidden;
1751
- display: flex;
1752
- > * {
1753
- height: auto;
1754
- }
1741
+ &.nwb-editable {
1742
+ text-decoration: none;
1743
+ color: inherit;
1744
+ border: none;
1745
+ cursor: pointer;
1746
+ height: 26px;
1755
1747
  }
1756
1748
 
1757
- div:not([class]) {
1758
- width: 100%;
1759
- margin: 0 0 17px;
1749
+ &.nwb-editing {
1750
+ color: $wac-edit-in-place-border;
1760
1751
  }
1752
+ }
1761
1753
 
1762
- > * {
1763
- width: 100%;
1764
- }
1754
+ div.select {
1755
+ position: absolute;
1756
+ left: 0;
1765
1757
 
1766
- &__button-close {
1758
+ &:before,
1759
+ &:after {
1760
+ display: block;
1767
1761
  position: absolute;
1768
- top: 10px;
1769
- right: 10px;
1770
- width: 30px;
1771
- height: 30px;
1772
- border-radius: 50%;
1773
- display: flex;
1774
- justify-content: center;
1775
- align-items: center;
1776
- background-color: $wac-popin-btn-close;
1777
- transition: .3s ease;
1778
- i {
1779
- color: $wac-second-color;
1780
- font-size: 14px;
1781
- font-weight: 400;
1782
- }
1783
- &:hover, &:focus {
1784
- background-color: $wac-main-text;
1785
- i {
1786
- color: $wac-white;
1787
- }
1788
- }
1762
+ height: 10px;
1763
+ width: 10px;
1789
1764
  }
1765
+ }
1790
1766
 
1791
- h1 {
1792
- font-size: rem(30);
1793
- line-height: rem(35);
1794
- font-weight: 600;
1795
- color: $wac-main-text;
1767
+ span.nwb-loader {
1768
+ &.nwb-is-loading {
1769
+ z-index: 2;
1770
+ opacity: 1;
1771
+ position: absolute;
1772
+ top: -7px;
1773
+ left: -7px;
1774
+ width: calc(100% + 16px) !important;
1775
+ height: calc(100% + 14px) !important;
1776
+ min-width: 12px;
1777
+ min-height: 1em;
1778
+ margin: 0;
1779
+ background-size: auto 70%;
1780
+ 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");
1781
+ background-repeat: no-repeat;
1782
+ background-position: center center;
1783
+ }
1784
+ }
1785
+ span {
1786
+ color: inherit;
1787
+ font-weight: 500;
1788
+ &:not(.nwb-loader) {
1789
+ display: inline-block;
1790
+ min-width: 12px;
1791
+ }
1792
+ &.nwb-editing {
1793
+ visibility: hidden;
1796
1794
  }
1797
1795
 
1798
- h2 {
1799
- font-size: rem(18);
1800
- line-height: rem(21);
1801
- font-weight: 500;
1802
- color: $wac-main-text;
1796
+ &.nwb-is-loading {
1797
+ text-shadow: 0 0 0.5em rgba(0, 0, 0, 0.6);
1798
+ color: rgba(0, 0, 0, 0.4);
1799
+ opacity: 0.25;
1803
1800
  }
1804
1801
 
1805
- h3 {
1806
- font-size: rem(16);
1807
- line-height: rem(19);
1808
- font-weight: 500;
1809
- color: $wac-main-text;
1802
+ &.nwbSelect {
1803
+ cursor: pointer;
1810
1804
  }
1805
+ }
1806
+ }
1811
1807
 
1812
- h4 {
1813
- font-size: rem(14);
1814
- line-height: rem(16);
1815
- font-weight: 500;
1816
- color: $wac-main-text;
1808
+ .wac-edit-in-place.nwb-wrapper--editable::after {
1809
+ position: absolute;
1810
+ content: '';
1811
+ border-bottom: dashed 1px $wac-primary;
1812
+ width: 100%;
1813
+ bottom: 0;
1814
+ left: 0;
1815
+ }
1816
+
1817
+ .wac-edit-in-place.nwbSelect {
1818
+ &__container {
1819
+ display: flex;
1820
+ flex-direction: column;
1821
+ position: absolute;
1822
+ white-space: nowrap;
1823
+ border: solid 1px rgba(0, 0, 0, 0.2);
1824
+ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
1825
+ border-radius: 3px;
1826
+ top: calc(100% + 7px);
1827
+
1828
+ &::before {
1829
+ position: absolute;
1830
+ top: -7px;
1831
+ left: 9px;
1832
+ content: '';
1833
+ border-left: 7px solid transparent;
1834
+ border-right: 7px solid transparent;
1835
+ border-bottom: 7px solid $wac-edit-in-place-before-border-bottom;
1836
+ border-bottom-color: rgba(0, 0, 0, 0.2);
1837
+ display: inline-block;
1817
1838
  }
1818
1839
 
1819
- img {
1820
- width: auto;
1821
- height: auto;
1822
- margin: 0 auto;
1840
+ &::after {
1841
+ position: absolute;
1842
+ top: -6px;
1843
+ left: 10px;
1844
+ content: '';
1845
+ border-left: 6px solid transparent;
1846
+ border-right: 6px solid transparent;
1847
+ border-bottom: 6px solid $wac-white;
1848
+ display: inline-block;
1823
1849
  }
1824
1850
 
1825
- &__title {
1826
- font: normal normal bold 20px/25px sans-serif;
1851
+ &__item {
1852
+ border: none;
1853
+ padding: 8px 10px;
1854
+ background-color: $wac-white;
1855
+ cursor: pointer;
1856
+ transition: all 0.3s ease-in-out;
1857
+ z-index: 3;
1858
+ font-size: rem(12);
1859
+ text-align: left;
1860
+ border-radius: 0;
1861
+
1862
+ &:hover {
1863
+ background-color: darken($wac-white, 10%);
1827
1864
  color: $wac-main-text;
1828
- }
1865
+ transition: all 0.3s ease-in-out;
1866
+ }
1829
1867
 
1830
- &__buttons {
1831
- width: 100%;
1832
- display: flex;
1833
- flex-direction: column;
1834
- align-items: center;
1835
- margin: 30px 0 0;
1836
- &__button {
1837
- margin: 10px;
1838
- width: auto;
1839
- }
1868
+ &--selected,
1869
+ &--selected:hover {
1870
+ background-color: $wac-wizishop-blue;
1871
+ color: $wac-white;
1872
+ transition: all 0.3s ease-in-out;
1873
+ }
1840
1874
  }
1841
1875
  }
1876
+
1842
1877
  &__background {
1843
- z-index: 1;
1844
- position: absolute;
1878
+ position: fixed;
1845
1879
  top: 0;
1846
1880
  left: 0;
1847
- width: 100%;
1848
- height: 100%;
1849
- background-color: transparentize($wac-main-text, .5);
1881
+ width: 100vw;
1882
+ height: 100vh;
1883
+ z-index: 2;
1850
1884
  }
1851
1885
  }
1852
-
1853
- .wac-free-popin .ps-content > * {
1854
- padding-right: 15px;
1855
- }
1856
1886
  .wac-tab {
1857
1887
  &__wrapper {
1858
1888
  position: relative;
@@ -1929,88 +1959,144 @@ $wac-color-success-popup-alert: #6DCC95!default;
1929
1959
  }
1930
1960
  }
1931
1961
  }
1932
- .wac-filters {
1962
+ .wac-free-popin {
1963
+ height: 100%;
1933
1964
  width: 100%;
1965
+ width: 100vw;
1966
+ height: 100vh;
1967
+ position: fixed;
1968
+ top: 0;
1969
+ left: 0;
1970
+
1934
1971
  &__wrapper {
1935
- width: 100%;
1972
+ background-color: white;
1973
+ border: 1px solid $wac-border-color;
1974
+ border-radius: 3px;
1975
+ margin: auto;
1976
+ box-shadow: 0px 10px 40px $wac-free-popin-boxshadow;
1977
+ position: absolute;
1978
+ left: 50%;
1979
+ top: 50%;
1980
+ transform: translate(-50%, -50%);
1981
+ padding: 50px;
1982
+ z-index: 3;
1983
+ max-height: 90vh;
1936
1984
  display: flex;
1937
- flex-wrap: wrap;
1938
- justify-content: flex-start;
1985
+ flex-wrap: nowrap;
1986
+ flex-direction: column;
1987
+ justify-content: center;
1939
1988
  align-items: center;
1940
- align-content: center;
1941
- button {
1989
+ width: 100%;
1990
+ max-width: 575px;
1991
+ overflow: hidden;
1992
+
1993
+ &__content {
1942
1994
  position: relative;
1943
- width: auto;
1995
+ overflow: hidden;
1944
1996
  display: flex;
1945
- align-items: center;
1946
- font-size: rem(14);
1947
- line-height: rem(16);
1948
- font-weight: 400;
1949
- color: $wac-second-color;
1950
- border: 1px solid $wac-border-light;
1951
- border-radius: 3px;
1952
- background: transparent;
1953
- box-shadow: none;
1954
- margin-bottom: rem(10);
1955
- transition: 0.3s ease;
1956
- cursor: pointer;
1957
- padding: 12px 20px;
1958
- .event {
1959
- position: absolute;
1960
- top: 0;
1961
- left: 0;
1962
- width: 100%;
1963
- height: 100%;
1964
- z-index: 2;
1965
- display: inline-block;
1997
+ > * {
1998
+ height: auto;
1966
1999
  }
2000
+ }
2001
+
2002
+ div:not([class]) {
2003
+ width: 100%;
2004
+ margin: 0 0 17px;
2005
+ }
2006
+
2007
+ > * {
2008
+ width: 100%;
2009
+ }
2010
+
2011
+ &__button-close {
2012
+ position: absolute;
2013
+ top: 10px;
2014
+ right: 10px;
2015
+ width: 30px;
2016
+ height: 30px;
2017
+ border-radius: 50%;
2018
+ display: flex;
2019
+ justify-content: center;
2020
+ align-items: center;
2021
+ background-color: $wac-popin-btn-close;
2022
+ transition: .3s ease;
1967
2023
  i {
1968
- color: $wac-main-text;
1969
- font-size: rem(14);
1970
- margin: 0 rem(10) 0 0;
1971
- }
1972
- &:hover,
1973
- &:focus,
1974
- &.active {
1975
- border-color: $wac-wizishop-blue;
1976
- color: $wac-main-text;
2024
+ color: $wac-second-color;
2025
+ font-size: 14px;
2026
+ font-weight: 400;
1977
2027
  }
1978
- &:not(:last-child) {
1979
- margin: 0 rem(10) rem(10) 0;
2028
+ &:hover, &:focus {
2029
+ background-color: $wac-main-text;
2030
+ i {
2031
+ color: $wac-white;
2032
+ }
1980
2033
  }
1981
2034
  }
1982
- > span {
1983
- position: relative;
1984
- color: $wac-link-color;
1985
- display: inline-block;
1986
- transition: 0.3s ease;
2035
+
2036
+ h1 {
2037
+ font-size: rem(30);
2038
+ line-height: rem(35);
2039
+ font-weight: 600;
2040
+ color: $wac-main-text;
2041
+ }
2042
+
2043
+ h2 {
2044
+ font-size: rem(18);
2045
+ line-height: rem(21);
2046
+ font-weight: 500;
2047
+ color: $wac-main-text;
2048
+ }
2049
+
2050
+ h3 {
2051
+ font-size: rem(16);
2052
+ line-height: rem(19);
2053
+ font-weight: 500;
2054
+ color: $wac-main-text;
2055
+ }
2056
+
2057
+ h4 {
1987
2058
  font-size: rem(14);
1988
2059
  line-height: rem(16);
1989
- margin: 0 0 0 rem(30);
1990
- cursor: pointer;
1991
- z-index: 1;
1992
- &:before {
1993
- content: '';
1994
- display: block;
1995
- position: absolute;
1996
- width: 100%;
1997
- max-width: 0;
1998
- height: 1px;
1999
- border-radius: 3px;
2000
- background-color: darken($wac-link-color, 15%);
2001
- left: 0;
2002
- bottom: -2px;
2003
- transition: 0.3s ease;
2004
- }
2005
- &:hover,
2006
- &:focus {
2007
- color: darken($wac-link-color, 15%);
2008
- &:before {
2009
- max-width: 100%;
2060
+ font-weight: 500;
2061
+ color: $wac-main-text;
2062
+ }
2063
+
2064
+ img {
2065
+ width: auto;
2066
+ height: auto;
2067
+ margin: 0 auto;
2068
+ }
2069
+
2070
+ &__title {
2071
+ font: normal normal bold 20px/25px sans-serif;
2072
+ color: $wac-main-text;
2073
+ }
2074
+
2075
+ &__buttons {
2076
+ width: 100%;
2077
+ display: flex;
2078
+ flex-direction: column;
2079
+ align-items: center;
2080
+ margin: 30px 0 0;
2081
+ &__button {
2082
+ margin: 10px;
2083
+ width: auto;
2010
2084
  }
2011
- }
2012
2085
  }
2013
2086
  }
2087
+ &__background {
2088
+ z-index: 1;
2089
+ position: absolute;
2090
+ top: 0;
2091
+ left: 0;
2092
+ width: 100%;
2093
+ height: 100%;
2094
+ background-color: transparentize($wac-main-text, .5);
2095
+ }
2096
+ }
2097
+
2098
+ .wac-free-popin .ps-content > * {
2099
+ padding-right: 15px;
2014
2100
  }
2015
2101
  .wac-table {
2016
2102
  width: 100%;
@@ -5899,174 +5985,88 @@ div.wac-field-input-search {
5899
5985
  }
5900
5986
  }
5901
5987
  }
5902
- .wac-edit-in-place.nwb-wrapper {
5903
- display: inline-block;
5904
- position: relative;
5905
- width: auto;
5906
- min-width: 12px;
5907
- min-height: 1.4em;
5908
-
5909
- input {
5910
- font-size: inherit;
5911
- transition: width 50ms;
5912
- position: absolute;
5913
- top: 0;
5914
- left: -5px;
5915
- width: calc(100% + 16px) !important;
5916
- height: calc(100% + 14px) !important;
5917
- padding: 5px;
5918
- z-index: 1;
5919
- margin: 0;
5920
- outline: none !important;
5921
- border: 1px solid $wac-edit-in-place-border;
5922
- background: inherit;
5923
- transform: translateY(-17%);
5924
- background-color: $wac-edit-in-place-background;
5925
-
5926
- &.nwb-editable {
5927
- text-decoration: none;
5928
- color: inherit;
5929
- border: none;
5930
- cursor: pointer;
5931
- height: 26px;
5932
- }
5933
-
5934
- &.nwb-editing {
5935
- color: $wac-edit-in-place-border;
5936
- }
5937
- }
5938
-
5939
- div.select {
5940
- position: absolute;
5941
- left: 0;
5942
-
5943
- &:before,
5944
- &:after {
5945
- display: block;
5946
- position: absolute;
5947
- height: 10px;
5948
- width: 10px;
5949
- }
5950
- }
5951
-
5952
- span.nwb-loader {
5953
- &.nwb-is-loading {
5954
- z-index: 2;
5955
- opacity: 1;
5956
- position: absolute;
5957
- top: -7px;
5958
- left: -7px;
5959
- width: calc(100% + 16px) !important;
5960
- height: calc(100% + 14px) !important;
5961
- min-width: 12px;
5962
- min-height: 1em;
5963
- margin: 0;
5964
- background-size: auto 70%;
5965
- 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");
5966
- background-repeat: no-repeat;
5967
- background-position: center center;
5968
- }
5969
- }
5970
- span {
5971
- color: inherit;
5972
- font-weight: 500;
5973
- &:not(.nwb-loader) {
5974
- display: inline-block;
5975
- min-width: 12px;
5976
- }
5977
- &.nwb-editing {
5978
- visibility: hidden;
5979
- }
5980
-
5981
- &.nwb-is-loading {
5982
- text-shadow: 0 0 0.5em rgba(0, 0, 0, 0.6);
5983
- color: rgba(0, 0, 0, 0.4);
5984
- opacity: 0.25;
5985
- }
5986
-
5987
- &.nwbSelect {
5988
- cursor: pointer;
5989
- }
5990
- }
5991
- }
5992
-
5993
- .wac-edit-in-place.nwb-wrapper--editable::after {
5994
- position: absolute;
5995
- content: '';
5996
- border-bottom: dashed 1px $wac-primary;
5988
+ .wac-filters {
5997
5989
  width: 100%;
5998
- bottom: 0;
5999
- left: 0;
6000
- }
6001
-
6002
- .wac-edit-in-place.nwbSelect {
6003
- &__container {
5990
+ &__wrapper {
5991
+ width: 100%;
6004
5992
  display: flex;
6005
- flex-direction: column;
6006
- position: absolute;
6007
- white-space: nowrap;
6008
- border: solid 1px rgba(0, 0, 0, 0.2);
6009
- box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
6010
- border-radius: 3px;
6011
- top: calc(100% + 7px);
6012
-
6013
- &::before {
6014
- position: absolute;
6015
- top: -7px;
6016
- left: 9px;
6017
- content: '';
6018
- border-left: 7px solid transparent;
6019
- border-right: 7px solid transparent;
6020
- border-bottom: 7px solid $wac-edit-in-place-before-border-bottom;
6021
- border-bottom-color: rgba(0, 0, 0, 0.2);
6022
- display: inline-block;
5993
+ flex-wrap: wrap;
5994
+ justify-content: flex-start;
5995
+ align-items: center;
5996
+ align-content: center;
5997
+ button {
5998
+ position: relative;
5999
+ width: auto;
6000
+ display: flex;
6001
+ align-items: center;
6002
+ font-size: rem(14);
6003
+ line-height: rem(16);
6004
+ font-weight: 400;
6005
+ color: $wac-second-color;
6006
+ border: 1px solid $wac-border-light;
6007
+ border-radius: 3px;
6008
+ background: transparent;
6009
+ box-shadow: none;
6010
+ margin-bottom: rem(10);
6011
+ transition: 0.3s ease;
6012
+ cursor: pointer;
6013
+ padding: 12px 20px;
6014
+ .event {
6015
+ position: absolute;
6016
+ top: 0;
6017
+ left: 0;
6018
+ width: 100%;
6019
+ height: 100%;
6020
+ z-index: 2;
6021
+ display: inline-block;
6022
+ }
6023
+ i {
6024
+ color: $wac-main-text;
6025
+ font-size: rem(14);
6026
+ margin: 0 rem(10) 0 0;
6027
+ }
6028
+ &:hover,
6029
+ &:focus,
6030
+ &.active {
6031
+ border-color: $wac-wizishop-blue;
6032
+ color: $wac-main-text;
6033
+ }
6034
+ &:not(:last-child) {
6035
+ margin: 0 rem(10) rem(10) 0;
6036
+ }
6023
6037
  }
6024
-
6025
- &::after {
6026
- position: absolute;
6027
- top: -6px;
6028
- left: 10px;
6029
- content: '';
6030
- border-left: 6px solid transparent;
6031
- border-right: 6px solid transparent;
6032
- border-bottom: 6px solid $wac-white;
6038
+ > span {
6039
+ position: relative;
6040
+ color: $wac-link-color;
6033
6041
  display: inline-block;
6034
- }
6035
-
6036
- &__item {
6037
- border: none;
6038
- padding: 8px 10px;
6039
- background-color: $wac-white;
6042
+ transition: 0.3s ease;
6043
+ font-size: rem(14);
6044
+ line-height: rem(16);
6045
+ margin: 0 0 0 rem(30);
6040
6046
  cursor: pointer;
6041
- transition: all 0.3s ease-in-out;
6042
- z-index: 3;
6043
- font-size: rem(12);
6044
- text-align: left;
6045
- border-radius: 0;
6046
-
6047
- &:hover {
6048
- background-color: darken($wac-white, 10%);
6049
- color: $wac-main-text;
6050
- transition: all 0.3s ease-in-out;
6047
+ z-index: 1;
6048
+ &:before {
6049
+ content: '';
6050
+ display: block;
6051
+ position: absolute;
6052
+ width: 100%;
6053
+ max-width: 0;
6054
+ height: 1px;
6055
+ border-radius: 3px;
6056
+ background-color: darken($wac-link-color, 15%);
6057
+ left: 0;
6058
+ bottom: -2px;
6059
+ transition: 0.3s ease;
6051
6060
  }
6052
-
6053
- &--selected,
6054
- &--selected:hover {
6055
- background-color: $wac-wizishop-blue;
6056
- color: $wac-white;
6057
- transition: all 0.3s ease-in-out;
6061
+ &:hover,
6062
+ &:focus {
6063
+ color: darken($wac-link-color, 15%);
6064
+ &:before {
6065
+ max-width: 100%;
6066
+ }
6058
6067
  }
6059
6068
  }
6060
6069
  }
6061
-
6062
- &__background {
6063
- position: fixed;
6064
- top: 0;
6065
- left: 0;
6066
- width: 100vw;
6067
- height: 100vh;
6068
- z-index: 2;
6069
- }
6070
6070
  }
6071
6071
  .wac-back {
6072
6072
  width: 40px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wizishop/angular-components",
3
- "version": "0.0.118",
3
+ "version": "0.0.119",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^11.2.12",
6
6
  "@angular/core": "^11.2.12",