@wizishop/img-manager 0.2.87 → 0.2.90

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.
@@ -862,7 +862,7 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
862
862
  }
863
863
 
864
864
  .wz-img-manager .small .wz-pagination__wrapper {
865
- margin: 0 0 rem(50);
865
+ margin: 0 0 rem(105);
866
866
  }
867
867
 
868
868
  .wz-block--window {
@@ -2077,6 +2077,15 @@ $green-color: #2ecc71;
2077
2077
  &--smallDisplay {
2078
2078
  margin-top: 10px;
2079
2079
  }
2080
+
2081
+ @include media('<tablet') {
2082
+ wz-input-search {
2083
+ display: block;
2084
+ width: 100%;
2085
+ max-width: 100%;
2086
+ padding-right: 6px;
2087
+ }
2088
+ }
2080
2089
  }
2081
2090
 
2082
2091
  // .pexels-lib__wrapper
@@ -3240,151 +3249,6 @@ $card-img-size-small: 140px;
3240
3249
  .wz-img-manager .addCssPriority .smallNameDisplay .img-card__nameContainer__name {
3241
3250
  width: $card-img-size-small;
3242
3251
  }
3243
- .wz-img-manager .wz-table {
3244
- width: 100%;
3245
-
3246
- &__head {
3247
- @include flexbox();
3248
- @include flex-flow(row nowrap);
3249
- width: 100%;
3250
- border-top: 1px solid $textarea-border-color;
3251
- border-bottom: 1px solid $textarea-border-color;
3252
- background-color: $gray-background;
3253
-
3254
- &__cell {
3255
- @include flexbox();
3256
- @include flex(1);
3257
- padding: 15px 20px;
3258
- font-size: 14px;
3259
- line-height: 20px;
3260
- color: $main-text;
3261
- font-weight: 600;
3262
-
3263
- &--checkbox {
3264
- @include flex(none);
3265
- width: 80px;
3266
- padding: 10px 20px 6px 20px;
3267
- > * {
3268
- transform: translateX(15px);
3269
- }
3270
- }
3271
-
3272
- &__search {
3273
- color: $main-text;
3274
- padding-right: 23px;
3275
- transition: background-image 0.3s ease-in-out;
3276
- cursor: text;
3277
-
3278
- &:hover {
3279
- color: $main-text;
3280
- }
3281
-
3282
- &--idle {
3283
- background: transparent
3284
- 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")
3285
- center right / 14px 14px no-repeat;
3286
- transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3287
- cursor: pointer;
3288
-
3289
- &:hover {
3290
- transition: color 0.3s ease-in-out;
3291
- }
3292
- }
3293
-
3294
- &--up {
3295
- background: transparent
3296
- 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")
3297
- center right / 14px 14px no-repeat;
3298
- transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3299
- cursor: pointer;
3300
-
3301
- &:hover {
3302
- transition: color 0.3s ease-in-out;
3303
- }
3304
- }
3305
-
3306
- &--down {
3307
- background: transparent
3308
- 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")
3309
- center right / 14px 14px no-repeat;
3310
- transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3311
- cursor: pointer;
3312
-
3313
- &:hover {
3314
- transition: color 0.3s ease-in-out;
3315
- }
3316
- }
3317
- }
3318
-
3319
- &--center--left {
3320
- @include align-items(center);
3321
- @include justify-content(left);
3322
- }
3323
- &--center--center {
3324
- @include align-items(center);
3325
- @include justify-content(center);
3326
- }
3327
- &--center--right {
3328
- @include align-items(center);
3329
- @include justify-content(right);
3330
- }
3331
- }
3332
- }
3333
-
3334
- // TODO delete __search
3335
- &__search {
3336
- height: 100px;
3337
- margin-top: 10px;
3338
- }
3339
-
3340
- &__body {
3341
- width: 100%;
3342
- margin-top: -10px;
3343
-
3344
- &__loader {
3345
- position: relative;
3346
- min-height: 200px;
3347
- }
3348
-
3349
- &__line {
3350
- @include flexbox();
3351
- @include flex-flow(row nowrap);
3352
- width: 100%;
3353
- border-bottom: 1px solid $textarea-border-color;
3354
-
3355
- &__cell {
3356
- @include flexbox();
3357
- @include flex(1);
3358
- padding: 20px 20px 20px 20px;
3359
- font-size: 14px;
3360
- line-height: 25px;
3361
- color: $secondary-color;
3362
-
3363
- &--checkbox {
3364
- @include flexbox();
3365
- @include flex(none);
3366
- @include justify-content(center);
3367
- @include align-items(center);
3368
- width: 80px;
3369
- padding: 8px 20px;
3370
- }
3371
-
3372
- &--center--left {
3373
- @include align-items(center);
3374
- @include justify-content(left);
3375
- }
3376
- &--center--center {
3377
- @include align-items(center);
3378
- @include justify-content(center);
3379
- }
3380
- &--center--right {
3381
- @include align-items(center);
3382
- @include justify-content(right);
3383
- }
3384
- }
3385
- }
3386
- }
3387
- }
3388
3252
 
3389
3253
 
3390
3254
  .wac {
@@ -3678,6 +3542,151 @@ $card-img-size-small: 140px;
3678
3542
  }
3679
3543
  }
3680
3544
  }
3545
+ .wz-img-manager .wz-table {
3546
+ width: 100%;
3547
+
3548
+ &__head {
3549
+ @include flexbox();
3550
+ @include flex-flow(row nowrap);
3551
+ width: 100%;
3552
+ border-top: 1px solid $textarea-border-color;
3553
+ border-bottom: 1px solid $textarea-border-color;
3554
+ background-color: $gray-background;
3555
+
3556
+ &__cell {
3557
+ @include flexbox();
3558
+ @include flex(1);
3559
+ padding: 15px 20px;
3560
+ font-size: 14px;
3561
+ line-height: 20px;
3562
+ color: $main-text;
3563
+ font-weight: 600;
3564
+
3565
+ &--checkbox {
3566
+ @include flex(none);
3567
+ width: 80px;
3568
+ padding: 10px 20px 6px 20px;
3569
+ > * {
3570
+ transform: translateX(15px);
3571
+ }
3572
+ }
3573
+
3574
+ &__search {
3575
+ color: $main-text;
3576
+ padding-right: 23px;
3577
+ transition: background-image 0.3s ease-in-out;
3578
+ cursor: text;
3579
+
3580
+ &:hover {
3581
+ color: $main-text;
3582
+ }
3583
+
3584
+ &--idle {
3585
+ background: transparent
3586
+ 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")
3587
+ center right / 14px 14px no-repeat;
3588
+ transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3589
+ cursor: pointer;
3590
+
3591
+ &:hover {
3592
+ transition: color 0.3s ease-in-out;
3593
+ }
3594
+ }
3595
+
3596
+ &--up {
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-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")
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
+ &--down {
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-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")
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
+
3621
+ &--center--left {
3622
+ @include align-items(center);
3623
+ @include justify-content(left);
3624
+ }
3625
+ &--center--center {
3626
+ @include align-items(center);
3627
+ @include justify-content(center);
3628
+ }
3629
+ &--center--right {
3630
+ @include align-items(center);
3631
+ @include justify-content(right);
3632
+ }
3633
+ }
3634
+ }
3635
+
3636
+ // TODO delete __search
3637
+ &__search {
3638
+ height: 100px;
3639
+ margin-top: 10px;
3640
+ }
3641
+
3642
+ &__body {
3643
+ width: 100%;
3644
+ margin-top: -10px;
3645
+
3646
+ &__loader {
3647
+ position: relative;
3648
+ min-height: 200px;
3649
+ }
3650
+
3651
+ &__line {
3652
+ @include flexbox();
3653
+ @include flex-flow(row nowrap);
3654
+ width: 100%;
3655
+ border-bottom: 1px solid $textarea-border-color;
3656
+
3657
+ &__cell {
3658
+ @include flexbox();
3659
+ @include flex(1);
3660
+ padding: 20px 20px 20px 20px;
3661
+ font-size: 14px;
3662
+ line-height: 25px;
3663
+ color: $secondary-color;
3664
+
3665
+ &--checkbox {
3666
+ @include flexbox();
3667
+ @include flex(none);
3668
+ @include justify-content(center);
3669
+ @include align-items(center);
3670
+ width: 80px;
3671
+ padding: 8px 20px;
3672
+ }
3673
+
3674
+ &--center--left {
3675
+ @include align-items(center);
3676
+ @include justify-content(left);
3677
+ }
3678
+ &--center--center {
3679
+ @include align-items(center);
3680
+ @include justify-content(center);
3681
+ }
3682
+ &--center--right {
3683
+ @include align-items(center);
3684
+ @include justify-content(right);
3685
+ }
3686
+ }
3687
+ }
3688
+ }
3689
+ }
3681
3690
  .wz-img-manager .wz-pagination {
3682
3691
  width: 100%;
3683
3692
  padding: 0;
@@ -4270,7 +4279,7 @@ $card-img-size-small: 140px;
4270
4279
  &--small {
4271
4280
  height: 320px;
4272
4281
  @include media('<tablet') {
4273
- height: calc(100vh - 35px);
4282
+ height: calc(100vh - 105px);
4274
4283
  }
4275
4284
  }
4276
4285
 
@@ -4278,7 +4287,7 @@ $card-img-size-small: 140px;
4278
4287
  &--full {
4279
4288
  height: calc(100vh - 50px);
4280
4289
  @include media('<tablet') {
4281
- height: calc(100vh - 35px);
4290
+ height: calc(100vh - 105px);
4282
4291
  }
4283
4292
  }
4284
4293
 
Binary file