@wizishop/img-manager 0.2.88 → 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.
@@ -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 {
@@ -1270,171 +1270,29 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
1270
1270
  }
1271
1271
  image-cropper {
1272
1272
  max-height: 60vh;
1273
- }.wz-img-manager {
1274
-
1275
- &__selectionHandler {
1276
- margin-top: -50px;
1277
- }
1278
-
1279
- &__module {
1280
- position: fixed;
1281
- bottom: 0;
1282
- left: 0;
1283
- width: 100%;
1284
- height: 0;
1285
- transition: height .3s ease;
1286
- z-index: 2147483647; // snackbar 10
1287
- transform: translateZ(0);
1288
-
1289
- &:before {
1290
- content: '';
1291
- display: block;
1292
- position: absolute;
1293
- top: 0;
1294
- left: 0;
1295
- width: 100%;
1296
- height: 3px;
1297
- background-color: $img-main-color;
1298
- z-index: 999;
1299
- }
1300
-
1301
- &--closed {
1302
- height: 0;
1303
- }
1304
-
1305
- // .wz-img-manager__module--small
1306
- &--small {
1307
- height: 320px;
1308
- @include media('<tablet') {
1309
- height: calc(100vh - 35px);
1310
- }
1311
- }
1312
-
1313
- // .wz-img-manager__module--full
1314
- &--full {
1315
- height: calc(100vh - 50px);
1316
- @include media('<tablet') {
1317
- height: calc(100vh - 35px);
1318
- }
1319
- }
1320
-
1321
- // .wz-img-manager__module--window
1322
- &--window {
1323
- position: relative;
1324
- width: auto;
1325
- bottom: unset;
1326
- left: unset;
1327
- z-index: 29!important;
1328
- height: auto!important;
1329
- padding-bottom: 6.25rem;
1330
-
1331
- &:before {
1332
- content: none;
1333
- height: 0px;
1334
- }
1335
-
1336
- // .wz-img-manager__module--edit
1337
- &--edit {
1338
- .wrapper-tabs {
1339
- display: none;
1340
- }
1341
- }
1342
- }
1343
-
1344
- // .wz-img-manager__module__header
1345
- &__header {
1346
- position: absolute;
1347
- bottom: 100%;
1348
- right: 30px;
1349
- width: 101px;
1350
-
1351
- @include media('<tablet') {
1352
- width: 45px;
1353
- right: 0;
1354
- }
1355
-
1356
- // .wz-img-manager__module__header button
1357
- button {
1358
- width: 45px;
1359
- height: 35px;
1360
- background-color: $img-main-color;
1361
- transition: background-color .3s ease;
1362
- border: none;
1363
- box-shadow: none;
1364
- cursor: pointer;
1365
- outline: none!important;
1366
-
1367
- &:first-child {
1368
- @include media('<tablet') {
1369
- display: none;
1370
- }
1371
- }
1372
-
1373
- span {
1374
- display: none;
1375
- }
1376
-
1377
- i {
1378
- color: #fff;
1379
- font-size: 20px;
1380
- &:before {
1381
- font-size: rem(20) !important;
1382
- }
1383
- }
1384
-
1385
- &:hover, &:focus {
1386
- background-color: darken($img-main-color, 15%);
1387
- }
1388
-
1389
- // .wz-img-manager__module__header button:first-child
1390
- &:first-child {
1391
- border-radius: 3px 0 0 0;
1392
- }
1393
-
1394
- // .wz-img-manager__module__header button:last-child
1395
- &:last-child {
1396
- margin: 0 0 0 1px;
1397
- border-radius: 0 3px 0 0;
1398
- @include media('<tablet') {
1399
- margin: 0;
1400
- border-radius: 0;
1401
- }
1402
- }
1403
- }
1404
- }
1405
- }
1406
- }
1407
-
1408
- .wz-img-manager__module .wz-block {
1409
- background-color: #fff;
1410
- box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
1411
- padding: 0 0.575rem 0 1.075rem;
1412
-
1413
- @include media('<tablet') {
1414
- padding: 0 20px;
1415
- }
1416
-
1417
- &--window {
1418
- padding: rem(30);
1419
- overflow: hidden;
1420
- max-width: 1450px;
1421
- margin: 0 auto;
1422
- }
1423
- }
1424
-
1425
- .wz-img-manager__module .wz-block:hover {
1426
- box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.2);
1427
- }
1428
-
1429
- .nwb-snack-bar .notification {
1430
- z-index: 10002!important;
1431
- }
1273
+ }$green: $really-bad-bad-bad-green !default;
1274
+ $primary: $primary-button !default;
1275
+ $light: $img-placeholder !default;
1276
+ $info: $wizishop-blue !default;
1277
+ $danger: $img-red-color !default;
1278
+ $dark: $img-dark !default;
1432
1279
 
1433
- .nwb-snack-bar .column {
1434
- box-sizing: border-box;
1435
- }
1280
+ $button-padding-vertical: rem(7) !default;
1281
+ $radius: rem(3) !default;
1436
1282
 
1283
+ $button-color: white!default;
1284
+ $button-hover-color: white !default;
1285
+ $button-focus-color: white !default;
1286
+ $button-active-color: white !default;
1287
+ $button-background-color: $primary !default;
1288
+ $button-disabled-background-color: $primary !default;
1289
+ $button-border-color: $primary-button-hover !default;
1290
+ $button-hover-border-color: $primary-button-hover !default;
1291
+ $button-active-border-color: $primary-button-hover !default;
1292
+ $button-focus-border-color: $primary-button-hover !default;
1293
+ $button-disabled-border-color: $primary-button-hover !default;
1437
1294
 
1295
+ $tag-radius: rem(20px)!default;
1438
1296
  .img-editor__infoSection__propertySEO__tooltips {
1439
1297
  i {
1440
1298
  font-size: rem(16);
@@ -4385,26 +4243,168 @@ $card-img-size-small: 140px;
4385
4243
  }
4386
4244
  }
4387
4245
  }
4388
- $green: $really-bad-bad-bad-green !default;
4389
- $primary: $primary-button !default;
4390
- $light: $img-placeholder !default;
4391
- $info: $wizishop-blue !default;
4392
- $danger: $img-red-color !default;
4393
- $dark: $img-dark !default;
4246
+ .wz-img-manager {
4394
4247
 
4395
- $button-padding-vertical: rem(7) !default;
4396
- $radius: rem(3) !default;
4248
+ &__selectionHandler {
4249
+ margin-top: -50px;
4250
+ }
4251
+
4252
+ &__module {
4253
+ position: fixed;
4254
+ bottom: 0;
4255
+ left: 0;
4256
+ width: 100%;
4257
+ height: 0;
4258
+ transition: height .3s ease;
4259
+ z-index: 2147483647; // snackbar 10
4260
+ transform: translateZ(0);
4261
+
4262
+ &:before {
4263
+ content: '';
4264
+ display: block;
4265
+ position: absolute;
4266
+ top: 0;
4267
+ left: 0;
4268
+ width: 100%;
4269
+ height: 3px;
4270
+ background-color: $img-main-color;
4271
+ z-index: 999;
4272
+ }
4273
+
4274
+ &--closed {
4275
+ height: 0;
4276
+ }
4277
+
4278
+ // .wz-img-manager__module--small
4279
+ &--small {
4280
+ height: 320px;
4281
+ @include media('<tablet') {
4282
+ height: calc(100vh - 105px) !important;
4283
+ }
4284
+ }
4285
+
4286
+ // .wz-img-manager__module--full
4287
+ &--full {
4288
+ height: calc(100vh - 50px);
4289
+ @include media('<tablet') {
4290
+ height: calc(100vh - 105px);
4291
+ }
4292
+ }
4293
+
4294
+ // .wz-img-manager__module--window
4295
+ &--window {
4296
+ position: relative;
4297
+ width: auto;
4298
+ bottom: unset;
4299
+ left: unset;
4300
+ z-index: 29!important;
4301
+ height: auto!important;
4302
+ padding-bottom: 6.25rem;
4303
+
4304
+ &:before {
4305
+ content: none;
4306
+ height: 0px;
4307
+ }
4308
+
4309
+ // .wz-img-manager__module--edit
4310
+ &--edit {
4311
+ .wrapper-tabs {
4312
+ display: none;
4313
+ }
4314
+ }
4315
+ }
4316
+
4317
+ // .wz-img-manager__module__header
4318
+ &__header {
4319
+ position: absolute;
4320
+ bottom: 100%;
4321
+ right: 30px;
4322
+ width: 101px;
4323
+
4324
+ @include media('<tablet') {
4325
+ width: 45px;
4326
+ right: 0;
4327
+ }
4328
+
4329
+ // .wz-img-manager__module__header button
4330
+ button {
4331
+ width: 45px;
4332
+ height: 35px;
4333
+ background-color: $img-main-color;
4334
+ transition: background-color .3s ease;
4335
+ border: none;
4336
+ box-shadow: none;
4337
+ cursor: pointer;
4338
+ outline: none!important;
4339
+
4340
+ &:first-child {
4341
+ @include media('<tablet') {
4342
+ display: none;
4343
+ }
4344
+ }
4345
+
4346
+ span {
4347
+ display: none;
4348
+ }
4349
+
4350
+ i {
4351
+ color: #fff;
4352
+ font-size: 20px;
4353
+ &:before {
4354
+ font-size: rem(20) !important;
4355
+ }
4356
+ }
4357
+
4358
+ &:hover, &:focus {
4359
+ background-color: darken($img-main-color, 15%);
4360
+ }
4361
+
4362
+ // .wz-img-manager__module__header button:first-child
4363
+ &:first-child {
4364
+ border-radius: 3px 0 0 0;
4365
+ }
4366
+
4367
+ // .wz-img-manager__module__header button:last-child
4368
+ &:last-child {
4369
+ margin: 0 0 0 1px;
4370
+ border-radius: 0 3px 0 0;
4371
+ @include media('<tablet') {
4372
+ margin: 0;
4373
+ border-radius: 0;
4374
+ }
4375
+ }
4376
+ }
4377
+ }
4378
+ }
4379
+ }
4380
+
4381
+ .wz-img-manager__module .wz-block {
4382
+ background-color: #fff;
4383
+ box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
4384
+ padding: 0 0.575rem 0 1.075rem;
4385
+
4386
+ @include media('<tablet') {
4387
+ padding: 0 20px;
4388
+ }
4389
+
4390
+ &--window {
4391
+ padding: rem(30);
4392
+ overflow: hidden;
4393
+ max-width: 1450px;
4394
+ margin: 0 auto;
4395
+ }
4396
+ }
4397
+
4398
+ .wz-img-manager__module .wz-block:hover {
4399
+ box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.2);
4400
+ }
4401
+
4402
+ .nwb-snack-bar .notification {
4403
+ z-index: 10002!important;
4404
+ }
4405
+
4406
+ .nwb-snack-bar .column {
4407
+ box-sizing: border-box;
4408
+ }
4397
4409
 
4398
- $button-color: white!default;
4399
- $button-hover-color: white !default;
4400
- $button-focus-color: white !default;
4401
- $button-active-color: white !default;
4402
- $button-background-color: $primary !default;
4403
- $button-disabled-background-color: $primary !default;
4404
- $button-border-color: $primary-button-hover !default;
4405
- $button-hover-border-color: $primary-button-hover !default;
4406
- $button-active-border-color: $primary-button-hover !default;
4407
- $button-focus-border-color: $primary-button-hover !default;
4408
- $button-disabled-border-color: $primary-button-hover !default;
4409
4410
 
4410
- $tag-radius: rem(20px)!default;
Binary file