@wizishop/img-manager 0.2.42 → 0.2.46

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.
@@ -796,6 +796,155 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
796
796
  .tabs--notWindow ul {
797
797
  transform: translateY(5px);
798
798
  }
799
+
800
+ .wz-img-manager__module .wz-block--window {
801
+ overflow: visible;
802
+ .img-editor__scroll {
803
+ .ng-scroll-viewport {
804
+ contain: unset;
805
+ &-wrapper {
806
+ overflow: visible;
807
+ }
808
+ }
809
+ }
810
+ .img-editor__infoSection {
811
+ &__divider {
812
+ &:not(:nth-child(5)) {
813
+ display: none;
814
+ }
815
+ }
816
+ &__actions {
817
+ position: absolute;
818
+ top: -86px;
819
+ right: -36px;
820
+ }
821
+ }
822
+ }
823
+ .images-view__container__buttonBox {
824
+ p {
825
+ height: 42px;
826
+ }
827
+ transform: translateY(-2px) translateX(-40px);
828
+ height: 42px;
829
+ button {
830
+ padding: 9.5px 17px !important;
831
+ }
832
+ }
833
+
834
+ .wz-img-manager__module__content.wz-block:not(.wz-block--window) {
835
+ .images-view__container__buttonBox {
836
+ transform: translateY(-2px) translateX(-60px);
837
+ }
838
+ }
839
+ .img-editor__container__toolsContainer__tool {
840
+ p {
841
+ margin: 0 !important;
842
+ }
843
+ }
844
+ .images-view__scroll {
845
+ .ng-scroll-content {
846
+ width: 100% !important;
847
+ }
848
+ }
849
+ .wz-img-manager .img-editor__infoSection__propertyEditable__span {
850
+ color: $wizishop-blue;
851
+ & + i {
852
+ color: $wizishop-blue;
853
+ }
854
+ }
855
+
856
+ .wz-img-manager .small .wz-pagination__wrapper {
857
+ margin: 0 0 rem(50);
858
+ }
859
+
860
+ .wz-block--window {
861
+ .img-tabs__tabsThird {
862
+ .ng-scroll-content {
863
+ padding-right: 20px!important;
864
+ }
865
+ }
866
+ }
867
+
868
+ .wz-table__body + wz-pagination .wz-pagination {
869
+ margin-top: 30px;
870
+ }
871
+
872
+ .wz-img-manager__module--full, .wz-img-manager__module--small {
873
+ .mosaic {
874
+ &__pagination {
875
+ margin-bottom: 0;
876
+ transform: translateX(-20px);
877
+ }
878
+ }
879
+ }
880
+
881
+ .wz-img-manager__module--full {
882
+ .images-view__container__buttonBox {
883
+ transform: translateX(-20px);
884
+ > .mainColor {
885
+ transform: translateX(20px);
886
+ }
887
+ }
888
+ &.wz-img-manager__module--edit {
889
+ .img-editor__container {
890
+ align-items: flex-start;
891
+ }
892
+ .wz-img-manager__module__content, .img-tabs {
893
+ position: absolute;
894
+ width: 100%;
895
+ height: 100%;
896
+ }
897
+ .img-tabs {
898
+ display: flex;
899
+ flex-direction: column;
900
+ }
901
+ .columns.img-tabs__tabsEdit.ng-star-inserted {
902
+ position: absolute;
903
+ width: 100%;
904
+ height: 100%;
905
+ margin: 0!important;
906
+ left: -17px;
907
+ }
908
+ .img-editor {
909
+ min-height: calc(100vh - 50px);
910
+ }
911
+ .ng-scroll-content {
912
+ > .columns {
913
+ margin: 0 5px;
914
+ padding-left: 25px;
915
+ min-height: calc(100vh - 50px);
916
+ }
917
+ }
918
+ .img-editor__scroll--full {
919
+ min-height: calc(100vh + -50px) !important;
920
+ }
921
+ }
922
+ }
923
+
924
+ .wz-img-manager__module__content.wz-block:not(.wz-block--window) {
925
+ .img-editor__container {
926
+ transform: translateY(3px);
927
+ }
928
+ .img-editor__infoSection {
929
+ &__propertyEditable {
930
+ &:first-child {
931
+ margin-top: 30px;
932
+ }
933
+ }
934
+ &__actions {
935
+ margin-top: 30px;
936
+ > div {
937
+ display: flex;
938
+ }
939
+ }
940
+ }
941
+ .mosaic__search, .wz-table {
942
+ padding-right: 20px;
943
+ }
944
+ }
945
+
946
+
947
+
799
948
  .img-upload {
800
949
  position: relative;
801
950
  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");
@@ -921,6 +1070,7 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
921
1070
  }
922
1071
  }
923
1072
  &.small {
1073
+ min-height: 0;
924
1074
  .mosaic__container__loader {
925
1075
  top: 0;
926
1076
  transform: translateX(-50%);
@@ -1542,140 +1692,29 @@ $card-img-size-small: 140px;
1542
1692
  .grey {
1543
1693
  color: $img-grey-color;
1544
1694
  }
1545
- .wz-img-manager {
1546
-
1547
- &__selectionHandler {
1548
- margin-top: -50px;
1549
- }
1550
-
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
- }
1695
+ $green: $really-bad-bad-bad-green !default;
1696
+ $primary: $primary-button !default;
1697
+ $light: $img-placeholder !default;
1698
+ $info: $wizishop-blue !default;
1699
+ $danger: $img-red-color !default;
1700
+ $dark: $img-dark !default;
1667
1701
 
1668
- .wz-img-manager__module .wz-block:hover {
1669
- box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.2);
1670
- }
1702
+ $button-padding-vertical: rem(7) !default;
1703
+ $radius: rem(3) !default;
1671
1704
 
1672
- .nwb-snack-bar .notification {
1673
- z-index: 10002!important;
1674
- }
1705
+ $button-color: white!default;
1706
+ $button-hover-color: white !default;
1707
+ $button-focus-color: white !default;
1708
+ $button-active-color: white !default;
1709
+ $button-background-color: $primary !default;
1710
+ $button-disabled-background-color: $primary !default;
1711
+ $button-border-color: $primary-button-hover !default;
1712
+ $button-hover-border-color: $primary-button-hover !default;
1713
+ $button-active-border-color: $primary-button-hover !default;
1714
+ $button-focus-border-color: $primary-button-hover !default;
1715
+ $button-disabled-border-color: $primary-button-hover !default;
1675
1716
 
1676
- .nwb-snack-bar .column {
1677
- box-sizing: border-box;
1678
- }
1717
+ $tag-radius: rem(20px)!default;
1679
1718
  image-cropper {
1680
1719
  max-height: 60vh;
1681
1720
  }.wz-img-manager .images-view {
@@ -1751,7 +1790,7 @@ image-cropper {
1751
1790
 
1752
1791
  &__boxAction {
1753
1792
  width: 525px;
1754
- overflow: hidden;
1793
+ overflow: visible;
1755
1794
  display: flex;
1756
1795
  position: relative;
1757
1796
  justify-content: flex-end;
@@ -1783,7 +1822,10 @@ image-cropper {
1783
1822
 
1784
1823
  p {
1785
1824
  transition: left .3s ease-in-out;
1786
- left: -140%;
1825
+ right: 100%;
1826
+ left: auto;
1827
+ white-space: nowrap;
1828
+ margin-right: 30px;
1787
1829
  }
1788
1830
  }
1789
1831
 
@@ -2057,29 +2099,144 @@ $green-color: #2ecc71;
2057
2099
  line-height: rem(25);
2058
2100
  }
2059
2101
  }
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;
2102
+ .wz-img-manager {
2066
2103
 
2067
- $button-padding-vertical: rem(7) !default;
2068
- $radius: rem(3) !default;
2104
+ &__selectionHandler {
2105
+ margin-top: -50px;
2106
+ }
2069
2107
 
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;
2108
+ &__module {
2109
+ position: fixed;
2110
+ bottom: 0;
2111
+ left: 0;
2112
+ width: 100%;
2113
+ height: 0;
2114
+ transition: height .3s ease;
2115
+ z-index: 2147483647; // snackbar 10
2116
+ transform: translateZ(0);
2081
2117
 
2082
- $tag-radius: rem(20px)!default;
2118
+ &:before {
2119
+ content: '';
2120
+ display: block;
2121
+ position: absolute;
2122
+ top: 0;
2123
+ left: 0;
2124
+ width: 100%;
2125
+ height: 3px;
2126
+ background-color: $img-main-color;
2127
+ z-index: 999;
2128
+ }
2129
+
2130
+ &--closed {
2131
+ height: 0;
2132
+ }
2133
+
2134
+ // .wz-img-manager__module--small
2135
+ &--small {
2136
+ height: 320px;
2137
+ }
2138
+
2139
+ // .wz-img-manager__module--full
2140
+ &--full {
2141
+ height: calc(100vh - 50px);
2142
+ }
2143
+
2144
+ // .wz-img-manager__module--window
2145
+ &--window {
2146
+ position: relative;
2147
+ width: auto;
2148
+ bottom: unset;
2149
+ left: unset;
2150
+ z-index: 29!important;
2151
+ height: auto!important;
2152
+ padding-bottom: 6.25rem;
2153
+
2154
+ &:before {
2155
+ content: none;
2156
+ height: 0px;
2157
+ }
2158
+
2159
+ // .wz-img-manager__module--edit
2160
+ &--edit {
2161
+ .wrapper-tabs {
2162
+ display: none;
2163
+ }
2164
+ }
2165
+ }
2166
+
2167
+ // .wz-img-manager__module__header
2168
+ &__header {
2169
+ position: absolute;
2170
+ bottom: 100%;
2171
+ right: 30px;
2172
+ width: 101px;
2173
+
2174
+ // .wz-img-manager__module__header button
2175
+ button {
2176
+ width: 45px;
2177
+ height: 35px;
2178
+ background-color: $img-main-color;
2179
+ transition: background-color .3s ease;
2180
+ border: none;
2181
+ box-shadow: none;
2182
+ cursor: pointer;
2183
+ outline: none!important;
2184
+
2185
+ span {
2186
+ display: none;
2187
+ }
2188
+
2189
+ i {
2190
+ color: #fff;
2191
+ font-size: 20px;
2192
+ &:before {
2193
+ font-size: rem(20) !important;
2194
+ }
2195
+ }
2196
+
2197
+ &:hover, &:focus {
2198
+ background-color: darken($img-main-color, 15%);
2199
+ }
2200
+
2201
+ // .wz-img-manager__module__header button:first-child
2202
+ &:first-child {
2203
+ border-radius: 3px 0 0 0;
2204
+ }
2205
+
2206
+ // .wz-img-manager__module__header button:last-child
2207
+ &:last-child {
2208
+ margin: 0 0 0 1px;
2209
+ border-radius: 0 3px 0 0;
2210
+ }
2211
+ }
2212
+ }
2213
+ }
2214
+ }
2215
+
2216
+ .wz-img-manager__module .wz-block {
2217
+ background-color: #fff;
2218
+ box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
2219
+ padding: 0 0.575rem 0 1.075rem;
2220
+
2221
+ &--window {
2222
+ padding: rem(30);
2223
+ overflow: hidden;
2224
+ max-width: 1450px;
2225
+ margin: 0 auto;
2226
+ }
2227
+ }
2228
+
2229
+ .wz-img-manager__module .wz-block:hover {
2230
+ box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.2);
2231
+ }
2232
+
2233
+ .nwb-snack-bar .notification {
2234
+ z-index: 10002!important;
2235
+ }
2236
+
2237
+ .nwb-snack-bar .column {
2238
+ box-sizing: border-box;
2239
+ }
2083
2240
  .wz-img-manager .is-checkradio[type='checkbox'] {
2084
2241
  outline: 0 !important;
2085
2242
  & + label {
@@ -2724,6 +2881,8 @@ $tag-radius: rem(20px)!default;
2724
2881
  border: 1px solid $border-form;
2725
2882
  border-radius: 3px;
2726
2883
  cursor: pointer;
2884
+ display: flex;
2885
+ align-items: center;
2727
2886
 
2728
2887
  span {
2729
2888
  display: inline-block;
@@ -3468,7 +3627,7 @@ $tag-radius: rem(20px)!default;
3468
3627
  padding: rem(20) rem(30) rem(20);
3469
3628
  margin-left: -1.075rem;
3470
3629
  margin-right: -0.575rem;
3471
- margin-bottom: rem(20);
3630
+ margin-bottom: 0;
3472
3631
  }
3473
3632
 
3474
3633
  ul {
Binary file