@wizishop/img-manager 0.2.81 → 0.2.83

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.
@@ -791,6 +791,9 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
791
791
 
792
792
  .wz-img-manager .wz-img-manager__module:not(.wz-img-manager__module--window) .pexels-lib__scroll .ng-scroll-content {
793
793
  padding-right: 20px;
794
+ @include media('<tablet') {
795
+ padding: 0;
796
+ }
794
797
  }
795
798
 
796
799
  .tabs--notWindow ul {
@@ -953,7 +956,34 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
953
956
  margin-right: 33px;
954
957
  }
955
958
 
959
+ .img-tabs__tabsFirst__list {
960
+ .mosaic__container__cards {
961
+ @include media('<tablet') {
962
+ width: calc(100% - 10px) !important;
963
+ transform: translateX(5px);
964
+ & > * {
965
+ width: calc(50% - 20px) !important;
966
+ margin: 0 10px 20px !important;
967
+ display: none!important;
968
+ &:nth-child(1), &:nth-child(2) {
969
+ display: block!important;
970
+ }
971
+ }
972
+ }
973
+ }
974
+ }
975
+
976
+ .ng-scrollbar-wrapper {
977
+ @include media('<tablet') {
978
+ --vertical-scrollbar-size: 0!important;
979
+ }
980
+ }
956
981
 
982
+ .ng-scroll-viewport {
983
+ @include media('<tablet') {
984
+ overflow: scroll;
985
+ }
986
+ }
957
987
  .img-upload {
958
988
  position: relative;
959
989
  background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='3' ry='3' stroke='%2352AECD' stroke-width='2' stroke-dasharray='4%2c 8' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
@@ -1302,6 +1332,10 @@ $tag-radius: rem(20px)!default;
1302
1332
 
1303
1333
  &--smallDisplay {
1304
1334
  max-height: 275px!important;
1335
+ @include media('<tablet') {
1336
+ max-height: calc(100vh - 90px)!important;
1337
+ min-height: calc(100vh - 90px) !important;
1338
+ }
1305
1339
  }
1306
1340
 
1307
1341
  &--smallUploadDisplay {
@@ -1328,6 +1362,9 @@ $tag-radius: rem(20px)!default;
1328
1362
  .ng-scroll-content {
1329
1363
  min-width: calc(100% - 1rem) !important;
1330
1364
  width: calc(100% - 1rem) !important;
1365
+ @include media('<tablet') {
1366
+ min-width: 100%!important;
1367
+ }
1331
1368
  }
1332
1369
  }
1333
1370
 
@@ -1466,6 +1503,7 @@ $tag-radius: rem(20px)!default;
1466
1503
  margin-right: calc(0.8rem - 20px);
1467
1504
  margin-left: 0.3rem;
1468
1505
  margin-bottom: 30px;
1506
+
1469
1507
  }
1470
1508
  }
1471
1509
 
@@ -1849,11 +1887,17 @@ $green-color: #2ecc71;
1849
1887
  // .wz-img-manager__module--small
1850
1888
  &--small {
1851
1889
  height: 320px;
1890
+ @include media('<tablet') {
1891
+ height: calc(100vh - 35px);
1892
+ }
1852
1893
  }
1853
1894
 
1854
1895
  // .wz-img-manager__module--full
1855
1896
  &--full {
1856
1897
  height: calc(100vh - 50px);
1898
+ @include media('<tablet') {
1899
+ height: calc(100vh - 35px);
1900
+ }
1857
1901
  }
1858
1902
 
1859
1903
  // .wz-img-manager__module--window
@@ -1886,6 +1930,11 @@ $green-color: #2ecc71;
1886
1930
  right: 30px;
1887
1931
  width: 101px;
1888
1932
 
1933
+ @include media('<tablet') {
1934
+ width: 45px;
1935
+ right: 0;
1936
+ }
1937
+
1889
1938
  // .wz-img-manager__module__header button
1890
1939
  button {
1891
1940
  width: 45px;
@@ -1897,6 +1946,12 @@ $green-color: #2ecc71;
1897
1946
  cursor: pointer;
1898
1947
  outline: none!important;
1899
1948
 
1949
+ &:first-child {
1950
+ @include media('<tablet') {
1951
+ display: none;
1952
+ }
1953
+ }
1954
+
1900
1955
  span {
1901
1956
  display: none;
1902
1957
  }
@@ -1922,6 +1977,10 @@ $green-color: #2ecc71;
1922
1977
  &:last-child {
1923
1978
  margin: 0 0 0 1px;
1924
1979
  border-radius: 0 3px 0 0;
1980
+ @include media('<tablet') {
1981
+ margin: 0;
1982
+ border-radius: 0;
1983
+ }
1925
1984
  }
1926
1985
  }
1927
1986
  }
@@ -1933,6 +1992,10 @@ $green-color: #2ecc71;
1933
1992
  box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
1934
1993
  padding: 0 0.575rem 0 1.075rem;
1935
1994
 
1995
+ @include media('<tablet') {
1996
+ padding: 0 20px;
1997
+ }
1998
+
1936
1999
  &--window {
1937
2000
  padding: rem(30);
1938
2001
  overflow: hidden;
@@ -1952,6 +2015,40 @@ $green-color: #2ecc71;
1952
2015
  .nwb-snack-bar .column {
1953
2016
  box-sizing: border-box;
1954
2017
  }
2018
+
2019
+ .wrapper-tabs {
2020
+ .tabs {
2021
+ @include media('<tablet') {
2022
+ display: none!important;
2023
+ }
2024
+ }
2025
+ .select-mobile-page {
2026
+ @include media('>=tablet') {
2027
+ display: none;
2028
+ }
2029
+ select {
2030
+ margin: 20px 0;
2031
+ width: 100%;
2032
+ min-height: 40px;
2033
+ background-color: $img-white;
2034
+ border: 1px solid $img-input-border;
2035
+ border-radius: 3px;
2036
+ box-shadow: none;
2037
+ font-size: rem(12);
2038
+ color: $img-second-color;
2039
+ padding: 0 30px 0 20px;
2040
+ -webkit-appearance: none;
2041
+ -moz-appearance: none;
2042
+ text-indent: 1px;
2043
+ text-overflow: '';
2044
+ background: no-repeat center right 10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M224 416c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L224 338.8l169.4-169.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-192 192C240.4 412.9 232.2 416 224 416z'/%3E%3C/svg%3E");
2045
+ background-size: 10px;
2046
+ }
2047
+ select::-ms-expand {
2048
+ display: none;
2049
+ }
2050
+ }
2051
+ }
1955
2052
  .wz-img-manager .dropdownWizi {
1956
2053
  padding: 10px;
1957
2054
 
@@ -2078,6 +2175,10 @@ $green-color: #2ecc71;
2078
2175
 
2079
2176
  &--smallDisplay {
2080
2177
  max-height: 275px!important;
2178
+ @include media('<tablet') {
2179
+ max-height: calc(100vh - 90px)!important;
2180
+ min-height: calc(100vh - 90px) !important;
2181
+ }
2081
2182
  }
2082
2183
  }
2083
2184
 
@@ -2101,11 +2202,20 @@ $green-color: #2ecc71;
2101
2202
  justify-content: space-between;
2102
2203
  margin-left: -5px;
2103
2204
 
2205
+ @include media('<tablet') {
2206
+ flex-wrap: wrap;
2207
+ }
2208
+
2104
2209
  // .pexels-lib__wrapper__result__column
2105
2210
  &__column {
2106
2211
  flex: 1;
2107
2212
  margin: 0 5px;
2108
2213
 
2214
+ @include media('<tablet') {
2215
+ width: calc(50% - 10px);
2216
+ flex: unset;
2217
+ }
2218
+
2109
2219
  // .pexels-lib__wrapper__result__column__element
2110
2220
  &__element {
2111
2221
  display: flex;
@@ -2227,11 +2337,13 @@ $green-color: #2ecc71;
2227
2337
  // .pexels-lib__wrapper__result-nb
2228
2338
  &-nb {
2229
2339
  font-size: 14px;
2230
- line-height: 25px;
2231
2340
  margin-top: 30px;
2232
2341
  margin-bottom: 15px;
2233
2342
  font-weight: 600;
2234
2343
  line-height: 40px;
2344
+ @include media('<tablet') {
2345
+ margin: 20px auto;
2346
+ }
2235
2347
  }
2236
2348
  }
2237
2349
  }
@@ -2350,6 +2462,12 @@ $green-color: #2ecc71;
2350
2462
  .mosaic {
2351
2463
  &__search {
2352
2464
  display: none;
2465
+ @include media('<tablet') {
2466
+ display: block;
2467
+ margin: 0 0 20px;
2468
+ padding: 0;
2469
+ width: 100%;
2470
+ }
2353
2471
  }
2354
2472
  &__container {
2355
2473
  &__cards {
@@ -2409,6 +2527,10 @@ $green-color: #2ecc71;
2409
2527
  flex-wrap: wrap;
2410
2528
  &--padding {
2411
2529
  padding-right: 20px;
2530
+ @include media('<tablet') {
2531
+ width: calc(100% + 24px);
2532
+ padding: 0;
2533
+ }
2412
2534
  }
2413
2535
  }
2414
2536
  }
@@ -2814,6 +2936,9 @@ $card-img-size-small: 140px;
2814
2936
  transform: scale(1.02) translate(-50%,-50%);
2815
2937
  }
2816
2938
  &__config {
2939
+ @include media('<tablet') {
2940
+ display: none;
2941
+ }
2817
2942
  opacity: 1;
2818
2943
  button {
2819
2944
  transform: translateX(0);
@@ -3095,6 +3220,10 @@ $card-img-size-small: 140px;
3095
3220
  .wz-img-manager .input-search.field {
3096
3221
  padding: 10px 20px;
3097
3222
  background-color: $gray-background;
3223
+ @include media('<tablet') {
3224
+ padding: 0!important;
3225
+ background-color: $white;
3226
+ }
3098
3227
  &.small-padding {
3099
3228
  padding: 10px 20px;
3100
3229
  }
@@ -3565,6 +3694,9 @@ $card-img-size-small: 140px;
3565
3694
 
3566
3695
  &__canva {
3567
3696
  margin: 0 0 0 rem(30);
3697
+ @include media('<tablet') {
3698
+ display: none;
3699
+ }
3568
3700
  }
3569
3701
 
3570
3702
  &__tabsEdit {
@@ -3586,6 +3718,10 @@ $card-img-size-small: 140px;
3586
3718
  margin: rem(28) 0 0 0;
3587
3719
  padding: 0;
3588
3720
  max-width: 33.3%;
3721
+ @include media('<tablet') {
3722
+ max-width: 100%;
3723
+ margin: 0;
3724
+ }
3589
3725
  }
3590
3726
 
3591
3727
  &__list {
@@ -3596,6 +3732,10 @@ $card-img-size-small: 140px;
3596
3732
  }
3597
3733
  //height: calc(100vh - 70px);
3598
3734
  //height: 100vh;
3735
+ @include media('<tablet') {
3736
+ width: 100%;
3737
+ margin: 40px 0 0 0;
3738
+ }
3599
3739
  }
3600
3740
  }
3601
3741
 
@@ -3655,6 +3795,10 @@ $card-img-size-small: 140px;
3655
3795
 
3656
3796
  &--smallDisplay {
3657
3797
  max-height: 275px!important;
3798
+ @include media('<tablet') {
3799
+ max-height: calc(100vh - 90px)!important;
3800
+ min-height: calc(100vh - 90px) !important;
3801
+ }
3658
3802
  }
3659
3803
 
3660
3804
  &--window {
Binary file