@wizishop/img-manager 0.2.102 → 0.2.103

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.
@@ -1271,29 +1271,178 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
1271
1271
  }
1272
1272
  image-cropper {
1273
1273
  max-height: 60vh;
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;
1274
+ }.wz-img-manager {
1280
1275
 
1281
- $button-padding-vertical: rem(7) !default;
1282
- $radius: rem(3) !default;
1276
+ &__selectionHandler {
1277
+ margin-top: -50px;
1278
+ }
1283
1279
 
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;
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);
1295
1289
 
1296
- $tag-radius: rem(20px)!default;
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
+ }
1434
+
1435
+ .wz-img-manager__module .wz-block:hover {
1436
+ box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.2);
1437
+ }
1438
+
1439
+ .nwb-snack-bar .notification {
1440
+ z-index: 10002!important;
1441
+ }
1442
+
1443
+ .nwb-snack-bar .column {
1444
+ box-sizing: border-box;
1445
+ }
1297
1446
  .img-editor__infoSection__propertySEO__tooltips {
1298
1447
  i {
1299
1448
  font-size: rem(16);
@@ -4266,175 +4415,26 @@ $card-img-size-small: 140px;
4266
4415
  }
4267
4416
  }
4268
4417
  }
4269
- .wz-img-manager {
4270
-
4271
- &__selectionHandler {
4272
- margin-top: -50px;
4273
- }
4274
-
4275
- &__module {
4276
- position: fixed;
4277
- bottom: 0;
4278
- left: 0;
4279
- width: 100%;
4280
- height: 0;
4281
- transition: height .3s ease;
4282
- z-index: 2147483647; // snackbar 10
4283
- transform: translateZ(0);
4284
-
4285
- &:before {
4286
- content: '';
4287
- display: block;
4288
- position: absolute;
4289
- top: 0;
4290
- left: 0;
4291
- width: 100%;
4292
- height: 3px;
4293
- background-color: $img-main-color;
4294
- z-index: 999;
4295
- }
4296
-
4297
- &--closed {
4298
- height: 0;
4299
- }
4300
-
4301
- // .wz-img-manager__module--small
4302
- &--small {
4303
- height: 320px;
4304
- @include media('<tablet') {
4305
- height: 100%!important;
4306
- }
4307
- }
4308
-
4309
- // .wz-img-manager__module--full
4310
- &--full {
4311
- height: calc(100vh - 50px);
4312
- @include media('<tablet') {
4313
- height: 100%!important;
4314
- }
4315
- }
4316
-
4317
- // .wz-img-manager__module--window
4318
- &--window {
4319
- position: relative;
4320
- width: auto;
4321
- bottom: unset;
4322
- left: unset;
4323
- z-index: 29!important;
4324
- height: auto!important;
4325
- padding-bottom: 6.25rem;
4326
-
4327
- &:before {
4328
- content: none;
4329
- height: 0px;
4330
- }
4331
-
4332
- // .wz-img-manager__module--edit
4333
- &--edit {
4334
- .wrapper-tabs {
4335
- display: none;
4336
- }
4337
- }
4338
- }
4339
-
4340
- // .wz-img-manager__module__header
4341
- &__header {
4342
- position: absolute;
4343
- bottom: 100%;
4344
- right: 30px;
4345
- width: 101px;
4346
-
4347
- @include media('<tablet') {
4348
- width: 45px;
4349
- bottom: auto;
4350
- top: 10px;
4351
- right: 0;
4352
- }
4353
-
4354
- // .wz-img-manager__module__header button
4355
- button {
4356
- width: 45px;
4357
- height: 35px;
4358
- background-color: $img-main-color;
4359
- transition: background-color .3s ease;
4360
- border: none;
4361
- box-shadow: none;
4362
- cursor: pointer;
4363
- outline: none!important;
4364
-
4365
- @include media('<tablet') {
4366
- background-color: transparent!important;
4367
- i {
4368
- color: $img-main-color!important;
4369
- }
4370
- }
4371
-
4372
- &:first-child {
4373
- @include media('<tablet') {
4374
- display: none;
4375
- }
4376
- }
4377
-
4378
- span {
4379
- display: none;
4380
- }
4381
-
4382
- i {
4383
- color: #fff;
4384
- font-size: 20px;
4385
- &:before {
4386
- font-size: rem(20) !important;
4387
- }
4388
- }
4389
-
4390
- &:hover, &:focus {
4391
- background-color: darken($img-main-color, 15%);
4392
- }
4393
-
4394
- // .wz-img-manager__module__header button:first-child
4395
- &:first-child {
4396
- border-radius: 3px 0 0 0;
4397
- }
4398
-
4399
- // .wz-img-manager__module__header button:last-child
4400
- &:last-child {
4401
- margin: 0 0 0 1px;
4402
- border-radius: 0 3px 0 0;
4403
- @include media('<tablet') {
4404
- margin: 0;
4405
- border-radius: 0;
4406
- }
4407
- }
4408
- }
4409
- }
4410
- }
4411
- }
4412
-
4413
- .wz-img-manager__module .wz-block {
4414
- background-color: #fff;
4415
- box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
4416
- padding: 0 0.575rem 0 1.075rem;
4417
-
4418
- @include media('<tablet') {
4419
- padding: 40px 20px 0;
4420
- }
4421
-
4422
- &--window {
4423
- padding: rem(30);
4424
- overflow: hidden;
4425
- max-width: 1450px;
4426
- margin: 0 auto;
4427
- }
4428
- }
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;
4429
4424
 
4430
- .wz-img-manager__module .wz-block:hover {
4431
- box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.2);
4432
- }
4425
+ $button-padding-vertical: rem(7) !default;
4426
+ $radius: rem(3) !default;
4433
4427
 
4434
- .nwb-snack-bar .notification {
4435
- z-index: 10002!important;
4436
- }
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;
4437
4439
 
4438
- .nwb-snack-bar .column {
4439
- box-sizing: border-box;
4440
- }
4440
+ $tag-radius: rem(20px)!default;
Binary file