@wizishop/img-manager 0.2.48 → 0.2.52

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 (31) hide show
  1. package/assets/i18n/en.json +1 -1
  2. package/assets/i18n/es.json +1 -1
  3. package/assets/i18n/fr.json +1 -1
  4. package/assets/i18n/it.json +1 -1
  5. package/bundles/wizishop-img-manager.umd.js +6 -16
  6. package/bundles/wizishop-img-manager.umd.js.map +1 -1
  7. package/bundles/wizishop-img-manager.umd.min.js +1 -1
  8. package/bundles/wizishop-img-manager.umd.min.js.map +1 -1
  9. package/esm2015/lib/components/canva-btn/canva-btn.component.js +2 -13
  10. package/esm2015/lib/components/images-view/images-view.component.js +2 -2
  11. package/esm2015/lib/components/images-view/mosaic-view/img-card/img-card.component.js +3 -2
  12. package/esm2015/lib/components/img-selection/img-selection.component.js +2 -2
  13. package/esm2015/lib/services/user-settings.service.js +2 -2
  14. package/esm2015/lib/wz-img-manager.component.js +1 -2
  15. package/esm5/lib/components/canva-btn/canva-btn.component.js +2 -13
  16. package/esm5/lib/components/images-view/images-view.component.js +2 -2
  17. package/esm5/lib/components/images-view/mosaic-view/img-card/img-card.component.js +3 -2
  18. package/esm5/lib/components/img-selection/img-selection.component.js +2 -2
  19. package/esm5/lib/services/user-settings.service.js +2 -2
  20. package/esm5/lib/wz-img-manager.component.js +1 -2
  21. package/fesm2015/wizishop-img-manager.js +6 -16
  22. package/fesm2015/wizishop-img-manager.js.map +1 -1
  23. package/fesm5/wizishop-img-manager.js +6 -16
  24. package/fesm5/wizishop-img-manager.js.map +1 -1
  25. package/lib/components/canva-btn/canva-btn.component.d.ts +1 -4
  26. package/lib/components/images-view/mosaic-view/img-card/img-card.component.d.ts +1 -0
  27. package/package.json +1 -1
  28. package/wizishop-img-manager-0.2.52.tgz +0 -0
  29. package/wizishop-img-manager.metadata.json +1 -1
  30. package/wz-img-manager.scss +633 -547
  31. package/wizishop-img-manager-0.2.48.tgz +0 -0
@@ -1462,6 +1462,63 @@ $card-img-size-small: 140px;
1462
1462
  }
1463
1463
  }
1464
1464
  }
1465
+
1466
+ &__delete {
1467
+ position: absolute;
1468
+ top: 0;
1469
+ left: 0;
1470
+ width: 100%;
1471
+ height: 100%;
1472
+ background-color: rgba(0,0,0,.45);
1473
+ display: flex;
1474
+ flex-direction: column;
1475
+ justify-content: center;
1476
+ align-items: center;
1477
+ padding: 15px;
1478
+ visibility: hidden;
1479
+ transform: translateY(100%);
1480
+ opacity: 0;
1481
+ z-index: 9999;
1482
+ transition: visibility 0s linear .35s, opacity .3s ease, transform .3s ease;
1483
+ &.show {
1484
+ transform: translateY(0);
1485
+ opacity: 1;
1486
+ visibility: visible;
1487
+ transition: visibility 0s linear, opacity .3s ease .05s, transform .3s ease .05s;
1488
+ }
1489
+ > span {
1490
+ font-size: rem(14);
1491
+ color: $img-white;
1492
+ font-weight: 600;
1493
+ text-align: center;
1494
+ display: inline-block;
1495
+ margin: 0 0 10px;
1496
+ }
1497
+ > div {
1498
+ display: flex;
1499
+ > button {
1500
+ padding: 7px 12px;
1501
+ font-size: rem(14);
1502
+ color: $img-white;
1503
+ background-color: $img-red-color;
1504
+ font-weight: 600;
1505
+ border: none;
1506
+ margin: 0 0 0 5px;
1507
+ text-transform: capitalize;
1508
+ transition: .3s ease;
1509
+ &:hover, &:focus {
1510
+ background-color: darken($img-red-color, 15%);
1511
+ }
1512
+ &:first-child {
1513
+ background-color: $img-main-color;
1514
+ margin: 0 5px 0 0;
1515
+ &:hover, &:focus {
1516
+ background-color: darken($img-main-color, 15%);
1517
+ }
1518
+ }
1519
+ }
1520
+ }
1521
+ }
1465
1522
  }
1466
1523
 
1467
1524
  &__nameContainer {
@@ -1727,228 +1784,155 @@ $button-disabled-border-color: $primary-button-hover !default;
1727
1784
  $tag-radius: rem(20px)!default;
1728
1785
  image-cropper {
1729
1786
  max-height: 60vh;
1730
- }.wz-img-manager .images-view {
1731
- text-align: left;
1732
-
1733
- &.fullSize {
1734
- & + .images-view__scroll {
1735
- max-height: 1160px;
1736
- }
1737
- }
1787
+ }//.wz-img-manager useful to keep the css priority
1788
+ .wz-img-manager .img-tabs {
1789
+ background-color: white;
1790
+ padding-left: 0;
1791
+ padding-right: 0;
1792
+ padding-top: 0;
1738
1793
 
1739
- &__scroll {
1740
- position: relative;
1741
- height: 100%;
1742
- z-index: 1;
1794
+ .tabs {
1795
+ margin: 0;
1796
+ display: flex;
1797
+ align-items: center;
1798
+ overflow: visible!important;
1743
1799
 
1744
- &--full {
1745
- max-height: calc(100vh - 160px)!important;
1746
- min-height: calc(100vh - 160px) !important;
1747
- }
1800
+ &--notWindow {
1801
+ padding: rem(20) rem(30) rem(20);
1802
+ margin-left: -1.075rem;
1803
+ margin-right: -0.575rem;
1804
+ margin-bottom: 0;
1805
+ }
1748
1806
 
1749
- &--smallDisplay {
1750
- max-height: 275px!important;
1807
+ ul {
1808
+ width: auto;
1809
+ border: none;
1810
+ li {
1811
+ a {
1812
+ padding: 0 0 rem(10);
1813
+ margin: 0 rem(30) 0 0;
1814
+ position: relative;
1815
+ line-height: rem(16);
1816
+ border: none;
1817
+ color: $secondary-color;
1818
+ transition: color .3s ease;
1819
+ font-size: rem(14);
1820
+ font-weight: 400;
1751
1821
  }
1752
-
1753
- &--smallUploadDisplay {
1754
- max-height: 230px!important;
1822
+ &.is-active {
1823
+ a {
1824
+ color: $main-text;
1825
+ &:after {
1826
+ content: '';
1827
+ display: block;
1828
+ position: absolute;
1829
+ width: 100%;
1830
+ height: 2px;
1831
+ background-color: $img-main-color;
1832
+ bottom: 0;
1833
+ left: 0;
1834
+ }
1835
+ }
1755
1836
  }
1837
+ }
1838
+ }
1839
+ }
1756
1840
 
1757
- &--window {
1758
- max-height: unset!important;
1759
- }
1841
+ &__canva {
1842
+ margin: 0 0 0 rem(30);
1843
+ }
1760
1844
 
1761
- &--hide {
1762
- &--mosaic {
1763
- min-height: 100px !important;
1764
- &--small {
1765
- min-height: unset !important;
1766
- }
1767
- }
1768
- &--table {
1769
- min-height: 170px !important;
1770
- }
1845
+ &__tabsEdit {
1846
+ > .column {
1847
+ padding: 0!important;
1848
+ }
1849
+ }
1771
1850
 
1772
- }
1851
+ &__tabsFirst {
1852
+ height: 100vh;
1773
1853
 
1774
- .ng-scroll-content {
1775
- min-width: calc(100% - 1rem) !important;
1776
- width: calc(100% - 1rem) !important;
1777
- }
1854
+ &--window {
1855
+ height: auto;
1856
+ display: flex;
1857
+ justify-content: flex-start;
1778
1858
  }
1779
1859
 
1780
- &__container {
1781
- display: flex;
1782
- justify-content: space-between;
1783
- margin: 0 0 rem(20);
1860
+ &__upload {
1861
+ margin: rem(28) 0 0 0;
1862
+ padding: 0;
1863
+ max-width: 33.3%;
1864
+ }
1784
1865
 
1785
- > div {
1786
- display: flex;
1787
- align-items: center;
1788
- .mainColor {
1789
- margin: 0;
1790
- }
1866
+ &__list {
1867
+ padding: 0;
1868
+ margin: rem(28) 0 0 rem(60);
1869
+ &--upload {
1870
+ margin: rem(28) 0 0 rem(48);
1791
1871
  }
1872
+ //height: calc(100vh - 70px);
1873
+ //height: 100vh;
1874
+ }
1875
+ }
1792
1876
 
1793
- &--window {
1794
- margin: rem(30) 0 rem(20);
1795
- }
1877
+ @media screen and (max-width: 768px) {
1878
+ .img-tabs__tabsFirst__upload {
1879
+ margin-right: 0;
1880
+ margin-bottom: 0;
1881
+ margin-top: 20px!important;
1882
+ }
1883
+ }
1796
1884
 
1797
- &--uploadTab {
1798
- margin: 0 0 rem(20);
1799
- }
1885
+ &__tabsSecond {
1886
+ min-height: 100vh !important;
1887
+ margin-left: 0px;
1888
+ margin-right: 0px;
1889
+ margin-bottom: 0px;
1800
1890
 
1801
- &__boxAction {
1802
- width: 525px;
1803
- overflow: visible;
1804
- display: flex;
1805
- position: relative;
1806
- justify-content: flex-end;
1807
- margin-right: 13px;
1808
- height: 40px;
1809
- align-items: center;
1810
- transform: translate(-41px,-3px);
1891
+ .column {
1892
+ padding: 0.75rem 0 0.75rem 0;
1893
+ }
1894
+ }
1811
1895
 
1812
- &__confirmSup {
1813
- display: flex;
1814
- justify-content: space-between;
1815
- align-items: center;
1816
- border-left: solid 1px #d8d8d8;
1817
- color: $img-grey-color;
1818
- padding-left: 1rem;
1819
- width: 0;
1820
- position: absolute;
1821
- opacity: 0;
1822
- transition: 0s;
1823
- visibility: hidden;
1824
- z-index: 2;
1896
+ &__tabsThird {
1897
+ min-height: 100vh !important;
1898
+ margin-left: 0px;
1899
+ margin-right: 0px;
1900
+ margin-bottom: 0px;
1825
1901
 
1826
- &--visible {
1827
- max-width: unset;
1828
- width: auto;
1829
- opacity: 1;
1830
- transition: 0s;
1831
- visibility: visible;
1902
+ .column {
1903
+ padding: 0.75rem 0 0.75rem 0;
1904
+ }
1905
+ }
1906
+ }
1832
1907
 
1833
- p {
1834
- transition: left .3s ease-in-out;
1835
- right: 100%;
1836
- left: auto;
1837
- white-space: nowrap;
1838
- margin-right: 30px;
1839
- }
1840
- }
1908
+ @media screen and (max-width: 768px) {
1909
+ .img-tabs__tabsFirst {
1910
+ margin-top: 0;
1911
+ }
1841
1912
 
1842
- &__cancel {
1843
- margin-right: 14px;
1844
- background-color: white;
1845
- border-color: #dbdbdb;
1846
- color: $img-main-text;
1847
- }
1913
+ .img-tabs__tabsFirst--small {
1914
+ height: 270px;
1915
+ }
1916
+ }
1848
1917
 
1849
- &__text {
1850
- font-size: 14px;
1851
- position: absolute;
1852
- left: -126%;
1853
- transition: font-size .3s ease-in-out, left .3s ease-in-out;
1854
- }
1855
- }
1856
-
1857
- &__delBtn {
1858
- i {
1859
- margin-right: 13px!important;
1860
- }
1861
- }
1862
-
1863
- &__import {
1864
- margin-right: 13px;
1865
- i {
1866
- margin-right: 13px!important;
1867
- }
1868
- }
1869
- }
1870
-
1871
- &__buttonBox {
1872
- margin: 0;
1873
- width: rem(40);
1874
- height: rem(40);
1875
- border: solid $img-light-white-color;
1876
- border-width: 1px 0 1px 1px;
1877
-
1878
- border-radius: 3px 0 0 3px;
1879
- outline: none!important;
1880
-
1881
- p {
1882
- margin-top: 0;
1883
- margin-bottom: 0;
1884
- height: 40px;
1885
- &:nth-child(2) {
1886
- border: solid $img-light-white-color;
1887
- border-width: 1px 1px 1px 0;
1888
- transform: translateY(-1px);
1889
- border-radius: 0 3px 3px 0;
1890
- }
1891
- button {
1892
- height: 38px;
1893
- }
1894
- }
1895
-
1896
- .actifDisplayed {
1897
- color:$img-main-color;
1898
- }
1899
-
1900
- i {
1901
- margin: 0;
1902
- }
1903
- }
1904
-
1905
- &__cards {
1906
- display: flex;
1907
- justify-content: space-between;
1908
- flex-wrap: wrap;
1909
- align-items: center;
1910
- padding-top: 30px;
1911
- margin-right: calc(0.8rem - 20px);
1912
- margin-left: 0.3rem;
1913
- margin-bottom: 30px;
1914
- }
1915
- }
1916
-
1917
- &--pexels {
1918
- margin-top: -30px;
1919
- }
1920
-
1921
- .subHeaderActions .button i {
1922
- margin-right: 0;
1923
- }
1924
- }
1925
-
1926
- @media screen and (max-width: 768px) {
1927
- .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .images-view__scroll {
1928
- max-height: none!important;
1929
-
1930
- .ng-scroll-content {
1931
- margin: 0 !important;
1932
- min-width: 100%!important;
1933
- width: 100%!important;
1934
- }
1935
- }
1936
- }
1937
- .img-editor__infoSection__propertySEO__tooltips {
1938
- i {
1939
- font-size: rem(16);
1940
- color: $main-text;
1941
- }
1942
- }
1943
- // Warning: in webcomponent (for wizishop-com project) the following style are added by styles-handler.js script (hard-coded)
1944
- .wz-img-manager .img-selection {
1945
- background-color: white;
1946
- margin-left: 1.875rem;
1947
- margin-right: 1.875rem;
1948
- transition: height .3s ease;
1949
- //height: 0;
1950
- display: flex;
1951
- align-items: center;
1918
+ .wz-img-manager .img-tabs .columns.img-tabs__tabsFirst {
1919
+ margin: 0;
1920
+ }
1921
+ .img-editor__infoSection__propertySEO__tooltips {
1922
+ i {
1923
+ font-size: rem(16);
1924
+ color: $main-text;
1925
+ }
1926
+ }
1927
+ // Warning: in webcomponent (for wizishop-com project) the following style are added by styles-handler.js script (hard-coded)
1928
+ .wz-img-manager .img-selection {
1929
+ background-color: white;
1930
+ margin-left: 1.875rem;
1931
+ margin-right: 1.875rem;
1932
+ transition: height .3s ease;
1933
+ //height: 0;
1934
+ display: flex;
1935
+ align-items: center;
1952
1936
 
1953
1937
  &--visible {
1954
1938
  height: 200px;
@@ -1987,6 +1971,35 @@ image-cropper {
1987
1971
  height: fit-content;
1988
1972
  }
1989
1973
 
1974
+ .cdk-drag.img_box {
1975
+ position: relative;
1976
+ padding: 0;
1977
+ margin: 0 20px 0 0;
1978
+ width: 150px;
1979
+ max-width: 150px;
1980
+ &:before {
1981
+ content: '';
1982
+ display: block;
1983
+ padding-top: 100%;
1984
+ }
1985
+ &:first-child {
1986
+ width: 250px;
1987
+ max-width: 250px;
1988
+ }
1989
+ img {
1990
+ position: absolute;
1991
+ top: 50%;
1992
+ left: 50%;
1993
+ transform: translate(-50%, -50%);
1994
+ max-width: 100%!important;
1995
+ max-height: 100%;
1996
+ object-fit: contain;
1997
+ width: auto!important;
1998
+ height: auto;
1999
+ }
2000
+ }
2001
+
2002
+
1990
2003
  .cdk-drag-preview {
1991
2004
  box-sizing: border-box;
1992
2005
  border-radius: 4px;
@@ -3094,307 +3107,212 @@ $green-color: #2ecc71;
3094
3107
 
3095
3108
  .dropdownWizi:not(.is-hoverable) {
3096
3109
  cursor: not-allowed;
3097
- }.wz-img-manager .img-editor {
3110
+ }.wz-img-manager .images-view {
3111
+ text-align: left;
3112
+
3113
+ &.fullSize {
3114
+ & + .images-view__scroll {
3115
+ max-height: 1160px;
3116
+ }
3117
+ }
3118
+
3098
3119
  &__scroll {
3099
3120
  position: relative;
3100
3121
  height: 100%;
3122
+ z-index: 1;
3101
3123
 
3102
3124
  &--full {
3103
- max-height: calc(100vh - 90px)!important;
3104
- min-height: calc(100vh - 90px) !important;
3125
+ max-height: calc(100vh - 160px)!important;
3126
+ min-height: calc(100vh - 160px) !important;
3105
3127
  }
3106
3128
 
3107
3129
  &--smallDisplay {
3108
3130
  max-height: 275px!important;
3109
3131
  }
3110
3132
 
3133
+ &--smallUploadDisplay {
3134
+ max-height: 230px!important;
3135
+ }
3136
+
3111
3137
  &--window {
3112
- max-height: none;
3138
+ max-height: unset!important;
3139
+ }
3140
+
3141
+ &--hide {
3142
+ &--mosaic {
3143
+ min-height: 100px !important;
3144
+ &--small {
3145
+ min-height: unset !important;
3146
+ }
3147
+ }
3148
+ &--table {
3149
+ min-height: 170px !important;
3150
+ }
3151
+
3113
3152
  }
3114
3153
 
3115
3154
  .ng-scroll-content {
3116
- margin-left: 0 !important;
3117
- margin-right: 0 !important;
3118
3155
  min-width: calc(100% - 1rem) !important;
3119
3156
  width: calc(100% - 1rem) !important;
3120
3157
  }
3121
3158
  }
3122
3159
 
3123
- .columns {
3124
- margin-right: 0.8rem;
3125
- margin-left: rem(12);
3126
- margin-top: 12px;
3127
- margin-bottom: 0;
3128
- width: calc(100% + 11px);
3129
-
3130
- .column {
3131
- padding-top: 0;
3132
- padding-bottom: 0px;
3133
- }
3134
- }
3160
+ &__container {
3161
+ display: flex;
3162
+ justify-content: space-between;
3163
+ margin: 0 0 rem(20);
3135
3164
 
3136
- &__head-container {
3165
+ > div {
3137
3166
  display: flex;
3138
- justify-content: flex-end;
3139
3167
  align-items: center;
3140
- margin: 30px 30px 20px 0;
3141
-
3142
- &__btnGroup {
3143
- margin-right: 13px;
3144
- opacity: 0;
3145
- visibility: hidden;
3146
- transition: opacity .3s ease-in-out;
3147
-
3148
- &__visible {
3149
- opacity: 1;
3150
- visibility: visible;
3151
- }
3152
-
3153
- &__removeBtn {
3154
- margin-right: 13px;
3155
- }
3168
+ .mainColor {
3169
+ margin: 0;
3156
3170
  }
3171
+ }
3157
3172
 
3158
- &__close {
3159
- cursor: pointer;
3160
- font-size: 14px;
3161
- color: $img-grey-color;
3162
- line-height: 40px;
3173
+ &--window {
3174
+ margin: rem(30) 0 rem(20);
3163
3175
  }
3164
- }
3165
3176
 
3166
- &__container {
3167
- padding: 0.75rem!important;
3168
- display:flex;
3169
- justify-content: center;
3170
- align-items: center;
3171
- background-color: $img-gray-background;
3172
- margin: 0;
3173
- transform: translateY(-16px);
3177
+ &--uploadTab {
3178
+ margin: 0 0 rem(20);
3179
+ }
3174
3180
 
3175
- &__toolsContainer {
3181
+ &__boxAction {
3182
+ width: 525px;
3183
+ overflow: visible;
3176
3184
  display: flex;
3177
- justify-content: center;
3185
+ position: relative;
3186
+ justify-content: flex-end;
3187
+ margin-right: 13px;
3188
+ height: 40px;
3178
3189
  align-items: center;
3179
- margin-bottom: 50px;
3190
+ transform: translate(-41px,-3px);
3180
3191
 
3181
- &__tool {
3182
- color: $img-second-color;
3183
- margin-right: 30px;
3184
- text-align: center;
3185
- cursor: pointer;
3192
+ &__confirmSup {
3193
+ display: flex;
3194
+ justify-content: space-between;
3195
+ align-items: center;
3196
+ border-left: solid 1px #d8d8d8;
3197
+ color: $img-grey-color;
3198
+ padding-left: 1rem;
3199
+ width: 0;
3200
+ position: absolute;
3201
+ opacity: 0;
3202
+ transition: 0s;
3203
+ visibility: hidden;
3204
+ z-index: 2;
3186
3205
 
3187
- p {
3188
- margin: 0!important;
3189
- color: $img-main-text;
3190
- font-size: rem(12);
3191
- line-height: rem(14);
3192
- }
3206
+ &--visible {
3207
+ max-width: unset;
3208
+ width: auto;
3209
+ opacity: 1;
3210
+ transition: 0s;
3211
+ visibility: visible;
3193
3212
 
3194
- i {
3195
- font-size: rem(18);
3196
- margin: 0 0 10px;
3197
- }
3213
+ p {
3214
+ transition: left .3s ease-in-out;
3215
+ right: 100%;
3216
+ left: auto;
3217
+ white-space: nowrap;
3218
+ margin-right: 30px;
3219
+ }
3220
+ }
3198
3221
 
3199
- &--button {
3200
- background-color: $img-green-color;
3201
- color: $img-white!important;
3202
- padding: 10px;
3203
- border-radius: 3px;
3204
- transition: .3s ease;
3205
- white-space: nowrap;
3206
- display: flex;
3207
- justify-content: center;
3208
- align-items: center;
3209
- position: absolute;
3210
- top: 80px;
3211
- left: 50%;
3212
- transform: translateX(-50%);
3213
- height: 35px;
3214
- margin: 0;
3215
- &:hover, &:focus {
3216
- background-color: darken($img-green-color, 15%);
3217
- color: $img-white!important;
3218
- }
3219
- p {
3220
- color: $white!important;
3221
- }
3222
- i {
3223
- margin: 0 5px 0 0;
3224
- }
3225
- }
3226
- &:hover {
3227
- color: $img-main-color;
3222
+ &__cancel {
3223
+ margin-right: 14px;
3224
+ background-color: white;
3225
+ border-color: #dbdbdb;
3226
+ color: $img-main-text;
3228
3227
  }
3229
3228
 
3230
- > * {
3231
- -webkit-touch-callout: none; /* iOS Safari */
3232
- -webkit-user-select: none; /* Safari */
3233
- -khtml-user-select: none; /* Konqueror HTML */
3234
- -moz-user-select: none; /* Old versions of Firefox */
3235
- -ms-user-select: none; /* Internet Explorer/Edge */
3236
- user-select: none; /* Non-prefixed version, currently
3237
- supported by Chrome, Edge, Opera and Firefox */
3229
+ &__text {
3230
+ font-size: 14px;
3231
+ position: absolute;
3232
+ left: -126%;
3233
+ transition: font-size .3s ease-in-out, left .3s ease-in-out;
3238
3234
  }
3239
3235
  }
3240
3236
 
3241
- &__RotationDropdown {
3242
- min-width: 16rem;
3237
+ &__delBtn {
3238
+ i {
3239
+ margin-right: 13px!important;
3240
+ }
3243
3241
  }
3244
- }
3245
-
3246
- &__name {
3247
- font-size: 16px;
3248
- max-width: 50%;
3249
- color: $img-grey-color;
3250
- text-align: center;
3251
- white-space: nowrap;
3252
- overflow: hidden;
3253
- text-overflow: ellipsis;
3254
- }
3255
3242
 
3256
- .button {
3257
- min-height: 35px;
3258
- background-color: $img-primary-button;
3259
- border-color: $img-primary-button-hover;
3260
- color: #ffffff;
3243
+ &__import {
3244
+ margin-right: 13px;
3245
+ i {
3246
+ margin-right: 13px!important;
3247
+ }
3248
+ }
3261
3249
  }
3262
- }
3263
3250
 
3264
- &__image-cropper {
3265
- --cropper-overlay-color: #f5f8fa;
3266
- //--cropper-outline-color: #a5a5a573;
3267
- padding-bottom: 30px;
3268
- }
3251
+ &__buttonBox {
3252
+ margin: 0;
3253
+ width: rem(40);
3254
+ height: rem(40);
3255
+ border: solid $img-light-white-color;
3256
+ border-width: 1px 0 1px 1px;
3269
3257
 
3270
- &__infoSection {
3271
- font-size: 14px;
3272
- max-width: 360px;
3273
- padding: 0;
3274
- margin: 0 rem(30) 0 0;
3258
+ border-radius: 3px 0 0 3px;
3259
+ outline: none!important;
3275
3260
 
3276
- &__propertyEditable {
3277
- margin-bottom: 31px;
3278
3261
  p {
3279
- margin-bottom: 12px;
3280
- font-size: 14px;
3281
- }
3282
- input, button {
3283
- width: 100%;
3262
+ margin-top: 0;
3263
+ margin-bottom: 0;
3284
3264
  height: 40px;
3285
- border: 1px solid #DEE2ED;
3286
- border-radius: 3px;
3287
- color: $img-main-text;
3288
- padding-left: 20px;
3289
- padding-right: 20px;
3290
- display: flex;
3291
- justify-content: space-between;
3292
- font-size: 14px;
3293
-
3294
- &:hover {
3295
- color: $img-main-color;
3296
- border-color: $img-main-color;
3265
+ &:nth-child(2) {
3266
+ border: solid $img-light-white-color;
3267
+ border-width: 1px 1px 1px 0;
3268
+ transform: translateY(-1px);
3269
+ border-radius: 0 3px 3px 0;
3297
3270
  }
3298
- }
3299
-
3300
- button {
3301
- align-items: center;
3302
- background-color: transparent;
3303
- cursor: pointer;
3304
- }
3305
-
3306
- &__span, &__input {
3307
- text-overflow: ellipsis;
3308
- overflow: hidden;
3309
- white-space: nowrap;
3310
- }
3311
-
3312
- &__span {
3313
- color: $img-bleu-color;
3314
- & + i {
3315
- color: $img-bleu-color;
3316
- font-weight: 600;
3271
+ button {
3272
+ height: 38px;
3317
3273
  }
3318
3274
  }
3319
- }
3320
-
3321
- &__property {
3322
- &:nth-child(3), &:nth-child(4) {
3323
- margin: 0;
3324
- }
3325
- p {
3326
- font-size: 14px;
3327
- display: inline-block;
3328
- }
3329
-
3330
- .mainColor {
3331
- margin: 0!important;
3332
- }
3333
3275
 
3334
- p:last-child {
3335
- margin: 0 0 0 10px;
3336
- color: #526384;
3276
+ .actifDisplayed {
3277
+ color:$img-main-color;
3337
3278
  }
3338
- }
3339
-
3340
- &__titleSEO {
3341
- margin: 0 0 20px;
3342
-
3343
- .mainColor {
3344
- font-size: rem(18);
3345
- font-weight: 500;
3346
- }
3347
- }
3348
3279
 
3349
- &__propertySEO {
3350
- margin-bottom: 12px;
3351
- p {
3352
- font-size: 14px;
3353
- display: inline-block;
3280
+ i {
3354
3281
  margin: 0;
3355
3282
  }
3356
-
3357
- .mainColor {
3358
- & ~ p {
3359
- margin-left: 10px;
3360
- color: $img-green-color;
3361
- }
3362
- }
3363
3283
  }
3364
3284
 
3365
- &__divider {
3366
- display: block;
3367
- width: 100%;
3368
- border-bottom: 2px dashed #EFF1F6;
3369
- margin: 30px 0;
3285
+ &__cards {
3286
+ display: flex;
3287
+ justify-content: space-between;
3288
+ flex-wrap: wrap;
3289
+ align-items: center;
3290
+ padding-top: 30px;
3291
+ margin-right: calc(0.8rem - 20px);
3292
+ margin-left: 0.3rem;
3293
+ margin-bottom: 30px;
3370
3294
  }
3295
+ }
3371
3296
 
3372
- &__actions {
3373
- height: 35px;
3374
-
3375
- &__cancel {
3376
- margin-right: 19px;
3377
- background-color: white;
3378
- border-color: #dbdbdb;
3379
- color: $img-main-text;
3380
- }
3381
-
3382
- &__save {
3383
- padding: 8px 18px;
3384
- &--disable {
3385
- cursor: not-allowed;
3386
- }
3387
- }
3388
- }
3297
+ &--pexels {
3298
+ margin-top: -30px;
3389
3299
  }
3390
3300
 
3391
- .dropdown-menu {
3392
- left: -50%;
3301
+ .subHeaderActions .button i {
3302
+ margin-right: 0;
3393
3303
  }
3394
3304
  }
3395
3305
 
3396
- .wz-img-manager .marginBottom {
3397
- margin-bottom: 20px;
3306
+ @media screen and (max-width: 768px) {
3307
+ .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .images-view__scroll {
3308
+ max-height: none!important;
3309
+
3310
+ .ng-scroll-content {
3311
+ margin: 0 !important;
3312
+ min-width: 100%!important;
3313
+ width: 100%!important;
3314
+ }
3315
+ }
3398
3316
  }
3399
3317
  //.wz-img-manager useful to keep the css priority
3400
3318
  .wz-img-manager .upload-list {
@@ -3621,137 +3539,305 @@ $green-color: #2ecc71;
3621
3539
  font-weight: 500;
3622
3540
  }
3623
3541
  }
3624
- //.wz-img-manager useful to keep the css priority
3625
- .wz-img-manager .img-tabs {
3626
- background-color: white;
3627
- padding-left: 0;
3628
- padding-right: 0;
3629
- padding-top: 0;
3630
-
3631
- .tabs {
3632
- margin: 0;
3633
- display: flex;
3634
- align-items: center;
3635
- overflow: visible!important;
3542
+ .wz-img-manager .img-editor {
3543
+ &__scroll {
3544
+ position: relative;
3545
+ height: 100%;
3636
3546
 
3637
- &--notWindow {
3638
- padding: rem(20) rem(30) rem(20);
3639
- margin-left: -1.075rem;
3640
- margin-right: -0.575rem;
3641
- margin-bottom: 0;
3642
- }
3547
+ &--full {
3548
+ max-height: calc(100vh - 90px)!important;
3549
+ min-height: calc(100vh - 90px) !important;
3550
+ }
3643
3551
 
3644
- ul {
3645
- width: auto;
3646
- border: none;
3647
- li {
3648
- a {
3649
- padding: 0 0 rem(10);
3650
- margin: 0 rem(30) 0 0;
3651
- position: relative;
3652
- line-height: rem(16);
3653
- border: none;
3654
- color: $secondary-color;
3655
- transition: color .3s ease;
3656
- font-size: rem(14);
3657
- font-weight: 400;
3552
+ &--smallDisplay {
3553
+ max-height: 275px!important;
3658
3554
  }
3659
- &.is-active {
3660
- a {
3661
- color: $main-text;
3662
- &:after {
3663
- content: '';
3664
- display: block;
3665
- position: absolute;
3666
- width: 100%;
3667
- height: 2px;
3668
- background-color: $img-main-color;
3669
- bottom: 0;
3670
- left: 0;
3671
- }
3672
- }
3555
+
3556
+ &--window {
3557
+ max-height: none;
3558
+ }
3559
+
3560
+ .ng-scroll-content {
3561
+ margin-left: 0 !important;
3562
+ margin-right: 0 !important;
3563
+ min-width: calc(100% - 1rem) !important;
3564
+ width: calc(100% - 1rem) !important;
3673
3565
  }
3674
- }
3675
3566
  }
3676
- }
3677
3567
 
3678
- &__canva {
3679
- margin: 0 0 0 rem(30);
3680
- }
3568
+ .columns {
3569
+ margin-right: 0.8rem;
3570
+ margin-left: rem(12);
3571
+ margin-top: 12px;
3572
+ margin-bottom: 0;
3573
+ width: calc(100% + 11px);
3681
3574
 
3682
- &__tabsEdit {
3683
- > .column {
3684
- padding: 0!important;
3575
+ .column {
3576
+ padding-top: 0;
3577
+ padding-bottom: 0px;
3578
+ }
3685
3579
  }
3686
- }
3687
3580
 
3688
- &__tabsFirst {
3689
- height: 100vh;
3581
+ &__head-container {
3582
+ display: flex;
3583
+ justify-content: flex-end;
3584
+ align-items: center;
3585
+ margin: 30px 30px 20px 0;
3690
3586
 
3691
- &--window {
3692
- height: auto;
3693
- display: flex;
3694
- justify-content: flex-start;
3695
- }
3587
+ &__btnGroup {
3588
+ margin-right: 13px;
3589
+ opacity: 0;
3590
+ visibility: hidden;
3591
+ transition: opacity .3s ease-in-out;
3696
3592
 
3697
- &__upload {
3698
- margin: rem(28) 0 0 0;
3699
- padding: 0;
3700
- max-width: 33.3%;
3593
+ &__visible {
3594
+ opacity: 1;
3595
+ visibility: visible;
3596
+ }
3597
+
3598
+ &__removeBtn {
3599
+ margin-right: 13px;
3600
+ }
3601
+ }
3602
+
3603
+ &__close {
3604
+ cursor: pointer;
3605
+ font-size: 14px;
3606
+ color: $img-grey-color;
3607
+ line-height: 40px;
3608
+ }
3701
3609
  }
3702
3610
 
3703
- &__list {
3704
- padding: 0;
3705
- margin: rem(28) 0 0 rem(60);
3706
- &--upload {
3707
- margin: rem(28) 0 0 rem(48);
3708
- }
3709
- //height: calc(100vh - 70px);
3710
- //height: 100vh;
3611
+ &__container {
3612
+ padding: 0.75rem!important;
3613
+ display:flex;
3614
+ justify-content: center;
3615
+ align-items: center;
3616
+ background-color: $img-gray-background;
3617
+ margin: 0;
3618
+ transform: translateY(-16px);
3619
+
3620
+ &__toolsContainer {
3621
+ display: flex;
3622
+ justify-content: center;
3623
+ align-items: center;
3624
+ margin-bottom: 50px;
3625
+
3626
+ &__tool {
3627
+ color: $img-second-color;
3628
+ margin-right: 30px;
3629
+ text-align: center;
3630
+ cursor: pointer;
3631
+
3632
+ p {
3633
+ margin: 0!important;
3634
+ color: $img-main-text;
3635
+ font-size: rem(12);
3636
+ line-height: rem(14);
3637
+ }
3638
+
3639
+ i {
3640
+ font-size: rem(18);
3641
+ margin: 0 0 10px;
3642
+ }
3643
+
3644
+ &--button {
3645
+ background-color: $img-green-color;
3646
+ color: $img-white!important;
3647
+ padding: 10px;
3648
+ border-radius: 3px;
3649
+ transition: .3s ease;
3650
+ white-space: nowrap;
3651
+ display: flex;
3652
+ justify-content: center;
3653
+ align-items: center;
3654
+ position: absolute;
3655
+ top: 80px;
3656
+ left: 50%;
3657
+ transform: translateX(-50%);
3658
+ height: 35px;
3659
+ margin: 0;
3660
+ &:hover, &:focus {
3661
+ background-color: darken($img-green-color, 15%);
3662
+ color: $img-white!important;
3663
+ }
3664
+ p {
3665
+ color: $white!important;
3666
+ }
3667
+ i {
3668
+ margin: 0 5px 0 0;
3669
+ }
3670
+ }
3671
+ &:hover {
3672
+ color: $img-main-color;
3673
+ }
3674
+
3675
+ > * {
3676
+ -webkit-touch-callout: none; /* iOS Safari */
3677
+ -webkit-user-select: none; /* Safari */
3678
+ -khtml-user-select: none; /* Konqueror HTML */
3679
+ -moz-user-select: none; /* Old versions of Firefox */
3680
+ -ms-user-select: none; /* Internet Explorer/Edge */
3681
+ user-select: none; /* Non-prefixed version, currently
3682
+ supported by Chrome, Edge, Opera and Firefox */
3683
+ }
3684
+ }
3685
+
3686
+ &__RotationDropdown {
3687
+ min-width: 16rem;
3688
+ }
3689
+ }
3690
+
3691
+ &__name {
3692
+ font-size: 16px;
3693
+ max-width: 50%;
3694
+ color: $img-grey-color;
3695
+ text-align: center;
3696
+ white-space: nowrap;
3697
+ overflow: hidden;
3698
+ text-overflow: ellipsis;
3699
+ }
3700
+
3701
+ .button {
3702
+ min-height: 35px;
3703
+ background-color: $img-primary-button;
3704
+ border-color: $img-primary-button-hover;
3705
+ color: #ffffff;
3706
+ }
3711
3707
  }
3712
- }
3713
3708
 
3714
- @media screen and (max-width: 768px) {
3715
- .img-tabs__tabsFirst__upload {
3716
- margin-right: 0;
3717
- margin-bottom: 0;
3718
- margin-top: 20px!important;
3709
+ &__image-cropper {
3710
+ --cropper-overlay-color: #f5f8fa;
3711
+ //--cropper-outline-color: #a5a5a573;
3712
+ padding-bottom: 30px;
3719
3713
  }
3720
- }
3721
3714
 
3722
- &__tabsSecond {
3723
- min-height: 100vh !important;
3724
- margin-left: 0px;
3725
- margin-right: 0px;
3726
- margin-bottom: 0px;
3715
+ &__infoSection {
3716
+ font-size: 14px;
3717
+ max-width: 360px;
3718
+ padding: 0;
3719
+ margin: 0 rem(30) 0 0;
3727
3720
 
3728
- .column {
3729
- padding: 0.75rem 0 0.75rem 0;
3730
- }
3731
- }
3721
+ &__propertyEditable {
3722
+ margin-bottom: 31px;
3723
+ p {
3724
+ margin-bottom: 12px;
3725
+ font-size: 14px;
3726
+ }
3727
+ input, button {
3728
+ width: 100%;
3729
+ height: 40px;
3730
+ border: 1px solid #DEE2ED;
3731
+ border-radius: 3px;
3732
+ color: $img-main-text;
3733
+ padding-left: 20px;
3734
+ padding-right: 20px;
3735
+ display: flex;
3736
+ justify-content: space-between;
3737
+ font-size: 14px;
3732
3738
 
3733
- &__tabsThird {
3734
- min-height: 100vh !important;
3735
- margin-left: 0px;
3736
- margin-right: 0px;
3737
- margin-bottom: 0px;
3739
+ &:hover {
3740
+ color: $img-main-color;
3741
+ border-color: $img-main-color;
3742
+ }
3743
+ }
3738
3744
 
3739
- .column {
3740
- padding: 0.75rem 0 0.75rem 0;
3741
- }
3742
- }
3743
- }
3745
+ button {
3746
+ align-items: center;
3747
+ background-color: transparent;
3748
+ cursor: pointer;
3749
+ }
3744
3750
 
3745
- @media screen and (max-width: 768px) {
3746
- .img-tabs__tabsFirst {
3747
- margin-top: 0;
3748
- }
3751
+ &__span, &__input {
3752
+ text-overflow: ellipsis;
3753
+ overflow: hidden;
3754
+ white-space: nowrap;
3755
+ }
3749
3756
 
3750
- .img-tabs__tabsFirst--small {
3751
- height: 270px;
3752
- }
3757
+ &__span {
3758
+ color: $img-bleu-color;
3759
+ & + i {
3760
+ color: $img-bleu-color;
3761
+ font-weight: 600;
3762
+ }
3763
+ }
3764
+ }
3765
+
3766
+ &__property {
3767
+ &:nth-child(3), &:nth-child(4) {
3768
+ margin: 0;
3769
+ }
3770
+ p {
3771
+ font-size: 14px;
3772
+ display: inline-block;
3773
+ }
3774
+
3775
+ .mainColor {
3776
+ margin: 0!important;
3777
+ }
3778
+
3779
+ p:last-child {
3780
+ margin: 0 0 0 10px;
3781
+ color: #526384;
3782
+ }
3783
+ }
3784
+
3785
+ &__titleSEO {
3786
+ margin: 0 0 20px;
3787
+
3788
+ .mainColor {
3789
+ font-size: rem(18);
3790
+ font-weight: 500;
3791
+ }
3792
+ }
3793
+
3794
+ &__propertySEO {
3795
+ margin-bottom: 12px;
3796
+ p {
3797
+ font-size: 14px;
3798
+ display: inline-block;
3799
+ margin: 0;
3800
+ }
3801
+
3802
+ .mainColor {
3803
+ & ~ p {
3804
+ margin-left: 10px;
3805
+ color: $img-green-color;
3806
+ }
3807
+ }
3808
+ }
3809
+
3810
+ &__divider {
3811
+ display: block;
3812
+ width: 100%;
3813
+ border-bottom: 2px dashed #EFF1F6;
3814
+ margin: 30px 0;
3815
+ }
3816
+
3817
+ &__actions {
3818
+ height: 35px;
3819
+
3820
+ &__cancel {
3821
+ margin-right: 19px;
3822
+ background-color: white;
3823
+ border-color: #dbdbdb;
3824
+ color: $img-main-text;
3825
+ }
3826
+
3827
+ &__save {
3828
+ padding: 8px 18px;
3829
+ &--disable {
3830
+ cursor: not-allowed;
3831
+ }
3832
+ }
3833
+ }
3834
+ }
3835
+
3836
+ .dropdown-menu {
3837
+ left: -50%;
3838
+ }
3753
3839
  }
3754
3840
 
3755
- .wz-img-manager .img-tabs .columns.img-tabs__tabsFirst {
3756
- margin: 0;
3841
+ .wz-img-manager .marginBottom {
3842
+ margin-bottom: 20px;
3757
3843
  }