@wizishop/img-manager 0.2.66 → 0.2.70

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.
@@ -1053,9 +1053,169 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
1053
1053
  }
1054
1054
  }
1055
1055
  }
1056
- image-cropper {
1057
- max-height: 60vh;
1058
- }$card-img-size: 100%;
1056
+ .mosaic {
1057
+ width: 100%;
1058
+ display: flex;
1059
+ flex-wrap: wrap;
1060
+ position: relative;
1061
+ min-height: rem(512);
1062
+
1063
+ &--displayPexelsImg {
1064
+ min-height: unset;
1065
+ }
1066
+
1067
+ &:not(.fullSize) {
1068
+ width: calc(100% + 24px);
1069
+ transform: translateX(-12px);
1070
+ .mosaic__container__cards {
1071
+ padding-bottom: 40px;
1072
+ > * {
1073
+ width: calc(25% - 24px);
1074
+ margin: 0 12px rem(24) 12px;
1075
+ @include media('>=desktop','<1300px') {
1076
+ width: calc(33.33% - 24px);
1077
+ margin: 0 12px rem(24) 12px;
1078
+ }
1079
+ }
1080
+ }
1081
+ &.small {
1082
+ min-height: 0;
1083
+ .mosaic__container__loader {
1084
+ top: 0;
1085
+ transform: translateX(-50%);
1086
+ max-height: 200px;
1087
+ }
1088
+ .mosaic {
1089
+ &__container {
1090
+ &__cards {
1091
+ padding-bottom: 40px;
1092
+ > * {
1093
+ width: calc(12.5% - 24px);
1094
+ margin: 0 12px rem(24) 12px;
1095
+ @include media('>=1400px','<1600px') {
1096
+ width: calc(14% - 24px);
1097
+ margin: 0 12px rem(24) 12px;
1098
+ }
1099
+ @include media('>=1200px','<1400px') {
1100
+ width: calc(16.66% - 24px);
1101
+ margin: 0 12px rem(24) 12px;
1102
+ }
1103
+ @include media('>=desktop','<1200px') {
1104
+ width: calc(20% - 24px);
1105
+ margin: 0 12px rem(24) 12px;
1106
+ }
1107
+ }
1108
+ }
1109
+ }
1110
+ }
1111
+ }
1112
+ }
1113
+ &.fullSize {
1114
+ width: calc(100% + 24px);
1115
+ transform: translateX(-12px);
1116
+ @include media('<420px') {
1117
+ width: 100%;
1118
+ transform: none;
1119
+ }
1120
+ .mosaic__container__cards {
1121
+ > * {
1122
+ width: calc(16.66% - 24px);
1123
+ margin: 0 12px rem(24) 12px;
1124
+ @include media('>=1400px','<1600px') {
1125
+ width: calc(20% - 24px);
1126
+ margin: 0 12px rem(24) 12px;
1127
+ }
1128
+ @include media('>=desktop','<1400px') {
1129
+ width: calc(25% - 24px);
1130
+ margin: 0 12px rem(24) 12px;
1131
+ }
1132
+ @include media('>=tablet','<desktop') {
1133
+ width: calc(33.33% - 24px);
1134
+ margin: 0 12px rem(24) 12px;
1135
+ }
1136
+ @include media('>=400px','<tablet') {
1137
+ width: calc(50% - 24px);
1138
+ margin: 0 12px rem(24) 12px;
1139
+ }
1140
+ @include media('<420px') {
1141
+ width: 100%;
1142
+ margin: 0 0 15px;
1143
+ }
1144
+ }
1145
+ }
1146
+ &.small {
1147
+ .mosaic__container__loader {
1148
+ top: 0;
1149
+ transform: translateX(-50%);
1150
+ max-height: 200px;
1151
+ }
1152
+ .mosaic {
1153
+ &__search {
1154
+ display: none;
1155
+ }
1156
+ &__container {
1157
+ &__cards {
1158
+ > * {
1159
+ width: calc(10% - 24px);
1160
+ margin: 0 12px rem(24) 12px;
1161
+ @include media('>=1400px','<1600px') {
1162
+ width: calc(11.11% - 24px);
1163
+ margin: 0 12px rem(24) 12px;
1164
+ }
1165
+ @include media('>=desktop','<1400px') {
1166
+ width: calc(12.5% - 24px);
1167
+ margin: 0 12px rem(24) 12px;
1168
+ }
1169
+ @include media('>=tablet','<desktop') {
1170
+ width: calc(20% - 24px);
1171
+ margin: 0 12px rem(24) 12px;
1172
+ }
1173
+ @include media('>=500px','<tablet') {
1174
+ width: calc(33.33% - 24px);
1175
+ margin: 0 12px rem(24) 12px;
1176
+ }
1177
+ @include media('<500px') {
1178
+ width: calc(50% - 24px);
1179
+ margin: 0 12px rem(24) 12px;
1180
+ }
1181
+ }
1182
+ }
1183
+ }
1184
+ }
1185
+ }
1186
+ }
1187
+ &__search {
1188
+ width: calc(100% - 24px);
1189
+ margin: 0 auto rem(20);
1190
+ }
1191
+ &__pagination {
1192
+ width: 100%;
1193
+ }
1194
+ &__container {
1195
+ &__loader {
1196
+ position: absolute;
1197
+ top: 50%;
1198
+ left: 50%;
1199
+ transform: translate(-50%,-50%);
1200
+ max-width: 300px;
1201
+ max-height: 300px;
1202
+ display: flex;
1203
+ flex-wrap: wrap;
1204
+ flex-direction: column;
1205
+ justify-content: center;
1206
+ align-items: center;
1207
+ }
1208
+ &__cards {
1209
+ width: 100%;
1210
+ display: flex;
1211
+ flex-wrap: wrap;
1212
+ &--padding {
1213
+ padding-right: 20px;
1214
+ }
1215
+ }
1216
+ }
1217
+ }
1218
+ $card-img-size: 100%;
1059
1219
  $card-img-size-small: 140px;
1060
1220
 
1061
1221
  //.wz-img-manager useful to keep the css priority
@@ -1472,525 +1632,31 @@ $card-img-size-small: 140px;
1472
1632
  .wz-img-manager .addCssPriority .smallNameDisplay .img-card__nameContainer__name {
1473
1633
  width: $card-img-size-small;
1474
1634
  }
1475
- .img-editor__infoSection__propertySEO__tooltips {
1476
- i {
1477
- font-size: rem(16);
1478
- color: $main-text;
1479
- }
1480
- }
1481
- $green: $really-bad-bad-bad-green !default;
1482
- $primary: $primary-button !default;
1483
- $light: $img-placeholder !default;
1484
- $info: $wizishop-blue !default;
1485
- $danger: $img-red-color !default;
1486
- $dark: $img-dark !default;
1635
+ //.wz-img-manager useful to keep the css priority
1636
+ .wz-img-manager .table-view {
1487
1637
 
1488
- $button-padding-vertical: rem(7) !default;
1489
- $radius: rem(3) !default;
1490
1638
 
1491
- $button-color: white!default;
1492
- $button-hover-color: white !default;
1493
- $button-focus-color: white !default;
1494
- $button-active-color: white !default;
1495
- $button-background-color: $primary !default;
1496
- $button-disabled-background-color: $primary !default;
1497
- $button-border-color: $primary-button-hover !default;
1498
- $button-hover-border-color: $primary-button-hover !default;
1499
- $button-active-border-color: $primary-button-hover !default;
1500
- $button-focus-border-color: $primary-button-hover !default;
1501
- $button-disabled-border-color: $primary-button-hover !default;
1639
+ &__row {
1640
+ td {
1641
+ vertical-align: middle;
1642
+ }
1643
+ &__container {
1644
+ display: flex;
1645
+ align-items: center;
1646
+ width: 100%;
1502
1647
 
1503
- $tag-radius: rem(20px)!default;
1504
- .mosaic {
1505
- width: 100%;
1506
- display: flex;
1507
- flex-wrap: wrap;
1508
- position: relative;
1509
- min-height: rem(512);
1648
+ &__imgContainer {
1649
+ margin-right: 20px;
1650
+ position: relative;
1651
+ display: block;
1652
+ min-width: 60px;
1653
+ cursor: pointer;
1510
1654
 
1511
- &--displayPexelsImg {
1512
- min-height: unset;
1513
- }
1514
-
1515
- &:not(.fullSize) {
1516
- width: calc(100% + 24px);
1517
- transform: translateX(-12px);
1518
- .mosaic__container__cards {
1519
- padding-bottom: 40px;
1520
- > * {
1521
- width: calc(25% - 24px);
1522
- margin: 0 12px rem(24) 12px;
1523
- @include media('>=desktop','<1300px') {
1524
- width: calc(33.33% - 24px);
1525
- margin: 0 12px rem(24) 12px;
1526
- }
1527
- }
1528
- }
1529
- &.small {
1530
- min-height: 0;
1531
- .mosaic__container__loader {
1532
- top: 0;
1533
- transform: translateX(-50%);
1534
- max-height: 200px;
1535
- }
1536
- .mosaic {
1537
- &__container {
1538
- &__cards {
1539
- padding-bottom: 40px;
1540
- > * {
1541
- width: calc(12.5% - 24px);
1542
- margin: 0 12px rem(24) 12px;
1543
- @include media('>=1400px','<1600px') {
1544
- width: calc(14% - 24px);
1545
- margin: 0 12px rem(24) 12px;
1546
- }
1547
- @include media('>=1200px','<1400px') {
1548
- width: calc(16.66% - 24px);
1549
- margin: 0 12px rem(24) 12px;
1550
- }
1551
- @include media('>=desktop','<1200px') {
1552
- width: calc(20% - 24px);
1553
- margin: 0 12px rem(24) 12px;
1554
- }
1555
- }
1556
- }
1557
- }
1558
- }
1559
- }
1560
- }
1561
- &.fullSize {
1562
- width: calc(100% + 24px);
1563
- transform: translateX(-12px);
1564
- @include media('<420px') {
1565
- width: 100%;
1566
- transform: none;
1567
- }
1568
- .mosaic__container__cards {
1569
- > * {
1570
- width: calc(16.66% - 24px);
1571
- margin: 0 12px rem(24) 12px;
1572
- @include media('>=1400px','<1600px') {
1573
- width: calc(20% - 24px);
1574
- margin: 0 12px rem(24) 12px;
1575
- }
1576
- @include media('>=desktop','<1400px') {
1577
- width: calc(25% - 24px);
1578
- margin: 0 12px rem(24) 12px;
1579
- }
1580
- @include media('>=tablet','<desktop') {
1581
- width: calc(33.33% - 24px);
1582
- margin: 0 12px rem(24) 12px;
1583
- }
1584
- @include media('>=400px','<tablet') {
1585
- width: calc(50% - 24px);
1586
- margin: 0 12px rem(24) 12px;
1587
- }
1588
- @include media('<420px') {
1589
- width: 100%;
1590
- margin: 0 0 15px;
1591
- }
1592
- }
1593
- }
1594
- &.small {
1595
- .mosaic__container__loader {
1596
- top: 0;
1597
- transform: translateX(-50%);
1598
- max-height: 200px;
1599
- }
1600
- .mosaic {
1601
- &__search {
1602
- display: none;
1603
- }
1604
- &__container {
1605
- &__cards {
1606
- > * {
1607
- width: calc(10% - 24px);
1608
- margin: 0 12px rem(24) 12px;
1609
- @include media('>=1400px','<1600px') {
1610
- width: calc(11.11% - 24px);
1611
- margin: 0 12px rem(24) 12px;
1612
- }
1613
- @include media('>=desktop','<1400px') {
1614
- width: calc(12.5% - 24px);
1615
- margin: 0 12px rem(24) 12px;
1616
- }
1617
- @include media('>=tablet','<desktop') {
1618
- width: calc(20% - 24px);
1619
- margin: 0 12px rem(24) 12px;
1620
- }
1621
- @include media('>=500px','<tablet') {
1622
- width: calc(33.33% - 24px);
1623
- margin: 0 12px rem(24) 12px;
1624
- }
1625
- @include media('<500px') {
1626
- width: calc(50% - 24px);
1627
- margin: 0 12px rem(24) 12px;
1628
- }
1629
- }
1630
- }
1631
- }
1632
- }
1633
- }
1634
- }
1635
- &__search {
1636
- width: calc(100% - 24px);
1637
- margin: 0 auto rem(20);
1638
- }
1639
- &__pagination {
1640
- width: 100%;
1641
- }
1642
- &__container {
1643
- &__loader {
1644
- position: absolute;
1645
- top: 50%;
1646
- left: 50%;
1647
- transform: translate(-50%,-50%);
1648
- max-width: 300px;
1649
- max-height: 300px;
1650
- display: flex;
1651
- flex-wrap: wrap;
1652
- flex-direction: column;
1653
- justify-content: center;
1654
- align-items: center;
1655
- }
1656
- &__cards {
1657
- width: 100%;
1658
- display: flex;
1659
- flex-wrap: wrap;
1660
- &--padding {
1661
- padding-right: 20px;
1662
- }
1663
- }
1664
- }
1665
- }
1666
- .wz-img-manager .img-editor {
1667
- &__scroll {
1668
- position: relative;
1669
- height: 100%;
1670
-
1671
- &--full {
1672
- max-height: calc(100vh - 90px)!important;
1673
- min-height: calc(100vh - 90px) !important;
1674
- }
1675
-
1676
- &--smallDisplay {
1677
- max-height: 275px!important;
1678
- }
1679
-
1680
- &--window {
1681
- max-height: none;
1682
- }
1683
-
1684
- .ng-scroll-content {
1685
- margin-left: 0 !important;
1686
- margin-right: 0 !important;
1687
- min-width: calc(100% - 1rem) !important;
1688
- width: calc(100% - 1rem) !important;
1689
- }
1690
- }
1691
-
1692
- .columns {
1693
- margin-right: 0.8rem;
1694
- margin-left: rem(12);
1695
- margin-top: 12px;
1696
- margin-bottom: 0;
1697
- width: calc(100% + 11px);
1698
-
1699
- .column {
1700
- padding-top: 0;
1701
- padding-bottom: 0px;
1702
- }
1703
- }
1704
-
1705
- &__head-container {
1706
- display: flex;
1707
- justify-content: flex-end;
1708
- align-items: center;
1709
- margin: 30px 30px 20px 0;
1710
-
1711
- &__btnGroup {
1712
- margin-right: 13px;
1713
- opacity: 0;
1714
- visibility: hidden;
1715
- transition: opacity .3s ease-in-out;
1716
-
1717
- &__visible {
1718
- opacity: 1;
1719
- visibility: visible;
1720
- }
1721
-
1722
- &__removeBtn {
1723
- margin-right: 13px;
1724
- }
1725
- }
1726
-
1727
- &__close {
1728
- cursor: pointer;
1729
- font-size: 14px;
1730
- color: $img-grey-color;
1731
- line-height: 40px;
1732
- }
1733
- }
1734
-
1735
- &__container {
1736
- padding: 0.75rem!important;
1737
- display:flex;
1738
- justify-content: center;
1739
- align-items: center;
1740
- background-color: $img-gray-background;
1741
- margin: 0;
1742
- transform: translateY(-16px);
1743
-
1744
- &__toolsContainer {
1745
- display: flex;
1746
- justify-content: center;
1747
- align-items: center;
1748
- margin-bottom: 50px;
1749
-
1750
- &__tool {
1751
- color: $img-second-color;
1752
- margin-right: 30px;
1753
- text-align: center;
1754
- cursor: pointer;
1755
-
1756
- p {
1757
- margin: 0!important;
1758
- color: $img-main-text;
1759
- font-size: rem(12);
1760
- line-height: rem(14);
1761
- }
1762
-
1763
- i {
1764
- font-size: rem(18);
1765
- margin: 0 0 10px;
1766
- }
1767
-
1768
- &--button {
1769
- background-color: $img-green-color;
1770
- color: $img-white!important;
1771
- padding: 10px;
1772
- border-radius: 3px;
1773
- transition: .3s ease;
1774
- white-space: nowrap;
1775
- display: flex;
1776
- justify-content: center;
1777
- align-items: center;
1778
- position: absolute;
1779
- top: 80px;
1780
- left: 50%;
1781
- transform: translateX(-50%);
1782
- height: 35px;
1783
- margin: 0;
1784
- &:hover, &:focus {
1785
- background-color: darken($img-green-color, 15%);
1786
- color: $img-white!important;
1787
- }
1788
- p {
1789
- color: $white!important;
1790
- }
1791
- i {
1792
- margin: 0 5px 0 0;
1793
- }
1794
- }
1795
- &:hover {
1796
- color: $img-main-color;
1797
- }
1798
-
1799
- > * {
1800
- -webkit-touch-callout: none; /* iOS Safari */
1801
- -webkit-user-select: none; /* Safari */
1802
- -khtml-user-select: none; /* Konqueror HTML */
1803
- -moz-user-select: none; /* Old versions of Firefox */
1804
- -ms-user-select: none; /* Internet Explorer/Edge */
1805
- user-select: none; /* Non-prefixed version, currently
1806
- supported by Chrome, Edge, Opera and Firefox */
1807
- }
1808
- }
1809
-
1810
- &__RotationDropdown {
1811
- min-width: 16rem;
1812
- }
1813
- }
1814
-
1815
- &__name {
1816
- font-size: 16px;
1817
- max-width: 50%;
1818
- color: $img-grey-color;
1819
- text-align: center;
1820
- white-space: nowrap;
1821
- overflow: hidden;
1822
- text-overflow: ellipsis;
1823
- }
1824
-
1825
- .button {
1826
- min-height: 35px;
1827
- background-color: $img-primary-button;
1828
- border-color: $img-primary-button-hover;
1829
- color: #ffffff;
1830
- }
1831
- }
1832
-
1833
- &__image-cropper {
1834
- --cropper-overlay-color: #f5f8fa;
1835
- //--cropper-outline-color: #a5a5a573;
1836
- padding-bottom: 30px;
1837
- }
1838
-
1839
- &__infoSection {
1840
- font-size: 14px;
1841
- max-width: 360px;
1842
- padding: 0;
1843
- margin: 0 rem(30) 0 0;
1844
-
1845
- &__propertyEditable {
1846
- margin-bottom: 31px;
1847
- p {
1848
- margin-bottom: 12px;
1849
- font-size: 14px;
1850
- }
1851
- input, button {
1852
- width: 100%;
1853
- height: 40px;
1854
- border: 1px solid #DEE2ED;
1855
- border-radius: 3px;
1856
- color: $img-main-text;
1857
- padding-left: 20px;
1858
- padding-right: 20px;
1859
- display: flex;
1860
- justify-content: space-between;
1861
- font-size: 14px;
1862
-
1863
- &:hover {
1864
- color: $img-main-color;
1865
- border-color: $img-main-color;
1866
- }
1867
- }
1868
-
1869
- button {
1870
- align-items: center;
1871
- background-color: transparent;
1872
- cursor: pointer;
1873
- }
1874
-
1875
- &__span, &__input {
1876
- text-overflow: ellipsis;
1877
- overflow: hidden;
1878
- white-space: nowrap;
1879
- }
1880
-
1881
- &__span {
1882
- color: $img-bleu-color;
1883
- & + i {
1884
- color: $img-bleu-color;
1885
- font-weight: 600;
1886
- }
1887
- }
1888
- }
1889
-
1890
- &__property {
1891
- &:nth-child(3), &:nth-child(4) {
1892
- margin: 0;
1893
- }
1894
- p {
1895
- font-size: 14px;
1896
- display: inline-block;
1897
- }
1898
-
1899
- .mainColor {
1900
- margin: 0!important;
1901
- }
1902
-
1903
- p:last-child {
1904
- margin: 0 0 0 10px;
1905
- color: #526384;
1906
- }
1907
- }
1908
-
1909
- &__titleSEO {
1910
- margin: 0 0 20px;
1911
-
1912
- .mainColor {
1913
- font-size: rem(18);
1914
- font-weight: 500;
1915
- }
1916
- }
1917
-
1918
- &__propertySEO {
1919
- margin-bottom: 12px;
1920
- p {
1921
- font-size: 14px;
1922
- display: inline-block;
1923
- margin: 0;
1924
- }
1925
-
1926
- .mainColor {
1927
- & ~ p {
1928
- margin-left: 10px;
1929
- color: $img-green-color;
1930
- }
1931
- }
1932
- }
1933
-
1934
- &__divider {
1935
- display: block;
1936
- width: 100%;
1937
- border-bottom: 2px dashed #EFF1F6;
1938
- margin: 30px 0;
1939
- }
1940
-
1941
- &__actions {
1942
- height: 35px;
1943
-
1944
- &__cancel {
1945
- margin-right: 19px;
1946
- background-color: white;
1947
- border-color: #dbdbdb;
1948
- color: $img-main-text;
1949
- }
1950
-
1951
- &__save {
1952
- padding: 8px 18px;
1953
- margin: 0!important;
1954
- &--disable {
1955
- cursor: not-allowed;
1956
- }
1957
- }
1958
- }
1959
- }
1960
-
1961
- .dropdown-menu {
1962
- left: -50%;
1963
- }
1964
- }
1965
-
1966
- .wz-img-manager .marginBottom {
1967
- margin-bottom: 20px;
1968
- }
1969
- //.wz-img-manager useful to keep the css priority
1970
- .wz-img-manager .table-view {
1971
-
1972
-
1973
- &__row {
1974
- td {
1975
- vertical-align: middle;
1976
- }
1977
- &__container {
1978
- display: flex;
1979
- align-items: center;
1980
- width: 100%;
1981
-
1982
- &__imgContainer {
1983
- margin-right: 20px;
1984
- position: relative;
1985
- display: block;
1986
- min-width: 60px;
1987
- cursor: pointer;
1988
-
1989
- &::before {
1990
- content: '';
1991
- display: block;
1992
- padding-top: 100%;
1993
- }
1655
+ &::before {
1656
+ content: '';
1657
+ display: block;
1658
+ padding-top: 100%;
1659
+ }
1994
1660
 
1995
1661
  &__img {
1996
1662
  margin: 0!important;
@@ -2035,65 +1701,303 @@ $tag-radius: rem(20px)!default;
2035
1701
  }
2036
1702
  }
2037
1703
 
2038
- &__name {
2039
- display: inline-block;
2040
- background-color: transparent;
2041
- white-space: nowrap;
2042
- overflow: hidden;
2043
- text-overflow: ellipsis;
2044
- color: $main-text;
2045
- font-size: 14px;
2046
- cursor: initial;
1704
+ &__name {
1705
+ display: inline-block;
1706
+ background-color: transparent;
1707
+ white-space: nowrap;
1708
+ overflow: hidden;
1709
+ text-overflow: ellipsis;
1710
+ color: $main-text;
1711
+ font-size: 14px;
1712
+ cursor: initial;
1713
+ }
1714
+ }
1715
+ }
1716
+
1717
+ &__dropdown-options {
1718
+ &__label {
1719
+ &--disable {
1720
+ cursor: not-allowed;
1721
+ i {
1722
+ cursor: not-allowed;
1723
+ }
1724
+ }
1725
+ }
1726
+ }
1727
+ }
1728
+
1729
+ .wz-img-manager .table-view .checked {
1730
+ color: $img-main-color;
1731
+ }
1732
+
1733
+ .wz-img-manager .table-view .checked.disabled {
1734
+ color: grey;
1735
+ }
1736
+
1737
+
1738
+ .wz-img-manager .table-view .disabled {
1739
+ cursor: not-allowed;
1740
+ }
1741
+
1742
+
1743
+ .wz-img-manager .is-wizi-hoverable .dropdown-trigger:before {
1744
+ width: 5rem;
1745
+ }
1746
+
1747
+ .table-view .wzImgMngInput {
1748
+ border-radius: 3px;
1749
+ }
1750
+
1751
+ .table-view .wzImgMngInput:active.desabled, .table-view .wzImgMngInput:focus.desabled {
1752
+ border: solid transparent 1px;
1753
+ }
1754
+
1755
+ .wz-img-manager .table-view .dropdown-menu {
1756
+ left: -165px;
1757
+ }
1758
+
1759
+ .grey {
1760
+ color: $img-grey-color;
1761
+ }
1762
+ $green: $really-bad-bad-bad-green !default;
1763
+ $primary: $primary-button !default;
1764
+ $light: $img-placeholder !default;
1765
+ $info: $wizishop-blue !default;
1766
+ $danger: $img-red-color !default;
1767
+ $dark: $img-dark !default;
1768
+
1769
+ $button-padding-vertical: rem(7) !default;
1770
+ $radius: rem(3) !default;
1771
+
1772
+ $button-color: white!default;
1773
+ $button-hover-color: white !default;
1774
+ $button-focus-color: white !default;
1775
+ $button-active-color: white !default;
1776
+ $button-background-color: $primary !default;
1777
+ $button-disabled-background-color: $primary !default;
1778
+ $button-border-color: $primary-button-hover !default;
1779
+ $button-hover-border-color: $primary-button-hover !default;
1780
+ $button-active-border-color: $primary-button-hover !default;
1781
+ $button-focus-border-color: $primary-button-hover !default;
1782
+ $button-disabled-border-color: $primary-button-hover !default;
1783
+
1784
+ $tag-radius: rem(20px)!default;
1785
+ image-cropper {
1786
+ max-height: 60vh;
1787
+ }.wz-img-manager .images-view {
1788
+ text-align: left;
1789
+
1790
+ &.fullSize {
1791
+ & + .images-view__scroll {
1792
+ max-height: 1160px;
1793
+ }
1794
+ }
1795
+
1796
+ &__scroll {
1797
+ position: relative;
1798
+ height: 100%;
1799
+ z-index: 1;
1800
+
1801
+ &--full {
1802
+ max-height: calc(100vh - 160px)!important;
1803
+ min-height: calc(100vh - 160px) !important;
1804
+ }
1805
+
1806
+ &--smallDisplay {
1807
+ max-height: 275px!important;
1808
+ }
1809
+
1810
+ &--smallUploadDisplay {
1811
+ max-height: 230px!important;
1812
+ }
1813
+
1814
+ &--window {
1815
+ max-height: unset!important;
1816
+ }
1817
+
1818
+ &--hide {
1819
+ &--mosaic {
1820
+ min-height: 100px !important;
1821
+ &--small {
1822
+ min-height: unset !important;
1823
+ }
1824
+ }
1825
+ &--table {
1826
+ min-height: 170px !important;
1827
+ }
1828
+
1829
+ }
1830
+
1831
+ .ng-scroll-content {
1832
+ min-width: calc(100% - 1rem) !important;
1833
+ width: calc(100% - 1rem) !important;
1834
+ }
1835
+ }
1836
+
1837
+ &__container {
1838
+ display: flex;
1839
+ justify-content: space-between;
1840
+ margin: 0 0 rem(20);
1841
+
1842
+ > div {
1843
+ display: flex;
1844
+ align-items: center;
1845
+ .mainColor {
1846
+ margin: 0;
1847
+ }
1848
+ }
1849
+
1850
+ &--window {
1851
+ margin: rem(30) 0 rem(20);
1852
+ }
1853
+
1854
+ &--uploadTab {
1855
+ margin: 0 0 rem(20);
1856
+ }
1857
+
1858
+ &__boxAction {
1859
+ width: 525px;
1860
+ overflow: visible;
1861
+ display: flex;
1862
+ position: relative;
1863
+ justify-content: flex-end;
1864
+ margin-right: 13px;
1865
+ height: 40px;
1866
+ align-items: center;
1867
+ transform: translate(-41px,-3px);
1868
+
1869
+ &__confirmSup {
1870
+ display: flex;
1871
+ justify-content: space-between;
1872
+ align-items: center;
1873
+ border-left: solid 1px #d8d8d8;
1874
+ color: $img-grey-color;
1875
+ padding-left: 1rem;
1876
+ width: 0;
1877
+ position: absolute;
1878
+ opacity: 0;
1879
+ transition: 0s;
1880
+ visibility: hidden;
1881
+ z-index: 2;
1882
+
1883
+ &--visible {
1884
+ max-width: unset;
1885
+ width: auto;
1886
+ opacity: 1;
1887
+ transition: 0s;
1888
+ visibility: visible;
1889
+
1890
+ p {
1891
+ transition: left .3s ease-in-out;
1892
+ right: 100%;
1893
+ left: auto;
1894
+ white-space: nowrap;
1895
+ margin-right: 30px;
1896
+ }
1897
+ }
1898
+
1899
+ &__cancel {
1900
+ margin-right: 14px;
1901
+ background-color: white;
1902
+ border-color: #dbdbdb;
1903
+ color: $img-main-text;
1904
+ }
1905
+
1906
+ &__text {
1907
+ font-size: 14px;
1908
+ position: absolute;
1909
+ left: -126%;
1910
+ transition: font-size .3s ease-in-out, left .3s ease-in-out;
1911
+ }
1912
+ }
1913
+
1914
+ &__delBtn {
1915
+ i {
1916
+ margin-right: 13px!important;
1917
+ }
2047
1918
  }
2048
- }
2049
- }
2050
1919
 
2051
- &__dropdown-options {
2052
- &__label {
2053
- &--disable {
2054
- cursor: not-allowed;
1920
+ &__import {
1921
+ margin-right: 13px;
2055
1922
  i {
2056
- cursor: not-allowed;
1923
+ margin-right: 13px!important;
2057
1924
  }
2058
1925
  }
2059
1926
  }
2060
- }
2061
- }
2062
1927
 
2063
- .wz-img-manager .table-view .checked {
2064
- color: $img-main-color;
2065
- }
1928
+ &__buttonBox {
1929
+ margin: 0;
1930
+ width: rem(40);
1931
+ height: rem(40);
1932
+ border: solid $img-light-white-color;
1933
+ border-width: 1px 0 1px 1px;
2066
1934
 
2067
- .wz-img-manager .table-view .checked.disabled {
2068
- color: grey;
2069
- }
1935
+ border-radius: 3px 0 0 3px;
1936
+ outline: none!important;
2070
1937
 
1938
+ > div {
1939
+ margin-top: 0;
1940
+ margin-bottom: 0;
1941
+ height: 40px;
1942
+ &:nth-child(2) {
1943
+ border: solid $img-light-white-color;
1944
+ border-width: 1px 1px 1px 0;
1945
+ transform: translateY(-1px);
1946
+ border-radius: 0 3px 3px 0;
1947
+ }
1948
+ div {
1949
+ height: 38px;
1950
+ margin: 0!important;
1951
+ }
1952
+ }
2071
1953
 
2072
- .wz-img-manager .table-view .disabled {
2073
- cursor: not-allowed;
2074
- }
1954
+ .actifDisplayed {
1955
+ color:$img-main-color;
1956
+ }
2075
1957
 
1958
+ i {
1959
+ margin: 0;
1960
+ }
1961
+ }
2076
1962
 
2077
- .wz-img-manager .is-wizi-hoverable .dropdown-trigger:before {
2078
- width: 5rem;
2079
- }
1963
+ &__cards {
1964
+ display: flex;
1965
+ justify-content: space-between;
1966
+ flex-wrap: wrap;
1967
+ align-items: center;
1968
+ padding-top: 30px;
1969
+ margin-right: calc(0.8rem - 20px);
1970
+ margin-left: 0.3rem;
1971
+ margin-bottom: 30px;
1972
+ }
1973
+ }
2080
1974
 
2081
- .table-view .wzImgMngInput {
2082
- border-radius: 3px;
2083
- }
1975
+ &--pexels {
1976
+ margin-top: -30px;
1977
+ }
2084
1978
 
2085
- .table-view .wzImgMngInput:active.desabled, .table-view .wzImgMngInput:focus.desabled {
2086
- border: solid transparent 1px;
1979
+ .subHeaderActions .button i {
1980
+ margin-right: 0;
1981
+ }
2087
1982
  }
2088
1983
 
2089
- .wz-img-manager .table-view .dropdown-menu {
2090
- left: -165px;
2091
- }
1984
+ @media screen and (max-width: 768px) {
1985
+ .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .images-view__scroll {
1986
+ max-height: none!important;
2092
1987
 
2093
- .grey {
2094
- color: $img-grey-color;
1988
+ .ng-scroll-content {
1989
+ margin: 0 !important;
1990
+ min-width: 100%!important;
1991
+ width: 100%!important;
1992
+ }
1993
+ }
2095
1994
  }
2096
- // Warning: in webcomponent (for wizishop-com project) the following style are added by styles-handler.js script (hard-coded)
1995
+ .img-editor__infoSection__propertySEO__tooltips {
1996
+ i {
1997
+ font-size: rem(16);
1998
+ color: $main-text;
1999
+ }
2000
+ }// Warning: in webcomponent (for wizishop-com project) the following style are added by styles-handler.js script (hard-coded)
2097
2001
  .wz-img-manager .img-selection {
2098
2002
  background-color: white;
2099
2003
  margin-left: 1.875rem;
@@ -3292,213 +3196,312 @@ $green-color: #2ecc71;
3292
3196
 
3293
3197
  .dropdownWizi:not(.is-hoverable) {
3294
3198
  cursor: not-allowed;
3295
- }.wz-img-manager .images-view {
3296
- text-align: left;
3297
-
3298
- &.fullSize {
3299
- & + .images-view__scroll {
3300
- max-height: 1160px;
3301
- }
3302
- }
3303
-
3199
+ }.wz-img-manager .img-editor {
3304
3200
  &__scroll {
3305
3201
  position: relative;
3306
3202
  height: 100%;
3307
- z-index: 1;
3308
3203
 
3309
3204
  &--full {
3310
- max-height: calc(100vh - 160px)!important;
3311
- min-height: calc(100vh - 160px) !important;
3205
+ max-height: calc(100vh - 90px)!important;
3206
+ min-height: calc(100vh - 90px) !important;
3312
3207
  }
3313
3208
 
3314
3209
  &--smallDisplay {
3315
3210
  max-height: 275px!important;
3316
3211
  }
3317
3212
 
3318
- &--smallUploadDisplay {
3319
- max-height: 230px!important;
3213
+ &--window {
3214
+ max-height: none;
3320
3215
  }
3321
3216
 
3322
- &--window {
3323
- max-height: unset!important;
3217
+ .ng-scroll-content {
3218
+ margin-left: 0 !important;
3219
+ margin-right: 0 !important;
3220
+ min-width: calc(100% - 1rem) !important;
3221
+ width: calc(100% - 1rem) !important;
3324
3222
  }
3223
+ }
3325
3224
 
3326
- &--hide {
3327
- &--mosaic {
3328
- min-height: 100px !important;
3329
- &--small {
3330
- min-height: unset !important;
3225
+ .columns {
3226
+ margin-right: 0.8rem;
3227
+ margin-left: rem(12);
3228
+ margin-top: 12px;
3229
+ margin-bottom: 0;
3230
+ width: calc(100% + 11px);
3231
+
3232
+ .column {
3233
+ padding-top: 0;
3234
+ padding-bottom: 0px;
3235
+ }
3236
+ }
3237
+
3238
+ &__head-container {
3239
+ display: flex;
3240
+ justify-content: flex-end;
3241
+ align-items: center;
3242
+ margin: 30px 30px 20px 0;
3243
+
3244
+ &__btnGroup {
3245
+ margin-right: 13px;
3246
+ opacity: 0;
3247
+ visibility: hidden;
3248
+ transition: opacity .3s ease-in-out;
3249
+
3250
+ &__visible {
3251
+ opacity: 1;
3252
+ visibility: visible;
3253
+ }
3254
+
3255
+ &__removeBtn {
3256
+ margin-right: 13px;
3257
+ }
3258
+ }
3259
+
3260
+ &__close {
3261
+ cursor: pointer;
3262
+ font-size: 14px;
3263
+ color: $img-grey-color;
3264
+ line-height: 40px;
3265
+ }
3266
+ }
3267
+
3268
+ &__container {
3269
+ padding: 0.75rem!important;
3270
+ display:flex;
3271
+ justify-content: center;
3272
+ align-items: center;
3273
+ background-color: $img-gray-background;
3274
+ margin: 0;
3275
+ transform: translateY(-16px);
3276
+
3277
+ &__toolsContainer {
3278
+ display: flex;
3279
+ justify-content: center;
3280
+ align-items: center;
3281
+ margin-bottom: 50px;
3282
+
3283
+ &__tool {
3284
+ color: $img-second-color;
3285
+ margin-right: 30px;
3286
+ text-align: center;
3287
+ cursor: pointer;
3288
+
3289
+ p {
3290
+ margin: 0!important;
3291
+ color: $img-main-text;
3292
+ font-size: rem(12);
3293
+ line-height: rem(14);
3294
+ }
3295
+
3296
+ i {
3297
+ font-size: rem(18);
3298
+ margin: 0 0 10px;
3299
+ }
3300
+
3301
+ &--button {
3302
+ background-color: $img-green-color;
3303
+ color: $img-white!important;
3304
+ padding: 10px;
3305
+ border-radius: 3px;
3306
+ transition: .3s ease;
3307
+ white-space: nowrap;
3308
+ display: flex;
3309
+ justify-content: center;
3310
+ align-items: center;
3311
+ position: absolute;
3312
+ top: 80px;
3313
+ left: 50%;
3314
+ transform: translateX(-50%);
3315
+ height: 35px;
3316
+ margin: 0;
3317
+ &:hover, &:focus {
3318
+ background-color: darken($img-green-color, 15%);
3319
+ color: $img-white!important;
3320
+ }
3321
+ p {
3322
+ color: $white!important;
3323
+ }
3324
+ i {
3325
+ margin: 0 5px 0 0;
3326
+ }
3327
+ }
3328
+ &:hover {
3329
+ color: $img-main-color;
3330
+ }
3331
+
3332
+ > * {
3333
+ -webkit-touch-callout: none; /* iOS Safari */
3334
+ -webkit-user-select: none; /* Safari */
3335
+ -khtml-user-select: none; /* Konqueror HTML */
3336
+ -moz-user-select: none; /* Old versions of Firefox */
3337
+ -ms-user-select: none; /* Internet Explorer/Edge */
3338
+ user-select: none; /* Non-prefixed version, currently
3339
+ supported by Chrome, Edge, Opera and Firefox */
3331
3340
  }
3332
3341
  }
3333
- &--table {
3334
- min-height: 170px !important;
3335
- }
3336
-
3337
- }
3338
3342
 
3339
- .ng-scroll-content {
3340
- min-width: calc(100% - 1rem) !important;
3341
- width: calc(100% - 1rem) !important;
3343
+ &__RotationDropdown {
3344
+ min-width: 16rem;
3345
+ }
3342
3346
  }
3343
- }
3344
-
3345
- &__container {
3346
- display: flex;
3347
- justify-content: space-between;
3348
- margin: 0 0 rem(20);
3349
3347
 
3350
- > div {
3351
- display: flex;
3352
- align-items: center;
3353
- .mainColor {
3354
- margin: 0;
3348
+ &__name {
3349
+ font-size: 16px;
3350
+ max-width: 50%;
3351
+ color: $img-grey-color;
3352
+ text-align: center;
3353
+ white-space: nowrap;
3354
+ overflow: hidden;
3355
+ text-overflow: ellipsis;
3355
3356
  }
3356
- }
3357
3357
 
3358
- &--window {
3359
- margin: rem(30) 0 rem(20);
3358
+ .button {
3359
+ min-height: 35px;
3360
+ background-color: $img-primary-button;
3361
+ border-color: $img-primary-button-hover;
3362
+ color: #ffffff;
3360
3363
  }
3364
+ }
3361
3365
 
3362
- &--uploadTab {
3363
- margin: 0 0 rem(20);
3364
- }
3366
+ &__image-cropper {
3367
+ --cropper-overlay-color: #f5f8fa;
3368
+ //--cropper-outline-color: #a5a5a573;
3369
+ padding-bottom: 30px;
3370
+ }
3365
3371
 
3366
- &__boxAction {
3367
- width: 525px;
3368
- overflow: visible;
3369
- display: flex;
3370
- position: relative;
3371
- justify-content: flex-end;
3372
- margin-right: 13px;
3373
- height: 40px;
3374
- align-items: center;
3375
- transform: translate(-41px,-3px);
3372
+ &__infoSection {
3373
+ font-size: 14px;
3374
+ max-width: 360px;
3375
+ padding: 0;
3376
+ margin: 0 rem(30) 0 0;
3376
3377
 
3377
- &__confirmSup {
3378
+ &__propertyEditable {
3379
+ margin-bottom: 31px;
3380
+ p {
3381
+ margin-bottom: 12px;
3382
+ font-size: 14px;
3383
+ }
3384
+ input, button {
3385
+ width: 100%;
3386
+ height: 40px;
3387
+ border: 1px solid #DEE2ED;
3388
+ border-radius: 3px;
3389
+ color: $img-main-text;
3390
+ padding-left: 20px;
3391
+ padding-right: 20px;
3378
3392
  display: flex;
3379
3393
  justify-content: space-between;
3380
- align-items: center;
3381
- border-left: solid 1px #d8d8d8;
3382
- color: $img-grey-color;
3383
- padding-left: 1rem;
3384
- width: 0;
3385
- position: absolute;
3386
- opacity: 0;
3387
- transition: 0s;
3388
- visibility: hidden;
3389
- z-index: 2;
3390
-
3391
- &--visible {
3392
- max-width: unset;
3393
- width: auto;
3394
- opacity: 1;
3395
- transition: 0s;
3396
- visibility: visible;
3394
+ font-size: 14px;
3397
3395
 
3398
- p {
3399
- transition: left .3s ease-in-out;
3400
- right: 100%;
3401
- left: auto;
3402
- white-space: nowrap;
3403
- margin-right: 30px;
3404
- }
3396
+ &:hover {
3397
+ color: $img-main-color;
3398
+ border-color: $img-main-color;
3405
3399
  }
3400
+ }
3406
3401
 
3407
- &__cancel {
3408
- margin-right: 14px;
3409
- background-color: white;
3410
- border-color: #dbdbdb;
3411
- color: $img-main-text;
3412
- }
3402
+ button {
3403
+ align-items: center;
3404
+ background-color: transparent;
3405
+ cursor: pointer;
3406
+ }
3413
3407
 
3414
- &__text {
3415
- font-size: 14px;
3416
- position: absolute;
3417
- left: -126%;
3418
- transition: font-size .3s ease-in-out, left .3s ease-in-out;
3419
- }
3408
+ &__span, &__input {
3409
+ text-overflow: ellipsis;
3410
+ overflow: hidden;
3411
+ white-space: nowrap;
3420
3412
  }
3421
3413
 
3422
- &__delBtn {
3423
- i {
3424
- margin-right: 13px!important;
3425
- }
3414
+ &__span {
3415
+ color: $img-bleu-color;
3416
+ & + i {
3417
+ color: $img-bleu-color;
3418
+ font-weight: 600;
3419
+ }
3426
3420
  }
3427
3421
 
3428
- &__import {
3429
- margin-right: 13px;
3430
- i {
3431
- margin-right: 13px!important;
3432
- }
3422
+ &__tooltips {
3423
+ margin-left: 10px;
3433
3424
  }
3434
3425
  }
3435
3426
 
3436
- &__buttonBox {
3437
- margin: 0;
3438
- width: rem(40);
3439
- height: rem(40);
3440
- border: solid $img-light-white-color;
3441
- border-width: 1px 0 1px 1px;
3427
+ &__property {
3428
+ &:nth-child(3), &:nth-child(4) {
3429
+ margin: 0;
3430
+ }
3431
+ p {
3432
+ font-size: 14px;
3433
+ display: inline-block;
3434
+ }
3442
3435
 
3443
- border-radius: 3px 0 0 3px;
3444
- outline: none!important;
3436
+ .mainColor {
3437
+ margin: 0!important;
3438
+ }
3445
3439
 
3446
- > div {
3447
- margin-top: 0;
3448
- margin-bottom: 0;
3449
- height: 40px;
3450
- &:nth-child(2) {
3451
- border: solid $img-light-white-color;
3452
- border-width: 1px 1px 1px 0;
3453
- transform: translateY(-1px);
3454
- border-radius: 0 3px 3px 0;
3455
- }
3456
- div {
3457
- height: 38px;
3458
- margin: 0!important;
3459
- }
3440
+ p:last-child {
3441
+ margin: 0 0 0 10px;
3442
+ color: #526384;
3460
3443
  }
3444
+ }
3461
3445
 
3462
- .actifDisplayed {
3463
- color:$img-main-color;
3464
- }
3446
+ &__titleSEO {
3447
+ margin: 0 0 20px;
3465
3448
 
3466
- i {
3449
+ .mainColor {
3450
+ font-size: rem(18);
3451
+ font-weight: 500;
3452
+ }
3453
+ }
3454
+
3455
+ &__propertySEO {
3456
+ margin-bottom: 12px;
3457
+ p {
3458
+ font-size: 14px;
3459
+ display: inline-block;
3467
3460
  margin: 0;
3468
3461
  }
3462
+
3463
+ .mainColor {
3464
+ & ~ p {
3465
+ margin-left: 10px;
3466
+ color: $img-green-color;
3467
+ }
3468
+ }
3469
3469
  }
3470
3470
 
3471
- &__cards {
3472
- display: flex;
3473
- justify-content: space-between;
3474
- flex-wrap: wrap;
3475
- align-items: center;
3476
- padding-top: 30px;
3477
- margin-right: calc(0.8rem - 20px);
3478
- margin-left: 0.3rem;
3479
- margin-bottom: 30px;
3471
+ &__divider {
3472
+ display: block;
3473
+ width: 100%;
3474
+ border-bottom: 2px dashed #EFF1F6;
3475
+ margin: 30px 0;
3480
3476
  }
3481
- }
3482
3477
 
3483
- &--pexels {
3484
- margin-top: -30px;
3478
+ &__actions {
3479
+ height: 35px;
3480
+
3481
+ &__cancel {
3482
+ margin-right: 19px;
3483
+ background-color: white;
3484
+ border-color: #dbdbdb;
3485
+ color: $img-main-text;
3486
+ }
3487
+
3488
+ &__save {
3489
+ padding: 8px 18px;
3490
+ margin: 0!important;
3491
+ &--disable {
3492
+ cursor: not-allowed;
3493
+ }
3494
+ }
3495
+ }
3485
3496
  }
3486
3497
 
3487
- .subHeaderActions .button i {
3488
- margin-right: 0;
3498
+ .dropdown-menu {
3499
+ left: -50%;
3489
3500
  }
3490
3501
  }
3491
3502
 
3492
- @media screen and (max-width: 768px) {
3493
- .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .images-view__scroll {
3494
- max-height: none!important;
3495
-
3496
- .ng-scroll-content {
3497
- margin: 0 !important;
3498
- min-width: 100%!important;
3499
- width: 100%!important;
3500
- }
3501
- }
3503
+ .wz-img-manager .marginBottom {
3504
+ margin-bottom: 20px;
3502
3505
  }
3503
3506
  //.wz-img-manager useful to keep the css priority
3504
3507
  .wz-img-manager .upload-list {