@wizishop/img-manager 0.2.72 → 0.2.77

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 (34) hide show
  1. package/bundles/wizishop-img-manager.umd.js +151 -25
  2. package/bundles/wizishop-img-manager.umd.js.map +1 -1
  3. package/bundles/wizishop-img-manager.umd.min.js +1 -1
  4. package/bundles/wizishop-img-manager.umd.min.js.map +1 -1
  5. package/esm2015/lib/components/images-view/images-view.component.js +10 -4
  6. package/esm2015/lib/components/img-editor/img-editor.component.js +6 -2
  7. package/esm2015/lib/components/shared/pagination/page-selector/page-selector.component.js +55 -0
  8. package/esm2015/lib/components/shared/pagination/pagination.component.js +4 -4
  9. package/esm2015/lib/pipes/pagination/large-number-of-page/large-number-of-page.pipe.js +51 -0
  10. package/esm2015/lib/services/img-manager.service.js +2 -2
  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/services/img-manager.service.js +2 -2
  19. package/esm5/lib/wz-img-manager.module.js +7 -3
  20. package/esm5/wizishop-img-manager.js +18 -16
  21. package/fesm2015/wizishop-img-manager.js +123 -11
  22. package/fesm2015/wizishop-img-manager.js.map +1 -1
  23. package/fesm5/wizishop-img-manager.js +135 -11
  24. package/fesm5/wizishop-img-manager.js.map +1 -1
  25. package/lib/components/images-view/images-view.component.d.ts +1 -0
  26. package/lib/components/shared/pagination/page-selector/page-selector.component.d.ts +20 -0
  27. package/lib/components/shared/pagination/pagination.component.d.ts +1 -1
  28. package/lib/pipes/pagination/large-number-of-page/large-number-of-page.pipe.d.ts +10 -0
  29. package/package.json +1 -1
  30. package/wizishop-img-manager-0.2.77.tgz +0 -0
  31. package/wizishop-img-manager.d.ts +17 -15
  32. package/wizishop-img-manager.metadata.json +1 -1
  33. package/wz-img-manager.scss +1937 -1866
  34. package/wizishop-img-manager-0.2.72.tgz +0 -0
@@ -1053,1139 +1053,591 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
1053
1053
  }
1054
1054
  }
1055
1055
  }
1056
- image-cropper {
1057
- max-height: 60vh;
1058
- }$card-img-size: 100%;
1059
- $card-img-size-small: 140px;
1060
-
1061
1056
  //.wz-img-manager useful to keep the css priority
1062
- .wz-img-manager .addCssPriority .img-card {
1063
- display: flex;
1064
- flex-wrap: wrap;
1065
- justify-content: center;
1066
- padding: 0 0 rem(5);
1067
- width: 100%;
1068
- overflow: hidden;
1057
+ .wz-img-manager .table-view {
1069
1058
 
1070
- &__container {
1071
- width: 100%!important;
1072
- height: auto!important;
1073
- display: flex;
1074
- border-radius: 3px;
1075
- border: 1px solid $img-light-white-color;
1076
- cursor: pointer;
1077
- overflow: hidden;
1078
- transition: .3s ease;
1079
- position: relative;
1080
- margin: 0 0 rem(10);
1081
- &:before {
1082
- content: '';
1083
- display: block;
1084
- padding-top: 100%;
1059
+
1060
+ &__row {
1061
+ td {
1062
+ vertical-align: middle;
1085
1063
  }
1064
+ &__container {
1065
+ display: flex;
1066
+ align-items: center;
1067
+ width: 100%;
1086
1068
 
1087
- &.imgSelected {
1069
+ &__imgContainer {
1070
+ margin-right: 20px;
1071
+ position: relative;
1072
+ display: block;
1073
+ min-width: 60px;
1074
+ cursor: pointer;
1088
1075
 
1089
- &:after {
1090
- z-index: 1000;
1091
- content: '';
1092
- display: block;
1093
- position: absolute;
1094
- width: 100%;
1095
- height: 4px;
1096
- background-color: $img-main-color;
1097
- bottom: 0;
1098
- left: 0;
1099
- transform: translateZ(0);
1100
- }
1101
- }
1076
+ &::before {
1077
+ content: '';
1078
+ display: block;
1079
+ padding-top: 100%;
1080
+ }
1102
1081
 
1103
- &__valid {
1104
- display: flex;
1105
- position: absolute;
1106
- top: 100%;
1107
- left: 50%;
1108
- transform: translate(-50%,0);
1109
- justify-content: center;
1110
- align-items: center;
1111
- width: auto;
1112
- background-color: $img-green-color;
1113
- border-radius: 3px;
1114
- padding: 5px;
1115
- transition: .3s ease;
1116
- i {
1117
- font-size: rem(10);
1118
- color: $white;
1119
- margin: 0 5px 0 0;
1120
- }
1121
- span {
1122
- color: $white;
1123
- font-weight: 500;
1124
- font-size: rem(10);
1125
- }
1126
- }
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
+ }
1127
1094
 
1128
- &:hover, &:focus {
1129
- .img-card__container {
1130
- &__valid {
1131
- transform: translate(-50%, -40px);
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;
1132
1134
  }
1133
- }
1134
1135
  }
1136
+ }
1135
1137
 
1136
- &__img {
1137
- width: auto!important;
1138
- height: auto!important;
1139
- background-color: white;
1140
- margin: auto;
1141
- transition: .3s ease;
1142
- position: absolute;
1143
- object-fit: contain;
1144
- max-width: 100%;
1145
- max-height: 100%;
1146
- top: 50%;
1147
- left: 50%;
1148
- transform: translate(-50%,-50%);
1138
+ &__dropdown-options {
1139
+ &__label {
1140
+ &--disable {
1141
+ cursor: not-allowed;
1142
+ i {
1143
+ cursor: not-allowed;
1144
+ }
1145
+ }
1149
1146
  }
1147
+ }
1148
+ }
1150
1149
 
1151
- &__config {
1152
- position: relative;
1153
- top: 10px;
1154
- left: 10px;
1155
- transform: none;
1156
- z-index: 9999;
1157
- width: 30px;
1158
- opacity: 0;
1159
- transition: .3s ease;
1150
+ .wz-img-manager .table-view .checked {
1151
+ color: $img-main-color;
1152
+ }
1160
1153
 
1161
- button {
1162
- box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
1163
- margin: 0;
1164
- width: 30px;
1165
- height: 30px;
1166
- box-sizing: content-box;
1167
- border-radius: 3px;
1168
- border: none;
1169
- color: #fff;
1170
- transform: translateX(-40px);
1171
- will-change: transform;
1172
- cursor: pointer;
1173
- padding: 0;
1174
- display: flex;
1175
- justify-content: center;
1176
- align-content: center;
1177
- align-items: center;
1154
+ .wz-img-manager .table-view .checked.disabled {
1155
+ color: grey;
1156
+ }
1178
1157
 
1179
- i {
1180
- font-size: 16px;
1181
- color: #fff;
1182
- position: relative;
1183
- z-index: 3;
1184
- }
1185
1158
 
1186
- &:before {
1187
- content: '';
1188
- display: block;
1189
- position: absolute;
1190
- top: 0;
1191
- left: 0;
1192
- border-radius: 3px;
1193
- width: 100%;
1194
- height: 100%;
1195
- z-index: 2;
1196
- }
1159
+ .wz-img-manager .table-view .disabled {
1160
+ cursor: not-allowed;
1161
+ }
1197
1162
 
1198
- span {
1199
- position: absolute;
1200
- left: 100%;
1201
- display: flex;
1202
- justify-content: center;
1203
- align-items: center;
1204
- align-content: center;
1205
- height: 100%;
1206
- margin-left: -10px;
1207
- width: auto;
1208
- padding: 0 10px 0 0;
1209
- color: #fff;
1210
- text-transform: capitalize;
1211
- font-size: 14px;
1212
- border-radius: 0 3px 3px 0;
1213
- max-width: 0;
1214
- overflow: hidden;
1215
- z-index: 1;
1216
- transition: .3s ease;
1217
- box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
1218
- white-space: nowrap;
1219
- }
1220
1163
 
1221
- &:not(:last-child) {
1222
- margin: 0 0 5px;
1223
- }
1224
- &.size {
1225
- background-color: #1E2E43;
1226
- transition: transform .3s ease .6s;
1227
- span, &:before {
1228
- background-color: #1E2E43;
1229
- }
1230
- }
1231
- &.dl {
1232
- background-color: $img-bleu-action;
1233
- transition: transform .3s ease .45s;
1234
- span, &:before {
1235
- background-color: $img-bleu-action;
1236
- }
1237
- }
1238
- &.edit {
1239
- background-color: $img-orange-color;
1240
- transition: transform .3s ease .3s;
1241
- span, &:before {
1242
- background-color: $img-orange-color;
1243
- }
1244
- }
1245
- &.deleted {
1246
- background-color: $img-red-color;
1247
- transition: transform .3s ease .15s;
1248
- span, &:before {
1249
- background-color: $img-red-color;
1250
- }
1251
- }
1252
- &.selected {
1253
- background-color: #fff;
1254
- border-color: $img-light-white-color;
1255
- transition: transform .3s ease;
1256
- span, &:before {
1257
- background-color: #fff;
1258
- color: $img-grey-color;
1259
- }
1164
+ .wz-img-manager .is-wizi-hoverable .dropdown-trigger:before {
1165
+ width: 5rem;
1166
+ }
1260
1167
 
1261
- i {
1262
- color: $img-light-white-color;
1263
- }
1264
- .checked {
1265
- color: $img-bleu-color;
1266
- }
1267
- }
1268
- &:hover, &:focus {
1269
- border-radius: 3px 0 0 3px;
1270
- &:before {
1271
- border-radius: 3px 0 0 3px;
1272
- }
1273
- span {
1274
- transition: max-width 1s ease, margin-left .3s ease;
1275
- max-width: 1000px;
1276
- margin-left: -1px;
1277
- padding-left: 4px;
1278
- will-change: transform, margin;
1279
- }
1280
- }
1281
- }
1282
- }
1168
+ .table-view .wzImgMngInput {
1169
+ border-radius: 3px;
1170
+ }
1283
1171
 
1284
- &__overlay {
1285
- position: absolute;
1286
- top: 0;
1287
- left: 0;
1288
- height: 100%;
1289
- width: 100%;
1290
- display: flex;
1291
- justify-content: center;
1292
- align-items: center;
1172
+ .table-view .wzImgMngInput:active.desabled, .table-view .wzImgMngInput:focus.desabled {
1173
+ border: solid transparent 1px;
1174
+ }
1293
1175
 
1294
- i {
1295
- font-size: 100px;
1296
- color: grey;
1297
- }
1176
+ .wz-img-manager .table-view .dropdown-menu {
1177
+ left: -165px;
1178
+ }
1298
1179
 
1299
- &--smallDisplay {
1300
- i {
1301
- font-size: 75px;
1302
- }
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;
1198
+ &:focus {
1199
+ cursor: text;
1200
+ padding: 3px 7px;
1201
+ & + i {
1202
+ opacity: 0;
1303
1203
  }
1304
1204
  }
1305
-
1306
- &__delete {
1307
- position: absolute;
1308
- top: 0;
1309
- left: 0;
1310
- width: 100%;
1311
- height: 100%;
1312
- background-color: rgba(0,0,0,.45);
1313
- display: flex;
1314
- flex-direction: column;
1315
- justify-content: center;
1316
- align-items: center;
1317
- padding: 15px;
1318
- visibility: hidden;
1319
- transform: translateY(100%);
1320
- opacity: 0;
1321
- z-index: 9999;
1322
- transition: visibility 0s linear .35s, opacity .3s ease, transform .3s ease;
1323
- &.show {
1324
- transform: translateY(0);
1325
- opacity: 1;
1326
- visibility: visible;
1327
- transition: visibility 0s linear, opacity .3s ease .05s, transform .3s ease .05s;
1328
- }
1329
- > span {
1330
- font-size: rem(14);
1331
- color: $img-white;
1332
- font-weight: 600;
1333
- text-align: center;
1334
- display: inline-block;
1335
- margin: 0 0 10px;
1336
- }
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 {
1337
1229
  > div {
1338
- display: flex;
1339
- > button {
1340
- padding: 7px 12px;
1341
- font-size: rem(14);
1342
- color: $img-white;
1343
- background-color: $img-red-color;
1344
- font-weight: 600;
1345
- border: none;
1346
- margin: 0 0 0 5px;
1347
- text-transform: capitalize;
1348
- transition: .3s ease;
1349
- &:hover, &:focus {
1350
- background-color: darken($img-red-color, 15%);
1351
- }
1352
- &:first-child {
1353
- background-color: $img-main-color;
1354
- margin: 0 5px 0 0;
1355
- &:hover, &:focus {
1356
- background-color: darken($img-main-color, 15%);
1357
- }
1358
- }
1359
- }
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;
1360
1248
  }
1361
1249
  }
1250
+ }
1362
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;
1363
1262
 
1364
- &__nameContainer {
1365
- text-align: center;
1366
- overflow: hidden;
1367
- max-width: 100%;
1368
- min-width: 100%;
1369
- position: relative;
1370
- width: auto;
1371
- display: flex;
1372
- justify-content: center;
1373
- align-items: center;
1374
- min-height: rem(16);
1263
+ $button-padding-vertical: rem(7) !default;
1264
+ $radius: rem(3) !default;
1375
1265
 
1376
- &.focus {
1377
- overflow: visible;
1378
- }
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;
1379
1277
 
1380
- > span {
1381
- padding: 0 rem(10);
1382
- font-size: rem(12);
1383
- line-height: rem(14);
1384
- color: $img-grey-color;
1385
- width: auto;
1386
- white-space: nowrap;
1387
- overflow: hidden;
1388
- text-overflow: ellipsis;
1389
- text-align: center;
1390
- display: inline-block;
1391
- transition: .3s ease;
1392
- pointer-events: none;
1393
- max-width: 100%;
1394
- }
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;
1395
1286
 
1396
- &__name {
1397
- margin: 0;
1398
- padding: 5px;
1399
- font-size: rem(12);
1400
- color: $img-grey-color;
1401
- line-height: rem(14);
1402
- text-align: center;
1403
- width: 100%;
1404
- min-width: 100%;
1405
- white-space: nowrap;
1406
- overflow: hidden;
1407
- text-overflow: ellipsis;
1408
- transition: .3s ease;
1409
- cursor: initial;
1410
- max-width: 100%;
1411
- position: absolute;
1412
- top: 0;
1413
- left: 0;
1414
- opacity: 0;
1415
- &:focus {
1416
- opacity: 1;
1417
- transform: translateY(-5px);
1418
- & + span {
1419
- opacity: 0;
1420
- }
1421
- }
1287
+ &.fullSize {
1288
+ & + .images-view__scroll {
1289
+ max-height: 1160px;
1422
1290
  }
1423
1291
  }
1424
1292
 
1425
- &:hover, &:focus {
1426
- z-index: 3;
1427
- .img-card {
1428
- &__nameContainer {
1429
- overflow: visible;
1430
- &__name {
1431
- color: #52AECD;
1432
- transform: translateY(-5px);
1433
- }
1434
- }
1435
-
1436
- &__container {
1437
- border-color: $wizishop-blue;
1438
- &__img {
1439
- transform: scale(1.02) translate(-50%,-50%);
1440
- }
1441
- &__config {
1442
- opacity: 1;
1443
- button {
1444
- transform: translateX(0);
1445
- &.size {
1446
- transition: transform .3s ease;
1447
- }
1448
- &.dl {
1449
- transition: transform .3s ease .15s;
1450
- }
1451
- &.edit {
1452
- transition: transform .3s ease .3s;
1453
- }
1454
- &.deleted {
1455
- transition: transform .3s ease .45s;
1456
- }
1457
- &.selected {
1458
- transition: transform .3s ease .6s;
1459
- }
1460
- }
1461
- }
1462
- }
1463
- }
1464
- }
1465
- }
1466
-
1467
- .wz-img-manager .addCssPriority .img-card .smallDisplay,.wz-img-manager .img-card .smallDisplay img {
1468
- width: $card-img-size-small;
1469
- height: $card-img-size-small;
1470
- }
1471
-
1472
- .wz-img-manager .addCssPriority .smallNameDisplay .img-card__nameContainer__name {
1473
- width: $card-img-size-small;
1474
- }
1475
- .img-editor__infoSection__propertySEO__tooltips {
1476
- i {
1477
- font-size: rem(16);
1478
- color: $main-text;
1479
- }
1480
- }$green: $really-bad-bad-bad-green !default;
1481
- $primary: $primary-button !default;
1482
- $light: $img-placeholder !default;
1483
- $info: $wizishop-blue !default;
1484
- $danger: $img-red-color !default;
1485
- $dark: $img-dark !default;
1486
-
1487
- $button-padding-vertical: rem(7) !default;
1488
- $radius: rem(3) !default;
1489
-
1490
- $button-color: white!default;
1491
- $button-hover-color: white !default;
1492
- $button-focus-color: white !default;
1493
- $button-active-color: white !default;
1494
- $button-background-color: $primary !default;
1495
- $button-disabled-background-color: $primary !default;
1496
- $button-border-color: $primary-button-hover !default;
1497
- $button-hover-border-color: $primary-button-hover !default;
1498
- $button-active-border-color: $primary-button-hover !default;
1499
- $button-focus-border-color: $primary-button-hover !default;
1500
- $button-disabled-border-color: $primary-button-hover !default;
1501
-
1502
- $tag-radius: rem(20px)!default;
1503
- .mosaic {
1504
- width: 100%;
1505
- display: flex;
1506
- flex-wrap: wrap;
1507
- position: relative;
1508
- min-height: rem(512);
1509
-
1510
- &--displayPexelsImg {
1511
- min-height: unset;
1512
- }
1513
-
1514
- &:not(.fullSize) {
1515
- width: calc(100% + 24px);
1516
- transform: translateX(-12px);
1517
- .mosaic__container__cards {
1518
- padding-bottom: 40px;
1519
- > * {
1520
- width: calc(25% - 24px);
1521
- margin: 0 12px rem(24) 12px;
1522
- @include media('>=desktop','<1300px') {
1523
- width: calc(33.33% - 24px);
1524
- margin: 0 12px rem(24) 12px;
1525
- }
1526
- }
1527
- }
1528
- &.small {
1529
- min-height: 0;
1530
- .mosaic__container__loader {
1531
- top: 0;
1532
- transform: translateX(-50%);
1533
- max-height: 200px;
1534
- }
1535
- .mosaic {
1536
- &__container {
1537
- &__cards {
1538
- padding-bottom: 40px;
1539
- > * {
1540
- width: calc(12.5% - 24px);
1541
- margin: 0 12px rem(24) 12px;
1542
- @include media('>=1400px','<1600px') {
1543
- width: calc(14% - 24px);
1544
- margin: 0 12px rem(24) 12px;
1545
- }
1546
- @include media('>=1200px','<1400px') {
1547
- width: calc(16.66% - 24px);
1548
- margin: 0 12px rem(24) 12px;
1549
- }
1550
- @include media('>=desktop','<1200px') {
1551
- width: calc(20% - 24px);
1552
- margin: 0 12px rem(24) 12px;
1553
- }
1554
- }
1555
- }
1556
- }
1557
- }
1558
- }
1559
- }
1560
- &.fullSize {
1561
- width: calc(100% + 24px);
1562
- transform: translateX(-12px);
1563
- @include media('<420px') {
1564
- width: 100%;
1565
- transform: none;
1566
- }
1567
- .mosaic__container__cards {
1568
- > * {
1569
- width: calc(16.66% - 24px);
1570
- margin: 0 12px rem(24) 12px;
1571
- @include media('>=1400px','<1600px') {
1572
- width: calc(20% - 24px);
1573
- margin: 0 12px rem(24) 12px;
1574
- }
1575
- @include media('>=desktop','<1400px') {
1576
- width: calc(25% - 24px);
1577
- margin: 0 12px rem(24) 12px;
1578
- }
1579
- @include media('>=tablet','<desktop') {
1580
- width: calc(33.33% - 24px);
1581
- margin: 0 12px rem(24) 12px;
1582
- }
1583
- @include media('>=400px','<tablet') {
1584
- width: calc(50% - 24px);
1585
- margin: 0 12px rem(24) 12px;
1586
- }
1587
- @include media('<420px') {
1588
- width: 100%;
1589
- margin: 0 0 15px;
1590
- }
1591
- }
1592
- }
1593
- &.small {
1594
- .mosaic__container__loader {
1595
- top: 0;
1596
- transform: translateX(-50%);
1597
- max-height: 200px;
1598
- }
1599
- .mosaic {
1600
- &__search {
1601
- display: none;
1602
- }
1603
- &__container {
1604
- &__cards {
1605
- > * {
1606
- width: calc(10% - 24px);
1607
- margin: 0 12px rem(24) 12px;
1608
- @include media('>=1400px','<1600px') {
1609
- width: calc(11.11% - 24px);
1610
- margin: 0 12px rem(24) 12px;
1611
- }
1612
- @include media('>=desktop','<1400px') {
1613
- width: calc(12.5% - 24px);
1614
- margin: 0 12px rem(24) 12px;
1615
- }
1616
- @include media('>=tablet','<desktop') {
1617
- width: calc(20% - 24px);
1618
- margin: 0 12px rem(24) 12px;
1619
- }
1620
- @include media('>=500px','<tablet') {
1621
- width: calc(33.33% - 24px);
1622
- margin: 0 12px rem(24) 12px;
1623
- }
1624
- @include media('<500px') {
1625
- width: calc(50% - 24px);
1626
- margin: 0 12px rem(24) 12px;
1627
- }
1628
- }
1629
- }
1630
- }
1631
- }
1632
- }
1633
- }
1634
- &__search {
1635
- width: calc(100% - 24px);
1636
- margin: 0 auto rem(20);
1637
- }
1638
- &__pagination {
1639
- width: 100%;
1640
- }
1641
- &__container {
1642
- &__loader {
1643
- position: absolute;
1644
- top: 50%;
1645
- left: 50%;
1646
- transform: translate(-50%,-50%);
1647
- max-width: 300px;
1648
- max-height: 300px;
1649
- display: flex;
1650
- flex-wrap: wrap;
1651
- flex-direction: column;
1652
- justify-content: center;
1653
- align-items: center;
1654
- }
1655
- &__cards {
1656
- width: 100%;
1657
- display: flex;
1658
- flex-wrap: wrap;
1659
- &--padding {
1660
- padding-right: 20px;
1661
- }
1662
- }
1663
- }
1664
- }
1665
- .wz-img-manager .img-editor {
1666
1293
  &__scroll {
1667
1294
  position: relative;
1668
1295
  height: 100%;
1296
+ z-index: 1;
1669
1297
 
1670
1298
  &--full {
1671
- max-height: calc(100vh - 90px)!important;
1672
- min-height: calc(100vh - 90px) !important;
1299
+ max-height: calc(100vh - 160px)!important;
1300
+ min-height: calc(100vh - 160px) !important;
1673
1301
  }
1674
1302
 
1675
1303
  &--smallDisplay {
1676
1304
  max-height: 275px!important;
1677
1305
  }
1678
1306
 
1307
+ &--smallUploadDisplay {
1308
+ max-height: 230px!important;
1309
+ }
1310
+
1679
1311
  &--window {
1680
- max-height: none;
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;
1324
+ }
1325
+
1681
1326
  }
1682
1327
 
1683
1328
  .ng-scroll-content {
1684
- margin-left: 0 !important;
1685
- margin-right: 0 !important;
1686
1329
  min-width: calc(100% - 1rem) !important;
1687
1330
  width: calc(100% - 1rem) !important;
1688
1331
  }
1689
1332
  }
1690
1333
 
1691
- .columns {
1692
- margin-right: 0.8rem;
1693
- margin-left: rem(12);
1694
- margin-top: 12px;
1695
- margin-bottom: 0;
1696
- width: calc(100% + 11px);
1697
-
1698
- .column {
1699
- padding-top: 0;
1700
- padding-bottom: 0px;
1701
- }
1702
- }
1334
+ &__container {
1335
+ display: flex;
1336
+ justify-content: space-between;
1337
+ margin: 0 0 rem(20);
1703
1338
 
1704
- &__head-container {
1339
+ > div {
1705
1340
  display: flex;
1706
- justify-content: flex-end;
1707
1341
  align-items: center;
1708
- margin: 30px 30px 20px 0;
1709
-
1710
- &__btnGroup {
1711
- margin-right: 13px;
1712
- opacity: 0;
1713
- visibility: hidden;
1714
- transition: opacity .3s ease-in-out;
1715
-
1716
- &__visible {
1717
- opacity: 1;
1718
- visibility: visible;
1719
- }
1720
-
1721
- &__removeBtn {
1722
- margin-right: 13px;
1723
- }
1342
+ .mainColor {
1343
+ margin: 0;
1724
1344
  }
1345
+ }
1725
1346
 
1726
- &__close {
1727
- cursor: pointer;
1728
- font-size: 14px;
1729
- color: $img-grey-color;
1730
- line-height: 40px;
1347
+ &--window {
1348
+ margin: rem(30) 0 rem(20);
1731
1349
  }
1732
- }
1733
1350
 
1734
- &__container {
1735
- padding: 0.75rem!important;
1736
- display:flex;
1737
- justify-content: center;
1738
- align-items: center;
1739
- background-color: $img-gray-background;
1740
- margin: 0;
1741
- transform: translateY(-16px);
1351
+ &--uploadTab {
1352
+ margin: 0 0 rem(20);
1353
+ }
1742
1354
 
1743
- &__toolsContainer {
1355
+ &__boxAction {
1356
+ width: 525px;
1357
+ overflow: visible;
1744
1358
  display: flex;
1745
- justify-content: center;
1359
+ position: relative;
1360
+ justify-content: flex-end;
1361
+ margin-right: 13px;
1362
+ height: 40px;
1746
1363
  align-items: center;
1747
- margin-bottom: 50px;
1748
-
1749
- &__tool {
1750
- color: $img-second-color;
1751
- margin-right: 30px;
1752
- text-align: center;
1753
- cursor: pointer;
1364
+ transform: translate(-41px,-3px);
1754
1365
 
1755
- p {
1756
- margin: 0!important;
1757
- color: $img-main-text;
1758
- font-size: rem(12);
1759
- line-height: rem(14);
1760
- }
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;
1761
1379
 
1762
- i {
1763
- font-size: rem(18);
1764
- margin: 0 0 10px;
1765
- }
1380
+ &--visible {
1381
+ max-width: unset;
1382
+ width: auto;
1383
+ opacity: 1;
1384
+ transition: 0s;
1385
+ visibility: visible;
1766
1386
 
1767
- &--button {
1768
- background-color: $img-green-color;
1769
- color: $img-white!important;
1770
- padding: 10px;
1771
- border-radius: 3px;
1772
- transition: .3s ease;
1773
- white-space: nowrap;
1774
- display: flex;
1775
- justify-content: center;
1776
- align-items: center;
1777
- position: absolute;
1778
- top: 80px;
1779
- left: 50%;
1780
- transform: translateX(-50%);
1781
- height: 35px;
1782
- margin: 0;
1783
- &:hover, &:focus {
1784
- background-color: darken($img-green-color, 15%);
1785
- color: $img-white!important;
1786
- }
1787
- p {
1788
- color: $white!important;
1789
- }
1790
- i {
1791
- margin: 0 5px 0 0;
1792
- }
1387
+ p {
1388
+ transition: left .3s ease-in-out;
1389
+ right: 100%;
1390
+ left: auto;
1391
+ white-space: nowrap;
1392
+ margin-right: 30px;
1393
+ }
1793
1394
  }
1794
- &:hover {
1795
- color: $img-main-color;
1395
+
1396
+ &__cancel {
1397
+ margin-right: 14px;
1398
+ background-color: white;
1399
+ border-color: #dbdbdb;
1400
+ color: $img-main-text;
1796
1401
  }
1797
1402
 
1798
- > * {
1799
- -webkit-touch-callout: none; /* iOS Safari */
1800
- -webkit-user-select: none; /* Safari */
1801
- -khtml-user-select: none; /* Konqueror HTML */
1802
- -moz-user-select: none; /* Old versions of Firefox */
1803
- -ms-user-select: none; /* Internet Explorer/Edge */
1804
- user-select: none; /* Non-prefixed version, currently
1805
- supported by Chrome, Edge, Opera and Firefox */
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;
1806
1408
  }
1807
1409
  }
1808
1410
 
1809
- &__RotationDropdown {
1810
- min-width: 16rem;
1411
+ &__delBtn {
1412
+ i {
1413
+ margin-right: 13px!important;
1414
+ }
1811
1415
  }
1812
- }
1813
-
1814
- &__name {
1815
- font-size: 16px;
1816
- max-width: 50%;
1817
- color: $img-grey-color;
1818
- text-align: center;
1819
- white-space: nowrap;
1820
- overflow: hidden;
1821
- text-overflow: ellipsis;
1822
- }
1823
1416
 
1824
- .button {
1825
- min-height: 35px;
1826
- background-color: $img-primary-button;
1827
- border-color: $img-primary-button-hover;
1828
- color: #ffffff;
1417
+ &__import {
1418
+ margin-right: 13px;
1419
+ i {
1420
+ margin-right: 13px!important;
1421
+ }
1422
+ }
1829
1423
  }
1830
- }
1831
1424
 
1832
- &__image-cropper {
1833
- --cropper-overlay-color: #f5f8fa;
1834
- //--cropper-outline-color: #a5a5a573;
1835
- padding-bottom: 30px;
1836
- }
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;
1837
1431
 
1838
- &__infoSection {
1839
- font-size: 14px;
1840
- max-width: 360px;
1841
- padding: 0;
1842
- margin: 0 rem(30) 0 0;
1432
+ border-radius: 3px 0 0 3px;
1433
+ outline: none!important;
1843
1434
 
1844
- &__propertyEditable {
1845
- margin-bottom: 31px;
1846
- p {
1847
- margin-bottom: 12px;
1848
- font-size: 14px;
1849
- }
1850
- input, button {
1851
- width: 100%;
1435
+ > div {
1436
+ margin-top: 0;
1437
+ margin-bottom: 0;
1852
1438
  height: 40px;
1853
- border: 1px solid #DEE2ED;
1854
- border-radius: 3px;
1855
- color: $img-main-text;
1856
- padding-left: 20px;
1857
- padding-right: 20px;
1858
- display: flex;
1859
- justify-content: space-between;
1860
- font-size: 14px;
1861
-
1862
- &:hover {
1863
- color: $img-main-color;
1864
- border-color: $img-main-color;
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;
1865
1444
  }
1445
+ div {
1446
+ height: 38px;
1447
+ margin: 0!important;
1448
+ }
1866
1449
  }
1867
1450
 
1868
- button {
1869
- align-items: center;
1870
- background-color: transparent;
1871
- cursor: pointer;
1872
- }
1873
-
1874
- &__span, &__input {
1875
- text-overflow: ellipsis;
1876
- overflow: hidden;
1877
- white-space: nowrap;
1451
+ .actifDisplayed {
1452
+ color:$img-main-color;
1878
1453
  }
1879
1454
 
1880
- &__span {
1881
- color: $img-bleu-color;
1882
- & + i {
1883
- color: $img-bleu-color;
1884
- font-weight: 600;
1885
- }
1455
+ i {
1456
+ margin: 0;
1886
1457
  }
1458
+ }
1887
1459
 
1888
- &__tooltips {
1889
- margin-left: 10px;
1890
- }
1891
- }
1892
-
1893
- &__property {
1894
- &:nth-child(3), &:nth-child(4) {
1895
- margin: 0;
1896
- }
1897
- p {
1898
- font-size: 14px;
1899
- display: inline-block;
1900
- }
1901
-
1902
- .mainColor {
1903
- margin: 0!important;
1904
- }
1905
-
1906
- p:last-child {
1907
- margin: 0 0 0 10px;
1908
- color: #526384;
1909
- }
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;
1910
1469
  }
1470
+ }
1911
1471
 
1912
- &__titleSEO {
1913
- margin: 0 0 20px;
1914
-
1915
- .mainColor {
1916
- font-size: rem(18);
1917
- font-weight: 500;
1918
- }
1919
- }
1472
+ &--pexels {
1473
+ margin-top: -30px;
1474
+ }
1920
1475
 
1921
- &__propertySEO {
1922
- margin-bottom: 12px;
1923
- p {
1924
- font-size: 14px;
1925
- display: inline-block;
1926
- margin: 0;
1927
- }
1476
+ .subHeaderActions .button i {
1477
+ margin-right: 0;
1478
+ }
1479
+ }
1928
1480
 
1929
- .mainColor {
1930
- & ~ p {
1931
- margin-left: 10px;
1932
- color: $img-green-color;
1933
- }
1934
- }
1935
- }
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;
1936
1484
 
1937
- &__divider {
1938
- display: block;
1939
- width: 100%;
1940
- border-bottom: 2px dashed #EFF1F6;
1941
- margin: 30px 0;
1485
+ .ng-scroll-content {
1486
+ margin: 0 !important;
1487
+ min-width: 100%!important;
1488
+ width: 100%!important;
1942
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;
1943
1498
 
1944
- &__actions {
1945
- height: 35px;
1946
-
1947
- &__cancel {
1948
- margin-right: 19px;
1949
- background-color: white;
1950
- border-color: #dbdbdb;
1951
- color: $img-main-text;
1952
- }
1953
-
1954
- &__save {
1955
- padding: 8px 18px;
1956
- margin: 0!important;
1957
- &--disable {
1958
- cursor: not-allowed;
1959
- }
1960
- }
1961
- }
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;
1962
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;
1963
1560
 
1964
- .dropdown-menu {
1965
- left: -50%;
1561
+ &--visible {
1562
+ height: 250px;
1563
+ margin: 0 0 40px;
1966
1564
  }
1967
1565
  }
1968
1566
 
1969
- .wz-img-manager .marginBottom {
1970
- margin-bottom: 20px;
1567
+ .drag__img {
1568
+ max-width: 100px;
1569
+ max-height: 100px;
1570
+ border: 1px solid #dce0e3;
1571
+ background-color: white;
1971
1572
  }
1972
- //.wz-img-manager useful to keep the css priority
1973
- .wz-img-manager .table-view {
1974
1573
 
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
+ }
1612
+ }
1975
1613
 
1976
- &__row {
1977
- td {
1978
- vertical-align: middle;
1979
- }
1980
- &__container {
1981
- display: flex;
1982
- align-items: center;
1983
- width: 100%;
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;
1629
+ }
1984
1630
 
1985
- &__imgContainer {
1986
- margin-right: 20px;
1987
- position: relative;
1988
- display: block;
1989
- min-width: 60px;
1990
- cursor: pointer;
1991
-
1992
- &::before {
1993
- content: '';
1994
- display: block;
1995
- padding-top: 100%;
1996
- }
1997
-
1998
- &__img {
1999
- margin: 0!important;
2000
- position: absolute;
2001
- top: 50%;
2002
- left: 50%;
2003
- max-width: 100%;
2004
- max-height:100%;
2005
- width: auto;
2006
- height: auto;
2007
- transform: translate(-50%, -50%);
2008
- object-fit: contain;
2009
- }
2010
-
2011
- &.imgSelected {
2012
-
2013
- &:after {
2014
- z-index: 1000;
2015
- content: '';
2016
- display: block;
2017
- position: absolute;
2018
- width: 100%;
2019
- height: 4px;
2020
- background-color: $img-main-color;
2021
- bottom: 0;
2022
- left: 0;
2023
- transform: translateZ(0);
2024
- }
2025
- }
2026
-
2027
- &__overlay {
2028
- position: absolute;
2029
- top: 25%;
2030
- left: 25%;
2031
- height: 100%;
2032
- width: 100%;
2033
-
2034
- i {
2035
- font-size: 30px;
2036
- color: grey;
2037
- }
2038
- }
2039
- }
2040
-
2041
- &__name {
2042
- display: inline-block;
2043
- background-color: transparent;
2044
- white-space: nowrap;
2045
- overflow: hidden;
2046
- text-overflow: ellipsis;
2047
- color: $main-text;
2048
- font-size: 14px;
2049
- cursor: initial;
2050
- }
2051
- }
2052
- }
2053
-
2054
- &__dropdown-options {
2055
- &__label {
2056
- &--disable {
2057
- cursor: not-allowed;
2058
- i {
2059
- cursor: not-allowed;
2060
- }
2061
- }
2062
- }
2063
- }
2064
- }
2065
-
2066
- .wz-img-manager .table-view .checked {
2067
- color: $img-main-color;
2068
- }
2069
-
2070
- .wz-img-manager .table-view .checked.disabled {
2071
- color: grey;
2072
- }
2073
-
2074
-
2075
- .wz-img-manager .table-view .disabled {
2076
- cursor: not-allowed;
2077
- }
2078
-
2079
-
2080
- .wz-img-manager .is-wizi-hoverable .dropdown-trigger:before {
2081
- width: 5rem;
2082
- }
2083
-
2084
- .table-view .wzImgMngInput {
2085
- border-radius: 3px;
2086
- }
2087
-
2088
- .table-view .wzImgMngInput:active.desabled, .table-view .wzImgMngInput:focus.desabled {
2089
- border: solid transparent 1px;
2090
- }
2091
-
2092
- .wz-img-manager .table-view .dropdown-menu {
2093
- left: -165px;
2094
- }
2095
-
2096
- .grey {
2097
- color: $img-grey-color;
2098
- }
2099
- // Warning: in webcomponent (for wizishop-com project) the following style are added by styles-handler.js script (hard-coded)
2100
- .wz-img-manager .img-selection {
2101
- background-color: white;
2102
- margin-left: 1.875rem;
2103
- margin-right: 1.875rem;
2104
- transition: height .3s ease;
2105
- //height: 0;
2106
- display: flex;
2107
- align-items: center;
2108
-
2109
- &--visible {
2110
- height: 250px;
2111
- margin: 0 0 40px;
2112
- }
2113
- }
2114
-
2115
- .drag__img {
2116
- max-width: 100px;
2117
- max-height: 100px;
2118
- border: 1px solid #dce0e3;
2119
- background-color: white;
2120
- }
2121
-
2122
- .img_box {
2123
- overflow: hidden;
2124
- &:hover, &:focus {
2125
- .drag__tooltips {
2126
- opacity: 1;
2127
- visibility: visible;
2128
- transform: translateY(100%);
2129
- transition: opacity .3s ease .1s, transform .3s ease .1s, visibility 0s linear 0s;
2130
- }
2131
- }
2132
- .delete-btn {
2133
- position: absolute;
2134
- top: 100%;
2135
- left: 50%;
2136
- transform: translateX(-50%) translateY(100%);
2137
- opacity: 0;
2138
- visibility: hidden;
2139
- transition: opacity .3s ease, transform .3s ease, visibility 0s linear .31s;
2140
- background-color: $img-red-color;
2141
- color: $white;
2142
- font-size: rem(13);
2143
- height: rem(30);
2144
- padding: 0 15px;
2145
- line-height: rem(30);
2146
- border-radius: 3px;
2147
- font-weight: 600;
2148
- }
2149
- &:hover, &:focus {
2150
- .delete-btn {
2151
- opacity: 1;
2152
- visibility: visible;
2153
- transform: translateX(-50%) translateY(-40px);
2154
- transition: opacity .3s ease .05s, transform .3s ease .05s, visibility 0s linear;
2155
- &:hover, &:focus {
2156
- background-color: darken($img-red-color, 15%);
2157
- }
2158
- }
2159
- }
2160
- }
2161
-
2162
- .drag__tooltips {
2163
- opacity: 0;
2164
- visibility: hidden;
2165
- width: 100%;
2166
- padding: 10px;
2167
- border-radius: 3px;
2168
- position: absolute;
2169
- bottom: 100%;
2170
- transform: translateY(0);
2171
- font-size: rem(12);
2172
- color: white;
2173
- font-weight: 500;
2174
- text-align: center;
2175
- background-color: rgba(0,0,0,.65);
2176
- transition: opacity .3s ease, transform .3s ease, visibility 0s linear .35s;
2177
- }
2178
-
2179
- .list_img_selection {
2180
- width: calc(100%);
2181
- display: flex;
2182
- flex-direction: row;
2183
- background: white;
2184
- border-radius: 4px;
2185
- overflow-x: auto;
2186
- align-items: flex-end!important;
2187
- padding-bottom: 10px;
2188
- }
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
+ }
2189
1641
 
2190
1642
  .img_box {
2191
1643
  background-color: white;
@@ -2253,63 +1705,113 @@ $tag-radius: rem(20px)!default;
2253
1705
  .trash {
2254
1706
  display: none!important;
2255
1707
  }
2256
- $default-color-p-alert: #1e5568;
2257
- $success-color-p-alert: #11552e;
2258
- $warning-color-p-alert: #3a0505;
2259
- $primary-button: #e95656;
2260
- $link-color: #52aecd;
2261
- $green-color: #2ecc71;
2262
-
2263
- .wz-alert {
2264
- width: 100%;
2265
- background-color: transparentize($link-color, 0.85);
2266
- color: $link-color;
2267
- border-radius: 3px;
2268
- display: flex;
2269
- flex-wrap: nowrap;
2270
- justify-content: space-between;
2271
- padding: 20px;
2272
- &.success {
2273
- background-color: transparentize($green-color, 0.85);
2274
- p {
2275
- color: $success-color-p-alert;
2276
- > * {
2277
- color: $success-color-p-alert;
2278
- }
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;
2279
1722
  }
2280
- i {
2281
- color: $green-color;
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;
2282
1734
  }
2283
- }
2284
- &.warning {
2285
- background-color: transparentize($primary-button, 0.85);
2286
- p {
2287
- color: $warning-color-p-alert;
2288
- > * {
2289
- color: $warning-color-p-alert;
1735
+ &:hover,
1736
+ &:focus {
1737
+ &:before {
1738
+ border-color: $input-active-color !important;
2290
1739
  }
2291
1740
  }
2292
- i {
2293
- color: $primary-button;
1741
+ &:before,
1742
+ &:after {
1743
+ outline: 0 !important;
2294
1744
  }
2295
1745
  }
2296
- p {
2297
- width: 100%;
2298
- font-size: rem(14);
2299
- line-height: rem(25);
2300
- margin: 0;
2301
- padding: 0;
2302
- color: $default-color-p-alert;
2303
- > * {
2304
- color: $default-color-p-alert;
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
+ }
2305
1762
  }
2306
1763
  }
2307
- i {
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
+ }
1777
+ }
1778
+
1779
+ .wz-img-manager .field {
1780
+ &__row {
1781
+ min-width: 100%;
1782
+ margin: 0 0 10px;
1783
+ }
1784
+ &--nowrap {
1785
+ display: inline-block;
2308
1786
  width: auto;
2309
- margin: 0 10px 0 0;
2310
- color: inherit;
2311
- font-size: rem(14);
2312
- line-height: rem(25);
1787
+ min-width: 0;
1788
+ margin: 0 10px 10px 0;
1789
+ .field {
1790
+ &__row {
1791
+ width: auto;
1792
+ display: inline-block;
1793
+ margin: 0;
1794
+ }
1795
+ }
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;
1806
+ }
1807
+ }
1808
+ &:checked + label {
1809
+ &:after {
1810
+ top: 7px;
1811
+ transform: scale(1.1) translateY(1px) translateX(6px) rotate(45deg);
1812
+ }
1813
+ }
1814
+ }
2313
1815
  }
2314
1816
  }
2315
1817
  .wz-img-manager {
@@ -2450,152 +1952,157 @@ $green-color: #2ecc71;
2450
1952
  .nwb-snack-bar .column {
2451
1953
  box-sizing: border-box;
2452
1954
  }
2453
- .wz-img-manager .is-checkradio[type='checkbox'] {
2454
- outline: 0 !important;
2455
- & + label {
2456
- font-size: rem(14);
2457
- line-height: rem(24);
2458
- color: $input-radio-color-label;
2459
- padding-left: 26px;
2460
- outline: 0 !important;
2461
- &:before {
2462
- width: 16px;
2463
- height: 16px;
2464
- border: 1px solid $border-color;
2465
- top: 4px;
2466
- transition: all 0.3s ease-in-out;
2467
- }
2468
- &:after {
2469
- top: 6.3px !important;
2470
- left: 3px !important;
2471
- width: 10px;
2472
- height: 12px;
2473
- border: none !important;
2474
- background: transparent
2475
- 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")
2476
- center center / 8px 8px no-repeat;
2477
- transform: scale(1) translateY(0px) translateX(0px) rotate(0deg) !important;
2478
- transition: all 0.3s ease-in-out;
2479
- }
2480
- &:hover,
2481
- &:focus {
2482
- &:before {
2483
- border-color: $input-active-color !important;
2484
- }
2485
- }
2486
- &:before,
2487
- &:after {
2488
- outline: 0 !important;
2489
- }
2490
- }
2491
- &:hover {
2492
- & + label {
2493
- color: $input-radio-color-active-label;
2494
- &:before {
2495
- border-color: $input-active-color !important;
2496
- }
2497
- &:after {
2498
- border-color: $white !important;
2499
- }
2500
- }
2501
- &:not([disabled]) {
2502
- & + label {
2503
- &:before {
2504
- border-color: $input-active-color !important;
2505
- }
2506
- }
2507
- }
2508
- }
2509
- &:checked + label {
2510
- color: $input-radio-color-active-label;
2511
- &:before {
2512
- border: 1px solid $input-active-color;
2513
- background-color: $input-active-color;
2514
- transition: all 0.3s ease-in-out;
2515
- }
2516
- &:after {
2517
- left: 7px;
2518
- top: 8px;
2519
- transition: all 0.3s ease-in-out;
2520
- }
2521
- }
2522
- }
1955
+ .wz-img-manager .dropdownWizi {
1956
+ padding: 10px;
2523
1957
 
2524
- .wz-img-manager .field {
2525
- &__row {
2526
- min-width: 100%;
2527
- margin: 0 0 10px;
2528
- }
2529
- &--nowrap {
2530
- display: inline-block;
2531
- width: auto;
2532
- min-width: 0;
2533
- margin: 0 10px 10px 0;
2534
- .field {
2535
- &__row {
2536
- width: auto;
2537
- display: inline-block;
2538
- margin: 0;
2539
- }
2540
- }
2541
- }
2542
- &.alone {
2543
- .is-checkradio[type='checkbox'] {
2544
- & + label {
2545
- padding: 0;
2546
- &:before {
2547
- border-width: 1px;
2548
- width: 16px;
2549
- height: 16px;
2550
- border-radius: 2px;
1958
+ &.is-hoverable {
1959
+ .rotate {
1960
+ i {
1961
+ @include simple_transition();
1962
+ transform: rotate(90deg);
1963
+ cursor: pointer;
1964
+ }
2551
1965
  }
2552
- }
2553
- &:checked + label {
2554
- &:after {
2555
- top: 7px;
2556
- transform: scale(1.1) translateY(1px) translateX(6px) rotate(45deg);
1966
+ &:hover,
1967
+ &:active {
1968
+ .rotate:not(.rotate--disable) {
1969
+ i {
1970
+ @include simple_transition();
1971
+ transform: rotate(0deg);
1972
+ }
1973
+ }
2557
1974
  }
2558
- }
2559
1975
  }
2560
- }
2561
- }
2562
- // .pexels-lib
2563
- //.wz-img-manager useful to keep the css priority
2564
- .wz-img-manager .pexels-lib {
2565
- width: 100%;
2566
1976
 
2567
- &__scroll {
2568
- position: relative;
2569
- max-height: calc(100vh - 50px)!important;
2570
- height: 100%;
2571
-
2572
- &--smallDisplay {
2573
- max-height: 275px!important;
1977
+ &:not(.is-hoverable) {
1978
+ .rotate {
1979
+ i {
1980
+ @include simple_transition();
1981
+ transform: rotate(90deg);
1982
+ }
1983
+ }
2574
1984
  }
2575
- }
2576
1985
 
2577
- &__search {
2578
- margin: 30px 0;
1986
+ .dropdown-item.active-item {
1987
+ background-color: #F5F8FA;
2579
1988
 
2580
- &--smallDisplay {
2581
- margin-top: 10px;
1989
+ p, i {
1990
+ color: #1D2A3B;
1991
+ }
2582
1992
  }
2583
- }
2584
1993
 
2585
- // .pexels-lib__wrapper
2586
- &__wrapper {
2587
- margin: 30px 0;
1994
+ .dropdown-item {
1995
+ margin-left: 10px;
1996
+ margin-right: 10px;
1997
+ cursor: pointer;
2588
1998
 
2589
- // .pexels-lib__wrapper__result
2590
- &__result {
2591
- width: calc(100% + 10px);
2592
- display: flex;
2593
- flex-direction: row;
2594
- justify-content: space-between;
2595
- margin-left: -5px;
1999
+ i {
2000
+ margin-right: 8px;
2001
+ }
2002
+ p, i {
2003
+ color: #526384;
2004
+ display: inline-block;
2005
+ }
2596
2006
 
2597
- // .pexels-lib__wrapper__result__column
2598
- &__column {
2007
+ p {
2008
+ margin-top: 0;
2009
+ margin-bottom: 0;
2010
+ }
2011
+
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
+ }
2061
+
2062
+ .dropdown-menu {
2063
+ top: 80%;
2064
+ }
2065
+ }
2066
+
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%;
2073
+
2074
+ &__scroll {
2075
+ position: relative;
2076
+ max-height: calc(100vh - 50px)!important;
2077
+ height: 100%;
2078
+
2079
+ &--smallDisplay {
2080
+ max-height: 275px!important;
2081
+ }
2082
+ }
2083
+
2084
+ &__search {
2085
+ margin: 30px 0;
2086
+
2087
+ &--smallDisplay {
2088
+ margin-top: 10px;
2089
+ }
2090
+ }
2091
+
2092
+ // .pexels-lib__wrapper
2093
+ &__wrapper {
2094
+ margin: 30px 0;
2095
+
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;
2103
+
2104
+ // .pexels-lib__wrapper__result__column
2105
+ &__column {
2599
2106
  flex: 1;
2600
2107
  margin: 0 5px;
2601
2108
 
@@ -2744,144 +2251,584 @@ $green-color: #2ecc71;
2744
2251
  cursor: pointer;
2745
2252
  }
2746
2253
  }
2747
- //.wz-img-manager useful to keep the css priority
2748
- .wz-img-manager .canva-btn {
2749
- background-color: $img-main-color;
2750
- border: 2px solid $img-main-color;
2751
- padding: 0;
2752
- height: fit-content;
2753
- color: white;
2754
- padding-left: rem(9);
2755
- transition: .3s ease;
2756
- margin: 0!important;
2757
- &:hover, &:focus {
2758
- border-color: darken($img-main-color, 15%);
2759
- }
2760
- > span {
2761
- &:first-child {
2762
- z-index: 2;
2763
- position: relative;
2764
- transform: translateX(7px);
2765
- }
2766
- }
2767
- &__logo {
2768
- z-index: 1;
2769
- }
2770
- }
2254
+ .mosaic {
2255
+ width: 100%;
2256
+ display: flex;
2257
+ flex-wrap: wrap;
2258
+ position: relative;
2259
+ min-height: rem(512);
2771
2260
 
2772
- .wz-img-manager .canva-btn .btnLoadingAnnimation {
2773
- background-color: $img-main-color;
2774
- cursor: not-allowed;
2775
- }
2261
+ &--displayPexelsImg {
2262
+ min-height: unset;
2263
+ }
2776
2264
 
2777
- .wz-img-manager .canva.dropdown {
2778
- z-index: 9999;
2779
- .dropdown-menu {
2780
- display: none!important;
2781
- margin-top: 10px!important;
2782
- &:before {
2783
- content: '';
2784
- display: block;
2785
- position: absolute;
2786
- bottom: 100%;
2787
- left: 0;
2788
- width: 100%;
2789
- height: 10px;
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
+ }
2790
2277
  }
2791
2278
  }
2792
-
2793
- .displayDropDownMenu {
2794
- display: block!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
+ }
2795
2309
  }
2796
-
2797
- .dropdown-menu.dropDownShadow {
2798
- padding-bottom: 0;
2799
- padding-top: 0;
2800
- margin-top: 1px;
2310
+ }
2311
+ &.fullSize {
2312
+ width: calc(100% + 24px);
2313
+ transform: translateX(-12px);
2314
+ @include media('<420px') {
2315
+ width: 100%;
2316
+ transform: none;
2801
2317
  }
2802
-
2803
- .dropdown-menu {
2804
- min-width: 300px;
2805
- width: 300px;
2806
-
2807
- .dropdown-content {
2808
- padding-top: 0px;
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;
2809
2325
  }
2810
-
2811
- .dropdown-item {
2812
- color: $img-grey-color;
2813
- display: flex;
2814
- justify-content: space-between;
2815
- align-items: center;
2816
- padding: 12px 20px;
2817
- margin: 0 0 5px;
2818
- &:last-child {
2819
- margin: 0;
2820
- }
2821
-
2822
- p {
2823
- margin: 0;
2824
- line-height: rem(16);
2825
- }
2826
-
2827
- p:first-child {
2828
- color: #1D2A3B;
2829
- font-size: rem(14);
2830
- }
2831
-
2832
- p:last-child {
2833
- color: #526384;
2834
- font-size: rem(14);
2835
- }
2326
+ @include media('>=desktop','<1400px') {
2327
+ width: calc(25% - 24px);
2328
+ margin: 0 12px rem(24) 12px;
2836
2329
  }
2837
-
2838
- .dropdown-item:hover {
2839
- background-color: whitesmoke;
2840
- cursor: pointer;
2841
- color: black;
2330
+ @include media('>=tablet','<desktop') {
2331
+ width: calc(33.33% - 24px);
2332
+ margin: 0 12px rem(24) 12px;
2842
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;
2374
+ }
2375
+ @include media('<500px') {
2376
+ width: calc(50% - 24px);
2377
+ margin: 0 12px rem(24) 12px;
2378
+ }
2379
+ }
2380
+ }
2381
+ }
2382
+ }
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;
2412
+ }
2413
+ }
2414
+ }
2415
+ }
2416
+ $card-img-size: 100%;
2417
+ $card-img-size-small: 140px;
2843
2418
 
2844
- .dropdown-item.expectedSizes {
2845
- font-weight: 500;
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;
2427
+
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%;
2846
2443
  }
2847
2444
 
2848
- .dropdownTitle {
2849
- font-size: 14px;
2445
+ &.imgSelected {
2446
+
2447
+ &:after {
2448
+ z-index: 1000;
2449
+ content: '';
2450
+ display: block;
2451
+ position: absolute;
2452
+ width: 100%;
2453
+ height: 4px;
2850
2454
  background-color: $img-main-color;
2851
- padding: rem(9.5) 0;
2852
- text-align: center;
2455
+ bottom: 0;
2456
+ left: 0;
2457
+ transform: translateZ(0);
2458
+ }
2459
+ }
2853
2460
 
2854
- p {
2855
- font-size: 14px;
2856
- color: white;
2461
+ &__valid {
2462
+ display: flex;
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;
2478
+ }
2479
+ span {
2480
+ color: $white;
2481
+ font-weight: 500;
2482
+ font-size: rem(10);
2483
+ }
2484
+ }
2485
+
2486
+ &:hover, &:focus {
2487
+ .img-card__container {
2488
+ &__valid {
2489
+ transform: translate(-50%, -40px);
2490
+ }
2491
+ }
2492
+ }
2493
+
2494
+ &__img {
2495
+ width: auto!important;
2496
+ height: auto!important;
2497
+ background-color: white;
2498
+ margin: auto;
2499
+ transition: .3s ease;
2500
+ position: absolute;
2501
+ object-fit: contain;
2502
+ max-width: 100%;
2503
+ max-height: 100%;
2504
+ top: 50%;
2505
+ left: 50%;
2506
+ transform: translate(-50%,-50%);
2507
+ }
2508
+
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;
2518
+
2519
+ button {
2520
+ box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
2857
2521
  margin: 0;
2858
- font-weight: 500;
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;
2532
+ display: flex;
2533
+ justify-content: center;
2534
+ align-content: center;
2535
+ align-items: center;
2536
+
2537
+ i {
2538
+ font-size: 16px;
2539
+ color: #fff;
2540
+ position: relative;
2541
+ z-index: 3;
2542
+ }
2543
+
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
+ }
2555
+
2556
+ span {
2557
+ position: absolute;
2558
+ left: 100%;
2559
+ display: flex;
2560
+ justify-content: center;
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
+ }
2578
+
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;
2587
+ }
2588
+ }
2589
+ &.dl {
2590
+ background-color: $img-bleu-action;
2591
+ transition: transform .3s ease .45s;
2592
+ span, &:before {
2593
+ background-color: $img-bleu-action;
2594
+ }
2595
+ }
2596
+ &.edit {
2597
+ background-color: $img-orange-color;
2598
+ transition: transform .3s ease .3s;
2599
+ span, &:before {
2600
+ background-color: $img-orange-color;
2601
+ }
2602
+ }
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
+ }
2618
+
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
+ }
2638
+ }
2639
+ }
2640
+ }
2641
+
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;
2651
+
2652
+ i {
2653
+ font-size: 100px;
2654
+ color: grey;
2655
+ }
2656
+
2657
+ &--smallDisplay {
2658
+ i {
2659
+ font-size: 75px;
2660
+ }
2661
+ }
2662
+ }
2663
+
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
+ }
2859
2717
  }
2718
+ }
2719
+ }
2720
+ }
2721
+
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);
2733
+
2734
+ &.focus {
2735
+ overflow: visible;
2736
+ }
2737
+
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
+ }
2753
+
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
+ }
2860
2779
  }
2780
+ }
2781
+ }
2861
2782
 
2862
- .infoItem {
2863
- padding: 18px 20px 11px 20px;
2864
- line-height: 1.5;
2865
- font-weight: 500;
2866
-
2867
- p {
2868
- margin: 0;
2869
- font-size: rem(16);
2870
- line-height: rem(19);
2871
- 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
+ }
2872
2792
  }
2873
- }
2874
2793
 
2875
- .dropdown-item-wrapper {
2876
- border: 1px solid #DEE2ED;
2877
- border-radius: 3px;
2878
- 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
+ }
2879
2821
  }
2880
2822
  }
2881
2823
  }
2882
2824
 
2883
- .noTooltip .tooltip.is-tooltip-left:hover::before, .noTooltip .tooltip.is-tooltip-left:hover:not(.is-loading)::after {
2884
- 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;
2885
2832
  }
2886
2833
  .wz-img-manager .wz-table {
2887
2834
  width: 100%;
@@ -3181,350 +3128,516 @@ $green-color: #2ecc71;
3181
3128
  padding: 0;
3182
3129
  background-color: transparent;
3183
3130
  }
3184
- .wz-img-manager .dropdownWizi {
3185
- padding: 10px;
3186
-
3187
- &.is-hoverable {
3188
- .rotate {
3189
- i {
3190
- @include simple_transition();
3191
- transform: rotate(90deg);
3192
- cursor: pointer;
3193
- }
3194
- }
3195
- &:hover,
3196
- &:active {
3197
- .rotate:not(.rotate--disable) {
3198
- i {
3199
- @include simple_transition();
3200
- transform: rotate(0deg);
3201
- }
3202
- }
3203
- }
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;
3204
3153
  }
3154
+ }
3205
3155
 
3206
- &:not(.is-hoverable) {
3207
- .rotate {
3208
- i {
3209
- @include simple_transition();
3210
- transform: rotate(90deg);
3211
- }
3212
- }
3156
+ .wz-img-manager .canva-btn .btnLoadingAnnimation {
3157
+ background-color: $img-main-color;
3158
+ cursor: not-allowed;
3159
+ }
3160
+
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
+ }
3213
3175
  }
3214
3176
 
3215
- .dropdown-item.active-item {
3216
- background-color: #F5F8FA;
3177
+ .displayDropDownMenu {
3178
+ display: block!important;
3179
+ }
3217
3180
 
3218
- p, i {
3219
- color: #1D2A3B;
3220
- }
3181
+ .dropdown-menu.dropDownShadow {
3182
+ padding-bottom: 0;
3183
+ padding-top: 0;
3184
+ margin-top: 1px;
3221
3185
  }
3222
3186
 
3223
- .dropdown-item {
3224
- margin-left: 10px;
3225
- margin-right: 10px;
3226
- cursor: pointer;
3187
+ .dropdown-menu {
3188
+ min-width: 300px;
3189
+ width: 300px;
3227
3190
 
3228
- i {
3229
- margin-right: 8px;
3230
- }
3231
- p, i {
3232
- color: #526384;
3233
- display: inline-block;
3191
+ .dropdown-content {
3192
+ padding-top: 0px;
3234
3193
  }
3235
3194
 
3236
- p {
3237
- margin-top: 0;
3238
- margin-bottom: 0;
3239
- }
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
+ }
3240
3205
 
3241
- > * {
3242
- -webkit-touch-callout: none; /* iOS Safari */
3243
- -webkit-user-select: none; /* Safari */
3244
- -khtml-user-select: none; /* Konqueror HTML */
3245
- -moz-user-select: none; /* Old versions of Firefox */
3246
- -ms-user-select: none; /* Internet Explorer/Edge */
3247
- user-select: none; /* Non-prefixed version, currently
3248
- supported by Chrome, Edge, Opera and Firefox */
3249
- }
3206
+ p {
3207
+ margin: 0;
3208
+ line-height: rem(16);
3209
+ }
3250
3210
 
3251
- &:hover {
3252
- background-color: #F5F8FA;
3253
- p, i {
3254
- color: $img-main-color;
3211
+ p:first-child {
3212
+ color: #1D2A3B;
3213
+ font-size: rem(14);
3214
+ }
3215
+
3216
+ p:last-child {
3217
+ color: #526384;
3218
+ font-size: rem(14);
3255
3219
  }
3256
3220
  }
3257
- }
3258
3221
 
3259
- .dropdown-content {
3260
- &:before {
3261
- content: '';
3262
- display: block;
3263
- position: absolute;
3264
- bottom: 100%;
3265
- left: 90%;
3266
- transform: translateX(-50%) translateY(5px);
3267
- width: 0;
3268
- height: 0;
3269
- border-style: solid;
3270
- border-width: 0 6px 8px 6px;
3271
- border-color: transparent transparent #fff transparent;
3272
- z-index: 2;
3222
+ .dropdown-item:hover {
3223
+ background-color: whitesmoke;
3224
+ cursor: pointer;
3225
+ color: black;
3273
3226
  }
3274
- &:after {
3275
- content: '';
3276
- display: block;
3277
- position: absolute;
3278
- bottom: 100%;
3279
- left: 90%;
3280
- transform: translateX(-50%) translateY(4px);
3281
- width: 0;
3282
- height: 0;
3283
- border-style: solid;
3284
- border-width: 0 6px 8px 6px;
3285
- border-color: transparent transparent #dddddd transparent;
3286
- opacity: 0.5;
3287
- z-index: 1;
3227
+
3228
+ .dropdown-item.expectedSizes {
3229
+ font-weight: 500;
3230
+ }
3231
+
3232
+ .dropdownTitle {
3233
+ font-size: 14px;
3234
+ background-color: $img-main-color;
3235
+ padding: rem(9.5) 0;
3236
+ text-align: center;
3237
+
3238
+ p {
3239
+ font-size: 14px;
3240
+ color: white;
3241
+ margin: 0;
3242
+ font-weight: 500;
3243
+ }
3288
3244
  }
3289
- }
3290
3245
 
3291
- .dropdown-menu {
3292
- top: 80%;
3246
+ .infoItem {
3247
+ padding: 18px 20px 11px 20px;
3248
+ line-height: 1.5;
3249
+ font-weight: 500;
3250
+
3251
+ p {
3252
+ margin: 0;
3253
+ font-size: rem(16);
3254
+ line-height: rem(19);
3255
+ font-weight: 500;
3256
+ }
3257
+ }
3258
+
3259
+ .dropdown-item-wrapper {
3260
+ border: 1px solid #DEE2ED;
3261
+ border-radius: 3px;
3262
+ margin: 0 20px 5px 20px;
3263
+ }
3293
3264
  }
3294
3265
  }
3295
3266
 
3296
- .dropdownWizi:not(.is-hoverable) {
3297
- cursor: not-allowed;
3298
- }.wz-img-manager .images-view {
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 {
3299
3272
  text-align: left;
3273
+ font-size: 14px;
3274
+ color: #23272B;
3300
3275
 
3301
- &.fullSize {
3302
- & + .images-view__scroll {
3303
- max-height: 1160px;
3304
- }
3276
+ &.smallDisplay {
3277
+ .upload-list__box__cards__card {
3278
+ width: 125px;
3305
3279
  }
3280
+ }
3306
3281
 
3307
3282
  &__scroll {
3308
3283
  position: relative;
3309
3284
  height: 100%;
3310
- z-index: 1;
3311
-
3312
- &--full {
3313
- max-height: calc(100vh - 160px)!important;
3314
- min-height: calc(100vh - 160px) !important;
3315
- }
3316
3285
 
3317
3286
  &--smallDisplay {
3318
- max-height: 275px!important;
3319
- }
3287
+ max-height: 260px!important;
3320
3288
 
3321
- &--smallUploadDisplay {
3322
- max-height: 230px!important;
3289
+ .upload-list__box {
3290
+ margin-bottom: 20px;
3291
+ }
3323
3292
  }
3324
3293
 
3325
3294
  &--window {
3326
- max-height: unset!important;
3327
- }
3328
-
3329
- &--hide {
3330
- &--mosaic {
3331
- min-height: 100px !important;
3332
- &--small {
3333
- min-height: unset !important;
3334
- }
3335
- }
3336
- &--table {
3337
- min-height: 170px !important;
3338
- }
3339
-
3295
+ max-height: none;
3340
3296
  }
3341
3297
 
3342
3298
  .ng-scroll-content {
3299
+ margin-left: 0.5rem !important;
3300
+ margin-right: 0.5rem !important;
3343
3301
  min-width: calc(100% - 1rem) !important;
3344
3302
  width: calc(100% - 1rem) !important;
3345
3303
  }
3346
3304
  }
3347
3305
 
3348
- &__container {
3349
- display: flex;
3350
- justify-content: space-between;
3351
- margin: 0 0 rem(20);
3306
+ &__box {
3307
+ margin: 0 0.8rem 30px 0.3rem;
3308
+ padding: 30px;
3309
+ background-color: $img-gray-background;
3310
+ margin-right: 12px;
3311
+ margin-left: 5px;
3312
+ border-radius: 3px;
3352
3313
 
3353
- > div {
3354
- display: flex;
3355
- align-items: center;
3356
- .mainColor {
3357
- margin: 0;
3358
- }
3359
- }
3314
+ &__container {
3315
+ display: flex;
3316
+ justify-content: space-between;
3317
+ align-items: center;
3360
3318
 
3361
- &--window {
3362
- margin: rem(30) 0 rem(20);
3363
- }
3319
+ p {
3320
+ display: inline;
3321
+ }
3364
3322
 
3365
- &--uploadTab {
3366
- margin: 0 0 rem(20);
3323
+ .dropdown {
3324
+ vertical-align: baseline;
3325
+ &:hover {
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
+ }
3336
+ }
3337
+
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
+ }
3364
+ }
3365
+ }
3367
3366
  }
3368
3367
 
3369
- &__boxAction {
3370
- width: 525px;
3371
- overflow: visible;
3368
+ &__cards {
3369
+ padding-top: 15px;
3370
+ margin-left: 5px;
3372
3371
  display: flex;
3373
- position: relative;
3374
- justify-content: flex-end;
3375
- margin-right: 13px;
3376
- height: 40px;
3372
+ justify-content: left;
3373
+ flex-wrap: wrap;
3377
3374
  align-items: center;
3378
- transform: translate(-41px,-3px);
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
+ }
3401
+ }
3402
+ }
3403
+ }
3404
+ }
3405
+
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;
3409
+
3410
+ .ng-scroll-content {
3411
+ margin: 0 !important;
3412
+ min-width: 100%!important;
3413
+ width: 100%!important;
3414
+ }
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);
3426
+
3427
+ @keyframes rotate {
3428
+ 0% {
3429
+ transform: rotate(0deg);
3430
+ }
3431
+ 50% {
3432
+ transform: rotate(180deg);
3433
+ }
3434
+ 100% {
3435
+ transform: rotate(360deg);
3436
+ }
3437
+ }
3438
+
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
+ }
3453
+
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
+ }
3460
+
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
+ }
3379
3472
 
3380
- &__confirmSup {
3381
- display: flex;
3382
- justify-content: space-between;
3383
- align-items: center;
3384
- border-left: solid 1px #d8d8d8;
3385
- color: $img-grey-color;
3386
- padding-left: 1rem;
3387
- width: 0;
3388
- position: absolute;
3389
- opacity: 0;
3390
- transition: 0s;
3391
- visibility: hidden;
3392
- z-index: 2;
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
+ }
3393
3480
 
3394
- &--visible {
3395
- max-width: unset;
3396
- width: auto;
3397
- opacity: 1;
3398
- transition: 0s;
3399
- visibility: visible;
3481
+ div:hover {
3482
+ animation-play-state: paused;
3483
+ }
3400
3484
 
3401
- p {
3402
- transition: left .3s ease-in-out;
3403
- right: 100%;
3404
- left: auto;
3405
- white-space: nowrap;
3406
- margin-right: 30px;
3407
- }
3408
- }
3485
+ .loader,
3486
+ .loader * {
3487
+ will-change: transform;
3488
+ }
3409
3489
 
3410
- &__cancel {
3411
- margin-right: 14px;
3412
- background-color: white;
3413
- border-color: #dbdbdb;
3414
- color: $img-main-text;
3415
- }
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;
3416
3501
 
3417
- &__text {
3418
- font-size: 14px;
3419
- position: absolute;
3420
- left: -126%;
3421
- transition: font-size .3s ease-in-out, left .3s ease-in-out;
3422
- }
3423
- }
3502
+ .tabs {
3503
+ margin: 0;
3504
+ display: flex;
3505
+ align-items: center;
3506
+ overflow: visible!important;
3424
3507
 
3425
- &__delBtn {
3426
- i {
3427
- margin-right: 13px!important;
3428
- }
3429
- }
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
+ }
3430
3514
 
3431
- &__import {
3432
- margin-right: 13px;
3433
- i {
3434
- margin-right: 13px!important;
3435
- }
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;
3436
3542
  }
3543
+ }
3437
3544
  }
3545
+ }
3546
+ }
3547
+ }
3438
3548
 
3439
- &__buttonBox {
3440
- margin: 0;
3441
- width: rem(40);
3442
- height: rem(40);
3443
- border: solid $img-light-white-color;
3444
- border-width: 1px 0 1px 1px;
3549
+ &__canva {
3550
+ margin: 0 0 0 rem(30);
3551
+ }
3445
3552
 
3446
- border-radius: 3px 0 0 3px;
3447
- outline: none!important;
3553
+ &__tabsEdit {
3554
+ > .column {
3555
+ padding: 0!important;
3556
+ }
3557
+ }
3448
3558
 
3449
- > div {
3450
- margin-top: 0;
3451
- margin-bottom: 0;
3452
- height: 40px;
3453
- &:nth-child(2) {
3454
- border: solid $img-light-white-color;
3455
- border-width: 1px 1px 1px 0;
3456
- transform: translateY(-1px);
3457
- border-radius: 0 3px 3px 0;
3458
- }
3459
- div {
3460
- height: 38px;
3461
- margin: 0!important;
3462
- }
3463
- }
3559
+ &__tabsFirst {
3560
+ height: 100vh;
3464
3561
 
3465
- .actifDisplayed {
3466
- color:$img-main-color;
3467
- }
3562
+ &--window {
3563
+ height: auto;
3564
+ display: flex;
3565
+ justify-content: flex-start;
3566
+ }
3468
3567
 
3469
- i {
3470
- margin: 0;
3471
- }
3472
- }
3568
+ &__upload {
3569
+ margin: rem(28) 0 0 0;
3570
+ padding: 0;
3571
+ max-width: 33.3%;
3572
+ }
3473
3573
 
3474
- &__cards {
3475
- display: flex;
3476
- justify-content: space-between;
3477
- flex-wrap: wrap;
3478
- align-items: center;
3479
- padding-top: 30px;
3480
- margin-right: calc(0.8rem - 20px);
3481
- margin-left: 0.3rem;
3482
- margin-bottom: 30px;
3483
- }
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;
3484
3582
  }
3583
+ }
3485
3584
 
3486
- &--pexels {
3487
- margin-top: -30px;
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;
3488
3590
  }
3591
+ }
3489
3592
 
3490
- .subHeaderActions .button i {
3491
- margin-right: 0;
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;
3492
3601
  }
3493
- }
3602
+ }
3494
3603
 
3495
- @media screen and (max-width: 768px) {
3496
- .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .images-view__scroll {
3497
- max-height: none!important;
3604
+ &__tabsThird {
3605
+ min-height: 100vh !important;
3606
+ margin-left: 0px;
3607
+ margin-right: 0px;
3608
+ margin-bottom: 0px;
3498
3609
 
3499
- .ng-scroll-content {
3500
- margin: 0 !important;
3501
- min-width: 100%!important;
3502
- width: 100%!important;
3503
- }
3610
+ .column {
3611
+ padding: 0.75rem 0 0.75rem 0;
3504
3612
  }
3613
+ }
3505
3614
  }
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;
3511
3615
 
3512
- &.smallDisplay {
3513
- .upload-list__box__cards__card {
3514
- width: 125px;
3515
- }
3616
+ @media screen and (max-width: 768px) {
3617
+ .img-tabs__tabsFirst {
3618
+ margin-top: 0;
3619
+ }
3620
+
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
  }