@wizishop/img-manager 0.2.83 → 0.2.87

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.
Files changed (41) hide show
  1. package/assets/i18n/en.json +1 -1
  2. package/assets/i18n/fr.json +1 -1
  3. package/bundles/wizishop-img-manager.umd.js +268 -27
  4. package/bundles/wizishop-img-manager.umd.js.map +1 -1
  5. package/bundles/wizishop-img-manager.umd.min.js +2 -2
  6. package/bundles/wizishop-img-manager.umd.min.js.map +1 -1
  7. package/esm2015/lib/components/img-tabs/img-tabs.component.js +31 -6
  8. package/esm2015/lib/components/shared/select/call-to-action.model.js +1 -0
  9. package/esm2015/lib/components/shared/select/select-items.dto.js +1 -0
  10. package/esm2015/lib/components/shared/select/select.component.js +133 -0
  11. package/esm2015/lib/directives/zindex-toggle.directive.js +49 -0
  12. package/esm2015/lib/pipes/select/select-filters.pipe.js +17 -0
  13. package/esm2015/lib/services/img-manager.service.js +11 -1
  14. package/esm2015/lib/wz-img-manager.module.js +11 -3
  15. package/esm2015/wizishop-img-manager.js +20 -17
  16. package/esm5/lib/components/img-tabs/img-tabs.component.js +31 -6
  17. package/esm5/lib/components/shared/select/call-to-action.model.js +1 -0
  18. package/esm5/lib/components/shared/select/select-items.dto.js +1 -0
  19. package/esm5/lib/components/shared/select/select.component.js +136 -0
  20. package/esm5/lib/directives/zindex-toggle.directive.js +54 -0
  21. package/esm5/lib/pipes/select/select-filters.pipe.js +20 -0
  22. package/esm5/lib/services/img-manager.service.js +11 -1
  23. package/esm5/lib/wz-img-manager.module.js +11 -3
  24. package/esm5/wizishop-img-manager.js +20 -17
  25. package/fesm2015/wizishop-img-manager.js +236 -8
  26. package/fesm2015/wizishop-img-manager.js.map +1 -1
  27. package/fesm5/wizishop-img-manager.js +247 -8
  28. package/fesm5/wizishop-img-manager.js.map +1 -1
  29. package/lib/components/img-tabs/img-tabs.component.d.ts +4 -3
  30. package/lib/components/shared/select/call-to-action.model.d.ts +6 -0
  31. package/lib/components/shared/select/select-items.dto.d.ts +8 -0
  32. package/lib/components/shared/select/select.component.d.ts +38 -0
  33. package/lib/directives/zindex-toggle.directive.d.ts +13 -0
  34. package/lib/pipes/select/select-filters.pipe.d.ts +5 -0
  35. package/lib/services/img-manager.service.d.ts +2 -1
  36. package/package.json +2 -1
  37. package/wizishop-img-manager-0.2.87.tgz +0 -0
  38. package/wizishop-img-manager.d.ts +19 -16
  39. package/wizishop-img-manager.metadata.json +1 -1
  40. package/wz-img-manager.scss +1786 -1481
  41. package/wizishop-img-manager-0.2.83.tgz +0 -0
@@ -65,6 +65,11 @@ $input-radio-color-label: #6b7881!default;
65
65
  $input-radio-color-active-label: #1e2e43!default;
66
66
  $border-color: #dee2ed!default;
67
67
  $img-white: #fff!default;
68
+ $select-icon-background: #edeff2!default;
69
+ $color-CTA-select: #52aecd1a!default;
70
+ $border-CTA-select: #52aecd66!default;
71
+ $color-text-grey: #6b7881!default;
72
+ $select-box-shadow: #0000000d!default;
68
73
  @function rem($pxval) {
69
74
  @if not unitless($pxval) {
70
75
  $pxval: strip-unit($pxval);
@@ -877,6 +882,9 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
877
882
  &__pagination {
878
883
  margin-bottom: 0;
879
884
  transform: translateX(-20px);
885
+ @include media('<tablet') {
886
+ transform: none;
887
+ }
880
888
  }
881
889
  }
882
890
  }
@@ -984,104 +992,83 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
984
992
  overflow: scroll;
985
993
  }
986
994
  }
987
- .img-upload {
988
- position: relative;
989
- 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");
990
- border-radius: 3px;
991
- &:before {
992
- content: '';
993
- display: block;
994
- padding-top: 110.82%;
995
+ //.wz-img-manager useful to keep the css priority
996
+ .wz-img-manager .wz-loader {
997
+ &.is-small {
998
+ right: 0;
999
+ left: 0;
1000
+ top: 0;
1001
+ transform: scale(0.6);
995
1002
  }
996
- &--small {
997
- &:before {
998
- padding-top: 202px;
1003
+ margin-bottom: rem(80);
1004
+
1005
+ @keyframes rotate {
1006
+ 0% {
1007
+ transform: rotate(0deg);
999
1008
  }
1000
- .img-upload {
1001
- &__container {
1002
- .blueColor {
1003
- img {
1004
- min-width: rem(30);
1005
- }
1006
- }
1007
- &__or {
1008
- margin: rem(10) 0;
1009
- }
1010
- &__text {
1011
- padding: rem(8) rem(20);
1012
- }
1013
- }
1009
+ 50% {
1010
+ transform: rotate(180deg);
1011
+ }
1012
+ 100% {
1013
+ transform: rotate(360deg);
1014
1014
  }
1015
1015
  }
1016
- &__container {
1017
- position: absolute;
1018
- top: 0;
1019
- left: 0;
1020
- width: 100%;
1021
- height: 100%;
1022
- display: flex;
1023
- flex-wrap: wrap;
1024
- flex-direction: column;
1025
- justify-content: center;
1026
- align-items: center;
1027
- &__loader {
1028
- position: absolute;
1029
- top: 50%;
1030
- left: 50%;
1031
- transform: translate(-50%,-50%);
1032
- max-width: 300px;
1033
- max-height: 300px;
1034
- display: flex;
1035
- flex-wrap: wrap;
1036
- flex-direction: column;
1037
- justify-content: center;
1038
- align-items: center;
1016
+
1017
+ @keyframes rotate2 {
1018
+ 0% {
1019
+ transform: rotate(0deg);
1020
+ border-top-color: $img-color-loader;
1039
1021
  }
1040
- .blueColor {
1041
- img {
1042
- min-width: rem(65);
1043
- display: block;
1044
- max-width: rem(65);
1045
- margin: 0 auto rem(15);
1046
- transform: translate(10px);
1047
- }
1048
- p {
1049
- color: $border-upload-color;
1050
- font-size: rem(16);
1051
- line-height: rem(19);
1052
- font-weight: 500;
1053
- margin: 0 auto rem(20);
1054
- }
1022
+ 50% {
1023
+ transform: rotate(180deg);
1024
+ border-top-color: $img-color-loader2;
1055
1025
  }
1056
- &__or {
1057
- font-size: rem(14);
1058
- line-height: rem(16);
1059
- margin: 0 0 rem(20) !important;
1026
+ 100% {
1027
+ transform: rotate(360deg);
1028
+ border-top-color: $img-color-loader;
1060
1029
  }
1061
- &__text {
1062
- display: flex;
1063
- align-items: center;
1064
- justify-content: center;
1065
- width: auto;
1066
- border-radius: 3px;
1067
- padding: rem(12) rem(20);
1068
- color: $white;
1069
- font-size: rem(14);
1070
- line-height: rem(16);
1071
- white-space: nowrap;
1072
- background-color: $img-green-color;
1073
- transition: .3s ease;
1074
- font-weight: 500;
1075
- cursor: pointer;
1076
- i {
1077
- margin: 0 rem(6) 0 0;
1078
- font-weight: 500;
1079
- }
1080
- &:hover, &:focus {
1081
- background-color: darken($img-green-color, 15%);
1082
- }
1030
+ }
1031
+
1032
+ @mixin loaderDivMixin {
1033
+ border-radius: 50%;
1034
+ padding: rem(8);
1035
+ border: rem(2) solid transparent;
1036
+ animation: rotate linear 3.5s infinite;
1037
+ }
1038
+
1039
+ .loader {
1040
+ position: relative;
1041
+ margin: rem(75) auto;
1042
+ width: rem(150);
1043
+ height: rem(150);
1044
+ display: block;
1045
+ overflow: hidden;
1046
+ div {
1047
+ height: 100%;
1083
1048
  }
1084
1049
  }
1050
+
1051
+ /* loader 1 */
1052
+ .loader1,
1053
+ .loader1 div {
1054
+ @include loaderDivMixin;
1055
+ border-top-color: $img-color-loader;
1056
+ border-bottom-color: $img-color-loader2;
1057
+ }
1058
+
1059
+ div:hover {
1060
+ animation-play-state: paused;
1061
+ }
1062
+
1063
+ .loader,
1064
+ .loader * {
1065
+ will-change: transform;
1066
+ }
1067
+
1068
+ p {
1069
+ margin-top: -50px;
1070
+ font-weight: 500;
1071
+ }
1085
1072
  }
1086
1073
  //.wz-img-manager useful to keep the css priority
1087
1074
  .wz-img-manager .table-view {
@@ -1852,203 +1839,105 @@ $green-color: #2ecc71;
1852
1839
  }
1853
1840
  }
1854
1841
  }
1855
- .wz-img-manager {
1856
-
1857
- &__selectionHandler {
1858
- margin-top: -50px;
1842
+ .img-upload {
1843
+ position: relative;
1844
+ 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");
1845
+ border-radius: 3px;
1846
+ &:before {
1847
+ content: '';
1848
+ display: block;
1849
+ padding-top: 110.82%;
1859
1850
  }
1860
-
1861
- &__module {
1862
- position: fixed;
1863
- bottom: 0;
1851
+ &--small {
1852
+ &:before {
1853
+ padding-top: 202px;
1854
+ }
1855
+ .img-upload {
1856
+ &__container {
1857
+ .blueColor {
1858
+ img {
1859
+ min-width: rem(30);
1860
+ }
1861
+ }
1862
+ &__or {
1863
+ margin: rem(10) 0;
1864
+ }
1865
+ &__text {
1866
+ padding: rem(8) rem(20);
1867
+ }
1868
+ }
1869
+ }
1870
+ }
1871
+ &__container {
1872
+ position: absolute;
1873
+ top: 0;
1864
1874
  left: 0;
1865
1875
  width: 100%;
1866
- height: 0;
1867
- transition: height .3s ease;
1868
- z-index: 2147483647; // snackbar 10
1869
- transform: translateZ(0);
1870
-
1871
- &:before {
1872
- content: '';
1873
- display: block;
1876
+ height: 100%;
1877
+ display: flex;
1878
+ flex-wrap: wrap;
1879
+ flex-direction: column;
1880
+ justify-content: center;
1881
+ align-items: center;
1882
+ &__loader {
1874
1883
  position: absolute;
1875
- top: 0;
1876
- left: 0;
1877
- width: 100%;
1878
- height: 3px;
1879
- background-color: $img-main-color;
1880
- z-index: 999;
1881
- }
1882
-
1883
- &--closed {
1884
- height: 0;
1884
+ top: 50%;
1885
+ left: 50%;
1886
+ transform: translate(-50%,-50%);
1887
+ max-width: 300px;
1888
+ max-height: 300px;
1889
+ display: flex;
1890
+ flex-wrap: wrap;
1891
+ flex-direction: column;
1892
+ justify-content: center;
1893
+ align-items: center;
1885
1894
  }
1886
-
1887
- // .wz-img-manager__module--small
1888
- &--small {
1889
- height: 320px;
1890
- @include media('<tablet') {
1891
- height: calc(100vh - 35px);
1895
+ .blueColor {
1896
+ img {
1897
+ min-width: rem(65);
1898
+ display: block;
1899
+ max-width: rem(65);
1900
+ margin: 0 auto rem(15);
1901
+ transform: translate(10px);
1902
+ }
1903
+ p {
1904
+ color: $border-upload-color;
1905
+ font-size: rem(16);
1906
+ line-height: rem(19);
1907
+ font-weight: 500;
1908
+ margin: 0 auto rem(20);
1892
1909
  }
1893
1910
  }
1894
-
1895
- // .wz-img-manager__module--full
1896
- &--full {
1897
- height: calc(100vh - 50px);
1898
- @include media('<tablet') {
1899
- height: calc(100vh - 35px);
1900
- }
1911
+ &__or {
1912
+ font-size: rem(14);
1913
+ line-height: rem(16);
1914
+ margin: 0 0 rem(20) !important;
1901
1915
  }
1902
-
1903
- // .wz-img-manager__module--window
1904
- &--window {
1905
- position: relative;
1916
+ &__text {
1917
+ display: flex;
1918
+ align-items: center;
1919
+ justify-content: center;
1906
1920
  width: auto;
1907
- bottom: unset;
1908
- left: unset;
1909
- z-index: 29!important;
1910
- height: auto!important;
1911
- padding-bottom: 6.25rem;
1912
-
1913
- &:before {
1914
- content: none;
1915
- height: 0px;
1916
- }
1917
-
1918
- // .wz-img-manager__module--edit
1919
- &--edit {
1920
- .wrapper-tabs {
1921
- display: none;
1922
- }
1923
- }
1924
- }
1925
-
1926
- // .wz-img-manager__module__header
1927
- &__header {
1928
- position: absolute;
1929
- bottom: 100%;
1930
- right: 30px;
1931
- width: 101px;
1932
-
1933
- @include media('<tablet') {
1934
- width: 45px;
1935
- right: 0;
1921
+ border-radius: 3px;
1922
+ padding: rem(12) rem(20);
1923
+ color: $white;
1924
+ font-size: rem(14);
1925
+ line-height: rem(16);
1926
+ white-space: nowrap;
1927
+ background-color: $img-green-color;
1928
+ transition: .3s ease;
1929
+ font-weight: 500;
1930
+ cursor: pointer;
1931
+ i {
1932
+ margin: 0 rem(6) 0 0;
1933
+ font-weight: 500;
1936
1934
  }
1937
-
1938
- // .wz-img-manager__module__header button
1939
- button {
1940
- width: 45px;
1941
- height: 35px;
1942
- background-color: $img-main-color;
1943
- transition: background-color .3s ease;
1944
- border: none;
1945
- box-shadow: none;
1946
- cursor: pointer;
1947
- outline: none!important;
1948
-
1949
- &:first-child {
1950
- @include media('<tablet') {
1951
- display: none;
1952
- }
1953
- }
1954
-
1955
- span {
1956
- display: none;
1957
- }
1958
-
1959
- i {
1960
- color: #fff;
1961
- font-size: 20px;
1962
- &:before {
1963
- font-size: rem(20) !important;
1964
- }
1965
- }
1966
-
1967
- &:hover, &:focus {
1968
- background-color: darken($img-main-color, 15%);
1969
- }
1970
-
1971
- // .wz-img-manager__module__header button:first-child
1972
- &:first-child {
1973
- border-radius: 3px 0 0 0;
1974
- }
1975
-
1976
- // .wz-img-manager__module__header button:last-child
1977
- &:last-child {
1978
- margin: 0 0 0 1px;
1979
- border-radius: 0 3px 0 0;
1980
- @include media('<tablet') {
1981
- margin: 0;
1982
- border-radius: 0;
1983
- }
1984
- }
1935
+ &:hover, &:focus {
1936
+ background-color: darken($img-green-color, 15%);
1985
1937
  }
1986
1938
  }
1987
1939
  }
1988
1940
  }
1989
-
1990
- .wz-img-manager__module .wz-block {
1991
- background-color: #fff;
1992
- box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
1993
- padding: 0 0.575rem 0 1.075rem;
1994
-
1995
- @include media('<tablet') {
1996
- padding: 0 20px;
1997
- }
1998
-
1999
- &--window {
2000
- padding: rem(30);
2001
- overflow: hidden;
2002
- max-width: 1450px;
2003
- margin: 0 auto;
2004
- }
2005
- }
2006
-
2007
- .wz-img-manager__module .wz-block:hover {
2008
- box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.2);
2009
- }
2010
-
2011
- .nwb-snack-bar .notification {
2012
- z-index: 10002!important;
2013
- }
2014
-
2015
- .nwb-snack-bar .column {
2016
- box-sizing: border-box;
2017
- }
2018
-
2019
- .wrapper-tabs {
2020
- .tabs {
2021
- @include media('<tablet') {
2022
- display: none!important;
2023
- }
2024
- }
2025
- .select-mobile-page {
2026
- @include media('>=tablet') {
2027
- display: none;
2028
- }
2029
- select {
2030
- margin: 20px 0;
2031
- width: 100%;
2032
- min-height: 40px;
2033
- background-color: $img-white;
2034
- border: 1px solid $img-input-border;
2035
- border-radius: 3px;
2036
- box-shadow: none;
2037
- font-size: rem(12);
2038
- color: $img-second-color;
2039
- padding: 0 30px 0 20px;
2040
- -webkit-appearance: none;
2041
- -moz-appearance: none;
2042
- text-indent: 1px;
2043
- text-overflow: '';
2044
- background: no-repeat center right 10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M224 416c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L224 338.8l169.4-169.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-192 192C240.4 412.9 232.2 416 224 416z'/%3E%3C/svg%3E");
2045
- background-size: 10px;
2046
- }
2047
- select::-ms-expand {
2048
- display: none;
2049
- }
2050
- }
2051
- }
2052
1941
  .wz-img-manager .dropdownWizi {
2053
1942
  padding: 10px;
2054
1943
 
@@ -2363,6 +2252,63 @@ $green-color: #2ecc71;
2363
2252
  cursor: pointer;
2364
2253
  }
2365
2254
  }
2255
+ .wz-img-manager .input-search.field {
2256
+ padding: 10px 20px;
2257
+ background-color: $gray-background;
2258
+ @include media('<tablet') {
2259
+ padding: 0!important;
2260
+ background-color: $white;
2261
+ }
2262
+ &.small-padding {
2263
+ padding: 10px 20px;
2264
+ }
2265
+ .input,
2266
+ .input:focus,
2267
+ .input.is-focused,
2268
+ .input:active,
2269
+ .input.is-active {
2270
+ font-size: rem(14);
2271
+ color: $main-text;
2272
+ border: rem(1) solid $input-border-search;
2273
+ box-shadow: none;
2274
+ padding: rem(13.5) rem(20) rem(13.5) rem(48);
2275
+ border-radius: rem(3);
2276
+ margin: 0;
2277
+ height: auto;
2278
+ min-height: unset;
2279
+
2280
+ &::placeholder {
2281
+ color: $placeholder-color;
2282
+ font-weight: normal;
2283
+ }
2284
+ }
2285
+
2286
+ .input:focus,
2287
+ .input.is-focused,
2288
+ .input:active,
2289
+ .input.is-active {
2290
+ border-color: $wizishop-blue;
2291
+ }
2292
+
2293
+ .icon {
2294
+ position: absolute;
2295
+ top: 50%;
2296
+ left: 20px;
2297
+ font-size: rem(18);
2298
+ transform: translateY(-50%);
2299
+ pointer-events: none;
2300
+ font-weight: 400;
2301
+ color: $placeholder-color;
2302
+ margin: 0;
2303
+ width: rem(18);
2304
+ height: rem(18);
2305
+ }
2306
+ }
2307
+
2308
+ .wz-img-manager .wz-img-manager__module:not(.wz-img-manager__module--window) .pexels-lib__search .input-search.field {
2309
+ padding: 0;
2310
+ background-color: transparent;
2311
+ }
2366
2312
  .mosaic {
2367
2313
  width: 100%;
2368
2314
  display: flex;
@@ -2467,6 +2413,12 @@ $green-color: #2ecc71;
2467
2413
  margin: 0 0 20px;
2468
2414
  padding: 0;
2469
2415
  width: 100%;
2416
+ wz-input-search {
2417
+ display: block;
2418
+ width: 100%;
2419
+ max-width: 100%;
2420
+ padding-right: 6px;
2421
+ }
2470
2422
  }
2471
2423
  }
2472
2424
  &__container {
@@ -2520,6 +2472,11 @@ $green-color: #2ecc71;
2520
2472
  flex-direction: column;
2521
2473
  justify-content: center;
2522
2474
  align-items: center;
2475
+
2476
+ @include media('<=tablet') {
2477
+ width: 100%;
2478
+ max-width: unset;
2479
+ }
2523
2480
  }
2524
2481
  &__cards {
2525
2482
  width: 100%;
@@ -2543,1099 +2500,1294 @@ $green-color: #2ecc71;
2543
2500
  z-index: 2;
2544
2501
  }
2545
2502
  }
2546
- $card-img-size: 100%;
2547
- $card-img-size-small: 140px;
2503
+ .wz-img-manager .img-editor {
2504
+ &__scroll {
2505
+ position: relative;
2506
+ height: 100%;
2548
2507
 
2549
- //.wz-img-manager useful to keep the css priority
2550
- .wz-img-manager .addCssPriority .img-card {
2551
- display: flex;
2552
- flex-wrap: wrap;
2553
- justify-content: center;
2554
- padding: 0 0 rem(5);
2555
- width: 100%;
2556
- overflow: hidden;
2508
+ &--full {
2509
+ max-height: calc(100vh - 90px)!important;
2510
+ min-height: calc(100vh - 90px) !important;
2511
+ }
2557
2512
 
2558
- &__container {
2559
- width: 100%!important;
2560
- height: auto!important;
2561
- display: flex;
2562
- border-radius: 3px;
2563
- border: 1px solid $img-light-white-color;
2564
- cursor: pointer;
2565
- overflow: hidden;
2566
- transition: .3s ease;
2567
- position: relative;
2568
- margin: 0 0 rem(10);
2569
- &:before {
2570
- content: '';
2571
- display: block;
2572
- padding-top: 100%;
2513
+ &--smallDisplay {
2514
+ max-height: 275px!important;
2515
+ @include media('<tablet') {
2516
+ max-height: calc(100vh - 90px)!important;
2517
+ min-height: calc(100vh - 90px) !important;
2518
+ }
2573
2519
  }
2574
2520
 
2575
- &.imgSelected {
2521
+ &--window {
2522
+ max-height: none;
2523
+ }
2576
2524
 
2577
- &:after {
2578
- z-index: 1000;
2579
- content: '';
2580
- display: block;
2581
- position: absolute;
2582
- width: 100%;
2583
- height: 4px;
2584
- background-color: $img-main-color;
2585
- bottom: 0;
2586
- left: 0;
2587
- transform: translateZ(0);
2588
- }
2525
+ .ng-scroll-content {
2526
+ margin-left: 0 !important;
2527
+ margin-right: 0 !important;
2528
+ min-width: calc(100% - 1rem) !important;
2529
+ width: calc(100% - 1rem) !important;
2589
2530
  }
2531
+ }
2590
2532
 
2591
- &__valid {
2592
- display: flex;
2593
- position: absolute;
2594
- top: 100%;
2595
- left: 50%;
2596
- transform: translate(-50%,0);
2597
- justify-content: center;
2598
- align-items: center;
2599
- width: auto;
2600
- background-color: $img-green-color;
2601
- border-radius: 3px;
2602
- padding: 5px;
2603
- transition: .3s ease;
2604
- i {
2605
- font-size: rem(10);
2606
- color: $white;
2607
- margin: 0 5px 0 0;
2608
- }
2609
- span {
2610
- color: $white;
2611
- font-weight: 500;
2612
- font-size: rem(10);
2613
- }
2533
+ .columns {
2534
+ margin-right: 0.8rem;
2535
+ margin-left: rem(12);
2536
+ margin-top: 12px;
2537
+ margin-bottom: 0;
2538
+ width: calc(100% + 11px);
2539
+
2540
+ .column {
2541
+ padding-top: 0;
2542
+ padding-bottom: 0px;
2614
2543
  }
2544
+ }
2615
2545
 
2616
- &:hover, &:focus {
2617
- .img-card__container {
2618
- &__valid {
2619
- transform: translate(-50%, -40px);
2546
+ &__head-container {
2547
+ display: flex;
2548
+ justify-content: flex-end;
2549
+ align-items: center;
2550
+ margin: 30px 30px 20px 0;
2551
+
2552
+ &__btnGroup {
2553
+ margin-right: 13px;
2554
+ opacity: 0;
2555
+ visibility: hidden;
2556
+ transition: opacity .3s ease-in-out;
2557
+
2558
+ &__visible {
2559
+ opacity: 1;
2560
+ visibility: visible;
2561
+ }
2562
+
2563
+ &__removeBtn {
2564
+ margin-right: 13px;
2620
2565
  }
2621
- }
2622
2566
  }
2623
2567
 
2624
- &__img {
2625
- width: auto!important;
2626
- height: auto!important;
2627
- background-color: white;
2628
- margin: auto;
2629
- transition: .3s ease;
2630
- position: absolute;
2631
- object-fit: contain;
2632
- max-width: 100%;
2633
- max-height: 100%;
2634
- top: 50%;
2635
- left: 50%;
2636
- transform: translate(-50%,-50%);
2568
+ &__close {
2569
+ cursor: pointer;
2570
+ font-size: 14px;
2571
+ color: $img-grey-color;
2572
+ line-height: 40px;
2637
2573
  }
2574
+ }
2638
2575
 
2639
- &__config {
2640
- position: relative;
2641
- top: 10px;
2642
- left: 10px;
2643
- transform: none;
2644
- z-index: 9999;
2645
- width: 30px;
2646
- opacity: 0;
2647
- transition: .3s ease;
2576
+ &__container {
2577
+ padding: 0.75rem!important;
2578
+ display:flex;
2579
+ justify-content: center;
2580
+ align-items: center;
2581
+ background-color: $img-gray-background;
2582
+ margin: 0;
2583
+ transform: translateY(-16px);
2648
2584
 
2649
- &--small {
2650
- .show-edit {
2651
- transition: .3s ease!important;
2652
- &:hover, &:focus {
2653
- background-color: darken(#1E2E43, 15%) !important;
2654
- }
2655
- }
2656
- }
2585
+ &__toolsContainer {
2586
+ display: flex;
2587
+ justify-content: center;
2588
+ align-items: center;
2589
+ margin-bottom: 50px;
2657
2590
 
2658
- button {
2659
- box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
2660
- margin: 0;
2661
- width: 30px;
2662
- height: 30px;
2663
- box-sizing: content-box;
2664
- border-radius: 3px;
2665
- border: none;
2666
- color: #fff;
2667
- transform: translateX(-40px);
2668
- will-change: transform;
2591
+ &__tool {
2592
+ color: $img-second-color;
2593
+ margin-right: 30px;
2594
+ text-align: center;
2669
2595
  cursor: pointer;
2670
- padding: 0;
2671
- display: flex;
2672
- justify-content: center;
2673
- align-content: center;
2674
- align-items: center;
2675
2596
 
2676
- i {
2677
- font-size: 16px;
2678
- color: #fff;
2679
- position: relative;
2680
- z-index: 3;
2681
- }
2597
+ p {
2598
+ margin: 0!important;
2599
+ color: $img-main-text;
2600
+ font-size: rem(12);
2601
+ line-height: rem(14);
2602
+ }
2682
2603
 
2683
- &:before {
2684
- content: '';
2685
- display: block;
2686
- position: absolute;
2687
- top: 0;
2688
- left: 0;
2689
- border-radius: 3px;
2690
- width: 100%;
2691
- height: 100%;
2692
- z-index: 2;
2693
- }
2604
+ i {
2605
+ font-size: rem(18);
2606
+ margin: 0 0 10px;
2607
+ }
2694
2608
 
2695
- span {
2696
- position: absolute;
2697
- left: 100%;
2609
+ &--button {
2610
+ background-color: $img-green-color;
2611
+ color: $img-white!important;
2612
+ padding: 10px;
2613
+ border-radius: 3px;
2614
+ transition: .3s ease;
2615
+ white-space: nowrap;
2698
2616
  display: flex;
2699
2617
  justify-content: center;
2700
2618
  align-items: center;
2701
- align-content: center;
2702
- height: 100%;
2703
- margin-left: -10px;
2704
- width: auto;
2705
- padding: 0 10px 0 0;
2706
- color: #fff;
2707
- text-transform: capitalize;
2708
- font-size: 14px;
2709
- border-radius: 0 3px 3px 0;
2710
- max-width: 0;
2711
- overflow: hidden;
2712
- z-index: 1;
2713
- transition: .3s ease;
2714
- box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
2715
- white-space: nowrap;
2716
- }
2717
-
2718
- &:not(:last-child) {
2719
- margin: 0 0 5px;
2720
- }
2721
- &.size, &.show-edit {
2722
- background-color: #1E2E43;
2723
- transition: transform .3s ease .6s;
2724
- span, &:before {
2725
- background-color: #1E2E43;
2619
+ position: absolute;
2620
+ top: 80px;
2621
+ left: 50%;
2622
+ transform: translateX(-50%);
2623
+ height: 35px;
2624
+ margin: 0;
2625
+ &:hover, &:focus {
2626
+ background-color: darken($img-green-color, 15%);
2627
+ color: $img-white!important;
2726
2628
  }
2727
- }
2728
- &.dl {
2729
- background-color: $img-bleu-action;
2730
- transition: transform .3s ease .45s;
2731
- span, &:before {
2732
- background-color: $img-bleu-action;
2629
+ p {
2630
+ color: $white!important;
2733
2631
  }
2734
- }
2735
- &.edit {
2736
- background-color: $img-orange-color;
2737
- transition: transform .3s ease .3s;
2738
- span, &:before {
2739
- background-color: $img-orange-color;
2632
+ i {
2633
+ margin: 0 5px 0 0;
2740
2634
  }
2741
2635
  }
2742
- &.deleted {
2743
- background-color: $img-red-color;
2744
- transition: transform .3s ease .15s;
2745
- span, &:before {
2746
- background-color: $img-red-color;
2747
- }
2636
+ &:hover {
2637
+ color: $img-main-color;
2748
2638
  }
2749
- &.selected {
2750
- background-color: #fff;
2751
- border-color: $img-light-white-color;
2752
- transition: transform .3s ease;
2753
- span, &:before {
2754
- background-color: #fff;
2755
- color: $img-grey-color;
2756
- }
2757
2639
 
2758
- i {
2759
- color: $img-light-white-color;
2760
- }
2761
- .checked {
2762
- color: $img-bleu-color;
2763
- }
2640
+ > * {
2641
+ -webkit-touch-callout: none; /* iOS Safari */
2642
+ -webkit-user-select: none; /* Safari */
2643
+ -khtml-user-select: none; /* Konqueror HTML */
2644
+ -moz-user-select: none; /* Old versions of Firefox */
2645
+ -ms-user-select: none; /* Internet Explorer/Edge */
2646
+ user-select: none; /* Non-prefixed version, currently
2647
+ supported by Chrome, Edge, Opera and Firefox */
2764
2648
  }
2765
- &:hover, &:focus, &.show-instant {
2766
- border-radius: 3px 0 0 3px;
2767
- &:before {
2768
- border-radius: 3px 0 0 3px;
2769
- }
2770
- span {
2771
- transition: max-width 1s ease, margin-left .3s ease;
2772
- max-width: 1000px;
2773
- margin-left: -1px;
2774
- padding-left: 4px;
2775
- will-change: transform, margin;
2776
- }
2649
+ }
2650
+
2651
+ &__RotationDropdown {
2652
+ min-width: 16rem;
2653
+ }
2654
+ }
2655
+
2656
+ &__name {
2657
+ font-size: 16px;
2658
+ max-width: 50%;
2659
+ color: $img-grey-color;
2660
+ text-align: center;
2661
+ white-space: nowrap;
2662
+ overflow: hidden;
2663
+ text-overflow: ellipsis;
2664
+ }
2665
+
2666
+ .button {
2667
+ min-height: 35px;
2668
+ background-color: $img-primary-button;
2669
+ border-color: $img-primary-button-hover;
2670
+ color: #ffffff;
2671
+ }
2672
+ }
2673
+
2674
+ &__image-cropper {
2675
+ --cropper-overlay-color: #f5f8fa;
2676
+ //--cropper-outline-color: #a5a5a573;
2677
+ padding-bottom: 30px;
2678
+ }
2679
+
2680
+ &__infoSection {
2681
+ font-size: 14px;
2682
+ max-width: 360px;
2683
+ padding: 0;
2684
+ margin: 0 rem(30) 0 0;
2685
+
2686
+ &__propertyEditable {
2687
+ margin-bottom: 31px;
2688
+ p {
2689
+ margin-bottom: 12px;
2690
+ font-size: 14px;
2691
+ }
2692
+ input, button {
2693
+ width: 100%;
2694
+ height: 40px;
2695
+ border: 1px solid #DEE2ED;
2696
+ border-radius: 3px;
2697
+ color: $img-main-text;
2698
+ padding-left: 20px;
2699
+ padding-right: 20px;
2700
+ display: flex;
2701
+ justify-content: space-between;
2702
+ font-size: 14px;
2703
+
2704
+ &:hover {
2705
+ color: $img-main-color;
2706
+ border-color: $img-main-color;
2777
2707
  }
2708
+ }
2709
+
2710
+ button {
2711
+ align-items: center;
2712
+ background-color: transparent;
2713
+ cursor: pointer;
2714
+ }
2715
+
2716
+ &__span, &__input {
2717
+ text-overflow: ellipsis;
2718
+ overflow: hidden;
2719
+ white-space: nowrap;
2720
+ }
2721
+
2722
+ &__span {
2723
+ color: $img-bleu-color;
2724
+ & + i {
2725
+ color: $img-bleu-color;
2726
+ font-weight: 600;
2778
2727
  }
2728
+ }
2729
+
2730
+ &__tooltips {
2731
+ margin-left: 10px;
2732
+ }
2779
2733
  }
2780
2734
 
2781
- &__overlay {
2782
- position: absolute;
2783
- top: 0;
2784
- left: 0;
2785
- height: 100%;
2786
- width: 100%;
2787
- display: flex;
2788
- justify-content: center;
2789
- align-items: center;
2735
+ &__property {
2736
+ &:nth-child(3), &:nth-child(4) {
2737
+ margin: 0;
2738
+ }
2739
+ p {
2740
+ font-size: 14px;
2741
+ display: inline-block;
2742
+ }
2790
2743
 
2791
- i {
2792
- font-size: 100px;
2793
- color: grey;
2744
+ .mainColor {
2745
+ margin: 0!important;
2794
2746
  }
2795
2747
 
2796
- &--smallDisplay {
2797
- i {
2798
- font-size: 75px;
2748
+ p:last-child {
2749
+ margin: 0 0 0 10px;
2750
+ color: #526384;
2799
2751
  }
2800
- }
2801
2752
  }
2802
2753
 
2803
- &__delete {
2804
- position: absolute;
2805
- top: 0;
2806
- left: 0;
2807
- width: 100%;
2808
- height: 100%;
2809
- background-color: rgba(0,0,0,.45);
2810
- display: flex;
2811
- flex-direction: column;
2812
- justify-content: center;
2813
- align-items: center;
2814
- padding: 15px;
2815
- visibility: hidden;
2816
- transform: translateY(100%);
2817
- opacity: 0;
2818
- z-index: 9999;
2819
- transition: visibility 0s linear .35s, opacity .3s ease, transform .3s ease;
2820
- &.show {
2821
- transform: translateY(0);
2822
- opacity: 1;
2823
- visibility: visible;
2824
- transition: visibility 0s linear, opacity .3s ease .05s, transform .3s ease .05s;
2754
+ &__titleSEO {
2755
+ margin: 0 0 20px;
2756
+
2757
+ .mainColor {
2758
+ font-size: rem(18);
2759
+ font-weight: 500;
2825
2760
  }
2826
- > span {
2827
- font-size: rem(14);
2828
- color: $img-white;
2829
- font-weight: 600;
2830
- text-align: center;
2831
- display: inline-block;
2832
- margin: 0 0 10px;
2761
+ }
2762
+
2763
+ &__propertySEO {
2764
+ margin-bottom: 12px;
2765
+ p {
2766
+ font-size: 14px;
2767
+ display: inline-block;
2768
+ margin: 0;
2769
+ }
2770
+
2771
+ .mainColor {
2772
+ & ~ p {
2773
+ margin-left: 10px;
2774
+ color: $img-green-color;
2775
+ }
2833
2776
  }
2834
- > div {
2835
- display: flex;
2836
- > button {
2837
- padding: 7px 12px;
2838
- font-size: rem(14);
2839
- color: $img-white;
2840
- background-color: $img-red-color;
2841
- font-weight: 600;
2842
- border: none;
2843
- margin: 0 0 0 5px;
2844
- text-transform: capitalize;
2845
- transition: .3s ease;
2846
- &:hover, &:focus {
2847
- background-color: darken($img-red-color, 15%);
2848
- }
2849
- &:first-child {
2850
- background-color: $img-main-color;
2851
- margin: 0 5px 0 0;
2852
- &:hover, &:focus {
2853
- background-color: darken($img-main-color, 15%);
2777
+ }
2778
+
2779
+ &__divider {
2780
+ display: block;
2781
+ width: 100%;
2782
+ border-bottom: 2px dashed #EFF1F6;
2783
+ margin: 30px 0;
2784
+ }
2785
+
2786
+ &__actions {
2787
+ height: 35px;
2788
+
2789
+ &__cancel {
2790
+ margin-right: 19px;
2791
+ background-color: white;
2792
+ border-color: #dbdbdb;
2793
+ color: $img-main-text;
2794
+ }
2795
+
2796
+ &__save {
2797
+ padding: 8px 18px;
2798
+ margin: 0!important;
2799
+ &--disable {
2800
+ cursor: not-allowed;
2854
2801
  }
2855
- }
2856
2802
  }
2857
- }
2858
2803
  }
2859
2804
  }
2860
2805
 
2861
- &__nameContainer {
2862
- text-align: center;
2863
- overflow: hidden;
2864
- max-width: 100%;
2865
- min-width: 100%;
2866
- position: relative;
2867
- width: auto;
2868
- display: flex;
2869
- justify-content: center;
2870
- align-items: center;
2871
- min-height: rem(16);
2806
+ .dropdown-menu {
2807
+ left: -50%;
2808
+ }
2809
+ }
2872
2810
 
2873
- &.focus {
2874
- overflow: visible;
2875
- }
2811
+ .wz-img-manager .marginBottom {
2812
+ margin-bottom: 20px;
2813
+ }
2814
+ $card-img-size: 100%;
2815
+ $card-img-size-small: 140px;
2876
2816
 
2877
- > span {
2878
- padding: 0 rem(10);
2879
- font-size: rem(12);
2880
- line-height: rem(14);
2881
- color: $img-grey-color;
2882
- width: auto;
2883
- white-space: nowrap;
2884
- overflow: hidden;
2885
- text-overflow: ellipsis;
2886
- text-align: center;
2887
- display: inline-block;
2888
- transition: .3s ease;
2889
- pointer-events: none;
2890
- max-width: 100%;
2891
- }
2817
+ //.wz-img-manager useful to keep the css priority
2818
+ .wz-img-manager .addCssPriority .img-card {
2819
+ display: flex;
2820
+ flex-wrap: wrap;
2821
+ justify-content: center;
2822
+ padding: 0 0 rem(5);
2823
+ width: 100%;
2824
+ overflow: hidden;
2892
2825
 
2893
- &__name {
2894
- margin: 0;
2895
- padding: 5px;
2896
- font-size: rem(12);
2897
- color: $img-grey-color;
2898
- line-height: rem(14);
2899
- text-align: center;
2900
- width: 100%;
2901
- min-width: 100%;
2902
- white-space: nowrap;
2826
+ &__container {
2827
+ width: 100%!important;
2828
+ height: auto!important;
2829
+ display: flex;
2830
+ border-radius: 3px;
2831
+ border: 1px solid $img-light-white-color;
2832
+ cursor: pointer;
2903
2833
  overflow: hidden;
2904
- text-overflow: ellipsis;
2905
2834
  transition: .3s ease;
2906
- cursor: initial;
2907
- max-width: 100%;
2908
- position: absolute;
2909
- top: 0;
2910
- left: 0;
2911
- opacity: 0;
2912
- &:focus {
2913
- opacity: 1;
2914
- transform: translateY(-5px);
2915
- & + span {
2916
- opacity: 0;
2917
- }
2835
+ position: relative;
2836
+ margin: 0 0 rem(10);
2837
+ &:before {
2838
+ content: '';
2839
+ display: block;
2840
+ padding-top: 100%;
2918
2841
  }
2919
- }
2920
- }
2921
2842
 
2922
- &:hover, &:focus {
2923
- z-index: 3;
2924
- .img-card {
2925
- &__nameContainer {
2926
- overflow: visible;
2927
- &__name {
2928
- color: #52AECD;
2929
- transform: translateY(-5px);
2930
- }
2931
- }
2843
+ &.imgSelected {
2932
2844
 
2933
- &__container {
2934
- border-color: $wizishop-blue;
2935
- &__img {
2936
- transform: scale(1.02) translate(-50%,-50%);
2937
- }
2938
- &__config {
2939
- @include media('<tablet') {
2940
- display: none;
2941
- }
2942
- opacity: 1;
2943
- button {
2944
- transform: translateX(0);
2945
- &.size {
2946
- transition: transform .3s ease;
2947
- }
2948
- &.dl {
2949
- transition: transform .3s ease .15s;
2950
- }
2951
- &.edit {
2952
- transition: transform .3s ease .3s;
2953
- }
2954
- &.deleted {
2955
- transition: transform .3s ease .45s;
2956
- }
2957
- &.selected {
2958
- transition: transform .3s ease .6s;
2959
- }
2960
- }
2961
- }
2845
+ &:after {
2846
+ z-index: 1000;
2847
+ content: '';
2848
+ display: block;
2849
+ position: absolute;
2850
+ width: 100%;
2851
+ height: 4px;
2852
+ background-color: $img-main-color;
2853
+ bottom: 0;
2854
+ left: 0;
2855
+ transform: translateZ(0);
2962
2856
  }
2963
2857
  }
2964
- }
2965
- }
2966
-
2967
- .wz-img-manager .addCssPriority .img-card .smallDisplay,.wz-img-manager .img-card .smallDisplay img {
2968
- width: $card-img-size-small;
2969
- height: $card-img-size-small;
2970
- }
2971
-
2972
- .wz-img-manager .addCssPriority .smallNameDisplay .img-card__nameContainer__name {
2973
- width: $card-img-size-small;
2974
- }
2975
- .wz-img-manager .wz-table {
2976
- width: 100%;
2977
-
2978
- &__head {
2979
- @include flexbox();
2980
- @include flex-flow(row nowrap);
2981
- width: 100%;
2982
- border-top: 1px solid $textarea-border-color;
2983
- border-bottom: 1px solid $textarea-border-color;
2984
- background-color: $gray-background;
2985
-
2986
- &__cell {
2987
- @include flexbox();
2988
- @include flex(1);
2989
- padding: 15px 20px;
2990
- font-size: 14px;
2991
- line-height: 20px;
2992
- color: $main-text;
2993
- font-weight: 600;
2994
-
2995
- &--checkbox {
2996
- @include flex(none);
2997
- width: 80px;
2998
- padding: 10px 20px 6px 20px;
2999
- > * {
3000
- transform: translateX(15px);
3001
- }
3002
- }
3003
-
3004
- &__search {
3005
- color: $main-text;
3006
- padding-right: 23px;
3007
- transition: background-image 0.3s ease-in-out;
3008
- cursor: text;
3009
-
3010
- &:hover {
3011
- color: $main-text;
3012
- }
3013
-
3014
- &--idle {
3015
- background: transparent
3016
- 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")
3017
- center right / 14px 14px no-repeat;
3018
- transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3019
- cursor: pointer;
3020
2858
 
3021
- &:hover {
3022
- transition: color 0.3s ease-in-out;
2859
+ &__valid {
2860
+ display: flex;
2861
+ position: absolute;
2862
+ top: 100%;
2863
+ left: 50%;
2864
+ transform: translate(-50%,0);
2865
+ justify-content: center;
2866
+ align-items: center;
2867
+ width: auto;
2868
+ background-color: $img-green-color;
2869
+ border-radius: 3px;
2870
+ padding: 5px;
2871
+ transition: .3s ease;
2872
+ i {
2873
+ font-size: rem(10);
2874
+ color: $white;
2875
+ margin: 0 5px 0 0;
3023
2876
  }
3024
- }
3025
-
3026
- &--up {
3027
- background: transparent
3028
- 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")
3029
- center right / 14px 14px no-repeat;
3030
- transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3031
- cursor: pointer;
3032
-
3033
- &:hover {
3034
- transition: color 0.3s ease-in-out;
2877
+ span {
2878
+ color: $white;
2879
+ font-weight: 500;
2880
+ font-size: rem(10);
3035
2881
  }
3036
2882
  }
3037
2883
 
3038
- &--down {
3039
- background: transparent
3040
- 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")
3041
- center right / 14px 14px no-repeat;
3042
- transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3043
- cursor: pointer;
3044
-
3045
- &:hover {
3046
- transition: color 0.3s ease-in-out;
2884
+ &:hover, &:focus {
2885
+ .img-card__container {
2886
+ &__valid {
2887
+ transform: translate(-50%, -40px);
2888
+ }
3047
2889
  }
3048
2890
  }
3049
- }
3050
2891
 
3051
- &--center--left {
3052
- @include align-items(center);
3053
- @include justify-content(left);
3054
- }
3055
- &--center--center {
3056
- @include align-items(center);
3057
- @include justify-content(center);
3058
- }
3059
- &--center--right {
3060
- @include align-items(center);
3061
- @include justify-content(right);
3062
- }
3063
- }
3064
- }
2892
+ &__img {
2893
+ width: auto!important;
2894
+ height: auto!important;
2895
+ background-color: white;
2896
+ margin: auto;
2897
+ transition: .3s ease;
2898
+ position: absolute;
2899
+ object-fit: contain;
2900
+ max-width: 100%;
2901
+ max-height: 100%;
2902
+ top: 50%;
2903
+ left: 50%;
2904
+ transform: translate(-50%,-50%);
2905
+ }
3065
2906
 
3066
- // TODO delete __search
3067
- &__search {
3068
- height: 100px;
3069
- margin-top: 10px;
3070
- }
2907
+ &__config {
2908
+ position: relative;
2909
+ top: 10px;
2910
+ left: 10px;
2911
+ transform: none;
2912
+ z-index: 9999;
2913
+ width: 30px;
2914
+ opacity: 0;
2915
+ transition: .3s ease;
3071
2916
 
3072
- &__body {
3073
- width: 100%;
3074
- margin-top: -10px;
2917
+ &--small {
2918
+ .show-edit {
2919
+ transition: .3s ease!important;
2920
+ &:hover, &:focus {
2921
+ background-color: darken(#1E2E43, 15%) !important;
2922
+ }
2923
+ }
2924
+ }
3075
2925
 
3076
- &__loader {
3077
- position: relative;
3078
- min-height: 200px;
3079
- }
2926
+ button {
2927
+ box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
2928
+ margin: 0;
2929
+ width: 30px;
2930
+ height: 30px;
2931
+ box-sizing: content-box;
2932
+ border-radius: 3px;
2933
+ border: none;
2934
+ color: #fff;
2935
+ transform: translateX(-40px);
2936
+ will-change: transform;
2937
+ cursor: pointer;
2938
+ padding: 0;
2939
+ display: flex;
2940
+ justify-content: center;
2941
+ align-content: center;
2942
+ align-items: center;
3080
2943
 
3081
- &__line {
3082
- @include flexbox();
3083
- @include flex-flow(row nowrap);
3084
- width: 100%;
3085
- border-bottom: 1px solid $textarea-border-color;
2944
+ i {
2945
+ font-size: 16px;
2946
+ color: #fff;
2947
+ position: relative;
2948
+ z-index: 3;
2949
+ }
3086
2950
 
3087
- &__cell {
3088
- @include flexbox();
3089
- @include flex(1);
3090
- padding: 20px 20px 20px 20px;
3091
- font-size: 14px;
3092
- line-height: 25px;
3093
- color: $secondary-color;
2951
+ &:before {
2952
+ content: '';
2953
+ display: block;
2954
+ position: absolute;
2955
+ top: 0;
2956
+ left: 0;
2957
+ border-radius: 3px;
2958
+ width: 100%;
2959
+ height: 100%;
2960
+ z-index: 2;
2961
+ }
3094
2962
 
3095
- &--checkbox {
3096
- @include flexbox();
3097
- @include flex(none);
3098
- @include justify-content(center);
3099
- @include align-items(center);
3100
- width: 80px;
3101
- padding: 8px 20px;
3102
- }
2963
+ span {
2964
+ position: absolute;
2965
+ left: 100%;
2966
+ display: flex;
2967
+ justify-content: center;
2968
+ align-items: center;
2969
+ align-content: center;
2970
+ height: 100%;
2971
+ margin-left: -10px;
2972
+ width: auto;
2973
+ padding: 0 10px 0 0;
2974
+ color: #fff;
2975
+ text-transform: capitalize;
2976
+ font-size: 14px;
2977
+ border-radius: 0 3px 3px 0;
2978
+ max-width: 0;
2979
+ overflow: hidden;
2980
+ z-index: 1;
2981
+ transition: .3s ease;
2982
+ box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
2983
+ white-space: nowrap;
2984
+ }
3103
2985
 
3104
- &--center--left {
3105
- @include align-items(center);
3106
- @include justify-content(left);
3107
- }
3108
- &--center--center {
3109
- @include align-items(center);
3110
- @include justify-content(center);
3111
- }
3112
- &--center--right {
3113
- @include align-items(center);
3114
- @include justify-content(right);
2986
+ &:not(:last-child) {
2987
+ margin: 0 0 5px;
2988
+ }
2989
+ &.size, &.show-edit {
2990
+ background-color: #1E2E43;
2991
+ transition: transform .3s ease .6s;
2992
+ span, &:before {
2993
+ background-color: #1E2E43;
2994
+ }
2995
+ }
2996
+ &.dl {
2997
+ background-color: $img-bleu-action;
2998
+ transition: transform .3s ease .45s;
2999
+ span, &:before {
3000
+ background-color: $img-bleu-action;
3001
+ }
3002
+ }
3003
+ &.edit {
3004
+ background-color: $img-orange-color;
3005
+ transition: transform .3s ease .3s;
3006
+ span, &:before {
3007
+ background-color: $img-orange-color;
3008
+ }
3009
+ }
3010
+ &.deleted {
3011
+ background-color: $img-red-color;
3012
+ transition: transform .3s ease .15s;
3013
+ span, &:before {
3014
+ background-color: $img-red-color;
3015
+ }
3016
+ }
3017
+ &.selected {
3018
+ background-color: #fff;
3019
+ border-color: $img-light-white-color;
3020
+ transition: transform .3s ease;
3021
+ span, &:before {
3022
+ background-color: #fff;
3023
+ color: $img-grey-color;
3024
+ }
3025
+
3026
+ i {
3027
+ color: $img-light-white-color;
3028
+ }
3029
+ .checked {
3030
+ color: $img-bleu-color;
3031
+ }
3032
+ }
3033
+ &:hover, &:focus, &.show-instant {
3034
+ border-radius: 3px 0 0 3px;
3035
+ &:before {
3036
+ border-radius: 3px 0 0 3px;
3037
+ }
3038
+ span {
3039
+ transition: max-width 1s ease, margin-left .3s ease;
3040
+ max-width: 1000px;
3041
+ margin-left: -1px;
3042
+ padding-left: 4px;
3043
+ will-change: transform, margin;
3044
+ }
3045
+ }
3046
+ }
3115
3047
  }
3116
- }
3117
- }
3118
- }
3119
- }
3120
- .wz-img-manager .wz-pagination {
3121
- width: 100%;
3122
- padding: 0;
3123
3048
 
3124
- &__wrapper {
3125
- @include flexbox();
3126
- @include justify-content(flex-end);
3127
- padding: 0 17px 0 0;
3049
+ &__overlay {
3050
+ position: absolute;
3051
+ top: 0;
3052
+ left: 0;
3053
+ height: 100%;
3054
+ width: 100%;
3055
+ display: flex;
3056
+ justify-content: center;
3057
+ align-items: center;
3128
3058
 
3129
- &__page {
3130
- margin-right: 30px;
3131
- padding: 4px 0 5px 0;
3059
+ i {
3060
+ font-size: 100px;
3061
+ color: grey;
3062
+ }
3132
3063
 
3133
- @include flexbox();
3064
+ &--smallDisplay {
3065
+ i {
3066
+ font-size: 75px;
3067
+ }
3068
+ }
3069
+ }
3134
3070
 
3135
- p {
3136
- margin: 4px 11px 4px 0;
3137
- font-size: 14px;
3138
- line-height: 24px;
3139
- color: $second-color;
3140
- }
3071
+ &__delete {
3072
+ position: absolute;
3073
+ top: 0;
3074
+ left: 0;
3075
+ width: 100%;
3076
+ height: 100%;
3077
+ background-color: rgba(0,0,0,.45);
3078
+ display: flex;
3079
+ flex-direction: column;
3080
+ justify-content: center;
3081
+ align-items: center;
3082
+ padding: 15px;
3083
+ visibility: hidden;
3084
+ transform: translateY(100%);
3085
+ opacity: 0;
3086
+ z-index: 9999;
3087
+ transition: visibility 0s linear .35s, opacity .3s ease, transform .3s ease;
3088
+ &.show {
3089
+ transform: translateY(0);
3090
+ opacity: 1;
3091
+ visibility: visible;
3092
+ transition: visibility 0s linear, opacity .3s ease .05s, transform .3s ease .05s;
3093
+ }
3094
+ > span {
3095
+ font-size: rem(14);
3096
+ color: $img-white;
3097
+ font-weight: 600;
3098
+ text-align: center;
3099
+ display: inline-block;
3100
+ margin: 0 0 10px;
3101
+ }
3102
+ > div {
3103
+ display: flex;
3104
+ > button {
3105
+ padding: 7px 12px;
3106
+ font-size: rem(14);
3107
+ color: $img-white;
3108
+ background-color: $img-red-color;
3109
+ font-weight: 600;
3110
+ border: none;
3111
+ margin: 0 0 0 5px;
3112
+ text-transform: capitalize;
3113
+ transition: .3s ease;
3114
+ &:hover, &:focus {
3115
+ background-color: darken($img-red-color, 15%);
3116
+ }
3117
+ &:first-child {
3118
+ background-color: $img-main-color;
3119
+ margin: 0 5px 0 0;
3120
+ &:hover, &:focus {
3121
+ background-color: darken($img-main-color, 15%);
3122
+ }
3123
+ }
3124
+ }
3125
+ }
3126
+ }
3127
+ }
3141
3128
 
3142
- select {
3143
- width: 50px;
3144
- font-size: 14px;
3145
- line-height: 24px;
3146
- color: $second-color;
3147
- padding: 3px 26px 3px 15px;
3148
- border: 1px solid $border-form;
3149
- border-radius: 3px;
3150
- -webkit-appearance: none;
3151
- -moz-appearance: none;
3152
- text-indent: 0;
3153
- text-overflow: '';
3154
- background: transparent
3155
- 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='%23526384' 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")
3156
- top 8px right 12px / 10px 10px no-repeat;
3129
+ &__nameContainer {
3130
+ text-align: center;
3131
+ overflow: hidden;
3132
+ max-width: 100%;
3133
+ min-width: 100%;
3134
+ position: relative;
3135
+ width: auto;
3136
+ display: flex;
3137
+ justify-content: center;
3138
+ align-items: center;
3139
+ min-height: rem(16);
3140
+
3141
+ &.focus {
3142
+ overflow: visible;
3157
3143
  }
3158
3144
 
3159
- select::-ms-expand {
3160
- display: none;
3145
+ > span {
3146
+ padding: 0 rem(10);
3147
+ font-size: rem(12);
3148
+ line-height: rem(14);
3149
+ color: $img-grey-color;
3150
+ width: auto;
3151
+ white-space: nowrap;
3152
+ overflow: hidden;
3153
+ text-overflow: ellipsis;
3154
+ text-align: center;
3155
+ display: inline-block;
3156
+ transition: .3s ease;
3157
+ pointer-events: none;
3158
+ max-width: 100%;
3161
3159
  }
3162
- }
3163
-
3164
- &__elements {
3165
- margin-right: 30px;
3166
3160
 
3167
- p {
3168
- margin: 8px 0 9px 0;
3169
- font-size: 14px;
3170
- line-height: 24px;
3171
- color: $dark;
3161
+ &__name {
3162
+ margin: 0;
3163
+ padding: 5px;
3164
+ font-size: rem(12);
3165
+ color: $img-grey-color;
3166
+ line-height: rem(14);
3167
+ text-align: center;
3168
+ width: 100%;
3169
+ min-width: 100%;
3170
+ white-space: nowrap;
3171
+ overflow: hidden;
3172
+ text-overflow: ellipsis;
3173
+ transition: .3s ease;
3174
+ cursor: initial;
3175
+ max-width: 100%;
3176
+ position: absolute;
3177
+ top: 0;
3178
+ left: 0;
3179
+ opacity: 0;
3180
+ &:focus {
3181
+ opacity: 1;
3182
+ transform: translateY(-5px);
3183
+ & + span {
3184
+ opacity: 0;
3185
+ }
3186
+ }
3172
3187
  }
3173
3188
  }
3174
3189
 
3175
- &__arrows {
3176
- @include flexbox();
3177
-
3178
- &__arrow {
3179
- width: 40px;
3180
- height: 40px;
3181
- padding: 9px 14px;
3182
- border: 1px solid $border-form;
3183
- border-radius: 3px;
3184
- cursor: pointer;
3185
- display: flex;
3186
- align-items: center;
3190
+ &:hover, &:focus {
3191
+ z-index: 3;
3192
+ .img-card {
3193
+ &__nameContainer {
3194
+ overflow: visible;
3195
+ &__name {
3196
+ color: #52AECD;
3197
+ transform: translateY(-5px);
3198
+ }
3199
+ }
3187
3200
 
3188
- span {
3189
- display: inline-block;
3190
- width: 10px;
3191
- height: 15px;
3201
+ &__container {
3202
+ border-color: $wizishop-blue;
3203
+ &__img {
3204
+ transform: scale(1.02) translate(-50%,-50%);
3205
+ }
3206
+ &__config {
3207
+ @include media('<tablet') {
3208
+ display: none;
3209
+ }
3210
+ opacity: 1;
3211
+ button {
3212
+ transform: translateX(0);
3213
+ &.size {
3214
+ transition: transform .3s ease;
3215
+ }
3216
+ &.dl {
3217
+ transition: transform .3s ease .15s;
3218
+ }
3219
+ &.edit {
3220
+ transition: transform .3s ease .3s;
3221
+ }
3222
+ &.deleted {
3223
+ transition: transform .3s ease .45s;
3224
+ }
3225
+ &.selected {
3226
+ transition: transform .3s ease .6s;
3227
+ }
3228
+ }
3229
+ }
3230
+ }
3192
3231
  }
3232
+ }
3233
+ }
3193
3234
 
3194
- &--left {
3195
- margin-right: 10px;
3235
+ .wz-img-manager .addCssPriority .img-card .smallDisplay,.wz-img-manager .img-card .smallDisplay img {
3236
+ width: $card-img-size-small;
3237
+ height: $card-img-size-small;
3238
+ }
3196
3239
 
3197
- span {
3198
- background: transparent
3199
- 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")
3200
- center center / 10px 12px no-repeat;
3201
- }
3202
- }
3240
+ .wz-img-manager .addCssPriority .smallNameDisplay .img-card__nameContainer__name {
3241
+ width: $card-img-size-small;
3242
+ }
3243
+ .wz-img-manager .wz-table {
3244
+ width: 100%;
3203
3245
 
3204
- &--right {
3205
- span {
3206
- background: transparent
3207
- 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")
3208
- center center / 10px 12px no-repeat;
3209
- }
3210
- }
3246
+ &__head {
3247
+ @include flexbox();
3248
+ @include flex-flow(row nowrap);
3249
+ width: 100%;
3250
+ border-top: 1px solid $textarea-border-color;
3251
+ border-bottom: 1px solid $textarea-border-color;
3252
+ background-color: $gray-background;
3211
3253
 
3212
- &--disabled {
3213
- border-color: $background-color;
3214
- background-color: $background-color;
3254
+ &__cell {
3255
+ @include flexbox();
3256
+ @include flex(1);
3257
+ padding: 15px 20px;
3258
+ font-size: 14px;
3259
+ line-height: 20px;
3260
+ color: $main-text;
3261
+ font-weight: 600;
3262
+
3263
+ &--checkbox {
3264
+ @include flex(none);
3265
+ width: 80px;
3266
+ padding: 10px 20px 6px 20px;
3267
+ > * {
3268
+ transform: translateX(15px);
3215
3269
  }
3216
3270
  }
3217
- }
3218
- }
3219
- }
3220
- .wz-img-manager .input-search.field {
3221
- padding: 10px 20px;
3222
- background-color: $gray-background;
3223
- @include media('<tablet') {
3224
- padding: 0!important;
3225
- background-color: $white;
3226
- }
3227
- &.small-padding {
3228
- padding: 10px 20px;
3229
- }
3230
- .input,
3231
- .input:focus,
3232
- .input.is-focused,
3233
- .input:active,
3234
- .input.is-active {
3235
- font-size: rem(14);
3236
- color: $main-text;
3237
- border: rem(1) solid $input-border-search;
3238
- box-shadow: none;
3239
- padding: rem(13.5) rem(20) rem(13.5) rem(48);
3240
- border-radius: rem(3);
3241
- margin: 0;
3242
- height: auto;
3243
- min-height: unset;
3244
3271
 
3245
- &::placeholder {
3246
- color: $placeholder-color;
3247
- font-weight: normal;
3248
- }
3249
- }
3272
+ &__search {
3273
+ color: $main-text;
3274
+ padding-right: 23px;
3275
+ transition: background-image 0.3s ease-in-out;
3276
+ cursor: text;
3250
3277
 
3251
- .input:focus,
3252
- .input.is-focused,
3253
- .input:active,
3254
- .input.is-active {
3255
- border-color: $wizishop-blue;
3256
- }
3278
+ &:hover {
3279
+ color: $main-text;
3280
+ }
3257
3281
 
3258
- .icon {
3259
- position: absolute;
3260
- top: 50%;
3261
- left: 20px;
3262
- font-size: rem(18);
3263
- transform: translateY(-50%);
3264
- pointer-events: none;
3265
- font-weight: 400;
3266
- color: $placeholder-color;
3267
- margin: 0;
3268
- width: rem(18);
3269
- height: rem(18);
3270
- }
3271
- }
3282
+ &--idle {
3283
+ background: transparent
3284
+ 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")
3285
+ center right / 14px 14px no-repeat;
3286
+ transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3287
+ cursor: pointer;
3272
3288
 
3273
- .wz-img-manager .wz-img-manager__module:not(.wz-img-manager__module--window) .pexels-lib__search .input-search.field {
3274
- padding: 0;
3275
- background-color: transparent;
3276
- }
3277
- //.wz-img-manager useful to keep the css priority
3278
- .wz-img-manager .canva-btn {
3279
- background-color: $img-main-color;
3280
- border: 2px solid $img-main-color;
3281
- padding: 0;
3282
- height: fit-content;
3283
- color: white;
3284
- padding-left: rem(9);
3285
- transition: .3s ease;
3286
- margin: 0!important;
3287
- &:hover, &:focus {
3288
- border-color: darken($img-main-color, 15%);
3289
- }
3290
- > span {
3291
- &:first-child {
3292
- z-index: 2;
3293
- position: relative;
3294
- transform: translateX(7px);
3295
- }
3296
- }
3297
- &__logo {
3298
- z-index: 1;
3299
- }
3300
- }
3289
+ &:hover {
3290
+ transition: color 0.3s ease-in-out;
3291
+ }
3292
+ }
3301
3293
 
3302
- .wz-img-manager .canva-btn .btnLoadingAnnimation {
3303
- background-color: $img-main-color;
3304
- cursor: not-allowed;
3305
- }
3294
+ &--up {
3295
+ background: transparent
3296
+ 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")
3297
+ center right / 14px 14px no-repeat;
3298
+ transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3299
+ cursor: pointer;
3306
3300
 
3307
- .wz-img-manager .canva.dropdown {
3308
- z-index: 9999;
3309
- .dropdown-menu {
3310
- display: none!important;
3311
- margin-top: 10px!important;
3312
- &:before {
3313
- content: '';
3314
- display: block;
3315
- position: absolute;
3316
- bottom: 100%;
3317
- left: 0;
3318
- width: 100%;
3319
- height: 10px;
3301
+ &:hover {
3302
+ transition: color 0.3s ease-in-out;
3303
+ }
3304
+ }
3305
+
3306
+ &--down {
3307
+ background: transparent
3308
+ 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")
3309
+ center right / 14px 14px no-repeat;
3310
+ transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3311
+ cursor: pointer;
3312
+
3313
+ &:hover {
3314
+ transition: color 0.3s ease-in-out;
3315
+ }
3316
+ }
3320
3317
  }
3321
- }
3322
3318
 
3323
- .displayDropDownMenu {
3324
- display: block!important;
3319
+ &--center--left {
3320
+ @include align-items(center);
3321
+ @include justify-content(left);
3322
+ }
3323
+ &--center--center {
3324
+ @include align-items(center);
3325
+ @include justify-content(center);
3326
+ }
3327
+ &--center--right {
3328
+ @include align-items(center);
3329
+ @include justify-content(right);
3330
+ }
3325
3331
  }
3332
+ }
3326
3333
 
3327
- .dropdown-menu.dropDownShadow {
3328
- padding-bottom: 0;
3329
- padding-top: 0;
3330
- margin-top: 1px;
3334
+ // TODO delete __search
3335
+ &__search {
3336
+ height: 100px;
3337
+ margin-top: 10px;
3338
+ }
3339
+
3340
+ &__body {
3341
+ width: 100%;
3342
+ margin-top: -10px;
3343
+
3344
+ &__loader {
3345
+ position: relative;
3346
+ min-height: 200px;
3331
3347
  }
3332
3348
 
3333
- .dropdown-menu {
3334
- min-width: 300px;
3335
- width: 300px;
3349
+ &__line {
3350
+ @include flexbox();
3351
+ @include flex-flow(row nowrap);
3352
+ width: 100%;
3353
+ border-bottom: 1px solid $textarea-border-color;
3336
3354
 
3337
- .dropdown-content {
3338
- padding-top: 0px;
3355
+ &__cell {
3356
+ @include flexbox();
3357
+ @include flex(1);
3358
+ padding: 20px 20px 20px 20px;
3359
+ font-size: 14px;
3360
+ line-height: 25px;
3361
+ color: $secondary-color;
3362
+
3363
+ &--checkbox {
3364
+ @include flexbox();
3365
+ @include flex(none);
3366
+ @include justify-content(center);
3367
+ @include align-items(center);
3368
+ width: 80px;
3369
+ padding: 8px 20px;
3339
3370
  }
3340
3371
 
3341
- .dropdown-item {
3342
- color: $img-grey-color;
3343
- display: flex;
3344
- justify-content: space-between;
3345
- align-items: center;
3346
- padding: 12px 20px;
3347
- margin: 0 0 5px;
3372
+ &--center--left {
3373
+ @include align-items(center);
3374
+ @include justify-content(left);
3375
+ }
3376
+ &--center--center {
3377
+ @include align-items(center);
3378
+ @include justify-content(center);
3379
+ }
3380
+ &--center--right {
3381
+ @include align-items(center);
3382
+ @include justify-content(right);
3383
+ }
3384
+ }
3385
+ }
3386
+ }
3387
+ }
3388
+
3389
+
3390
+ .wac {
3391
+ &-select {
3392
+ width: 100%;
3393
+ position: relative;
3394
+ height: 40px;
3395
+ border: 1px solid $border-form;
3396
+ margin: 0;
3397
+ border-radius: 3px;
3398
+ z-index: 2;
3399
+ background-color: $white;
3400
+ max-width: 100%;
3401
+ &:hover,
3402
+ &:focus {
3403
+ z-index: 4;
3404
+ }
3405
+ &__label {
3406
+ padding: 0;
3407
+ font-size: rem(14);
3408
+ line-height: rem(16);
3409
+ margin: 0 0 rem(12);
3410
+ font-weight: 500;
3411
+ }
3412
+ &__current {
3413
+ display: flex;
3414
+ width: 100%;
3415
+ height: 38px;
3416
+ justify-content: space-between;
3417
+ align-items: center;
3418
+ align-content: center;
3419
+ padding: 0 0 0 20px;
3420
+ color: $color-text-grey;
3421
+ font-size: rem(14);
3422
+ line-height: rem(16);
3423
+ cursor: pointer;
3424
+ white-space: nowrap;
3425
+ text-overflow: ellipsis;
3426
+ max-width: 100%;
3427
+ overflow: hidden;
3428
+ &--withSearch {
3429
+ padding: 0;
3430
+ span {
3431
+ &:not(.icon):not(:last-child) {
3432
+ display: block;
3433
+ width: 100%;
3434
+ height: rem(38);
3435
+ line-height: rem(38);
3436
+ padding: 0 20px;
3437
+ }
3438
+ &.icon {
3439
+ & + span {
3440
+ padding: 0;
3441
+ }
3442
+ }
3348
3443
  &:last-child {
3349
3444
  margin: 0;
3350
3445
  }
3351
-
3352
- p {
3353
- margin: 0;
3354
- line-height: rem(16);
3446
+ }
3447
+ &.open-search {
3448
+ span {
3449
+ &:not(.icon):not(:last-child) {
3450
+ display: none;
3355
3451
  }
3356
-
3357
- p:first-child {
3358
- color: #1D2A3B;
3359
- font-size: rem(14);
3452
+ &.icon {
3453
+ display: none;
3360
3454
  }
3361
-
3362
- p:last-child {
3363
- color: #526384;
3364
- font-size: rem(14);
3455
+ }
3456
+ }
3457
+ }
3458
+ span.icon {
3459
+ max-width: 24px;
3460
+ margin: 0 10px 0 0;
3461
+ i {
3462
+ font-size: rem(17);
3463
+ }
3464
+ img {
3465
+ display: block;
3466
+ max-width: rem(24);
3467
+ }
3468
+ &:empty {
3469
+ display: none;
3470
+ }
3471
+ }
3472
+ > span:not([class]):not(:last-child) {
3473
+ width: 100%;
3474
+ text-align: left;
3475
+ max-width: calc(100% - 58px);
3476
+ overflow: hidden;
3477
+ text-overflow: ellipsis;
3478
+ }
3479
+ span:last-child {
3480
+ width: 38px;
3481
+ min-width: 38px;
3482
+ height: 38px;
3483
+ margin: 0 0 0 20px;
3484
+ display: flex;
3485
+ justify-content: center;
3486
+ align-items: center;
3487
+ align-content: center;
3488
+ background-color: $select-icon-background;
3489
+ border-radius: 0 3px 3px 0;
3490
+ z-index: 3;
3491
+ i {
3492
+ font-size: rem(12);
3493
+ color: $second-color;
3494
+ }
3495
+ }
3496
+ &__search {
3497
+ position: relative;
3498
+ top: 0;
3499
+ left: 0;
3500
+ width: 100%;
3501
+ height: rem(38);
3502
+ display: flex;
3503
+ align-items: center;
3504
+ align-content: center;
3505
+ z-index: 2;
3506
+ padding: 0 0 0 rem(20);
3507
+ input {
3508
+ border: none;
3509
+ width: 100%;
3510
+ box-shadow: none;
3511
+ margin: 0 0 0 rem(10);
3512
+ padding: 0;
3513
+ height: rem(38);
3514
+ line-height: rem(38);
3515
+ &:focus {
3516
+ &::-webkit-input-placeholder { /* Chrome/Opera/Safari */
3517
+ opacity: 0;
3518
+ }
3519
+ &::-moz-placeholder { /* Firefox 19+ */
3520
+ opacity: 0;
3365
3521
  }
3522
+ &:-ms-input-placeholder { /* IE 10+ */
3523
+ opacity: 0;
3524
+ }
3525
+ &:-moz-placeholder { /* Firefox 18- */
3526
+ opacity: 0;
3527
+ }
3528
+
3529
+ }
3530
+ }
3531
+ }
3532
+ }
3533
+ .select-disabled {
3534
+ background-color: #f5f8fa;
3535
+ cursor: not-allowed;
3536
+ }
3537
+ &__content {
3538
+ position: absolute;
3539
+ top: 100%;
3540
+ margin-top: rem(14);
3541
+ left: -1px;
3542
+ width: auto;
3543
+ min-width: calc(100% - 38px);
3544
+ max-width: calc(100% + 2px);
3545
+ border: 1px solid $border-light;
3546
+ border-radius: 3px;
3547
+ display: flex;
3548
+ flex-direction: column;
3549
+ justify-content: flex-start;
3550
+ align-items: flex-start;
3551
+ background-color: $white;
3552
+ max-height: 260px;
3553
+ height: auto;
3554
+ visibility: visible;
3555
+ opacity: 1;
3556
+ box-shadow: 3px 3px 20px $select-box-shadow;
3557
+ padding: 10px;
3558
+ &.hidden {
3559
+ visibility: hidden;
3560
+ opacity: 0;
3561
+ & > * {
3562
+ opacity: 0;
3563
+ transition: 0s;
3564
+ }
3565
+ }
3566
+ .ps {
3567
+ max-height: 240px;
3568
+ }
3569
+ &.open,
3570
+ &.open.hidden {
3571
+ position: relative;
3572
+ left: auto;
3573
+ top: 0;
3574
+ transform: translateX(-1px);
3575
+ visibility: visible;
3576
+ opacity: 1;
3577
+ & > * {
3578
+ opacity: 1;
3579
+ transition: 0s;
3580
+ }
3581
+ }
3582
+ &__cta {
3583
+ background-color: $color-CTA-select;
3584
+ border: 1px solid $border-CTA-select;
3585
+ color: $main-text;
3586
+ font-size: rem(14);
3587
+ min-height: rem(40);
3588
+ display: flex;
3589
+ align-items: center;
3590
+ align-content: center;
3591
+ width: 100%;
3592
+ border-radius: 3px;
3593
+ cursor: pointer;
3594
+ transition: 0.3s ease;
3595
+ margin: 0 0 rem(10);
3596
+ padding: 0 20px;
3597
+ > div {
3598
+ display: flex;
3599
+ align-items: center;
3600
+ align-content: center;
3601
+ justify-content: flex-start;
3602
+ width: 100%;
3603
+ i {
3604
+ color: $wizishop-blue;
3605
+ margin: 0 8px 0 0;
3606
+ }
3607
+ strong {
3608
+ display: inline-block;
3609
+ margin: 0 20px 0 0;
3610
+ }
3611
+ }
3612
+ &:hover,
3613
+ &:focus {
3614
+ background-color: darken($color-CTA-select, 10%);
3615
+ }
3616
+ }
3617
+ &__item {
3618
+ width: 100%;
3619
+ font-size: rem(14);
3620
+ line-height: rem(30);
3621
+ cursor: pointer;
3622
+ transition: 0.3s ease;
3623
+ position: relative;
3624
+ display: flex;
3625
+ justify-content: flex-start;
3626
+ align-content: center;
3627
+ align-items: center;
3628
+ color: $second-color;
3629
+ > div {
3630
+ width: 100%;
3631
+ display: flex;
3632
+ align-items: center;
3633
+ align-content: center;
3366
3634
  }
3367
-
3368
- .dropdown-item:hover {
3369
- background-color: whitesmoke;
3370
- cursor: pointer;
3371
- color: black;
3635
+ .icon {
3636
+ width: 24px;
3637
+ margin: 0 10px 0 0;
3638
+ height: auto;
3639
+ max-height: 24px;
3372
3640
  }
3373
-
3374
- .dropdown-item.expectedSizes {
3375
- font-weight: 500;
3641
+ &:not(:last-child) {
3642
+ margin: 0 0 rem(10);
3376
3643
  }
3377
-
3378
- .dropdownTitle {
3379
- font-size: 14px;
3380
- background-color: $img-main-color;
3381
- padding: rem(9.5) 0;
3382
- text-align: center;
3383
-
3384
- p {
3385
- font-size: 14px;
3386
- color: white;
3387
- margin: 0;
3388
- font-weight: 500;
3389
- }
3644
+ &:empty {
3645
+ display: none;
3390
3646
  }
3391
-
3392
- .infoItem {
3393
- padding: 18px 20px 11px 20px;
3394
- line-height: 1.5;
3395
- font-weight: 500;
3396
-
3397
- p {
3398
- margin: 0;
3399
- font-size: rem(16);
3400
- line-height: rem(19);
3401
- font-weight: 500;
3402
- }
3647
+ &:first-child {
3648
+ border-width: 1px 0 1px;
3403
3649
  }
3404
-
3405
- .dropdown-item-wrapper {
3406
- border: 1px solid #DEE2ED;
3407
- border-radius: 3px;
3408
- margin: 0 20px 5px 20px;
3650
+ &:hover,
3651
+ &:focus {
3652
+ background-color: $gray-background;
3653
+ color: $main-text;
3654
+ }
3655
+ > div {
3656
+ padding: 0 10px;
3657
+ &.selected {
3658
+ background-color: $gray-background;
3659
+ color: $main-text;
3660
+ }
3661
+ }
3662
+ }
3663
+ &__empty {
3664
+ display: flex;
3665
+ width: 100%;
3666
+ justify-content: center;
3667
+ align-items: center;
3668
+ padding: 10px;
3669
+ span {
3670
+ font-size: rem(16);
3671
+ font-weight: 400;
3672
+ text-align: center;
3673
+ color: $second-color;
3674
+ display: inline-block;
3675
+ line-height: rem(25);
3409
3676
  }
3677
+ }
3410
3678
  }
3679
+ }
3411
3680
  }
3681
+ .wz-img-manager .wz-pagination {
3682
+ width: 100%;
3683
+ padding: 0;
3412
3684
 
3413
- .noTooltip .tooltip.is-tooltip-left:hover::before, .noTooltip .tooltip.is-tooltip-left:hover:not(.is-loading)::after {
3414
- display: none;
3415
- }
3416
- //.wz-img-manager useful to keep the css priority
3417
- .wz-img-manager .upload-list {
3418
- text-align: left;
3419
- font-size: 14px;
3420
- color: #23272B;
3685
+ &__wrapper {
3686
+ @include flexbox();
3687
+ @include justify-content(flex-end);
3688
+ padding: 0 17px 0 0;
3421
3689
 
3422
- &.smallDisplay {
3423
- .upload-list__box__cards__card {
3424
- width: 125px;
3690
+ @include media('<tablet') {
3691
+ padding: 0;
3692
+ justify-content: space-between;
3425
3693
  }
3426
- }
3427
-
3428
- &__scroll {
3429
- position: relative;
3430
- height: 100%;
3431
3694
 
3432
- &--smallDisplay {
3433
- max-height: 260px!important;
3695
+ &__page {
3696
+ margin-right: 30px;
3697
+ padding: 4px 0 5px 0;
3434
3698
 
3435
- .upload-list__box {
3436
- margin-bottom: 20px;
3437
- }
3438
- }
3699
+ @include media('<tablet') {
3700
+ margin: 0 20px 20px 0;
3701
+ }
3439
3702
 
3440
- &--window {
3441
- max-height: none;
3442
- }
3703
+ @include flexbox();
3443
3704
 
3444
- .ng-scroll-content {
3445
- margin-left: 0.5rem !important;
3446
- margin-right: 0.5rem !important;
3447
- min-width: calc(100% - 1rem) !important;
3448
- width: calc(100% - 1rem) !important;
3449
- }
3450
- }
3705
+ p {
3706
+ margin: 4px 11px 4px 0;
3707
+ font-size: 14px;
3708
+ line-height: 24px;
3709
+ color: $second-color;
3710
+ }
3451
3711
 
3452
- &__box {
3453
- margin: 0 0.8rem 30px 0.3rem;
3454
- padding: 30px;
3455
- background-color: $img-gray-background;
3456
- margin-right: 12px;
3457
- margin-left: 5px;
3712
+ select {
3713
+ width: 50px;
3714
+ font-size: 14px;
3715
+ line-height: 24px;
3716
+ color: $second-color;
3717
+ padding: 3px 26px 3px 15px;
3718
+ border: 1px solid $border-form;
3458
3719
  border-radius: 3px;
3720
+ -webkit-appearance: none;
3721
+ -moz-appearance: none;
3722
+ text-indent: 0;
3723
+ text-overflow: '';
3724
+ background: transparent
3725
+ 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='%23526384' 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")
3726
+ top 8px right 12px / 10px 10px no-repeat;
3727
+ }
3459
3728
 
3460
- &__container {
3461
- display: flex;
3462
- justify-content: space-between;
3463
- align-items: center;
3464
-
3465
- p {
3466
- display: inline;
3467
- }
3468
-
3469
- .dropdown {
3470
- vertical-align: baseline;
3471
- &:hover {
3472
- .dropdown-trigger i {
3473
- color: $img-main-color;
3474
- }
3475
- }
3476
- .dropdown-trigger {
3477
- display: inline;
3478
- i {
3479
- color: $img-secondary-text;
3480
- margin-left: 10px;
3481
- }
3482
- }
3483
-
3484
- .dropdown-menu {
3485
- padding: 0;
3486
- width: 370px;
3487
- left: -190px;
3488
- margin-top: 3px;
3489
-
3490
- .dropdown-item {
3491
- display: flex;
3492
- justify-content: left;
3493
- align-items: center;
3494
-
3495
- p {
3496
- margin: 0;
3497
- }
3498
-
3499
- p:first-child {
3500
- color: $img-main-text;
3501
- font-size: 14px;
3502
- }
3503
-
3504
- p:last-child {
3505
- color: $img-green-color;
3506
- font-size: 14px;
3507
- margin-left: 10px;
3508
- }
3509
- }
3510
- }
3511
- }
3512
- }
3513
-
3514
- &__cards {
3515
- padding-top: 15px;
3516
- margin-left: 5px;
3517
- display: flex;
3518
- justify-content: left;
3519
- flex-wrap: wrap;
3520
- align-items: center;
3521
- margin-right: -9px;
3522
- width: calc(100% + 24px);
3523
- transform: translateX(-12px);
3524
- &__card {
3525
- width: 198px;
3526
- margin: 0 12px 12px;
3527
- & > * {
3528
- width: 100%;
3529
- }
3530
-
3531
- &__btnBox {
3532
- text-align: center;
3533
- margin: rem(10) auto 0;
3534
-
3535
- &__btn {
3536
- height: 30px;
3537
- width: 30px;
3538
- font-size: 14px!important;
3539
-
3540
- cursor: default;
3541
-
3542
- &:focus {
3543
- box-shadow: none;
3544
- }
3545
- }
3546
- }
3547
- }
3548
- }
3549
- }
3550
- }
3551
-
3552
- @media screen and (max-width: 768px) {
3553
- .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .upload-list__scroll {
3554
- max-height: none!important;
3555
-
3556
- .ng-scroll-content {
3557
- margin: 0 !important;
3558
- min-width: 100%!important;
3559
- width: 100%!important;
3560
- }
3561
- }
3562
- }
3563
- //.wz-img-manager useful to keep the css priority
3564
- .wz-img-manager .wz-loader {
3565
- &.is-small {
3566
- right: 0;
3567
- left: 0;
3568
- top: 0;
3569
- transform: scale(0.6);
3570
- }
3571
- margin-bottom: rem(80);
3572
-
3573
- @keyframes rotate {
3574
- 0% {
3575
- transform: rotate(0deg);
3576
- }
3577
- 50% {
3578
- transform: rotate(180deg);
3579
- }
3580
- 100% {
3581
- transform: rotate(360deg);
3582
- }
3583
- }
3584
-
3585
- @keyframes rotate2 {
3586
- 0% {
3587
- transform: rotate(0deg);
3588
- border-top-color: $img-color-loader;
3589
- }
3590
- 50% {
3591
- transform: rotate(180deg);
3592
- border-top-color: $img-color-loader2;
3593
- }
3594
- 100% {
3595
- transform: rotate(360deg);
3596
- border-top-color: $img-color-loader;
3729
+ select::-ms-expand {
3730
+ display: none;
3731
+ }
3597
3732
  }
3598
- }
3599
3733
 
3600
- @mixin loaderDivMixin {
3601
- border-radius: 50%;
3602
- padding: rem(8);
3603
- border: rem(2) solid transparent;
3604
- animation: rotate linear 3.5s infinite;
3605
- }
3734
+ &__elements {
3735
+ margin-right: 30px;
3736
+ @include media('<tablet') {
3737
+ display: none;
3738
+ }
3606
3739
 
3607
- .loader {
3608
- position: relative;
3609
- margin: rem(75) auto;
3610
- width: rem(150);
3611
- height: rem(150);
3612
- display: block;
3613
- overflow: hidden;
3614
- div {
3615
- height: 100%;
3740
+ p {
3741
+ margin: 8px 0 9px 0;
3742
+ font-size: 14px;
3743
+ line-height: 24px;
3744
+ color: $dark;
3745
+ }
3616
3746
  }
3617
- }
3618
3747
 
3619
- /* loader 1 */
3620
- .loader1,
3621
- .loader1 div {
3622
- @include loaderDivMixin;
3623
- border-top-color: $img-color-loader;
3624
- border-bottom-color: $img-color-loader2;
3625
- }
3748
+ &__arrows {
3749
+ @include flexbox();
3626
3750
 
3627
- div:hover {
3628
- animation-play-state: paused;
3629
- }
3751
+ &__arrow {
3752
+ width: 40px;
3753
+ height: 40px;
3754
+ padding: 9px 14px;
3755
+ border: 1px solid $border-form;
3756
+ border-radius: 3px;
3757
+ cursor: pointer;
3758
+ display: flex;
3759
+ align-items: center;
3630
3760
 
3631
- .loader,
3632
- .loader * {
3633
- will-change: transform;
3634
- }
3761
+ span {
3762
+ display: inline-block;
3763
+ width: 10px;
3764
+ height: 15px;
3765
+ }
3635
3766
 
3636
- p {
3637
- margin-top: -50px;
3638
- font-weight: 500;
3767
+ &--left {
3768
+ margin-right: 10px;
3769
+
3770
+ span {
3771
+ background: transparent
3772
+ 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")
3773
+ center center / 10px 12px no-repeat;
3774
+ }
3775
+ }
3776
+
3777
+ &--right {
3778
+ span {
3779
+ background: transparent
3780
+ 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")
3781
+ center center / 10px 12px no-repeat;
3782
+ }
3783
+ }
3784
+
3785
+ &--disabled {
3786
+ border-color: $background-color;
3787
+ background-color: $background-color;
3788
+ }
3789
+ }
3790
+ }
3639
3791
  }
3640
3792
  }
3641
3793
  //.wz-img-manager useful to keep the css priority
@@ -3764,41 +3916,199 @@ $card-img-size-small: 140px;
3764
3916
  margin-right: 0px;
3765
3917
  margin-bottom: 0px;
3766
3918
 
3767
- .column {
3768
- padding: 0.75rem 0 0.75rem 0;
3919
+ .column {
3920
+ padding: 0.75rem 0 0.75rem 0;
3921
+ }
3922
+ }
3923
+ }
3924
+
3925
+ @media screen and (max-width: 768px) {
3926
+ .img-tabs__tabsFirst {
3927
+ margin-top: 0;
3928
+ }
3929
+
3930
+ .img-tabs__tabsFirst--small {
3931
+ height: 270px;
3932
+ }
3933
+ }
3934
+
3935
+ .wz-img-manager .img-tabs .columns.img-tabs__tabsFirst {
3936
+ margin: 0;
3937
+ }
3938
+
3939
+ .wrapper-tabs {
3940
+ .tabs {
3941
+ @include media('<tablet') {
3942
+ display: none!important;
3943
+ }
3944
+ }
3945
+ .select-mobile-page {
3946
+ @include media('>=tablet') {
3947
+ display: none;
3948
+ }
3949
+ padding: 20px 0;
3950
+ }
3951
+ }//.wz-img-manager useful to keep the css priority
3952
+ .wz-img-manager .canva-btn {
3953
+ background-color: $img-main-color;
3954
+ border: 2px solid $img-main-color;
3955
+ padding: 0;
3956
+ height: fit-content;
3957
+ color: white;
3958
+ padding-left: rem(9);
3959
+ transition: .3s ease;
3960
+ margin: 0!important;
3961
+ &:hover, &:focus {
3962
+ border-color: darken($img-main-color, 15%);
3963
+ }
3964
+ > span {
3965
+ &:first-child {
3966
+ z-index: 2;
3967
+ position: relative;
3968
+ transform: translateX(7px);
3969
+ }
3970
+ }
3971
+ &__logo {
3972
+ z-index: 1;
3973
+ }
3974
+ }
3975
+
3976
+ .wz-img-manager .canva-btn .btnLoadingAnnimation {
3977
+ background-color: $img-main-color;
3978
+ cursor: not-allowed;
3979
+ }
3980
+
3981
+ .wz-img-manager .canva.dropdown {
3982
+ z-index: 9999;
3983
+ .dropdown-menu {
3984
+ display: none!important;
3985
+ margin-top: 10px!important;
3986
+ &:before {
3987
+ content: '';
3988
+ display: block;
3989
+ position: absolute;
3990
+ bottom: 100%;
3991
+ left: 0;
3992
+ width: 100%;
3993
+ height: 10px;
3994
+ }
3995
+ }
3996
+
3997
+ .displayDropDownMenu {
3998
+ display: block!important;
3999
+ }
4000
+
4001
+ .dropdown-menu.dropDownShadow {
4002
+ padding-bottom: 0;
4003
+ padding-top: 0;
4004
+ margin-top: 1px;
4005
+ }
4006
+
4007
+ .dropdown-menu {
4008
+ min-width: 300px;
4009
+ width: 300px;
4010
+
4011
+ .dropdown-content {
4012
+ padding-top: 0px;
4013
+ }
4014
+
4015
+ .dropdown-item {
4016
+ color: $img-grey-color;
4017
+ display: flex;
4018
+ justify-content: space-between;
4019
+ align-items: center;
4020
+ padding: 12px 20px;
4021
+ margin: 0 0 5px;
4022
+ &:last-child {
4023
+ margin: 0;
4024
+ }
4025
+
4026
+ p {
4027
+ margin: 0;
4028
+ line-height: rem(16);
4029
+ }
4030
+
4031
+ p:first-child {
4032
+ color: #1D2A3B;
4033
+ font-size: rem(14);
4034
+ }
4035
+
4036
+ p:last-child {
4037
+ color: #526384;
4038
+ font-size: rem(14);
4039
+ }
4040
+ }
4041
+
4042
+ .dropdown-item:hover {
4043
+ background-color: whitesmoke;
4044
+ cursor: pointer;
4045
+ color: black;
4046
+ }
4047
+
4048
+ .dropdown-item.expectedSizes {
4049
+ font-weight: 500;
4050
+ }
4051
+
4052
+ .dropdownTitle {
4053
+ font-size: 14px;
4054
+ background-color: $img-main-color;
4055
+ padding: rem(9.5) 0;
4056
+ text-align: center;
4057
+
4058
+ p {
4059
+ font-size: 14px;
4060
+ color: white;
4061
+ margin: 0;
4062
+ font-weight: 500;
4063
+ }
4064
+ }
4065
+
4066
+ .infoItem {
4067
+ padding: 18px 20px 11px 20px;
4068
+ line-height: 1.5;
4069
+ font-weight: 500;
4070
+
4071
+ p {
4072
+ margin: 0;
4073
+ font-size: rem(16);
4074
+ line-height: rem(19);
4075
+ font-weight: 500;
4076
+ }
4077
+ }
4078
+
4079
+ .dropdown-item-wrapper {
4080
+ border: 1px solid #DEE2ED;
4081
+ border-radius: 3px;
4082
+ margin: 0 20px 5px 20px;
4083
+ }
3769
4084
  }
3770
- }
3771
4085
  }
3772
4086
 
3773
- @media screen and (max-width: 768px) {
3774
- .img-tabs__tabsFirst {
3775
- margin-top: 0;
3776
- }
4087
+ .noTooltip .tooltip.is-tooltip-left:hover::before, .noTooltip .tooltip.is-tooltip-left:hover:not(.is-loading)::after {
4088
+ display: none;
4089
+ }
4090
+ //.wz-img-manager useful to keep the css priority
4091
+ .wz-img-manager .upload-list {
4092
+ text-align: left;
4093
+ font-size: 14px;
4094
+ color: #23272B;
3777
4095
 
3778
- .img-tabs__tabsFirst--small {
3779
- height: 270px;
4096
+ &.smallDisplay {
4097
+ .upload-list__box__cards__card {
4098
+ width: 125px;
4099
+ }
3780
4100
  }
3781
- }
3782
4101
 
3783
- .wz-img-manager .img-tabs .columns.img-tabs__tabsFirst {
3784
- margin: 0;
3785
- }
3786
- .wz-img-manager .img-editor {
3787
4102
  &__scroll {
3788
4103
  position: relative;
3789
4104
  height: 100%;
3790
4105
 
3791
- &--full {
3792
- max-height: calc(100vh - 90px)!important;
3793
- min-height: calc(100vh - 90px) !important;
3794
- }
3795
-
3796
4106
  &--smallDisplay {
3797
- max-height: 275px!important;
3798
- @include media('<tablet') {
3799
- max-height: calc(100vh - 90px)!important;
3800
- min-height: calc(100vh - 90px) !important;
3801
- }
4107
+ max-height: 260px!important;
4108
+
4109
+ .upload-list__box {
4110
+ margin-bottom: 20px;
4111
+ }
3802
4112
  }
3803
4113
 
3804
4114
  &--window {
@@ -3806,291 +4116,286 @@ $card-img-size-small: 140px;
3806
4116
  }
3807
4117
 
3808
4118
  .ng-scroll-content {
3809
- margin-left: 0 !important;
3810
- margin-right: 0 !important;
4119
+ margin-left: 0.5rem !important;
4120
+ margin-right: 0.5rem !important;
3811
4121
  min-width: calc(100% - 1rem) !important;
3812
4122
  width: calc(100% - 1rem) !important;
3813
4123
  }
3814
4124
  }
3815
4125
 
3816
- .columns {
3817
- margin-right: 0.8rem;
3818
- margin-left: rem(12);
3819
- margin-top: 12px;
3820
- margin-bottom: 0;
3821
- width: calc(100% + 11px);
4126
+ &__box {
4127
+ margin: 0 0.8rem 30px 0.3rem;
4128
+ padding: 30px;
4129
+ background-color: $img-gray-background;
4130
+ margin-right: 12px;
4131
+ margin-left: 5px;
4132
+ border-radius: 3px;
3822
4133
 
3823
- .column {
3824
- padding-top: 0;
3825
- padding-bottom: 0px;
3826
- }
3827
- }
4134
+ &__container {
4135
+ display: flex;
4136
+ justify-content: space-between;
4137
+ align-items: center;
3828
4138
 
3829
- &__head-container {
3830
- display: flex;
3831
- justify-content: flex-end;
3832
- align-items: center;
3833
- margin: 30px 30px 20px 0;
4139
+ p {
4140
+ display: inline;
4141
+ }
3834
4142
 
3835
- &__btnGroup {
3836
- margin-right: 13px;
3837
- opacity: 0;
3838
- visibility: hidden;
3839
- transition: opacity .3s ease-in-out;
4143
+ .dropdown {
4144
+ vertical-align: baseline;
4145
+ &:hover {
4146
+ .dropdown-trigger i {
4147
+ color: $img-main-color;
4148
+ }
4149
+ }
4150
+ .dropdown-trigger {
4151
+ display: inline;
4152
+ i {
4153
+ color: $img-secondary-text;
4154
+ margin-left: 10px;
4155
+ }
4156
+ }
3840
4157
 
3841
- &__visible {
3842
- opacity: 1;
3843
- visibility: visible;
3844
- }
4158
+ .dropdown-menu {
4159
+ padding: 0;
4160
+ width: 370px;
4161
+ left: -190px;
4162
+ margin-top: 3px;
3845
4163
 
3846
- &__removeBtn {
3847
- margin-right: 13px;
3848
- }
3849
- }
4164
+ .dropdown-item {
4165
+ display: flex;
4166
+ justify-content: left;
4167
+ align-items: center;
3850
4168
 
3851
- &__close {
3852
- cursor: pointer;
3853
- font-size: 14px;
3854
- color: $img-grey-color;
3855
- line-height: 40px;
3856
- }
3857
- }
4169
+ p {
4170
+ margin: 0;
4171
+ }
3858
4172
 
3859
- &__container {
3860
- padding: 0.75rem!important;
3861
- display:flex;
3862
- justify-content: center;
3863
- align-items: center;
3864
- background-color: $img-gray-background;
3865
- margin: 0;
3866
- transform: translateY(-16px);
4173
+ p:first-child {
4174
+ color: $img-main-text;
4175
+ font-size: 14px;
4176
+ }
3867
4177
 
3868
- &__toolsContainer {
4178
+ p:last-child {
4179
+ color: $img-green-color;
4180
+ font-size: 14px;
4181
+ margin-left: 10px;
4182
+ }
4183
+ }
4184
+ }
4185
+ }
4186
+ }
4187
+
4188
+ &__cards {
4189
+ padding-top: 15px;
4190
+ margin-left: 5px;
3869
4191
  display: flex;
3870
- justify-content: center;
4192
+ justify-content: left;
4193
+ flex-wrap: wrap;
3871
4194
  align-items: center;
3872
- margin-bottom: 50px;
3873
-
3874
- &__tool {
3875
- color: $img-second-color;
3876
- margin-right: 30px;
3877
- text-align: center;
3878
- cursor: pointer;
3879
-
3880
- p {
3881
- margin: 0!important;
3882
- color: $img-main-text;
3883
- font-size: rem(12);
3884
- line-height: rem(14);
4195
+ margin-right: -9px;
4196
+ width: calc(100% + 24px);
4197
+ transform: translateX(-12px);
4198
+ &__card {
4199
+ width: 198px;
4200
+ margin: 0 12px 12px;
4201
+ & > * {
4202
+ width: 100%;
3885
4203
  }
3886
4204
 
3887
- i {
3888
- font-size: rem(18);
3889
- margin: 0 0 10px;
3890
- }
4205
+ &__btnBox {
4206
+ text-align: center;
4207
+ margin: rem(10) auto 0;
3891
4208
 
3892
- &--button {
3893
- background-color: $img-green-color;
3894
- color: $img-white!important;
3895
- padding: 10px;
3896
- border-radius: 3px;
3897
- transition: .3s ease;
3898
- white-space: nowrap;
3899
- display: flex;
3900
- justify-content: center;
3901
- align-items: center;
3902
- position: absolute;
3903
- top: 80px;
3904
- left: 50%;
3905
- transform: translateX(-50%);
3906
- height: 35px;
3907
- margin: 0;
3908
- &:hover, &:focus {
3909
- background-color: darken($img-green-color, 15%);
3910
- color: $img-white!important;
3911
- }
3912
- p {
3913
- color: $white!important;
3914
- }
3915
- i {
3916
- margin: 0 5px 0 0;
3917
- }
3918
- }
3919
- &:hover {
3920
- color: $img-main-color;
3921
- }
4209
+ &__btn {
4210
+ height: 30px;
4211
+ width: 30px;
4212
+ font-size: 14px!important;
3922
4213
 
3923
- > * {
3924
- -webkit-touch-callout: none; /* iOS Safari */
3925
- -webkit-user-select: none; /* Safari */
3926
- -khtml-user-select: none; /* Konqueror HTML */
3927
- -moz-user-select: none; /* Old versions of Firefox */
3928
- -ms-user-select: none; /* Internet Explorer/Edge */
3929
- user-select: none; /* Non-prefixed version, currently
3930
- supported by Chrome, Edge, Opera and Firefox */
3931
- }
3932
- }
4214
+ cursor: default;
3933
4215
 
3934
- &__RotationDropdown {
3935
- min-width: 16rem;
4216
+ &:focus {
4217
+ box-shadow: none;
4218
+ }
4219
+ }
4220
+ }
3936
4221
  }
3937
4222
  }
4223
+ }
4224
+ }
3938
4225
 
3939
- &__name {
3940
- font-size: 16px;
3941
- max-width: 50%;
3942
- color: $img-grey-color;
3943
- text-align: center;
3944
- white-space: nowrap;
3945
- overflow: hidden;
3946
- text-overflow: ellipsis;
3947
- }
4226
+ @media screen and (max-width: 768px) {
4227
+ .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .upload-list__scroll {
4228
+ max-height: none!important;
3948
4229
 
3949
- .button {
3950
- min-height: 35px;
3951
- background-color: $img-primary-button;
3952
- border-color: $img-primary-button-hover;
3953
- color: #ffffff;
4230
+ .ng-scroll-content {
4231
+ margin: 0 !important;
4232
+ min-width: 100%!important;
4233
+ width: 100%!important;
3954
4234
  }
3955
4235
  }
4236
+ }
4237
+ .wz-img-manager {
3956
4238
 
3957
- &__image-cropper {
3958
- --cropper-overlay-color: #f5f8fa;
3959
- //--cropper-outline-color: #a5a5a573;
3960
- padding-bottom: 30px;
3961
- }
4239
+ &__selectionHandler {
4240
+ margin-top: -50px;
4241
+ }
3962
4242
 
3963
- &__infoSection {
3964
- font-size: 14px;
3965
- max-width: 360px;
3966
- padding: 0;
3967
- margin: 0 rem(30) 0 0;
4243
+ &__module {
4244
+ position: fixed;
4245
+ bottom: 0;
4246
+ left: 0;
4247
+ width: 100%;
4248
+ height: 0;
4249
+ transition: height .3s ease;
4250
+ z-index: 2147483647; // snackbar 10
4251
+ transform: translateZ(0);
3968
4252
 
3969
- &__propertyEditable {
3970
- margin-bottom: 31px;
3971
- p {
3972
- margin-bottom: 12px;
3973
- font-size: 14px;
3974
- }
3975
- input, button {
3976
- width: 100%;
3977
- height: 40px;
3978
- border: 1px solid #DEE2ED;
3979
- border-radius: 3px;
3980
- color: $img-main-text;
3981
- padding-left: 20px;
3982
- padding-right: 20px;
3983
- display: flex;
3984
- justify-content: space-between;
3985
- font-size: 14px;
4253
+ &:before {
4254
+ content: '';
4255
+ display: block;
4256
+ position: absolute;
4257
+ top: 0;
4258
+ left: 0;
4259
+ width: 100%;
4260
+ height: 3px;
4261
+ background-color: $img-main-color;
4262
+ z-index: 999;
4263
+ }
3986
4264
 
3987
- &:hover {
3988
- color: $img-main-color;
3989
- border-color: $img-main-color;
3990
- }
3991
- }
4265
+ &--closed {
4266
+ height: 0;
4267
+ }
3992
4268
 
3993
- button {
3994
- align-items: center;
3995
- background-color: transparent;
3996
- cursor: pointer;
3997
- }
4269
+ // .wz-img-manager__module--small
4270
+ &--small {
4271
+ height: 320px;
4272
+ @include media('<tablet') {
4273
+ height: calc(100vh - 35px);
4274
+ }
4275
+ }
3998
4276
 
3999
- &__span, &__input {
4000
- text-overflow: ellipsis;
4001
- overflow: hidden;
4002
- white-space: nowrap;
4003
- }
4277
+ // .wz-img-manager__module--full
4278
+ &--full {
4279
+ height: calc(100vh - 50px);
4280
+ @include media('<tablet') {
4281
+ height: calc(100vh - 35px);
4282
+ }
4283
+ }
4004
4284
 
4005
- &__span {
4006
- color: $img-bleu-color;
4007
- & + i {
4008
- color: $img-bleu-color;
4009
- font-weight: 600;
4010
- }
4011
- }
4285
+ // .wz-img-manager__module--window
4286
+ &--window {
4287
+ position: relative;
4288
+ width: auto;
4289
+ bottom: unset;
4290
+ left: unset;
4291
+ z-index: 29!important;
4292
+ height: auto!important;
4293
+ padding-bottom: 6.25rem;
4012
4294
 
4013
- &__tooltips {
4014
- margin-left: 10px;
4015
- }
4016
- }
4295
+ &:before {
4296
+ content: none;
4297
+ height: 0px;
4298
+ }
4017
4299
 
4018
- &__property {
4019
- &:nth-child(3), &:nth-child(4) {
4020
- margin: 0;
4021
- }
4022
- p {
4023
- font-size: 14px;
4024
- display: inline-block;
4025
- }
4300
+ // .wz-img-manager__module--edit
4301
+ &--edit {
4302
+ .wrapper-tabs {
4303
+ display: none;
4304
+ }
4305
+ }
4306
+ }
4026
4307
 
4027
- .mainColor {
4028
- margin: 0!important;
4029
- }
4308
+ // .wz-img-manager__module__header
4309
+ &__header {
4310
+ position: absolute;
4311
+ bottom: 100%;
4312
+ right: 30px;
4313
+ width: 101px;
4030
4314
 
4031
- p:last-child {
4032
- margin: 0 0 0 10px;
4033
- color: #526384;
4034
- }
4035
- }
4315
+ @include media('<tablet') {
4316
+ width: 45px;
4317
+ right: 0;
4318
+ }
4036
4319
 
4037
- &__titleSEO {
4038
- margin: 0 0 20px;
4320
+ // .wz-img-manager__module__header button
4321
+ button {
4322
+ width: 45px;
4323
+ height: 35px;
4324
+ background-color: $img-main-color;
4325
+ transition: background-color .3s ease;
4326
+ border: none;
4327
+ box-shadow: none;
4328
+ cursor: pointer;
4329
+ outline: none!important;
4039
4330
 
4040
- .mainColor {
4041
- font-size: rem(18);
4042
- font-weight: 500;
4331
+ &:first-child {
4332
+ @include media('<tablet') {
4333
+ display: none;
4043
4334
  }
4044
4335
  }
4045
4336
 
4046
- &__propertySEO {
4047
- margin-bottom: 12px;
4048
- p {
4049
- font-size: 14px;
4050
- display: inline-block;
4051
- margin: 0;
4052
- }
4337
+ span {
4338
+ display: none;
4339
+ }
4053
4340
 
4054
- .mainColor {
4055
- & ~ p {
4056
- margin-left: 10px;
4057
- color: $img-green-color;
4058
- }
4341
+ i {
4342
+ color: #fff;
4343
+ font-size: 20px;
4344
+ &:before {
4345
+ font-size: rem(20) !important;
4059
4346
  }
4060
4347
  }
4061
4348
 
4062
- &__divider {
4063
- display: block;
4064
- width: 100%;
4065
- border-bottom: 2px dashed #EFF1F6;
4066
- margin: 30px 0;
4349
+ &:hover, &:focus {
4350
+ background-color: darken($img-main-color, 15%);
4067
4351
  }
4068
4352
 
4069
- &__actions {
4070
- height: 35px;
4071
-
4072
- &__cancel {
4073
- margin-right: 19px;
4074
- background-color: white;
4075
- border-color: #dbdbdb;
4076
- color: $img-main-text;
4077
- }
4353
+ // .wz-img-manager__module__header button:first-child
4354
+ &:first-child {
4355
+ border-radius: 3px 0 0 0;
4356
+ }
4078
4357
 
4079
- &__save {
4080
- padding: 8px 18px;
4081
- margin: 0!important;
4082
- &--disable {
4083
- cursor: not-allowed;
4084
- }
4085
- }
4358
+ // .wz-img-manager__module__header button:last-child
4359
+ &:last-child {
4360
+ margin: 0 0 0 1px;
4361
+ border-radius: 0 3px 0 0;
4362
+ @include media('<tablet') {
4363
+ margin: 0;
4364
+ border-radius: 0;
4365
+ }
4086
4366
  }
4367
+ }
4087
4368
  }
4369
+ }
4370
+ }
4088
4371
 
4089
- .dropdown-menu {
4090
- left: -50%;
4372
+ .wz-img-manager__module .wz-block {
4373
+ background-color: #fff;
4374
+ box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
4375
+ padding: 0 0.575rem 0 1.075rem;
4376
+
4377
+ @include media('<tablet') {
4378
+ padding: 0 20px;
4379
+ }
4380
+
4381
+ &--window {
4382
+ padding: rem(30);
4383
+ overflow: hidden;
4384
+ max-width: 1450px;
4385
+ margin: 0 auto;
4091
4386
  }
4092
4387
  }
4093
4388
 
4094
- .wz-img-manager .marginBottom {
4095
- margin-bottom: 20px;
4389
+ .wz-img-manager__module .wz-block:hover {
4390
+ box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.2);
4391
+ }
4392
+
4393
+ .nwb-snack-bar .notification {
4394
+ z-index: 10002!important;
4395
+ }
4396
+
4397
+ .nwb-snack-bar .column {
4398
+ box-sizing: border-box;
4096
4399
  }
4400
+
4401
+