@wizishop/img-manager 0.2.86 → 0.2.87

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.
@@ -1070,12 +1070,134 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
1070
1070
  font-weight: 500;
1071
1071
  }
1072
1072
  }
1073
- .img-editor__infoSection__propertySEO__tooltips {
1074
- i {
1075
- font-size: rem(16);
1076
- color: $main-text;
1077
- }
1078
- }.wz-selector {
1073
+ //.wz-img-manager useful to keep the css priority
1074
+ .wz-img-manager .table-view {
1075
+
1076
+
1077
+ &__row {
1078
+ td {
1079
+ vertical-align: middle;
1080
+ }
1081
+ &__container {
1082
+ display: flex;
1083
+ align-items: center;
1084
+ width: 100%;
1085
+
1086
+ &__imgContainer {
1087
+ margin-right: 20px;
1088
+ position: relative;
1089
+ display: block;
1090
+ min-width: 60px;
1091
+ cursor: pointer;
1092
+
1093
+ &::before {
1094
+ content: '';
1095
+ display: block;
1096
+ padding-top: 100%;
1097
+ }
1098
+
1099
+ &__img {
1100
+ margin: 0!important;
1101
+ position: absolute;
1102
+ top: 50%;
1103
+ left: 50%;
1104
+ max-width: 100%;
1105
+ max-height:100%;
1106
+ width: auto;
1107
+ height: auto;
1108
+ transform: translate(-50%, -50%);
1109
+ object-fit: contain;
1110
+ }
1111
+
1112
+ &.imgSelected {
1113
+
1114
+ &:after {
1115
+ z-index: 1000;
1116
+ content: '';
1117
+ display: block;
1118
+ position: absolute;
1119
+ width: 100%;
1120
+ height: 4px;
1121
+ background-color: $img-main-color;
1122
+ bottom: 0;
1123
+ left: 0;
1124
+ transform: translateZ(0);
1125
+ }
1126
+ }
1127
+
1128
+ &__overlay {
1129
+ position: absolute;
1130
+ top: 25%;
1131
+ left: 25%;
1132
+ height: 100%;
1133
+ width: 100%;
1134
+
1135
+ i {
1136
+ font-size: 30px;
1137
+ color: grey;
1138
+ }
1139
+ }
1140
+ }
1141
+
1142
+ &__name {
1143
+ display: inline-block;
1144
+ background-color: transparent;
1145
+ white-space: nowrap;
1146
+ overflow: hidden;
1147
+ text-overflow: ellipsis;
1148
+ color: $main-text;
1149
+ font-size: 14px;
1150
+ cursor: initial;
1151
+ }
1152
+ }
1153
+ }
1154
+
1155
+ &__dropdown-options {
1156
+ &__label {
1157
+ &--disable {
1158
+ cursor: not-allowed;
1159
+ i {
1160
+ cursor: not-allowed;
1161
+ }
1162
+ }
1163
+ }
1164
+ }
1165
+ }
1166
+
1167
+ .wz-img-manager .table-view .checked {
1168
+ color: $img-main-color;
1169
+ }
1170
+
1171
+ .wz-img-manager .table-view .checked.disabled {
1172
+ color: grey;
1173
+ }
1174
+
1175
+
1176
+ .wz-img-manager .table-view .disabled {
1177
+ cursor: not-allowed;
1178
+ }
1179
+
1180
+
1181
+ .wz-img-manager .is-wizi-hoverable .dropdown-trigger:before {
1182
+ width: 5rem;
1183
+ }
1184
+
1185
+ .table-view .wzImgMngInput {
1186
+ border-radius: 3px;
1187
+ }
1188
+
1189
+ .table-view .wzImgMngInput:active.desabled, .table-view .wzImgMngInput:focus.desabled {
1190
+ border: solid transparent 1px;
1191
+ }
1192
+
1193
+ .wz-img-manager .table-view .dropdown-menu {
1194
+ left: -165px;
1195
+ }
1196
+
1197
+ .grey {
1198
+ color: $img-grey-color;
1199
+ }
1200
+ .wz-selector {
1079
1201
  &__default {
1080
1202
  position: relative;
1081
1203
  &__base {
@@ -1146,789 +1268,252 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
1146
1268
  }
1147
1269
  }
1148
1270
  }
1149
- .mosaic {
1150
- width: 100%;
1151
- display: flex;
1152
- flex-wrap: wrap;
1153
- position: relative;
1154
- min-height: rem(512);
1271
+ image-cropper {
1272
+ max-height: 60vh;
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;
1155
1279
 
1156
- &--displayPexelsImg {
1157
- min-height: unset;
1280
+ $button-padding-vertical: rem(7) !default;
1281
+ $radius: rem(3) !default;
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;
1294
+
1295
+ $tag-radius: rem(20px)!default;
1296
+ .img-editor__infoSection__propertySEO__tooltips {
1297
+ i {
1298
+ font-size: rem(16);
1299
+ color: $main-text;
1158
1300
  }
1301
+ }.wz-img-manager .images-view {
1302
+ text-align: left;
1159
1303
 
1160
- &:not(.fullSize) {
1161
- width: calc(100% + 24px);
1162
- transform: translateX(-12px);
1163
- .mosaic__container__cards {
1164
- padding-bottom: 40px;
1165
- > * {
1166
- width: calc(25% - 24px);
1167
- margin: 0 12px rem(24) 12px;
1168
- @include media('>=desktop','<1300px') {
1169
- width: calc(33.33% - 24px);
1170
- margin: 0 12px rem(24) 12px;
1171
- }
1304
+ &.fullSize {
1305
+ & + .images-view__scroll {
1306
+ max-height: 1160px;
1172
1307
  }
1173
1308
  }
1174
- &.small {
1175
- min-height: 0;
1176
- .mosaic__container__loader {
1177
- top: 0;
1178
- transform: translateX(-50%);
1179
- max-height: 200px;
1180
- }
1181
- .mosaic {
1182
- &__container {
1183
- &__cards {
1184
- padding-bottom: 40px;
1185
- > * {
1186
- width: calc(12.5% - 24px);
1187
- margin: 0 12px rem(24) 12px;
1188
- @include media('>=1400px','<1600px') {
1189
- width: calc(14% - 24px);
1190
- margin: 0 12px rem(24) 12px;
1191
- }
1192
- @include media('>=1200px','<1400px') {
1193
- width: calc(16.66% - 24px);
1194
- margin: 0 12px rem(24) 12px;
1195
- }
1196
- @include media('>=desktop','<1200px') {
1197
- width: calc(20% - 24px);
1198
- margin: 0 12px rem(24) 12px;
1199
- }
1200
- }
1201
- }
1309
+
1310
+ &__scroll {
1311
+ position: relative;
1312
+ height: 100%;
1313
+ z-index: 1;
1314
+
1315
+ &--full {
1316
+ max-height: calc(100vh - 160px)!important;
1317
+ min-height: calc(100vh - 160px) !important;
1202
1318
  }
1203
- }
1204
- }
1205
- }
1206
- &.fullSize {
1207
- width: calc(100% + 24px);
1208
- transform: translateX(-12px);
1209
- @include media('<420px') {
1210
- width: 100%;
1211
- transform: none;
1212
- }
1213
- .mosaic__container__cards {
1214
- > * {
1215
- width: calc(16.66% - 24px);
1216
- margin: 0 12px rem(24) 12px;
1217
- @include media('>=1400px','<1600px') {
1218
- width: calc(20% - 24px);
1219
- margin: 0 12px rem(24) 12px;
1319
+
1320
+ &--smallDisplay {
1321
+ max-height: 275px!important;
1322
+ @include media('<tablet') {
1323
+ max-height: calc(100vh - 90px)!important;
1324
+ min-height: calc(100vh - 90px) !important;
1325
+ }
1220
1326
  }
1221
- @include media('>=desktop','<1400px') {
1222
- width: calc(25% - 24px);
1223
- margin: 0 12px rem(24) 12px;
1327
+
1328
+ &--smallUploadDisplay {
1329
+ max-height: 230px!important;
1224
1330
  }
1225
- @include media('>=tablet','<desktop') {
1226
- width: calc(33.33% - 24px);
1227
- margin: 0 12px rem(24) 12px;
1331
+
1332
+ &--window {
1333
+ max-height: unset!important;
1228
1334
  }
1229
- @include media('>=400px','<tablet') {
1230
- width: calc(50% - 24px);
1231
- margin: 0 12px rem(24) 12px;
1232
- }
1233
- @include media('<420px') {
1234
- width: 100%;
1235
- margin: 0 0 15px;
1236
- }
1237
- }
1238
- }
1239
- &.small {
1240
- .mosaic__container__loader {
1241
- top: 0;
1242
- transform: translateX(-50%);
1243
- max-height: 200px;
1244
- }
1245
- .mosaic {
1246
- &__search {
1247
- display: none;
1248
- @include media('<tablet') {
1249
- display: block;
1250
- margin: 0 0 20px;
1251
- padding: 0;
1252
- width: 100%;
1253
- }
1254
- }
1255
- &__container {
1256
- &__cards {
1257
- > * {
1258
- width: calc(10% - 24px);
1259
- margin: 0 12px rem(24) 12px;
1260
- @include media('>=1400px','<1600px') {
1261
- width: calc(11.11% - 24px);
1262
- margin: 0 12px rem(24) 12px;
1263
- }
1264
- @include media('>=desktop','<1400px') {
1265
- width: calc(12.5% - 24px);
1266
- margin: 0 12px rem(24) 12px;
1267
- }
1268
- @include media('>=tablet','<desktop') {
1269
- width: calc(20% - 24px);
1270
- margin: 0 12px rem(24) 12px;
1271
- }
1272
- @include media('>=500px','<tablet') {
1273
- width: calc(33.33% - 24px);
1274
- margin: 0 12px rem(24) 12px;
1275
- }
1276
- @include media('<500px') {
1277
- width: calc(50% - 24px);
1278
- margin: 0 12px rem(24) 12px;
1279
- }
1280
- }
1281
- }
1282
- }
1283
- }
1284
- }
1285
- }
1286
- &__search {
1287
- width: calc(100% - 24px);
1288
- margin: 0 auto rem(20);
1289
- }
1290
- &__pagination {
1291
- width: 100%;
1292
- }
1293
- &__container {
1294
- &__loader {
1295
- position: absolute;
1296
- top: 50%;
1297
- left: 50%;
1298
- transform: translate(-50%,-50%);
1299
- max-width: 300px;
1300
- max-height: 300px;
1301
- display: flex;
1302
- flex-wrap: wrap;
1303
- flex-direction: column;
1304
- justify-content: center;
1305
- align-items: center;
1306
- }
1307
- &__cards {
1308
- width: 100%;
1309
- display: flex;
1310
- flex-wrap: wrap;
1311
- &--padding {
1312
- padding-right: 20px;
1313
- @include media('<tablet') {
1314
- width: calc(100% + 24px);
1315
- padding: 0;
1316
- }
1317
- }
1318
- }
1319
- }
1320
- }
1321
-
1322
- .mosaic__container__cards {
1323
- z-index: 1;
1324
- & + .mosaic__pagination {
1325
- position: relative;
1326
- z-index: 2;
1327
- }
1328
- }
1329
- .wz-img-manager {
1330
-
1331
- &__selectionHandler {
1332
- margin-top: -50px;
1333
- }
1334
-
1335
- &__module {
1336
- position: fixed;
1337
- bottom: 0;
1338
- left: 0;
1339
- width: 100%;
1340
- height: 0;
1341
- transition: height .3s ease;
1342
- z-index: 2147483647; // snackbar 10
1343
- transform: translateZ(0);
1344
-
1345
- &:before {
1346
- content: '';
1347
- display: block;
1348
- position: absolute;
1349
- top: 0;
1350
- left: 0;
1351
- width: 100%;
1352
- height: 3px;
1353
- background-color: $img-main-color;
1354
- z-index: 999;
1355
- }
1356
-
1357
- &--closed {
1358
- height: 0;
1359
- }
1360
-
1361
- // .wz-img-manager__module--small
1362
- &--small {
1363
- height: 320px;
1364
- @include media('<tablet') {
1365
- height: calc(100vh - 35px);
1366
- }
1367
- }
1368
-
1369
- // .wz-img-manager__module--full
1370
- &--full {
1371
- height: calc(100vh - 50px);
1372
- @include media('<tablet') {
1373
- height: calc(100vh - 35px);
1374
- }
1375
- }
1376
-
1377
- // .wz-img-manager__module--window
1378
- &--window {
1379
- position: relative;
1380
- width: auto;
1381
- bottom: unset;
1382
- left: unset;
1383
- z-index: 29!important;
1384
- height: auto!important;
1385
- padding-bottom: 6.25rem;
1386
-
1387
- &:before {
1388
- content: none;
1389
- height: 0px;
1390
- }
1391
-
1392
- // .wz-img-manager__module--edit
1393
- &--edit {
1394
- .wrapper-tabs {
1395
- display: none;
1396
- }
1397
- }
1398
- }
1399
-
1400
- // .wz-img-manager__module__header
1401
- &__header {
1402
- position: absolute;
1403
- bottom: 100%;
1404
- right: 30px;
1405
- width: 101px;
1406
-
1407
- @include media('<tablet') {
1408
- width: 45px;
1409
- right: 0;
1410
- }
1411
-
1412
- // .wz-img-manager__module__header button
1413
- button {
1414
- width: 45px;
1415
- height: 35px;
1416
- background-color: $img-main-color;
1417
- transition: background-color .3s ease;
1418
- border: none;
1419
- box-shadow: none;
1420
- cursor: pointer;
1421
- outline: none!important;
1422
-
1423
- &:first-child {
1424
- @include media('<tablet') {
1425
- display: none;
1426
- }
1427
- }
1428
-
1429
- span {
1430
- display: none;
1431
- }
1432
-
1433
- i {
1434
- color: #fff;
1435
- font-size: 20px;
1436
- &:before {
1437
- font-size: rem(20) !important;
1438
- }
1439
- }
1440
-
1441
- &:hover, &:focus {
1442
- background-color: darken($img-main-color, 15%);
1443
- }
1444
-
1445
- // .wz-img-manager__module__header button:first-child
1446
- &:first-child {
1447
- border-radius: 3px 0 0 0;
1448
- }
1449
-
1450
- // .wz-img-manager__module__header button:last-child
1451
- &:last-child {
1452
- margin: 0 0 0 1px;
1453
- border-radius: 0 3px 0 0;
1454
- @include media('<tablet') {
1455
- margin: 0;
1456
- border-radius: 0;
1457
- }
1458
- }
1459
- }
1460
- }
1461
- }
1462
- }
1463
-
1464
- .wz-img-manager__module .wz-block {
1465
- background-color: #fff;
1466
- box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
1467
- padding: 0 0.575rem 0 1.075rem;
1468
-
1469
- @include media('<tablet') {
1470
- padding: 0 20px;
1471
- }
1472
-
1473
- &--window {
1474
- padding: rem(30);
1475
- overflow: hidden;
1476
- max-width: 1450px;
1477
- margin: 0 auto;
1478
- }
1479
- }
1480
-
1481
- .wz-img-manager__module .wz-block:hover {
1482
- box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.2);
1483
- }
1484
-
1485
- .nwb-snack-bar .notification {
1486
- z-index: 10002!important;
1487
- }
1488
-
1489
- .nwb-snack-bar .column {
1490
- box-sizing: border-box;
1491
- }
1492
-
1493
-
1494
- //.wz-img-manager useful to keep the css priority
1495
- .wz-img-manager .table-view {
1496
-
1497
-
1498
- &__row {
1499
- td {
1500
- vertical-align: middle;
1501
- }
1502
- &__container {
1503
- display: flex;
1504
- align-items: center;
1505
- width: 100%;
1506
-
1507
- &__imgContainer {
1508
- margin-right: 20px;
1509
- position: relative;
1510
- display: block;
1511
- min-width: 60px;
1512
- cursor: pointer;
1513
-
1514
- &::before {
1515
- content: '';
1516
- display: block;
1517
- padding-top: 100%;
1518
- }
1519
-
1520
- &__img {
1521
- margin: 0!important;
1522
- position: absolute;
1523
- top: 50%;
1524
- left: 50%;
1525
- max-width: 100%;
1526
- max-height:100%;
1527
- width: auto;
1528
- height: auto;
1529
- transform: translate(-50%, -50%);
1530
- object-fit: contain;
1531
- }
1532
-
1533
- &.imgSelected {
1534
-
1535
- &:after {
1536
- z-index: 1000;
1537
- content: '';
1538
- display: block;
1539
- position: absolute;
1540
- width: 100%;
1541
- height: 4px;
1542
- background-color: $img-main-color;
1543
- bottom: 0;
1544
- left: 0;
1545
- transform: translateZ(0);
1546
- }
1547
- }
1548
-
1549
- &__overlay {
1550
- position: absolute;
1551
- top: 25%;
1552
- left: 25%;
1553
- height: 100%;
1554
- width: 100%;
1555
-
1556
- i {
1557
- font-size: 30px;
1558
- color: grey;
1559
- }
1560
- }
1561
- }
1562
-
1563
- &__name {
1564
- display: inline-block;
1565
- background-color: transparent;
1566
- white-space: nowrap;
1567
- overflow: hidden;
1568
- text-overflow: ellipsis;
1569
- color: $main-text;
1570
- font-size: 14px;
1571
- cursor: initial;
1572
- }
1573
- }
1574
- }
1575
-
1576
- &__dropdown-options {
1577
- &__label {
1578
- &--disable {
1579
- cursor: not-allowed;
1580
- i {
1581
- cursor: not-allowed;
1582
- }
1583
- }
1584
- }
1585
- }
1586
- }
1587
-
1588
- .wz-img-manager .table-view .checked {
1589
- color: $img-main-color;
1590
- }
1591
-
1592
- .wz-img-manager .table-view .checked.disabled {
1593
- color: grey;
1594
- }
1595
-
1596
-
1597
- .wz-img-manager .table-view .disabled {
1598
- cursor: not-allowed;
1599
- }
1600
-
1601
-
1602
- .wz-img-manager .is-wizi-hoverable .dropdown-trigger:before {
1603
- width: 5rem;
1604
- }
1605
-
1606
- .table-view .wzImgMngInput {
1607
- border-radius: 3px;
1608
- }
1609
-
1610
- .table-view .wzImgMngInput:active.desabled, .table-view .wzImgMngInput:focus.desabled {
1611
- border: solid transparent 1px;
1612
- }
1613
-
1614
- .wz-img-manager .table-view .dropdown-menu {
1615
- left: -165px;
1616
- }
1617
-
1618
- .grey {
1619
- color: $img-grey-color;
1620
- }
1621
- .wz-img-manager .img-editor {
1622
- &__scroll {
1623
- position: relative;
1624
- height: 100%;
1625
-
1626
- &--full {
1627
- max-height: calc(100vh - 90px)!important;
1628
- min-height: calc(100vh - 90px) !important;
1629
- }
1630
-
1631
- &--smallDisplay {
1632
- max-height: 275px!important;
1633
- @include media('<tablet') {
1634
- max-height: calc(100vh - 90px)!important;
1635
- min-height: calc(100vh - 90px) !important;
1636
- }
1637
- }
1638
-
1639
- &--window {
1640
- max-height: none;
1641
- }
1642
-
1643
- .ng-scroll-content {
1644
- margin-left: 0 !important;
1645
- margin-right: 0 !important;
1646
- min-width: calc(100% - 1rem) !important;
1647
- width: calc(100% - 1rem) !important;
1648
- }
1649
- }
1650
-
1651
- .columns {
1652
- margin-right: 0.8rem;
1653
- margin-left: rem(12);
1654
- margin-top: 12px;
1655
- margin-bottom: 0;
1656
- width: calc(100% + 11px);
1657
-
1658
- .column {
1659
- padding-top: 0;
1660
- padding-bottom: 0px;
1661
- }
1662
- }
1663
-
1664
- &__head-container {
1665
- display: flex;
1666
- justify-content: flex-end;
1667
- align-items: center;
1668
- margin: 30px 30px 20px 0;
1669
-
1670
- &__btnGroup {
1671
- margin-right: 13px;
1672
- opacity: 0;
1673
- visibility: hidden;
1674
- transition: opacity .3s ease-in-out;
1675
-
1676
- &__visible {
1677
- opacity: 1;
1678
- visibility: visible;
1679
- }
1680
-
1681
- &__removeBtn {
1682
- margin-right: 13px;
1683
- }
1684
- }
1685
-
1686
- &__close {
1687
- cursor: pointer;
1688
- font-size: 14px;
1689
- color: $img-grey-color;
1690
- line-height: 40px;
1691
- }
1692
- }
1693
-
1694
- &__container {
1695
- padding: 0.75rem!important;
1696
- display:flex;
1697
- justify-content: center;
1698
- align-items: center;
1699
- background-color: $img-gray-background;
1700
- margin: 0;
1701
- transform: translateY(-16px);
1702
-
1703
- &__toolsContainer {
1704
- display: flex;
1705
- justify-content: center;
1706
- align-items: center;
1707
- margin-bottom: 50px;
1708
-
1709
- &__tool {
1710
- color: $img-second-color;
1711
- margin-right: 30px;
1712
- text-align: center;
1713
- cursor: pointer;
1714
-
1715
- p {
1716
- margin: 0!important;
1717
- color: $img-main-text;
1718
- font-size: rem(12);
1719
- line-height: rem(14);
1720
- }
1721
-
1722
- i {
1723
- font-size: rem(18);
1724
- margin: 0 0 10px;
1725
- }
1726
-
1727
- &--button {
1728
- background-color: $img-green-color;
1729
- color: $img-white!important;
1730
- padding: 10px;
1731
- border-radius: 3px;
1732
- transition: .3s ease;
1733
- white-space: nowrap;
1734
- display: flex;
1735
- justify-content: center;
1736
- align-items: center;
1737
- position: absolute;
1738
- top: 80px;
1739
- left: 50%;
1740
- transform: translateX(-50%);
1741
- height: 35px;
1742
- margin: 0;
1743
- &:hover, &:focus {
1744
- background-color: darken($img-green-color, 15%);
1745
- color: $img-white!important;
1746
- }
1747
- p {
1748
- color: $white!important;
1749
- }
1750
- i {
1751
- margin: 0 5px 0 0;
1752
- }
1753
- }
1754
- &:hover {
1755
- color: $img-main-color;
1756
- }
1757
-
1758
- > * {
1759
- -webkit-touch-callout: none; /* iOS Safari */
1760
- -webkit-user-select: none; /* Safari */
1761
- -khtml-user-select: none; /* Konqueror HTML */
1762
- -moz-user-select: none; /* Old versions of Firefox */
1763
- -ms-user-select: none; /* Internet Explorer/Edge */
1764
- user-select: none; /* Non-prefixed version, currently
1765
- supported by Chrome, Edge, Opera and Firefox */
1335
+
1336
+ &--hide {
1337
+ &--mosaic {
1338
+ min-height: 100px !important;
1339
+ &--small {
1340
+ min-height: unset !important;
1766
1341
  }
1767
1342
  }
1343
+ &--table {
1344
+ min-height: 170px !important;
1345
+ }
1768
1346
 
1769
- &__RotationDropdown {
1770
- min-width: 16rem;
1347
+ }
1348
+
1349
+ .ng-scroll-content {
1350
+ min-width: calc(100% - 1rem) !important;
1351
+ width: calc(100% - 1rem) !important;
1352
+ @include media('<tablet') {
1353
+ min-width: 100%!important;
1771
1354
  }
1772
1355
  }
1356
+ }
1773
1357
 
1774
- &__name {
1775
- font-size: 16px;
1776
- max-width: 50%;
1777
- color: $img-grey-color;
1778
- text-align: center;
1779
- white-space: nowrap;
1780
- overflow: hidden;
1781
- text-overflow: ellipsis;
1358
+ &__container {
1359
+ display: flex;
1360
+ justify-content: space-between;
1361
+ margin: 0 0 rem(20);
1362
+
1363
+ > div {
1364
+ display: flex;
1365
+ align-items: center;
1366
+ .mainColor {
1367
+ margin: 0;
1782
1368
  }
1369
+ }
1783
1370
 
1784
- .button {
1785
- min-height: 35px;
1786
- background-color: $img-primary-button;
1787
- border-color: $img-primary-button-hover;
1788
- color: #ffffff;
1371
+ &--window {
1372
+ margin: rem(30) 0 rem(20);
1789
1373
  }
1790
- }
1791
1374
 
1792
- &__image-cropper {
1793
- --cropper-overlay-color: #f5f8fa;
1794
- //--cropper-outline-color: #a5a5a573;
1795
- padding-bottom: 30px;
1796
- }
1375
+ &--uploadTab {
1376
+ margin: 0 0 rem(20);
1377
+ }
1797
1378
 
1798
- &__infoSection {
1799
- font-size: 14px;
1800
- max-width: 360px;
1801
- padding: 0;
1802
- margin: 0 rem(30) 0 0;
1379
+ &__boxAction {
1380
+ width: 525px;
1381
+ overflow: visible;
1382
+ display: flex;
1383
+ position: relative;
1384
+ justify-content: flex-end;
1385
+ margin-right: 13px;
1386
+ height: 40px;
1387
+ align-items: center;
1388
+ transform: translate(-41px,-3px);
1803
1389
 
1804
- &__propertyEditable {
1805
- margin-bottom: 31px;
1806
- p {
1807
- margin-bottom: 12px;
1808
- font-size: 14px;
1809
- }
1810
- input, button {
1811
- width: 100%;
1812
- height: 40px;
1813
- border: 1px solid #DEE2ED;
1814
- border-radius: 3px;
1815
- color: $img-main-text;
1816
- padding-left: 20px;
1817
- padding-right: 20px;
1390
+ &__confirmSup {
1818
1391
  display: flex;
1819
1392
  justify-content: space-between;
1820
- font-size: 14px;
1393
+ align-items: center;
1394
+ border-left: solid 1px #d8d8d8;
1395
+ color: $img-grey-color;
1396
+ padding-left: 1rem;
1397
+ width: 0;
1398
+ position: absolute;
1399
+ opacity: 0;
1400
+ transition: 0s;
1401
+ visibility: hidden;
1402
+ z-index: 2;
1821
1403
 
1822
- &:hover {
1823
- color: $img-main-color;
1824
- border-color: $img-main-color;
1404
+ &--visible {
1405
+ max-width: unset;
1406
+ width: auto;
1407
+ opacity: 1;
1408
+ transition: 0s;
1409
+ visibility: visible;
1410
+
1411
+ p {
1412
+ transition: left .3s ease-in-out;
1413
+ right: 100%;
1414
+ left: auto;
1415
+ white-space: nowrap;
1416
+ margin-right: 30px;
1417
+ }
1825
1418
  }
1826
- }
1827
1419
 
1828
- button {
1829
- align-items: center;
1830
- background-color: transparent;
1831
- cursor: pointer;
1832
- }
1420
+ &__cancel {
1421
+ margin-right: 14px;
1422
+ background-color: white;
1423
+ border-color: #dbdbdb;
1424
+ color: $img-main-text;
1425
+ }
1833
1426
 
1834
- &__span, &__input {
1835
- text-overflow: ellipsis;
1836
- overflow: hidden;
1837
- white-space: nowrap;
1427
+ &__text {
1428
+ font-size: 14px;
1429
+ position: absolute;
1430
+ left: -126%;
1431
+ transition: font-size .3s ease-in-out, left .3s ease-in-out;
1432
+ }
1838
1433
  }
1839
1434
 
1840
- &__span {
1841
- color: $img-bleu-color;
1842
- & + i {
1843
- color: $img-bleu-color;
1844
- font-weight: 600;
1845
- }
1435
+ &__delBtn {
1436
+ i {
1437
+ margin-right: 13px!important;
1438
+ }
1846
1439
  }
1847
1440
 
1848
- &__tooltips {
1849
- margin-left: 10px;
1441
+ &__import {
1442
+ margin-right: 13px;
1443
+ i {
1444
+ margin-right: 13px!important;
1445
+ }
1850
1446
  }
1851
1447
  }
1852
1448
 
1853
- &__property {
1854
- &:nth-child(3), &:nth-child(4) {
1855
- margin: 0;
1856
- }
1857
- p {
1858
- font-size: 14px;
1859
- display: inline-block;
1860
- }
1449
+ &__buttonBox {
1450
+ margin: 0;
1451
+ width: rem(40);
1452
+ height: rem(40);
1453
+ border: solid $img-light-white-color;
1454
+ border-width: 1px 0 1px 1px;
1861
1455
 
1862
- .mainColor {
1863
- margin: 0!important;
1864
- }
1456
+ border-radius: 3px 0 0 3px;
1457
+ outline: none!important;
1865
1458
 
1866
- p:last-child {
1867
- margin: 0 0 0 10px;
1868
- color: #526384;
1459
+ > div {
1460
+ margin-top: 0;
1461
+ margin-bottom: 0;
1462
+ height: 40px;
1463
+ &:nth-child(2) {
1464
+ border: solid $img-light-white-color;
1465
+ border-width: 1px 1px 1px 0;
1466
+ transform: translateY(-1px);
1467
+ border-radius: 0 3px 3px 0;
1468
+ }
1469
+ div {
1470
+ height: 38px;
1471
+ margin: 0!important;
1472
+ }
1869
1473
  }
1870
- }
1871
-
1872
- &__titleSEO {
1873
- margin: 0 0 20px;
1874
1474
 
1875
- .mainColor {
1876
- font-size: rem(18);
1877
- font-weight: 500;
1878
- }
1879
- }
1880
-
1881
- &__propertySEO {
1882
- margin-bottom: 12px;
1883
- p {
1884
- font-size: 14px;
1885
- display: inline-block;
1886
- margin: 0;
1475
+ .actifDisplayed {
1476
+ color:$img-main-color;
1887
1477
  }
1888
1478
 
1889
- .mainColor {
1890
- & ~ p {
1891
- margin-left: 10px;
1892
- color: $img-green-color;
1479
+ i {
1480
+ margin: 0;
1893
1481
  }
1894
- }
1895
1482
  }
1896
1483
 
1897
- &__divider {
1898
- display: block;
1899
- width: 100%;
1900
- border-bottom: 2px dashed #EFF1F6;
1901
- margin: 30px 0;
1902
- }
1484
+ &__cards {
1485
+ display: flex;
1486
+ justify-content: space-between;
1487
+ flex-wrap: wrap;
1488
+ align-items: center;
1489
+ padding-top: 30px;
1490
+ margin-right: calc(0.8rem - 20px);
1491
+ margin-left: 0.3rem;
1492
+ margin-bottom: 30px;
1903
1493
 
1904
- &__actions {
1905
- height: 35px;
1494
+ }
1495
+ }
1906
1496
 
1907
- &__cancel {
1908
- margin-right: 19px;
1909
- background-color: white;
1910
- border-color: #dbdbdb;
1911
- color: $img-main-text;
1912
- }
1497
+ &--pexels {
1498
+ margin-top: -30px;
1499
+ }
1913
1500
 
1914
- &__save {
1915
- padding: 8px 18px;
1916
- margin: 0!important;
1917
- &--disable {
1918
- cursor: not-allowed;
1919
- }
1920
- }
1921
- }
1501
+ .subHeaderActions .button i {
1502
+ margin-right: 0;
1922
1503
  }
1504
+ }
1505
+
1506
+ @media screen and (max-width: 768px) {
1507
+ .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .images-view__scroll {
1508
+ max-height: none!important;
1923
1509
 
1924
- .dropdown-menu {
1925
- left: -50%;
1510
+ .ng-scroll-content {
1511
+ margin: 0 !important;
1512
+ min-width: 100%!important;
1513
+ width: 100%!important;
1514
+ }
1926
1515
  }
1927
1516
  }
1928
-
1929
- .wz-img-manager .marginBottom {
1930
- margin-bottom: 20px;
1931
- }
1932
1517
  $default-color-p-alert: #1e5568;
1933
1518
  $success-color-p-alert: #11552e;
1934
1519
  $warning-color-p-alert: #3a0505;
@@ -2724,25 +2309,205 @@ $green-color: #2ecc71;
2724
2309
  padding: 0;
2725
2310
  background-color: transparent;
2726
2311
  }
2727
- image-cropper {
2728
- max-height: 60vh;
2729
- }.wz-img-manager .images-view {
2730
- text-align: left;
2312
+ .mosaic {
2313
+ width: 100%;
2314
+ display: flex;
2315
+ flex-wrap: wrap;
2316
+ position: relative;
2317
+ min-height: rem(512);
2731
2318
 
2732
- &.fullSize {
2733
- & + .images-view__scroll {
2734
- max-height: 1160px;
2319
+ &--displayPexelsImg {
2320
+ min-height: unset;
2321
+ }
2322
+
2323
+ &:not(.fullSize) {
2324
+ width: calc(100% + 24px);
2325
+ transform: translateX(-12px);
2326
+ .mosaic__container__cards {
2327
+ padding-bottom: 40px;
2328
+ > * {
2329
+ width: calc(25% - 24px);
2330
+ margin: 0 12px rem(24) 12px;
2331
+ @include media('>=desktop','<1300px') {
2332
+ width: calc(33.33% - 24px);
2333
+ margin: 0 12px rem(24) 12px;
2334
+ }
2335
+ }
2336
+ }
2337
+ &.small {
2338
+ min-height: 0;
2339
+ .mosaic__container__loader {
2340
+ top: 0;
2341
+ transform: translateX(-50%);
2342
+ max-height: 200px;
2343
+ }
2344
+ .mosaic {
2345
+ &__container {
2346
+ &__cards {
2347
+ padding-bottom: 40px;
2348
+ > * {
2349
+ width: calc(12.5% - 24px);
2350
+ margin: 0 12px rem(24) 12px;
2351
+ @include media('>=1400px','<1600px') {
2352
+ width: calc(14% - 24px);
2353
+ margin: 0 12px rem(24) 12px;
2354
+ }
2355
+ @include media('>=1200px','<1400px') {
2356
+ width: calc(16.66% - 24px);
2357
+ margin: 0 12px rem(24) 12px;
2358
+ }
2359
+ @include media('>=desktop','<1200px') {
2360
+ width: calc(20% - 24px);
2361
+ margin: 0 12px rem(24) 12px;
2362
+ }
2363
+ }
2364
+ }
2365
+ }
2366
+ }
2367
+ }
2368
+ }
2369
+ &.fullSize {
2370
+ width: calc(100% + 24px);
2371
+ transform: translateX(-12px);
2372
+ @include media('<420px') {
2373
+ width: 100%;
2374
+ transform: none;
2375
+ }
2376
+ .mosaic__container__cards {
2377
+ > * {
2378
+ width: calc(16.66% - 24px);
2379
+ margin: 0 12px rem(24) 12px;
2380
+ @include media('>=1400px','<1600px') {
2381
+ width: calc(20% - 24px);
2382
+ margin: 0 12px rem(24) 12px;
2383
+ }
2384
+ @include media('>=desktop','<1400px') {
2385
+ width: calc(25% - 24px);
2386
+ margin: 0 12px rem(24) 12px;
2387
+ }
2388
+ @include media('>=tablet','<desktop') {
2389
+ width: calc(33.33% - 24px);
2390
+ margin: 0 12px rem(24) 12px;
2391
+ }
2392
+ @include media('>=400px','<tablet') {
2393
+ width: calc(50% - 24px);
2394
+ margin: 0 12px rem(24) 12px;
2395
+ }
2396
+ @include media('<420px') {
2397
+ width: 100%;
2398
+ margin: 0 0 15px;
2399
+ }
2400
+ }
2401
+ }
2402
+ &.small {
2403
+ .mosaic__container__loader {
2404
+ top: 0;
2405
+ transform: translateX(-50%);
2406
+ max-height: 200px;
2407
+ }
2408
+ .mosaic {
2409
+ &__search {
2410
+ display: none;
2411
+ @include media('<tablet') {
2412
+ display: block;
2413
+ margin: 0 0 20px;
2414
+ padding: 0;
2415
+ width: 100%;
2416
+ wz-input-search {
2417
+ display: block;
2418
+ width: 100%;
2419
+ max-width: 100%;
2420
+ padding-right: 6px;
2421
+ }
2422
+ }
2423
+ }
2424
+ &__container {
2425
+ &__cards {
2426
+ > * {
2427
+ width: calc(10% - 24px);
2428
+ margin: 0 12px rem(24) 12px;
2429
+ @include media('>=1400px','<1600px') {
2430
+ width: calc(11.11% - 24px);
2431
+ margin: 0 12px rem(24) 12px;
2432
+ }
2433
+ @include media('>=desktop','<1400px') {
2434
+ width: calc(12.5% - 24px);
2435
+ margin: 0 12px rem(24) 12px;
2436
+ }
2437
+ @include media('>=tablet','<desktop') {
2438
+ width: calc(20% - 24px);
2439
+ margin: 0 12px rem(24) 12px;
2440
+ }
2441
+ @include media('>=500px','<tablet') {
2442
+ width: calc(33.33% - 24px);
2443
+ margin: 0 12px rem(24) 12px;
2444
+ }
2445
+ @include media('<500px') {
2446
+ width: calc(50% - 24px);
2447
+ margin: 0 12px rem(24) 12px;
2448
+ }
2449
+ }
2450
+ }
2451
+ }
2452
+ }
2453
+ }
2454
+ }
2455
+ &__search {
2456
+ width: calc(100% - 24px);
2457
+ margin: 0 auto rem(20);
2458
+ }
2459
+ &__pagination {
2460
+ width: 100%;
2461
+ }
2462
+ &__container {
2463
+ &__loader {
2464
+ position: absolute;
2465
+ top: 50%;
2466
+ left: 50%;
2467
+ transform: translate(-50%,-50%);
2468
+ max-width: 300px;
2469
+ max-height: 300px;
2470
+ display: flex;
2471
+ flex-wrap: wrap;
2472
+ flex-direction: column;
2473
+ justify-content: center;
2474
+ align-items: center;
2475
+
2476
+ @include media('<=tablet') {
2477
+ width: 100%;
2478
+ max-width: unset;
2479
+ }
2480
+ }
2481
+ &__cards {
2482
+ width: 100%;
2483
+ display: flex;
2484
+ flex-wrap: wrap;
2485
+ &--padding {
2486
+ padding-right: 20px;
2487
+ @include media('<tablet') {
2488
+ width: calc(100% + 24px);
2489
+ padding: 0;
2490
+ }
2735
2491
  }
2736
2492
  }
2493
+ }
2494
+ }
2737
2495
 
2496
+ .mosaic__container__cards {
2497
+ z-index: 1;
2498
+ & + .mosaic__pagination {
2499
+ position: relative;
2500
+ z-index: 2;
2501
+ }
2502
+ }
2503
+ .wz-img-manager .img-editor {
2738
2504
  &__scroll {
2739
2505
  position: relative;
2740
2506
  height: 100%;
2741
- z-index: 1;
2742
2507
 
2743
2508
  &--full {
2744
- max-height: calc(100vh - 160px)!important;
2745
- min-height: calc(100vh - 160px) !important;
2509
+ max-height: calc(100vh - 90px)!important;
2510
+ min-height: calc(100vh - 90px) !important;
2746
2511
  }
2747
2512
 
2748
2513
  &--smallDisplay {
@@ -2753,194 +2518,298 @@ image-cropper {
2753
2518
  }
2754
2519
  }
2755
2520
 
2756
- &--smallUploadDisplay {
2757
- max-height: 230px!important;
2521
+ &--window {
2522
+ max-height: none;
2758
2523
  }
2759
2524
 
2760
- &--window {
2761
- max-height: unset!important;
2525
+ .ng-scroll-content {
2526
+ margin-left: 0 !important;
2527
+ margin-right: 0 !important;
2528
+ min-width: calc(100% - 1rem) !important;
2529
+ width: calc(100% - 1rem) !important;
2762
2530
  }
2531
+ }
2763
2532
 
2764
- &--hide {
2765
- &--mosaic {
2766
- min-height: 100px !important;
2767
- &--small {
2768
- min-height: unset !important;
2769
- }
2533
+ .columns {
2534
+ margin-right: 0.8rem;
2535
+ margin-left: rem(12);
2536
+ margin-top: 12px;
2537
+ margin-bottom: 0;
2538
+ width: calc(100% + 11px);
2539
+
2540
+ .column {
2541
+ padding-top: 0;
2542
+ padding-bottom: 0px;
2543
+ }
2544
+ }
2545
+
2546
+ &__head-container {
2547
+ display: flex;
2548
+ justify-content: flex-end;
2549
+ align-items: center;
2550
+ margin: 30px 30px 20px 0;
2551
+
2552
+ &__btnGroup {
2553
+ margin-right: 13px;
2554
+ opacity: 0;
2555
+ visibility: hidden;
2556
+ transition: opacity .3s ease-in-out;
2557
+
2558
+ &__visible {
2559
+ opacity: 1;
2560
+ visibility: visible;
2770
2561
  }
2771
- &--table {
2772
- min-height: 170px !important;
2562
+
2563
+ &__removeBtn {
2564
+ margin-right: 13px;
2773
2565
  }
2774
-
2775
2566
  }
2776
2567
 
2777
- .ng-scroll-content {
2778
- min-width: calc(100% - 1rem) !important;
2779
- width: calc(100% - 1rem) !important;
2780
- @include media('<tablet') {
2781
- min-width: 100%!important;
2782
- }
2568
+ &__close {
2569
+ cursor: pointer;
2570
+ font-size: 14px;
2571
+ color: $img-grey-color;
2572
+ line-height: 40px;
2783
2573
  }
2784
2574
  }
2785
2575
 
2786
2576
  &__container {
2787
- display: flex;
2788
- justify-content: space-between;
2789
- margin: 0 0 rem(20);
2790
-
2791
- > div {
2792
- display: flex;
2577
+ padding: 0.75rem!important;
2578
+ display:flex;
2579
+ justify-content: center;
2793
2580
  align-items: center;
2794
- .mainColor {
2795
- margin: 0;
2796
- }
2797
- }
2798
-
2799
- &--window {
2800
- margin: rem(30) 0 rem(20);
2801
- }
2802
-
2803
- &--uploadTab {
2804
- margin: 0 0 rem(20);
2805
- }
2581
+ background-color: $img-gray-background;
2582
+ margin: 0;
2583
+ transform: translateY(-16px);
2806
2584
 
2807
- &__boxAction {
2808
- width: 525px;
2809
- overflow: visible;
2585
+ &__toolsContainer {
2810
2586
  display: flex;
2811
- position: relative;
2812
- justify-content: flex-end;
2813
- margin-right: 13px;
2814
- height: 40px;
2587
+ justify-content: center;
2815
2588
  align-items: center;
2816
- transform: translate(-41px,-3px);
2589
+ margin-bottom: 50px;
2817
2590
 
2818
- &__confirmSup {
2819
- display: flex;
2820
- justify-content: space-between;
2821
- align-items: center;
2822
- border-left: solid 1px #d8d8d8;
2823
- color: $img-grey-color;
2824
- padding-left: 1rem;
2825
- width: 0;
2826
- position: absolute;
2827
- opacity: 0;
2828
- transition: 0s;
2829
- visibility: hidden;
2830
- z-index: 2;
2591
+ &__tool {
2592
+ color: $img-second-color;
2593
+ margin-right: 30px;
2594
+ text-align: center;
2595
+ cursor: pointer;
2831
2596
 
2832
- &--visible {
2833
- max-width: unset;
2834
- width: auto;
2835
- opacity: 1;
2836
- transition: 0s;
2837
- visibility: visible;
2597
+ p {
2598
+ margin: 0!important;
2599
+ color: $img-main-text;
2600
+ font-size: rem(12);
2601
+ line-height: rem(14);
2602
+ }
2838
2603
 
2839
- p {
2840
- transition: left .3s ease-in-out;
2841
- right: 100%;
2842
- left: auto;
2843
- white-space: nowrap;
2844
- margin-right: 30px;
2845
- }
2846
- }
2604
+ i {
2605
+ font-size: rem(18);
2606
+ margin: 0 0 10px;
2607
+ }
2847
2608
 
2848
- &__cancel {
2849
- margin-right: 14px;
2850
- background-color: white;
2851
- border-color: #dbdbdb;
2852
- color: $img-main-text;
2609
+ &--button {
2610
+ background-color: $img-green-color;
2611
+ color: $img-white!important;
2612
+ padding: 10px;
2613
+ border-radius: 3px;
2614
+ transition: .3s ease;
2615
+ white-space: nowrap;
2616
+ display: flex;
2617
+ justify-content: center;
2618
+ align-items: center;
2619
+ position: absolute;
2620
+ top: 80px;
2621
+ left: 50%;
2622
+ transform: translateX(-50%);
2623
+ height: 35px;
2624
+ margin: 0;
2625
+ &:hover, &:focus {
2626
+ background-color: darken($img-green-color, 15%);
2627
+ color: $img-white!important;
2628
+ }
2629
+ p {
2630
+ color: $white!important;
2631
+ }
2632
+ i {
2633
+ margin: 0 5px 0 0;
2634
+ }
2853
2635
  }
2854
-
2855
- &__text {
2856
- font-size: 14px;
2857
- position: absolute;
2858
- left: -126%;
2859
- transition: font-size .3s ease-in-out, left .3s ease-in-out;
2636
+ &:hover {
2637
+ color: $img-main-color;
2860
2638
  }
2861
- }
2862
2639
 
2863
- &__delBtn {
2864
- i {
2865
- margin-right: 13px!important;
2640
+ > * {
2641
+ -webkit-touch-callout: none; /* iOS Safari */
2642
+ -webkit-user-select: none; /* Safari */
2643
+ -khtml-user-select: none; /* Konqueror HTML */
2644
+ -moz-user-select: none; /* Old versions of Firefox */
2645
+ -ms-user-select: none; /* Internet Explorer/Edge */
2646
+ user-select: none; /* Non-prefixed version, currently
2647
+ supported by Chrome, Edge, Opera and Firefox */
2866
2648
  }
2867
2649
  }
2868
2650
 
2869
- &__import {
2870
- margin-right: 13px;
2871
- i {
2872
- margin-right: 13px!important;
2873
- }
2651
+ &__RotationDropdown {
2652
+ min-width: 16rem;
2874
2653
  }
2875
2654
  }
2876
2655
 
2877
- &__buttonBox {
2878
- margin: 0;
2879
- width: rem(40);
2880
- height: rem(40);
2881
- border: solid $img-light-white-color;
2882
- border-width: 1px 0 1px 1px;
2656
+ &__name {
2657
+ font-size: 16px;
2658
+ max-width: 50%;
2659
+ color: $img-grey-color;
2660
+ text-align: center;
2661
+ white-space: nowrap;
2662
+ overflow: hidden;
2663
+ text-overflow: ellipsis;
2664
+ }
2883
2665
 
2884
- border-radius: 3px 0 0 3px;
2885
- outline: none!important;
2666
+ .button {
2667
+ min-height: 35px;
2668
+ background-color: $img-primary-button;
2669
+ border-color: $img-primary-button-hover;
2670
+ color: #ffffff;
2671
+ }
2672
+ }
2886
2673
 
2887
- > div {
2888
- margin-top: 0;
2889
- margin-bottom: 0;
2674
+ &__image-cropper {
2675
+ --cropper-overlay-color: #f5f8fa;
2676
+ //--cropper-outline-color: #a5a5a573;
2677
+ padding-bottom: 30px;
2678
+ }
2679
+
2680
+ &__infoSection {
2681
+ font-size: 14px;
2682
+ max-width: 360px;
2683
+ padding: 0;
2684
+ margin: 0 rem(30) 0 0;
2685
+
2686
+ &__propertyEditable {
2687
+ margin-bottom: 31px;
2688
+ p {
2689
+ margin-bottom: 12px;
2690
+ font-size: 14px;
2691
+ }
2692
+ input, button {
2693
+ width: 100%;
2890
2694
  height: 40px;
2891
- &:nth-child(2) {
2892
- border: solid $img-light-white-color;
2893
- border-width: 1px 1px 1px 0;
2894
- transform: translateY(-1px);
2895
- border-radius: 0 3px 3px 0;
2695
+ border: 1px solid #DEE2ED;
2696
+ border-radius: 3px;
2697
+ color: $img-main-text;
2698
+ padding-left: 20px;
2699
+ padding-right: 20px;
2700
+ display: flex;
2701
+ justify-content: space-between;
2702
+ font-size: 14px;
2703
+
2704
+ &:hover {
2705
+ color: $img-main-color;
2706
+ border-color: $img-main-color;
2896
2707
  }
2897
- div {
2898
- height: 38px;
2899
- margin: 0!important;
2708
+ }
2709
+
2710
+ button {
2711
+ align-items: center;
2712
+ background-color: transparent;
2713
+ cursor: pointer;
2714
+ }
2715
+
2716
+ &__span, &__input {
2717
+ text-overflow: ellipsis;
2718
+ overflow: hidden;
2719
+ white-space: nowrap;
2720
+ }
2721
+
2722
+ &__span {
2723
+ color: $img-bleu-color;
2724
+ & + i {
2725
+ color: $img-bleu-color;
2726
+ font-weight: 600;
2900
2727
  }
2901
2728
  }
2902
2729
 
2903
- .actifDisplayed {
2904
- color:$img-main-color;
2730
+ &__tooltips {
2731
+ margin-left: 10px;
2732
+ }
2733
+ }
2734
+
2735
+ &__property {
2736
+ &:nth-child(3), &:nth-child(4) {
2737
+ margin: 0;
2738
+ }
2739
+ p {
2740
+ font-size: 14px;
2741
+ display: inline-block;
2742
+ }
2743
+
2744
+ .mainColor {
2745
+ margin: 0!important;
2746
+ }
2747
+
2748
+ p:last-child {
2749
+ margin: 0 0 0 10px;
2750
+ color: #526384;
2905
2751
  }
2752
+ }
2906
2753
 
2907
- i {
2754
+ &__titleSEO {
2755
+ margin: 0 0 20px;
2756
+
2757
+ .mainColor {
2758
+ font-size: rem(18);
2759
+ font-weight: 500;
2760
+ }
2761
+ }
2762
+
2763
+ &__propertySEO {
2764
+ margin-bottom: 12px;
2765
+ p {
2766
+ font-size: 14px;
2767
+ display: inline-block;
2908
2768
  margin: 0;
2909
2769
  }
2910
- }
2911
2770
 
2912
- &__cards {
2913
- display: flex;
2914
- justify-content: space-between;
2915
- flex-wrap: wrap;
2916
- align-items: center;
2917
- padding-top: 30px;
2918
- margin-right: calc(0.8rem - 20px);
2919
- margin-left: 0.3rem;
2920
- margin-bottom: 30px;
2771
+ .mainColor {
2772
+ & ~ p {
2773
+ margin-left: 10px;
2774
+ color: $img-green-color;
2775
+ }
2776
+ }
2777
+ }
2921
2778
 
2779
+ &__divider {
2780
+ display: block;
2781
+ width: 100%;
2782
+ border-bottom: 2px dashed #EFF1F6;
2783
+ margin: 30px 0;
2922
2784
  }
2923
- }
2924
2785
 
2925
- &--pexels {
2926
- margin-top: -30px;
2786
+ &__actions {
2787
+ height: 35px;
2788
+
2789
+ &__cancel {
2790
+ margin-right: 19px;
2791
+ background-color: white;
2792
+ border-color: #dbdbdb;
2793
+ color: $img-main-text;
2794
+ }
2795
+
2796
+ &__save {
2797
+ padding: 8px 18px;
2798
+ margin: 0!important;
2799
+ &--disable {
2800
+ cursor: not-allowed;
2801
+ }
2802
+ }
2803
+ }
2927
2804
  }
2928
2805
 
2929
- .subHeaderActions .button i {
2930
- margin-right: 0;
2806
+ .dropdown-menu {
2807
+ left: -50%;
2931
2808
  }
2932
2809
  }
2933
2810
 
2934
- @media screen and (max-width: 768px) {
2935
- .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .images-view__scroll {
2936
- max-height: none!important;
2937
-
2938
- .ng-scroll-content {
2939
- margin: 0 !important;
2940
- min-width: 100%!important;
2941
- width: 100%!important;
2942
- }
2943
- }
2811
+ .wz-img-manager .marginBottom {
2812
+ margin-bottom: 20px;
2944
2813
  }
2945
2814
  $card-img-size: 100%;
2946
2815
  $card-img-size-small: 140px;
@@ -4365,26 +4234,168 @@ $card-img-size-small: 140px;
4365
4234
  }
4366
4235
  }
4367
4236
  }
4368
- $green: $really-bad-bad-bad-green !default;
4369
- $primary: $primary-button !default;
4370
- $light: $img-placeholder !default;
4371
- $info: $wizishop-blue !default;
4372
- $danger: $img-red-color !default;
4373
- $dark: $img-dark !default;
4237
+ .wz-img-manager {
4374
4238
 
4375
- $button-padding-vertical: rem(7) !default;
4376
- $radius: rem(3) !default;
4239
+ &__selectionHandler {
4240
+ margin-top: -50px;
4241
+ }
4242
+
4243
+ &__module {
4244
+ position: fixed;
4245
+ bottom: 0;
4246
+ left: 0;
4247
+ width: 100%;
4248
+ height: 0;
4249
+ transition: height .3s ease;
4250
+ z-index: 2147483647; // snackbar 10
4251
+ transform: translateZ(0);
4252
+
4253
+ &:before {
4254
+ content: '';
4255
+ display: block;
4256
+ position: absolute;
4257
+ top: 0;
4258
+ left: 0;
4259
+ width: 100%;
4260
+ height: 3px;
4261
+ background-color: $img-main-color;
4262
+ z-index: 999;
4263
+ }
4264
+
4265
+ &--closed {
4266
+ height: 0;
4267
+ }
4268
+
4269
+ // .wz-img-manager__module--small
4270
+ &--small {
4271
+ height: 320px;
4272
+ @include media('<tablet') {
4273
+ height: calc(100vh - 35px);
4274
+ }
4275
+ }
4276
+
4277
+ // .wz-img-manager__module--full
4278
+ &--full {
4279
+ height: calc(100vh - 50px);
4280
+ @include media('<tablet') {
4281
+ height: calc(100vh - 35px);
4282
+ }
4283
+ }
4284
+
4285
+ // .wz-img-manager__module--window
4286
+ &--window {
4287
+ position: relative;
4288
+ width: auto;
4289
+ bottom: unset;
4290
+ left: unset;
4291
+ z-index: 29!important;
4292
+ height: auto!important;
4293
+ padding-bottom: 6.25rem;
4294
+
4295
+ &:before {
4296
+ content: none;
4297
+ height: 0px;
4298
+ }
4299
+
4300
+ // .wz-img-manager__module--edit
4301
+ &--edit {
4302
+ .wrapper-tabs {
4303
+ display: none;
4304
+ }
4305
+ }
4306
+ }
4307
+
4308
+ // .wz-img-manager__module__header
4309
+ &__header {
4310
+ position: absolute;
4311
+ bottom: 100%;
4312
+ right: 30px;
4313
+ width: 101px;
4314
+
4315
+ @include media('<tablet') {
4316
+ width: 45px;
4317
+ right: 0;
4318
+ }
4319
+
4320
+ // .wz-img-manager__module__header button
4321
+ button {
4322
+ width: 45px;
4323
+ height: 35px;
4324
+ background-color: $img-main-color;
4325
+ transition: background-color .3s ease;
4326
+ border: none;
4327
+ box-shadow: none;
4328
+ cursor: pointer;
4329
+ outline: none!important;
4330
+
4331
+ &:first-child {
4332
+ @include media('<tablet') {
4333
+ display: none;
4334
+ }
4335
+ }
4336
+
4337
+ span {
4338
+ display: none;
4339
+ }
4340
+
4341
+ i {
4342
+ color: #fff;
4343
+ font-size: 20px;
4344
+ &:before {
4345
+ font-size: rem(20) !important;
4346
+ }
4347
+ }
4348
+
4349
+ &:hover, &:focus {
4350
+ background-color: darken($img-main-color, 15%);
4351
+ }
4352
+
4353
+ // .wz-img-manager__module__header button:first-child
4354
+ &:first-child {
4355
+ border-radius: 3px 0 0 0;
4356
+ }
4357
+
4358
+ // .wz-img-manager__module__header button:last-child
4359
+ &:last-child {
4360
+ margin: 0 0 0 1px;
4361
+ border-radius: 0 3px 0 0;
4362
+ @include media('<tablet') {
4363
+ margin: 0;
4364
+ border-radius: 0;
4365
+ }
4366
+ }
4367
+ }
4368
+ }
4369
+ }
4370
+ }
4371
+
4372
+ .wz-img-manager__module .wz-block {
4373
+ background-color: #fff;
4374
+ box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
4375
+ padding: 0 0.575rem 0 1.075rem;
4376
+
4377
+ @include media('<tablet') {
4378
+ padding: 0 20px;
4379
+ }
4380
+
4381
+ &--window {
4382
+ padding: rem(30);
4383
+ overflow: hidden;
4384
+ max-width: 1450px;
4385
+ margin: 0 auto;
4386
+ }
4387
+ }
4388
+
4389
+ .wz-img-manager__module .wz-block:hover {
4390
+ box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.2);
4391
+ }
4392
+
4393
+ .nwb-snack-bar .notification {
4394
+ z-index: 10002!important;
4395
+ }
4396
+
4397
+ .nwb-snack-bar .column {
4398
+ box-sizing: border-box;
4399
+ }
4377
4400
 
4378
- $button-color: white!default;
4379
- $button-hover-color: white !default;
4380
- $button-focus-color: white !default;
4381
- $button-active-color: white !default;
4382
- $button-background-color: $primary !default;
4383
- $button-disabled-background-color: $primary !default;
4384
- $button-border-color: $primary-button-hover !default;
4385
- $button-hover-border-color: $primary-button-hover !default;
4386
- $button-active-border-color: $primary-button-hover !default;
4387
- $button-focus-border-color: $primary-button-hover !default;
4388
- $button-disabled-border-color: $primary-button-hover !default;
4389
4401
 
4390
- $tag-radius: rem(20px)!default;