@wizishop/angular-components 0.0.117 → 0.0.118

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.
@@ -305,7 +305,22 @@ $wac-color-success-popup-alert: #6DCC95!default;
305
305
  background-color: $wac-wizishop-blue;
306
306
  color: $white;
307
307
  }
308
+
309
+ @include media('<1024px') {
310
+ display: none;
311
+ }
312
+ }
313
+
314
+ &__button {
315
+ height: rem(40);
316
+ width: fit-content;
317
+ margin-left: auto;
318
+
319
+ @include media('>1024px') {
320
+ display: none;
321
+ }
308
322
  }
323
+
309
324
  }
310
325
  &__content {
311
326
  width: 100%;
@@ -350,8 +365,7 @@ $wac-color-success-popup-alert: #6DCC95!default;
350
365
  }
351
366
  }
352
367
  }
353
- }
354
- .wac {
368
+ }.wac {
355
369
  &-select-in-text {
356
370
  width: auto;
357
371
  position: relative;
@@ -1700,251 +1714,6 @@ $wac-color-success-popup-alert: #6DCC95!default;
1700
1714
  }
1701
1715
  }
1702
1716
  }
1703
- .wac-edit-in-place.nwb-wrapper {
1704
- display: inline-block;
1705
- position: relative;
1706
- width: auto;
1707
- min-width: 12px;
1708
- min-height: 1.4em;
1709
-
1710
- input {
1711
- font-size: inherit;
1712
- transition: width 50ms;
1713
- position: absolute;
1714
- top: 0;
1715
- left: -5px;
1716
- width: calc(100% + 16px) !important;
1717
- height: calc(100% + 14px) !important;
1718
- padding: 5px;
1719
- z-index: 1;
1720
- margin: 0;
1721
- outline: none !important;
1722
- border: 1px solid $wac-edit-in-place-border;
1723
- background: inherit;
1724
- transform: translateY(-17%);
1725
- background-color: $wac-edit-in-place-background;
1726
-
1727
- &.nwb-editable {
1728
- text-decoration: none;
1729
- color: inherit;
1730
- border: none;
1731
- cursor: pointer;
1732
- height: 26px;
1733
- }
1734
-
1735
- &.nwb-editing {
1736
- color: $wac-edit-in-place-border;
1737
- }
1738
- }
1739
-
1740
- div.select {
1741
- position: absolute;
1742
- left: 0;
1743
-
1744
- &:before,
1745
- &:after {
1746
- display: block;
1747
- position: absolute;
1748
- height: 10px;
1749
- width: 10px;
1750
- }
1751
- }
1752
-
1753
- span.nwb-loader {
1754
- &.nwb-is-loading {
1755
- z-index: 2;
1756
- opacity: 1;
1757
- position: absolute;
1758
- top: -7px;
1759
- left: -7px;
1760
- width: calc(100% + 16px) !important;
1761
- height: calc(100% + 14px) !important;
1762
- min-width: 12px;
1763
- min-height: 1em;
1764
- margin: 0;
1765
- background-size: auto 70%;
1766
- 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");
1767
- background-repeat: no-repeat;
1768
- background-position: center center;
1769
- }
1770
- }
1771
- span {
1772
- color: inherit;
1773
- font-weight: 500;
1774
- &:not(.nwb-loader) {
1775
- display: inline-block;
1776
- min-width: 12px;
1777
- }
1778
- &.nwb-editing {
1779
- visibility: hidden;
1780
- }
1781
-
1782
- &.nwb-is-loading {
1783
- text-shadow: 0 0 0.5em rgba(0, 0, 0, 0.6);
1784
- color: rgba(0, 0, 0, 0.4);
1785
- opacity: 0.25;
1786
- }
1787
-
1788
- &.nwbSelect {
1789
- cursor: pointer;
1790
- }
1791
- }
1792
- }
1793
-
1794
- .wac-edit-in-place.nwb-wrapper--editable::after {
1795
- position: absolute;
1796
- content: '';
1797
- border-bottom: dashed 1px $wac-primary;
1798
- width: 100%;
1799
- bottom: 0;
1800
- left: 0;
1801
- }
1802
-
1803
- .wac-edit-in-place.nwbSelect {
1804
- &__container {
1805
- display: flex;
1806
- flex-direction: column;
1807
- position: absolute;
1808
- white-space: nowrap;
1809
- border: solid 1px rgba(0, 0, 0, 0.2);
1810
- box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
1811
- border-radius: 3px;
1812
- top: calc(100% + 7px);
1813
-
1814
- &::before {
1815
- position: absolute;
1816
- top: -7px;
1817
- left: 9px;
1818
- content: '';
1819
- border-left: 7px solid transparent;
1820
- border-right: 7px solid transparent;
1821
- border-bottom: 7px solid $wac-edit-in-place-before-border-bottom;
1822
- border-bottom-color: rgba(0, 0, 0, 0.2);
1823
- display: inline-block;
1824
- }
1825
-
1826
- &::after {
1827
- position: absolute;
1828
- top: -6px;
1829
- left: 10px;
1830
- content: '';
1831
- border-left: 6px solid transparent;
1832
- border-right: 6px solid transparent;
1833
- border-bottom: 6px solid $wac-white;
1834
- display: inline-block;
1835
- }
1836
-
1837
- &__item {
1838
- border: none;
1839
- padding: 8px 10px;
1840
- background-color: $wac-white;
1841
- cursor: pointer;
1842
- transition: all 0.3s ease-in-out;
1843
- z-index: 3;
1844
- font-size: rem(12);
1845
- text-align: left;
1846
- border-radius: 0;
1847
-
1848
- &:hover {
1849
- background-color: darken($wac-white, 10%);
1850
- color: $wac-main-text;
1851
- transition: all 0.3s ease-in-out;
1852
- }
1853
-
1854
- &--selected,
1855
- &--selected:hover {
1856
- background-color: $wac-wizishop-blue;
1857
- color: $wac-white;
1858
- transition: all 0.3s ease-in-out;
1859
- }
1860
- }
1861
- }
1862
-
1863
- &__background {
1864
- position: fixed;
1865
- top: 0;
1866
- left: 0;
1867
- width: 100vw;
1868
- height: 100vh;
1869
- z-index: 2;
1870
- }
1871
- }
1872
- .wac-tab {
1873
- &__wrapper {
1874
- position: relative;
1875
- @include flexbox();
1876
- margin-bottom: 30px;
1877
-
1878
- &__tab {
1879
- position: relative;
1880
- font-size: 14px;
1881
- line-height: 25px;
1882
- color: $wac-secondary-color;
1883
-
1884
- &:hover {
1885
- color: $wac-main-text;
1886
- transition: color 0.3s ease-in-out;
1887
- }
1888
-
1889
- &:not(:last-child) {
1890
- margin-right: 30px;
1891
- }
1892
-
1893
- &:after {
1894
- position: absolute;
1895
- width: 0;
1896
- height: 2px;
1897
- bottom: -5px;
1898
- left: 0;
1899
- content: '';
1900
- background-color: $wac-input-active-color;
1901
- transition: width 0.3s ease-in-out, color 0.3s ease-in-out;
1902
- }
1903
-
1904
- &--selected {
1905
- color: $wac-main-text;
1906
-
1907
- &:after {
1908
- width: 100%;
1909
- transition: width 0.3s ease-in-out, color 0.3s ease-in-out;
1910
- }
1911
- }
1912
- }
1913
- }
1914
-
1915
- &--underline {
1916
- .wac-tab__wrapper:before {
1917
- position: absolute;
1918
- width: 100%;
1919
- height: 1px;
1920
- bottom: -5px;
1921
- left: 0;
1922
- content: '';
1923
- background-color: $wac-border-form;
1924
- }
1925
- }
1926
-
1927
- &--button {
1928
- .wac-tab__wrapper__tab {
1929
- background-color: $wac-button-tab-background;
1930
- padding: 12px 20px;
1931
- font-size: rem(14);
1932
- line-height: rem(16);
1933
- white-space: nowrap;
1934
- color: $second-color;
1935
- margin: 0 rem(2) 0 0;
1936
- border-radius: 3px;
1937
- transition: .3s ease;
1938
- &--selected, &:hover, &:focus {
1939
- background-color: $wac-wizishop-blue;
1940
- color: $white;
1941
- }
1942
- &:after {
1943
- display: none;
1944
- }
1945
- }
1946
- }
1947
- }
1948
1717
  .wac-free-popin {
1949
1718
  height: 100%;
1950
1719
  width: 100%;
@@ -2070,19 +1839,178 @@ $wac-color-success-popup-alert: #6DCC95!default;
2070
1839
  }
2071
1840
  }
2072
1841
  }
2073
- &__background {
2074
- z-index: 1;
2075
- position: absolute;
2076
- top: 0;
2077
- left: 0;
2078
- width: 100%;
2079
- height: 100%;
2080
- background-color: transparentize($wac-main-text, .5);
2081
- }
2082
- }
2083
-
2084
- .wac-free-popin .ps-content > * {
2085
- padding-right: 15px;
1842
+ &__background {
1843
+ z-index: 1;
1844
+ position: absolute;
1845
+ top: 0;
1846
+ left: 0;
1847
+ width: 100%;
1848
+ height: 100%;
1849
+ background-color: transparentize($wac-main-text, .5);
1850
+ }
1851
+ }
1852
+
1853
+ .wac-free-popin .ps-content > * {
1854
+ padding-right: 15px;
1855
+ }
1856
+ .wac-tab {
1857
+ &__wrapper {
1858
+ position: relative;
1859
+ @include flexbox();
1860
+ margin-bottom: 30px;
1861
+
1862
+ &__tab {
1863
+ position: relative;
1864
+ font-size: 14px;
1865
+ line-height: 25px;
1866
+ color: $wac-secondary-color;
1867
+
1868
+ &:hover {
1869
+ color: $wac-main-text;
1870
+ transition: color 0.3s ease-in-out;
1871
+ }
1872
+
1873
+ &:not(:last-child) {
1874
+ margin-right: 30px;
1875
+ }
1876
+
1877
+ &:after {
1878
+ position: absolute;
1879
+ width: 0;
1880
+ height: 2px;
1881
+ bottom: -5px;
1882
+ left: 0;
1883
+ content: '';
1884
+ background-color: $wac-input-active-color;
1885
+ transition: width 0.3s ease-in-out, color 0.3s ease-in-out;
1886
+ }
1887
+
1888
+ &--selected {
1889
+ color: $wac-main-text;
1890
+
1891
+ &:after {
1892
+ width: 100%;
1893
+ transition: width 0.3s ease-in-out, color 0.3s ease-in-out;
1894
+ }
1895
+ }
1896
+ }
1897
+ }
1898
+
1899
+ &--underline {
1900
+ .wac-tab__wrapper:before {
1901
+ position: absolute;
1902
+ width: 100%;
1903
+ height: 1px;
1904
+ bottom: -5px;
1905
+ left: 0;
1906
+ content: '';
1907
+ background-color: $wac-border-form;
1908
+ }
1909
+ }
1910
+
1911
+ &--button {
1912
+ .wac-tab__wrapper__tab {
1913
+ background-color: $wac-button-tab-background;
1914
+ padding: 12px 20px;
1915
+ font-size: rem(14);
1916
+ line-height: rem(16);
1917
+ white-space: nowrap;
1918
+ color: $second-color;
1919
+ margin: 0 rem(2) 0 0;
1920
+ border-radius: 3px;
1921
+ transition: .3s ease;
1922
+ &--selected, &:hover, &:focus {
1923
+ background-color: $wac-wizishop-blue;
1924
+ color: $white;
1925
+ }
1926
+ &:after {
1927
+ display: none;
1928
+ }
1929
+ }
1930
+ }
1931
+ }
1932
+ .wac-filters {
1933
+ width: 100%;
1934
+ &__wrapper {
1935
+ width: 100%;
1936
+ display: flex;
1937
+ flex-wrap: wrap;
1938
+ justify-content: flex-start;
1939
+ align-items: center;
1940
+ align-content: center;
1941
+ button {
1942
+ position: relative;
1943
+ width: auto;
1944
+ 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;
1966
+ }
1967
+ 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;
1977
+ }
1978
+ &:not(:last-child) {
1979
+ margin: 0 rem(10) rem(10) 0;
1980
+ }
1981
+ }
1982
+ > span {
1983
+ position: relative;
1984
+ color: $wac-link-color;
1985
+ display: inline-block;
1986
+ transition: 0.3s ease;
1987
+ font-size: rem(14);
1988
+ 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%;
2010
+ }
2011
+ }
2012
+ }
2013
+ }
2086
2014
  }
2087
2015
  .wac-table {
2088
2016
  width: 100%;
@@ -5971,88 +5899,174 @@ div.wac-field-input-search {
5971
5899
  }
5972
5900
  }
5973
5901
  }
5974
- .wac-filters {
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;
5975
5997
  width: 100%;
5976
- &__wrapper {
5977
- width: 100%;
5998
+ bottom: 0;
5999
+ left: 0;
6000
+ }
6001
+
6002
+ .wac-edit-in-place.nwbSelect {
6003
+ &__container {
5978
6004
  display: flex;
5979
- flex-wrap: wrap;
5980
- justify-content: flex-start;
5981
- align-items: center;
5982
- align-content: center;
5983
- button {
5984
- position: relative;
5985
- width: auto;
5986
- display: flex;
5987
- align-items: center;
5988
- font-size: rem(14);
5989
- line-height: rem(16);
5990
- font-weight: 400;
5991
- color: $wac-second-color;
5992
- border: 1px solid $wac-border-light;
5993
- border-radius: 3px;
5994
- background: transparent;
5995
- box-shadow: none;
5996
- margin-bottom: rem(10);
5997
- transition: 0.3s ease;
5998
- cursor: pointer;
5999
- padding: 12px 20px;
6000
- .event {
6001
- position: absolute;
6002
- top: 0;
6003
- left: 0;
6004
- width: 100%;
6005
- height: 100%;
6006
- z-index: 2;
6007
- display: inline-block;
6008
- }
6009
- i {
6010
- color: $wac-main-text;
6011
- font-size: rem(14);
6012
- margin: 0 rem(10) 0 0;
6013
- }
6014
- &:hover,
6015
- &:focus,
6016
- &.active {
6017
- border-color: $wac-wizishop-blue;
6018
- color: $wac-main-text;
6019
- }
6020
- &:not(:last-child) {
6021
- margin: 0 rem(10) rem(10) 0;
6022
- }
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;
6023
6023
  }
6024
- > span {
6025
- position: relative;
6026
- color: $wac-link-color;
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;
6027
6033
  display: inline-block;
6028
- transition: 0.3s ease;
6029
- font-size: rem(14);
6030
- line-height: rem(16);
6031
- margin: 0 0 0 rem(30);
6034
+ }
6035
+
6036
+ &__item {
6037
+ border: none;
6038
+ padding: 8px 10px;
6039
+ background-color: $wac-white;
6032
6040
  cursor: pointer;
6033
- z-index: 1;
6034
- &:before {
6035
- content: '';
6036
- display: block;
6037
- position: absolute;
6038
- width: 100%;
6039
- max-width: 0;
6040
- height: 1px;
6041
- border-radius: 3px;
6042
- background-color: darken($wac-link-color, 15%);
6043
- left: 0;
6044
- bottom: -2px;
6045
- transition: 0.3s ease;
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;
6046
6051
  }
6047
- &:hover,
6048
- &:focus {
6049
- color: darken($wac-link-color, 15%);
6050
- &:before {
6051
- max-width: 100%;
6052
- }
6052
+
6053
+ &--selected,
6054
+ &--selected:hover {
6055
+ background-color: $wac-wizishop-blue;
6056
+ color: $wac-white;
6057
+ transition: all 0.3s ease-in-out;
6053
6058
  }
6054
6059
  }
6055
6060
  }
6061
+
6062
+ &__background {
6063
+ position: fixed;
6064
+ top: 0;
6065
+ left: 0;
6066
+ width: 100vw;
6067
+ height: 100vh;
6068
+ z-index: 2;
6069
+ }
6056
6070
  }
6057
6071
  .wac-back {
6058
6072
  width: 40px;