@wizishop/img-manager 0.2.103 → 0.2.104

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.103",
3
+ "version": "0.2.104",
4
4
  "description": "The best and the most beautiful image manager.",
5
5
  "repository": {
6
6
  "type": "git",
Binary file
@@ -1271,178 +1271,29 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
1271
1271
  }
1272
1272
  image-cropper {
1273
1273
  max-height: 60vh;
1274
- }.wz-img-manager {
1275
-
1276
- &__selectionHandler {
1277
- margin-top: -50px;
1278
- }
1279
-
1280
- &__module {
1281
- position: fixed;
1282
- bottom: 0;
1283
- left: 0;
1284
- width: 100%;
1285
- height: 0;
1286
- transition: height .3s ease;
1287
- z-index: 2147483647; // snackbar 10
1288
- transform: translateZ(0);
1289
-
1290
- &:before {
1291
- content: '';
1292
- display: block;
1293
- position: absolute;
1294
- top: 0;
1295
- left: 0;
1296
- width: 100%;
1297
- height: 3px;
1298
- background-color: $img-main-color;
1299
- z-index: 999;
1300
- }
1301
-
1302
- &--closed {
1303
- height: 0;
1304
- }
1305
-
1306
- // .wz-img-manager__module--small
1307
- &--small {
1308
- height: 320px;
1309
- @include media('<tablet') {
1310
- height: 100%!important;
1311
- }
1312
- }
1313
-
1314
- // .wz-img-manager__module--full
1315
- &--full {
1316
- height: calc(100vh - 50px);
1317
- @include media('<tablet') {
1318
- height: 100%!important;
1319
- }
1320
- }
1321
-
1322
- // .wz-img-manager__module--window
1323
- &--window {
1324
- position: relative;
1325
- width: auto;
1326
- bottom: unset;
1327
- left: unset;
1328
- z-index: 29!important;
1329
- height: auto!important;
1330
- padding-bottom: 6.25rem;
1331
-
1332
- &:before {
1333
- content: none;
1334
- height: 0px;
1335
- }
1336
-
1337
- // .wz-img-manager__module--edit
1338
- &--edit {
1339
- .wrapper-tabs {
1340
- display: none;
1341
- }
1342
- }
1343
- }
1344
-
1345
- // .wz-img-manager__module__header
1346
- &__header {
1347
- position: absolute;
1348
- bottom: 100%;
1349
- right: 30px;
1350
- width: 101px;
1351
-
1352
- @include media('<tablet') {
1353
- width: 45px;
1354
- bottom: auto;
1355
- top: 10px;
1356
- right: 0;
1357
- }
1358
-
1359
- // .wz-img-manager__module__header button
1360
- button {
1361
- width: 45px;
1362
- height: 35px;
1363
- background-color: $img-main-color;
1364
- transition: background-color .3s ease;
1365
- border: none;
1366
- box-shadow: none;
1367
- cursor: pointer;
1368
- outline: none!important;
1369
-
1370
- @include media('<tablet') {
1371
- background-color: transparent!important;
1372
- i {
1373
- color: $img-main-color!important;
1374
- }
1375
- }
1376
-
1377
- &:first-child {
1378
- @include media('<tablet') {
1379
- display: none;
1380
- }
1381
- }
1382
-
1383
- span {
1384
- display: none;
1385
- }
1386
-
1387
- i {
1388
- color: #fff;
1389
- font-size: 20px;
1390
- &:before {
1391
- font-size: rem(20) !important;
1392
- }
1393
- }
1394
-
1395
- &:hover, &:focus {
1396
- background-color: darken($img-main-color, 15%);
1397
- }
1398
-
1399
- // .wz-img-manager__module__header button:first-child
1400
- &:first-child {
1401
- border-radius: 3px 0 0 0;
1402
- }
1403
-
1404
- // .wz-img-manager__module__header button:last-child
1405
- &:last-child {
1406
- margin: 0 0 0 1px;
1407
- border-radius: 0 3px 0 0;
1408
- @include media('<tablet') {
1409
- margin: 0;
1410
- border-radius: 0;
1411
- }
1412
- }
1413
- }
1414
- }
1415
- }
1416
- }
1417
-
1418
- .wz-img-manager__module .wz-block {
1419
- background-color: #fff;
1420
- box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
1421
- padding: 0 0.575rem 0 1.075rem;
1422
-
1423
- @include media('<tablet') {
1424
- padding: 40px 20px 0;
1425
- }
1426
-
1427
- &--window {
1428
- padding: rem(30);
1429
- overflow: hidden;
1430
- max-width: 1450px;
1431
- margin: 0 auto;
1432
- }
1433
- }
1274
+ }$green: $really-bad-bad-bad-green !default;
1275
+ $primary: $primary-button !default;
1276
+ $light: $img-placeholder !default;
1277
+ $info: $wizishop-blue !default;
1278
+ $danger: $img-red-color !default;
1279
+ $dark: $img-dark !default;
1434
1280
 
1435
- .wz-img-manager__module .wz-block:hover {
1436
- box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.2);
1437
- }
1281
+ $button-padding-vertical: rem(7) !default;
1282
+ $radius: rem(3) !default;
1438
1283
 
1439
- .nwb-snack-bar .notification {
1440
- z-index: 10002!important;
1441
- }
1284
+ $button-color: white!default;
1285
+ $button-hover-color: white !default;
1286
+ $button-focus-color: white !default;
1287
+ $button-active-color: white !default;
1288
+ $button-background-color: $primary !default;
1289
+ $button-disabled-background-color: $primary !default;
1290
+ $button-border-color: $primary-button-hover !default;
1291
+ $button-hover-border-color: $primary-button-hover !default;
1292
+ $button-active-border-color: $primary-button-hover !default;
1293
+ $button-focus-border-color: $primary-button-hover !default;
1294
+ $button-disabled-border-color: $primary-button-hover !default;
1442
1295
 
1443
- .nwb-snack-bar .column {
1444
- box-sizing: border-box;
1445
- }
1296
+ $tag-radius: rem(20px)!default;
1446
1297
  .img-editor__infoSection__propertySEO__tooltips {
1447
1298
  i {
1448
1299
  font-size: rem(16);
@@ -2754,7 +2605,7 @@ $green-color: #2ecc71;
2754
2605
  padding: 0.75rem!important;
2755
2606
  display:flex;
2756
2607
  justify-content: center;
2757
- align-items: center;
2608
+ align-items: stretch;
2758
2609
  background-color: $img-gray-background;
2759
2610
  margin: 0;
2760
2611
  transform: translateY(-16px);
@@ -4033,6 +3884,7 @@ $card-img-size-small: 140px;
4033
3884
  }
4034
3885
 
4035
3886
  &__tabsEdit {
3887
+ margin-top: 30px!important;
4036
3888
  > .column {
4037
3889
  padding: 0!important;
4038
3890
  }
@@ -4129,7 +3981,8 @@ $card-img-size-small: 140px;
4129
3981
  }
4130
3982
  padding: 20px 0;
4131
3983
  }
4132
- }//.wz-img-manager useful to keep the css priority
3984
+ }
3985
+ //.wz-img-manager useful to keep the css priority
4133
3986
  .wz-img-manager .canva-btn {
4134
3987
  background-color: $img-main-color;
4135
3988
  border: 2px solid $img-main-color;
@@ -4415,26 +4268,175 @@ $card-img-size-small: 140px;
4415
4268
  }
4416
4269
  }
4417
4270
  }
4418
- $green: $really-bad-bad-bad-green !default;
4419
- $primary: $primary-button !default;
4420
- $light: $img-placeholder !default;
4421
- $info: $wizishop-blue !default;
4422
- $danger: $img-red-color !default;
4423
- $dark: $img-dark !default;
4271
+ .wz-img-manager {
4424
4272
 
4425
- $button-padding-vertical: rem(7) !default;
4426
- $radius: rem(3) !default;
4273
+ &__selectionHandler {
4274
+ margin-top: -50px;
4275
+ }
4427
4276
 
4428
- $button-color: white!default;
4429
- $button-hover-color: white !default;
4430
- $button-focus-color: white !default;
4431
- $button-active-color: white !default;
4432
- $button-background-color: $primary !default;
4433
- $button-disabled-background-color: $primary !default;
4434
- $button-border-color: $primary-button-hover !default;
4435
- $button-hover-border-color: $primary-button-hover !default;
4436
- $button-active-border-color: $primary-button-hover !default;
4437
- $button-focus-border-color: $primary-button-hover !default;
4438
- $button-disabled-border-color: $primary-button-hover !default;
4277
+ &__module {
4278
+ position: fixed;
4279
+ bottom: 0;
4280
+ left: 0;
4281
+ width: 100%;
4282
+ height: 0;
4283
+ transition: height .3s ease;
4284
+ z-index: 2147483647; // snackbar 10
4285
+ transform: translateZ(0);
4439
4286
 
4440
- $tag-radius: rem(20px)!default;
4287
+ &:before {
4288
+ content: '';
4289
+ display: block;
4290
+ position: absolute;
4291
+ top: 0;
4292
+ left: 0;
4293
+ width: 100%;
4294
+ height: 3px;
4295
+ background-color: $img-main-color;
4296
+ z-index: 999;
4297
+ }
4298
+
4299
+ &--closed {
4300
+ height: 0;
4301
+ }
4302
+
4303
+ // .wz-img-manager__module--small
4304
+ &--small {
4305
+ height: 320px;
4306
+ @include media('<tablet') {
4307
+ height: 100%!important;
4308
+ }
4309
+ }
4310
+
4311
+ // .wz-img-manager__module--full
4312
+ &--full {
4313
+ height: calc(100vh - 50px);
4314
+ @include media('<tablet') {
4315
+ height: 100%!important;
4316
+ }
4317
+ }
4318
+
4319
+ // .wz-img-manager__module--window
4320
+ &--window {
4321
+ position: relative;
4322
+ width: auto;
4323
+ bottom: unset;
4324
+ left: unset;
4325
+ z-index: 29!important;
4326
+ height: auto!important;
4327
+ padding-bottom: 6.25rem;
4328
+
4329
+ &:before {
4330
+ content: none;
4331
+ height: 0px;
4332
+ }
4333
+
4334
+ // .wz-img-manager__module--edit
4335
+ &--edit {
4336
+ .wrapper-tabs {
4337
+ display: none;
4338
+ }
4339
+ }
4340
+ }
4341
+
4342
+ // .wz-img-manager__module__header
4343
+ &__header {
4344
+ position: absolute;
4345
+ bottom: 100%;
4346
+ right: 30px;
4347
+ width: 101px;
4348
+
4349
+ @include media('<tablet') {
4350
+ width: 45px;
4351
+ bottom: auto;
4352
+ top: 10px;
4353
+ right: 0;
4354
+ }
4355
+
4356
+ // .wz-img-manager__module__header button
4357
+ button {
4358
+ width: 45px;
4359
+ height: 35px;
4360
+ background-color: $img-main-color;
4361
+ transition: background-color .3s ease;
4362
+ border: none;
4363
+ box-shadow: none;
4364
+ cursor: pointer;
4365
+ outline: none!important;
4366
+
4367
+ @include media('<tablet') {
4368
+ background-color: transparent!important;
4369
+ i {
4370
+ color: $img-main-color!important;
4371
+ }
4372
+ }
4373
+
4374
+ &:first-child {
4375
+ @include media('<tablet') {
4376
+ display: none;
4377
+ }
4378
+ }
4379
+
4380
+ span {
4381
+ display: none;
4382
+ }
4383
+
4384
+ i {
4385
+ color: #fff;
4386
+ font-size: 20px;
4387
+ &:before {
4388
+ font-size: rem(20) !important;
4389
+ }
4390
+ }
4391
+
4392
+ &:hover, &:focus {
4393
+ background-color: darken($img-main-color, 15%);
4394
+ }
4395
+
4396
+ // .wz-img-manager__module__header button:first-child
4397
+ &:first-child {
4398
+ border-radius: 3px 0 0 0;
4399
+ }
4400
+
4401
+ // .wz-img-manager__module__header button:last-child
4402
+ &:last-child {
4403
+ margin: 0 0 0 1px;
4404
+ border-radius: 0 3px 0 0;
4405
+ @include media('<tablet') {
4406
+ margin: 0;
4407
+ border-radius: 0;
4408
+ }
4409
+ }
4410
+ }
4411
+ }
4412
+ }
4413
+ }
4414
+
4415
+ .wz-img-manager__module .wz-block {
4416
+ background-color: #fff;
4417
+ box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
4418
+ padding: 0 0.575rem 0 1.075rem;
4419
+
4420
+ @include media('<tablet') {
4421
+ padding: 40px 20px 0;
4422
+ }
4423
+
4424
+ &--window {
4425
+ padding: rem(30);
4426
+ overflow: hidden;
4427
+ max-width: 1450px;
4428
+ margin: 0 auto;
4429
+ }
4430
+ }
4431
+
4432
+ .wz-img-manager__module .wz-block:hover {
4433
+ box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.2);
4434
+ }
4435
+
4436
+ .nwb-snack-bar .notification {
4437
+ z-index: 10002!important;
4438
+ }
4439
+
4440
+ .nwb-snack-bar .column {
4441
+ box-sizing: border-box;
4442
+ }
Binary file