@wizishop/img-manager 0.2.75 → 0.2.79

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.
Files changed (33) hide show
  1. package/assets/i18n/en.json +1 -1
  2. package/bundles/wizishop-img-manager.umd.js +150 -24
  3. package/bundles/wizishop-img-manager.umd.js.map +1 -1
  4. package/bundles/wizishop-img-manager.umd.min.js +1 -1
  5. package/bundles/wizishop-img-manager.umd.min.js.map +1 -1
  6. package/esm2015/lib/components/images-view/images-view.component.js +10 -4
  7. package/esm2015/lib/components/img-editor/img-editor.component.js +6 -2
  8. package/esm2015/lib/components/shared/pagination/page-selector/page-selector.component.js +55 -0
  9. package/esm2015/lib/components/shared/pagination/pagination.component.js +4 -4
  10. package/esm2015/lib/pipes/pagination/large-number-of-page/large-number-of-page.pipe.js +51 -0
  11. package/esm2015/lib/wz-img-manager.module.js +7 -3
  12. package/esm2015/wizishop-img-manager.js +18 -16
  13. package/esm5/lib/components/images-view/images-view.component.js +10 -4
  14. package/esm5/lib/components/img-editor/img-editor.component.js +6 -2
  15. package/esm5/lib/components/shared/pagination/page-selector/page-selector.component.js +64 -0
  16. package/esm5/lib/components/shared/pagination/pagination.component.js +4 -4
  17. package/esm5/lib/pipes/pagination/large-number-of-page/large-number-of-page.pipe.js +54 -0
  18. package/esm5/lib/wz-img-manager.module.js +7 -3
  19. package/esm5/wizishop-img-manager.js +18 -16
  20. package/fesm2015/wizishop-img-manager.js +122 -10
  21. package/fesm2015/wizishop-img-manager.js.map +1 -1
  22. package/fesm5/wizishop-img-manager.js +134 -10
  23. package/fesm5/wizishop-img-manager.js.map +1 -1
  24. package/lib/components/images-view/images-view.component.d.ts +1 -0
  25. package/lib/components/shared/pagination/page-selector/page-selector.component.d.ts +20 -0
  26. package/lib/components/shared/pagination/pagination.component.d.ts +1 -1
  27. package/lib/pipes/pagination/large-number-of-page/large-number-of-page.pipe.d.ts +10 -0
  28. package/package.json +1 -1
  29. package/wizishop-img-manager-0.2.79.tgz +0 -0
  30. package/wizishop-img-manager.d.ts +17 -15
  31. package/wizishop-img-manager.metadata.json +1 -1
  32. package/wz-img-manager.scss +2226 -2155
  33. package/wizishop-img-manager-0.2.75.tgz +0 -0
@@ -1053,1736 +1053,1782 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
1053
1053
  }
1054
1054
  }
1055
1055
  }
1056
- .mosaic {
1057
- width: 100%;
1058
- display: flex;
1059
- flex-wrap: wrap;
1060
- position: relative;
1061
- min-height: rem(512);
1056
+ //.wz-img-manager useful to keep the css priority
1057
+ .wz-img-manager .table-view {
1062
1058
 
1063
- &--displayPexelsImg {
1064
- min-height: unset;
1065
- }
1066
1059
 
1067
- &:not(.fullSize) {
1068
- width: calc(100% + 24px);
1069
- transform: translateX(-12px);
1070
- .mosaic__container__cards {
1071
- padding-bottom: 40px;
1072
- > * {
1073
- width: calc(25% - 24px);
1074
- margin: 0 12px rem(24) 12px;
1075
- @include media('>=desktop','<1300px') {
1076
- width: calc(33.33% - 24px);
1077
- margin: 0 12px rem(24) 12px;
1078
- }
1079
- }
1080
- }
1081
- &.small {
1082
- min-height: 0;
1083
- .mosaic__container__loader {
1084
- top: 0;
1085
- transform: translateX(-50%);
1086
- max-height: 200px;
1087
- }
1088
- .mosaic {
1089
- &__container {
1090
- &__cards {
1091
- padding-bottom: 40px;
1092
- > * {
1093
- width: calc(12.5% - 24px);
1094
- margin: 0 12px rem(24) 12px;
1095
- @include media('>=1400px','<1600px') {
1096
- width: calc(14% - 24px);
1097
- margin: 0 12px rem(24) 12px;
1098
- }
1099
- @include media('>=1200px','<1400px') {
1100
- width: calc(16.66% - 24px);
1101
- margin: 0 12px rem(24) 12px;
1102
- }
1103
- @include media('>=desktop','<1200px') {
1104
- width: calc(20% - 24px);
1105
- margin: 0 12px rem(24) 12px;
1106
- }
1107
- }
1108
- }
1109
- }
1110
- }
1111
- }
1112
- }
1113
- &.fullSize {
1114
- width: calc(100% + 24px);
1115
- transform: translateX(-12px);
1116
- @include media('<420px') {
1117
- width: 100%;
1118
- transform: none;
1119
- }
1120
- .mosaic__container__cards {
1121
- > * {
1122
- width: calc(16.66% - 24px);
1123
- margin: 0 12px rem(24) 12px;
1124
- @include media('>=1400px','<1600px') {
1125
- width: calc(20% - 24px);
1126
- margin: 0 12px rem(24) 12px;
1127
- }
1128
- @include media('>=desktop','<1400px') {
1129
- width: calc(25% - 24px);
1130
- margin: 0 12px rem(24) 12px;
1131
- }
1132
- @include media('>=tablet','<desktop') {
1133
- width: calc(33.33% - 24px);
1134
- margin: 0 12px rem(24) 12px;
1135
- }
1136
- @include media('>=400px','<tablet') {
1137
- width: calc(50% - 24px);
1138
- margin: 0 12px rem(24) 12px;
1139
- }
1140
- @include media('<420px') {
1141
- width: 100%;
1142
- margin: 0 0 15px;
1143
- }
1144
- }
1145
- }
1146
- &.small {
1147
- .mosaic__container__loader {
1148
- top: 0;
1149
- transform: translateX(-50%);
1150
- max-height: 200px;
1151
- }
1152
- .mosaic {
1153
- &__search {
1154
- display: none;
1060
+ &__row {
1061
+ td {
1062
+ vertical-align: middle;
1155
1063
  }
1156
1064
  &__container {
1157
- &__cards {
1158
- > * {
1159
- width: calc(10% - 24px);
1160
- margin: 0 12px rem(24) 12px;
1161
- @include media('>=1400px','<1600px') {
1162
- width: calc(11.11% - 24px);
1163
- margin: 0 12px rem(24) 12px;
1164
- }
1165
- @include media('>=desktop','<1400px') {
1166
- width: calc(12.5% - 24px);
1167
- margin: 0 12px rem(24) 12px;
1168
- }
1169
- @include media('>=tablet','<desktop') {
1170
- width: calc(20% - 24px);
1171
- margin: 0 12px rem(24) 12px;
1172
- }
1173
- @include media('>=500px','<tablet') {
1174
- width: calc(33.33% - 24px);
1175
- margin: 0 12px rem(24) 12px;
1176
- }
1177
- @include media('<500px') {
1178
- width: calc(50% - 24px);
1179
- margin: 0 12px rem(24) 12px;
1180
- }
1181
- }
1182
- }
1183
- }
1184
- }
1185
- }
1186
- }
1187
- &__search {
1188
- width: calc(100% - 24px);
1189
- margin: 0 auto rem(20);
1190
- }
1191
- &__pagination {
1192
- width: 100%;
1193
- }
1194
- &__container {
1195
- &__loader {
1196
- position: absolute;
1197
- top: 50%;
1198
- left: 50%;
1199
- transform: translate(-50%,-50%);
1200
- max-width: 300px;
1201
- max-height: 300px;
1202
- display: flex;
1203
- flex-wrap: wrap;
1204
- flex-direction: column;
1205
- justify-content: center;
1206
- align-items: center;
1207
- }
1208
- &__cards {
1209
- width: 100%;
1210
- display: flex;
1211
- flex-wrap: wrap;
1212
- &--padding {
1213
- padding-right: 20px;
1214
- }
1215
- }
1216
- }
1217
- }
1218
- $card-img-size: 100%;
1219
- $card-img-size-small: 140px;
1220
-
1221
- //.wz-img-manager useful to keep the css priority
1222
- .wz-img-manager .addCssPriority .img-card {
1223
- display: flex;
1224
- flex-wrap: wrap;
1225
- justify-content: center;
1226
- padding: 0 0 rem(5);
1227
- width: 100%;
1228
- overflow: hidden;
1229
-
1230
- &__container {
1231
- width: 100%!important;
1232
- height: auto!important;
1233
- display: flex;
1234
- border-radius: 3px;
1235
- border: 1px solid $img-light-white-color;
1236
- cursor: pointer;
1237
- overflow: hidden;
1238
- transition: .3s ease;
1239
- position: relative;
1240
- margin: 0 0 rem(10);
1241
- &:before {
1242
- content: '';
1243
- display: block;
1244
- padding-top: 100%;
1245
- }
1246
-
1247
- &.imgSelected {
1248
-
1249
- &:after {
1250
- z-index: 1000;
1251
- content: '';
1252
- display: block;
1253
- position: absolute;
1065
+ display: flex;
1066
+ align-items: center;
1254
1067
  width: 100%;
1255
- height: 4px;
1256
- background-color: $img-main-color;
1257
- bottom: 0;
1258
- left: 0;
1259
- transform: translateZ(0);
1260
- }
1261
- }
1262
-
1263
- &__valid {
1264
- display: flex;
1265
- position: absolute;
1266
- top: 100%;
1267
- left: 50%;
1268
- transform: translate(-50%,0);
1269
- justify-content: center;
1270
- align-items: center;
1271
- width: auto;
1272
- background-color: $img-green-color;
1273
- border-radius: 3px;
1274
- padding: 5px;
1275
- transition: .3s ease;
1276
- i {
1277
- font-size: rem(10);
1278
- color: $white;
1279
- margin: 0 5px 0 0;
1280
- }
1281
- span {
1282
- color: $white;
1283
- font-weight: 500;
1284
- font-size: rem(10);
1285
- }
1286
- }
1287
1068
 
1288
- &:hover, &:focus {
1289
- .img-card__container {
1290
- &__valid {
1291
- transform: translate(-50%, -40px);
1292
- }
1293
- }
1294
- }
1295
-
1296
- &__img {
1297
- width: auto!important;
1298
- height: auto!important;
1299
- background-color: white;
1300
- margin: auto;
1301
- transition: .3s ease;
1302
- position: absolute;
1303
- object-fit: contain;
1304
- max-width: 100%;
1305
- max-height: 100%;
1306
- top: 50%;
1307
- left: 50%;
1308
- transform: translate(-50%,-50%);
1309
- }
1310
-
1311
- &__config {
1312
- position: relative;
1313
- top: 10px;
1314
- left: 10px;
1315
- transform: none;
1316
- z-index: 9999;
1317
- width: 30px;
1318
- opacity: 0;
1319
- transition: .3s ease;
1320
-
1321
- button {
1322
- box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
1323
- margin: 0;
1324
- width: 30px;
1325
- height: 30px;
1326
- box-sizing: content-box;
1327
- border-radius: 3px;
1328
- border: none;
1329
- color: #fff;
1330
- transform: translateX(-40px);
1331
- will-change: transform;
1069
+ &__imgContainer {
1070
+ margin-right: 20px;
1071
+ position: relative;
1072
+ display: block;
1073
+ min-width: 60px;
1332
1074
  cursor: pointer;
1333
- padding: 0;
1334
- display: flex;
1335
- justify-content: center;
1336
- align-content: center;
1337
- align-items: center;
1338
1075
 
1339
- i {
1340
- font-size: 16px;
1341
- color: #fff;
1342
- position: relative;
1343
- z-index: 3;
1344
- }
1345
-
1346
- &:before {
1347
- content: '';
1348
- display: block;
1349
- position: absolute;
1350
- top: 0;
1351
- left: 0;
1352
- border-radius: 3px;
1353
- width: 100%;
1354
- height: 100%;
1355
- z-index: 2;
1076
+ &::before {
1077
+ content: '';
1078
+ display: block;
1079
+ padding-top: 100%;
1356
1080
  }
1357
1081
 
1358
- span {
1359
- position: absolute;
1360
- left: 100%;
1361
- display: flex;
1362
- justify-content: center;
1363
- align-items: center;
1364
- align-content: center;
1365
- height: 100%;
1366
- margin-left: -10px;
1367
- width: auto;
1368
- padding: 0 10px 0 0;
1369
- color: #fff;
1370
- text-transform: capitalize;
1371
- font-size: 14px;
1372
- border-radius: 0 3px 3px 0;
1373
- max-width: 0;
1374
- overflow: hidden;
1375
- z-index: 1;
1376
- transition: .3s ease;
1377
- box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
1378
- white-space: nowrap;
1082
+ &__img {
1083
+ margin: 0!important;
1084
+ position: absolute;
1085
+ top: 50%;
1086
+ left: 50%;
1087
+ max-width: 100%;
1088
+ max-height:100%;
1089
+ width: auto;
1090
+ height: auto;
1091
+ transform: translate(-50%, -50%);
1092
+ object-fit: contain;
1379
1093
  }
1380
1094
 
1381
- &:not(:last-child) {
1382
- margin: 0 0 5px;
1383
- }
1384
- &.size {
1385
- background-color: #1E2E43;
1386
- transition: transform .3s ease .6s;
1387
- span, &:before {
1388
- background-color: #1E2E43;
1389
- }
1390
- }
1391
- &.dl {
1392
- background-color: $img-bleu-action;
1393
- transition: transform .3s ease .45s;
1394
- span, &:before {
1395
- background-color: $img-bleu-action;
1396
- }
1397
- }
1398
- &.edit {
1399
- background-color: $img-orange-color;
1400
- transition: transform .3s ease .3s;
1401
- span, &:before {
1402
- background-color: $img-orange-color;
1403
- }
1404
- }
1405
- &.deleted {
1406
- background-color: $img-red-color;
1407
- transition: transform .3s ease .15s;
1408
- span, &:before {
1409
- background-color: $img-red-color;
1410
- }
1411
- }
1412
- &.selected {
1413
- background-color: #fff;
1414
- border-color: $img-light-white-color;
1415
- transition: transform .3s ease;
1416
- span, &:before {
1417
- background-color: #fff;
1418
- color: $img-grey-color;
1419
- }
1095
+ &.imgSelected {
1420
1096
 
1421
- i {
1422
- color: $img-light-white-color;
1423
- }
1424
- .checked {
1425
- color: $img-bleu-color;
1426
- }
1427
- }
1428
- &:hover, &:focus {
1429
- border-radius: 3px 0 0 3px;
1430
- &:before {
1431
- border-radius: 3px 0 0 3px;
1432
- }
1433
- span {
1434
- transition: max-width 1s ease, margin-left .3s ease;
1435
- max-width: 1000px;
1436
- margin-left: -1px;
1437
- padding-left: 4px;
1438
- will-change: transform, margin;
1439
- }
1097
+ &:after {
1098
+ z-index: 1000;
1099
+ content: '';
1100
+ display: block;
1101
+ position: absolute;
1102
+ width: 100%;
1103
+ height: 4px;
1104
+ background-color: $img-main-color;
1105
+ bottom: 0;
1106
+ left: 0;
1107
+ transform: translateZ(0);
1108
+ }
1440
1109
  }
1441
- }
1442
- }
1443
1110
 
1444
- &__overlay {
1445
- position: absolute;
1446
- top: 0;
1447
- left: 0;
1448
- height: 100%;
1449
- width: 100%;
1450
- display: flex;
1451
- justify-content: center;
1452
- align-items: center;
1453
-
1454
- i {
1455
- font-size: 100px;
1456
- color: grey;
1457
- }
1111
+ &__overlay {
1112
+ position: absolute;
1113
+ top: 25%;
1114
+ left: 25%;
1115
+ height: 100%;
1116
+ width: 100%;
1458
1117
 
1459
- &--smallDisplay {
1460
- i {
1461
- font-size: 75px;
1118
+ i {
1119
+ font-size: 30px;
1120
+ color: grey;
1121
+ }
1122
+ }
1462
1123
  }
1463
- }
1464
- }
1465
1124
 
1466
- &__delete {
1467
- position: absolute;
1468
- top: 0;
1469
- left: 0;
1470
- width: 100%;
1471
- height: 100%;
1472
- background-color: rgba(0,0,0,.45);
1473
- display: flex;
1474
- flex-direction: column;
1475
- justify-content: center;
1476
- align-items: center;
1477
- padding: 15px;
1478
- visibility: hidden;
1479
- transform: translateY(100%);
1480
- opacity: 0;
1481
- z-index: 9999;
1482
- transition: visibility 0s linear .35s, opacity .3s ease, transform .3s ease;
1483
- &.show {
1484
- transform: translateY(0);
1485
- opacity: 1;
1486
- visibility: visible;
1487
- transition: visibility 0s linear, opacity .3s ease .05s, transform .3s ease .05s;
1488
- }
1489
- > span {
1490
- font-size: rem(14);
1491
- color: $img-white;
1492
- font-weight: 600;
1493
- text-align: center;
1494
- display: inline-block;
1495
- margin: 0 0 10px;
1496
- }
1497
- > div {
1498
- display: flex;
1499
- > button {
1500
- padding: 7px 12px;
1501
- font-size: rem(14);
1502
- color: $img-white;
1503
- background-color: $img-red-color;
1504
- font-weight: 600;
1505
- border: none;
1506
- margin: 0 0 0 5px;
1507
- text-transform: capitalize;
1508
- transition: .3s ease;
1509
- &:hover, &:focus {
1510
- background-color: darken($img-red-color, 15%);
1511
- }
1512
- &:first-child {
1513
- background-color: $img-main-color;
1514
- margin: 0 5px 0 0;
1515
- &:hover, &:focus {
1516
- background-color: darken($img-main-color, 15%);
1125
+ &__name {
1126
+ display: inline-block;
1127
+ background-color: transparent;
1128
+ white-space: nowrap;
1129
+ overflow: hidden;
1130
+ text-overflow: ellipsis;
1131
+ color: $main-text;
1132
+ font-size: 14px;
1133
+ cursor: initial;
1134
+ }
1135
+ }
1136
+ }
1137
+
1138
+ &__dropdown-options {
1139
+ &__label {
1140
+ &--disable {
1141
+ cursor: not-allowed;
1142
+ i {
1143
+ cursor: not-allowed;
1517
1144
  }
1518
- }
1519
1145
  }
1520
- }
1521
1146
  }
1522
1147
  }
1148
+ }
1523
1149
 
1524
- &__nameContainer {
1525
- text-align: center;
1526
- overflow: hidden;
1527
- max-width: 100%;
1528
- min-width: 100%;
1529
- position: relative;
1530
- width: auto;
1531
- display: flex;
1532
- justify-content: center;
1533
- align-items: center;
1534
- min-height: rem(16);
1150
+ .wz-img-manager .table-view .checked {
1151
+ color: $img-main-color;
1152
+ }
1535
1153
 
1536
- &.focus {
1537
- overflow: visible;
1538
- }
1154
+ .wz-img-manager .table-view .checked.disabled {
1155
+ color: grey;
1156
+ }
1539
1157
 
1540
- > span {
1541
- padding: 0 rem(10);
1542
- font-size: rem(12);
1543
- line-height: rem(14);
1544
- color: $img-grey-color;
1545
- width: auto;
1546
- white-space: nowrap;
1547
- overflow: hidden;
1548
- text-overflow: ellipsis;
1549
- text-align: center;
1550
- display: inline-block;
1551
- transition: .3s ease;
1552
- pointer-events: none;
1553
- max-width: 100%;
1554
- }
1555
1158
 
1556
- &__name {
1557
- margin: 0;
1558
- padding: 5px;
1559
- font-size: rem(12);
1560
- color: $img-grey-color;
1561
- line-height: rem(14);
1562
- text-align: center;
1563
- width: 100%;
1564
- min-width: 100%;
1565
- white-space: nowrap;
1566
- overflow: hidden;
1567
- text-overflow: ellipsis;
1568
- transition: .3s ease;
1569
- cursor: initial;
1570
- max-width: 100%;
1571
- position: absolute;
1572
- top: 0;
1573
- left: 0;
1574
- opacity: 0;
1159
+ .wz-img-manager .table-view .disabled {
1160
+ cursor: not-allowed;
1161
+ }
1162
+
1163
+
1164
+ .wz-img-manager .is-wizi-hoverable .dropdown-trigger:before {
1165
+ width: 5rem;
1166
+ }
1167
+
1168
+ .table-view .wzImgMngInput {
1169
+ border-radius: 3px;
1170
+ }
1171
+
1172
+ .table-view .wzImgMngInput:active.desabled, .table-view .wzImgMngInput:focus.desabled {
1173
+ border: solid transparent 1px;
1174
+ }
1175
+
1176
+ .wz-img-manager .table-view .dropdown-menu {
1177
+ left: -165px;
1178
+ }
1179
+
1180
+ .grey {
1181
+ color: $img-grey-color;
1182
+ }
1183
+ .wz-selector {
1184
+ &__default {
1185
+ position: relative;
1186
+ &__base {
1187
+ position: relative;
1188
+ height: rem(32);
1189
+ input {
1190
+ font-size: rem(14);
1191
+ line-height: rem(24);
1192
+ color: $img-second-color;
1193
+ border: 1px solid $border-form;
1194
+ border-radius: 2px;
1195
+ height: rem(32);
1196
+ padding: 3px 26px 3px 15px;
1197
+ cursor: pointer;
1575
1198
  &:focus {
1576
- opacity: 1;
1577
- transform: translateY(-5px);
1578
- & + span {
1199
+ cursor: text;
1200
+ padding: 3px 7px;
1201
+ & + i {
1579
1202
  opacity: 0;
1580
1203
  }
1581
1204
  }
1582
1205
  }
1206
+ i {
1207
+ position: absolute;
1208
+ font-size: rem(10);
1209
+ height: 6px;
1210
+ color: $img-second-color;
1211
+ right: 12px;
1212
+ top: 50%;
1213
+ transform: translateY(-125%);
1214
+ cursor: pointer;
1215
+ }
1216
+ }
1217
+ &__absolute {
1218
+ position: absolute;
1219
+ bottom: 100%;
1220
+ left: 0;
1221
+ border-radius: 2px 2px 0 0;
1222
+ background-color: $white;
1223
+ transform: translateY(1px);
1224
+ &__wrapper {
1225
+ width: 100%;
1226
+ display: flex;
1227
+ flex-direction: column;
1228
+ &:last-child {
1229
+ > div {
1230
+ border-bottom: 1px solid $border-form;
1231
+ }
1232
+ }
1233
+ &__item {
1234
+ padding: 3px 15px;
1235
+ width: 100%;
1236
+ color: $img-second-color;
1237
+ font-size: rem(14);
1238
+ line-height: rem(24);
1239
+ border-left: 1px solid $border-form;
1240
+ border-right: 1px solid $border-form;
1241
+ border-top: 1px solid $border-form;
1242
+ transition: .3s ease;
1243
+ cursor: pointer;
1244
+ text-align: center;
1245
+ &:hover, &:focus, &.selected {
1246
+ background-color: $wizishop-blue;
1247
+ color: $white;
1248
+ }
1249
+ }
1250
+ }
1583
1251
  }
1252
+ }
1253
+ }
1254
+ image-cropper {
1255
+ max-height: 60vh;
1256
+ }$green: $really-bad-bad-bad-green !default;
1257
+ $primary: $primary-button !default;
1258
+ $light: $img-placeholder !default;
1259
+ $info: $wizishop-blue !default;
1260
+ $danger: $img-red-color !default;
1261
+ $dark: $img-dark !default;
1584
1262
 
1585
- &:hover, &:focus {
1586
- z-index: 3;
1587
- .img-card {
1588
- &__nameContainer {
1589
- overflow: visible;
1590
- &__name {
1591
- color: #52AECD;
1592
- transform: translateY(-5px);
1593
- }
1263
+ $button-padding-vertical: rem(7) !default;
1264
+ $radius: rem(3) !default;
1265
+
1266
+ $button-color: white!default;
1267
+ $button-hover-color: white !default;
1268
+ $button-focus-color: white !default;
1269
+ $button-active-color: white !default;
1270
+ $button-background-color: $primary !default;
1271
+ $button-disabled-background-color: $primary !default;
1272
+ $button-border-color: $primary-button-hover !default;
1273
+ $button-hover-border-color: $primary-button-hover !default;
1274
+ $button-active-border-color: $primary-button-hover !default;
1275
+ $button-focus-border-color: $primary-button-hover !default;
1276
+ $button-disabled-border-color: $primary-button-hover !default;
1277
+
1278
+ $tag-radius: rem(20px)!default;
1279
+ .img-editor__infoSection__propertySEO__tooltips {
1280
+ i {
1281
+ font-size: rem(16);
1282
+ color: $main-text;
1283
+ }
1284
+ }.wz-img-manager .images-view {
1285
+ text-align: left;
1286
+
1287
+ &.fullSize {
1288
+ & + .images-view__scroll {
1289
+ max-height: 1160px;
1290
+ }
1291
+ }
1292
+
1293
+ &__scroll {
1294
+ position: relative;
1295
+ height: 100%;
1296
+ z-index: 1;
1297
+
1298
+ &--full {
1299
+ max-height: calc(100vh - 160px)!important;
1300
+ min-height: calc(100vh - 160px) !important;
1301
+ }
1302
+
1303
+ &--smallDisplay {
1304
+ max-height: 275px!important;
1305
+ }
1306
+
1307
+ &--smallUploadDisplay {
1308
+ max-height: 230px!important;
1309
+ }
1310
+
1311
+ &--window {
1312
+ max-height: unset!important;
1313
+ }
1314
+
1315
+ &--hide {
1316
+ &--mosaic {
1317
+ min-height: 100px !important;
1318
+ &--small {
1319
+ min-height: unset !important;
1320
+ }
1321
+ }
1322
+ &--table {
1323
+ min-height: 170px !important;
1594
1324
  }
1595
1325
 
1596
- &__container {
1597
- border-color: $wizishop-blue;
1598
- &__img {
1599
- transform: scale(1.02) translate(-50%,-50%);
1600
- }
1601
- &__config {
1602
- opacity: 1;
1603
- button {
1604
- transform: translateX(0);
1605
- &.size {
1606
- transition: transform .3s ease;
1607
- }
1608
- &.dl {
1609
- transition: transform .3s ease .15s;
1610
- }
1611
- &.edit {
1612
- transition: transform .3s ease .3s;
1613
- }
1614
- &.deleted {
1615
- transition: transform .3s ease .45s;
1616
- }
1617
- &.selected {
1618
- transition: transform .3s ease .6s;
1619
- }
1620
- }
1621
- }
1622
- }
1326
+ }
1327
+
1328
+ .ng-scroll-content {
1329
+ min-width: calc(100% - 1rem) !important;
1330
+ width: calc(100% - 1rem) !important;
1623
1331
  }
1624
1332
  }
1625
- }
1626
1333
 
1627
- .wz-img-manager .addCssPriority .img-card .smallDisplay,.wz-img-manager .img-card .smallDisplay img {
1628
- width: $card-img-size-small;
1629
- height: $card-img-size-small;
1630
- }
1334
+ &__container {
1335
+ display: flex;
1336
+ justify-content: space-between;
1337
+ margin: 0 0 rem(20);
1631
1338
 
1632
- .wz-img-manager .addCssPriority .smallNameDisplay .img-card__nameContainer__name {
1633
- width: $card-img-size-small;
1634
- }
1635
- //.wz-img-manager useful to keep the css priority
1636
- .wz-img-manager .table-view {
1339
+ > div {
1340
+ display: flex;
1341
+ align-items: center;
1342
+ .mainColor {
1343
+ margin: 0;
1344
+ }
1345
+ }
1637
1346
 
1347
+ &--window {
1348
+ margin: rem(30) 0 rem(20);
1349
+ }
1638
1350
 
1639
- &__row {
1640
- td {
1641
- vertical-align: middle;
1351
+ &--uploadTab {
1352
+ margin: 0 0 rem(20);
1642
1353
  }
1643
- &__container {
1354
+
1355
+ &__boxAction {
1356
+ width: 525px;
1357
+ overflow: visible;
1644
1358
  display: flex;
1359
+ position: relative;
1360
+ justify-content: flex-end;
1361
+ margin-right: 13px;
1362
+ height: 40px;
1645
1363
  align-items: center;
1646
- width: 100%;
1364
+ transform: translate(-41px,-3px);
1647
1365
 
1648
- &__imgContainer {
1649
- margin-right: 20px;
1650
- position: relative;
1651
- display: block;
1652
- min-width: 60px;
1653
- cursor: pointer;
1366
+ &__confirmSup {
1367
+ display: flex;
1368
+ justify-content: space-between;
1369
+ align-items: center;
1370
+ border-left: solid 1px #d8d8d8;
1371
+ color: $img-grey-color;
1372
+ padding-left: 1rem;
1373
+ width: 0;
1374
+ position: absolute;
1375
+ opacity: 0;
1376
+ transition: 0s;
1377
+ visibility: hidden;
1378
+ z-index: 2;
1654
1379
 
1655
- &::before {
1656
- content: '';
1657
- display: block;
1658
- padding-top: 100%;
1380
+ &--visible {
1381
+ max-width: unset;
1382
+ width: auto;
1383
+ opacity: 1;
1384
+ transition: 0s;
1385
+ visibility: visible;
1386
+
1387
+ p {
1388
+ transition: left .3s ease-in-out;
1389
+ right: 100%;
1390
+ left: auto;
1391
+ white-space: nowrap;
1392
+ margin-right: 30px;
1393
+ }
1659
1394
  }
1660
1395
 
1661
- &__img {
1662
- margin: 0!important;
1396
+ &__cancel {
1397
+ margin-right: 14px;
1398
+ background-color: white;
1399
+ border-color: #dbdbdb;
1400
+ color: $img-main-text;
1401
+ }
1402
+
1403
+ &__text {
1404
+ font-size: 14px;
1663
1405
  position: absolute;
1664
- top: 50%;
1665
- left: 50%;
1666
- max-width: 100%;
1667
- max-height:100%;
1668
- width: auto;
1669
- height: auto;
1670
- transform: translate(-50%, -50%);
1671
- object-fit: contain;
1406
+ left: -126%;
1407
+ transition: font-size .3s ease-in-out, left .3s ease-in-out;
1672
1408
  }
1409
+ }
1673
1410
 
1674
- &.imgSelected {
1411
+ &__delBtn {
1412
+ i {
1413
+ margin-right: 13px!important;
1414
+ }
1415
+ }
1675
1416
 
1676
- &:after {
1677
- z-index: 1000;
1678
- content: '';
1679
- display: block;
1680
- position: absolute;
1681
- width: 100%;
1682
- height: 4px;
1683
- background-color: $img-main-color;
1684
- bottom: 0;
1685
- left: 0;
1686
- transform: translateZ(0);
1687
- }
1417
+ &__import {
1418
+ margin-right: 13px;
1419
+ i {
1420
+ margin-right: 13px!important;
1688
1421
  }
1422
+ }
1423
+ }
1689
1424
 
1690
- &__overlay {
1691
- position: absolute;
1692
- top: 25%;
1693
- left: 25%;
1694
- height: 100%;
1695
- width: 100%;
1425
+ &__buttonBox {
1426
+ margin: 0;
1427
+ width: rem(40);
1428
+ height: rem(40);
1429
+ border: solid $img-light-white-color;
1430
+ border-width: 1px 0 1px 1px;
1696
1431
 
1697
- i {
1698
- font-size: 30px;
1699
- color: grey;
1700
- }
1432
+ border-radius: 3px 0 0 3px;
1433
+ outline: none!important;
1434
+
1435
+ > div {
1436
+ margin-top: 0;
1437
+ margin-bottom: 0;
1438
+ height: 40px;
1439
+ &:nth-child(2) {
1440
+ border: solid $img-light-white-color;
1441
+ border-width: 1px 1px 1px 0;
1442
+ transform: translateY(-1px);
1443
+ border-radius: 0 3px 3px 0;
1701
1444
  }
1445
+ div {
1446
+ height: 38px;
1447
+ margin: 0!important;
1448
+ }
1702
1449
  }
1703
1450
 
1704
- &__name {
1705
- display: inline-block;
1706
- background-color: transparent;
1707
- white-space: nowrap;
1708
- overflow: hidden;
1709
- text-overflow: ellipsis;
1710
- color: $main-text;
1711
- font-size: 14px;
1712
- cursor: initial;
1451
+ .actifDisplayed {
1452
+ color:$img-main-color;
1453
+ }
1454
+
1455
+ i {
1456
+ margin: 0;
1713
1457
  }
1714
1458
  }
1459
+
1460
+ &__cards {
1461
+ display: flex;
1462
+ justify-content: space-between;
1463
+ flex-wrap: wrap;
1464
+ align-items: center;
1465
+ padding-top: 30px;
1466
+ margin-right: calc(0.8rem - 20px);
1467
+ margin-left: 0.3rem;
1468
+ margin-bottom: 30px;
1469
+ }
1470
+ }
1471
+
1472
+ &--pexels {
1473
+ margin-top: -30px;
1474
+ }
1475
+
1476
+ .subHeaderActions .button i {
1477
+ margin-right: 0;
1478
+ }
1479
+ }
1480
+
1481
+ @media screen and (max-width: 768px) {
1482
+ .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .images-view__scroll {
1483
+ max-height: none!important;
1484
+
1485
+ .ng-scroll-content {
1486
+ margin: 0 !important;
1487
+ min-width: 100%!important;
1488
+ width: 100%!important;
1489
+ }
1490
+ }
1491
+ }
1492
+ $default-color-p-alert: #1e5568;
1493
+ $success-color-p-alert: #11552e;
1494
+ $warning-color-p-alert: #3a0505;
1495
+ $primary-button: #e95656;
1496
+ $link-color: #52aecd;
1497
+ $green-color: #2ecc71;
1498
+
1499
+ .wz-alert {
1500
+ width: 100%;
1501
+ background-color: transparentize($link-color, 0.85);
1502
+ color: $link-color;
1503
+ border-radius: 3px;
1504
+ display: flex;
1505
+ flex-wrap: nowrap;
1506
+ justify-content: space-between;
1507
+ padding: 20px;
1508
+ &.success {
1509
+ background-color: transparentize($green-color, 0.85);
1510
+ p {
1511
+ color: $success-color-p-alert;
1512
+ > * {
1513
+ color: $success-color-p-alert;
1514
+ }
1515
+ }
1516
+ i {
1517
+ color: $green-color;
1518
+ }
1519
+ }
1520
+ &.warning {
1521
+ background-color: transparentize($primary-button, 0.85);
1522
+ p {
1523
+ color: $warning-color-p-alert;
1524
+ > * {
1525
+ color: $warning-color-p-alert;
1526
+ }
1527
+ }
1528
+ i {
1529
+ color: $primary-button;
1530
+ }
1531
+ }
1532
+ p {
1533
+ width: 100%;
1534
+ font-size: rem(14);
1535
+ line-height: rem(25);
1536
+ margin: 0;
1537
+ padding: 0;
1538
+ color: $default-color-p-alert;
1539
+ > * {
1540
+ color: $default-color-p-alert;
1541
+ }
1542
+ }
1543
+ i {
1544
+ width: auto;
1545
+ margin: 0 10px 0 0;
1546
+ color: inherit;
1547
+ font-size: rem(14);
1548
+ line-height: rem(25);
1549
+ }
1550
+ }
1551
+ // Warning: in webcomponent (for wizishop-com project) the following style are added by styles-handler.js script (hard-coded)
1552
+ .wz-img-manager .img-selection {
1553
+ background-color: white;
1554
+ margin-left: 1.875rem;
1555
+ margin-right: 1.875rem;
1556
+ transition: height .3s ease;
1557
+ //height: 0;
1558
+ display: flex;
1559
+ align-items: center;
1560
+
1561
+ &--visible {
1562
+ height: 250px;
1563
+ margin: 0 0 40px;
1715
1564
  }
1565
+ }
1716
1566
 
1717
- &__dropdown-options {
1718
- &__label {
1719
- &--disable {
1720
- cursor: not-allowed;
1721
- i {
1722
- cursor: not-allowed;
1723
- }
1724
- }
1725
- }
1726
- }
1567
+ .drag__img {
1568
+ max-width: 100px;
1569
+ max-height: 100px;
1570
+ border: 1px solid #dce0e3;
1571
+ background-color: white;
1727
1572
  }
1728
1573
 
1729
- .wz-img-manager .table-view .checked {
1730
- color: $img-main-color;
1574
+ .img_box {
1575
+ overflow: hidden;
1576
+ &:hover, &:focus {
1577
+ .drag__tooltips {
1578
+ opacity: 1;
1579
+ visibility: visible;
1580
+ transform: translateY(100%);
1581
+ transition: opacity .3s ease .1s, transform .3s ease .1s, visibility 0s linear 0s;
1582
+ }
1583
+ }
1584
+ .delete-btn {
1585
+ position: absolute;
1586
+ top: 100%;
1587
+ left: 50%;
1588
+ transform: translateX(-50%) translateY(100%);
1589
+ opacity: 0;
1590
+ visibility: hidden;
1591
+ transition: opacity .3s ease, transform .3s ease, visibility 0s linear .31s;
1592
+ background-color: $img-red-color;
1593
+ color: $white;
1594
+ font-size: rem(13);
1595
+ height: rem(30);
1596
+ padding: 0 15px;
1597
+ line-height: rem(30);
1598
+ border-radius: 3px;
1599
+ font-weight: 600;
1600
+ }
1601
+ &:hover, &:focus {
1602
+ .delete-btn {
1603
+ opacity: 1;
1604
+ visibility: visible;
1605
+ transform: translateX(-50%) translateY(-40px);
1606
+ transition: opacity .3s ease .05s, transform .3s ease .05s, visibility 0s linear;
1607
+ &:hover, &:focus {
1608
+ background-color: darken($img-red-color, 15%);
1609
+ }
1610
+ }
1611
+ }
1731
1612
  }
1732
1613
 
1733
- .wz-img-manager .table-view .checked.disabled {
1734
- color: grey;
1614
+ .drag__tooltips {
1615
+ opacity: 0;
1616
+ visibility: hidden;
1617
+ width: 100%;
1618
+ padding: 10px;
1619
+ border-radius: 3px;
1620
+ position: absolute;
1621
+ bottom: 100%;
1622
+ transform: translateY(0);
1623
+ font-size: rem(12);
1624
+ color: white;
1625
+ font-weight: 500;
1626
+ text-align: center;
1627
+ background-color: rgba(0,0,0,.65);
1628
+ transition: opacity .3s ease, transform .3s ease, visibility 0s linear .35s;
1735
1629
  }
1736
1630
 
1631
+ .list_img_selection {
1632
+ width: calc(100%);
1633
+ display: flex;
1634
+ flex-direction: row;
1635
+ background: white;
1636
+ border-radius: 4px;
1637
+ overflow-x: auto;
1638
+ align-items: flex-end!important;
1639
+ padding-bottom: 10px;
1640
+ }
1737
1641
 
1738
- .wz-img-manager .table-view .disabled {
1739
- cursor: not-allowed;
1642
+ .img_box {
1643
+ background-color: white;
1644
+ display: flex;
1645
+ flex-direction: row;
1646
+ align-items: center;
1647
+ box-sizing: border-box;
1648
+ cursor: move;
1649
+ flex-grow: 1;
1650
+ flex-basis: 0;
1651
+ justify-content: center;
1652
+ height: fit-content;
1653
+ position: relative;
1654
+ padding: 0;
1655
+ margin: 0 20px 0 0;
1656
+ min-width: 150px;
1657
+ max-width: 150px;
1658
+ &:before {
1659
+ content: '';
1660
+ display: block;
1661
+ padding-top: 100%;
1662
+ }
1663
+ &:first-child {
1664
+ min-width: 200px;
1665
+ max-width: 200px;
1666
+ }
1667
+ img {
1668
+ position: absolute;
1669
+ top: 50%;
1670
+ left: 50%;
1671
+ transform: translate(-50%, -50%);
1672
+ max-width: 100%!important;
1673
+ max-height: 100%;
1674
+ object-fit: contain;
1675
+ width: auto!important;
1676
+ height: auto;
1677
+ }
1740
1678
  }
1741
1679
 
1742
1680
 
1743
- .wz-img-manager .is-wizi-hoverable .dropdown-trigger:before {
1744
- width: 5rem;
1681
+ .cdk-drag-preview {
1682
+ box-sizing: border-box;
1683
+ border-radius: 4px;
1684
+ box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
1685
+ 0 8px 10px 1px rgba(0, 0, 0, 0.14),
1686
+ 0 3px 14px 2px rgba(0, 0, 0, 0.12);
1687
+ img {
1688
+ width: 100%!important;
1689
+ height: auto!important;
1690
+ }
1745
1691
  }
1746
1692
 
1747
- .table-view .wzImgMngInput {
1748
- border-radius: 3px;
1693
+ .cdk-drag-placeholder {
1694
+ opacity: 0;
1749
1695
  }
1750
1696
 
1751
- .table-view .wzImgMngInput:active.desabled, .table-view .wzImgMngInput:focus.desabled {
1752
- border: solid transparent 1px;
1697
+ .cdk-drag-animating {
1698
+ transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
1753
1699
  }
1754
1700
 
1755
- .wz-img-manager .table-view .dropdown-menu {
1756
- left: -165px;
1701
+ .list_img_selection.cdk-drop-list-dragging .img_box:not(.cdk-drag-placeholder) {
1702
+ transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
1757
1703
  }
1758
1704
 
1759
- .grey {
1760
- color: $img-grey-color;
1705
+ .trash {
1706
+ display: none!important;
1707
+ }
1708
+ .wz-img-manager .is-checkradio[type='checkbox'] {
1709
+ outline: 0 !important;
1710
+ & + label {
1711
+ font-size: rem(14);
1712
+ line-height: rem(24);
1713
+ color: $input-radio-color-label;
1714
+ padding-left: 26px;
1715
+ outline: 0 !important;
1716
+ &:before {
1717
+ width: 16px;
1718
+ height: 16px;
1719
+ border: 1px solid $border-color;
1720
+ top: 4px;
1721
+ transition: all 0.3s ease-in-out;
1722
+ }
1723
+ &:after {
1724
+ top: 6.3px !important;
1725
+ left: 3px !important;
1726
+ width: 10px;
1727
+ height: 12px;
1728
+ border: none !important;
1729
+ background: transparent
1730
+ url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='check' viewBox='0 0 512 512' class='svg-inline--fa fa-check fa-w-16 fa-5x'%3E%3Cpath fill='%23ffffff' d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'/%3E%3C/svg%3E")
1731
+ center center / 8px 8px no-repeat;
1732
+ transform: scale(1) translateY(0px) translateX(0px) rotate(0deg) !important;
1733
+ transition: all 0.3s ease-in-out;
1734
+ }
1735
+ &:hover,
1736
+ &:focus {
1737
+ &:before {
1738
+ border-color: $input-active-color !important;
1739
+ }
1740
+ }
1741
+ &:before,
1742
+ &:after {
1743
+ outline: 0 !important;
1744
+ }
1745
+ }
1746
+ &:hover {
1747
+ & + label {
1748
+ color: $input-radio-color-active-label;
1749
+ &:before {
1750
+ border-color: $input-active-color !important;
1751
+ }
1752
+ &:after {
1753
+ border-color: $white !important;
1754
+ }
1755
+ }
1756
+ &:not([disabled]) {
1757
+ & + label {
1758
+ &:before {
1759
+ border-color: $input-active-color !important;
1760
+ }
1761
+ }
1762
+ }
1763
+ }
1764
+ &:checked + label {
1765
+ color: $input-radio-color-active-label;
1766
+ &:before {
1767
+ border: 1px solid $input-active-color;
1768
+ background-color: $input-active-color;
1769
+ transition: all 0.3s ease-in-out;
1770
+ }
1771
+ &:after {
1772
+ left: 7px;
1773
+ top: 8px;
1774
+ transition: all 0.3s ease-in-out;
1775
+ }
1776
+ }
1761
1777
  }
1762
- $green: $really-bad-bad-bad-green !default;
1763
- $primary: $primary-button !default;
1764
- $light: $img-placeholder !default;
1765
- $info: $wizishop-blue !default;
1766
- $danger: $img-red-color !default;
1767
- $dark: $img-dark !default;
1768
-
1769
- $button-padding-vertical: rem(7) !default;
1770
- $radius: rem(3) !default;
1771
-
1772
- $button-color: white!default;
1773
- $button-hover-color: white !default;
1774
- $button-focus-color: white !default;
1775
- $button-active-color: white !default;
1776
- $button-background-color: $primary !default;
1777
- $button-disabled-background-color: $primary !default;
1778
- $button-border-color: $primary-button-hover !default;
1779
- $button-hover-border-color: $primary-button-hover !default;
1780
- $button-active-border-color: $primary-button-hover !default;
1781
- $button-focus-border-color: $primary-button-hover !default;
1782
- $button-disabled-border-color: $primary-button-hover !default;
1783
-
1784
- $tag-radius: rem(20px)!default;
1785
- image-cropper {
1786
- max-height: 60vh;
1787
- }.wz-img-manager .images-view {
1788
- text-align: left;
1789
1778
 
1790
- &.fullSize {
1791
- & + .images-view__scroll {
1792
- max-height: 1160px;
1779
+ .wz-img-manager .field {
1780
+ &__row {
1781
+ min-width: 100%;
1782
+ margin: 0 0 10px;
1783
+ }
1784
+ &--nowrap {
1785
+ display: inline-block;
1786
+ width: auto;
1787
+ min-width: 0;
1788
+ margin: 0 10px 10px 0;
1789
+ .field {
1790
+ &__row {
1791
+ width: auto;
1792
+ display: inline-block;
1793
+ margin: 0;
1793
1794
  }
1794
1795
  }
1795
-
1796
- &__scroll {
1797
- position: relative;
1798
- height: 100%;
1799
- z-index: 1;
1800
-
1801
- &--full {
1802
- max-height: calc(100vh - 160px)!important;
1803
- min-height: calc(100vh - 160px) !important;
1796
+ }
1797
+ &.alone {
1798
+ .is-checkradio[type='checkbox'] {
1799
+ & + label {
1800
+ padding: 0;
1801
+ &:before {
1802
+ border-width: 1px;
1803
+ width: 16px;
1804
+ height: 16px;
1805
+ border-radius: 2px;
1804
1806
  }
1805
-
1806
- &--smallDisplay {
1807
- max-height: 275px!important;
1807
+ }
1808
+ &:checked + label {
1809
+ &:after {
1810
+ top: 7px;
1811
+ transform: scale(1.1) translateY(1px) translateX(6px) rotate(45deg);
1808
1812
  }
1813
+ }
1814
+ }
1815
+ }
1816
+ }
1817
+ .wz-img-manager {
1809
1818
 
1810
- &--smallUploadDisplay {
1811
- max-height: 230px!important;
1812
- }
1819
+ &__selectionHandler {
1820
+ margin-top: -50px;
1821
+ }
1813
1822
 
1814
- &--window {
1815
- max-height: unset!important;
1816
- }
1823
+ &__module {
1824
+ position: fixed;
1825
+ bottom: 0;
1826
+ left: 0;
1827
+ width: 100%;
1828
+ height: 0;
1829
+ transition: height .3s ease;
1830
+ z-index: 2147483647; // snackbar 10
1831
+ transform: translateZ(0);
1817
1832
 
1818
- &--hide {
1819
- &--mosaic {
1820
- min-height: 100px !important;
1821
- &--small {
1822
- min-height: unset !important;
1823
- }
1824
- }
1825
- &--table {
1826
- min-height: 170px !important;
1827
- }
1833
+ &:before {
1834
+ content: '';
1835
+ display: block;
1836
+ position: absolute;
1837
+ top: 0;
1838
+ left: 0;
1839
+ width: 100%;
1840
+ height: 3px;
1841
+ background-color: $img-main-color;
1842
+ z-index: 999;
1843
+ }
1828
1844
 
1829
- }
1845
+ &--closed {
1846
+ height: 0;
1847
+ }
1830
1848
 
1831
- .ng-scroll-content {
1832
- min-width: calc(100% - 1rem) !important;
1833
- width: calc(100% - 1rem) !important;
1834
- }
1849
+ // .wz-img-manager__module--small
1850
+ &--small {
1851
+ height: 320px;
1835
1852
  }
1836
1853
 
1837
- &__container {
1838
- display: flex;
1839
- justify-content: space-between;
1840
- margin: 0 0 rem(20);
1854
+ // .wz-img-manager__module--full
1855
+ &--full {
1856
+ height: calc(100vh - 50px);
1857
+ }
1841
1858
 
1842
- > div {
1843
- display: flex;
1844
- align-items: center;
1845
- .mainColor {
1846
- margin: 0;
1847
- }
1848
- }
1859
+ // .wz-img-manager__module--window
1860
+ &--window {
1861
+ position: relative;
1862
+ width: auto;
1863
+ bottom: unset;
1864
+ left: unset;
1865
+ z-index: 29!important;
1866
+ height: auto!important;
1867
+ padding-bottom: 6.25rem;
1849
1868
 
1850
- &--window {
1851
- margin: rem(30) 0 rem(20);
1852
- }
1869
+ &:before {
1870
+ content: none;
1871
+ height: 0px;
1872
+ }
1853
1873
 
1854
- &--uploadTab {
1855
- margin: 0 0 rem(20);
1874
+ // .wz-img-manager__module--edit
1875
+ &--edit {
1876
+ .wrapper-tabs {
1877
+ display: none;
1856
1878
  }
1879
+ }
1880
+ }
1857
1881
 
1858
- &__boxAction {
1859
- width: 525px;
1860
- overflow: visible;
1861
- display: flex;
1862
- position: relative;
1863
- justify-content: flex-end;
1864
- margin-right: 13px;
1865
- height: 40px;
1866
- align-items: center;
1867
- transform: translate(-41px,-3px);
1868
-
1869
- &__confirmSup {
1870
- display: flex;
1871
- justify-content: space-between;
1872
- align-items: center;
1873
- border-left: solid 1px #d8d8d8;
1874
- color: $img-grey-color;
1875
- padding-left: 1rem;
1876
- width: 0;
1877
- position: absolute;
1878
- opacity: 0;
1879
- transition: 0s;
1880
- visibility: hidden;
1881
- z-index: 2;
1882
-
1883
- &--visible {
1884
- max-width: unset;
1885
- width: auto;
1886
- opacity: 1;
1887
- transition: 0s;
1888
- visibility: visible;
1889
-
1890
- p {
1891
- transition: left .3s ease-in-out;
1892
- right: 100%;
1893
- left: auto;
1894
- white-space: nowrap;
1895
- margin-right: 30px;
1896
- }
1897
- }
1898
-
1899
- &__cancel {
1900
- margin-right: 14px;
1901
- background-color: white;
1902
- border-color: #dbdbdb;
1903
- color: $img-main-text;
1904
- }
1905
-
1906
- &__text {
1907
- font-size: 14px;
1908
- position: absolute;
1909
- left: -126%;
1910
- transition: font-size .3s ease-in-out, left .3s ease-in-out;
1911
- }
1912
- }
1882
+ // .wz-img-manager__module__header
1883
+ &__header {
1884
+ position: absolute;
1885
+ bottom: 100%;
1886
+ right: 30px;
1887
+ width: 101px;
1913
1888
 
1914
- &__delBtn {
1915
- i {
1916
- margin-right: 13px!important;
1917
- }
1918
- }
1889
+ // .wz-img-manager__module__header button
1890
+ button {
1891
+ width: 45px;
1892
+ height: 35px;
1893
+ background-color: $img-main-color;
1894
+ transition: background-color .3s ease;
1895
+ border: none;
1896
+ box-shadow: none;
1897
+ cursor: pointer;
1898
+ outline: none!important;
1919
1899
 
1920
- &__import {
1921
- margin-right: 13px;
1922
- i {
1923
- margin-right: 13px!important;
1924
- }
1925
- }
1900
+ span {
1901
+ display: none;
1926
1902
  }
1927
1903
 
1928
- &__buttonBox {
1929
- margin: 0;
1930
- width: rem(40);
1931
- height: rem(40);
1932
- border: solid $img-light-white-color;
1933
- border-width: 1px 0 1px 1px;
1934
-
1935
- border-radius: 3px 0 0 3px;
1936
- outline: none!important;
1937
-
1938
- > div {
1939
- margin-top: 0;
1940
- margin-bottom: 0;
1941
- height: 40px;
1942
- &:nth-child(2) {
1943
- border: solid $img-light-white-color;
1944
- border-width: 1px 1px 1px 0;
1945
- transform: translateY(-1px);
1946
- border-radius: 0 3px 3px 0;
1947
- }
1948
- div {
1949
- height: 38px;
1950
- margin: 0!important;
1951
- }
1952
- }
1904
+ i {
1905
+ color: #fff;
1906
+ font-size: 20px;
1907
+ &:before {
1908
+ font-size: rem(20) !important;
1909
+ }
1910
+ }
1953
1911
 
1954
- .actifDisplayed {
1955
- color:$img-main-color;
1956
- }
1912
+ &:hover, &:focus {
1913
+ background-color: darken($img-main-color, 15%);
1914
+ }
1957
1915
 
1958
- i {
1959
- margin: 0;
1960
- }
1916
+ // .wz-img-manager__module__header button:first-child
1917
+ &:first-child {
1918
+ border-radius: 3px 0 0 0;
1961
1919
  }
1962
1920
 
1963
- &__cards {
1964
- display: flex;
1965
- justify-content: space-between;
1966
- flex-wrap: wrap;
1967
- align-items: center;
1968
- padding-top: 30px;
1969
- margin-right: calc(0.8rem - 20px);
1970
- margin-left: 0.3rem;
1971
- margin-bottom: 30px;
1921
+ // .wz-img-manager__module__header button:last-child
1922
+ &:last-child {
1923
+ margin: 0 0 0 1px;
1924
+ border-radius: 0 3px 0 0;
1972
1925
  }
1926
+ }
1973
1927
  }
1928
+ }
1929
+ }
1974
1930
 
1975
- &--pexels {
1976
- margin-top: -30px;
1977
- }
1931
+ .wz-img-manager__module .wz-block {
1932
+ background-color: #fff;
1933
+ box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
1934
+ padding: 0 0.575rem 0 1.075rem;
1978
1935
 
1979
- .subHeaderActions .button i {
1980
- margin-right: 0;
1936
+ &--window {
1937
+ padding: rem(30);
1938
+ overflow: hidden;
1939
+ max-width: 1450px;
1940
+ margin: 0 auto;
1981
1941
  }
1982
1942
  }
1983
1943
 
1984
- @media screen and (max-width: 768px) {
1985
- .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .images-view__scroll {
1986
- max-height: none!important;
1987
-
1988
- .ng-scroll-content {
1989
- margin: 0 !important;
1990
- min-width: 100%!important;
1991
- width: 100%!important;
1992
- }
1993
- }
1944
+ .wz-img-manager__module .wz-block:hover {
1945
+ box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.2);
1994
1946
  }
1995
- .img-editor__infoSection__propertySEO__tooltips {
1996
- i {
1997
- font-size: rem(16);
1998
- color: $main-text;
1999
- }
2000
- }// Warning: in webcomponent (for wizishop-com project) the following style are added by styles-handler.js script (hard-coded)
2001
- .wz-img-manager .img-selection {
2002
- background-color: white;
2003
- margin-left: 1.875rem;
2004
- margin-right: 1.875rem;
2005
- transition: height .3s ease;
2006
- //height: 0;
2007
- display: flex;
2008
- align-items: center;
2009
1947
 
2010
- &--visible {
2011
- height: 250px;
2012
- margin: 0 0 40px;
2013
- }
1948
+ .nwb-snack-bar .notification {
1949
+ z-index: 10002!important;
2014
1950
  }
2015
1951
 
2016
- .drag__img {
2017
- max-width: 100px;
2018
- max-height: 100px;
2019
- border: 1px solid #dce0e3;
2020
- background-color: white;
1952
+ .nwb-snack-bar .column {
1953
+ box-sizing: border-box;
2021
1954
  }
1955
+ .wz-img-manager .dropdownWizi {
1956
+ padding: 10px;
2022
1957
 
2023
- .img_box {
2024
- overflow: hidden;
2025
- &:hover, &:focus {
2026
- .drag__tooltips {
2027
- opacity: 1;
2028
- visibility: visible;
2029
- transform: translateY(100%);
2030
- transition: opacity .3s ease .1s, transform .3s ease .1s, visibility 0s linear 0s;
1958
+ &.is-hoverable {
1959
+ .rotate {
1960
+ i {
1961
+ @include simple_transition();
1962
+ transform: rotate(90deg);
1963
+ cursor: pointer;
1964
+ }
1965
+ }
1966
+ &:hover,
1967
+ &:active {
1968
+ .rotate:not(.rotate--disable) {
1969
+ i {
1970
+ @include simple_transition();
1971
+ transform: rotate(0deg);
1972
+ }
1973
+ }
1974
+ }
2031
1975
  }
2032
- }
2033
- .delete-btn {
2034
- position: absolute;
2035
- top: 100%;
2036
- left: 50%;
2037
- transform: translateX(-50%) translateY(100%);
2038
- opacity: 0;
2039
- visibility: hidden;
2040
- transition: opacity .3s ease, transform .3s ease, visibility 0s linear .31s;
2041
- background-color: $img-red-color;
2042
- color: $white;
2043
- font-size: rem(13);
2044
- height: rem(30);
2045
- padding: 0 15px;
2046
- line-height: rem(30);
2047
- border-radius: 3px;
2048
- font-weight: 600;
2049
- }
2050
- &:hover, &:focus {
2051
- .delete-btn {
2052
- opacity: 1;
2053
- visibility: visible;
2054
- transform: translateX(-50%) translateY(-40px);
2055
- transition: opacity .3s ease .05s, transform .3s ease .05s, visibility 0s linear;
2056
- &:hover, &:focus {
2057
- background-color: darken($img-red-color, 15%);
2058
- }
1976
+
1977
+ &:not(.is-hoverable) {
1978
+ .rotate {
1979
+ i {
1980
+ @include simple_transition();
1981
+ transform: rotate(90deg);
1982
+ }
1983
+ }
2059
1984
  }
2060
- }
2061
- }
2062
1985
 
2063
- .drag__tooltips {
2064
- opacity: 0;
2065
- visibility: hidden;
2066
- width: 100%;
2067
- padding: 10px;
2068
- border-radius: 3px;
2069
- position: absolute;
2070
- bottom: 100%;
2071
- transform: translateY(0);
2072
- font-size: rem(12);
2073
- color: white;
2074
- font-weight: 500;
2075
- text-align: center;
2076
- background-color: rgba(0,0,0,.65);
2077
- transition: opacity .3s ease, transform .3s ease, visibility 0s linear .35s;
2078
- }
1986
+ .dropdown-item.active-item {
1987
+ background-color: #F5F8FA;
2079
1988
 
2080
- .list_img_selection {
2081
- width: calc(100%);
2082
- display: flex;
2083
- flex-direction: row;
2084
- background: white;
2085
- border-radius: 4px;
2086
- overflow-x: auto;
2087
- align-items: flex-end!important;
2088
- padding-bottom: 10px;
2089
- }
1989
+ p, i {
1990
+ color: #1D2A3B;
1991
+ }
1992
+ }
2090
1993
 
2091
- .img_box {
2092
- background-color: white;
2093
- display: flex;
2094
- flex-direction: row;
2095
- align-items: center;
2096
- box-sizing: border-box;
2097
- cursor: move;
2098
- flex-grow: 1;
2099
- flex-basis: 0;
2100
- justify-content: center;
2101
- height: fit-content;
2102
- position: relative;
2103
- padding: 0;
2104
- margin: 0 20px 0 0;
2105
- min-width: 150px;
2106
- max-width: 150px;
2107
- &:before {
2108
- content: '';
2109
- display: block;
2110
- padding-top: 100%;
2111
- }
2112
- &:first-child {
2113
- min-width: 200px;
2114
- max-width: 200px;
2115
- }
2116
- img {
2117
- position: absolute;
2118
- top: 50%;
2119
- left: 50%;
2120
- transform: translate(-50%, -50%);
2121
- max-width: 100%!important;
2122
- max-height: 100%;
2123
- object-fit: contain;
2124
- width: auto!important;
2125
- height: auto;
2126
- }
2127
- }
1994
+ .dropdown-item {
1995
+ margin-left: 10px;
1996
+ margin-right: 10px;
1997
+ cursor: pointer;
2128
1998
 
1999
+ i {
2000
+ margin-right: 8px;
2001
+ }
2002
+ p, i {
2003
+ color: #526384;
2004
+ display: inline-block;
2005
+ }
2129
2006
 
2130
- .cdk-drag-preview {
2131
- box-sizing: border-box;
2132
- border-radius: 4px;
2133
- box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
2134
- 0 8px 10px 1px rgba(0, 0, 0, 0.14),
2135
- 0 3px 14px 2px rgba(0, 0, 0, 0.12);
2136
- img {
2137
- width: 100%!important;
2138
- height: auto!important;
2139
- }
2140
- }
2007
+ p {
2008
+ margin-top: 0;
2009
+ margin-bottom: 0;
2010
+ }
2141
2011
 
2142
- .cdk-drag-placeholder {
2143
- opacity: 0;
2144
- }
2012
+ > * {
2013
+ -webkit-touch-callout: none; /* iOS Safari */
2014
+ -webkit-user-select: none; /* Safari */
2015
+ -khtml-user-select: none; /* Konqueror HTML */
2016
+ -moz-user-select: none; /* Old versions of Firefox */
2017
+ -ms-user-select: none; /* Internet Explorer/Edge */
2018
+ user-select: none; /* Non-prefixed version, currently
2019
+ supported by Chrome, Edge, Opera and Firefox */
2020
+ }
2021
+
2022
+ &:hover {
2023
+ background-color: #F5F8FA;
2024
+ p, i {
2025
+ color: $img-main-color;
2026
+ }
2027
+ }
2028
+ }
2029
+
2030
+ .dropdown-content {
2031
+ &:before {
2032
+ content: '';
2033
+ display: block;
2034
+ position: absolute;
2035
+ bottom: 100%;
2036
+ left: 90%;
2037
+ transform: translateX(-50%) translateY(5px);
2038
+ width: 0;
2039
+ height: 0;
2040
+ border-style: solid;
2041
+ border-width: 0 6px 8px 6px;
2042
+ border-color: transparent transparent #fff transparent;
2043
+ z-index: 2;
2044
+ }
2045
+ &:after {
2046
+ content: '';
2047
+ display: block;
2048
+ position: absolute;
2049
+ bottom: 100%;
2050
+ left: 90%;
2051
+ transform: translateX(-50%) translateY(4px);
2052
+ width: 0;
2053
+ height: 0;
2054
+ border-style: solid;
2055
+ border-width: 0 6px 8px 6px;
2056
+ border-color: transparent transparent #dddddd transparent;
2057
+ opacity: 0.5;
2058
+ z-index: 1;
2059
+ }
2060
+ }
2145
2061
 
2146
- .cdk-drag-animating {
2147
- transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
2062
+ .dropdown-menu {
2063
+ top: 80%;
2064
+ }
2148
2065
  }
2149
2066
 
2150
- .list_img_selection.cdk-drop-list-dragging .img_box:not(.cdk-drag-placeholder) {
2151
- transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
2152
- }
2067
+ .dropdownWizi:not(.is-hoverable) {
2068
+ cursor: not-allowed;
2069
+ }// .pexels-lib
2070
+ //.wz-img-manager useful to keep the css priority
2071
+ .wz-img-manager .pexels-lib {
2072
+ width: 100%;
2153
2073
 
2154
- .trash {
2155
- display: none!important;
2156
- }
2157
- $default-color-p-alert: #1e5568;
2158
- $success-color-p-alert: #11552e;
2159
- $warning-color-p-alert: #3a0505;
2160
- $primary-button: #e95656;
2161
- $link-color: #52aecd;
2162
- $green-color: #2ecc71;
2074
+ &__scroll {
2075
+ position: relative;
2076
+ max-height: calc(100vh - 50px)!important;
2077
+ height: 100%;
2163
2078
 
2164
- .wz-alert {
2165
- width: 100%;
2166
- background-color: transparentize($link-color, 0.85);
2167
- color: $link-color;
2168
- border-radius: 3px;
2169
- display: flex;
2170
- flex-wrap: nowrap;
2171
- justify-content: space-between;
2172
- padding: 20px;
2173
- &.success {
2174
- background-color: transparentize($green-color, 0.85);
2175
- p {
2176
- color: $success-color-p-alert;
2177
- > * {
2178
- color: $success-color-p-alert;
2179
- }
2180
- }
2181
- i {
2182
- color: $green-color;
2183
- }
2184
- }
2185
- &.warning {
2186
- background-color: transparentize($primary-button, 0.85);
2187
- p {
2188
- color: $warning-color-p-alert;
2189
- > * {
2190
- color: $warning-color-p-alert;
2191
- }
2192
- }
2193
- i {
2194
- color: $primary-button;
2079
+ &--smallDisplay {
2080
+ max-height: 275px!important;
2195
2081
  }
2196
2082
  }
2197
- p {
2198
- width: 100%;
2199
- font-size: rem(14);
2200
- line-height: rem(25);
2201
- margin: 0;
2202
- padding: 0;
2203
- color: $default-color-p-alert;
2204
- > * {
2205
- color: $default-color-p-alert;
2083
+
2084
+ &__search {
2085
+ margin: 30px 0;
2086
+
2087
+ &--smallDisplay {
2088
+ margin-top: 10px;
2206
2089
  }
2207
2090
  }
2208
- i {
2209
- width: auto;
2210
- margin: 0 10px 0 0;
2211
- color: inherit;
2212
- font-size: rem(14);
2213
- line-height: rem(25);
2214
- }
2215
- }
2216
- .wz-img-manager {
2217
2091
 
2218
- &__selectionHandler {
2219
- margin-top: -50px;
2220
- }
2092
+ // .pexels-lib__wrapper
2093
+ &__wrapper {
2094
+ margin: 30px 0;
2221
2095
 
2222
- &__module {
2223
- position: fixed;
2224
- bottom: 0;
2225
- left: 0;
2226
- width: 100%;
2227
- height: 0;
2228
- transition: height .3s ease;
2229
- z-index: 2147483647; // snackbar 10
2230
- transform: translateZ(0);
2096
+ // .pexels-lib__wrapper__result
2097
+ &__result {
2098
+ width: calc(100% + 10px);
2099
+ display: flex;
2100
+ flex-direction: row;
2101
+ justify-content: space-between;
2102
+ margin-left: -5px;
2231
2103
 
2232
- &:before {
2233
- content: '';
2234
- display: block;
2235
- position: absolute;
2236
- top: 0;
2237
- left: 0;
2238
- width: 100%;
2239
- height: 3px;
2240
- background-color: $img-main-color;
2241
- z-index: 999;
2242
- }
2104
+ // .pexels-lib__wrapper__result__column
2105
+ &__column {
2106
+ flex: 1;
2107
+ margin: 0 5px;
2243
2108
 
2244
- &--closed {
2245
- height: 0;
2246
- }
2109
+ // .pexels-lib__wrapper__result__column__element
2110
+ &__element {
2111
+ display: flex;
2112
+ position: relative;
2247
2113
 
2248
- // .wz-img-manager__module--small
2249
- &--small {
2250
- height: 320px;
2251
- }
2114
+ // .pexels-lib__wrapper__result__column__element:hover
2115
+ &:hover {
2116
+ // .pexels-lib__wrapper__result__column__element:hover .pexels-lib__wrapper__result__column__element__wrapper
2117
+ .pexels-lib__wrapper__result__column__element__wrapper {
2118
+ opacity: 1;
2119
+ transition: opacity .3s ease-in-out;
2120
+ }
2121
+ }
2252
2122
 
2253
- // .wz-img-manager__module--full
2254
- &--full {
2255
- height: calc(100vh - 50px);
2256
- }
2123
+ // .pexels-lib__wrapper__result__column__element:not(:last-child)
2124
+ &:not(:last-child) {
2125
+ margin-bottom: 10px;
2126
+ }
2257
2127
 
2258
- // .wz-img-manager__module--window
2259
- &--window {
2260
- position: relative;
2261
- width: auto;
2262
- bottom: unset;
2263
- left: unset;
2264
- z-index: 29!important;
2265
- height: auto!important;
2266
- padding-bottom: 6.25rem;
2128
+ // .pexels-lib__wrapper__result__column__element__img
2129
+ &__img {
2130
+ width: 100%;
2131
+ min-height: auto;
2132
+ max-height: 10000px;
2133
+ height: auto;
2134
+ }
2267
2135
 
2268
- &:before {
2269
- content: none;
2270
- height: 0px;
2271
- }
2136
+ // .pexels-lib__wrapper__result__column__element__wrapper
2137
+ &__wrapper {
2138
+ position: absolute;
2139
+ display: flex;
2140
+ justify-content: space-between;
2141
+ width: calc(100% - 10px);
2142
+ bottom: 5px;
2143
+ left: 5px;
2144
+ opacity: 0;
2145
+ transition: opacity .3s ease-in-out;
2146
+ align-items: flex-end;
2272
2147
 
2273
- // .wz-img-manager__module--edit
2274
- &--edit {
2275
- .wrapper-tabs {
2276
- display: none;
2277
- }
2278
- }
2279
- }
2148
+ // .pexels-lib__wrapper__result__column__element__wrapper__infos
2149
+ &__infos {
2150
+ font-size: 11px;
2151
+ color: white;
2152
+ border-radius: 3px;
2153
+ padding: 5px 10px;
2154
+ background-color: rgba(0, 0, 0, .7);
2155
+ }
2280
2156
 
2281
- // .wz-img-manager__module__header
2282
- &__header {
2283
- position: absolute;
2284
- bottom: 100%;
2285
- right: 30px;
2286
- width: 101px;
2157
+ // .pexels-lib__wrapper__result__column__element__wrapper__button
2158
+ &__button {
2159
+ background: $img-green-color url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='far' data-icon='file-upload' viewBox='0 0 384 512' class='svg-inline--fa fa-file-upload fa-w-12 fa-9x'%3E%3Cpath fill='%23fff' d='M369.83 97.98L285.94 14.1c-9-9-21.2-14.1-33.89-14.1H47.99C21.5.1 0 21.6 0 48.09v415.92C0 490.5 21.5 512 47.99 512h287.94c26.5 0 48.07-21.5 48.07-47.99V131.97c0-12.69-5.17-24.99-14.17-33.99zM255.95 51.99l76.09 76.08h-76.09V51.99zM336 464.01H47.99V48.09h159.97v103.98c0 13.3 10.7 23.99 24 23.99H336v287.95zM182.98 227.79l-72.31 71.77c-7.6 7.54-2.26 20.52 8.45 20.52H168v84c0 6.63 5.37 12 12 12h24c6.63 0 12-5.37 12-12v-84h48.88c10.71 0 16.05-12.97 8.45-20.52l-72.31-71.77c-4.99-4.95-13.05-4.95-18.04 0z'/%3E%3C/svg%3E") 10px center no-repeat;
2160
+ border: none;
2161
+ color: white;
2162
+ padding: 5px 10px 5px 25px;
2163
+ border-radius: 3px;
2164
+ background-size: 11px 14px;
2165
+ font-size: 11px;
2166
+ cursor: pointer;
2167
+ transition: background-color .3s ease-in-out;
2168
+
2169
+ &:hover {
2170
+ transition: background-color .3s ease-in-out;
2171
+ background-color: darken($img-green-color, 10%);
2172
+ }
2173
+
2174
+ &__div {
2175
+ display: flex;
2176
+ justify-content: space-between;
2177
+ align-items: center;
2178
+ }
2179
+
2180
+ &__spinner {
2181
+ display: inline-block;
2182
+ > * {
2183
+ margin-top: 10px;
2184
+ margin-right: 5px;
2185
+ }
2186
+
2187
+ }
2188
+ }
2189
+
2190
+ &__dropdown {
2191
+ .dropdown-content {
2192
+ padding: 3px 0;
2287
2193
 
2288
- // .wz-img-manager__module__header button
2289
- button {
2290
- width: 45px;
2291
- height: 35px;
2292
- background-color: $img-main-color;
2293
- transition: background-color .3s ease;
2294
- border: none;
2295
- box-shadow: none;
2296
- cursor: pointer;
2297
- outline: none!important;
2194
+ .dropdown-item {
2195
+ display: flex;
2196
+ justify-content: space-between;
2197
+ align-items: center;
2298
2198
 
2299
- span {
2300
- display: none;
2301
- }
2199
+ p {
2200
+ margin-top: 0;
2201
+ margin-bottom: 0;
2202
+ }
2302
2203
 
2303
- i {
2304
- color: #fff;
2305
- font-size: 20px;
2306
- &:before {
2307
- font-size: rem(20) !important;
2308
- }
2309
- }
2204
+ .iPortrait, .iLandscape {
2205
+ visibility: hidden;
2206
+ }
2310
2207
 
2311
- &:hover, &:focus {
2312
- background-color: darken($img-main-color, 15%);
2313
- }
2208
+ &:hover {
2209
+ i {
2210
+ visibility: unset;
2211
+ }
2212
+ }
2213
+ }
2214
+ }
2314
2215
 
2315
- // .wz-img-manager__module__header button:first-child
2316
- &:first-child {
2317
- border-radius: 3px 0 0 0;
2318
- }
2216
+ .dropdown-content__wrapper:hover {
2217
+ .iOriginal {
2218
+ visibility: hidden;
2219
+ }
2220
+ }
2319
2221
 
2320
- // .wz-img-manager__module__header button:last-child
2321
- &:last-child {
2322
- margin: 0 0 0 1px;
2323
- border-radius: 0 3px 0 0;
2222
+ }
2223
+ }
2324
2224
  }
2325
2225
  }
2226
+
2227
+ // .pexels-lib__wrapper__result-nb
2228
+ &-nb {
2229
+ font-size: 14px;
2230
+ line-height: 25px;
2231
+ margin-top: 30px;
2232
+ margin-bottom: 15px;
2233
+ font-weight: 600;
2234
+ line-height: 40px;
2235
+ }
2326
2236
  }
2327
2237
  }
2328
- }
2329
-
2330
- .wz-img-manager__module .wz-block {
2331
- background-color: #fff;
2332
- box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
2333
- padding: 0 0.575rem 0 1.075rem;
2334
2238
 
2335
- &--window {
2336
- padding: rem(30);
2337
- overflow: hidden;
2338
- max-width: 1450px;
2339
- margin: 0 auto;
2340
- }
2239
+ &__alert {
2240
+ margin-right: 0.8rem;
2241
+ margin-left: 0.3rem;
2242
+ margin-top: 10px;
2243
+ }
2341
2244
  }
2342
2245
 
2343
- .wz-img-manager__module .wz-block:hover {
2344
- box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.2);
2246
+ .wz-img-manager .pexels-lib .dropdown .dropdown-menu{
2247
+ min-width: 0;
2248
+ width: 100%;
2249
+ .dropdown-item:hover {
2250
+ background-color: #fafafa;
2251
+ cursor: pointer;
2252
+ }
2345
2253
  }
2254
+ .mosaic {
2255
+ width: 100%;
2256
+ display: flex;
2257
+ flex-wrap: wrap;
2258
+ position: relative;
2259
+ min-height: rem(512);
2346
2260
 
2347
- .nwb-snack-bar .notification {
2348
- z-index: 10002!important;
2349
- }
2261
+ &--displayPexelsImg {
2262
+ min-height: unset;
2263
+ }
2350
2264
 
2351
- .nwb-snack-bar .column {
2352
- box-sizing: border-box;
2353
- }
2354
- .wz-img-manager .is-checkradio[type='checkbox'] {
2355
- outline: 0 !important;
2356
- & + label {
2357
- font-size: rem(14);
2358
- line-height: rem(24);
2359
- color: $input-radio-color-label;
2360
- padding-left: 26px;
2361
- outline: 0 !important;
2362
- &:before {
2363
- width: 16px;
2364
- height: 16px;
2365
- border: 1px solid $border-color;
2366
- top: 4px;
2367
- transition: all 0.3s ease-in-out;
2368
- }
2369
- &:after {
2370
- top: 6.3px !important;
2371
- left: 3px !important;
2372
- width: 10px;
2373
- height: 12px;
2374
- border: none !important;
2375
- background: transparent
2376
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='check' viewBox='0 0 512 512' class='svg-inline--fa fa-check fa-w-16 fa-5x'%3E%3Cpath fill='%23ffffff' d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'/%3E%3C/svg%3E")
2377
- center center / 8px 8px no-repeat;
2378
- transform: scale(1) translateY(0px) translateX(0px) rotate(0deg) !important;
2379
- transition: all 0.3s ease-in-out;
2380
- }
2381
- &:hover,
2382
- &:focus {
2383
- &:before {
2384
- border-color: $input-active-color !important;
2265
+ &:not(.fullSize) {
2266
+ width: calc(100% + 24px);
2267
+ transform: translateX(-12px);
2268
+ .mosaic__container__cards {
2269
+ padding-bottom: 40px;
2270
+ > * {
2271
+ width: calc(25% - 24px);
2272
+ margin: 0 12px rem(24) 12px;
2273
+ @include media('>=desktop','<1300px') {
2274
+ width: calc(33.33% - 24px);
2275
+ margin: 0 12px rem(24) 12px;
2276
+ }
2385
2277
  }
2386
2278
  }
2387
- &:before,
2388
- &:after {
2389
- outline: 0 !important;
2279
+ &.small {
2280
+ min-height: 0;
2281
+ .mosaic__container__loader {
2282
+ top: 0;
2283
+ transform: translateX(-50%);
2284
+ max-height: 200px;
2285
+ }
2286
+ .mosaic {
2287
+ &__container {
2288
+ &__cards {
2289
+ padding-bottom: 40px;
2290
+ > * {
2291
+ width: calc(12.5% - 24px);
2292
+ margin: 0 12px rem(24) 12px;
2293
+ @include media('>=1400px','<1600px') {
2294
+ width: calc(14% - 24px);
2295
+ margin: 0 12px rem(24) 12px;
2296
+ }
2297
+ @include media('>=1200px','<1400px') {
2298
+ width: calc(16.66% - 24px);
2299
+ margin: 0 12px rem(24) 12px;
2300
+ }
2301
+ @include media('>=desktop','<1200px') {
2302
+ width: calc(20% - 24px);
2303
+ margin: 0 12px rem(24) 12px;
2304
+ }
2305
+ }
2306
+ }
2307
+ }
2308
+ }
2390
2309
  }
2391
2310
  }
2392
- &:hover {
2393
- & + label {
2394
- color: $input-radio-color-active-label;
2395
- &:before {
2396
- border-color: $input-active-color !important;
2397
- }
2398
- &:after {
2399
- border-color: $white !important;
2311
+ &.fullSize {
2312
+ width: calc(100% + 24px);
2313
+ transform: translateX(-12px);
2314
+ @include media('<420px') {
2315
+ width: 100%;
2316
+ transform: none;
2317
+ }
2318
+ .mosaic__container__cards {
2319
+ > * {
2320
+ width: calc(16.66% - 24px);
2321
+ margin: 0 12px rem(24) 12px;
2322
+ @include media('>=1400px','<1600px') {
2323
+ width: calc(20% - 24px);
2324
+ margin: 0 12px rem(24) 12px;
2325
+ }
2326
+ @include media('>=desktop','<1400px') {
2327
+ width: calc(25% - 24px);
2328
+ margin: 0 12px rem(24) 12px;
2329
+ }
2330
+ @include media('>=tablet','<desktop') {
2331
+ width: calc(33.33% - 24px);
2332
+ margin: 0 12px rem(24) 12px;
2333
+ }
2334
+ @include media('>=400px','<tablet') {
2335
+ width: calc(50% - 24px);
2336
+ margin: 0 12px rem(24) 12px;
2337
+ }
2338
+ @include media('<420px') {
2339
+ width: 100%;
2340
+ margin: 0 0 15px;
2341
+ }
2400
2342
  }
2401
2343
  }
2402
- &:not([disabled]) {
2403
- & + label {
2404
- &:before {
2405
- border-color: $input-active-color !important;
2344
+ &.small {
2345
+ .mosaic__container__loader {
2346
+ top: 0;
2347
+ transform: translateX(-50%);
2348
+ max-height: 200px;
2349
+ }
2350
+ .mosaic {
2351
+ &__search {
2352
+ display: none;
2353
+ }
2354
+ &__container {
2355
+ &__cards {
2356
+ > * {
2357
+ width: calc(10% - 24px);
2358
+ margin: 0 12px rem(24) 12px;
2359
+ @include media('>=1400px','<1600px') {
2360
+ width: calc(11.11% - 24px);
2361
+ margin: 0 12px rem(24) 12px;
2362
+ }
2363
+ @include media('>=desktop','<1400px') {
2364
+ width: calc(12.5% - 24px);
2365
+ margin: 0 12px rem(24) 12px;
2366
+ }
2367
+ @include media('>=tablet','<desktop') {
2368
+ width: calc(20% - 24px);
2369
+ margin: 0 12px rem(24) 12px;
2370
+ }
2371
+ @include media('>=500px','<tablet') {
2372
+ width: calc(33.33% - 24px);
2373
+ margin: 0 12px rem(24) 12px;
2374
+ }
2375
+ @include media('<500px') {
2376
+ width: calc(50% - 24px);
2377
+ margin: 0 12px rem(24) 12px;
2378
+ }
2379
+ }
2380
+ }
2406
2381
  }
2407
2382
  }
2408
2383
  }
2409
2384
  }
2410
- &:checked + label {
2411
- color: $input-radio-color-active-label;
2412
- &:before {
2413
- border: 1px solid $input-active-color;
2414
- background-color: $input-active-color;
2415
- transition: all 0.3s ease-in-out;
2416
- }
2417
- &:after {
2418
- left: 7px;
2419
- top: 8px;
2420
- transition: all 0.3s ease-in-out;
2421
- }
2385
+ &__search {
2386
+ width: calc(100% - 24px);
2387
+ margin: 0 auto rem(20);
2422
2388
  }
2423
- }
2424
-
2425
- .wz-img-manager .field {
2426
- &__row {
2427
- min-width: 100%;
2428
- margin: 0 0 10px;
2389
+ &__pagination {
2390
+ width: 100%;
2429
2391
  }
2430
- &--nowrap {
2431
- display: inline-block;
2432
- width: auto;
2433
- min-width: 0;
2434
- margin: 0 10px 10px 0;
2435
- .field {
2436
- &__row {
2437
- width: auto;
2438
- display: inline-block;
2439
- margin: 0;
2440
- }
2392
+ &__container {
2393
+ &__loader {
2394
+ position: absolute;
2395
+ top: 50%;
2396
+ left: 50%;
2397
+ transform: translate(-50%,-50%);
2398
+ max-width: 300px;
2399
+ max-height: 300px;
2400
+ display: flex;
2401
+ flex-wrap: wrap;
2402
+ flex-direction: column;
2403
+ justify-content: center;
2404
+ align-items: center;
2441
2405
  }
2442
- }
2443
- &.alone {
2444
- .is-checkradio[type='checkbox'] {
2445
- & + label {
2446
- padding: 0;
2447
- &:before {
2448
- border-width: 1px;
2449
- width: 16px;
2450
- height: 16px;
2451
- border-radius: 2px;
2452
- }
2453
- }
2454
- &:checked + label {
2455
- &:after {
2456
- top: 7px;
2457
- transform: scale(1.1) translateY(1px) translateX(6px) rotate(45deg);
2458
- }
2406
+ &__cards {
2407
+ width: 100%;
2408
+ display: flex;
2409
+ flex-wrap: wrap;
2410
+ &--padding {
2411
+ padding-right: 20px;
2459
2412
  }
2460
2413
  }
2461
2414
  }
2462
2415
  }
2463
- // .pexels-lib
2464
- //.wz-img-manager useful to keep the css priority
2465
- .wz-img-manager .pexels-lib {
2466
- width: 100%;
2467
-
2468
- &__scroll {
2469
- position: relative;
2470
- max-height: calc(100vh - 50px)!important;
2471
- height: 100%;
2472
-
2473
- &--smallDisplay {
2474
- max-height: 275px!important;
2475
- }
2476
- }
2477
-
2478
- &__search {
2479
- margin: 30px 0;
2416
+ $card-img-size: 100%;
2417
+ $card-img-size-small: 140px;
2480
2418
 
2481
- &--smallDisplay {
2482
- margin-top: 10px;
2483
- }
2484
- }
2419
+ //.wz-img-manager useful to keep the css priority
2420
+ .wz-img-manager .addCssPriority .img-card {
2421
+ display: flex;
2422
+ flex-wrap: wrap;
2423
+ justify-content: center;
2424
+ padding: 0 0 rem(5);
2425
+ width: 100%;
2426
+ overflow: hidden;
2485
2427
 
2486
- // .pexels-lib__wrapper
2487
- &__wrapper {
2488
- margin: 30px 0;
2428
+ &__container {
2429
+ width: 100%!important;
2430
+ height: auto!important;
2431
+ display: flex;
2432
+ border-radius: 3px;
2433
+ border: 1px solid $img-light-white-color;
2434
+ cursor: pointer;
2435
+ overflow: hidden;
2436
+ transition: .3s ease;
2437
+ position: relative;
2438
+ margin: 0 0 rem(10);
2439
+ &:before {
2440
+ content: '';
2441
+ display: block;
2442
+ padding-top: 100%;
2443
+ }
2489
2444
 
2490
- // .pexels-lib__wrapper__result
2491
- &__result {
2492
- width: calc(100% + 10px);
2493
- display: flex;
2494
- flex-direction: row;
2495
- justify-content: space-between;
2496
- margin-left: -5px;
2445
+ &.imgSelected {
2497
2446
 
2498
- // .pexels-lib__wrapper__result__column
2499
- &__column {
2500
- flex: 1;
2501
- margin: 0 5px;
2447
+ &:after {
2448
+ z-index: 1000;
2449
+ content: '';
2450
+ display: block;
2451
+ position: absolute;
2452
+ width: 100%;
2453
+ height: 4px;
2454
+ background-color: $img-main-color;
2455
+ bottom: 0;
2456
+ left: 0;
2457
+ transform: translateZ(0);
2458
+ }
2459
+ }
2502
2460
 
2503
- // .pexels-lib__wrapper__result__column__element
2504
- &__element {
2461
+ &__valid {
2505
2462
  display: flex;
2506
- position: relative;
2507
-
2508
- // .pexels-lib__wrapper__result__column__element:hover
2509
- &:hover {
2510
- // .pexels-lib__wrapper__result__column__element:hover .pexels-lib__wrapper__result__column__element__wrapper
2511
- .pexels-lib__wrapper__result__column__element__wrapper {
2512
- opacity: 1;
2513
- transition: opacity .3s ease-in-out;
2514
- }
2463
+ position: absolute;
2464
+ top: 100%;
2465
+ left: 50%;
2466
+ transform: translate(-50%,0);
2467
+ justify-content: center;
2468
+ align-items: center;
2469
+ width: auto;
2470
+ background-color: $img-green-color;
2471
+ border-radius: 3px;
2472
+ padding: 5px;
2473
+ transition: .3s ease;
2474
+ i {
2475
+ font-size: rem(10);
2476
+ color: $white;
2477
+ margin: 0 5px 0 0;
2515
2478
  }
2516
-
2517
- // .pexels-lib__wrapper__result__column__element:not(:last-child)
2518
- &:not(:last-child) {
2519
- margin-bottom: 10px;
2479
+ span {
2480
+ color: $white;
2481
+ font-weight: 500;
2482
+ font-size: rem(10);
2520
2483
  }
2484
+ }
2521
2485
 
2522
- // .pexels-lib__wrapper__result__column__element__img
2523
- &__img {
2524
- width: 100%;
2525
- min-height: auto;
2526
- max-height: 10000px;
2527
- height: auto;
2486
+ &:hover, &:focus {
2487
+ .img-card__container {
2488
+ &__valid {
2489
+ transform: translate(-50%, -40px);
2490
+ }
2528
2491
  }
2492
+ }
2529
2493
 
2530
- // .pexels-lib__wrapper__result__column__element__wrapper
2531
- &__wrapper {
2494
+ &__img {
2495
+ width: auto!important;
2496
+ height: auto!important;
2497
+ background-color: white;
2498
+ margin: auto;
2499
+ transition: .3s ease;
2532
2500
  position: absolute;
2533
- display: flex;
2534
- justify-content: space-between;
2535
- width: calc(100% - 10px);
2536
- bottom: 5px;
2537
- left: 5px;
2538
- opacity: 0;
2539
- transition: opacity .3s ease-in-out;
2540
- align-items: flex-end;
2541
-
2542
- // .pexels-lib__wrapper__result__column__element__wrapper__infos
2543
- &__infos {
2544
- font-size: 11px;
2545
- color: white;
2546
- border-radius: 3px;
2547
- padding: 5px 10px;
2548
- background-color: rgba(0, 0, 0, .7);
2549
- }
2550
-
2551
- // .pexels-lib__wrapper__result__column__element__wrapper__button
2552
- &__button {
2553
- background: $img-green-color url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='far' data-icon='file-upload' viewBox='0 0 384 512' class='svg-inline--fa fa-file-upload fa-w-12 fa-9x'%3E%3Cpath fill='%23fff' d='M369.83 97.98L285.94 14.1c-9-9-21.2-14.1-33.89-14.1H47.99C21.5.1 0 21.6 0 48.09v415.92C0 490.5 21.5 512 47.99 512h287.94c26.5 0 48.07-21.5 48.07-47.99V131.97c0-12.69-5.17-24.99-14.17-33.99zM255.95 51.99l76.09 76.08h-76.09V51.99zM336 464.01H47.99V48.09h159.97v103.98c0 13.3 10.7 23.99 24 23.99H336v287.95zM182.98 227.79l-72.31 71.77c-7.6 7.54-2.26 20.52 8.45 20.52H168v84c0 6.63 5.37 12 12 12h24c6.63 0 12-5.37 12-12v-84h48.88c10.71 0 16.05-12.97 8.45-20.52l-72.31-71.77c-4.99-4.95-13.05-4.95-18.04 0z'/%3E%3C/svg%3E") 10px center no-repeat;
2554
- border: none;
2555
- color: white;
2556
- padding: 5px 10px 5px 25px;
2557
- border-radius: 3px;
2558
- background-size: 11px 14px;
2559
- font-size: 11px;
2560
- cursor: pointer;
2561
- transition: background-color .3s ease-in-out;
2501
+ object-fit: contain;
2502
+ max-width: 100%;
2503
+ max-height: 100%;
2504
+ top: 50%;
2505
+ left: 50%;
2506
+ transform: translate(-50%,-50%);
2507
+ }
2562
2508
 
2563
- &:hover {
2564
- transition: background-color .3s ease-in-out;
2565
- background-color: darken($img-green-color, 10%);
2566
- }
2509
+ &__config {
2510
+ position: relative;
2511
+ top: 10px;
2512
+ left: 10px;
2513
+ transform: none;
2514
+ z-index: 9999;
2515
+ width: 30px;
2516
+ opacity: 0;
2517
+ transition: .3s ease;
2567
2518
 
2568
- &__div {
2519
+ button {
2520
+ box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
2521
+ margin: 0;
2522
+ width: 30px;
2523
+ height: 30px;
2524
+ box-sizing: content-box;
2525
+ border-radius: 3px;
2526
+ border: none;
2527
+ color: #fff;
2528
+ transform: translateX(-40px);
2529
+ will-change: transform;
2530
+ cursor: pointer;
2531
+ padding: 0;
2569
2532
  display: flex;
2570
- justify-content: space-between;
2533
+ justify-content: center;
2534
+ align-content: center;
2571
2535
  align-items: center;
2572
- }
2573
2536
 
2574
- &__spinner {
2575
- display: inline-block;
2576
- > * {
2577
- margin-top: 10px;
2578
- margin-right: 5px;
2537
+ i {
2538
+ font-size: 16px;
2539
+ color: #fff;
2540
+ position: relative;
2541
+ z-index: 3;
2579
2542
  }
2580
2543
 
2581
- }
2582
- }
2583
-
2584
- &__dropdown {
2585
- .dropdown-content {
2586
- padding: 3px 0;
2544
+ &:before {
2545
+ content: '';
2546
+ display: block;
2547
+ position: absolute;
2548
+ top: 0;
2549
+ left: 0;
2550
+ border-radius: 3px;
2551
+ width: 100%;
2552
+ height: 100%;
2553
+ z-index: 2;
2554
+ }
2587
2555
 
2588
- .dropdown-item {
2556
+ span {
2557
+ position: absolute;
2558
+ left: 100%;
2589
2559
  display: flex;
2590
- justify-content: space-between;
2560
+ justify-content: center;
2591
2561
  align-items: center;
2562
+ align-content: center;
2563
+ height: 100%;
2564
+ margin-left: -10px;
2565
+ width: auto;
2566
+ padding: 0 10px 0 0;
2567
+ color: #fff;
2568
+ text-transform: capitalize;
2569
+ font-size: 14px;
2570
+ border-radius: 0 3px 3px 0;
2571
+ max-width: 0;
2572
+ overflow: hidden;
2573
+ z-index: 1;
2574
+ transition: .3s ease;
2575
+ box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
2576
+ white-space: nowrap;
2577
+ }
2592
2578
 
2593
- p {
2594
- margin-top: 0;
2595
- margin-bottom: 0;
2579
+ &:not(:last-child) {
2580
+ margin: 0 0 5px;
2581
+ }
2582
+ &.size {
2583
+ background-color: #1E2E43;
2584
+ transition: transform .3s ease .6s;
2585
+ span, &:before {
2586
+ background-color: #1E2E43;
2596
2587
  }
2597
-
2598
- .iPortrait, .iLandscape {
2599
- visibility: hidden;
2588
+ }
2589
+ &.dl {
2590
+ background-color: $img-bleu-action;
2591
+ transition: transform .3s ease .45s;
2592
+ span, &:before {
2593
+ background-color: $img-bleu-action;
2600
2594
  }
2601
-
2602
- &:hover {
2603
- i {
2604
- visibility: unset;
2605
- }
2595
+ }
2596
+ &.edit {
2597
+ background-color: $img-orange-color;
2598
+ transition: transform .3s ease .3s;
2599
+ span, &:before {
2600
+ background-color: $img-orange-color;
2606
2601
  }
2607
2602
  }
2608
- }
2603
+ &.deleted {
2604
+ background-color: $img-red-color;
2605
+ transition: transform .3s ease .15s;
2606
+ span, &:before {
2607
+ background-color: $img-red-color;
2608
+ }
2609
+ }
2610
+ &.selected {
2611
+ background-color: #fff;
2612
+ border-color: $img-light-white-color;
2613
+ transition: transform .3s ease;
2614
+ span, &:before {
2615
+ background-color: #fff;
2616
+ color: $img-grey-color;
2617
+ }
2609
2618
 
2610
- .dropdown-content__wrapper:hover {
2611
- .iOriginal {
2612
- visibility: hidden;
2619
+ i {
2620
+ color: $img-light-white-color;
2621
+ }
2622
+ .checked {
2623
+ color: $img-bleu-color;
2624
+ }
2625
+ }
2626
+ &:hover, &:focus {
2627
+ border-radius: 3px 0 0 3px;
2628
+ &:before {
2629
+ border-radius: 3px 0 0 3px;
2630
+ }
2631
+ span {
2632
+ transition: max-width 1s ease, margin-left .3s ease;
2633
+ max-width: 1000px;
2634
+ margin-left: -1px;
2635
+ padding-left: 4px;
2636
+ will-change: transform, margin;
2637
+ }
2613
2638
  }
2614
2639
  }
2615
-
2616
- }
2617
- }
2618
- }
2619
- }
2620
-
2621
- // .pexels-lib__wrapper__result-nb
2622
- &-nb {
2623
- font-size: 14px;
2624
- line-height: 25px;
2625
- margin-top: 30px;
2626
- margin-bottom: 15px;
2627
- font-weight: 600;
2628
- line-height: 40px;
2629
- }
2630
- }
2631
- }
2632
-
2633
- &__alert {
2634
- margin-right: 0.8rem;
2635
- margin-left: 0.3rem;
2636
- margin-top: 10px;
2637
- }
2638
- }
2639
-
2640
- .wz-img-manager .pexels-lib .dropdown .dropdown-menu{
2641
- min-width: 0;
2642
- width: 100%;
2643
- .dropdown-item:hover {
2644
- background-color: #fafafa;
2645
- cursor: pointer;
2646
- }
2647
- }
2648
- //.wz-img-manager useful to keep the css priority
2649
- .wz-img-manager .canva-btn {
2650
- background-color: $img-main-color;
2651
- border: 2px solid $img-main-color;
2652
- padding: 0;
2653
- height: fit-content;
2654
- color: white;
2655
- padding-left: rem(9);
2656
- transition: .3s ease;
2657
- margin: 0!important;
2658
- &:hover, &:focus {
2659
- border-color: darken($img-main-color, 15%);
2660
- }
2661
- > span {
2662
- &:first-child {
2663
- z-index: 2;
2664
- position: relative;
2665
- transform: translateX(7px);
2666
- }
2667
- }
2668
- &__logo {
2669
- z-index: 1;
2670
- }
2671
- }
2672
-
2673
- .wz-img-manager .canva-btn .btnLoadingAnnimation {
2674
- background-color: $img-main-color;
2675
- cursor: not-allowed;
2676
- }
2677
-
2678
- .wz-img-manager .canva.dropdown {
2679
- z-index: 9999;
2680
- .dropdown-menu {
2681
- display: none!important;
2682
- margin-top: 10px!important;
2683
- &:before {
2684
- content: '';
2685
- display: block;
2686
- position: absolute;
2687
- bottom: 100%;
2688
- left: 0;
2689
- width: 100%;
2690
- height: 10px;
2691
- }
2692
- }
2693
-
2694
- .displayDropDownMenu {
2695
- display: block!important;
2696
- }
2697
-
2698
- .dropdown-menu.dropDownShadow {
2699
- padding-bottom: 0;
2700
- padding-top: 0;
2701
- margin-top: 1px;
2702
- }
2703
-
2704
- .dropdown-menu {
2705
- min-width: 300px;
2706
- width: 300px;
2707
-
2708
- .dropdown-content {
2709
- padding-top: 0px;
2710
2640
  }
2711
2641
 
2712
- .dropdown-item {
2713
- color: $img-grey-color;
2714
- display: flex;
2715
- justify-content: space-between;
2716
- align-items: center;
2717
- padding: 12px 20px;
2718
- margin: 0 0 5px;
2719
- &:last-child {
2720
- margin: 0;
2721
- }
2642
+ &__overlay {
2643
+ position: absolute;
2644
+ top: 0;
2645
+ left: 0;
2646
+ height: 100%;
2647
+ width: 100%;
2648
+ display: flex;
2649
+ justify-content: center;
2650
+ align-items: center;
2722
2651
 
2723
- p {
2724
- margin: 0;
2725
- line-height: rem(16);
2726
- }
2652
+ i {
2653
+ font-size: 100px;
2654
+ color: grey;
2655
+ }
2727
2656
 
2728
- p:first-child {
2729
- color: #1D2A3B;
2730
- font-size: rem(14);
2657
+ &--smallDisplay {
2658
+ i {
2659
+ font-size: 75px;
2731
2660
  }
2661
+ }
2662
+ }
2732
2663
 
2733
- p:last-child {
2734
- color: #526384;
2735
- font-size: rem(14);
2664
+ &__delete {
2665
+ position: absolute;
2666
+ top: 0;
2667
+ left: 0;
2668
+ width: 100%;
2669
+ height: 100%;
2670
+ background-color: rgba(0,0,0,.45);
2671
+ display: flex;
2672
+ flex-direction: column;
2673
+ justify-content: center;
2674
+ align-items: center;
2675
+ padding: 15px;
2676
+ visibility: hidden;
2677
+ transform: translateY(100%);
2678
+ opacity: 0;
2679
+ z-index: 9999;
2680
+ transition: visibility 0s linear .35s, opacity .3s ease, transform .3s ease;
2681
+ &.show {
2682
+ transform: translateY(0);
2683
+ opacity: 1;
2684
+ visibility: visible;
2685
+ transition: visibility 0s linear, opacity .3s ease .05s, transform .3s ease .05s;
2686
+ }
2687
+ > span {
2688
+ font-size: rem(14);
2689
+ color: $img-white;
2690
+ font-weight: 600;
2691
+ text-align: center;
2692
+ display: inline-block;
2693
+ margin: 0 0 10px;
2694
+ }
2695
+ > div {
2696
+ display: flex;
2697
+ > button {
2698
+ padding: 7px 12px;
2699
+ font-size: rem(14);
2700
+ color: $img-white;
2701
+ background-color: $img-red-color;
2702
+ font-weight: 600;
2703
+ border: none;
2704
+ margin: 0 0 0 5px;
2705
+ text-transform: capitalize;
2706
+ transition: .3s ease;
2707
+ &:hover, &:focus {
2708
+ background-color: darken($img-red-color, 15%);
2709
+ }
2710
+ &:first-child {
2711
+ background-color: $img-main-color;
2712
+ margin: 0 5px 0 0;
2713
+ &:hover, &:focus {
2714
+ background-color: darken($img-main-color, 15%);
2715
+ }
2716
+ }
2736
2717
  }
2718
+ }
2737
2719
  }
2720
+ }
2738
2721
 
2739
- .dropdown-item:hover {
2740
- background-color: whitesmoke;
2741
- cursor: pointer;
2742
- color: black;
2743
- }
2722
+ &__nameContainer {
2723
+ text-align: center;
2724
+ overflow: hidden;
2725
+ max-width: 100%;
2726
+ min-width: 100%;
2727
+ position: relative;
2728
+ width: auto;
2729
+ display: flex;
2730
+ justify-content: center;
2731
+ align-items: center;
2732
+ min-height: rem(16);
2744
2733
 
2745
- .dropdown-item.expectedSizes {
2746
- font-weight: 500;
2747
- }
2734
+ &.focus {
2735
+ overflow: visible;
2736
+ }
2748
2737
 
2749
- .dropdownTitle {
2750
- font-size: 14px;
2751
- background-color: $img-main-color;
2752
- padding: rem(9.5) 0;
2753
- text-align: center;
2738
+ > span {
2739
+ padding: 0 rem(10);
2740
+ font-size: rem(12);
2741
+ line-height: rem(14);
2742
+ color: $img-grey-color;
2743
+ width: auto;
2744
+ white-space: nowrap;
2745
+ overflow: hidden;
2746
+ text-overflow: ellipsis;
2747
+ text-align: center;
2748
+ display: inline-block;
2749
+ transition: .3s ease;
2750
+ pointer-events: none;
2751
+ max-width: 100%;
2752
+ }
2754
2753
 
2755
- p {
2756
- font-size: 14px;
2757
- color: white;
2758
- margin: 0;
2759
- font-weight: 500;
2760
- }
2754
+ &__name {
2755
+ margin: 0;
2756
+ padding: 5px;
2757
+ font-size: rem(12);
2758
+ color: $img-grey-color;
2759
+ line-height: rem(14);
2760
+ text-align: center;
2761
+ width: 100%;
2762
+ min-width: 100%;
2763
+ white-space: nowrap;
2764
+ overflow: hidden;
2765
+ text-overflow: ellipsis;
2766
+ transition: .3s ease;
2767
+ cursor: initial;
2768
+ max-width: 100%;
2769
+ position: absolute;
2770
+ top: 0;
2771
+ left: 0;
2772
+ opacity: 0;
2773
+ &:focus {
2774
+ opacity: 1;
2775
+ transform: translateY(-5px);
2776
+ & + span {
2777
+ opacity: 0;
2778
+ }
2761
2779
  }
2780
+ }
2781
+ }
2762
2782
 
2763
- .infoItem {
2764
- padding: 18px 20px 11px 20px;
2765
- line-height: 1.5;
2766
- font-weight: 500;
2767
-
2768
- p {
2769
- margin: 0;
2770
- font-size: rem(16);
2771
- line-height: rem(19);
2772
- font-weight: 500;
2783
+ &:hover, &:focus {
2784
+ z-index: 3;
2785
+ .img-card {
2786
+ &__nameContainer {
2787
+ overflow: visible;
2788
+ &__name {
2789
+ color: #52AECD;
2790
+ transform: translateY(-5px);
2791
+ }
2773
2792
  }
2774
- }
2775
2793
 
2776
- .dropdown-item-wrapper {
2777
- border: 1px solid #DEE2ED;
2778
- border-radius: 3px;
2779
- margin: 0 20px 5px 20px;
2794
+ &__container {
2795
+ border-color: $wizishop-blue;
2796
+ &__img {
2797
+ transform: scale(1.02) translate(-50%,-50%);
2798
+ }
2799
+ &__config {
2800
+ opacity: 1;
2801
+ button {
2802
+ transform: translateX(0);
2803
+ &.size {
2804
+ transition: transform .3s ease;
2805
+ }
2806
+ &.dl {
2807
+ transition: transform .3s ease .15s;
2808
+ }
2809
+ &.edit {
2810
+ transition: transform .3s ease .3s;
2811
+ }
2812
+ &.deleted {
2813
+ transition: transform .3s ease .45s;
2814
+ }
2815
+ &.selected {
2816
+ transition: transform .3s ease .6s;
2817
+ }
2818
+ }
2819
+ }
2820
+ }
2780
2821
  }
2781
2822
  }
2782
2823
  }
2783
2824
 
2784
- .noTooltip .tooltip.is-tooltip-left:hover::before, .noTooltip .tooltip.is-tooltip-left:hover:not(.is-loading)::after {
2785
- display: none;
2825
+ .wz-img-manager .addCssPriority .img-card .smallDisplay,.wz-img-manager .img-card .smallDisplay img {
2826
+ width: $card-img-size-small;
2827
+ height: $card-img-size-small;
2828
+ }
2829
+
2830
+ .wz-img-manager .addCssPriority .smallNameDisplay .img-card__nameContainer__name {
2831
+ width: $card-img-size-small;
2786
2832
  }
2787
2833
  .wz-img-manager .wz-table {
2788
2834
  width: 100%;
@@ -3054,477 +3100,544 @@ $green-color: #2ecc71;
3054
3100
  color: $placeholder-color;
3055
3101
  font-weight: normal;
3056
3102
  }
3057
- }
3058
-
3059
- .input:focus,
3060
- .input.is-focused,
3061
- .input:active,
3062
- .input.is-active {
3063
- border-color: $wizishop-blue;
3064
- }
3065
-
3066
- .icon {
3067
- position: absolute;
3068
- top: 50%;
3069
- left: 20px;
3070
- font-size: rem(18);
3071
- transform: translateY(-50%);
3072
- pointer-events: none;
3073
- font-weight: 400;
3074
- color: $placeholder-color;
3075
- margin: 0;
3076
- width: rem(18);
3077
- height: rem(18);
3078
- }
3103
+ }
3104
+
3105
+ .input:focus,
3106
+ .input.is-focused,
3107
+ .input:active,
3108
+ .input.is-active {
3109
+ border-color: $wizishop-blue;
3110
+ }
3111
+
3112
+ .icon {
3113
+ position: absolute;
3114
+ top: 50%;
3115
+ left: 20px;
3116
+ font-size: rem(18);
3117
+ transform: translateY(-50%);
3118
+ pointer-events: none;
3119
+ font-weight: 400;
3120
+ color: $placeholder-color;
3121
+ margin: 0;
3122
+ width: rem(18);
3123
+ height: rem(18);
3124
+ }
3125
+ }
3126
+
3127
+ .wz-img-manager .wz-img-manager__module:not(.wz-img-manager__module--window) .pexels-lib__search .input-search.field {
3128
+ padding: 0;
3129
+ background-color: transparent;
3130
+ }
3131
+ //.wz-img-manager useful to keep the css priority
3132
+ .wz-img-manager .canva-btn {
3133
+ background-color: $img-main-color;
3134
+ border: 2px solid $img-main-color;
3135
+ padding: 0;
3136
+ height: fit-content;
3137
+ color: white;
3138
+ padding-left: rem(9);
3139
+ transition: .3s ease;
3140
+ margin: 0!important;
3141
+ &:hover, &:focus {
3142
+ border-color: darken($img-main-color, 15%);
3143
+ }
3144
+ > span {
3145
+ &:first-child {
3146
+ z-index: 2;
3147
+ position: relative;
3148
+ transform: translateX(7px);
3149
+ }
3150
+ }
3151
+ &__logo {
3152
+ z-index: 1;
3153
+ }
3079
3154
  }
3080
3155
 
3081
- .wz-img-manager .wz-img-manager__module:not(.wz-img-manager__module--window) .pexels-lib__search .input-search.field {
3082
- padding: 0;
3083
- background-color: transparent;
3156
+ .wz-img-manager .canva-btn .btnLoadingAnnimation {
3157
+ background-color: $img-main-color;
3158
+ cursor: not-allowed;
3084
3159
  }
3085
- .wz-img-manager .dropdownWizi {
3086
- padding: 10px;
3087
3160
 
3088
- &.is-hoverable {
3089
- .rotate {
3090
- i {
3091
- @include simple_transition();
3092
- transform: rotate(90deg);
3093
- cursor: pointer;
3094
- }
3095
- }
3096
- &:hover,
3097
- &:active {
3098
- .rotate:not(.rotate--disable) {
3099
- i {
3100
- @include simple_transition();
3101
- transform: rotate(0deg);
3102
- }
3103
- }
3104
- }
3161
+ .wz-img-manager .canva.dropdown {
3162
+ z-index: 9999;
3163
+ .dropdown-menu {
3164
+ display: none!important;
3165
+ margin-top: 10px!important;
3166
+ &:before {
3167
+ content: '';
3168
+ display: block;
3169
+ position: absolute;
3170
+ bottom: 100%;
3171
+ left: 0;
3172
+ width: 100%;
3173
+ height: 10px;
3174
+ }
3105
3175
  }
3106
3176
 
3107
- &:not(.is-hoverable) {
3108
- .rotate {
3109
- i {
3110
- @include simple_transition();
3111
- transform: rotate(90deg);
3112
- }
3113
- }
3177
+ .displayDropDownMenu {
3178
+ display: block!important;
3114
3179
  }
3115
3180
 
3116
- .dropdown-item.active-item {
3117
- background-color: #F5F8FA;
3118
-
3119
- p, i {
3120
- color: #1D2A3B;
3121
- }
3181
+ .dropdown-menu.dropDownShadow {
3182
+ padding-bottom: 0;
3183
+ padding-top: 0;
3184
+ margin-top: 1px;
3122
3185
  }
3123
3186
 
3124
- .dropdown-item {
3125
- margin-left: 10px;
3126
- margin-right: 10px;
3127
- cursor: pointer;
3187
+ .dropdown-menu {
3188
+ min-width: 300px;
3189
+ width: 300px;
3128
3190
 
3129
- i {
3130
- margin-right: 8px;
3131
- }
3132
- p, i {
3133
- color: #526384;
3134
- display: inline-block;
3191
+ .dropdown-content {
3192
+ padding-top: 0px;
3135
3193
  }
3136
3194
 
3137
- p {
3138
- margin-top: 0;
3139
- margin-bottom: 0;
3140
- }
3195
+ .dropdown-item {
3196
+ color: $img-grey-color;
3197
+ display: flex;
3198
+ justify-content: space-between;
3199
+ align-items: center;
3200
+ padding: 12px 20px;
3201
+ margin: 0 0 5px;
3202
+ &:last-child {
3203
+ margin: 0;
3204
+ }
3141
3205
 
3142
- > * {
3143
- -webkit-touch-callout: none; /* iOS Safari */
3144
- -webkit-user-select: none; /* Safari */
3145
- -khtml-user-select: none; /* Konqueror HTML */
3146
- -moz-user-select: none; /* Old versions of Firefox */
3147
- -ms-user-select: none; /* Internet Explorer/Edge */
3148
- user-select: none; /* Non-prefixed version, currently
3149
- supported by Chrome, Edge, Opera and Firefox */
3150
- }
3206
+ p {
3207
+ margin: 0;
3208
+ line-height: rem(16);
3209
+ }
3151
3210
 
3152
- &:hover {
3153
- background-color: #F5F8FA;
3154
- p, i {
3155
- color: $img-main-color;
3211
+ p:first-child {
3212
+ color: #1D2A3B;
3213
+ font-size: rem(14);
3156
3214
  }
3157
- }
3158
- }
3159
3215
 
3160
- .dropdown-content {
3161
- &:before {
3162
- content: '';
3163
- display: block;
3164
- position: absolute;
3165
- bottom: 100%;
3166
- left: 90%;
3167
- transform: translateX(-50%) translateY(5px);
3168
- width: 0;
3169
- height: 0;
3170
- border-style: solid;
3171
- border-width: 0 6px 8px 6px;
3172
- border-color: transparent transparent #fff transparent;
3173
- z-index: 2;
3216
+ p:last-child {
3217
+ color: #526384;
3218
+ font-size: rem(14);
3219
+ }
3174
3220
  }
3175
- &:after {
3176
- content: '';
3177
- display: block;
3178
- position: absolute;
3179
- bottom: 100%;
3180
- left: 90%;
3181
- transform: translateX(-50%) translateY(4px);
3182
- width: 0;
3183
- height: 0;
3184
- border-style: solid;
3185
- border-width: 0 6px 8px 6px;
3186
- border-color: transparent transparent #dddddd transparent;
3187
- opacity: 0.5;
3188
- z-index: 1;
3221
+
3222
+ .dropdown-item:hover {
3223
+ background-color: whitesmoke;
3224
+ cursor: pointer;
3225
+ color: black;
3189
3226
  }
3190
- }
3191
3227
 
3192
- .dropdown-menu {
3193
- top: 80%;
3194
- }
3195
- }
3228
+ .dropdown-item.expectedSizes {
3229
+ font-weight: 500;
3230
+ }
3196
3231
 
3197
- .dropdownWizi:not(.is-hoverable) {
3198
- cursor: not-allowed;
3199
- }.wz-img-manager .img-editor {
3200
- &__scroll {
3201
- position: relative;
3202
- height: 100%;
3232
+ .dropdownTitle {
3233
+ font-size: 14px;
3234
+ background-color: $img-main-color;
3235
+ padding: rem(9.5) 0;
3236
+ text-align: center;
3203
3237
 
3204
- &--full {
3205
- max-height: calc(100vh - 90px)!important;
3206
- min-height: calc(100vh - 90px) !important;
3238
+ p {
3239
+ font-size: 14px;
3240
+ color: white;
3241
+ margin: 0;
3242
+ font-weight: 500;
3243
+ }
3207
3244
  }
3208
3245
 
3209
- &--smallDisplay {
3210
- max-height: 275px!important;
3211
- }
3246
+ .infoItem {
3247
+ padding: 18px 20px 11px 20px;
3248
+ line-height: 1.5;
3249
+ font-weight: 500;
3212
3250
 
3213
- &--window {
3214
- max-height: none;
3251
+ p {
3252
+ margin: 0;
3253
+ font-size: rem(16);
3254
+ line-height: rem(19);
3255
+ font-weight: 500;
3256
+ }
3215
3257
  }
3216
3258
 
3217
- .ng-scroll-content {
3218
- margin-left: 0 !important;
3219
- margin-right: 0 !important;
3220
- min-width: calc(100% - 1rem) !important;
3221
- width: calc(100% - 1rem) !important;
3259
+ .dropdown-item-wrapper {
3260
+ border: 1px solid #DEE2ED;
3261
+ border-radius: 3px;
3262
+ margin: 0 20px 5px 20px;
3222
3263
  }
3223
3264
  }
3265
+ }
3224
3266
 
3225
- .columns {
3226
- margin-right: 0.8rem;
3227
- margin-left: rem(12);
3228
- margin-top: 12px;
3229
- margin-bottom: 0;
3230
- width: calc(100% + 11px);
3267
+ .noTooltip .tooltip.is-tooltip-left:hover::before, .noTooltip .tooltip.is-tooltip-left:hover:not(.is-loading)::after {
3268
+ display: none;
3269
+ }
3270
+ //.wz-img-manager useful to keep the css priority
3271
+ .wz-img-manager .upload-list {
3272
+ text-align: left;
3273
+ font-size: 14px;
3274
+ color: #23272B;
3231
3275
 
3232
- .column {
3233
- padding-top: 0;
3234
- padding-bottom: 0px;
3235
- }
3276
+ &.smallDisplay {
3277
+ .upload-list__box__cards__card {
3278
+ width: 125px;
3236
3279
  }
3280
+ }
3237
3281
 
3238
- &__head-container {
3239
- display: flex;
3240
- justify-content: flex-end;
3241
- align-items: center;
3242
- margin: 30px 30px 20px 0;
3243
-
3244
- &__btnGroup {
3245
- margin-right: 13px;
3246
- opacity: 0;
3247
- visibility: hidden;
3248
- transition: opacity .3s ease-in-out;
3282
+ &__scroll {
3283
+ position: relative;
3284
+ height: 100%;
3249
3285
 
3250
- &__visible {
3251
- opacity: 1;
3252
- visibility: visible;
3253
- }
3286
+ &--smallDisplay {
3287
+ max-height: 260px!important;
3254
3288
 
3255
- &__removeBtn {
3256
- margin-right: 13px;
3289
+ .upload-list__box {
3290
+ margin-bottom: 20px;
3257
3291
  }
3258
3292
  }
3259
3293
 
3260
- &__close {
3261
- cursor: pointer;
3262
- font-size: 14px;
3263
- color: $img-grey-color;
3264
- line-height: 40px;
3294
+ &--window {
3295
+ max-height: none;
3296
+ }
3297
+
3298
+ .ng-scroll-content {
3299
+ margin-left: 0.5rem !important;
3300
+ margin-right: 0.5rem !important;
3301
+ min-width: calc(100% - 1rem) !important;
3302
+ width: calc(100% - 1rem) !important;
3265
3303
  }
3266
3304
  }
3267
3305
 
3268
- &__container {
3269
- padding: 0.75rem!important;
3270
- display:flex;
3271
- justify-content: center;
3272
- align-items: center;
3306
+ &__box {
3307
+ margin: 0 0.8rem 30px 0.3rem;
3308
+ padding: 30px;
3273
3309
  background-color: $img-gray-background;
3274
- margin: 0;
3275
- transform: translateY(-16px);
3310
+ margin-right: 12px;
3311
+ margin-left: 5px;
3312
+ border-radius: 3px;
3276
3313
 
3277
- &__toolsContainer {
3314
+ &__container {
3278
3315
  display: flex;
3279
- justify-content: center;
3316
+ justify-content: space-between;
3280
3317
  align-items: center;
3281
- margin-bottom: 50px;
3282
-
3283
- &__tool {
3284
- color: $img-second-color;
3285
- margin-right: 30px;
3286
- text-align: center;
3287
- cursor: pointer;
3288
3318
 
3289
- p {
3290
- margin: 0!important;
3291
- color: $img-main-text;
3292
- font-size: rem(12);
3293
- line-height: rem(14);
3294
- }
3295
-
3296
- i {
3297
- font-size: rem(18);
3298
- margin: 0 0 10px;
3299
- }
3319
+ p {
3320
+ display: inline;
3321
+ }
3300
3322
 
3301
- &--button {
3302
- background-color: $img-green-color;
3303
- color: $img-white!important;
3304
- padding: 10px;
3305
- border-radius: 3px;
3306
- transition: .3s ease;
3307
- white-space: nowrap;
3308
- display: flex;
3309
- justify-content: center;
3310
- align-items: center;
3311
- position: absolute;
3312
- top: 80px;
3313
- left: 50%;
3314
- transform: translateX(-50%);
3315
- height: 35px;
3316
- margin: 0;
3317
- &:hover, &:focus {
3318
- background-color: darken($img-green-color, 15%);
3319
- color: $img-white!important;
3320
- }
3321
- p {
3322
- color: $white!important;
3323
- }
3324
- i {
3325
- margin: 0 5px 0 0;
3326
- }
3327
- }
3323
+ .dropdown {
3324
+ vertical-align: baseline;
3328
3325
  &:hover {
3329
- color: $img-main-color;
3326
+ .dropdown-trigger i {
3327
+ color: $img-main-color;
3328
+ }
3329
+ }
3330
+ .dropdown-trigger {
3331
+ display: inline;
3332
+ i {
3333
+ color: $img-secondary-text;
3334
+ margin-left: 10px;
3335
+ }
3330
3336
  }
3331
3337
 
3332
- > * {
3333
- -webkit-touch-callout: none; /* iOS Safari */
3334
- -webkit-user-select: none; /* Safari */
3335
- -khtml-user-select: none; /* Konqueror HTML */
3336
- -moz-user-select: none; /* Old versions of Firefox */
3337
- -ms-user-select: none; /* Internet Explorer/Edge */
3338
- user-select: none; /* Non-prefixed version, currently
3339
- supported by Chrome, Edge, Opera and Firefox */
3338
+ .dropdown-menu {
3339
+ padding: 0;
3340
+ width: 370px;
3341
+ left: -190px;
3342
+ margin-top: 3px;
3343
+
3344
+ .dropdown-item {
3345
+ display: flex;
3346
+ justify-content: left;
3347
+ align-items: center;
3348
+
3349
+ p {
3350
+ margin: 0;
3351
+ }
3352
+
3353
+ p:first-child {
3354
+ color: $img-main-text;
3355
+ font-size: 14px;
3356
+ }
3357
+
3358
+ p:last-child {
3359
+ color: $img-green-color;
3360
+ font-size: 14px;
3361
+ margin-left: 10px;
3362
+ }
3363
+ }
3340
3364
  }
3341
3365
  }
3366
+ }
3342
3367
 
3343
- &__RotationDropdown {
3344
- min-width: 16rem;
3368
+ &__cards {
3369
+ padding-top: 15px;
3370
+ margin-left: 5px;
3371
+ display: flex;
3372
+ justify-content: left;
3373
+ flex-wrap: wrap;
3374
+ align-items: center;
3375
+ margin-right: -9px;
3376
+ width: calc(100% + 24px);
3377
+ transform: translateX(-12px);
3378
+ &__card {
3379
+ width: 198px;
3380
+ margin: 0 12px 12px;
3381
+ & > * {
3382
+ width: 100%;
3383
+ }
3384
+
3385
+ &__btnBox {
3386
+ text-align: center;
3387
+ margin: rem(10) auto 0;
3388
+
3389
+ &__btn {
3390
+ height: 30px;
3391
+ width: 30px;
3392
+ font-size: 14px!important;
3393
+
3394
+ cursor: default;
3395
+
3396
+ &:focus {
3397
+ box-shadow: none;
3398
+ }
3399
+ }
3400
+ }
3345
3401
  }
3346
3402
  }
3403
+ }
3404
+ }
3347
3405
 
3348
- &__name {
3349
- font-size: 16px;
3350
- max-width: 50%;
3351
- color: $img-grey-color;
3352
- text-align: center;
3353
- white-space: nowrap;
3354
- overflow: hidden;
3355
- text-overflow: ellipsis;
3356
- }
3406
+ @media screen and (max-width: 768px) {
3407
+ .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .upload-list__scroll {
3408
+ max-height: none!important;
3357
3409
 
3358
- .button {
3359
- min-height: 35px;
3360
- background-color: $img-primary-button;
3361
- border-color: $img-primary-button-hover;
3362
- color: #ffffff;
3410
+ .ng-scroll-content {
3411
+ margin: 0 !important;
3412
+ min-width: 100%!important;
3413
+ width: 100%!important;
3363
3414
  }
3364
3415
  }
3416
+ }
3417
+ //.wz-img-manager useful to keep the css priority
3418
+ .wz-img-manager .wz-loader {
3419
+ &.is-small {
3420
+ right: 0;
3421
+ left: 0;
3422
+ top: 0;
3423
+ transform: scale(0.6);
3424
+ }
3425
+ margin-bottom: rem(80);
3365
3426
 
3366
- &__image-cropper {
3367
- --cropper-overlay-color: #f5f8fa;
3368
- //--cropper-outline-color: #a5a5a573;
3369
- padding-bottom: 30px;
3427
+ @keyframes rotate {
3428
+ 0% {
3429
+ transform: rotate(0deg);
3430
+ }
3431
+ 50% {
3432
+ transform: rotate(180deg);
3433
+ }
3434
+ 100% {
3435
+ transform: rotate(360deg);
3370
3436
  }
3437
+ }
3371
3438
 
3372
- &__infoSection {
3373
- font-size: 14px;
3374
- max-width: 360px;
3375
- padding: 0;
3376
- margin: 0 rem(30) 0 0;
3439
+ @keyframes rotate2 {
3440
+ 0% {
3441
+ transform: rotate(0deg);
3442
+ border-top-color: $img-color-loader;
3443
+ }
3444
+ 50% {
3445
+ transform: rotate(180deg);
3446
+ border-top-color: $img-color-loader2;
3447
+ }
3448
+ 100% {
3449
+ transform: rotate(360deg);
3450
+ border-top-color: $img-color-loader;
3451
+ }
3452
+ }
3377
3453
 
3378
- &__propertyEditable {
3379
- margin-bottom: 31px;
3380
- p {
3381
- margin-bottom: 12px;
3382
- font-size: 14px;
3383
- }
3384
- input, button {
3385
- width: 100%;
3386
- height: 40px;
3387
- border: 1px solid #DEE2ED;
3388
- border-radius: 3px;
3389
- color: $img-main-text;
3390
- padding-left: 20px;
3391
- padding-right: 20px;
3392
- display: flex;
3393
- justify-content: space-between;
3394
- font-size: 14px;
3454
+ @mixin loaderDivMixin {
3455
+ border-radius: 50%;
3456
+ padding: rem(8);
3457
+ border: rem(2) solid transparent;
3458
+ animation: rotate linear 3.5s infinite;
3459
+ }
3395
3460
 
3396
- &:hover {
3397
- color: $img-main-color;
3398
- border-color: $img-main-color;
3399
- }
3400
- }
3461
+ .loader {
3462
+ position: relative;
3463
+ margin: rem(75) auto;
3464
+ width: rem(150);
3465
+ height: rem(150);
3466
+ display: block;
3467
+ overflow: hidden;
3468
+ div {
3469
+ height: 100%;
3470
+ }
3471
+ }
3401
3472
 
3402
- button {
3403
- align-items: center;
3404
- background-color: transparent;
3405
- cursor: pointer;
3406
- }
3473
+ /* loader 1 */
3474
+ .loader1,
3475
+ .loader1 div {
3476
+ @include loaderDivMixin;
3477
+ border-top-color: $img-color-loader;
3478
+ border-bottom-color: $img-color-loader2;
3479
+ }
3407
3480
 
3408
- &__span, &__input {
3409
- text-overflow: ellipsis;
3410
- overflow: hidden;
3411
- white-space: nowrap;
3412
- }
3481
+ div:hover {
3482
+ animation-play-state: paused;
3483
+ }
3413
3484
 
3414
- &__span {
3415
- color: $img-bleu-color;
3416
- & + i {
3417
- color: $img-bleu-color;
3418
- font-weight: 600;
3419
- }
3420
- }
3485
+ .loader,
3486
+ .loader * {
3487
+ will-change: transform;
3488
+ }
3421
3489
 
3422
- &__tooltips {
3423
- margin-left: 10px;
3424
- }
3425
- }
3490
+ p {
3491
+ margin-top: -50px;
3492
+ font-weight: 500;
3493
+ }
3494
+ }
3495
+ //.wz-img-manager useful to keep the css priority
3496
+ .wz-img-manager .img-tabs {
3497
+ background-color: white;
3498
+ padding-left: 0;
3499
+ padding-right: 0;
3500
+ padding-top: 0;
3426
3501
 
3427
- &__property {
3428
- &:nth-child(3), &:nth-child(4) {
3429
- margin: 0;
3430
- }
3431
- p {
3432
- font-size: 14px;
3433
- display: inline-block;
3434
- }
3502
+ .tabs {
3503
+ margin: 0;
3504
+ display: flex;
3505
+ align-items: center;
3506
+ overflow: visible!important;
3435
3507
 
3436
- .mainColor {
3437
- margin: 0!important;
3438
- }
3508
+ &--notWindow {
3509
+ padding: rem(20) rem(30) rem(20);
3510
+ margin-left: -1.075rem;
3511
+ margin-right: -0.575rem;
3512
+ margin-bottom: 0;
3513
+ }
3439
3514
 
3440
- p:last-child {
3441
- margin: 0 0 0 10px;
3442
- color: #526384;
3515
+ ul {
3516
+ width: auto;
3517
+ border: none;
3518
+ li {
3519
+ a {
3520
+ padding: 0 0 rem(10);
3521
+ margin: 0 rem(30) 0 0;
3522
+ position: relative;
3523
+ line-height: rem(16);
3524
+ border: none;
3525
+ color: $secondary-color;
3526
+ transition: color .3s ease;
3527
+ font-size: rem(14);
3528
+ font-weight: 400;
3529
+ }
3530
+ &.is-active {
3531
+ a {
3532
+ color: $main-text;
3533
+ &:after {
3534
+ content: '';
3535
+ display: block;
3536
+ position: absolute;
3537
+ width: 100%;
3538
+ height: 2px;
3539
+ background-color: $img-main-color;
3540
+ bottom: 0;
3541
+ left: 0;
3443
3542
  }
3543
+ }
3444
3544
  }
3545
+ }
3546
+ }
3547
+ }
3445
3548
 
3446
- &__titleSEO {
3447
- margin: 0 0 20px;
3549
+ &__canva {
3550
+ margin: 0 0 0 rem(30);
3551
+ }
3448
3552
 
3449
- .mainColor {
3450
- font-size: rem(18);
3451
- font-weight: 500;
3452
- }
3453
- }
3553
+ &__tabsEdit {
3554
+ > .column {
3555
+ padding: 0!important;
3556
+ }
3557
+ }
3454
3558
 
3455
- &__propertySEO {
3456
- margin-bottom: 12px;
3457
- p {
3458
- font-size: 14px;
3459
- display: inline-block;
3460
- margin: 0;
3461
- }
3559
+ &__tabsFirst {
3560
+ height: 100vh;
3462
3561
 
3463
- .mainColor {
3464
- & ~ p {
3465
- margin-left: 10px;
3466
- color: $img-green-color;
3467
- }
3468
- }
3469
- }
3562
+ &--window {
3563
+ height: auto;
3564
+ display: flex;
3565
+ justify-content: flex-start;
3566
+ }
3470
3567
 
3471
- &__divider {
3472
- display: block;
3473
- width: 100%;
3474
- border-bottom: 2px dashed #EFF1F6;
3475
- margin: 30px 0;
3476
- }
3568
+ &__upload {
3569
+ margin: rem(28) 0 0 0;
3570
+ padding: 0;
3571
+ max-width: 33.3%;
3572
+ }
3477
3573
 
3478
- &__actions {
3479
- height: 35px;
3574
+ &__list {
3575
+ padding: 0;
3576
+ margin: rem(28) 0 0 rem(60);
3577
+ &--upload {
3578
+ margin: rem(28) 0 0 rem(48);
3579
+ }
3580
+ //height: calc(100vh - 70px);
3581
+ //height: 100vh;
3582
+ }
3583
+ }
3480
3584
 
3481
- &__cancel {
3482
- margin-right: 19px;
3483
- background-color: white;
3484
- border-color: #dbdbdb;
3485
- color: $img-main-text;
3486
- }
3585
+ @media screen and (max-width: 768px) {
3586
+ .img-tabs__tabsFirst__upload {
3587
+ margin-right: 0;
3588
+ margin-bottom: 0;
3589
+ margin-top: 20px!important;
3590
+ }
3591
+ }
3487
3592
 
3488
- &__save {
3489
- padding: 8px 18px;
3490
- margin: 0!important;
3491
- &--disable {
3492
- cursor: not-allowed;
3493
- }
3494
- }
3495
- }
3593
+ &__tabsSecond {
3594
+ min-height: 100vh !important;
3595
+ margin-left: 0px;
3596
+ margin-right: 0px;
3597
+ margin-bottom: 0px;
3598
+
3599
+ .column {
3600
+ padding: 0.75rem 0 0.75rem 0;
3496
3601
  }
3602
+ }
3497
3603
 
3498
- .dropdown-menu {
3499
- left: -50%;
3604
+ &__tabsThird {
3605
+ min-height: 100vh !important;
3606
+ margin-left: 0px;
3607
+ margin-right: 0px;
3608
+ margin-bottom: 0px;
3609
+
3610
+ .column {
3611
+ padding: 0.75rem 0 0.75rem 0;
3500
3612
  }
3613
+ }
3501
3614
  }
3502
3615
 
3503
- .wz-img-manager .marginBottom {
3504
- margin-bottom: 20px;
3505
- }
3506
- //.wz-img-manager useful to keep the css priority
3507
- .wz-img-manager .upload-list {
3508
- text-align: left;
3509
- font-size: 14px;
3510
- color: #23272B;
3616
+ @media screen and (max-width: 768px) {
3617
+ .img-tabs__tabsFirst {
3618
+ margin-top: 0;
3619
+ }
3511
3620
 
3512
- &.smallDisplay {
3513
- .upload-list__box__cards__card {
3514
- width: 125px;
3515
- }
3621
+ .img-tabs__tabsFirst--small {
3622
+ height: 270px;
3516
3623
  }
3624
+ }
3517
3625
 
3626
+ .wz-img-manager .img-tabs .columns.img-tabs__tabsFirst {
3627
+ margin: 0;
3628
+ }
3629
+ .wz-img-manager .img-editor {
3518
3630
  &__scroll {
3519
3631
  position: relative;
3520
3632
  height: 100%;
3521
3633
 
3522
- &--smallDisplay {
3523
- max-height: 260px!important;
3634
+ &--full {
3635
+ max-height: calc(100vh - 90px)!important;
3636
+ min-height: calc(100vh - 90px) !important;
3637
+ }
3524
3638
 
3525
- .upload-list__box {
3526
- margin-bottom: 20px;
3527
- }
3639
+ &--smallDisplay {
3640
+ max-height: 275px!important;
3528
3641
  }
3529
3642
 
3530
3643
  &--window {
@@ -3532,333 +3645,291 @@ $green-color: #2ecc71;
3532
3645
  }
3533
3646
 
3534
3647
  .ng-scroll-content {
3535
- margin-left: 0.5rem !important;
3536
- margin-right: 0.5rem !important;
3648
+ margin-left: 0 !important;
3649
+ margin-right: 0 !important;
3537
3650
  min-width: calc(100% - 1rem) !important;
3538
3651
  width: calc(100% - 1rem) !important;
3539
3652
  }
3540
3653
  }
3541
3654
 
3542
- &__box {
3543
- margin: 0 0.8rem 30px 0.3rem;
3544
- padding: 30px;
3545
- background-color: $img-gray-background;
3546
- margin-right: 12px;
3547
- margin-left: 5px;
3548
- border-radius: 3px;
3549
-
3550
- &__container {
3551
- display: flex;
3552
- justify-content: space-between;
3553
- align-items: center;
3554
-
3555
- p {
3556
- display: inline;
3557
- }
3558
-
3559
- .dropdown {
3560
- vertical-align: baseline;
3561
- &:hover {
3562
- .dropdown-trigger i {
3563
- color: $img-main-color;
3564
- }
3565
- }
3566
- .dropdown-trigger {
3567
- display: inline;
3568
- i {
3569
- color: $img-secondary-text;
3570
- margin-left: 10px;
3571
- }
3572
- }
3655
+ .columns {
3656
+ margin-right: 0.8rem;
3657
+ margin-left: rem(12);
3658
+ margin-top: 12px;
3659
+ margin-bottom: 0;
3660
+ width: calc(100% + 11px);
3573
3661
 
3574
- .dropdown-menu {
3575
- padding: 0;
3576
- width: 370px;
3577
- left: -190px;
3578
- margin-top: 3px;
3662
+ .column {
3663
+ padding-top: 0;
3664
+ padding-bottom: 0px;
3665
+ }
3666
+ }
3579
3667
 
3580
- .dropdown-item {
3581
- display: flex;
3582
- justify-content: left;
3583
- align-items: center;
3668
+ &__head-container {
3669
+ display: flex;
3670
+ justify-content: flex-end;
3671
+ align-items: center;
3672
+ margin: 30px 30px 20px 0;
3584
3673
 
3585
- p {
3586
- margin: 0;
3587
- }
3674
+ &__btnGroup {
3675
+ margin-right: 13px;
3676
+ opacity: 0;
3677
+ visibility: hidden;
3678
+ transition: opacity .3s ease-in-out;
3588
3679
 
3589
- p:first-child {
3590
- color: $img-main-text;
3591
- font-size: 14px;
3592
- }
3680
+ &__visible {
3681
+ opacity: 1;
3682
+ visibility: visible;
3683
+ }
3593
3684
 
3594
- p:last-child {
3595
- color: $img-green-color;
3596
- font-size: 14px;
3597
- margin-left: 10px;
3598
- }
3599
- }
3600
- }
3685
+ &__removeBtn {
3686
+ margin-right: 13px;
3601
3687
  }
3602
3688
  }
3603
3689
 
3604
- &__cards {
3605
- padding-top: 15px;
3606
- margin-left: 5px;
3690
+ &__close {
3691
+ cursor: pointer;
3692
+ font-size: 14px;
3693
+ color: $img-grey-color;
3694
+ line-height: 40px;
3695
+ }
3696
+ }
3697
+
3698
+ &__container {
3699
+ padding: 0.75rem!important;
3700
+ display:flex;
3701
+ justify-content: center;
3702
+ align-items: center;
3703
+ background-color: $img-gray-background;
3704
+ margin: 0;
3705
+ transform: translateY(-16px);
3706
+
3707
+ &__toolsContainer {
3607
3708
  display: flex;
3608
- justify-content: left;
3609
- flex-wrap: wrap;
3709
+ justify-content: center;
3610
3710
  align-items: center;
3611
- margin-right: -9px;
3612
- width: calc(100% + 24px);
3613
- transform: translateX(-12px);
3614
- &__card {
3615
- width: 198px;
3616
- margin: 0 12px 12px;
3617
- & > * {
3618
- width: 100%;
3619
- }
3711
+ margin-bottom: 50px;
3620
3712
 
3621
- &__btnBox {
3622
- text-align: center;
3623
- margin: rem(10) auto 0;
3713
+ &__tool {
3714
+ color: $img-second-color;
3715
+ margin-right: 30px;
3716
+ text-align: center;
3717
+ cursor: pointer;
3624
3718
 
3625
- &__btn {
3626
- height: 30px;
3627
- width: 30px;
3628
- font-size: 14px!important;
3719
+ p {
3720
+ margin: 0!important;
3721
+ color: $img-main-text;
3722
+ font-size: rem(12);
3723
+ line-height: rem(14);
3724
+ }
3629
3725
 
3630
- cursor: default;
3726
+ i {
3727
+ font-size: rem(18);
3728
+ margin: 0 0 10px;
3729
+ }
3631
3730
 
3632
- &:focus {
3633
- box-shadow: none;
3634
- }
3635
- }
3731
+ &--button {
3732
+ background-color: $img-green-color;
3733
+ color: $img-white!important;
3734
+ padding: 10px;
3735
+ border-radius: 3px;
3736
+ transition: .3s ease;
3737
+ white-space: nowrap;
3738
+ display: flex;
3739
+ justify-content: center;
3740
+ align-items: center;
3741
+ position: absolute;
3742
+ top: 80px;
3743
+ left: 50%;
3744
+ transform: translateX(-50%);
3745
+ height: 35px;
3746
+ margin: 0;
3747
+ &:hover, &:focus {
3748
+ background-color: darken($img-green-color, 15%);
3749
+ color: $img-white!important;
3750
+ }
3751
+ p {
3752
+ color: $white!important;
3753
+ }
3754
+ i {
3755
+ margin: 0 5px 0 0;
3756
+ }
3757
+ }
3758
+ &:hover {
3759
+ color: $img-main-color;
3636
3760
  }
3637
- }
3638
- }
3639
- }
3640
- }
3641
3761
 
3642
- @media screen and (max-width: 768px) {
3643
- .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .upload-list__scroll {
3644
- max-height: none!important;
3762
+ > * {
3763
+ -webkit-touch-callout: none; /* iOS Safari */
3764
+ -webkit-user-select: none; /* Safari */
3765
+ -khtml-user-select: none; /* Konqueror HTML */
3766
+ -moz-user-select: none; /* Old versions of Firefox */
3767
+ -ms-user-select: none; /* Internet Explorer/Edge */
3768
+ user-select: none; /* Non-prefixed version, currently
3769
+ supported by Chrome, Edge, Opera and Firefox */
3770
+ }
3771
+ }
3645
3772
 
3646
- .ng-scroll-content {
3647
- margin: 0 !important;
3648
- min-width: 100%!important;
3649
- width: 100%!important;
3773
+ &__RotationDropdown {
3774
+ min-width: 16rem;
3775
+ }
3650
3776
  }
3651
- }
3652
- }
3653
- //.wz-img-manager useful to keep the css priority
3654
- .wz-img-manager .wz-loader {
3655
- &.is-small {
3656
- right: 0;
3657
- left: 0;
3658
- top: 0;
3659
- transform: scale(0.6);
3660
- }
3661
- margin-bottom: rem(80);
3662
3777
 
3663
- @keyframes rotate {
3664
- 0% {
3665
- transform: rotate(0deg);
3666
- }
3667
- 50% {
3668
- transform: rotate(180deg);
3669
- }
3670
- 100% {
3671
- transform: rotate(360deg);
3672
- }
3673
- }
3778
+ &__name {
3779
+ font-size: 16px;
3780
+ max-width: 50%;
3781
+ color: $img-grey-color;
3782
+ text-align: center;
3783
+ white-space: nowrap;
3784
+ overflow: hidden;
3785
+ text-overflow: ellipsis;
3786
+ }
3674
3787
 
3675
- @keyframes rotate2 {
3676
- 0% {
3677
- transform: rotate(0deg);
3678
- border-top-color: $img-color-loader;
3679
- }
3680
- 50% {
3681
- transform: rotate(180deg);
3682
- border-top-color: $img-color-loader2;
3683
- }
3684
- 100% {
3685
- transform: rotate(360deg);
3686
- border-top-color: $img-color-loader;
3788
+ .button {
3789
+ min-height: 35px;
3790
+ background-color: $img-primary-button;
3791
+ border-color: $img-primary-button-hover;
3792
+ color: #ffffff;
3793
+ }
3687
3794
  }
3688
- }
3689
-
3690
- @mixin loaderDivMixin {
3691
- border-radius: 50%;
3692
- padding: rem(8);
3693
- border: rem(2) solid transparent;
3694
- animation: rotate linear 3.5s infinite;
3695
- }
3696
3795
 
3697
- .loader {
3698
- position: relative;
3699
- margin: rem(75) auto;
3700
- width: rem(150);
3701
- height: rem(150);
3702
- display: block;
3703
- overflow: hidden;
3704
- div {
3705
- height: 100%;
3796
+ &__image-cropper {
3797
+ --cropper-overlay-color: #f5f8fa;
3798
+ //--cropper-outline-color: #a5a5a573;
3799
+ padding-bottom: 30px;
3706
3800
  }
3707
- }
3708
3801
 
3709
- /* loader 1 */
3710
- .loader1,
3711
- .loader1 div {
3712
- @include loaderDivMixin;
3713
- border-top-color: $img-color-loader;
3714
- border-bottom-color: $img-color-loader2;
3715
- }
3802
+ &__infoSection {
3803
+ font-size: 14px;
3804
+ max-width: 360px;
3805
+ padding: 0;
3806
+ margin: 0 rem(30) 0 0;
3716
3807
 
3717
- div:hover {
3718
- animation-play-state: paused;
3719
- }
3808
+ &__propertyEditable {
3809
+ margin-bottom: 31px;
3810
+ p {
3811
+ margin-bottom: 12px;
3812
+ font-size: 14px;
3813
+ }
3814
+ input, button {
3815
+ width: 100%;
3816
+ height: 40px;
3817
+ border: 1px solid #DEE2ED;
3818
+ border-radius: 3px;
3819
+ color: $img-main-text;
3820
+ padding-left: 20px;
3821
+ padding-right: 20px;
3822
+ display: flex;
3823
+ justify-content: space-between;
3824
+ font-size: 14px;
3720
3825
 
3721
- .loader,
3722
- .loader * {
3723
- will-change: transform;
3724
- }
3826
+ &:hover {
3827
+ color: $img-main-color;
3828
+ border-color: $img-main-color;
3829
+ }
3830
+ }
3725
3831
 
3726
- p {
3727
- margin-top: -50px;
3728
- font-weight: 500;
3729
- }
3730
- }
3731
- //.wz-img-manager useful to keep the css priority
3732
- .wz-img-manager .img-tabs {
3733
- background-color: white;
3734
- padding-left: 0;
3735
- padding-right: 0;
3736
- padding-top: 0;
3832
+ button {
3833
+ align-items: center;
3834
+ background-color: transparent;
3835
+ cursor: pointer;
3836
+ }
3737
3837
 
3738
- .tabs {
3739
- margin: 0;
3740
- display: flex;
3741
- align-items: center;
3742
- overflow: visible!important;
3838
+ &__span, &__input {
3839
+ text-overflow: ellipsis;
3840
+ overflow: hidden;
3841
+ white-space: nowrap;
3842
+ }
3743
3843
 
3744
- &--notWindow {
3745
- padding: rem(20) rem(30) rem(20);
3746
- margin-left: -1.075rem;
3747
- margin-right: -0.575rem;
3748
- margin-bottom: 0;
3749
- }
3844
+ &__span {
3845
+ color: $img-bleu-color;
3846
+ & + i {
3847
+ color: $img-bleu-color;
3848
+ font-weight: 600;
3849
+ }
3850
+ }
3750
3851
 
3751
- ul {
3752
- width: auto;
3753
- border: none;
3754
- li {
3755
- a {
3756
- padding: 0 0 rem(10);
3757
- margin: 0 rem(30) 0 0;
3758
- position: relative;
3759
- line-height: rem(16);
3760
- border: none;
3761
- color: $secondary-color;
3762
- transition: color .3s ease;
3763
- font-size: rem(14);
3764
- font-weight: 400;
3765
- }
3766
- &.is-active {
3767
- a {
3768
- color: $main-text;
3769
- &:after {
3770
- content: '';
3771
- display: block;
3772
- position: absolute;
3773
- width: 100%;
3774
- height: 2px;
3775
- background-color: $img-main-color;
3776
- bottom: 0;
3777
- left: 0;
3852
+ &__tooltips {
3853
+ margin-left: 10px;
3778
3854
  }
3779
- }
3780
3855
  }
3781
- }
3782
- }
3783
- }
3784
3856
 
3785
- &__canva {
3786
- margin: 0 0 0 rem(30);
3787
- }
3857
+ &__property {
3858
+ &:nth-child(3), &:nth-child(4) {
3859
+ margin: 0;
3860
+ }
3861
+ p {
3862
+ font-size: 14px;
3863
+ display: inline-block;
3864
+ }
3788
3865
 
3789
- &__tabsEdit {
3790
- > .column {
3791
- padding: 0!important;
3792
- }
3793
- }
3866
+ .mainColor {
3867
+ margin: 0!important;
3868
+ }
3794
3869
 
3795
- &__tabsFirst {
3796
- height: 100vh;
3870
+ p:last-child {
3871
+ margin: 0 0 0 10px;
3872
+ color: #526384;
3873
+ }
3874
+ }
3797
3875
 
3798
- &--window {
3799
- height: auto;
3800
- display: flex;
3801
- justify-content: flex-start;
3802
- }
3876
+ &__titleSEO {
3877
+ margin: 0 0 20px;
3803
3878
 
3804
- &__upload {
3805
- margin: rem(28) 0 0 0;
3806
- padding: 0;
3807
- max-width: 33.3%;
3808
- }
3879
+ .mainColor {
3880
+ font-size: rem(18);
3881
+ font-weight: 500;
3882
+ }
3883
+ }
3809
3884
 
3810
- &__list {
3811
- padding: 0;
3812
- margin: rem(28) 0 0 rem(60);
3813
- &--upload {
3814
- margin: rem(28) 0 0 rem(48);
3815
- }
3816
- //height: calc(100vh - 70px);
3817
- //height: 100vh;
3818
- }
3819
- }
3885
+ &__propertySEO {
3886
+ margin-bottom: 12px;
3887
+ p {
3888
+ font-size: 14px;
3889
+ display: inline-block;
3890
+ margin: 0;
3891
+ }
3820
3892
 
3821
- @media screen and (max-width: 768px) {
3822
- .img-tabs__tabsFirst__upload {
3823
- margin-right: 0;
3824
- margin-bottom: 0;
3825
- margin-top: 20px!important;
3826
- }
3827
- }
3893
+ .mainColor {
3894
+ & ~ p {
3895
+ margin-left: 10px;
3896
+ color: $img-green-color;
3897
+ }
3898
+ }
3899
+ }
3828
3900
 
3829
- &__tabsSecond {
3830
- min-height: 100vh !important;
3831
- margin-left: 0px;
3832
- margin-right: 0px;
3833
- margin-bottom: 0px;
3901
+ &__divider {
3902
+ display: block;
3903
+ width: 100%;
3904
+ border-bottom: 2px dashed #EFF1F6;
3905
+ margin: 30px 0;
3906
+ }
3834
3907
 
3835
- .column {
3836
- padding: 0.75rem 0 0.75rem 0;
3837
- }
3838
- }
3908
+ &__actions {
3909
+ height: 35px;
3839
3910
 
3840
- &__tabsThird {
3841
- min-height: 100vh !important;
3842
- margin-left: 0px;
3843
- margin-right: 0px;
3844
- margin-bottom: 0px;
3911
+ &__cancel {
3912
+ margin-right: 19px;
3913
+ background-color: white;
3914
+ border-color: #dbdbdb;
3915
+ color: $img-main-text;
3916
+ }
3845
3917
 
3846
- .column {
3847
- padding: 0.75rem 0 0.75rem 0;
3918
+ &__save {
3919
+ padding: 8px 18px;
3920
+ margin: 0!important;
3921
+ &--disable {
3922
+ cursor: not-allowed;
3923
+ }
3924
+ }
3925
+ }
3848
3926
  }
3849
- }
3850
- }
3851
-
3852
- @media screen and (max-width: 768px) {
3853
- .img-tabs__tabsFirst {
3854
- margin-top: 0;
3855
- }
3856
3927
 
3857
- .img-tabs__tabsFirst--small {
3858
- height: 270px;
3859
- }
3928
+ .dropdown-menu {
3929
+ left: -50%;
3930
+ }
3860
3931
  }
3861
3932
 
3862
- .wz-img-manager .img-tabs .columns.img-tabs__tabsFirst {
3863
- margin: 0;
3933
+ .wz-img-manager .marginBottom {
3934
+ margin-bottom: 20px;
3864
3935
  }