@wizishop/img-manager 0.2.90 → 0.2.91

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.90",
3
+ "version": "0.2.91",
4
4
  "description": "The best and the most beautiful image manager.",
5
5
  "repository": {
6
6
  "type": "git",
Binary file
@@ -3249,6 +3249,151 @@ $card-img-size-small: 140px;
3249
3249
  .wz-img-manager .addCssPriority .smallNameDisplay .img-card__nameContainer__name {
3250
3250
  width: $card-img-size-small;
3251
3251
  }
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
+ }
3252
3397
 
3253
3398
 
3254
3399
  .wac {
@@ -3542,151 +3687,6 @@ $card-img-size-small: 140px;
3542
3687
  }
3543
3688
  }
3544
3689
  }
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
- }
3690
3690
  .wz-img-manager .wz-pagination {
3691
3691
  width: 100%;
3692
3692
  padding: 0;
@@ -4279,7 +4279,7 @@ $card-img-size-small: 140px;
4279
4279
  &--small {
4280
4280
  height: 320px;
4281
4281
  @include media('<tablet') {
4282
- height: calc(100vh - 105px);
4282
+ height: calc(100vh - 105px) !important;
4283
4283
  }
4284
4284
  }
4285
4285
 
Binary file