@wizishop/img-manager 0.2.38 → 0.2.42

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 (37) hide show
  1. package/assets/i18n/fr.json +1 -1
  2. package/bundles/wizishop-img-manager.umd.js +55 -46
  3. package/bundles/wizishop-img-manager.umd.js.map +1 -1
  4. package/bundles/wizishop-img-manager.umd.min.js +1 -1
  5. package/bundles/wizishop-img-manager.umd.min.js.map +1 -1
  6. package/esm2015/lib/components/canva-btn/canva-btn.component.js +2 -2
  7. package/esm2015/lib/components/images-view/images-actions-handler.js +28 -12
  8. package/esm2015/lib/components/images-view/mosaic-view/img-card/img-card.component.js +9 -6
  9. package/esm2015/lib/components/images-view/mosaic-view/mosaic-view.component.js +9 -6
  10. package/esm2015/lib/components/images-view/table-view/table-view.component.js +9 -6
  11. package/esm2015/lib/components/img-tabs/img-tabs.component.js +2 -17
  12. package/esm2015/lib/components/pexels-lib/pexels-lib.component.js +4 -1
  13. package/esm2015/lib/components/shared/pagination/pagination.component.js +2 -2
  14. package/esm2015/lib/wz-img-manager.component.js +3 -3
  15. package/esm5/lib/components/canva-btn/canva-btn.component.js +2 -2
  16. package/esm5/lib/components/images-view/images-actions-handler.js +28 -12
  17. package/esm5/lib/components/images-view/mosaic-view/img-card/img-card.component.js +9 -6
  18. package/esm5/lib/components/images-view/mosaic-view/mosaic-view.component.js +9 -6
  19. package/esm5/lib/components/images-view/table-view/table-view.component.js +9 -6
  20. package/esm5/lib/components/img-tabs/img-tabs.component.js +2 -17
  21. package/esm5/lib/components/pexels-lib/pexels-lib.component.js +4 -1
  22. package/esm5/lib/components/shared/pagination/pagination.component.js +2 -2
  23. package/esm5/lib/wz-img-manager.component.js +3 -3
  24. package/fesm2015/wizishop-img-manager.js +56 -47
  25. package/fesm2015/wizishop-img-manager.js.map +1 -1
  26. package/fesm5/wizishop-img-manager.js +56 -47
  27. package/fesm5/wizishop-img-manager.js.map +1 -1
  28. package/lib/components/images-view/images-actions-handler.d.ts +4 -1
  29. package/lib/components/images-view/mosaic-view/img-card/img-card.component.d.ts +2 -1
  30. package/lib/components/images-view/mosaic-view/mosaic-view.component.d.ts +2 -1
  31. package/lib/components/images-view/table-view/table-view.component.d.ts +2 -1
  32. package/lib/components/img-tabs/img-tabs.component.d.ts +0 -16
  33. package/package.json +1 -1
  34. package/wizishop-img-manager-0.2.42.tgz +0 -0
  35. package/wizishop-img-manager.metadata.json +1 -1
  36. package/wz-img-manager.scss +297 -211
  37. package/wizishop-img-manager-0.2.38.tgz +0 -0
@@ -738,6 +738,10 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
738
738
  min-height: 145px;
739
739
  }
740
740
 
741
+ .wz-img-manager .canva .smallScroll {
742
+ min-height: 238px;
743
+ }
744
+
741
745
  .wz-img-manager .dropDownShadow {
742
746
  background-color: white;
743
747
  border-radius: 4px;
@@ -780,18 +784,21 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
780
784
  display: none;
781
785
  }
782
786
  }
787
+
788
+ .wz-img-manager .wz-img-manager__module:not(.wz-img-manager__module--window) .img-tabs__tabsThird > .column {
789
+ padding: 0;
790
+ }
791
+
792
+ .wz-img-manager .wz-img-manager__module:not(.wz-img-manager__module--window) .pexels-lib__scroll .ng-scroll-content {
793
+ padding-right: 20px;
794
+ }
795
+
796
+ .tabs--notWindow ul {
797
+ transform: translateY(5px);
798
+ }
783
799
  .img-upload {
784
800
  position: relative;
785
- background-position: 0 0, 0 0, 100% 0, 0 100%;
786
- background-size: 1px 100%, 100% 1px, 1px 100% , 100% 1px;
787
- background-repeat: no-repeat;
788
- background-image:
789
- repeating-linear-gradient(0deg, $border-upload-color, $border-upload-color 10px, transparent 10px, transparent 20px), // left
790
- repeating-linear-gradient(90deg, $border-upload-color, $border-upload-color 10px, transparent 10px, transparent 20px), // top
791
- repeating-linear-gradient(180deg, $border-upload-color, $border-upload-color 10px, transparent 10px, transparent 20px), // right
792
- repeating-linear-gradient(270deg, $border-upload-color, $border-upload-color 10px, transparent 10px, transparent 20px) // bottom
793
- ;
794
- border-image: repeating-linear-gradient(0deg, $border-upload-color, $border-upload-color 10px, transparent 10px, transparent 20px);
801
+ 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");
795
802
  border-radius: 3px;
796
803
  &:before {
797
804
  content: '';
@@ -848,6 +855,7 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
848
855
  display: block;
849
856
  max-width: rem(65);
850
857
  margin: 0 auto rem(15);
858
+ transform: translate(10px);
851
859
  }
852
860
  p {
853
861
  color: $border-upload-color;
@@ -1042,6 +1050,9 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
1042
1050
  width: 100%;
1043
1051
  display: flex;
1044
1052
  flex-wrap: wrap;
1053
+ &--padding {
1054
+ padding-right: 20px;
1055
+ }
1045
1056
  }
1046
1057
  }
1047
1058
  }
@@ -1090,6 +1101,39 @@ $card-img-size-small: 140px;
1090
1101
  }
1091
1102
  }
1092
1103
 
1104
+ &__valid {
1105
+ display: flex;
1106
+ position: absolute;
1107
+ top: 100%;
1108
+ left: 50%;
1109
+ transform: translate(-50%,0);
1110
+ justify-content: center;
1111
+ align-items: center;
1112
+ width: auto;
1113
+ background-color: $img-green-color;
1114
+ border-radius: 3px;
1115
+ padding: 5px;
1116
+ transition: .3s ease;
1117
+ i {
1118
+ font-size: rem(10);
1119
+ color: $white;
1120
+ margin: 0 5px 0 0;
1121
+ }
1122
+ span {
1123
+ color: $white;
1124
+ font-weight: 500;
1125
+ font-size: rem(10);
1126
+ }
1127
+ }
1128
+
1129
+ &:hover, &:focus {
1130
+ .img-card__container {
1131
+ &__valid {
1132
+ transform: translate(-50%, -40px);
1133
+ }
1134
+ }
1135
+ }
1136
+
1093
1137
  &__img {
1094
1138
  width: auto!important;
1095
1139
  height: auto!important;
@@ -1333,6 +1377,7 @@ $card-img-size-small: 140px;
1333
1377
  }
1334
1378
 
1335
1379
  &__container {
1380
+ border-color: $wizishop-blue;
1336
1381
  &__img {
1337
1382
  transform: scale(1.02) translate(-50%,-50%);
1338
1383
  }
@@ -1370,10 +1415,6 @@ $card-img-size-small: 140px;
1370
1415
  .wz-img-manager .addCssPriority .smallNameDisplay .img-card__nameContainer__name {
1371
1416
  width: $card-img-size-small;
1372
1417
  }
1373
-
1374
- .addCssPriority:not(.fullSize) {
1375
-
1376
- }
1377
1418
  //.wz-img-manager useful to keep the css priority
1378
1419
  .wz-img-manager .table-view {
1379
1420
 
@@ -1449,7 +1490,7 @@ $card-img-size-small: 140px;
1449
1490
  white-space: nowrap;
1450
1491
  overflow: hidden;
1451
1492
  text-overflow: ellipsis;
1452
- color: $img-grey-color;
1493
+ color: $main-text;
1453
1494
  font-size: 14px;
1454
1495
  cursor: initial;
1455
1496
  }
@@ -1486,6 +1527,10 @@ $card-img-size-small: 140px;
1486
1527
  width: 5rem;
1487
1528
  }
1488
1529
 
1530
+ .table-view .wzImgMngInput {
1531
+ border-radius: 3px;
1532
+ }
1533
+
1489
1534
  .table-view .wzImgMngInput:active.desabled, .table-view .wzImgMngInput:focus.desabled {
1490
1535
  border: solid transparent 1px;
1491
1536
  }
@@ -1493,29 +1538,144 @@ $card-img-size-small: 140px;
1493
1538
  .wz-img-manager .table-view .dropdown-menu {
1494
1539
  left: -165px;
1495
1540
  }
1496
- $green: $really-bad-bad-bad-green !default;
1497
- $primary: $primary-button !default;
1498
- $light: $img-placeholder !default;
1499
- $info: $wizishop-blue !default;
1500
- $danger: $img-red-color !default;
1501
- $dark: $img-dark !default;
1502
1541
 
1503
- $button-padding-vertical: rem(7) !default;
1504
- $radius: rem(3) !default;
1542
+ .grey {
1543
+ color: $img-grey-color;
1544
+ }
1545
+ .wz-img-manager {
1505
1546
 
1506
- $button-color: white!default;
1507
- $button-hover-color: white !default;
1508
- $button-focus-color: white !default;
1509
- $button-active-color: white !default;
1510
- $button-background-color: $primary !default;
1511
- $button-disabled-background-color: $primary !default;
1512
- $button-border-color: $primary-button-hover !default;
1513
- $button-hover-border-color: $primary-button-hover !default;
1514
- $button-active-border-color: $primary-button-hover !default;
1515
- $button-focus-border-color: $primary-button-hover !default;
1516
- $button-disabled-border-color: $primary-button-hover !default;
1547
+ &__selectionHandler {
1548
+ margin-top: -50px;
1549
+ }
1517
1550
 
1518
- $tag-radius: rem(20px)!default;
1551
+ &__module {
1552
+ position: fixed;
1553
+ bottom: 0;
1554
+ left: 0;
1555
+ width: 100%;
1556
+ height: 0;
1557
+ transition: height .3s ease;
1558
+ z-index: 2147483647; // snackbar 10
1559
+ transform: translateZ(0);
1560
+
1561
+ &:before {
1562
+ content: '';
1563
+ display: block;
1564
+ position: absolute;
1565
+ top: 0;
1566
+ left: 0;
1567
+ width: 100%;
1568
+ height: 3px;
1569
+ background-color: $img-main-color;
1570
+ }
1571
+
1572
+ &--closed {
1573
+ height: 0;
1574
+ }
1575
+
1576
+ // .wz-img-manager__module--small
1577
+ &--small {
1578
+ height: 320px;
1579
+ }
1580
+
1581
+ // .wz-img-manager__module--full
1582
+ &--full {
1583
+ height: calc(100vh - 50px);
1584
+ }
1585
+
1586
+ // .wz-img-manager__module--window
1587
+ &--window {
1588
+ position: relative;
1589
+ width: auto;
1590
+ bottom: unset;
1591
+ left: unset;
1592
+ z-index: 29!important;
1593
+ height: auto!important;
1594
+ padding-bottom: 6.25rem;
1595
+
1596
+ &:before {
1597
+ content: none;
1598
+ height: 0px;
1599
+ }
1600
+
1601
+ // .wz-img-manager__module--edit
1602
+ &--edit {
1603
+ .wrapper-tabs {
1604
+ display: none;
1605
+ }
1606
+ }
1607
+ }
1608
+
1609
+ // .wz-img-manager__module__header
1610
+ &__header {
1611
+ position: absolute;
1612
+ bottom: 100%;
1613
+ right: 30px;
1614
+ width: 101px;
1615
+
1616
+ // .wz-img-manager__module__header button
1617
+ button {
1618
+ width: 45px;
1619
+ height: 35px;
1620
+ background-color: $img-main-color;
1621
+ transition: background-color .3s ease;
1622
+ border: none;
1623
+ box-shadow: none;
1624
+ cursor: pointer;
1625
+ outline: none!important;
1626
+
1627
+ span {
1628
+ display: none;
1629
+ }
1630
+
1631
+ i {
1632
+ color: #fff;
1633
+ font-size: 20px;
1634
+ }
1635
+
1636
+ &:hover, &:focus {
1637
+ background-color: darken($img-main-color, 15%);
1638
+ }
1639
+
1640
+ // .wz-img-manager__module__header button:first-child
1641
+ &:first-child {
1642
+ border-radius: 3px 0 0 0;
1643
+ }
1644
+
1645
+ // .wz-img-manager__module__header button:last-child
1646
+ &:last-child {
1647
+ margin: 0 0 0 1px;
1648
+ border-radius: 0 3px 0 0;
1649
+ }
1650
+ }
1651
+ }
1652
+ }
1653
+ }
1654
+
1655
+ .wz-img-manager__module .wz-block {
1656
+ background-color: #fff;
1657
+ box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
1658
+ padding: 0 0.575rem 0 1.075rem;
1659
+
1660
+ &--window {
1661
+ padding: rem(30);
1662
+ overflow: hidden;
1663
+ max-width: 1450px;
1664
+ margin: 0 auto;
1665
+ }
1666
+ }
1667
+
1668
+ .wz-img-manager__module .wz-block:hover {
1669
+ box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.2);
1670
+ }
1671
+
1672
+ .nwb-snack-bar .notification {
1673
+ z-index: 10002!important;
1674
+ }
1675
+
1676
+ .nwb-snack-bar .column {
1677
+ box-sizing: border-box;
1678
+ }
1519
1679
  image-cropper {
1520
1680
  max-height: 60vh;
1521
1681
  }.wz-img-manager .images-view {
@@ -1598,6 +1758,7 @@ image-cropper {
1598
1758
  margin-right: 13px;
1599
1759
  height: 40px;
1600
1760
  align-items: center;
1761
+ transform: translate(-41px,-3px);
1601
1762
 
1602
1763
  &__confirmSup {
1603
1764
  display: flex;
@@ -1611,14 +1772,14 @@ image-cropper {
1611
1772
  opacity: 0;
1612
1773
  transition: width .3s ease, opacity .3s ease-in-out;
1613
1774
  visibility: hidden;
1775
+ z-index: 2;
1614
1776
 
1615
1777
  &--visible {
1616
1778
  max-width: unset;
1617
1779
  width: auto;
1618
1780
  opacity: 1;
1619
- transition: width .3s ease, opacity .3s ease-in-out;
1620
- transition-delay: 250ms;
1621
- visibility: initial;
1781
+ transition: width .3s ease .05s, opacity .3s ease-in-out .05s, visibility 0s linear 0s;
1782
+ visibility: visible;
1622
1783
 
1623
1784
  p {
1624
1785
  transition: left .3s ease-in-out;
@@ -1659,8 +1820,10 @@ image-cropper {
1659
1820
  margin: 0;
1660
1821
  width: rem(40);
1661
1822
  height: rem(40);
1662
- border: 1px solid $img-light-white-color;
1663
- border-radius: 3px;
1823
+ border: solid $img-light-white-color;
1824
+ border-width: 1px 0 1px 1px;
1825
+
1826
+ border-radius: 3px 0 0 3px;
1664
1827
  outline: none!important;
1665
1828
 
1666
1829
  p {
@@ -1668,7 +1831,8 @@ image-cropper {
1668
1831
  margin-bottom: 0;
1669
1832
  height: 40px;
1670
1833
  &:nth-child(2) {
1671
- border: 1px solid $img-input-border;
1834
+ border: solid $img-light-white-color;
1835
+ border-width: 1px 1px 1px 0;
1672
1836
  transform: translateY(-1px);
1673
1837
  border-radius: 0 3px 3px 0;
1674
1838
  }
@@ -1893,140 +2057,29 @@ $green-color: #2ecc71;
1893
2057
  line-height: rem(25);
1894
2058
  }
1895
2059
  }
1896
- .wz-img-manager {
1897
-
1898
- &__selectionHandler {
1899
- margin-top: -50px;
1900
- }
1901
-
1902
- &__module {
1903
- position: fixed;
1904
- bottom: 0;
1905
- left: 0;
1906
- width: 100%;
1907
- height: 0;
1908
- transition: height .3s ease;
1909
- z-index: 2147483647; // snackbar 10
1910
- transform: translateZ(0);
1911
-
1912
- &:before {
1913
- content: '';
1914
- display: block;
1915
- position: absolute;
1916
- top: 0;
1917
- left: 0;
1918
- width: 100%;
1919
- height: 3px;
1920
- background-color: $img-main-color;
1921
- }
1922
-
1923
- &--closed {
1924
- height: 0;
1925
- }
1926
-
1927
- // .wz-img-manager__module--small
1928
- &--small {
1929
- height: 320px;
1930
- }
1931
-
1932
- // .wz-img-manager__module--full
1933
- &--full {
1934
- height: calc(100vh - 40px);
1935
- }
1936
-
1937
- // .wz-img-manager__module--window
1938
- &--window {
1939
- position: relative;
1940
- width: auto;
1941
- bottom: unset;
1942
- left: unset;
1943
- z-index: 29!important;
1944
- height: auto!important;
1945
- padding-bottom: 6.25rem;
1946
-
1947
- &:before {
1948
- content: none;
1949
- height: 0px;
1950
- }
1951
-
1952
- // .wz-img-manager__module--edit
1953
- &--edit {
1954
- .wrapper-tabs {
1955
- display: none;
1956
- }
1957
- }
1958
- }
1959
-
1960
- // .wz-img-manager__module__header
1961
- &__header {
1962
- position: absolute;
1963
- bottom: 100%;
1964
- right: 30px;
1965
- width: 101px;
1966
-
1967
- // .wz-img-manager__module__header button
1968
- button {
1969
- width: 50px;
1970
- height: 40px;
1971
- background-color: $img-main-color;
1972
- transition: background-color .3s ease;
1973
- border: none;
1974
- box-shadow: none;
1975
- cursor: pointer;
1976
- outline: none!important;
1977
-
1978
- span {
1979
- display: none;
1980
- }
1981
-
1982
- i {
1983
- color: #fff;
1984
- font-size: 20px;
1985
- }
1986
-
1987
- &:hover, &:focus {
1988
- background-color: darken($img-main-color, 15%);
1989
- }
1990
-
1991
- // .wz-img-manager__module__header button:first-child
1992
- &:first-child {
1993
- border-radius: 3px 0 0 0;
1994
- }
1995
-
1996
- // .wz-img-manager__module__header button:last-child
1997
- &:last-child {
1998
- margin: 0 0 0 1px;
1999
- border-radius: 0 3px 0 0;
2000
- }
2001
- }
2002
- }
2003
- }
2004
- }
2005
-
2006
- .wz-img-manager__module .wz-block {
2007
- background-color: #fff;
2008
- box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
2009
- padding: 0 0.575rem 0 1.075rem;
2010
-
2011
- &--window {
2012
- padding: rem(30);
2013
- overflow: hidden;
2014
- max-width: 1450px;
2015
- margin: 0 auto;
2016
- }
2017
- }
2060
+ $green: $really-bad-bad-bad-green !default;
2061
+ $primary: $primary-button !default;
2062
+ $light: $img-placeholder !default;
2063
+ $info: $wizishop-blue !default;
2064
+ $danger: $img-red-color !default;
2065
+ $dark: $img-dark !default;
2018
2066
 
2019
- .wz-img-manager__module .wz-block:hover {
2020
- box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.2);
2021
- }
2067
+ $button-padding-vertical: rem(7) !default;
2068
+ $radius: rem(3) !default;
2022
2069
 
2023
- .nwb-snack-bar .notification {
2024
- z-index: 10002!important;
2025
- }
2070
+ $button-color: white!default;
2071
+ $button-hover-color: white !default;
2072
+ $button-focus-color: white !default;
2073
+ $button-active-color: white !default;
2074
+ $button-background-color: $primary !default;
2075
+ $button-disabled-background-color: $primary !default;
2076
+ $button-border-color: $primary-button-hover !default;
2077
+ $button-hover-border-color: $primary-button-hover !default;
2078
+ $button-active-border-color: $primary-button-hover !default;
2079
+ $button-focus-border-color: $primary-button-hover !default;
2080
+ $button-disabled-border-color: $primary-button-hover !default;
2026
2081
 
2027
- .nwb-snack-bar .column {
2028
- box-sizing: border-box;
2029
- }
2082
+ $tag-radius: rem(20px)!default;
2030
2083
  .wz-img-manager .is-checkradio[type='checkbox'] {
2031
2084
  outline: 0 !important;
2032
2085
  & + label {
@@ -2149,21 +2202,10 @@ $green-color: #2ecc71;
2149
2202
  &--smallDisplay {
2150
2203
  max-height: 275px!important;
2151
2204
  }
2152
-
2153
- .ng-scroll-content {
2154
- margin-left: 0.5rem !important;
2155
- margin-right: 0.5rem !important;
2156
- min-width: calc(100% - 1rem) !important;
2157
- width: calc(100% - 1rem) !important;
2158
- min-height: 100vh !important;
2159
- }
2160
2205
  }
2161
2206
 
2162
2207
  &__search {
2163
- margin-right: 0.8rem;
2164
- margin-left: 0.3rem;
2165
- margin-bottom: 30px;
2166
- margin-top: 30px;
2208
+ margin: 30px 0;
2167
2209
 
2168
2210
  &--smallDisplay {
2169
2211
  margin-top: 10px;
@@ -2172,23 +2214,20 @@ $green-color: #2ecc71;
2172
2214
 
2173
2215
  // .pexels-lib__wrapper
2174
2216
  &__wrapper {
2175
- margin-right: 0.8rem;
2176
- margin-left: 0.3rem;
2177
- margin-bottom: 30px;
2178
- margin-top: 30px;
2217
+ margin: 30px 0;
2179
2218
 
2180
2219
  // .pexels-lib__wrapper__result
2181
2220
  &__result {
2182
- width: calc(100% + 20px);
2221
+ width: calc(100% + 10px);
2183
2222
  display: flex;
2184
2223
  flex-direction: row;
2185
2224
  justify-content: space-between;
2186
- margin-left: -10px;
2225
+ margin-left: -5px;
2187
2226
 
2188
2227
  // .pexels-lib__wrapper__result__column
2189
2228
  &__column {
2190
2229
  flex: 1;
2191
- margin: 0 10px;
2230
+ margin: 0 5px;
2192
2231
 
2193
2232
  // .pexels-lib__wrapper__result__column__element
2194
2233
  &__element {
@@ -2206,7 +2245,7 @@ $green-color: #2ecc71;
2206
2245
 
2207
2246
  // .pexels-lib__wrapper__result__column__element:not(:last-child)
2208
2247
  &:not(:last-child) {
2209
- margin-bottom: 20px;
2248
+ margin-bottom: 10px;
2210
2249
  }
2211
2250
 
2212
2251
  // .pexels-lib__wrapper__result__column__element__img
@@ -2222,9 +2261,9 @@ $green-color: #2ecc71;
2222
2261
  position: absolute;
2223
2262
  display: flex;
2224
2263
  justify-content: space-between;
2225
- width: calc(100% - 20px);
2226
- bottom: 10px;
2227
- left: 10px;
2264
+ width: calc(100% - 10px);
2265
+ bottom: 5px;
2266
+ left: 5px;
2228
2267
  opacity: 0;
2229
2268
  transition: opacity .3s ease-in-out;
2230
2269
  align-items: flex-end;
@@ -2334,14 +2373,19 @@ $green-color: #2ecc71;
2334
2373
  background-color: #fafafa;
2335
2374
  cursor: pointer;
2336
2375
  }
2337
- }//.wz-img-manager useful to keep the css priority
2376
+ }
2377
+ //.wz-img-manager useful to keep the css priority
2338
2378
  .wz-img-manager .canva-btn {
2339
2379
  background-color: $img-main-color;
2340
- border: none;
2380
+ border: 2px solid $img-main-color;
2341
2381
  padding: 0;
2342
2382
  height: fit-content;
2343
2383
  color: white;
2344
2384
  padding-left: rem(9);
2385
+ transition: .3s ease;
2386
+ &:hover, &:focus {
2387
+ border-color: darken($img-main-color, 15%);
2388
+ }
2345
2389
  > span {
2346
2390
  &:first-child {
2347
2391
  z-index: 2;
@@ -2360,6 +2404,18 @@ $green-color: #2ecc71;
2360
2404
  }
2361
2405
 
2362
2406
  .wz-img-manager .canva.dropdown {
2407
+ .dropdown-menu {
2408
+ margin-top: 10px!important;
2409
+ &:before {
2410
+ content: '';
2411
+ display: block;
2412
+ position: absolute;
2413
+ bottom: 100%;
2414
+ left: 0;
2415
+ width: 100%;
2416
+ height: 10px;
2417
+ }
2418
+ }
2363
2419
 
2364
2420
  .dropdown-menu:hover {
2365
2421
  display: block;
@@ -2388,19 +2444,25 @@ $green-color: #2ecc71;
2388
2444
  display: flex;
2389
2445
  justify-content: space-between;
2390
2446
  align-items: center;
2447
+ padding: 12px 20px;
2448
+ margin: 0 0 5px;
2449
+ &:last-child {
2450
+ margin: 0;
2451
+ }
2391
2452
 
2392
2453
  p {
2393
2454
  margin: 0;
2455
+ line-height: rem(16);
2394
2456
  }
2395
2457
 
2396
2458
  p:first-child {
2397
2459
  color: #1D2A3B;
2398
- font-size: 16px;
2460
+ font-size: rem(14);
2399
2461
  }
2400
2462
 
2401
2463
  p:last-child {
2402
2464
  color: #526384;
2403
- font-size: 14px;
2465
+ font-size: rem(14);
2404
2466
  }
2405
2467
  }
2406
2468
 
@@ -2417,24 +2479,27 @@ $green-color: #2ecc71;
2417
2479
  .dropdownTitle {
2418
2480
  font-size: 14px;
2419
2481
  background-color: $img-main-color;
2420
- padding: 0.8rem 0;
2482
+ padding: rem(9.5) 0;
2421
2483
  text-align: center;
2422
2484
 
2423
2485
  p {
2424
2486
  font-size: 14px;
2425
2487
  color: white;
2426
2488
  margin: 0;
2489
+ font-weight: 500;
2427
2490
  }
2428
2491
  }
2429
2492
 
2430
2493
  .infoItem {
2431
- padding: 12px 1rem;
2494
+ padding: 18px 20px 11px 20px;
2432
2495
  line-height: 1.5;
2433
2496
  font-weight: 500;
2434
2497
 
2435
2498
  p {
2436
2499
  margin: 0;
2437
- font-size: 14px;
2500
+ font-size: rem(16);
2501
+ line-height: rem(19);
2502
+ font-weight: 500;
2438
2503
  }
2439
2504
  }
2440
2505
 
@@ -2456,8 +2521,8 @@ $green-color: #2ecc71;
2456
2521
  @include flexbox();
2457
2522
  @include flex-flow(row nowrap);
2458
2523
  width: 100%;
2459
- border-top: 1px solid $border-form;
2460
- border-bottom: 1px solid $border-form;
2524
+ border-top: 1px solid $textarea-border-color;
2525
+ border-bottom: 1px solid $textarea-border-color;
2461
2526
  background-color: $gray-background;
2462
2527
 
2463
2528
  &__cell {
@@ -2473,6 +2538,9 @@ $green-color: #2ecc71;
2473
2538
  @include flex(none);
2474
2539
  width: 80px;
2475
2540
  padding: 10px 20px 6px 20px;
2541
+ > * {
2542
+ transform: translateX(15px);
2543
+ }
2476
2544
  }
2477
2545
 
2478
2546
  &__search {
@@ -2593,12 +2661,12 @@ $green-color: #2ecc71;
2593
2661
  }
2594
2662
  .wz-img-manager .wz-pagination {
2595
2663
  width: 100%;
2596
- padding: 0 0 30px;
2664
+ padding: 0;
2597
2665
 
2598
2666
  &__wrapper {
2599
2667
  @include flexbox();
2600
2668
  @include justify-content(flex-end);
2601
- padding: 30px 17px 30px 0;
2669
+ padding: 0 17px 0 0;
2602
2670
 
2603
2671
  &__page {
2604
2672
  margin-right: 30px;
@@ -2614,11 +2682,11 @@ $green-color: #2ecc71;
2614
2682
  }
2615
2683
 
2616
2684
  select {
2617
- width: 80px;
2685
+ width: 50px;
2618
2686
  font-size: 14px;
2619
2687
  line-height: 24px;
2620
2688
  color: $second-color;
2621
- padding: 3px 26px 3px 25px;
2689
+ padding: 3px 26px 3px 15px;
2622
2690
  border: 1px solid $border-form;
2623
2691
  border-radius: 3px;
2624
2692
  -webkit-appearance: none;
@@ -2737,6 +2805,11 @@ $green-color: #2ecc71;
2737
2805
  height: rem(18);
2738
2806
  }
2739
2807
  }
2808
+
2809
+ .wz-img-manager .wz-img-manager__module:not(.wz-img-manager__module--window) .pexels-lib__search .input-search.field {
2810
+ padding: 0;
2811
+ background-color: transparent;
2812
+ }
2740
2813
  .wz-img-manager .dropdownWizi {
2741
2814
  padding: 10px;
2742
2815
 
@@ -2959,6 +3032,16 @@ $green-color: #2ecc71;
2959
3032
  padding: 10px;
2960
3033
  border-radius: 3px;
2961
3034
  transition: .3s ease;
3035
+ white-space: nowrap;
3036
+ display: flex;
3037
+ justify-content: center;
3038
+ align-items: center;
3039
+ position: absolute;
3040
+ top: 80px;
3041
+ left: 50%;
3042
+ transform: translateX(-50%);
3043
+ height: 35px;
3044
+ margin: 0;
2962
3045
  &:hover, &:focus {
2963
3046
  background-color: darken($img-green-color, 15%);
2964
3047
  color: $img-white!important;
@@ -2966,6 +3049,9 @@ $green-color: #2ecc71;
2966
3049
  p {
2967
3050
  color: $white!important;
2968
3051
  }
3052
+ i {
3053
+ margin: 0 5px 0 0;
3054
+ }
2969
3055
  }
2970
3056
  &:hover {
2971
3057
  color: $img-main-color;
@@ -3057,6 +3143,7 @@ $green-color: #2ecc71;
3057
3143
  color: $img-bleu-color;
3058
3144
  & + i {
3059
3145
  color: $img-bleu-color;
3146
+ font-weight: 600;
3060
3147
  }
3061
3148
  }
3062
3149
  }
@@ -3378,8 +3465,7 @@ $green-color: #2ecc71;
3378
3465
  overflow: visible!important;
3379
3466
 
3380
3467
  &--notWindow {
3381
- background-color: transparentize($img-main-color, .9);
3382
- padding: rem(15) rem(30) rem(10);
3468
+ padding: rem(20) rem(30) rem(20);
3383
3469
  margin-left: -1.075rem;
3384
3470
  margin-right: -0.575rem;
3385
3471
  margin-bottom: rem(20);
@@ -3408,7 +3494,7 @@ $green-color: #2ecc71;
3408
3494
  display: block;
3409
3495
  position: absolute;
3410
3496
  width: 100%;
3411
- height: 3px;
3497
+ height: 2px;
3412
3498
  background-color: $img-main-color;
3413
3499
  bottom: 0;
3414
3500
  left: 0;