@wizishop/img-manager 0.2.94 → 0.2.97

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wizishop/img-manager",
3
- "version": "0.2.94",
3
+ "version": "0.2.97",
4
4
  "description": "The best and the most beautiful image manager.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1892,6 +1892,18 @@ $green-color: #2ecc71;
1892
1892
  justify-content: center;
1893
1893
  align-items: center;
1894
1894
  }
1895
+ &__dropImgIconDiv {
1896
+ @include media('<720px') {
1897
+ p {
1898
+ display: none;
1899
+ }
1900
+ }
1901
+ }
1902
+ &__or {
1903
+ @include media('<720px') {
1904
+ display: none;
1905
+ }
1906
+ }
1895
1907
  .blueColor {
1896
1908
  img {
1897
1909
  min-width: rem(65);
@@ -3249,151 +3261,6 @@ $card-img-size-small: 140px;
3249
3261
  .wz-img-manager .addCssPriority .smallNameDisplay .img-card__nameContainer__name {
3250
3262
  width: $card-img-size-small;
3251
3263
  }
3252
- .wz-img-manager .wz-table {
3253
- width: 100%;
3254
-
3255
- &__head {
3256
- @include flexbox();
3257
- @include flex-flow(row nowrap);
3258
- width: 100%;
3259
- border-top: 1px solid $textarea-border-color;
3260
- border-bottom: 1px solid $textarea-border-color;
3261
- background-color: $gray-background;
3262
-
3263
- &__cell {
3264
- @include flexbox();
3265
- @include flex(1);
3266
- padding: 15px 20px;
3267
- font-size: 14px;
3268
- line-height: 20px;
3269
- color: $main-text;
3270
- font-weight: 600;
3271
-
3272
- &--checkbox {
3273
- @include flex(none);
3274
- width: 80px;
3275
- padding: 10px 20px 6px 20px;
3276
- > * {
3277
- transform: translateX(15px);
3278
- }
3279
- }
3280
-
3281
- &__search {
3282
- color: $main-text;
3283
- padding-right: 23px;
3284
- transition: background-image 0.3s ease-in-out;
3285
- cursor: text;
3286
-
3287
- &:hover {
3288
- color: $main-text;
3289
- }
3290
-
3291
- &--idle {
3292
- background: transparent
3293
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort' viewBox='0 0 320 512' class='svg-inline--fa fa-sort fa-w-10 fa-7x'%3E%3Cpath fill='currentColor' d='M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41zm255-105L177 64c-9.4-9.4-24.6-9.4-33.9 0L24 183c-15.1 15.1-4.4 41 17 41h238c21.4 0 32.1-25.9 17-41z'/%3E%3C/svg%3E")
3294
- center right / 14px 14px no-repeat;
3295
- transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3296
- cursor: pointer;
3297
-
3298
- &:hover {
3299
- transition: color 0.3s ease-in-out;
3300
- }
3301
- }
3302
-
3303
- &--up {
3304
- background: transparent
3305
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort-up' viewBox='0 0 320 512' class='svg-inline--fa fa-sort-up fa-w-10 fa-5x'%3E%3Cpath fill='currentColor' d='M279 224H41c-21.4 0-32.1-25.9-17-41L143 64c9.4-9.4 24.6-9.4 33.9 0l119 119c15.2 15.1 4.5 41-16.9 41z'/%3E%3C/svg%3E")
3306
- center right / 14px 14px no-repeat;
3307
- transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3308
- cursor: pointer;
3309
-
3310
- &:hover {
3311
- transition: color 0.3s ease-in-out;
3312
- }
3313
- }
3314
-
3315
- &--down {
3316
- background: transparent
3317
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort-down' viewBox='0 0 320 512' class='svg-inline--fa fa-sort-down fa-w-10 fa-7x'%3E%3Cpath fill='currentColor' d='M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41z'/%3E%3C/svg%3E")
3318
- center right / 14px 14px no-repeat;
3319
- transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3320
- cursor: pointer;
3321
-
3322
- &:hover {
3323
- transition: color 0.3s ease-in-out;
3324
- }
3325
- }
3326
- }
3327
-
3328
- &--center--left {
3329
- @include align-items(center);
3330
- @include justify-content(left);
3331
- }
3332
- &--center--center {
3333
- @include align-items(center);
3334
- @include justify-content(center);
3335
- }
3336
- &--center--right {
3337
- @include align-items(center);
3338
- @include justify-content(right);
3339
- }
3340
- }
3341
- }
3342
-
3343
- // TODO delete __search
3344
- &__search {
3345
- height: 100px;
3346
- margin-top: 10px;
3347
- }
3348
-
3349
- &__body {
3350
- width: 100%;
3351
- margin-top: -10px;
3352
-
3353
- &__loader {
3354
- position: relative;
3355
- min-height: 200px;
3356
- }
3357
-
3358
- &__line {
3359
- @include flexbox();
3360
- @include flex-flow(row nowrap);
3361
- width: 100%;
3362
- border-bottom: 1px solid $textarea-border-color;
3363
-
3364
- &__cell {
3365
- @include flexbox();
3366
- @include flex(1);
3367
- padding: 20px 20px 20px 20px;
3368
- font-size: 14px;
3369
- line-height: 25px;
3370
- color: $secondary-color;
3371
-
3372
- &--checkbox {
3373
- @include flexbox();
3374
- @include flex(none);
3375
- @include justify-content(center);
3376
- @include align-items(center);
3377
- width: 80px;
3378
- padding: 8px 20px;
3379
- }
3380
-
3381
- &--center--left {
3382
- @include align-items(center);
3383
- @include justify-content(left);
3384
- }
3385
- &--center--center {
3386
- @include align-items(center);
3387
- @include justify-content(center);
3388
- }
3389
- &--center--right {
3390
- @include align-items(center);
3391
- @include justify-content(right);
3392
- }
3393
- }
3394
- }
3395
- }
3396
- }
3397
3264
 
3398
3265
 
3399
3266
  .wac {
@@ -3687,6 +3554,151 @@ $card-img-size-small: 140px;
3687
3554
  }
3688
3555
  }
3689
3556
  }
3557
+ .wz-img-manager .wz-table {
3558
+ width: 100%;
3559
+
3560
+ &__head {
3561
+ @include flexbox();
3562
+ @include flex-flow(row nowrap);
3563
+ width: 100%;
3564
+ border-top: 1px solid $textarea-border-color;
3565
+ border-bottom: 1px solid $textarea-border-color;
3566
+ background-color: $gray-background;
3567
+
3568
+ &__cell {
3569
+ @include flexbox();
3570
+ @include flex(1);
3571
+ padding: 15px 20px;
3572
+ font-size: 14px;
3573
+ line-height: 20px;
3574
+ color: $main-text;
3575
+ font-weight: 600;
3576
+
3577
+ &--checkbox {
3578
+ @include flex(none);
3579
+ width: 80px;
3580
+ padding: 10px 20px 6px 20px;
3581
+ > * {
3582
+ transform: translateX(15px);
3583
+ }
3584
+ }
3585
+
3586
+ &__search {
3587
+ color: $main-text;
3588
+ padding-right: 23px;
3589
+ transition: background-image 0.3s ease-in-out;
3590
+ cursor: text;
3591
+
3592
+ &:hover {
3593
+ color: $main-text;
3594
+ }
3595
+
3596
+ &--idle {
3597
+ background: transparent
3598
+ url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort' viewBox='0 0 320 512' class='svg-inline--fa fa-sort fa-w-10 fa-7x'%3E%3Cpath fill='currentColor' d='M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41zm255-105L177 64c-9.4-9.4-24.6-9.4-33.9 0L24 183c-15.1 15.1-4.4 41 17 41h238c21.4 0 32.1-25.9 17-41z'/%3E%3C/svg%3E")
3599
+ center right / 14px 14px no-repeat;
3600
+ transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3601
+ cursor: pointer;
3602
+
3603
+ &:hover {
3604
+ transition: color 0.3s ease-in-out;
3605
+ }
3606
+ }
3607
+
3608
+ &--up {
3609
+ background: transparent
3610
+ url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort-up' viewBox='0 0 320 512' class='svg-inline--fa fa-sort-up fa-w-10 fa-5x'%3E%3Cpath fill='currentColor' d='M279 224H41c-21.4 0-32.1-25.9-17-41L143 64c9.4-9.4 24.6-9.4 33.9 0l119 119c15.2 15.1 4.5 41-16.9 41z'/%3E%3C/svg%3E")
3611
+ center right / 14px 14px no-repeat;
3612
+ transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3613
+ cursor: pointer;
3614
+
3615
+ &:hover {
3616
+ transition: color 0.3s ease-in-out;
3617
+ }
3618
+ }
3619
+
3620
+ &--down {
3621
+ background: transparent
3622
+ url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort-down' viewBox='0 0 320 512' class='svg-inline--fa fa-sort-down fa-w-10 fa-7x'%3E%3Cpath fill='currentColor' d='M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41z'/%3E%3C/svg%3E")
3623
+ center right / 14px 14px no-repeat;
3624
+ transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3625
+ cursor: pointer;
3626
+
3627
+ &:hover {
3628
+ transition: color 0.3s ease-in-out;
3629
+ }
3630
+ }
3631
+ }
3632
+
3633
+ &--center--left {
3634
+ @include align-items(center);
3635
+ @include justify-content(left);
3636
+ }
3637
+ &--center--center {
3638
+ @include align-items(center);
3639
+ @include justify-content(center);
3640
+ }
3641
+ &--center--right {
3642
+ @include align-items(center);
3643
+ @include justify-content(right);
3644
+ }
3645
+ }
3646
+ }
3647
+
3648
+ // TODO delete __search
3649
+ &__search {
3650
+ height: 100px;
3651
+ margin-top: 10px;
3652
+ }
3653
+
3654
+ &__body {
3655
+ width: 100%;
3656
+ margin-top: -10px;
3657
+
3658
+ &__loader {
3659
+ position: relative;
3660
+ min-height: 200px;
3661
+ }
3662
+
3663
+ &__line {
3664
+ @include flexbox();
3665
+ @include flex-flow(row nowrap);
3666
+ width: 100%;
3667
+ border-bottom: 1px solid $textarea-border-color;
3668
+
3669
+ &__cell {
3670
+ @include flexbox();
3671
+ @include flex(1);
3672
+ padding: 20px 20px 20px 20px;
3673
+ font-size: 14px;
3674
+ line-height: 25px;
3675
+ color: $secondary-color;
3676
+
3677
+ &--checkbox {
3678
+ @include flexbox();
3679
+ @include flex(none);
3680
+ @include justify-content(center);
3681
+ @include align-items(center);
3682
+ width: 80px;
3683
+ padding: 8px 20px;
3684
+ }
3685
+
3686
+ &--center--left {
3687
+ @include align-items(center);
3688
+ @include justify-content(left);
3689
+ }
3690
+ &--center--center {
3691
+ @include align-items(center);
3692
+ @include justify-content(center);
3693
+ }
3694
+ &--center--right {
3695
+ @include align-items(center);
3696
+ @include justify-content(right);
3697
+ }
3698
+ }
3699
+ }
3700
+ }
3701
+ }
3690
3702
  .wz-img-manager .wz-pagination {
3691
3703
  width: 100%;
3692
3704
  padding: 0;
@@ -4279,7 +4291,7 @@ $card-img-size-small: 140px;
4279
4291
  &--small {
4280
4292
  height: 320px;
4281
4293
  @include media('<tablet') {
4282
- height: calc(100vh - 35px) !important;
4294
+ height: 100%!important;
4283
4295
  }
4284
4296
  }
4285
4297
 
@@ -4287,7 +4299,7 @@ $card-img-size-small: 140px;
4287
4299
  &--full {
4288
4300
  height: calc(100vh - 50px);
4289
4301
  @include media('<tablet') {
4290
- height: calc(100vh - 35px);
4302
+ height: 100%!important;
4291
4303
  }
4292
4304
  }
4293
4305
 
@@ -4323,6 +4335,8 @@ $card-img-size-small: 140px;
4323
4335
 
4324
4336
  @include media('<tablet') {
4325
4337
  width: 45px;
4338
+ bottom: auto;
4339
+ top: 10px;
4326
4340
  right: 0;
4327
4341
  }
4328
4342
 
@@ -4337,6 +4351,13 @@ $card-img-size-small: 140px;
4337
4351
  cursor: pointer;
4338
4352
  outline: none!important;
4339
4353
 
4354
+ @include media('<tablet') {
4355
+ background-color: transparent!important;
4356
+ i {
4357
+ color: $img-main-color!important;
4358
+ }
4359
+ }
4360
+
4340
4361
  &:first-child {
4341
4362
  @include media('<tablet') {
4342
4363
  display: none;
@@ -4384,7 +4405,7 @@ $card-img-size-small: 140px;
4384
4405
  padding: 0 0.575rem 0 1.075rem;
4385
4406
 
4386
4407
  @include media('<tablet') {
4387
- padding: 0 20px;
4408
+ padding: 40px 20px 0;
4388
4409
  }
4389
4410
 
4390
4411
  &--window {