@wizishop/img-manager 0.2.80 → 0.2.85

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/assets/i18n/fr.json +1 -1
  3. package/bundles/wizishop-img-manager.umd.js +62 -12
  4. package/bundles/wizishop-img-manager.umd.js.map +1 -1
  5. package/bundles/wizishop-img-manager.umd.min.js +2 -2
  6. package/bundles/wizishop-img-manager.umd.min.js.map +1 -1
  7. package/esm2015/lib/components/images-view/images-view.component.js +11 -3
  8. package/esm2015/lib/components/images-view/mosaic-view/img-card/img-card.component.js +10 -2
  9. package/esm2015/lib/components/images-view/mosaic-view/mosaic-view.component.js +11 -3
  10. package/esm2015/lib/components/img-tabs/img-tabs.component.js +19 -5
  11. package/esm2015/lib/services/img-manager.service.js +11 -1
  12. package/esm2015/lib/wz-img-manager.component.js +5 -2
  13. package/esm5/lib/components/images-view/images-view.component.js +11 -3
  14. package/esm5/lib/components/images-view/mosaic-view/img-card/img-card.component.js +10 -2
  15. package/esm5/lib/components/images-view/mosaic-view/mosaic-view.component.js +11 -3
  16. package/esm5/lib/components/img-tabs/img-tabs.component.js +19 -5
  17. package/esm5/lib/services/img-manager.service.js +11 -1
  18. package/esm5/lib/wz-img-manager.component.js +5 -2
  19. package/fesm2015/wizishop-img-manager.js +59 -8
  20. package/fesm2015/wizishop-img-manager.js.map +1 -1
  21. package/fesm5/wizishop-img-manager.js +59 -8
  22. package/fesm5/wizishop-img-manager.js.map +1 -1
  23. package/lib/components/images-view/images-view.component.d.ts +3 -1
  24. package/lib/components/images-view/mosaic-view/img-card/img-card.component.d.ts +2 -0
  25. package/lib/components/images-view/mosaic-view/mosaic-view.component.d.ts +3 -1
  26. package/lib/components/img-tabs/img-tabs.component.d.ts +6 -1
  27. package/lib/services/img-manager.service.d.ts +2 -1
  28. package/lib/wz-img-manager.component.d.ts +1 -0
  29. package/package.json +1 -1
  30. package/wizishop-img-manager-0.2.85.tgz +0 -0
  31. package/wizishop-img-manager.metadata.json +1 -1
  32. package/wz-img-manager.scss +950 -782
  33. package/wizishop-img-manager-0.2.80.tgz +0 -0
@@ -791,6 +791,9 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
791
791
 
792
792
  .wz-img-manager .wz-img-manager__module:not(.wz-img-manager__module--window) .pexels-lib__scroll .ng-scroll-content {
793
793
  padding-right: 20px;
794
+ @include media('<tablet') {
795
+ padding: 0;
796
+ }
794
797
  }
795
798
 
796
799
  .tabs--notWindow ul {
@@ -874,6 +877,9 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
874
877
  &__pagination {
875
878
  margin-bottom: 0;
876
879
  transform: translateX(-20px);
880
+ @include media('<tablet') {
881
+ transform: none;
882
+ }
877
883
  }
878
884
  }
879
885
  }
@@ -953,7 +959,34 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
953
959
  margin-right: 33px;
954
960
  }
955
961
 
962
+ .img-tabs__tabsFirst__list {
963
+ .mosaic__container__cards {
964
+ @include media('<tablet') {
965
+ width: calc(100% - 10px) !important;
966
+ transform: translateX(5px);
967
+ & > * {
968
+ width: calc(50% - 20px) !important;
969
+ margin: 0 10px 20px !important;
970
+ display: none!important;
971
+ &:nth-child(1), &:nth-child(2) {
972
+ display: block!important;
973
+ }
974
+ }
975
+ }
976
+ }
977
+ }
978
+
979
+ .ng-scrollbar-wrapper {
980
+ @include media('<tablet') {
981
+ --vertical-scrollbar-size: 0!important;
982
+ }
983
+ }
956
984
 
985
+ .ng-scroll-viewport {
986
+ @include media('<tablet') {
987
+ overflow: scroll;
988
+ }
989
+ }
957
990
  .img-upload {
958
991
  position: relative;
959
992
  background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='3' ry='3' stroke='%2352AECD' stroke-width='2' stroke-dasharray='4%2c 8' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
@@ -1053,134 +1086,12 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
1053
1086
  }
1054
1087
  }
1055
1088
  }
1056
- //.wz-img-manager useful to keep the css priority
1057
- .wz-img-manager .table-view {
1058
-
1059
-
1060
- &__row {
1061
- td {
1062
- vertical-align: middle;
1063
- }
1064
- &__container {
1065
- display: flex;
1066
- align-items: center;
1067
- width: 100%;
1068
-
1069
- &__imgContainer {
1070
- margin-right: 20px;
1071
- position: relative;
1072
- display: block;
1073
- min-width: 60px;
1074
- cursor: pointer;
1075
-
1076
- &::before {
1077
- content: '';
1078
- display: block;
1079
- padding-top: 100%;
1080
- }
1081
-
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;
1093
- }
1094
-
1095
- &.imgSelected {
1096
-
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
- }
1109
- }
1110
-
1111
- &__overlay {
1112
- position: absolute;
1113
- top: 25%;
1114
- left: 25%;
1115
- height: 100%;
1116
- width: 100%;
1117
-
1118
- i {
1119
- font-size: 30px;
1120
- color: grey;
1121
- }
1122
- }
1123
- }
1124
-
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;
1144
- }
1145
- }
1146
- }
1147
- }
1148
- }
1149
-
1150
- .wz-img-manager .table-view .checked {
1151
- color: $img-main-color;
1152
- }
1153
-
1154
- .wz-img-manager .table-view .checked.disabled {
1155
- color: grey;
1156
- }
1157
-
1158
-
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 {
1089
+ .img-editor__infoSection__propertySEO__tooltips {
1090
+ i {
1091
+ font-size: rem(16);
1092
+ color: $main-text;
1093
+ }
1094
+ }.wz-selector {
1184
1095
  &__default {
1185
1096
  position: relative;
1186
1097
  &__base {
@@ -1251,243 +1162,646 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
1251
1162
  }
1252
1163
  }
1253
1164
  }
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;
1262
-
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;
1165
+ .mosaic {
1166
+ width: 100%;
1167
+ display: flex;
1168
+ flex-wrap: wrap;
1169
+ position: relative;
1170
+ min-height: rem(512);
1277
1171
 
1278
- $tag-radius: rem(20px)!default;
1279
- .img-editor__infoSection__propertySEO__tooltips {
1280
- i {
1281
- font-size: rem(16);
1282
- color: $main-text;
1172
+ &--displayPexelsImg {
1173
+ min-height: unset;
1283
1174
  }
1284
- }.wz-img-manager .images-view {
1285
- text-align: left;
1286
1175
 
1287
- &.fullSize {
1288
- & + .images-view__scroll {
1289
- max-height: 1160px;
1176
+ &:not(.fullSize) {
1177
+ width: calc(100% + 24px);
1178
+ transform: translateX(-12px);
1179
+ .mosaic__container__cards {
1180
+ padding-bottom: 40px;
1181
+ > * {
1182
+ width: calc(25% - 24px);
1183
+ margin: 0 12px rem(24) 12px;
1184
+ @include media('>=desktop','<1300px') {
1185
+ width: calc(33.33% - 24px);
1186
+ margin: 0 12px rem(24) 12px;
1187
+ }
1290
1188
  }
1291
1189
  }
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;
1190
+ &.small {
1191
+ min-height: 0;
1192
+ .mosaic__container__loader {
1193
+ top: 0;
1194
+ transform: translateX(-50%);
1195
+ max-height: 200px;
1196
+ }
1197
+ .mosaic {
1198
+ &__container {
1199
+ &__cards {
1200
+ padding-bottom: 40px;
1201
+ > * {
1202
+ width: calc(12.5% - 24px);
1203
+ margin: 0 12px rem(24) 12px;
1204
+ @include media('>=1400px','<1600px') {
1205
+ width: calc(14% - 24px);
1206
+ margin: 0 12px rem(24) 12px;
1207
+ }
1208
+ @include media('>=1200px','<1400px') {
1209
+ width: calc(16.66% - 24px);
1210
+ margin: 0 12px rem(24) 12px;
1211
+ }
1212
+ @include media('>=desktop','<1200px') {
1213
+ width: calc(20% - 24px);
1214
+ margin: 0 12px rem(24) 12px;
1215
+ }
1216
+ }
1217
+ }
1301
1218
  }
1302
-
1303
- &--smallDisplay {
1304
- max-height: 275px!important;
1219
+ }
1220
+ }
1221
+ }
1222
+ &.fullSize {
1223
+ width: calc(100% + 24px);
1224
+ transform: translateX(-12px);
1225
+ @include media('<420px') {
1226
+ width: 100%;
1227
+ transform: none;
1228
+ }
1229
+ .mosaic__container__cards {
1230
+ > * {
1231
+ width: calc(16.66% - 24px);
1232
+ margin: 0 12px rem(24) 12px;
1233
+ @include media('>=1400px','<1600px') {
1234
+ width: calc(20% - 24px);
1235
+ margin: 0 12px rem(24) 12px;
1305
1236
  }
1237
+ @include media('>=desktop','<1400px') {
1238
+ width: calc(25% - 24px);
1239
+ margin: 0 12px rem(24) 12px;
1240
+ }
1241
+ @include media('>=tablet','<desktop') {
1242
+ width: calc(33.33% - 24px);
1243
+ margin: 0 12px rem(24) 12px;
1244
+ }
1245
+ @include media('>=400px','<tablet') {
1246
+ width: calc(50% - 24px);
1247
+ margin: 0 12px rem(24) 12px;
1248
+ }
1249
+ @include media('<420px') {
1250
+ width: 100%;
1251
+ margin: 0 0 15px;
1252
+ }
1253
+ }
1254
+ }
1255
+ &.small {
1256
+ .mosaic__container__loader {
1257
+ top: 0;
1258
+ transform: translateX(-50%);
1259
+ max-height: 200px;
1260
+ }
1261
+ .mosaic {
1262
+ &__search {
1263
+ display: none;
1264
+ @include media('<tablet') {
1265
+ display: block;
1266
+ margin: 0 0 20px;
1267
+ padding: 0;
1268
+ width: 100%;
1269
+ }
1270
+ }
1271
+ &__container {
1272
+ &__cards {
1273
+ > * {
1274
+ width: calc(10% - 24px);
1275
+ margin: 0 12px rem(24) 12px;
1276
+ @include media('>=1400px','<1600px') {
1277
+ width: calc(11.11% - 24px);
1278
+ margin: 0 12px rem(24) 12px;
1279
+ }
1280
+ @include media('>=desktop','<1400px') {
1281
+ width: calc(12.5% - 24px);
1282
+ margin: 0 12px rem(24) 12px;
1283
+ }
1284
+ @include media('>=tablet','<desktop') {
1285
+ width: calc(20% - 24px);
1286
+ margin: 0 12px rem(24) 12px;
1287
+ }
1288
+ @include media('>=500px','<tablet') {
1289
+ width: calc(33.33% - 24px);
1290
+ margin: 0 12px rem(24) 12px;
1291
+ }
1292
+ @include media('<500px') {
1293
+ width: calc(50% - 24px);
1294
+ margin: 0 12px rem(24) 12px;
1295
+ }
1296
+ }
1297
+ }
1298
+ }
1299
+ }
1300
+ }
1301
+ }
1302
+ &__search {
1303
+ width: calc(100% - 24px);
1304
+ margin: 0 auto rem(20);
1305
+ }
1306
+ &__pagination {
1307
+ width: 100%;
1308
+ }
1309
+ &__container {
1310
+ &__loader {
1311
+ position: absolute;
1312
+ top: 50%;
1313
+ left: 50%;
1314
+ transform: translate(-50%,-50%);
1315
+ max-width: 300px;
1316
+ max-height: 300px;
1317
+ display: flex;
1318
+ flex-wrap: wrap;
1319
+ flex-direction: column;
1320
+ justify-content: center;
1321
+ align-items: center;
1322
+ }
1323
+ &__cards {
1324
+ width: 100%;
1325
+ display: flex;
1326
+ flex-wrap: wrap;
1327
+ &--padding {
1328
+ padding-right: 20px;
1329
+ @include media('<tablet') {
1330
+ width: calc(100% + 24px);
1331
+ padding: 0;
1332
+ }
1333
+ }
1334
+ }
1335
+ }
1336
+ }
1306
1337
 
1307
- &--smallUploadDisplay {
1308
- max-height: 230px!important;
1338
+ .mosaic__container__cards {
1339
+ z-index: 1;
1340
+ & + .mosaic__pagination {
1341
+ position: relative;
1342
+ z-index: 2;
1343
+ }
1344
+ }
1345
+ $green: $really-bad-bad-bad-green !default;
1346
+ $primary: $primary-button !default;
1347
+ $light: $img-placeholder !default;
1348
+ $info: $wizishop-blue !default;
1349
+ $danger: $img-red-color !default;
1350
+ $dark: $img-dark !default;
1351
+
1352
+ $button-padding-vertical: rem(7) !default;
1353
+ $radius: rem(3) !default;
1354
+
1355
+ $button-color: white!default;
1356
+ $button-hover-color: white !default;
1357
+ $button-focus-color: white !default;
1358
+ $button-active-color: white !default;
1359
+ $button-background-color: $primary !default;
1360
+ $button-disabled-background-color: $primary !default;
1361
+ $button-border-color: $primary-button-hover !default;
1362
+ $button-hover-border-color: $primary-button-hover !default;
1363
+ $button-active-border-color: $primary-button-hover !default;
1364
+ $button-focus-border-color: $primary-button-hover !default;
1365
+ $button-disabled-border-color: $primary-button-hover !default;
1366
+
1367
+ $tag-radius: rem(20px)!default;
1368
+ //.wz-img-manager useful to keep the css priority
1369
+ .wz-img-manager .table-view {
1370
+
1371
+
1372
+ &__row {
1373
+ td {
1374
+ vertical-align: middle;
1375
+ }
1376
+ &__container {
1377
+ display: flex;
1378
+ align-items: center;
1379
+ width: 100%;
1380
+
1381
+ &__imgContainer {
1382
+ margin-right: 20px;
1383
+ position: relative;
1384
+ display: block;
1385
+ min-width: 60px;
1386
+ cursor: pointer;
1387
+
1388
+ &::before {
1389
+ content: '';
1390
+ display: block;
1391
+ padding-top: 100%;
1392
+ }
1393
+
1394
+ &__img {
1395
+ margin: 0!important;
1396
+ position: absolute;
1397
+ top: 50%;
1398
+ left: 50%;
1399
+ max-width: 100%;
1400
+ max-height:100%;
1401
+ width: auto;
1402
+ height: auto;
1403
+ transform: translate(-50%, -50%);
1404
+ object-fit: contain;
1405
+ }
1406
+
1407
+ &.imgSelected {
1408
+
1409
+ &:after {
1410
+ z-index: 1000;
1411
+ content: '';
1412
+ display: block;
1413
+ position: absolute;
1414
+ width: 100%;
1415
+ height: 4px;
1416
+ background-color: $img-main-color;
1417
+ bottom: 0;
1418
+ left: 0;
1419
+ transform: translateZ(0);
1420
+ }
1421
+ }
1422
+
1423
+ &__overlay {
1424
+ position: absolute;
1425
+ top: 25%;
1426
+ left: 25%;
1427
+ height: 100%;
1428
+ width: 100%;
1429
+
1430
+ i {
1431
+ font-size: 30px;
1432
+ color: grey;
1433
+ }
1434
+ }
1435
+ }
1436
+
1437
+ &__name {
1438
+ display: inline-block;
1439
+ background-color: transparent;
1440
+ white-space: nowrap;
1441
+ overflow: hidden;
1442
+ text-overflow: ellipsis;
1443
+ color: $main-text;
1444
+ font-size: 14px;
1445
+ cursor: initial;
1446
+ }
1447
+ }
1448
+ }
1449
+
1450
+ &__dropdown-options {
1451
+ &__label {
1452
+ &--disable {
1453
+ cursor: not-allowed;
1454
+ i {
1455
+ cursor: not-allowed;
1456
+ }
1457
+ }
1458
+ }
1459
+ }
1460
+ }
1461
+
1462
+ .wz-img-manager .table-view .checked {
1463
+ color: $img-main-color;
1464
+ }
1465
+
1466
+ .wz-img-manager .table-view .checked.disabled {
1467
+ color: grey;
1468
+ }
1469
+
1470
+
1471
+ .wz-img-manager .table-view .disabled {
1472
+ cursor: not-allowed;
1473
+ }
1474
+
1475
+
1476
+ .wz-img-manager .is-wizi-hoverable .dropdown-trigger:before {
1477
+ width: 5rem;
1478
+ }
1479
+
1480
+ .table-view .wzImgMngInput {
1481
+ border-radius: 3px;
1482
+ }
1483
+
1484
+ .table-view .wzImgMngInput:active.desabled, .table-view .wzImgMngInput:focus.desabled {
1485
+ border: solid transparent 1px;
1486
+ }
1487
+
1488
+ .wz-img-manager .table-view .dropdown-menu {
1489
+ left: -165px;
1490
+ }
1491
+
1492
+ .grey {
1493
+ color: $img-grey-color;
1494
+ }
1495
+ .wz-img-manager .img-editor {
1496
+ &__scroll {
1497
+ position: relative;
1498
+ height: 100%;
1499
+
1500
+ &--full {
1501
+ max-height: calc(100vh - 90px)!important;
1502
+ min-height: calc(100vh - 90px) !important;
1503
+ }
1504
+
1505
+ &--smallDisplay {
1506
+ max-height: 275px!important;
1507
+ @include media('<tablet') {
1508
+ max-height: calc(100vh - 90px)!important;
1509
+ min-height: calc(100vh - 90px) !important;
1510
+ }
1309
1511
  }
1310
1512
 
1311
1513
  &--window {
1312
- max-height: unset!important;
1514
+ max-height: none;
1515
+ }
1516
+
1517
+ .ng-scroll-content {
1518
+ margin-left: 0 !important;
1519
+ margin-right: 0 !important;
1520
+ min-width: calc(100% - 1rem) !important;
1521
+ width: calc(100% - 1rem) !important;
1522
+ }
1523
+ }
1524
+
1525
+ .columns {
1526
+ margin-right: 0.8rem;
1527
+ margin-left: rem(12);
1528
+ margin-top: 12px;
1529
+ margin-bottom: 0;
1530
+ width: calc(100% + 11px);
1531
+
1532
+ .column {
1533
+ padding-top: 0;
1534
+ padding-bottom: 0px;
1535
+ }
1536
+ }
1537
+
1538
+ &__head-container {
1539
+ display: flex;
1540
+ justify-content: flex-end;
1541
+ align-items: center;
1542
+ margin: 30px 30px 20px 0;
1543
+
1544
+ &__btnGroup {
1545
+ margin-right: 13px;
1546
+ opacity: 0;
1547
+ visibility: hidden;
1548
+ transition: opacity .3s ease-in-out;
1549
+
1550
+ &__visible {
1551
+ opacity: 1;
1552
+ visibility: visible;
1553
+ }
1554
+
1555
+ &__removeBtn {
1556
+ margin-right: 13px;
1557
+ }
1313
1558
  }
1314
1559
 
1315
- &--hide {
1316
- &--mosaic {
1317
- min-height: 100px !important;
1318
- &--small {
1319
- min-height: unset !important;
1560
+ &__close {
1561
+ cursor: pointer;
1562
+ font-size: 14px;
1563
+ color: $img-grey-color;
1564
+ line-height: 40px;
1565
+ }
1566
+ }
1567
+
1568
+ &__container {
1569
+ padding: 0.75rem!important;
1570
+ display:flex;
1571
+ justify-content: center;
1572
+ align-items: center;
1573
+ background-color: $img-gray-background;
1574
+ margin: 0;
1575
+ transform: translateY(-16px);
1576
+
1577
+ &__toolsContainer {
1578
+ display: flex;
1579
+ justify-content: center;
1580
+ align-items: center;
1581
+ margin-bottom: 50px;
1582
+
1583
+ &__tool {
1584
+ color: $img-second-color;
1585
+ margin-right: 30px;
1586
+ text-align: center;
1587
+ cursor: pointer;
1588
+
1589
+ p {
1590
+ margin: 0!important;
1591
+ color: $img-main-text;
1592
+ font-size: rem(12);
1593
+ line-height: rem(14);
1594
+ }
1595
+
1596
+ i {
1597
+ font-size: rem(18);
1598
+ margin: 0 0 10px;
1599
+ }
1600
+
1601
+ &--button {
1602
+ background-color: $img-green-color;
1603
+ color: $img-white!important;
1604
+ padding: 10px;
1605
+ border-radius: 3px;
1606
+ transition: .3s ease;
1607
+ white-space: nowrap;
1608
+ display: flex;
1609
+ justify-content: center;
1610
+ align-items: center;
1611
+ position: absolute;
1612
+ top: 80px;
1613
+ left: 50%;
1614
+ transform: translateX(-50%);
1615
+ height: 35px;
1616
+ margin: 0;
1617
+ &:hover, &:focus {
1618
+ background-color: darken($img-green-color, 15%);
1619
+ color: $img-white!important;
1620
+ }
1621
+ p {
1622
+ color: $white!important;
1623
+ }
1624
+ i {
1625
+ margin: 0 5px 0 0;
1626
+ }
1627
+ }
1628
+ &:hover {
1629
+ color: $img-main-color;
1630
+ }
1631
+
1632
+ > * {
1633
+ -webkit-touch-callout: none; /* iOS Safari */
1634
+ -webkit-user-select: none; /* Safari */
1635
+ -khtml-user-select: none; /* Konqueror HTML */
1636
+ -moz-user-select: none; /* Old versions of Firefox */
1637
+ -ms-user-select: none; /* Internet Explorer/Edge */
1638
+ user-select: none; /* Non-prefixed version, currently
1639
+ supported by Chrome, Edge, Opera and Firefox */
1320
1640
  }
1321
1641
  }
1322
- &--table {
1323
- min-height: 170px !important;
1324
- }
1325
-
1326
- }
1327
1642
 
1328
- .ng-scroll-content {
1329
- min-width: calc(100% - 1rem) !important;
1330
- width: calc(100% - 1rem) !important;
1643
+ &__RotationDropdown {
1644
+ min-width: 16rem;
1645
+ }
1331
1646
  }
1332
- }
1333
-
1334
- &__container {
1335
- display: flex;
1336
- justify-content: space-between;
1337
- margin: 0 0 rem(20);
1338
1647
 
1339
- > div {
1340
- display: flex;
1341
- align-items: center;
1342
- .mainColor {
1343
- margin: 0;
1648
+ &__name {
1649
+ font-size: 16px;
1650
+ max-width: 50%;
1651
+ color: $img-grey-color;
1652
+ text-align: center;
1653
+ white-space: nowrap;
1654
+ overflow: hidden;
1655
+ text-overflow: ellipsis;
1344
1656
  }
1345
- }
1346
1657
 
1347
- &--window {
1348
- margin: rem(30) 0 rem(20);
1658
+ .button {
1659
+ min-height: 35px;
1660
+ background-color: $img-primary-button;
1661
+ border-color: $img-primary-button-hover;
1662
+ color: #ffffff;
1349
1663
  }
1664
+ }
1350
1665
 
1351
- &--uploadTab {
1352
- margin: 0 0 rem(20);
1353
- }
1666
+ &__image-cropper {
1667
+ --cropper-overlay-color: #f5f8fa;
1668
+ //--cropper-outline-color: #a5a5a573;
1669
+ padding-bottom: 30px;
1670
+ }
1354
1671
 
1355
- &__boxAction {
1356
- width: 525px;
1357
- overflow: visible;
1358
- display: flex;
1359
- position: relative;
1360
- justify-content: flex-end;
1361
- margin-right: 13px;
1362
- height: 40px;
1363
- align-items: center;
1364
- transform: translate(-41px,-3px);
1672
+ &__infoSection {
1673
+ font-size: 14px;
1674
+ max-width: 360px;
1675
+ padding: 0;
1676
+ margin: 0 rem(30) 0 0;
1365
1677
 
1366
- &__confirmSup {
1678
+ &__propertyEditable {
1679
+ margin-bottom: 31px;
1680
+ p {
1681
+ margin-bottom: 12px;
1682
+ font-size: 14px;
1683
+ }
1684
+ input, button {
1685
+ width: 100%;
1686
+ height: 40px;
1687
+ border: 1px solid #DEE2ED;
1688
+ border-radius: 3px;
1689
+ color: $img-main-text;
1690
+ padding-left: 20px;
1691
+ padding-right: 20px;
1367
1692
  display: flex;
1368
1693
  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;
1379
-
1380
- &--visible {
1381
- max-width: unset;
1382
- width: auto;
1383
- opacity: 1;
1384
- transition: 0s;
1385
- visibility: visible;
1694
+ font-size: 14px;
1386
1695
 
1387
- p {
1388
- transition: left .3s ease-in-out;
1389
- right: 100%;
1390
- left: auto;
1391
- white-space: nowrap;
1392
- margin-right: 30px;
1393
- }
1696
+ &:hover {
1697
+ color: $img-main-color;
1698
+ border-color: $img-main-color;
1394
1699
  }
1700
+ }
1395
1701
 
1396
- &__cancel {
1397
- margin-right: 14px;
1398
- background-color: white;
1399
- border-color: #dbdbdb;
1400
- color: $img-main-text;
1401
- }
1702
+ button {
1703
+ align-items: center;
1704
+ background-color: transparent;
1705
+ cursor: pointer;
1706
+ }
1402
1707
 
1403
- &__text {
1404
- font-size: 14px;
1405
- position: absolute;
1406
- left: -126%;
1407
- transition: font-size .3s ease-in-out, left .3s ease-in-out;
1408
- }
1708
+ &__span, &__input {
1709
+ text-overflow: ellipsis;
1710
+ overflow: hidden;
1711
+ white-space: nowrap;
1409
1712
  }
1410
1713
 
1411
- &__delBtn {
1412
- i {
1413
- margin-right: 13px!important;
1414
- }
1714
+ &__span {
1715
+ color: $img-bleu-color;
1716
+ & + i {
1717
+ color: $img-bleu-color;
1718
+ font-weight: 600;
1719
+ }
1415
1720
  }
1416
1721
 
1417
- &__import {
1418
- margin-right: 13px;
1419
- i {
1420
- margin-right: 13px!important;
1421
- }
1722
+ &__tooltips {
1723
+ margin-left: 10px;
1422
1724
  }
1423
1725
  }
1424
1726
 
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;
1727
+ &__property {
1728
+ &:nth-child(3), &:nth-child(4) {
1729
+ margin: 0;
1730
+ }
1731
+ p {
1732
+ font-size: 14px;
1733
+ display: inline-block;
1734
+ }
1431
1735
 
1432
- border-radius: 3px 0 0 3px;
1433
- outline: none!important;
1736
+ .mainColor {
1737
+ margin: 0!important;
1738
+ }
1434
1739
 
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;
1444
- }
1445
- div {
1446
- height: 38px;
1447
- margin: 0!important;
1448
- }
1740
+ p:last-child {
1741
+ margin: 0 0 0 10px;
1742
+ color: #526384;
1743
+ }
1744
+ }
1745
+
1746
+ &__titleSEO {
1747
+ margin: 0 0 20px;
1748
+
1749
+ .mainColor {
1750
+ font-size: rem(18);
1751
+ font-weight: 500;
1752
+ }
1753
+ }
1754
+
1755
+ &__propertySEO {
1756
+ margin-bottom: 12px;
1757
+ p {
1758
+ font-size: 14px;
1759
+ display: inline-block;
1760
+ margin: 0;
1761
+ }
1762
+
1763
+ .mainColor {
1764
+ & ~ p {
1765
+ margin-left: 10px;
1766
+ color: $img-green-color;
1449
1767
  }
1768
+ }
1769
+ }
1770
+
1771
+ &__divider {
1772
+ display: block;
1773
+ width: 100%;
1774
+ border-bottom: 2px dashed #EFF1F6;
1775
+ margin: 30px 0;
1776
+ }
1450
1777
 
1451
- .actifDisplayed {
1452
- color:$img-main-color;
1453
- }
1778
+ &__actions {
1779
+ height: 35px;
1454
1780
 
1455
- i {
1456
- margin: 0;
1781
+ &__cancel {
1782
+ margin-right: 19px;
1783
+ background-color: white;
1784
+ border-color: #dbdbdb;
1785
+ color: $img-main-text;
1457
1786
  }
1458
- }
1459
1787
 
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;
1788
+ &__save {
1789
+ padding: 8px 18px;
1790
+ margin: 0!important;
1791
+ &--disable {
1792
+ cursor: not-allowed;
1793
+ }
1794
+ }
1469
1795
  }
1470
1796
  }
1471
1797
 
1472
- &--pexels {
1473
- margin-top: -30px;
1474
- }
1475
-
1476
- .subHeaderActions .button i {
1477
- margin-right: 0;
1798
+ .dropdown-menu {
1799
+ left: -50%;
1478
1800
  }
1479
1801
  }
1480
1802
 
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
- }
1803
+ .wz-img-manager .marginBottom {
1804
+ margin-bottom: 20px;
1491
1805
  }
1492
1806
  $default-color-p-alert: #1e5568;
1493
1807
  $success-color-p-alert: #11552e;
@@ -1849,11 +2163,17 @@ $green-color: #2ecc71;
1849
2163
  // .wz-img-manager__module--small
1850
2164
  &--small {
1851
2165
  height: 320px;
2166
+ @include media('<tablet') {
2167
+ height: calc(100vh - 35px);
2168
+ }
1852
2169
  }
1853
2170
 
1854
2171
  // .wz-img-manager__module--full
1855
2172
  &--full {
1856
2173
  height: calc(100vh - 50px);
2174
+ @include media('<tablet') {
2175
+ height: calc(100vh - 35px);
2176
+ }
1857
2177
  }
1858
2178
 
1859
2179
  // .wz-img-manager__module--window
@@ -1886,6 +2206,11 @@ $green-color: #2ecc71;
1886
2206
  right: 30px;
1887
2207
  width: 101px;
1888
2208
 
2209
+ @include media('<tablet') {
2210
+ width: 45px;
2211
+ right: 0;
2212
+ }
2213
+
1889
2214
  // .wz-img-manager__module__header button
1890
2215
  button {
1891
2216
  width: 45px;
@@ -1897,6 +2222,12 @@ $green-color: #2ecc71;
1897
2222
  cursor: pointer;
1898
2223
  outline: none!important;
1899
2224
 
2225
+ &:first-child {
2226
+ @include media('<tablet') {
2227
+ display: none;
2228
+ }
2229
+ }
2230
+
1900
2231
  span {
1901
2232
  display: none;
1902
2233
  }
@@ -1922,6 +2253,10 @@ $green-color: #2ecc71;
1922
2253
  &:last-child {
1923
2254
  margin: 0 0 0 1px;
1924
2255
  border-radius: 0 3px 0 0;
2256
+ @include media('<tablet') {
2257
+ margin: 0;
2258
+ border-radius: 0;
2259
+ }
1925
2260
  }
1926
2261
  }
1927
2262
  }
@@ -1933,6 +2268,10 @@ $green-color: #2ecc71;
1933
2268
  box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
1934
2269
  padding: 0 0.575rem 0 1.075rem;
1935
2270
 
2271
+ @include media('<tablet') {
2272
+ padding: 0 20px;
2273
+ }
2274
+
1936
2275
  &--window {
1937
2276
  padding: rem(30);
1938
2277
  overflow: hidden;
@@ -1952,6 +2291,40 @@ $green-color: #2ecc71;
1952
2291
  .nwb-snack-bar .column {
1953
2292
  box-sizing: border-box;
1954
2293
  }
2294
+
2295
+ .wrapper-tabs {
2296
+ .tabs {
2297
+ @include media('<tablet') {
2298
+ display: none!important;
2299
+ }
2300
+ }
2301
+ .select-mobile-page {
2302
+ @include media('>=tablet') {
2303
+ display: none;
2304
+ }
2305
+ select {
2306
+ margin: 20px 0;
2307
+ width: 100%;
2308
+ min-height: 40px;
2309
+ background-color: $img-white;
2310
+ border: 1px solid $img-input-border;
2311
+ border-radius: 3px;
2312
+ box-shadow: none;
2313
+ font-size: rem(12);
2314
+ color: $img-second-color;
2315
+ padding: 0 30px 0 20px;
2316
+ -webkit-appearance: none;
2317
+ -moz-appearance: none;
2318
+ text-indent: 1px;
2319
+ text-overflow: '';
2320
+ background: no-repeat center right 10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M224 416c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L224 338.8l169.4-169.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-192 192C240.4 412.9 232.2 416 224 416z'/%3E%3C/svg%3E");
2321
+ background-size: 10px;
2322
+ }
2323
+ select::-ms-expand {
2324
+ display: none;
2325
+ }
2326
+ }
2327
+ }
1955
2328
  .wz-img-manager .dropdownWizi {
1956
2329
  padding: 10px;
1957
2330
 
@@ -2078,6 +2451,10 @@ $green-color: #2ecc71;
2078
2451
 
2079
2452
  &--smallDisplay {
2080
2453
  max-height: 275px!important;
2454
+ @include media('<tablet') {
2455
+ max-height: calc(100vh - 90px)!important;
2456
+ min-height: calc(100vh - 90px) !important;
2457
+ }
2081
2458
  }
2082
2459
  }
2083
2460
 
@@ -2101,11 +2478,20 @@ $green-color: #2ecc71;
2101
2478
  justify-content: space-between;
2102
2479
  margin-left: -5px;
2103
2480
 
2481
+ @include media('<tablet') {
2482
+ flex-wrap: wrap;
2483
+ }
2484
+
2104
2485
  // .pexels-lib__wrapper__result__column
2105
2486
  &__column {
2106
2487
  flex: 1;
2107
2488
  margin: 0 5px;
2108
2489
 
2490
+ @include media('<tablet') {
2491
+ width: calc(50% - 10px);
2492
+ flex: unset;
2493
+ }
2494
+
2109
2495
  // .pexels-lib__wrapper__result__column__element
2110
2496
  &__element {
2111
2497
  display: flex;
@@ -2194,234 +2580,68 @@ $green-color: #2ecc71;
2194
2580
  .dropdown-item {
2195
2581
  display: flex;
2196
2582
  justify-content: space-between;
2197
- align-items: center;
2198
-
2199
- p {
2200
- margin-top: 0;
2201
- margin-bottom: 0;
2202
- }
2203
-
2204
- .iPortrait, .iLandscape {
2205
- visibility: hidden;
2206
- }
2207
-
2208
- &:hover {
2209
- i {
2210
- visibility: unset;
2211
- }
2212
- }
2213
- }
2214
- }
2215
-
2216
- .dropdown-content__wrapper:hover {
2217
- .iOriginal {
2218
- visibility: hidden;
2219
- }
2220
- }
2221
-
2222
- }
2223
- }
2224
- }
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
- }
2236
- }
2237
- }
2238
-
2239
- &__alert {
2240
- margin-right: 0.8rem;
2241
- margin-left: 0.3rem;
2242
- margin-top: 10px;
2243
- }
2244
- }
2245
-
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
- }
2253
- }
2254
- .mosaic {
2255
- width: 100%;
2256
- display: flex;
2257
- flex-wrap: wrap;
2258
- position: relative;
2259
- min-height: rem(512);
2260
-
2261
- &--displayPexelsImg {
2262
- min-height: unset;
2263
- }
2264
-
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
- }
2277
- }
2278
- }
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
- }
2309
- }
2310
- }
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
- }
2342
- }
2343
- }
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;
2583
+ align-items: center;
2584
+
2585
+ p {
2586
+ margin-top: 0;
2587
+ margin-bottom: 0;
2588
+ }
2589
+
2590
+ .iPortrait, .iLandscape {
2591
+ visibility: hidden;
2592
+ }
2593
+
2594
+ &:hover {
2595
+ i {
2596
+ visibility: unset;
2597
+ }
2598
+ }
2599
+ }
2374
2600
  }
2375
- @include media('<500px') {
2376
- width: calc(50% - 24px);
2377
- margin: 0 12px rem(24) 12px;
2601
+
2602
+ .dropdown-content__wrapper:hover {
2603
+ .iOriginal {
2604
+ visibility: hidden;
2605
+ }
2378
2606
  }
2607
+
2379
2608
  }
2380
2609
  }
2381
2610
  }
2382
2611
  }
2383
- }
2384
- }
2385
- &__search {
2386
- width: calc(100% - 24px);
2387
- margin: 0 auto rem(20);
2388
- }
2389
- &__pagination {
2390
- width: 100%;
2391
- }
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;
2405
- }
2406
- &__cards {
2407
- width: 100%;
2408
- display: flex;
2409
- flex-wrap: wrap;
2410
- &--padding {
2411
- padding-right: 20px;
2612
+
2613
+ // .pexels-lib__wrapper__result-nb
2614
+ &-nb {
2615
+ font-size: 14px;
2616
+ margin-top: 30px;
2617
+ margin-bottom: 15px;
2618
+ font-weight: 600;
2619
+ line-height: 40px;
2620
+ @include media('<tablet') {
2621
+ margin: 20px auto;
2622
+ }
2412
2623
  }
2413
2624
  }
2414
2625
  }
2626
+
2627
+ &__alert {
2628
+ margin-right: 0.8rem;
2629
+ margin-left: 0.3rem;
2630
+ margin-top: 10px;
2631
+ }
2415
2632
  }
2416
2633
 
2417
- .mosaic__container__cards {
2418
- z-index: 1;
2419
- & + .mosaic__pagination {
2420
- position: relative;
2421
- z-index: 2;
2634
+ .wz-img-manager .pexels-lib .dropdown .dropdown-menu{
2635
+ min-width: 0;
2636
+ width: 100%;
2637
+ .dropdown-item:hover {
2638
+ background-color: #fafafa;
2639
+ cursor: pointer;
2422
2640
  }
2423
2641
  }
2424
- $card-img-size: 100%;
2642
+ image-cropper {
2643
+ max-height: 60vh;
2644
+ }$card-img-size: 100%;
2425
2645
  $card-img-size-small: 140px;
2426
2646
 
2427
2647
  //.wz-img-manager useful to keep the css priority
@@ -2524,6 +2744,15 @@ $card-img-size-small: 140px;
2524
2744
  opacity: 0;
2525
2745
  transition: .3s ease;
2526
2746
 
2747
+ &--small {
2748
+ .show-edit {
2749
+ transition: .3s ease!important;
2750
+ &:hover, &:focus {
2751
+ background-color: darken(#1E2E43, 15%) !important;
2752
+ }
2753
+ }
2754
+ }
2755
+
2527
2756
  button {
2528
2757
  box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
2529
2758
  margin: 0;
@@ -2587,7 +2816,7 @@ $card-img-size-small: 140px;
2587
2816
  &:not(:last-child) {
2588
2817
  margin: 0 0 5px;
2589
2818
  }
2590
- &.size {
2819
+ &.size, &.show-edit {
2591
2820
  background-color: #1E2E43;
2592
2821
  transition: transform .3s ease .6s;
2593
2822
  span, &:before {
@@ -2631,7 +2860,7 @@ $card-img-size-small: 140px;
2631
2860
  color: $img-bleu-color;
2632
2861
  }
2633
2862
  }
2634
- &:hover, &:focus {
2863
+ &:hover, &:focus, &.show-instant {
2635
2864
  border-radius: 3px 0 0 3px;
2636
2865
  &:before {
2637
2866
  border-radius: 3px 0 0 3px;
@@ -2805,6 +3034,9 @@ $card-img-size-small: 140px;
2805
3034
  transform: scale(1.02) translate(-50%,-50%);
2806
3035
  }
2807
3036
  &__config {
3037
+ @include media('<tablet') {
3038
+ display: none;
3039
+ }
2808
3040
  opacity: 1;
2809
3041
  button {
2810
3042
  transform: translateX(0);
@@ -2992,10 +3224,19 @@ $card-img-size-small: 140px;
2992
3224
  @include justify-content(flex-end);
2993
3225
  padding: 0 17px 0 0;
2994
3226
 
3227
+ @include media('<tablet') {
3228
+ padding: 0;
3229
+ justify-content: space-between;
3230
+ }
3231
+
2995
3232
  &__page {
2996
3233
  margin-right: 30px;
2997
3234
  padding: 4px 0 5px 0;
2998
3235
 
3236
+ @include media('<tablet') {
3237
+ margin: 0 20px 20px 0;
3238
+ }
3239
+
2999
3240
  @include flexbox();
3000
3241
 
3001
3242
  p {
@@ -3029,6 +3270,9 @@ $card-img-size-small: 140px;
3029
3270
 
3030
3271
  &__elements {
3031
3272
  margin-right: 30px;
3273
+ @include media('<tablet') {
3274
+ display: none;
3275
+ }
3032
3276
 
3033
3277
  p {
3034
3278
  margin: 8px 0 9px 0;
@@ -3086,6 +3330,10 @@ $card-img-size-small: 140px;
3086
3330
  .wz-img-manager .input-search.field {
3087
3331
  padding: 10px 20px;
3088
3332
  background-color: $gray-background;
3333
+ @include media('<tablet') {
3334
+ padding: 0!important;
3335
+ background-color: $white;
3336
+ }
3089
3337
  &.small-padding {
3090
3338
  padding: 10px 20px;
3091
3339
  }
@@ -3556,6 +3804,9 @@ $card-img-size-small: 140px;
3556
3804
 
3557
3805
  &__canva {
3558
3806
  margin: 0 0 0 rem(30);
3807
+ @include media('<tablet') {
3808
+ display: none;
3809
+ }
3559
3810
  }
3560
3811
 
3561
3812
  &__tabsEdit {
@@ -3577,6 +3828,10 @@ $card-img-size-small: 140px;
3577
3828
  margin: rem(28) 0 0 0;
3578
3829
  padding: 0;
3579
3830
  max-width: 33.3%;
3831
+ @include media('<tablet') {
3832
+ max-width: 100%;
3833
+ margin: 0;
3834
+ }
3580
3835
  }
3581
3836
 
3582
3837
  &__list {
@@ -3587,6 +3842,10 @@ $card-img-size-small: 140px;
3587
3842
  }
3588
3843
  //height: calc(100vh - 70px);
3589
3844
  //height: 100vh;
3845
+ @include media('<tablet') {
3846
+ width: 100%;
3847
+ margin: 40px 0 0 0;
3848
+ }
3590
3849
  }
3591
3850
  }
3592
3851
 
@@ -3634,310 +3893,219 @@ $card-img-size-small: 140px;
3634
3893
  .wz-img-manager .img-tabs .columns.img-tabs__tabsFirst {
3635
3894
  margin: 0;
3636
3895
  }
3637
- .wz-img-manager .img-editor {
3896
+ .wz-img-manager .images-view {
3897
+ text-align: left;
3898
+
3899
+ &.fullSize {
3900
+ & + .images-view__scroll {
3901
+ max-height: 1160px;
3902
+ }
3903
+ }
3904
+
3638
3905
  &__scroll {
3639
3906
  position: relative;
3640
3907
  height: 100%;
3908
+ z-index: 1;
3641
3909
 
3642
3910
  &--full {
3643
- max-height: calc(100vh - 90px)!important;
3644
- min-height: calc(100vh - 90px) !important;
3911
+ max-height: calc(100vh - 160px)!important;
3912
+ min-height: calc(100vh - 160px) !important;
3645
3913
  }
3646
3914
 
3647
3915
  &--smallDisplay {
3648
3916
  max-height: 275px!important;
3917
+ @include media('<tablet') {
3918
+ max-height: calc(100vh - 90px)!important;
3919
+ min-height: calc(100vh - 90px) !important;
3920
+ }
3649
3921
  }
3650
3922
 
3651
- &--window {
3652
- max-height: none;
3653
- }
3654
-
3655
- .ng-scroll-content {
3656
- margin-left: 0 !important;
3657
- margin-right: 0 !important;
3658
- min-width: calc(100% - 1rem) !important;
3659
- width: calc(100% - 1rem) !important;
3660
- }
3661
- }
3662
-
3663
- .columns {
3664
- margin-right: 0.8rem;
3665
- margin-left: rem(12);
3666
- margin-top: 12px;
3667
- margin-bottom: 0;
3668
- width: calc(100% + 11px);
3669
-
3670
- .column {
3671
- padding-top: 0;
3672
- padding-bottom: 0px;
3673
- }
3674
- }
3675
-
3676
- &__head-container {
3677
- display: flex;
3678
- justify-content: flex-end;
3679
- align-items: center;
3680
- margin: 30px 30px 20px 0;
3681
-
3682
- &__btnGroup {
3683
- margin-right: 13px;
3684
- opacity: 0;
3685
- visibility: hidden;
3686
- transition: opacity .3s ease-in-out;
3687
-
3688
- &__visible {
3689
- opacity: 1;
3690
- visibility: visible;
3691
- }
3692
-
3693
- &__removeBtn {
3694
- margin-right: 13px;
3695
- }
3923
+ &--smallUploadDisplay {
3924
+ max-height: 230px!important;
3696
3925
  }
3697
3926
 
3698
- &__close {
3699
- cursor: pointer;
3700
- font-size: 14px;
3701
- color: $img-grey-color;
3702
- line-height: 40px;
3927
+ &--window {
3928
+ max-height: unset!important;
3703
3929
  }
3704
- }
3705
-
3706
- &__container {
3707
- padding: 0.75rem!important;
3708
- display:flex;
3709
- justify-content: center;
3710
- align-items: center;
3711
- background-color: $img-gray-background;
3712
- margin: 0;
3713
- transform: translateY(-16px);
3714
-
3715
- &__toolsContainer {
3716
- display: flex;
3717
- justify-content: center;
3718
- align-items: center;
3719
- margin-bottom: 50px;
3720
-
3721
- &__tool {
3722
- color: $img-second-color;
3723
- margin-right: 30px;
3724
- text-align: center;
3725
- cursor: pointer;
3726
-
3727
- p {
3728
- margin: 0!important;
3729
- color: $img-main-text;
3730
- font-size: rem(12);
3731
- line-height: rem(14);
3732
- }
3733
-
3734
- i {
3735
- font-size: rem(18);
3736
- margin: 0 0 10px;
3737
- }
3738
-
3739
- &--button {
3740
- background-color: $img-green-color;
3741
- color: $img-white!important;
3742
- padding: 10px;
3743
- border-radius: 3px;
3744
- transition: .3s ease;
3745
- white-space: nowrap;
3746
- display: flex;
3747
- justify-content: center;
3748
- align-items: center;
3749
- position: absolute;
3750
- top: 80px;
3751
- left: 50%;
3752
- transform: translateX(-50%);
3753
- height: 35px;
3754
- margin: 0;
3755
- &:hover, &:focus {
3756
- background-color: darken($img-green-color, 15%);
3757
- color: $img-white!important;
3758
- }
3759
- p {
3760
- color: $white!important;
3761
- }
3762
- i {
3763
- margin: 0 5px 0 0;
3764
- }
3765
- }
3766
- &:hover {
3767
- color: $img-main-color;
3768
- }
3769
3930
 
3770
- > * {
3771
- -webkit-touch-callout: none; /* iOS Safari */
3772
- -webkit-user-select: none; /* Safari */
3773
- -khtml-user-select: none; /* Konqueror HTML */
3774
- -moz-user-select: none; /* Old versions of Firefox */
3775
- -ms-user-select: none; /* Internet Explorer/Edge */
3776
- user-select: none; /* Non-prefixed version, currently
3777
- supported by Chrome, Edge, Opera and Firefox */
3931
+ &--hide {
3932
+ &--mosaic {
3933
+ min-height: 100px !important;
3934
+ &--small {
3935
+ min-height: unset !important;
3778
3936
  }
3779
3937
  }
3938
+ &--table {
3939
+ min-height: 170px !important;
3940
+ }
3780
3941
 
3781
- &__RotationDropdown {
3782
- min-width: 16rem;
3942
+ }
3943
+
3944
+ .ng-scroll-content {
3945
+ min-width: calc(100% - 1rem) !important;
3946
+ width: calc(100% - 1rem) !important;
3947
+ @include media('<tablet') {
3948
+ min-width: 100%!important;
3783
3949
  }
3784
3950
  }
3951
+ }
3785
3952
 
3786
- &__name {
3787
- font-size: 16px;
3788
- max-width: 50%;
3789
- color: $img-grey-color;
3790
- text-align: center;
3791
- white-space: nowrap;
3792
- overflow: hidden;
3793
- text-overflow: ellipsis;
3953
+ &__container {
3954
+ display: flex;
3955
+ justify-content: space-between;
3956
+ margin: 0 0 rem(20);
3957
+
3958
+ > div {
3959
+ display: flex;
3960
+ align-items: center;
3961
+ .mainColor {
3962
+ margin: 0;
3794
3963
  }
3964
+ }
3795
3965
 
3796
- .button {
3797
- min-height: 35px;
3798
- background-color: $img-primary-button;
3799
- border-color: $img-primary-button-hover;
3800
- color: #ffffff;
3966
+ &--window {
3967
+ margin: rem(30) 0 rem(20);
3801
3968
  }
3802
- }
3803
3969
 
3804
- &__image-cropper {
3805
- --cropper-overlay-color: #f5f8fa;
3806
- //--cropper-outline-color: #a5a5a573;
3807
- padding-bottom: 30px;
3808
- }
3970
+ &--uploadTab {
3971
+ margin: 0 0 rem(20);
3972
+ }
3809
3973
 
3810
- &__infoSection {
3811
- font-size: 14px;
3812
- max-width: 360px;
3813
- padding: 0;
3814
- margin: 0 rem(30) 0 0;
3974
+ &__boxAction {
3975
+ width: 525px;
3976
+ overflow: visible;
3977
+ display: flex;
3978
+ position: relative;
3979
+ justify-content: flex-end;
3980
+ margin-right: 13px;
3981
+ height: 40px;
3982
+ align-items: center;
3983
+ transform: translate(-41px,-3px);
3815
3984
 
3816
- &__propertyEditable {
3817
- margin-bottom: 31px;
3818
- p {
3819
- margin-bottom: 12px;
3820
- font-size: 14px;
3821
- }
3822
- input, button {
3823
- width: 100%;
3824
- height: 40px;
3825
- border: 1px solid #DEE2ED;
3826
- border-radius: 3px;
3827
- color: $img-main-text;
3828
- padding-left: 20px;
3829
- padding-right: 20px;
3985
+ &__confirmSup {
3830
3986
  display: flex;
3831
3987
  justify-content: space-between;
3832
- font-size: 14px;
3988
+ align-items: center;
3989
+ border-left: solid 1px #d8d8d8;
3990
+ color: $img-grey-color;
3991
+ padding-left: 1rem;
3992
+ width: 0;
3993
+ position: absolute;
3994
+ opacity: 0;
3995
+ transition: 0s;
3996
+ visibility: hidden;
3997
+ z-index: 2;
3833
3998
 
3834
- &:hover {
3835
- color: $img-main-color;
3836
- border-color: $img-main-color;
3999
+ &--visible {
4000
+ max-width: unset;
4001
+ width: auto;
4002
+ opacity: 1;
4003
+ transition: 0s;
4004
+ visibility: visible;
4005
+
4006
+ p {
4007
+ transition: left .3s ease-in-out;
4008
+ right: 100%;
4009
+ left: auto;
4010
+ white-space: nowrap;
4011
+ margin-right: 30px;
4012
+ }
3837
4013
  }
3838
- }
3839
4014
 
3840
- button {
3841
- align-items: center;
3842
- background-color: transparent;
3843
- cursor: pointer;
3844
- }
4015
+ &__cancel {
4016
+ margin-right: 14px;
4017
+ background-color: white;
4018
+ border-color: #dbdbdb;
4019
+ color: $img-main-text;
4020
+ }
3845
4021
 
3846
- &__span, &__input {
3847
- text-overflow: ellipsis;
3848
- overflow: hidden;
3849
- white-space: nowrap;
4022
+ &__text {
4023
+ font-size: 14px;
4024
+ position: absolute;
4025
+ left: -126%;
4026
+ transition: font-size .3s ease-in-out, left .3s ease-in-out;
4027
+ }
3850
4028
  }
3851
4029
 
3852
- &__span {
3853
- color: $img-bleu-color;
3854
- & + i {
3855
- color: $img-bleu-color;
3856
- font-weight: 600;
3857
- }
4030
+ &__delBtn {
4031
+ i {
4032
+ margin-right: 13px!important;
4033
+ }
3858
4034
  }
3859
4035
 
3860
- &__tooltips {
3861
- margin-left: 10px;
4036
+ &__import {
4037
+ margin-right: 13px;
4038
+ i {
4039
+ margin-right: 13px!important;
4040
+ }
3862
4041
  }
3863
4042
  }
3864
4043
 
3865
- &__property {
3866
- &:nth-child(3), &:nth-child(4) {
3867
- margin: 0;
3868
- }
3869
- p {
3870
- font-size: 14px;
3871
- display: inline-block;
3872
- }
4044
+ &__buttonBox {
4045
+ margin: 0;
4046
+ width: rem(40);
4047
+ height: rem(40);
4048
+ border: solid $img-light-white-color;
4049
+ border-width: 1px 0 1px 1px;
3873
4050
 
3874
- .mainColor {
3875
- margin: 0!important;
3876
- }
4051
+ border-radius: 3px 0 0 3px;
4052
+ outline: none!important;
3877
4053
 
3878
- p:last-child {
3879
- margin: 0 0 0 10px;
3880
- color: #526384;
4054
+ > div {
4055
+ margin-top: 0;
4056
+ margin-bottom: 0;
4057
+ height: 40px;
4058
+ &:nth-child(2) {
4059
+ border: solid $img-light-white-color;
4060
+ border-width: 1px 1px 1px 0;
4061
+ transform: translateY(-1px);
4062
+ border-radius: 0 3px 3px 0;
4063
+ }
4064
+ div {
4065
+ height: 38px;
4066
+ margin: 0!important;
4067
+ }
3881
4068
  }
3882
- }
3883
-
3884
- &__titleSEO {
3885
- margin: 0 0 20px;
3886
-
3887
- .mainColor {
3888
- font-size: rem(18);
3889
- font-weight: 500;
3890
- }
3891
- }
3892
4069
 
3893
- &__propertySEO {
3894
- margin-bottom: 12px;
3895
- p {
3896
- font-size: 14px;
3897
- display: inline-block;
3898
- margin: 0;
4070
+ .actifDisplayed {
4071
+ color:$img-main-color;
3899
4072
  }
3900
4073
 
3901
- .mainColor {
3902
- & ~ p {
3903
- margin-left: 10px;
3904
- color: $img-green-color;
4074
+ i {
4075
+ margin: 0;
3905
4076
  }
3906
- }
3907
- }
3908
-
3909
- &__divider {
3910
- display: block;
3911
- width: 100%;
3912
- border-bottom: 2px dashed #EFF1F6;
3913
- margin: 30px 0;
3914
4077
  }
3915
4078
 
3916
- &__actions {
3917
- height: 35px;
3918
-
3919
- &__cancel {
3920
- margin-right: 19px;
3921
- background-color: white;
3922
- border-color: #dbdbdb;
3923
- color: $img-main-text;
3924
- }
4079
+ &__cards {
4080
+ display: flex;
4081
+ justify-content: space-between;
4082
+ flex-wrap: wrap;
4083
+ align-items: center;
4084
+ padding-top: 30px;
4085
+ margin-right: calc(0.8rem - 20px);
4086
+ margin-left: 0.3rem;
4087
+ margin-bottom: 30px;
3925
4088
 
3926
- &__save {
3927
- padding: 8px 18px;
3928
- margin: 0!important;
3929
- &--disable {
3930
- cursor: not-allowed;
3931
- }
3932
- }
3933
4089
  }
3934
4090
  }
3935
4091
 
3936
- .dropdown-menu {
3937
- left: -50%;
4092
+ &--pexels {
4093
+ margin-top: -30px;
4094
+ }
4095
+
4096
+ .subHeaderActions .button i {
4097
+ margin-right: 0;
3938
4098
  }
3939
4099
  }
3940
4100
 
3941
- .wz-img-manager .marginBottom {
3942
- margin-bottom: 20px;
4101
+ @media screen and (max-width: 768px) {
4102
+ .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .images-view__scroll {
4103
+ max-height: none!important;
4104
+
4105
+ .ng-scroll-content {
4106
+ margin: 0 !important;
4107
+ min-width: 100%!important;
4108
+ width: 100%!important;
4109
+ }
4110
+ }
3943
4111
  }