@wizishop/img-manager 19.0.0-beta.3 → 19.0.0

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.
@@ -608,29 +608,6 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
608
608
  }
609
609
  }
610
610
  }
611
- $green: $really-bad-bad-bad-green !default;
612
- $primary: $primary-button !default;
613
- $light: $img-placeholder !default;
614
- $info: $wizishop-blue !default;
615
- $danger: $img-red-color !default;
616
- $dark: $img-dark !default;
617
-
618
- $button-padding-vertical: 0.4375rem !default;
619
- $radius: 0.1875rem !default;
620
-
621
- $button-color: white!default;
622
- $button-hover-color: white !default;
623
- $button-focus-color: white !default;
624
- $button-active-color: white !default;
625
- $button-background-color: $primary !default;
626
- $button-disabled-background-color: $primary !default;
627
- $button-border-color: $primary-button-hover !default;
628
- $button-hover-border-color: $primary-button-hover !default;
629
- $button-active-border-color: $primary-button-hover !default;
630
- $button-focus-border-color: $primary-button-hover !default;
631
- $button-disabled-border-color: $primary-button-hover !default;
632
-
633
- $tag-radius: rem(20px)!default;
634
611
  .wz-img-manager {
635
612
 
636
613
  &__selectionHandler {
@@ -803,6 +780,29 @@ $tag-radius: rem(20px)!default;
803
780
  .nwb-snack-bar .column {
804
781
  box-sizing: border-box;
805
782
  }
783
+ $green: $really-bad-bad-bad-green !default;
784
+ $primary: $primary-button !default;
785
+ $light: $img-placeholder !default;
786
+ $info: $wizishop-blue !default;
787
+ $danger: $img-red-color !default;
788
+ $dark: $img-dark !default;
789
+
790
+ $button-padding-vertical: 0.4375rem !default;
791
+ $radius: 0.1875rem !default;
792
+
793
+ $button-color: white!default;
794
+ $button-hover-color: white !default;
795
+ $button-focus-color: white !default;
796
+ $button-active-color: white !default;
797
+ $button-background-color: $primary !default;
798
+ $button-disabled-background-color: $primary !default;
799
+ $button-border-color: $primary-button-hover !default;
800
+ $button-hover-border-color: $primary-button-hover !default;
801
+ $button-active-border-color: $primary-button-hover !default;
802
+ $button-focus-border-color: $primary-button-hover !default;
803
+ $button-disabled-border-color: $primary-button-hover !default;
804
+
805
+ $tag-radius: rem(20px)!default;
806
806
  //.wz-img-manager useful to keep the css priority
807
807
  .wz-img-manager .canva-btn {
808
808
  background-color: $img-main-color;
@@ -1717,6 +1717,117 @@ $tag-radius: rem(20px)!default;
1717
1717
  .trash {
1718
1718
  display: none!important;
1719
1719
  }
1720
+ .img-upload {
1721
+ position: relative;
1722
+ background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='3' ry='3' stroke='%2352AECD' stroke-width='2' stroke-dasharray='4%2c 8' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
1723
+ border-radius: 3px;
1724
+ &:before {
1725
+ content: '';
1726
+ display: block;
1727
+ padding-top: 110.82%;
1728
+ }
1729
+ &--small {
1730
+ &:before {
1731
+ padding-top: 202px;
1732
+ }
1733
+ .img-upload {
1734
+ &__container {
1735
+ .blueColor {
1736
+ img {
1737
+ min-width: 1.875rem;
1738
+ }
1739
+ }
1740
+ &__or {
1741
+ margin: 0.625rem 0;
1742
+ }
1743
+ &__text {
1744
+ padding: 0.5rem 1.25rem;
1745
+ }
1746
+ }
1747
+ }
1748
+ }
1749
+ &__container {
1750
+ position: absolute;
1751
+ top: 0;
1752
+ left: 0;
1753
+ width: 100%;
1754
+ height: 100%;
1755
+ display: flex;
1756
+ flex-wrap: wrap;
1757
+ flex-direction: column;
1758
+ justify-content: center;
1759
+ align-items: center;
1760
+ &__loader {
1761
+ position: absolute;
1762
+ top: 50%;
1763
+ left: 50%;
1764
+ transform: translate(-50%,-50%);
1765
+ max-width: 300px;
1766
+ max-height: 300px;
1767
+ display: flex;
1768
+ flex-wrap: wrap;
1769
+ flex-direction: column;
1770
+ justify-content: center;
1771
+ align-items: center;
1772
+ }
1773
+ &__dropImgIconDiv {
1774
+ @include media('<720px') {
1775
+ p {
1776
+ display: none;
1777
+ }
1778
+ }
1779
+ }
1780
+ &__or {
1781
+ @include media('<720px') {
1782
+ display: none;
1783
+ }
1784
+ }
1785
+ .blueColor {
1786
+ img {
1787
+ min-width: 4.0625rem;
1788
+ display: block;
1789
+ max-width: 4.0625rem;
1790
+ margin: 0 auto 0.9375rem;
1791
+ transform: translate(10px);
1792
+ }
1793
+ p {
1794
+ color: $border-upload-color;
1795
+ font-size: 1rem;
1796
+ line-height: 1.1875rem;
1797
+ font-weight: 500;
1798
+ margin: 0 auto 1.25rem;
1799
+ }
1800
+ }
1801
+ &__or {
1802
+ font-size: 0.875rem;
1803
+ line-height: 1rem;
1804
+ margin: 0 0 1.25rem !important;
1805
+ }
1806
+ &__text {
1807
+ display: flex;
1808
+ align-items: center;
1809
+ justify-content: center;
1810
+ width: auto;
1811
+ border-radius: 3px;
1812
+ padding: 0.75rem 1.25rem;
1813
+ color: $white;
1814
+ font-size: 0.875rem;
1815
+ line-height: 1rem;
1816
+ white-space: nowrap;
1817
+ background-color: $img-green-color;
1818
+ transition: .3s ease;
1819
+ font-weight: 500;
1820
+ cursor: pointer;
1821
+ i {
1822
+ margin: 0 0.375rem 0 0;
1823
+ font-weight: 500;
1824
+ }
1825
+ &:hover, &:focus {
1826
+ background-color: darken($img-green-color, 15%);
1827
+ }
1828
+ }
1829
+ }
1830
+ }
1720
1831
  //.wz-img-manager useful to keep the css priority
1721
1832
  .wz-img-manager .img-tabs {
1722
1833
  background-color: white;
@@ -1875,301 +1986,40 @@ $tag-radius: rem(20px)!default;
1875
1986
  padding: 20px 0;
1876
1987
  }
1877
1988
  }
1878
- .img-upload {
1879
- position: relative;
1880
- background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='3' ry='3' stroke='%2352AECD' stroke-width='2' stroke-dasharray='4%2c 8' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
1881
- border-radius: 3px;
1882
- &:before {
1883
- content: '';
1884
- display: block;
1885
- padding-top: 110.82%;
1989
+ //.wz-img-manager useful to keep the css priority
1990
+ .wz-img-manager .wz-loader {
1991
+ &.is-small {
1992
+ right: 0;
1993
+ left: 0;
1994
+ top: 0;
1995
+ transform: scale(0.6);
1886
1996
  }
1887
- &--small {
1888
- &:before {
1889
- padding-top: 202px;
1997
+ margin-bottom: 5rem;
1998
+
1999
+ @keyframes rotate {
2000
+ 0% {
2001
+ transform: rotate(0deg);
1890
2002
  }
1891
- .img-upload {
1892
- &__container {
1893
- .blueColor {
1894
- img {
1895
- min-width: 1.875rem;
1896
- }
1897
- }
1898
- &__or {
1899
- margin: 0.625rem 0;
1900
- }
1901
- &__text {
1902
- padding: 0.5rem 1.25rem;
1903
- }
1904
- }
2003
+ 50% {
2004
+ transform: rotate(180deg);
2005
+ }
2006
+ 100% {
2007
+ transform: rotate(360deg);
1905
2008
  }
1906
2009
  }
1907
- &__container {
1908
- position: absolute;
1909
- top: 0;
1910
- left: 0;
1911
- width: 100%;
1912
- height: 100%;
1913
- display: flex;
1914
- flex-wrap: wrap;
1915
- flex-direction: column;
1916
- justify-content: center;
1917
- align-items: center;
1918
- &__loader {
1919
- position: absolute;
1920
- top: 50%;
1921
- left: 50%;
1922
- transform: translate(-50%,-50%);
1923
- max-width: 300px;
1924
- max-height: 300px;
1925
- display: flex;
1926
- flex-wrap: wrap;
1927
- flex-direction: column;
1928
- justify-content: center;
1929
- align-items: center;
2010
+
2011
+ @keyframes rotate2 {
2012
+ 0% {
2013
+ transform: rotate(0deg);
2014
+ border-top-color: $img-color-loader;
1930
2015
  }
1931
- &__dropImgIconDiv {
1932
- @include media('<720px') {
1933
- p {
1934
- display: none;
1935
- }
1936
- }
2016
+ 50% {
2017
+ transform: rotate(180deg);
2018
+ border-top-color: $img-color-loader2;
1937
2019
  }
1938
- &__or {
1939
- @include media('<720px') {
1940
- display: none;
1941
- }
1942
- }
1943
- .blueColor {
1944
- img {
1945
- min-width: 4.0625rem;
1946
- display: block;
1947
- max-width: 4.0625rem;
1948
- margin: 0 auto 0.9375rem;
1949
- transform: translate(10px);
1950
- }
1951
- p {
1952
- color: $border-upload-color;
1953
- font-size: 1rem;
1954
- line-height: 1.1875rem;
1955
- font-weight: 500;
1956
- margin: 0 auto 1.25rem;
1957
- }
1958
- }
1959
- &__or {
1960
- font-size: 0.875rem;
1961
- line-height: 1rem;
1962
- margin: 0 0 1.25rem !important;
1963
- }
1964
- &__text {
1965
- display: flex;
1966
- align-items: center;
1967
- justify-content: center;
1968
- width: auto;
1969
- border-radius: 3px;
1970
- padding: 0.75rem 1.25rem;
1971
- color: $white;
1972
- font-size: 0.875rem;
1973
- line-height: 1rem;
1974
- white-space: nowrap;
1975
- background-color: $img-green-color;
1976
- transition: .3s ease;
1977
- font-weight: 500;
1978
- cursor: pointer;
1979
- i {
1980
- margin: 0 0.375rem 0 0;
1981
- font-weight: 500;
1982
- }
1983
- &:hover, &:focus {
1984
- background-color: darken($img-green-color, 15%);
1985
- }
1986
- }
1987
- }
1988
- }
1989
- //.wz-img-manager useful to keep the css priority
1990
- .wz-img-manager .upload-list {
1991
- text-align: left;
1992
- font-size: 14px;
1993
- color: #23272B;
1994
-
1995
- &.smallDisplay {
1996
- .upload-list__box__cards__card {
1997
- width: 125px;
1998
- }
1999
- }
2000
-
2001
- &__scroll {
2002
- position: relative;
2003
- max-height: 1160px!important;
2004
- height: 1160px!important;
2005
-
2006
- &--smallDisplay {
2007
- max-height: 260px!important;
2008
- height: 260px!important;
2009
-
2010
- .upload-list__box {
2011
- margin-bottom: 20px;
2012
- }
2013
- }
2014
-
2015
- &--window {
2016
- max-height: none;
2017
- height: 500px;
2018
- }
2019
-
2020
- .ng-scroll-content {
2021
- margin-left: 0.5rem !important;
2022
- margin-right: 0.5rem !important;
2023
- min-width: calc(100% - 1rem) !important;
2024
- width: calc(100% - 1rem) !important;
2025
- }
2026
- }
2027
-
2028
- &__box {
2029
- margin: 0 0.8rem 30px 0.3rem;
2030
- padding: 30px;
2031
- background-color: $img-gray-background;
2032
- margin-right: 12px;
2033
- margin-left: 5px;
2034
- border-radius: 3px;
2035
-
2036
- &__container {
2037
- display: flex;
2038
- justify-content: space-between;
2039
- align-items: center;
2040
-
2041
- p {
2042
- display: inline;
2043
- }
2044
-
2045
- .dropdown {
2046
- vertical-align: baseline;
2047
- &:hover {
2048
- .dropdown-trigger i {
2049
- color: $img-main-color;
2050
- }
2051
- }
2052
- .dropdown-trigger {
2053
- display: inline;
2054
- i {
2055
- color: $img-secondary-text;
2056
- margin-left: 10px;
2057
- }
2058
- }
2059
-
2060
- .dropdown-menu {
2061
- padding: 0;
2062
- width: 370px;
2063
- left: -190px;
2064
- margin-top: 3px;
2065
-
2066
- .dropdown-item {
2067
- display: flex;
2068
- justify-content: left;
2069
- align-items: center;
2070
-
2071
- p {
2072
- margin: 0;
2073
- }
2074
-
2075
- p:first-child {
2076
- color: $img-main-text;
2077
- font-size: 14px;
2078
- }
2079
-
2080
- p:last-child {
2081
- color: $img-green-color;
2082
- font-size: 14px;
2083
- margin-left: 10px;
2084
- }
2085
- }
2086
- }
2087
- }
2088
- }
2089
-
2090
- &__cards {
2091
- padding-top: 15px;
2092
- margin-left: 5px;
2093
- display: flex;
2094
- justify-content: left;
2095
- flex-wrap: wrap;
2096
- align-items: center;
2097
- margin-right: -9px;
2098
- width: calc(100% + 24px);
2099
- transform: translateX(-12px);
2100
- &__card {
2101
- width: 198px;
2102
- margin: 0 12px 12px;
2103
- & > * {
2104
- width: 100%;
2105
- }
2106
-
2107
- &__btnBox {
2108
- text-align: center;
2109
- margin: 0.625rem auto 0;
2110
-
2111
- &__btn {
2112
- height: 30px;
2113
- width: 30px;
2114
- font-size: 14px!important;
2115
-
2116
- cursor: default;
2117
-
2118
- &:focus {
2119
- box-shadow: none;
2120
- }
2121
- }
2122
- }
2123
- }
2124
- }
2125
- }
2126
- }
2127
-
2128
- @media screen and (max-width: 768px) {
2129
- .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .upload-list__scroll {
2130
- max-height: none!important;
2131
-
2132
- .ng-scroll-content {
2133
- margin: 0 !important;
2134
- min-width: 100%!important;
2135
- width: 100%!important;
2136
- }
2137
- }
2138
- }
2139
- //.wz-img-manager useful to keep the css priority
2140
- .wz-img-manager .wz-loader {
2141
- &.is-small {
2142
- right: 0;
2143
- left: 0;
2144
- top: 0;
2145
- transform: scale(0.6);
2146
- }
2147
- margin-bottom: 5rem;
2148
-
2149
- @keyframes rotate {
2150
- 0% {
2151
- transform: rotate(0deg);
2152
- }
2153
- 50% {
2154
- transform: rotate(180deg);
2155
- }
2156
- 100% {
2157
- transform: rotate(360deg);
2158
- }
2159
- }
2160
-
2161
- @keyframes rotate2 {
2162
- 0% {
2163
- transform: rotate(0deg);
2164
- border-top-color: $img-color-loader;
2165
- }
2166
- 50% {
2167
- transform: rotate(180deg);
2168
- border-top-color: $img-color-loader2;
2169
- }
2170
- 100% {
2171
- transform: rotate(360deg);
2172
- border-top-color: $img-color-loader;
2020
+ 100% {
2021
+ transform: rotate(360deg);
2022
+ border-top-color: $img-color-loader;
2173
2023
  }
2174
2024
  }
2175
2025
 
@@ -2434,6 +2284,156 @@ $tag-radius: rem(20px)!default;
2434
2284
  cursor: pointer;
2435
2285
  }
2436
2286
  }
2287
+ //.wz-img-manager useful to keep the css priority
2288
+ .wz-img-manager .upload-list {
2289
+ text-align: left;
2290
+ font-size: 14px;
2291
+ color: #23272B;
2292
+
2293
+ &.smallDisplay {
2294
+ .upload-list__box__cards__card {
2295
+ width: 125px;
2296
+ }
2297
+ }
2298
+
2299
+ &__scroll {
2300
+ position: relative;
2301
+ max-height: 1160px!important;
2302
+ height: 1160px!important;
2303
+
2304
+ &--smallDisplay {
2305
+ max-height: 260px!important;
2306
+ height: 260px!important;
2307
+
2308
+ .upload-list__box {
2309
+ margin-bottom: 20px;
2310
+ }
2311
+ }
2312
+
2313
+ &--window {
2314
+ max-height: none;
2315
+ height: 500px;
2316
+ }
2317
+
2318
+ .ng-scroll-content {
2319
+ margin-left: 0.5rem !important;
2320
+ margin-right: 0.5rem !important;
2321
+ min-width: calc(100% - 1rem) !important;
2322
+ width: calc(100% - 1rem) !important;
2323
+ }
2324
+ }
2325
+
2326
+ &__box {
2327
+ margin: 0 0.8rem 30px 0.3rem;
2328
+ padding: 30px;
2329
+ background-color: $img-gray-background;
2330
+ margin-right: 12px;
2331
+ margin-left: 5px;
2332
+ border-radius: 3px;
2333
+
2334
+ &__container {
2335
+ display: flex;
2336
+ justify-content: space-between;
2337
+ align-items: center;
2338
+
2339
+ p {
2340
+ display: inline;
2341
+ }
2342
+
2343
+ .dropdown {
2344
+ vertical-align: baseline;
2345
+ &:hover {
2346
+ .dropdown-trigger i {
2347
+ color: $img-main-color;
2348
+ }
2349
+ }
2350
+ .dropdown-trigger {
2351
+ display: inline;
2352
+ i {
2353
+ color: $img-secondary-text;
2354
+ margin-left: 10px;
2355
+ }
2356
+ }
2357
+
2358
+ .dropdown-menu {
2359
+ padding: 0;
2360
+ width: 370px;
2361
+ left: -190px;
2362
+ margin-top: 3px;
2363
+
2364
+ .dropdown-item {
2365
+ display: flex;
2366
+ justify-content: left;
2367
+ align-items: center;
2368
+
2369
+ p {
2370
+ margin: 0;
2371
+ }
2372
+
2373
+ p:first-child {
2374
+ color: $img-main-text;
2375
+ font-size: 14px;
2376
+ }
2377
+
2378
+ p:last-child {
2379
+ color: $img-green-color;
2380
+ font-size: 14px;
2381
+ margin-left: 10px;
2382
+ }
2383
+ }
2384
+ }
2385
+ }
2386
+ }
2387
+
2388
+ &__cards {
2389
+ padding-top: 15px;
2390
+ margin-left: 5px;
2391
+ display: flex;
2392
+ justify-content: left;
2393
+ flex-wrap: wrap;
2394
+ align-items: center;
2395
+ margin-right: -9px;
2396
+ width: calc(100% + 24px);
2397
+ transform: translateX(-12px);
2398
+ &__card {
2399
+ width: 198px;
2400
+ margin: 0 12px 12px;
2401
+ & > * {
2402
+ width: 100%;
2403
+ }
2404
+
2405
+ &__btnBox {
2406
+ text-align: center;
2407
+ margin: 0.625rem auto 0;
2408
+
2409
+ &__btn {
2410
+ height: 30px;
2411
+ width: 30px;
2412
+ font-size: 14px!important;
2413
+
2414
+ cursor: default;
2415
+
2416
+ &:focus {
2417
+ box-shadow: none;
2418
+ }
2419
+ }
2420
+ }
2421
+ }
2422
+ }
2423
+ }
2424
+ }
2425
+
2426
+ @media screen and (max-width: 768px) {
2427
+ .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .upload-list__scroll {
2428
+ max-height: none!important;
2429
+
2430
+ .ng-scroll-content {
2431
+ margin: 0 !important;
2432
+ min-width: 100%!important;
2433
+ width: 100%!important;
2434
+ }
2435
+ }
2436
+ }
2437
2437
  .mosaic {
2438
2438
  width: 100%;
2439
2439
  display: flex;
@@ -2949,65 +2949,6 @@ image-cropper {
2949
2949
  }
2950
2950
  }
2951
2951
 
2952
- $default-color-p-alert: #1e5568;
2953
- $success-color-p-alert: #11552e;
2954
- $warning-color-p-alert: #3a0505;
2955
- $primary-button: #e95656;
2956
- $link-color: #52aecd;
2957
- $green-color: #2ecc71;
2958
-
2959
- .wz-alert {
2960
- width: 100%;
2961
- background-color: transparentize($link-color, 0.85);
2962
- color: $link-color;
2963
- border-radius: 3px;
2964
- display: flex;
2965
- flex-wrap: nowrap;
2966
- justify-content: space-between;
2967
- padding: 20px;
2968
- &.success {
2969
- background-color: transparentize($green-color, 0.85);
2970
- p {
2971
- color: $success-color-p-alert;
2972
- > * {
2973
- color: $success-color-p-alert;
2974
- }
2975
- }
2976
- i {
2977
- color: $green-color;
2978
- }
2979
- }
2980
- &.warning {
2981
- background-color: transparentize($primary-button, 0.85);
2982
- p {
2983
- color: $warning-color-p-alert;
2984
- > * {
2985
- color: $warning-color-p-alert;
2986
- }
2987
- }
2988
- i {
2989
- color: $primary-button;
2990
- }
2991
- }
2992
- p {
2993
- width: 100%;
2994
- font-size: 0.875rem;
2995
- line-height: 1.5625rem;
2996
- margin: 0;
2997
- padding: 0;
2998
- color: $default-color-p-alert;
2999
- > * {
3000
- color: $default-color-p-alert;
3001
- }
3002
- }
3003
- i {
3004
- width: auto;
3005
- margin: 0 10px 0 0;
3006
- color: inherit;
3007
- font-size: 0.875rem;
3008
- line-height: 1.5625rem;
3009
- }
3010
- }
3011
2952
  .wz-img-manager .is-checkradio[type='checkbox'] {
3012
2953
  outline: 0 !important;
3013
2954
  & + label {
@@ -3336,65 +3277,269 @@ $green-color: #2ecc71;
3336
3277
  top 8px right 12px / 10px 10px no-repeat;
3337
3278
  }
3338
3279
 
3339
- select::-ms-expand {
3340
- display: none;
3280
+ select::-ms-expand {
3281
+ display: none;
3282
+ }
3283
+ }
3284
+
3285
+ &__elements {
3286
+ margin-right: 30px;
3287
+ @include media('<tablet') {
3288
+ display: none;
3289
+ }
3290
+
3291
+ p {
3292
+ margin: 8px 0 9px 0;
3293
+ font-size: 14px;
3294
+ line-height: 24px;
3295
+ color: $dark;
3296
+ }
3297
+ }
3298
+
3299
+ &__arrows {
3300
+ @include flexbox();
3301
+
3302
+ &__arrow {
3303
+ width: 40px;
3304
+ height: 40px;
3305
+ padding: 9px 14px;
3306
+ border: 1px solid $border-form;
3307
+ border-radius: 3px;
3308
+ cursor: pointer;
3309
+ display: flex;
3310
+ align-items: center;
3311
+
3312
+ span {
3313
+ display: inline-block;
3314
+ width: 10px;
3315
+ height: 15px;
3316
+ }
3317
+
3318
+ &--left {
3319
+ margin-right: 10px;
3320
+
3321
+ span {
3322
+ background: transparent
3323
+ url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='chevron-left' viewBox='0 0 320 512' class='svg-inline--fa fa-chevron-left fa-w-10 fa-7x'%3E%3Cpath fill='%23526384' d='M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z'/%3E%3C/svg%3E")
3324
+ center center / 10px 12px no-repeat;
3325
+ }
3326
+ }
3327
+
3328
+ &--right {
3329
+ span {
3330
+ background: transparent
3331
+ url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='chevron-right' viewBox='0 0 320 512' class='svg-inline--fa fa-chevron-right fa-w-10 fa-7x'%3E%3Cpath fill='%23526384' d='M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z'/%3E%3C/svg%3E")
3332
+ center center / 10px 12px no-repeat;
3333
+ }
3334
+ }
3335
+
3336
+ &--disabled {
3337
+ border-color: $background-color;
3338
+ background-color: $background-color;
3339
+ }
3340
+ }
3341
+ }
3342
+ }
3343
+ }
3344
+ $default-color-p-alert: #1e5568;
3345
+ $success-color-p-alert: #11552e;
3346
+ $warning-color-p-alert: #3a0505;
3347
+ $primary-button: #e95656;
3348
+ $link-color: #52aecd;
3349
+ $green-color: #2ecc71;
3350
+
3351
+ .wz-alert {
3352
+ width: 100%;
3353
+ background-color: transparentize($link-color, 0.85);
3354
+ color: $link-color;
3355
+ border-radius: 3px;
3356
+ display: flex;
3357
+ flex-wrap: nowrap;
3358
+ justify-content: space-between;
3359
+ padding: 20px;
3360
+ &.success {
3361
+ background-color: transparentize($green-color, 0.85);
3362
+ p {
3363
+ color: $success-color-p-alert;
3364
+ > * {
3365
+ color: $success-color-p-alert;
3366
+ }
3367
+ }
3368
+ i {
3369
+ color: $green-color;
3370
+ }
3371
+ }
3372
+ &.warning {
3373
+ background-color: transparentize($primary-button, 0.85);
3374
+ p {
3375
+ color: $warning-color-p-alert;
3376
+ > * {
3377
+ color: $warning-color-p-alert;
3378
+ }
3379
+ }
3380
+ i {
3381
+ color: $primary-button;
3382
+ }
3383
+ }
3384
+ p {
3385
+ width: 100%;
3386
+ font-size: 0.875rem;
3387
+ line-height: 1.5625rem;
3388
+ margin: 0;
3389
+ padding: 0;
3390
+ color: $default-color-p-alert;
3391
+ > * {
3392
+ color: $default-color-p-alert;
3393
+ }
3394
+ }
3395
+ i {
3396
+ width: auto;
3397
+ margin: 0 10px 0 0;
3398
+ color: inherit;
3399
+ font-size: 0.875rem;
3400
+ line-height: 1.5625rem;
3401
+ }
3402
+ }
3403
+ .wz-img-manager .wz-table {
3404
+ width: 100%;
3405
+
3406
+ &__head {
3407
+ @include flexbox();
3408
+ @include flex-flow(row nowrap);
3409
+ width: 100%;
3410
+ border-top: 1px solid $textarea-border-color;
3411
+ border-bottom: 1px solid $textarea-border-color;
3412
+ background-color: $gray-background;
3413
+
3414
+ &__cell {
3415
+ @include flexbox();
3416
+ @include flex(1);
3417
+ padding: 15px 20px;
3418
+ font-size: 14px;
3419
+ line-height: 20px;
3420
+ color: $main-text;
3421
+ font-weight: 600;
3422
+
3423
+ &--checkbox {
3424
+ @include flex(none);
3425
+ width: 80px;
3426
+ padding: 10px 20px 6px 20px;
3427
+ > * {
3428
+ transform: translateX(15px);
3429
+ }
3430
+ }
3431
+
3432
+ &__search {
3433
+ color: $main-text;
3434
+ padding-right: 23px;
3435
+ transition: background-image 0.3s ease-in-out;
3436
+ cursor: text;
3437
+
3438
+ &:hover {
3439
+ color: $main-text;
3440
+ }
3441
+
3442
+ &--idle {
3443
+ background: transparent
3444
+ url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort' viewBox='0 0 320 512' class='svg-inline--fa fa-sort fa-w-10 fa-7x'%3E%3Cpath fill='currentColor' d='M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41zm255-105L177 64c-9.4-9.4-24.6-9.4-33.9 0L24 183c-15.1 15.1-4.4 41 17 41h238c21.4 0 32.1-25.9 17-41z'/%3E%3C/svg%3E")
3445
+ center right / 14px 14px no-repeat;
3446
+ transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3447
+ cursor: pointer;
3448
+
3449
+ &:hover {
3450
+ transition: color 0.3s ease-in-out;
3451
+ }
3452
+ }
3453
+
3454
+ &--up {
3455
+ background: transparent
3456
+ url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort-up' viewBox='0 0 320 512' class='svg-inline--fa fa-sort-up fa-w-10 fa-5x'%3E%3Cpath fill='currentColor' d='M279 224H41c-21.4 0-32.1-25.9-17-41L143 64c9.4-9.4 24.6-9.4 33.9 0l119 119c15.2 15.1 4.5 41-16.9 41z'/%3E%3C/svg%3E")
3457
+ center right / 14px 14px no-repeat;
3458
+ transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3459
+ cursor: pointer;
3460
+
3461
+ &:hover {
3462
+ transition: color 0.3s ease-in-out;
3463
+ }
3464
+ }
3465
+
3466
+ &--down {
3467
+ background: transparent
3468
+ url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort-down' viewBox='0 0 320 512' class='svg-inline--fa fa-sort-down fa-w-10 fa-7x'%3E%3Cpath fill='currentColor' d='M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41z'/%3E%3C/svg%3E")
3469
+ center right / 14px 14px no-repeat;
3470
+ transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3471
+ cursor: pointer;
3472
+
3473
+ &:hover {
3474
+ transition: color 0.3s ease-in-out;
3475
+ }
3476
+ }
3477
+ }
3478
+
3479
+ &--center--left {
3480
+ @include align-items(center);
3481
+ @include justify-content(left);
3482
+ }
3483
+ &--center--center {
3484
+ @include align-items(center);
3485
+ @include justify-content(center);
3486
+ }
3487
+ &--center--right {
3488
+ @include align-items(center);
3489
+ @include justify-content(right);
3341
3490
  }
3342
3491
  }
3492
+ }
3343
3493
 
3344
- &__elements {
3345
- margin-right: 30px;
3346
- @include media('<tablet') {
3347
- display: none;
3348
- }
3494
+ // TODO delete __search
3495
+ &__search {
3496
+ height: 100px;
3497
+ margin-top: 10px;
3498
+ }
3349
3499
 
3350
- p {
3351
- margin: 8px 0 9px 0;
3352
- font-size: 14px;
3353
- line-height: 24px;
3354
- color: $dark;
3355
- }
3500
+ &__body {
3501
+ width: 100%;
3502
+ margin-top: -10px;
3503
+
3504
+ &__loader {
3505
+ position: relative;
3506
+ min-height: 200px;
3356
3507
  }
3357
3508
 
3358
- &__arrows {
3509
+ &__line {
3359
3510
  @include flexbox();
3511
+ @include flex-flow(row nowrap);
3512
+ width: 100%;
3513
+ border-bottom: 1px solid $textarea-border-color;
3360
3514
 
3361
- &__arrow {
3362
- width: 40px;
3363
- height: 40px;
3364
- padding: 9px 14px;
3365
- border: 1px solid $border-form;
3366
- border-radius: 3px;
3367
- cursor: pointer;
3368
- display: flex;
3369
- align-items: center;
3515
+ &__cell {
3516
+ @include flexbox();
3517
+ @include flex(1);
3518
+ padding: 20px 20px 20px 20px;
3519
+ font-size: 14px;
3520
+ line-height: 25px;
3521
+ color: $secondary-color;
3370
3522
 
3371
- span {
3372
- display: inline-block;
3373
- width: 10px;
3374
- height: 15px;
3523
+ &--checkbox {
3524
+ @include flexbox();
3525
+ @include flex(none);
3526
+ @include justify-content(center);
3527
+ @include align-items(center);
3528
+ width: 80px;
3529
+ padding: 8px 20px;
3375
3530
  }
3376
3531
 
3377
- &--left {
3378
- margin-right: 10px;
3379
-
3380
- span {
3381
- background: transparent
3382
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='chevron-left' viewBox='0 0 320 512' class='svg-inline--fa fa-chevron-left fa-w-10 fa-7x'%3E%3Cpath fill='%23526384' d='M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z'/%3E%3C/svg%3E")
3383
- center center / 10px 12px no-repeat;
3384
- }
3532
+ &--center--left {
3533
+ @include align-items(center);
3534
+ @include justify-content(left);
3385
3535
  }
3386
-
3387
- &--right {
3388
- span {
3389
- background: transparent
3390
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='chevron-right' viewBox='0 0 320 512' class='svg-inline--fa fa-chevron-right fa-w-10 fa-7x'%3E%3Cpath fill='%23526384' d='M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z'/%3E%3C/svg%3E")
3391
- center center / 10px 12px no-repeat;
3392
- }
3536
+ &--center--center {
3537
+ @include align-items(center);
3538
+ @include justify-content(center);
3393
3539
  }
3394
-
3395
- &--disabled {
3396
- border-color: $background-color;
3397
- background-color: $background-color;
3540
+ &--center--right {
3541
+ @include align-items(center);
3542
+ @include justify-content(right);
3398
3543
  }
3399
3544
  }
3400
3545
  }
@@ -3693,151 +3838,6 @@ $green-color: #2ecc71;
3693
3838
  }
3694
3839
  }
3695
3840
  }
3696
- .wz-img-manager .wz-table {
3697
- width: 100%;
3698
-
3699
- &__head {
3700
- @include flexbox();
3701
- @include flex-flow(row nowrap);
3702
- width: 100%;
3703
- border-top: 1px solid $textarea-border-color;
3704
- border-bottom: 1px solid $textarea-border-color;
3705
- background-color: $gray-background;
3706
-
3707
- &__cell {
3708
- @include flexbox();
3709
- @include flex(1);
3710
- padding: 15px 20px;
3711
- font-size: 14px;
3712
- line-height: 20px;
3713
- color: $main-text;
3714
- font-weight: 600;
3715
-
3716
- &--checkbox {
3717
- @include flex(none);
3718
- width: 80px;
3719
- padding: 10px 20px 6px 20px;
3720
- > * {
3721
- transform: translateX(15px);
3722
- }
3723
- }
3724
-
3725
- &__search {
3726
- color: $main-text;
3727
- padding-right: 23px;
3728
- transition: background-image 0.3s ease-in-out;
3729
- cursor: text;
3730
-
3731
- &:hover {
3732
- color: $main-text;
3733
- }
3734
-
3735
- &--idle {
3736
- background: transparent
3737
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort' viewBox='0 0 320 512' class='svg-inline--fa fa-sort fa-w-10 fa-7x'%3E%3Cpath fill='currentColor' d='M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41zm255-105L177 64c-9.4-9.4-24.6-9.4-33.9 0L24 183c-15.1 15.1-4.4 41 17 41h238c21.4 0 32.1-25.9 17-41z'/%3E%3C/svg%3E")
3738
- center right / 14px 14px no-repeat;
3739
- transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3740
- cursor: pointer;
3741
-
3742
- &:hover {
3743
- transition: color 0.3s ease-in-out;
3744
- }
3745
- }
3746
-
3747
- &--up {
3748
- background: transparent
3749
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort-up' viewBox='0 0 320 512' class='svg-inline--fa fa-sort-up fa-w-10 fa-5x'%3E%3Cpath fill='currentColor' d='M279 224H41c-21.4 0-32.1-25.9-17-41L143 64c9.4-9.4 24.6-9.4 33.9 0l119 119c15.2 15.1 4.5 41-16.9 41z'/%3E%3C/svg%3E")
3750
- center right / 14px 14px no-repeat;
3751
- transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3752
- cursor: pointer;
3753
-
3754
- &:hover {
3755
- transition: color 0.3s ease-in-out;
3756
- }
3757
- }
3758
-
3759
- &--down {
3760
- background: transparent
3761
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort-down' viewBox='0 0 320 512' class='svg-inline--fa fa-sort-down fa-w-10 fa-7x'%3E%3Cpath fill='currentColor' d='M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41z'/%3E%3C/svg%3E")
3762
- center right / 14px 14px no-repeat;
3763
- transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3764
- cursor: pointer;
3765
-
3766
- &:hover {
3767
- transition: color 0.3s ease-in-out;
3768
- }
3769
- }
3770
- }
3771
-
3772
- &--center--left {
3773
- @include align-items(center);
3774
- @include justify-content(left);
3775
- }
3776
- &--center--center {
3777
- @include align-items(center);
3778
- @include justify-content(center);
3779
- }
3780
- &--center--right {
3781
- @include align-items(center);
3782
- @include justify-content(right);
3783
- }
3784
- }
3785
- }
3786
-
3787
- // TODO delete __search
3788
- &__search {
3789
- height: 100px;
3790
- margin-top: 10px;
3791
- }
3792
-
3793
- &__body {
3794
- width: 100%;
3795
- margin-top: -10px;
3796
-
3797
- &__loader {
3798
- position: relative;
3799
- min-height: 200px;
3800
- }
3801
-
3802
- &__line {
3803
- @include flexbox();
3804
- @include flex-flow(row nowrap);
3805
- width: 100%;
3806
- border-bottom: 1px solid $textarea-border-color;
3807
-
3808
- &__cell {
3809
- @include flexbox();
3810
- @include flex(1);
3811
- padding: 20px 20px 20px 20px;
3812
- font-size: 14px;
3813
- line-height: 25px;
3814
- color: $secondary-color;
3815
-
3816
- &--checkbox {
3817
- @include flexbox();
3818
- @include flex(none);
3819
- @include justify-content(center);
3820
- @include align-items(center);
3821
- width: 80px;
3822
- padding: 8px 20px;
3823
- }
3824
-
3825
- &--center--left {
3826
- @include align-items(center);
3827
- @include justify-content(left);
3828
- }
3829
- &--center--center {
3830
- @include align-items(center);
3831
- @include justify-content(center);
3832
- }
3833
- &--center--right {
3834
- @include align-items(center);
3835
- @include justify-content(right);
3836
- }
3837
- }
3838
- }
3839
- }
3840
- }
3841
3841
  $card-img-size: 100%;
3842
3842
  $card-img-size-small: 140px;
3843
3843