@wizishop/img-manager 0.2.85 → 0.2.88

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 (38) hide show
  1. package/assets/i18n/en.json +1 -1
  2. package/assets/i18n/fr.json +1 -1
  3. package/bundles/wizishop-img-manager.umd.js +258 -27
  4. package/bundles/wizishop-img-manager.umd.js.map +1 -1
  5. package/bundles/wizishop-img-manager.umd.min.js +2 -2
  6. package/bundles/wizishop-img-manager.umd.min.js.map +1 -1
  7. package/esm2015/lib/components/img-tabs/img-tabs.component.js +31 -6
  8. package/esm2015/lib/components/shared/select/call-to-action.model.js +1 -0
  9. package/esm2015/lib/components/shared/select/select-items.dto.js +1 -0
  10. package/esm2015/lib/components/shared/select/select.component.js +133 -0
  11. package/esm2015/lib/directives/zindex-toggle.directive.js +49 -0
  12. package/esm2015/lib/pipes/select/select-filters.pipe.js +17 -0
  13. package/esm2015/lib/wz-img-manager.module.js +11 -3
  14. package/esm2015/wizishop-img-manager.js +20 -17
  15. package/esm5/lib/components/img-tabs/img-tabs.component.js +31 -6
  16. package/esm5/lib/components/shared/select/call-to-action.model.js +1 -0
  17. package/esm5/lib/components/shared/select/select-items.dto.js +1 -0
  18. package/esm5/lib/components/shared/select/select.component.js +136 -0
  19. package/esm5/lib/directives/zindex-toggle.directive.js +54 -0
  20. package/esm5/lib/pipes/select/select-filters.pipe.js +20 -0
  21. package/esm5/lib/wz-img-manager.module.js +11 -3
  22. package/esm5/wizishop-img-manager.js +20 -17
  23. package/fesm2015/wizishop-img-manager.js +226 -8
  24. package/fesm2015/wizishop-img-manager.js.map +1 -1
  25. package/fesm5/wizishop-img-manager.js +237 -8
  26. package/fesm5/wizishop-img-manager.js.map +1 -1
  27. package/lib/components/img-tabs/img-tabs.component.d.ts +4 -3
  28. package/lib/components/shared/select/call-to-action.model.d.ts +6 -0
  29. package/lib/components/shared/select/select-items.dto.d.ts +8 -0
  30. package/lib/components/shared/select/select.component.d.ts +38 -0
  31. package/lib/directives/zindex-toggle.directive.d.ts +13 -0
  32. package/lib/pipes/select/select-filters.pipe.d.ts +5 -0
  33. package/package.json +2 -1
  34. package/wizishop-img-manager-0.2.88.tgz +0 -0
  35. package/wizishop-img-manager.d.ts +19 -16
  36. package/wizishop-img-manager.metadata.json +1 -1
  37. package/wz-img-manager.scss +2001 -1702
  38. package/wizishop-img-manager-0.2.85.tgz +0 -0
@@ -65,6 +65,11 @@ $input-radio-color-label: #6b7881!default;
65
65
  $input-radio-color-active-label: #1e2e43!default;
66
66
  $border-color: #dee2ed!default;
67
67
  $img-white: #fff!default;
68
+ $select-icon-background: #edeff2!default;
69
+ $color-CTA-select: #52aecd1a!default;
70
+ $border-CTA-select: #52aecd66!default;
71
+ $color-text-grey: #6b7881!default;
72
+ $select-box-shadow: #0000000d!default;
68
73
  @function rem($pxval) {
69
74
  @if not unitless($pxval) {
70
75
  $pxval: strip-unit($pxval);
@@ -987,391 +992,91 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
987
992
  overflow: scroll;
988
993
  }
989
994
  }
990
- .img-upload {
991
- position: relative;
992
- background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='3' ry='3' stroke='%2352AECD' stroke-width='2' stroke-dasharray='4%2c 8' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
993
- border-radius: 3px;
994
- &:before {
995
- content: '';
996
- display: block;
997
- padding-top: 110.82%;
995
+ //.wz-img-manager useful to keep the css priority
996
+ .wz-img-manager .wz-loader {
997
+ &.is-small {
998
+ right: 0;
999
+ left: 0;
1000
+ top: 0;
1001
+ transform: scale(0.6);
998
1002
  }
999
- &--small {
1000
- &:before {
1001
- padding-top: 202px;
1003
+ margin-bottom: rem(80);
1004
+
1005
+ @keyframes rotate {
1006
+ 0% {
1007
+ transform: rotate(0deg);
1002
1008
  }
1003
- .img-upload {
1004
- &__container {
1005
- .blueColor {
1006
- img {
1007
- min-width: rem(30);
1008
- }
1009
- }
1010
- &__or {
1011
- margin: rem(10) 0;
1012
- }
1013
- &__text {
1014
- padding: rem(8) rem(20);
1015
- }
1016
- }
1009
+ 50% {
1010
+ transform: rotate(180deg);
1017
1011
  }
1018
- }
1019
- &__container {
1020
- position: absolute;
1021
- top: 0;
1022
- left: 0;
1023
- width: 100%;
1024
- height: 100%;
1025
- display: flex;
1026
- flex-wrap: wrap;
1027
- flex-direction: column;
1028
- justify-content: center;
1029
- align-items: center;
1030
- &__loader {
1031
- position: absolute;
1032
- top: 50%;
1033
- left: 50%;
1034
- transform: translate(-50%,-50%);
1035
- max-width: 300px;
1036
- max-height: 300px;
1037
- display: flex;
1038
- flex-wrap: wrap;
1039
- flex-direction: column;
1040
- justify-content: center;
1041
- align-items: center;
1012
+ 100% {
1013
+ transform: rotate(360deg);
1042
1014
  }
1043
- .blueColor {
1044
- img {
1045
- min-width: rem(65);
1046
- display: block;
1047
- max-width: rem(65);
1048
- margin: 0 auto rem(15);
1049
- transform: translate(10px);
1050
- }
1051
- p {
1052
- color: $border-upload-color;
1053
- font-size: rem(16);
1054
- line-height: rem(19);
1055
- font-weight: 500;
1056
- margin: 0 auto rem(20);
1057
- }
1015
+ }
1016
+
1017
+ @keyframes rotate2 {
1018
+ 0% {
1019
+ transform: rotate(0deg);
1020
+ border-top-color: $img-color-loader;
1058
1021
  }
1059
- &__or {
1060
- font-size: rem(14);
1061
- line-height: rem(16);
1062
- margin: 0 0 rem(20) !important;
1022
+ 50% {
1023
+ transform: rotate(180deg);
1024
+ border-top-color: $img-color-loader2;
1063
1025
  }
1064
- &__text {
1065
- display: flex;
1066
- align-items: center;
1067
- justify-content: center;
1068
- width: auto;
1069
- border-radius: 3px;
1070
- padding: rem(12) rem(20);
1071
- color: $white;
1072
- font-size: rem(14);
1073
- line-height: rem(16);
1074
- white-space: nowrap;
1075
- background-color: $img-green-color;
1076
- transition: .3s ease;
1077
- font-weight: 500;
1078
- cursor: pointer;
1079
- i {
1080
- margin: 0 rem(6) 0 0;
1081
- font-weight: 500;
1082
- }
1083
- &:hover, &:focus {
1084
- background-color: darken($img-green-color, 15%);
1085
- }
1026
+ 100% {
1027
+ transform: rotate(360deg);
1028
+ border-top-color: $img-color-loader;
1086
1029
  }
1087
1030
  }
1088
- }
1089
- .img-editor__infoSection__propertySEO__tooltips {
1090
- i {
1091
- font-size: rem(16);
1092
- color: $main-text;
1031
+
1032
+ @mixin loaderDivMixin {
1033
+ border-radius: 50%;
1034
+ padding: rem(8);
1035
+ border: rem(2) solid transparent;
1036
+ animation: rotate linear 3.5s infinite;
1093
1037
  }
1094
- }.wz-selector {
1095
- &__default {
1038
+
1039
+ .loader {
1096
1040
  position: relative;
1097
- &__base {
1098
- position: relative;
1099
- height: rem(32);
1100
- input {
1101
- font-size: rem(14);
1102
- line-height: rem(24);
1103
- color: $img-second-color;
1104
- border: 1px solid $border-form;
1105
- border-radius: 2px;
1106
- height: rem(32);
1107
- padding: 3px 26px 3px 15px;
1108
- cursor: pointer;
1109
- &:focus {
1110
- cursor: text;
1111
- padding: 3px 7px;
1112
- & + i {
1113
- opacity: 0;
1114
- }
1115
- }
1116
- }
1117
- i {
1118
- position: absolute;
1119
- font-size: rem(10);
1120
- height: 6px;
1121
- color: $img-second-color;
1122
- right: 12px;
1123
- top: 50%;
1124
- transform: translateY(-125%);
1125
- cursor: pointer;
1126
- }
1127
- }
1128
- &__absolute {
1129
- position: absolute;
1130
- bottom: 100%;
1131
- left: 0;
1132
- border-radius: 2px 2px 0 0;
1133
- background-color: $white;
1134
- transform: translateY(1px);
1135
- &__wrapper {
1136
- width: 100%;
1137
- display: flex;
1138
- flex-direction: column;
1139
- &:last-child {
1140
- > div {
1141
- border-bottom: 1px solid $border-form;
1142
- }
1143
- }
1144
- &__item {
1145
- padding: 3px 15px;
1146
- width: 100%;
1147
- color: $img-second-color;
1148
- font-size: rem(14);
1149
- line-height: rem(24);
1150
- border-left: 1px solid $border-form;
1151
- border-right: 1px solid $border-form;
1152
- border-top: 1px solid $border-form;
1153
- transition: .3s ease;
1154
- cursor: pointer;
1155
- text-align: center;
1156
- &:hover, &:focus, &.selected {
1157
- background-color: $wizishop-blue;
1158
- color: $white;
1159
- }
1160
- }
1161
- }
1041
+ margin: rem(75) auto;
1042
+ width: rem(150);
1043
+ height: rem(150);
1044
+ display: block;
1045
+ overflow: hidden;
1046
+ div {
1047
+ height: 100%;
1162
1048
  }
1163
1049
  }
1164
- }
1165
- .mosaic {
1166
- width: 100%;
1167
- display: flex;
1168
- flex-wrap: wrap;
1169
- position: relative;
1170
- min-height: rem(512);
1171
1050
 
1172
- &--displayPexelsImg {
1173
- min-height: unset;
1051
+ /* loader 1 */
1052
+ .loader1,
1053
+ .loader1 div {
1054
+ @include loaderDivMixin;
1055
+ border-top-color: $img-color-loader;
1056
+ border-bottom-color: $img-color-loader2;
1174
1057
  }
1175
1058
 
1176
- &:not(.fullSize) {
1177
- width: calc(100% + 24px);
1178
- transform: translateX(-12px);
1179
- .mosaic__container__cards {
1180
- padding-bottom: 40px;
1181
- > * {
1182
- width: calc(25% - 24px);
1183
- margin: 0 12px rem(24) 12px;
1184
- @include media('>=desktop','<1300px') {
1185
- width: calc(33.33% - 24px);
1186
- margin: 0 12px rem(24) 12px;
1187
- }
1188
- }
1189
- }
1190
- &.small {
1191
- min-height: 0;
1192
- .mosaic__container__loader {
1193
- top: 0;
1194
- transform: translateX(-50%);
1195
- max-height: 200px;
1196
- }
1197
- .mosaic {
1198
- &__container {
1199
- &__cards {
1200
- padding-bottom: 40px;
1201
- > * {
1202
- width: calc(12.5% - 24px);
1203
- margin: 0 12px rem(24) 12px;
1204
- @include media('>=1400px','<1600px') {
1205
- width: calc(14% - 24px);
1206
- margin: 0 12px rem(24) 12px;
1207
- }
1208
- @include media('>=1200px','<1400px') {
1209
- width: calc(16.66% - 24px);
1210
- margin: 0 12px rem(24) 12px;
1211
- }
1212
- @include media('>=desktop','<1200px') {
1213
- width: calc(20% - 24px);
1214
- margin: 0 12px rem(24) 12px;
1215
- }
1216
- }
1217
- }
1218
- }
1219
- }
1220
- }
1221
- }
1222
- &.fullSize {
1223
- width: calc(100% + 24px);
1224
- transform: translateX(-12px);
1225
- @include media('<420px') {
1226
- width: 100%;
1227
- transform: none;
1228
- }
1229
- .mosaic__container__cards {
1230
- > * {
1231
- width: calc(16.66% - 24px);
1232
- margin: 0 12px rem(24) 12px;
1233
- @include media('>=1400px','<1600px') {
1234
- width: calc(20% - 24px);
1235
- margin: 0 12px rem(24) 12px;
1236
- }
1237
- @include media('>=desktop','<1400px') {
1238
- width: calc(25% - 24px);
1239
- margin: 0 12px rem(24) 12px;
1240
- }
1241
- @include media('>=tablet','<desktop') {
1242
- width: calc(33.33% - 24px);
1243
- margin: 0 12px rem(24) 12px;
1244
- }
1245
- @include media('>=400px','<tablet') {
1246
- width: calc(50% - 24px);
1247
- margin: 0 12px rem(24) 12px;
1248
- }
1249
- @include media('<420px') {
1250
- width: 100%;
1251
- margin: 0 0 15px;
1252
- }
1253
- }
1254
- }
1255
- &.small {
1256
- .mosaic__container__loader {
1257
- top: 0;
1258
- transform: translateX(-50%);
1259
- max-height: 200px;
1260
- }
1261
- .mosaic {
1262
- &__search {
1263
- display: none;
1264
- @include media('<tablet') {
1265
- display: block;
1266
- margin: 0 0 20px;
1267
- padding: 0;
1268
- width: 100%;
1269
- }
1270
- }
1271
- &__container {
1272
- &__cards {
1273
- > * {
1274
- width: calc(10% - 24px);
1275
- margin: 0 12px rem(24) 12px;
1276
- @include media('>=1400px','<1600px') {
1277
- width: calc(11.11% - 24px);
1278
- margin: 0 12px rem(24) 12px;
1279
- }
1280
- @include media('>=desktop','<1400px') {
1281
- width: calc(12.5% - 24px);
1282
- margin: 0 12px rem(24) 12px;
1283
- }
1284
- @include media('>=tablet','<desktop') {
1285
- width: calc(20% - 24px);
1286
- margin: 0 12px rem(24) 12px;
1287
- }
1288
- @include media('>=500px','<tablet') {
1289
- width: calc(33.33% - 24px);
1290
- margin: 0 12px rem(24) 12px;
1291
- }
1292
- @include media('<500px') {
1293
- width: calc(50% - 24px);
1294
- margin: 0 12px rem(24) 12px;
1295
- }
1296
- }
1297
- }
1298
- }
1299
- }
1300
- }
1301
- }
1302
- &__search {
1303
- width: calc(100% - 24px);
1304
- margin: 0 auto rem(20);
1305
- }
1306
- &__pagination {
1307
- width: 100%;
1308
- }
1309
- &__container {
1310
- &__loader {
1311
- position: absolute;
1312
- top: 50%;
1313
- left: 50%;
1314
- transform: translate(-50%,-50%);
1315
- max-width: 300px;
1316
- max-height: 300px;
1317
- display: flex;
1318
- flex-wrap: wrap;
1319
- flex-direction: column;
1320
- justify-content: center;
1321
- align-items: center;
1322
- }
1323
- &__cards {
1324
- width: 100%;
1325
- display: flex;
1326
- flex-wrap: wrap;
1327
- &--padding {
1328
- padding-right: 20px;
1329
- @include media('<tablet') {
1330
- width: calc(100% + 24px);
1331
- padding: 0;
1332
- }
1333
- }
1334
- }
1335
- }
1336
- }
1337
-
1338
- .mosaic__container__cards {
1339
- z-index: 1;
1340
- & + .mosaic__pagination {
1341
- position: relative;
1342
- z-index: 2;
1343
- }
1344
- }
1345
- $green: $really-bad-bad-bad-green !default;
1346
- $primary: $primary-button !default;
1347
- $light: $img-placeholder !default;
1348
- $info: $wizishop-blue !default;
1349
- $danger: $img-red-color !default;
1350
- $dark: $img-dark !default;
1351
-
1352
- $button-padding-vertical: rem(7) !default;
1353
- $radius: rem(3) !default;
1354
-
1355
- $button-color: white!default;
1356
- $button-hover-color: white !default;
1357
- $button-focus-color: white !default;
1358
- $button-active-color: white !default;
1359
- $button-background-color: $primary !default;
1360
- $button-disabled-background-color: $primary !default;
1361
- $button-border-color: $primary-button-hover !default;
1362
- $button-hover-border-color: $primary-button-hover !default;
1363
- $button-active-border-color: $primary-button-hover !default;
1364
- $button-focus-border-color: $primary-button-hover !default;
1365
- $button-disabled-border-color: $primary-button-hover !default;
1366
-
1367
- $tag-radius: rem(20px)!default;
1368
- //.wz-img-manager useful to keep the css priority
1369
- .wz-img-manager .table-view {
1370
-
1371
-
1372
- &__row {
1373
- td {
1374
- vertical-align: middle;
1059
+ div:hover {
1060
+ animation-play-state: paused;
1061
+ }
1062
+
1063
+ .loader,
1064
+ .loader * {
1065
+ will-change: transform;
1066
+ }
1067
+
1068
+ p {
1069
+ margin-top: -50px;
1070
+ font-weight: 500;
1071
+ }
1072
+ }
1073
+ //.wz-img-manager useful to keep the css priority
1074
+ .wz-img-manager .table-view {
1075
+
1076
+
1077
+ &__row {
1078
+ td {
1079
+ vertical-align: middle;
1375
1080
  }
1376
1081
  &__container {
1377
1082
  display: flex;
@@ -1492,316 +1197,464 @@ $tag-radius: rem(20px)!default;
1492
1197
  .grey {
1493
1198
  color: $img-grey-color;
1494
1199
  }
1495
- .wz-img-manager .img-editor {
1496
- &__scroll {
1497
- position: relative;
1498
- height: 100%;
1499
-
1500
- &--full {
1501
- max-height: calc(100vh - 90px)!important;
1502
- min-height: calc(100vh - 90px) !important;
1503
- }
1504
-
1505
- &--smallDisplay {
1506
- max-height: 275px!important;
1507
- @include media('<tablet') {
1508
- max-height: calc(100vh - 90px)!important;
1509
- min-height: calc(100vh - 90px) !important;
1200
+ .wz-selector {
1201
+ &__default {
1202
+ position: relative;
1203
+ &__base {
1204
+ position: relative;
1205
+ height: rem(32);
1206
+ input {
1207
+ font-size: rem(14);
1208
+ line-height: rem(24);
1209
+ color: $img-second-color;
1210
+ border: 1px solid $border-form;
1211
+ border-radius: 2px;
1212
+ height: rem(32);
1213
+ padding: 3px 26px 3px 15px;
1214
+ cursor: pointer;
1215
+ &:focus {
1216
+ cursor: text;
1217
+ padding: 3px 7px;
1218
+ & + i {
1219
+ opacity: 0;
1510
1220
  }
1511
1221
  }
1512
-
1513
- &--window {
1514
- max-height: none;
1515
- }
1516
-
1517
- .ng-scroll-content {
1518
- margin-left: 0 !important;
1519
- margin-right: 0 !important;
1520
- min-width: calc(100% - 1rem) !important;
1521
- width: calc(100% - 1rem) !important;
1522
- }
1523
- }
1524
-
1525
- .columns {
1526
- margin-right: 0.8rem;
1527
- margin-left: rem(12);
1528
- margin-top: 12px;
1529
- margin-bottom: 0;
1530
- width: calc(100% + 11px);
1531
-
1532
- .column {
1533
- padding-top: 0;
1534
- padding-bottom: 0px;
1535
- }
1222
+ }
1223
+ i {
1224
+ position: absolute;
1225
+ font-size: rem(10);
1226
+ height: 6px;
1227
+ color: $img-second-color;
1228
+ right: 12px;
1229
+ top: 50%;
1230
+ transform: translateY(-125%);
1231
+ cursor: pointer;
1232
+ }
1536
1233
  }
1234
+ &__absolute {
1235
+ position: absolute;
1236
+ bottom: 100%;
1237
+ left: 0;
1238
+ border-radius: 2px 2px 0 0;
1239
+ background-color: $white;
1240
+ transform: translateY(1px);
1241
+ &__wrapper {
1242
+ width: 100%;
1243
+ display: flex;
1244
+ flex-direction: column;
1245
+ &:last-child {
1246
+ > div {
1247
+ border-bottom: 1px solid $border-form;
1248
+ }
1249
+ }
1250
+ &__item {
1251
+ padding: 3px 15px;
1252
+ width: 100%;
1253
+ color: $img-second-color;
1254
+ font-size: rem(14);
1255
+ line-height: rem(24);
1256
+ border-left: 1px solid $border-form;
1257
+ border-right: 1px solid $border-form;
1258
+ border-top: 1px solid $border-form;
1259
+ transition: .3s ease;
1260
+ cursor: pointer;
1261
+ text-align: center;
1262
+ &:hover, &:focus, &.selected {
1263
+ background-color: $wizishop-blue;
1264
+ color: $white;
1265
+ }
1266
+ }
1267
+ }
1268
+ }
1269
+ }
1270
+ }
1271
+ image-cropper {
1272
+ max-height: 60vh;
1273
+ }.wz-img-manager {
1537
1274
 
1538
- &__head-container {
1539
- display: flex;
1540
- justify-content: flex-end;
1541
- align-items: center;
1542
- margin: 30px 30px 20px 0;
1543
-
1544
- &__btnGroup {
1545
- margin-right: 13px;
1546
- opacity: 0;
1547
- visibility: hidden;
1548
- transition: opacity .3s ease-in-out;
1275
+ &__selectionHandler {
1276
+ margin-top: -50px;
1277
+ }
1549
1278
 
1550
- &__visible {
1551
- opacity: 1;
1552
- visibility: visible;
1553
- }
1279
+ &__module {
1280
+ position: fixed;
1281
+ bottom: 0;
1282
+ left: 0;
1283
+ width: 100%;
1284
+ height: 0;
1285
+ transition: height .3s ease;
1286
+ z-index: 2147483647; // snackbar 10
1287
+ transform: translateZ(0);
1554
1288
 
1555
- &__removeBtn {
1556
- margin-right: 13px;
1557
- }
1558
- }
1289
+ &:before {
1290
+ content: '';
1291
+ display: block;
1292
+ position: absolute;
1293
+ top: 0;
1294
+ left: 0;
1295
+ width: 100%;
1296
+ height: 3px;
1297
+ background-color: $img-main-color;
1298
+ z-index: 999;
1299
+ }
1559
1300
 
1560
- &__close {
1561
- cursor: pointer;
1562
- font-size: 14px;
1563
- color: $img-grey-color;
1564
- line-height: 40px;
1565
- }
1301
+ &--closed {
1302
+ height: 0;
1566
1303
  }
1567
1304
 
1568
- &__container {
1569
- padding: 0.75rem!important;
1570
- display:flex;
1571
- justify-content: center;
1572
- align-items: center;
1573
- background-color: $img-gray-background;
1574
- margin: 0;
1575
- transform: translateY(-16px);
1305
+ // .wz-img-manager__module--small
1306
+ &--small {
1307
+ height: 320px;
1308
+ @include media('<tablet') {
1309
+ height: calc(100vh - 35px);
1310
+ }
1311
+ }
1576
1312
 
1577
- &__toolsContainer {
1578
- display: flex;
1579
- justify-content: center;
1580
- align-items: center;
1581
- margin-bottom: 50px;
1313
+ // .wz-img-manager__module--full
1314
+ &--full {
1315
+ height: calc(100vh - 50px);
1316
+ @include media('<tablet') {
1317
+ height: calc(100vh - 35px);
1318
+ }
1319
+ }
1582
1320
 
1583
- &__tool {
1584
- color: $img-second-color;
1585
- margin-right: 30px;
1586
- text-align: center;
1587
- cursor: pointer;
1321
+ // .wz-img-manager__module--window
1322
+ &--window {
1323
+ position: relative;
1324
+ width: auto;
1325
+ bottom: unset;
1326
+ left: unset;
1327
+ z-index: 29!important;
1328
+ height: auto!important;
1329
+ padding-bottom: 6.25rem;
1588
1330
 
1589
- p {
1590
- margin: 0!important;
1591
- color: $img-main-text;
1592
- font-size: rem(12);
1593
- line-height: rem(14);
1594
- }
1331
+ &:before {
1332
+ content: none;
1333
+ height: 0px;
1334
+ }
1595
1335
 
1596
- i {
1597
- font-size: rem(18);
1598
- margin: 0 0 10px;
1599
- }
1336
+ // .wz-img-manager__module--edit
1337
+ &--edit {
1338
+ .wrapper-tabs {
1339
+ display: none;
1340
+ }
1341
+ }
1342
+ }
1600
1343
 
1601
- &--button {
1602
- background-color: $img-green-color;
1603
- color: $img-white!important;
1604
- padding: 10px;
1605
- border-radius: 3px;
1606
- transition: .3s ease;
1607
- white-space: nowrap;
1608
- display: flex;
1609
- justify-content: center;
1610
- align-items: center;
1611
- position: absolute;
1612
- top: 80px;
1613
- left: 50%;
1614
- transform: translateX(-50%);
1615
- height: 35px;
1616
- margin: 0;
1617
- &:hover, &:focus {
1618
- background-color: darken($img-green-color, 15%);
1619
- color: $img-white!important;
1620
- }
1621
- p {
1622
- color: $white!important;
1623
- }
1624
- i {
1625
- margin: 0 5px 0 0;
1626
- }
1627
- }
1628
- &:hover {
1629
- color: $img-main-color;
1630
- }
1344
+ // .wz-img-manager__module__header
1345
+ &__header {
1346
+ position: absolute;
1347
+ bottom: 100%;
1348
+ right: 30px;
1349
+ width: 101px;
1631
1350
 
1632
- > * {
1633
- -webkit-touch-callout: none; /* iOS Safari */
1634
- -webkit-user-select: none; /* Safari */
1635
- -khtml-user-select: none; /* Konqueror HTML */
1636
- -moz-user-select: none; /* Old versions of Firefox */
1637
- -ms-user-select: none; /* Internet Explorer/Edge */
1638
- user-select: none; /* Non-prefixed version, currently
1639
- supported by Chrome, Edge, Opera and Firefox */
1640
- }
1641
- }
1351
+ @include media('<tablet') {
1352
+ width: 45px;
1353
+ right: 0;
1354
+ }
1642
1355
 
1643
- &__RotationDropdown {
1644
- min-width: 16rem;
1645
- }
1356
+ // .wz-img-manager__module__header button
1357
+ button {
1358
+ width: 45px;
1359
+ height: 35px;
1360
+ background-color: $img-main-color;
1361
+ transition: background-color .3s ease;
1362
+ border: none;
1363
+ box-shadow: none;
1364
+ cursor: pointer;
1365
+ outline: none!important;
1366
+
1367
+ &:first-child {
1368
+ @include media('<tablet') {
1369
+ display: none;
1370
+ }
1646
1371
  }
1647
1372
 
1648
- &__name {
1649
- font-size: 16px;
1650
- max-width: 50%;
1651
- color: $img-grey-color;
1652
- text-align: center;
1653
- white-space: nowrap;
1654
- overflow: hidden;
1655
- text-overflow: ellipsis;
1373
+ span {
1374
+ display: none;
1656
1375
  }
1657
1376
 
1658
- .button {
1659
- min-height: 35px;
1660
- background-color: $img-primary-button;
1661
- border-color: $img-primary-button-hover;
1662
- color: #ffffff;
1377
+ i {
1378
+ color: #fff;
1379
+ font-size: 20px;
1380
+ &:before {
1381
+ font-size: rem(20) !important;
1382
+ }
1663
1383
  }
1664
- }
1665
1384
 
1666
- &__image-cropper {
1667
- --cropper-overlay-color: #f5f8fa;
1668
- //--cropper-outline-color: #a5a5a573;
1669
- padding-bottom: 30px;
1670
- }
1385
+ &:hover, &:focus {
1386
+ background-color: darken($img-main-color, 15%);
1387
+ }
1671
1388
 
1672
- &__infoSection {
1673
- font-size: 14px;
1674
- max-width: 360px;
1675
- padding: 0;
1676
- margin: 0 rem(30) 0 0;
1389
+ // .wz-img-manager__module__header button:first-child
1390
+ &:first-child {
1391
+ border-radius: 3px 0 0 0;
1392
+ }
1677
1393
 
1678
- &__propertyEditable {
1679
- margin-bottom: 31px;
1680
- p {
1681
- margin-bottom: 12px;
1682
- font-size: 14px;
1683
- }
1684
- input, button {
1685
- width: 100%;
1686
- height: 40px;
1687
- border: 1px solid #DEE2ED;
1688
- border-radius: 3px;
1689
- color: $img-main-text;
1690
- padding-left: 20px;
1691
- padding-right: 20px;
1692
- display: flex;
1693
- justify-content: space-between;
1694
- font-size: 14px;
1394
+ // .wz-img-manager__module__header button:last-child
1395
+ &:last-child {
1396
+ margin: 0 0 0 1px;
1397
+ border-radius: 0 3px 0 0;
1398
+ @include media('<tablet') {
1399
+ margin: 0;
1400
+ border-radius: 0;
1401
+ }
1402
+ }
1403
+ }
1404
+ }
1405
+ }
1406
+ }
1695
1407
 
1696
- &:hover {
1697
- color: $img-main-color;
1698
- border-color: $img-main-color;
1699
- }
1700
- }
1408
+ .wz-img-manager__module .wz-block {
1409
+ background-color: #fff;
1410
+ box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
1411
+ padding: 0 0.575rem 0 1.075rem;
1701
1412
 
1702
- button {
1703
- align-items: center;
1704
- background-color: transparent;
1705
- cursor: pointer;
1706
- }
1413
+ @include media('<tablet') {
1414
+ padding: 0 20px;
1415
+ }
1707
1416
 
1708
- &__span, &__input {
1709
- text-overflow: ellipsis;
1710
- overflow: hidden;
1711
- white-space: nowrap;
1712
- }
1417
+ &--window {
1418
+ padding: rem(30);
1419
+ overflow: hidden;
1420
+ max-width: 1450px;
1421
+ margin: 0 auto;
1422
+ }
1423
+ }
1713
1424
 
1714
- &__span {
1715
- color: $img-bleu-color;
1716
- & + i {
1717
- color: $img-bleu-color;
1718
- font-weight: 600;
1719
- }
1720
- }
1425
+ .wz-img-manager__module .wz-block:hover {
1426
+ box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.2);
1427
+ }
1721
1428
 
1722
- &__tooltips {
1723
- margin-left: 10px;
1724
- }
1429
+ .nwb-snack-bar .notification {
1430
+ z-index: 10002!important;
1431
+ }
1432
+
1433
+ .nwb-snack-bar .column {
1434
+ box-sizing: border-box;
1435
+ }
1436
+
1437
+
1438
+ .img-editor__infoSection__propertySEO__tooltips {
1439
+ i {
1440
+ font-size: rem(16);
1441
+ color: $main-text;
1442
+ }
1443
+ }.wz-img-manager .images-view {
1444
+ text-align: left;
1445
+
1446
+ &.fullSize {
1447
+ & + .images-view__scroll {
1448
+ max-height: 1160px;
1449
+ }
1450
+ }
1451
+
1452
+ &__scroll {
1453
+ position: relative;
1454
+ height: 100%;
1455
+ z-index: 1;
1456
+
1457
+ &--full {
1458
+ max-height: calc(100vh - 160px)!important;
1459
+ min-height: calc(100vh - 160px) !important;
1725
1460
  }
1726
1461
 
1727
- &__property {
1728
- &:nth-child(3), &:nth-child(4) {
1729
- margin: 0;
1462
+ &--smallDisplay {
1463
+ max-height: 275px!important;
1464
+ @include media('<tablet') {
1465
+ max-height: calc(100vh - 90px)!important;
1466
+ min-height: calc(100vh - 90px) !important;
1467
+ }
1468
+ }
1469
+
1470
+ &--smallUploadDisplay {
1471
+ max-height: 230px!important;
1472
+ }
1473
+
1474
+ &--window {
1475
+ max-height: unset!important;
1476
+ }
1477
+
1478
+ &--hide {
1479
+ &--mosaic {
1480
+ min-height: 100px !important;
1481
+ &--small {
1482
+ min-height: unset !important;
1483
+ }
1730
1484
  }
1731
- p {
1732
- font-size: 14px;
1733
- display: inline-block;
1485
+ &--table {
1486
+ min-height: 170px !important;
1734
1487
  }
1735
1488
 
1736
- .mainColor {
1737
- margin: 0!important;
1738
- }
1489
+ }
1739
1490
 
1740
- p:last-child {
1741
- margin: 0 0 0 10px;
1742
- color: #526384;
1491
+ .ng-scroll-content {
1492
+ min-width: calc(100% - 1rem) !important;
1493
+ width: calc(100% - 1rem) !important;
1494
+ @include media('<tablet') {
1495
+ min-width: 100%!important;
1743
1496
  }
1744
1497
  }
1498
+ }
1745
1499
 
1746
- &__titleSEO {
1747
- margin: 0 0 20px;
1500
+ &__container {
1501
+ display: flex;
1502
+ justify-content: space-between;
1503
+ margin: 0 0 rem(20);
1748
1504
 
1749
- .mainColor {
1750
- font-size: rem(18);
1751
- font-weight: 500;
1752
- }
1505
+ > div {
1506
+ display: flex;
1507
+ align-items: center;
1508
+ .mainColor {
1509
+ margin: 0;
1753
1510
  }
1511
+ }
1754
1512
 
1755
- &__propertySEO {
1756
- margin-bottom: 12px;
1757
- p {
1758
- font-size: 14px;
1759
- display: inline-block;
1760
- margin: 0;
1761
- }
1762
-
1763
- .mainColor {
1764
- & ~ p {
1765
- margin-left: 10px;
1766
- color: $img-green-color;
1767
- }
1768
- }
1513
+ &--window {
1514
+ margin: rem(30) 0 rem(20);
1769
1515
  }
1770
1516
 
1771
- &__divider {
1772
- display: block;
1773
- width: 100%;
1774
- border-bottom: 2px dashed #EFF1F6;
1775
- margin: 30px 0;
1517
+ &--uploadTab {
1518
+ margin: 0 0 rem(20);
1776
1519
  }
1777
1520
 
1778
- &__actions {
1779
- height: 35px;
1521
+ &__boxAction {
1522
+ width: 525px;
1523
+ overflow: visible;
1524
+ display: flex;
1525
+ position: relative;
1526
+ justify-content: flex-end;
1527
+ margin-right: 13px;
1528
+ height: 40px;
1529
+ align-items: center;
1530
+ transform: translate(-41px,-3px);
1780
1531
 
1781
- &__cancel {
1782
- margin-right: 19px;
1783
- background-color: white;
1784
- border-color: #dbdbdb;
1785
- color: $img-main-text;
1532
+ &__confirmSup {
1533
+ display: flex;
1534
+ justify-content: space-between;
1535
+ align-items: center;
1536
+ border-left: solid 1px #d8d8d8;
1537
+ color: $img-grey-color;
1538
+ padding-left: 1rem;
1539
+ width: 0;
1540
+ position: absolute;
1541
+ opacity: 0;
1542
+ transition: 0s;
1543
+ visibility: hidden;
1544
+ z-index: 2;
1545
+
1546
+ &--visible {
1547
+ max-width: unset;
1548
+ width: auto;
1549
+ opacity: 1;
1550
+ transition: 0s;
1551
+ visibility: visible;
1552
+
1553
+ p {
1554
+ transition: left .3s ease-in-out;
1555
+ right: 100%;
1556
+ left: auto;
1557
+ white-space: nowrap;
1558
+ margin-right: 30px;
1559
+ }
1560
+ }
1561
+
1562
+ &__cancel {
1563
+ margin-right: 14px;
1564
+ background-color: white;
1565
+ border-color: #dbdbdb;
1566
+ color: $img-main-text;
1567
+ }
1568
+
1569
+ &__text {
1570
+ font-size: 14px;
1571
+ position: absolute;
1572
+ left: -126%;
1573
+ transition: font-size .3s ease-in-out, left .3s ease-in-out;
1574
+ }
1786
1575
  }
1787
1576
 
1788
- &__save {
1789
- padding: 8px 18px;
1790
- margin: 0!important;
1791
- &--disable {
1792
- cursor: not-allowed;
1577
+ &__delBtn {
1578
+ i {
1579
+ margin-right: 13px!important;
1793
1580
  }
1794
1581
  }
1795
- }
1796
- }
1797
1582
 
1798
- .dropdown-menu {
1799
- left: -50%;
1800
- }
1801
- }
1583
+ &__import {
1584
+ margin-right: 13px;
1585
+ i {
1586
+ margin-right: 13px!important;
1587
+ }
1588
+ }
1589
+ }
1802
1590
 
1803
- .wz-img-manager .marginBottom {
1804
- margin-bottom: 20px;
1591
+ &__buttonBox {
1592
+ margin: 0;
1593
+ width: rem(40);
1594
+ height: rem(40);
1595
+ border: solid $img-light-white-color;
1596
+ border-width: 1px 0 1px 1px;
1597
+
1598
+ border-radius: 3px 0 0 3px;
1599
+ outline: none!important;
1600
+
1601
+ > div {
1602
+ margin-top: 0;
1603
+ margin-bottom: 0;
1604
+ height: 40px;
1605
+ &:nth-child(2) {
1606
+ border: solid $img-light-white-color;
1607
+ border-width: 1px 1px 1px 0;
1608
+ transform: translateY(-1px);
1609
+ border-radius: 0 3px 3px 0;
1610
+ }
1611
+ div {
1612
+ height: 38px;
1613
+ margin: 0!important;
1614
+ }
1615
+ }
1616
+
1617
+ .actifDisplayed {
1618
+ color:$img-main-color;
1619
+ }
1620
+
1621
+ i {
1622
+ margin: 0;
1623
+ }
1624
+ }
1625
+
1626
+ &__cards {
1627
+ display: flex;
1628
+ justify-content: space-between;
1629
+ flex-wrap: wrap;
1630
+ align-items: center;
1631
+ padding-top: 30px;
1632
+ margin-right: calc(0.8rem - 20px);
1633
+ margin-left: 0.3rem;
1634
+ margin-bottom: 30px;
1635
+
1636
+ }
1637
+ }
1638
+
1639
+ &--pexels {
1640
+ margin-top: -30px;
1641
+ }
1642
+
1643
+ .subHeaderActions .button i {
1644
+ margin-right: 0;
1645
+ }
1646
+ }
1647
+
1648
+ @media screen and (max-width: 768px) {
1649
+ .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .images-view__scroll {
1650
+ max-height: none!important;
1651
+
1652
+ .ng-scroll-content {
1653
+ margin: 0 !important;
1654
+ min-width: 100%!important;
1655
+ width: 100%!important;
1656
+ }
1657
+ }
1805
1658
  }
1806
1659
  $default-color-p-alert: #1e5568;
1807
1660
  $success-color-p-alert: #11552e;
@@ -2128,239 +1981,141 @@ $green-color: #2ecc71;
2128
1981
  }
2129
1982
  }
2130
1983
  }
2131
- .wz-img-manager {
2132
-
2133
- &__selectionHandler {
2134
- margin-top: -50px;
1984
+ .img-upload {
1985
+ position: relative;
1986
+ background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='3' ry='3' stroke='%2352AECD' stroke-width='2' stroke-dasharray='4%2c 8' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
1987
+ border-radius: 3px;
1988
+ &:before {
1989
+ content: '';
1990
+ display: block;
1991
+ padding-top: 110.82%;
2135
1992
  }
2136
-
2137
- &__module {
2138
- position: fixed;
2139
- bottom: 0;
1993
+ &--small {
1994
+ &:before {
1995
+ padding-top: 202px;
1996
+ }
1997
+ .img-upload {
1998
+ &__container {
1999
+ .blueColor {
2000
+ img {
2001
+ min-width: rem(30);
2002
+ }
2003
+ }
2004
+ &__or {
2005
+ margin: rem(10) 0;
2006
+ }
2007
+ &__text {
2008
+ padding: rem(8) rem(20);
2009
+ }
2010
+ }
2011
+ }
2012
+ }
2013
+ &__container {
2014
+ position: absolute;
2015
+ top: 0;
2140
2016
  left: 0;
2141
2017
  width: 100%;
2142
- height: 0;
2143
- transition: height .3s ease;
2144
- z-index: 2147483647; // snackbar 10
2145
- transform: translateZ(0);
2146
-
2147
- &:before {
2148
- content: '';
2149
- display: block;
2018
+ height: 100%;
2019
+ display: flex;
2020
+ flex-wrap: wrap;
2021
+ flex-direction: column;
2022
+ justify-content: center;
2023
+ align-items: center;
2024
+ &__loader {
2150
2025
  position: absolute;
2151
- top: 0;
2152
- left: 0;
2153
- width: 100%;
2154
- height: 3px;
2155
- background-color: $img-main-color;
2156
- z-index: 999;
2026
+ top: 50%;
2027
+ left: 50%;
2028
+ transform: translate(-50%,-50%);
2029
+ max-width: 300px;
2030
+ max-height: 300px;
2031
+ display: flex;
2032
+ flex-wrap: wrap;
2033
+ flex-direction: column;
2034
+ justify-content: center;
2035
+ align-items: center;
2157
2036
  }
2158
-
2159
- &--closed {
2160
- height: 0;
2037
+ .blueColor {
2038
+ img {
2039
+ min-width: rem(65);
2040
+ display: block;
2041
+ max-width: rem(65);
2042
+ margin: 0 auto rem(15);
2043
+ transform: translate(10px);
2044
+ }
2045
+ p {
2046
+ color: $border-upload-color;
2047
+ font-size: rem(16);
2048
+ line-height: rem(19);
2049
+ font-weight: 500;
2050
+ margin: 0 auto rem(20);
2051
+ }
2161
2052
  }
2162
-
2163
- // .wz-img-manager__module--small
2164
- &--small {
2165
- height: 320px;
2166
- @include media('<tablet') {
2167
- height: calc(100vh - 35px);
2053
+ &__or {
2054
+ font-size: rem(14);
2055
+ line-height: rem(16);
2056
+ margin: 0 0 rem(20) !important;
2057
+ }
2058
+ &__text {
2059
+ display: flex;
2060
+ align-items: center;
2061
+ justify-content: center;
2062
+ width: auto;
2063
+ border-radius: 3px;
2064
+ padding: rem(12) rem(20);
2065
+ color: $white;
2066
+ font-size: rem(14);
2067
+ line-height: rem(16);
2068
+ white-space: nowrap;
2069
+ background-color: $img-green-color;
2070
+ transition: .3s ease;
2071
+ font-weight: 500;
2072
+ cursor: pointer;
2073
+ i {
2074
+ margin: 0 rem(6) 0 0;
2075
+ font-weight: 500;
2076
+ }
2077
+ &:hover, &:focus {
2078
+ background-color: darken($img-green-color, 15%);
2168
2079
  }
2169
2080
  }
2081
+ }
2082
+ }
2083
+ .wz-img-manager .dropdownWizi {
2084
+ padding: 10px;
2170
2085
 
2171
- // .wz-img-manager__module--full
2172
- &--full {
2173
- height: calc(100vh - 50px);
2174
- @include media('<tablet') {
2175
- height: calc(100vh - 35px);
2176
- }
2086
+ &.is-hoverable {
2087
+ .rotate {
2088
+ i {
2089
+ @include simple_transition();
2090
+ transform: rotate(90deg);
2091
+ cursor: pointer;
2092
+ }
2093
+ }
2094
+ &:hover,
2095
+ &:active {
2096
+ .rotate:not(.rotate--disable) {
2097
+ i {
2098
+ @include simple_transition();
2099
+ transform: rotate(0deg);
2100
+ }
2101
+ }
2102
+ }
2177
2103
  }
2178
2104
 
2179
- // .wz-img-manager__module--window
2180
- &--window {
2181
- position: relative;
2182
- width: auto;
2183
- bottom: unset;
2184
- left: unset;
2185
- z-index: 29!important;
2186
- height: auto!important;
2187
- padding-bottom: 6.25rem;
2105
+ &:not(.is-hoverable) {
2106
+ .rotate {
2107
+ i {
2108
+ @include simple_transition();
2109
+ transform: rotate(90deg);
2110
+ }
2111
+ }
2112
+ }
2188
2113
 
2189
- &:before {
2190
- content: none;
2191
- height: 0px;
2192
- }
2114
+ .dropdown-item.active-item {
2115
+ background-color: #F5F8FA;
2193
2116
 
2194
- // .wz-img-manager__module--edit
2195
- &--edit {
2196
- .wrapper-tabs {
2197
- display: none;
2198
- }
2199
- }
2200
- }
2201
-
2202
- // .wz-img-manager__module__header
2203
- &__header {
2204
- position: absolute;
2205
- bottom: 100%;
2206
- right: 30px;
2207
- width: 101px;
2208
-
2209
- @include media('<tablet') {
2210
- width: 45px;
2211
- right: 0;
2212
- }
2213
-
2214
- // .wz-img-manager__module__header button
2215
- button {
2216
- width: 45px;
2217
- height: 35px;
2218
- background-color: $img-main-color;
2219
- transition: background-color .3s ease;
2220
- border: none;
2221
- box-shadow: none;
2222
- cursor: pointer;
2223
- outline: none!important;
2224
-
2225
- &:first-child {
2226
- @include media('<tablet') {
2227
- display: none;
2228
- }
2229
- }
2230
-
2231
- span {
2232
- display: none;
2233
- }
2234
-
2235
- i {
2236
- color: #fff;
2237
- font-size: 20px;
2238
- &:before {
2239
- font-size: rem(20) !important;
2240
- }
2241
- }
2242
-
2243
- &:hover, &:focus {
2244
- background-color: darken($img-main-color, 15%);
2245
- }
2246
-
2247
- // .wz-img-manager__module__header button:first-child
2248
- &:first-child {
2249
- border-radius: 3px 0 0 0;
2250
- }
2251
-
2252
- // .wz-img-manager__module__header button:last-child
2253
- &:last-child {
2254
- margin: 0 0 0 1px;
2255
- border-radius: 0 3px 0 0;
2256
- @include media('<tablet') {
2257
- margin: 0;
2258
- border-radius: 0;
2259
- }
2260
- }
2261
- }
2262
- }
2263
- }
2264
- }
2265
-
2266
- .wz-img-manager__module .wz-block {
2267
- background-color: #fff;
2268
- box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
2269
- padding: 0 0.575rem 0 1.075rem;
2270
-
2271
- @include media('<tablet') {
2272
- padding: 0 20px;
2273
- }
2274
-
2275
- &--window {
2276
- padding: rem(30);
2277
- overflow: hidden;
2278
- max-width: 1450px;
2279
- margin: 0 auto;
2280
- }
2281
- }
2282
-
2283
- .wz-img-manager__module .wz-block:hover {
2284
- box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.2);
2285
- }
2286
-
2287
- .nwb-snack-bar .notification {
2288
- z-index: 10002!important;
2289
- }
2290
-
2291
- .nwb-snack-bar .column {
2292
- box-sizing: border-box;
2293
- }
2294
-
2295
- .wrapper-tabs {
2296
- .tabs {
2297
- @include media('<tablet') {
2298
- display: none!important;
2299
- }
2300
- }
2301
- .select-mobile-page {
2302
- @include media('>=tablet') {
2303
- display: none;
2304
- }
2305
- select {
2306
- margin: 20px 0;
2307
- width: 100%;
2308
- min-height: 40px;
2309
- background-color: $img-white;
2310
- border: 1px solid $img-input-border;
2311
- border-radius: 3px;
2312
- box-shadow: none;
2313
- font-size: rem(12);
2314
- color: $img-second-color;
2315
- padding: 0 30px 0 20px;
2316
- -webkit-appearance: none;
2317
- -moz-appearance: none;
2318
- text-indent: 1px;
2319
- text-overflow: '';
2320
- background: no-repeat center right 10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M224 416c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L224 338.8l169.4-169.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-192 192C240.4 412.9 232.2 416 224 416z'/%3E%3C/svg%3E");
2321
- background-size: 10px;
2322
- }
2323
- select::-ms-expand {
2324
- display: none;
2325
- }
2326
- }
2327
- }
2328
- .wz-img-manager .dropdownWizi {
2329
- padding: 10px;
2330
-
2331
- &.is-hoverable {
2332
- .rotate {
2333
- i {
2334
- @include simple_transition();
2335
- transform: rotate(90deg);
2336
- cursor: pointer;
2337
- }
2338
- }
2339
- &:hover,
2340
- &:active {
2341
- .rotate:not(.rotate--disable) {
2342
- i {
2343
- @include simple_transition();
2344
- transform: rotate(0deg);
2345
- }
2346
- }
2347
- }
2348
- }
2349
-
2350
- &:not(.is-hoverable) {
2351
- .rotate {
2352
- i {
2353
- @include simple_transition();
2354
- transform: rotate(90deg);
2355
- }
2356
- }
2357
- }
2358
-
2359
- .dropdown-item.active-item {
2360
- background-color: #F5F8FA;
2361
-
2362
- p, i {
2363
- color: #1D2A3B;
2117
+ p, i {
2118
+ color: #1D2A3B;
2364
2119
  }
2365
2120
  }
2366
2121
 
@@ -2464,6 +2219,15 @@ $green-color: #2ecc71;
2464
2219
  &--smallDisplay {
2465
2220
  margin-top: 10px;
2466
2221
  }
2222
+
2223
+ @include media('<tablet') {
2224
+ wz-input-search {
2225
+ display: block;
2226
+ width: 100%;
2227
+ max-width: 100%;
2228
+ padding-right: 6px;
2229
+ }
2230
+ }
2467
2231
  }
2468
2232
 
2469
2233
  // .pexels-lib__wrapper
@@ -2639,58 +2403,615 @@ $green-color: #2ecc71;
2639
2403
  cursor: pointer;
2640
2404
  }
2641
2405
  }
2642
- image-cropper {
2643
- max-height: 60vh;
2644
- }$card-img-size: 100%;
2645
- $card-img-size-small: 140px;
2406
+ .wz-img-manager .input-search.field {
2407
+ padding: 10px 20px;
2408
+ background-color: $gray-background;
2409
+ @include media('<tablet') {
2410
+ padding: 0!important;
2411
+ background-color: $white;
2412
+ }
2413
+ &.small-padding {
2414
+ padding: 10px 20px;
2415
+ }
2416
+ .input,
2417
+ .input:focus,
2418
+ .input.is-focused,
2419
+ .input:active,
2420
+ .input.is-active {
2421
+ font-size: rem(14);
2422
+ color: $main-text;
2423
+ border: rem(1) solid $input-border-search;
2424
+ box-shadow: none;
2425
+ padding: rem(13.5) rem(20) rem(13.5) rem(48);
2426
+ border-radius: rem(3);
2427
+ margin: 0;
2428
+ height: auto;
2429
+ min-height: unset;
2646
2430
 
2647
- //.wz-img-manager useful to keep the css priority
2648
- .wz-img-manager .addCssPriority .img-card {
2649
- display: flex;
2650
- flex-wrap: wrap;
2651
- justify-content: center;
2652
- padding: 0 0 rem(5);
2653
- width: 100%;
2654
- overflow: hidden;
2431
+ &::placeholder {
2432
+ color: $placeholder-color;
2433
+ font-weight: normal;
2434
+ }
2435
+ }
2655
2436
 
2656
- &__container {
2657
- width: 100%!important;
2658
- height: auto!important;
2659
- display: flex;
2660
- border-radius: 3px;
2661
- border: 1px solid $img-light-white-color;
2662
- cursor: pointer;
2663
- overflow: hidden;
2664
- transition: .3s ease;
2665
- position: relative;
2666
- margin: 0 0 rem(10);
2667
- &:before {
2668
- content: '';
2669
- display: block;
2670
- padding-top: 100%;
2671
- }
2437
+ .input:focus,
2438
+ .input.is-focused,
2439
+ .input:active,
2440
+ .input.is-active {
2441
+ border-color: $wizishop-blue;
2442
+ }
2672
2443
 
2673
- &.imgSelected {
2444
+ .icon {
2445
+ position: absolute;
2446
+ top: 50%;
2447
+ left: 20px;
2448
+ font-size: rem(18);
2449
+ transform: translateY(-50%);
2450
+ pointer-events: none;
2451
+ font-weight: 400;
2452
+ color: $placeholder-color;
2453
+ margin: 0;
2454
+ width: rem(18);
2455
+ height: rem(18);
2456
+ }
2457
+ }
2674
2458
 
2675
- &:after {
2676
- z-index: 1000;
2677
- content: '';
2678
- display: block;
2679
- position: absolute;
2680
- width: 100%;
2681
- height: 4px;
2682
- background-color: $img-main-color;
2683
- bottom: 0;
2684
- left: 0;
2685
- transform: translateZ(0);
2686
- }
2687
- }
2459
+ .wz-img-manager .wz-img-manager__module:not(.wz-img-manager__module--window) .pexels-lib__search .input-search.field {
2460
+ padding: 0;
2461
+ background-color: transparent;
2462
+ }
2463
+ .mosaic {
2464
+ width: 100%;
2465
+ display: flex;
2466
+ flex-wrap: wrap;
2467
+ position: relative;
2468
+ min-height: rem(512);
2688
2469
 
2689
- &__valid {
2690
- display: flex;
2691
- position: absolute;
2692
- top: 100%;
2693
- left: 50%;
2470
+ &--displayPexelsImg {
2471
+ min-height: unset;
2472
+ }
2473
+
2474
+ &:not(.fullSize) {
2475
+ width: calc(100% + 24px);
2476
+ transform: translateX(-12px);
2477
+ .mosaic__container__cards {
2478
+ padding-bottom: 40px;
2479
+ > * {
2480
+ width: calc(25% - 24px);
2481
+ margin: 0 12px rem(24) 12px;
2482
+ @include media('>=desktop','<1300px') {
2483
+ width: calc(33.33% - 24px);
2484
+ margin: 0 12px rem(24) 12px;
2485
+ }
2486
+ }
2487
+ }
2488
+ &.small {
2489
+ min-height: 0;
2490
+ .mosaic__container__loader {
2491
+ top: 0;
2492
+ transform: translateX(-50%);
2493
+ max-height: 200px;
2494
+ }
2495
+ .mosaic {
2496
+ &__container {
2497
+ &__cards {
2498
+ padding-bottom: 40px;
2499
+ > * {
2500
+ width: calc(12.5% - 24px);
2501
+ margin: 0 12px rem(24) 12px;
2502
+ @include media('>=1400px','<1600px') {
2503
+ width: calc(14% - 24px);
2504
+ margin: 0 12px rem(24) 12px;
2505
+ }
2506
+ @include media('>=1200px','<1400px') {
2507
+ width: calc(16.66% - 24px);
2508
+ margin: 0 12px rem(24) 12px;
2509
+ }
2510
+ @include media('>=desktop','<1200px') {
2511
+ width: calc(20% - 24px);
2512
+ margin: 0 12px rem(24) 12px;
2513
+ }
2514
+ }
2515
+ }
2516
+ }
2517
+ }
2518
+ }
2519
+ }
2520
+ &.fullSize {
2521
+ width: calc(100% + 24px);
2522
+ transform: translateX(-12px);
2523
+ @include media('<420px') {
2524
+ width: 100%;
2525
+ transform: none;
2526
+ }
2527
+ .mosaic__container__cards {
2528
+ > * {
2529
+ width: calc(16.66% - 24px);
2530
+ margin: 0 12px rem(24) 12px;
2531
+ @include media('>=1400px','<1600px') {
2532
+ width: calc(20% - 24px);
2533
+ margin: 0 12px rem(24) 12px;
2534
+ }
2535
+ @include media('>=desktop','<1400px') {
2536
+ width: calc(25% - 24px);
2537
+ margin: 0 12px rem(24) 12px;
2538
+ }
2539
+ @include media('>=tablet','<desktop') {
2540
+ width: calc(33.33% - 24px);
2541
+ margin: 0 12px rem(24) 12px;
2542
+ }
2543
+ @include media('>=400px','<tablet') {
2544
+ width: calc(50% - 24px);
2545
+ margin: 0 12px rem(24) 12px;
2546
+ }
2547
+ @include media('<420px') {
2548
+ width: 100%;
2549
+ margin: 0 0 15px;
2550
+ }
2551
+ }
2552
+ }
2553
+ &.small {
2554
+ .mosaic__container__loader {
2555
+ top: 0;
2556
+ transform: translateX(-50%);
2557
+ max-height: 200px;
2558
+ }
2559
+ .mosaic {
2560
+ &__search {
2561
+ display: none;
2562
+ @include media('<tablet') {
2563
+ display: block;
2564
+ margin: 0 0 20px;
2565
+ padding: 0;
2566
+ width: 100%;
2567
+ wz-input-search {
2568
+ display: block;
2569
+ width: 100%;
2570
+ max-width: 100%;
2571
+ padding-right: 6px;
2572
+ }
2573
+ }
2574
+ }
2575
+ &__container {
2576
+ &__cards {
2577
+ > * {
2578
+ width: calc(10% - 24px);
2579
+ margin: 0 12px rem(24) 12px;
2580
+ @include media('>=1400px','<1600px') {
2581
+ width: calc(11.11% - 24px);
2582
+ margin: 0 12px rem(24) 12px;
2583
+ }
2584
+ @include media('>=desktop','<1400px') {
2585
+ width: calc(12.5% - 24px);
2586
+ margin: 0 12px rem(24) 12px;
2587
+ }
2588
+ @include media('>=tablet','<desktop') {
2589
+ width: calc(20% - 24px);
2590
+ margin: 0 12px rem(24) 12px;
2591
+ }
2592
+ @include media('>=500px','<tablet') {
2593
+ width: calc(33.33% - 24px);
2594
+ margin: 0 12px rem(24) 12px;
2595
+ }
2596
+ @include media('<500px') {
2597
+ width: calc(50% - 24px);
2598
+ margin: 0 12px rem(24) 12px;
2599
+ }
2600
+ }
2601
+ }
2602
+ }
2603
+ }
2604
+ }
2605
+ }
2606
+ &__search {
2607
+ width: calc(100% - 24px);
2608
+ margin: 0 auto rem(20);
2609
+ }
2610
+ &__pagination {
2611
+ width: 100%;
2612
+ }
2613
+ &__container {
2614
+ &__loader {
2615
+ position: absolute;
2616
+ top: 50%;
2617
+ left: 50%;
2618
+ transform: translate(-50%,-50%);
2619
+ max-width: 300px;
2620
+ max-height: 300px;
2621
+ display: flex;
2622
+ flex-wrap: wrap;
2623
+ flex-direction: column;
2624
+ justify-content: center;
2625
+ align-items: center;
2626
+
2627
+ @include media('<=tablet') {
2628
+ width: 100%;
2629
+ max-width: unset;
2630
+ }
2631
+ }
2632
+ &__cards {
2633
+ width: 100%;
2634
+ display: flex;
2635
+ flex-wrap: wrap;
2636
+ &--padding {
2637
+ padding-right: 20px;
2638
+ @include media('<tablet') {
2639
+ width: calc(100% + 24px);
2640
+ padding: 0;
2641
+ }
2642
+ }
2643
+ }
2644
+ }
2645
+ }
2646
+
2647
+ .mosaic__container__cards {
2648
+ z-index: 1;
2649
+ & + .mosaic__pagination {
2650
+ position: relative;
2651
+ z-index: 2;
2652
+ }
2653
+ }
2654
+ .wz-img-manager .img-editor {
2655
+ &__scroll {
2656
+ position: relative;
2657
+ height: 100%;
2658
+
2659
+ &--full {
2660
+ max-height: calc(100vh - 90px)!important;
2661
+ min-height: calc(100vh - 90px) !important;
2662
+ }
2663
+
2664
+ &--smallDisplay {
2665
+ max-height: 275px!important;
2666
+ @include media('<tablet') {
2667
+ max-height: calc(100vh - 90px)!important;
2668
+ min-height: calc(100vh - 90px) !important;
2669
+ }
2670
+ }
2671
+
2672
+ &--window {
2673
+ max-height: none;
2674
+ }
2675
+
2676
+ .ng-scroll-content {
2677
+ margin-left: 0 !important;
2678
+ margin-right: 0 !important;
2679
+ min-width: calc(100% - 1rem) !important;
2680
+ width: calc(100% - 1rem) !important;
2681
+ }
2682
+ }
2683
+
2684
+ .columns {
2685
+ margin-right: 0.8rem;
2686
+ margin-left: rem(12);
2687
+ margin-top: 12px;
2688
+ margin-bottom: 0;
2689
+ width: calc(100% + 11px);
2690
+
2691
+ .column {
2692
+ padding-top: 0;
2693
+ padding-bottom: 0px;
2694
+ }
2695
+ }
2696
+
2697
+ &__head-container {
2698
+ display: flex;
2699
+ justify-content: flex-end;
2700
+ align-items: center;
2701
+ margin: 30px 30px 20px 0;
2702
+
2703
+ &__btnGroup {
2704
+ margin-right: 13px;
2705
+ opacity: 0;
2706
+ visibility: hidden;
2707
+ transition: opacity .3s ease-in-out;
2708
+
2709
+ &__visible {
2710
+ opacity: 1;
2711
+ visibility: visible;
2712
+ }
2713
+
2714
+ &__removeBtn {
2715
+ margin-right: 13px;
2716
+ }
2717
+ }
2718
+
2719
+ &__close {
2720
+ cursor: pointer;
2721
+ font-size: 14px;
2722
+ color: $img-grey-color;
2723
+ line-height: 40px;
2724
+ }
2725
+ }
2726
+
2727
+ &__container {
2728
+ padding: 0.75rem!important;
2729
+ display:flex;
2730
+ justify-content: center;
2731
+ align-items: center;
2732
+ background-color: $img-gray-background;
2733
+ margin: 0;
2734
+ transform: translateY(-16px);
2735
+
2736
+ &__toolsContainer {
2737
+ display: flex;
2738
+ justify-content: center;
2739
+ align-items: center;
2740
+ margin-bottom: 50px;
2741
+
2742
+ &__tool {
2743
+ color: $img-second-color;
2744
+ margin-right: 30px;
2745
+ text-align: center;
2746
+ cursor: pointer;
2747
+
2748
+ p {
2749
+ margin: 0!important;
2750
+ color: $img-main-text;
2751
+ font-size: rem(12);
2752
+ line-height: rem(14);
2753
+ }
2754
+
2755
+ i {
2756
+ font-size: rem(18);
2757
+ margin: 0 0 10px;
2758
+ }
2759
+
2760
+ &--button {
2761
+ background-color: $img-green-color;
2762
+ color: $img-white!important;
2763
+ padding: 10px;
2764
+ border-radius: 3px;
2765
+ transition: .3s ease;
2766
+ white-space: nowrap;
2767
+ display: flex;
2768
+ justify-content: center;
2769
+ align-items: center;
2770
+ position: absolute;
2771
+ top: 80px;
2772
+ left: 50%;
2773
+ transform: translateX(-50%);
2774
+ height: 35px;
2775
+ margin: 0;
2776
+ &:hover, &:focus {
2777
+ background-color: darken($img-green-color, 15%);
2778
+ color: $img-white!important;
2779
+ }
2780
+ p {
2781
+ color: $white!important;
2782
+ }
2783
+ i {
2784
+ margin: 0 5px 0 0;
2785
+ }
2786
+ }
2787
+ &:hover {
2788
+ color: $img-main-color;
2789
+ }
2790
+
2791
+ > * {
2792
+ -webkit-touch-callout: none; /* iOS Safari */
2793
+ -webkit-user-select: none; /* Safari */
2794
+ -khtml-user-select: none; /* Konqueror HTML */
2795
+ -moz-user-select: none; /* Old versions of Firefox */
2796
+ -ms-user-select: none; /* Internet Explorer/Edge */
2797
+ user-select: none; /* Non-prefixed version, currently
2798
+ supported by Chrome, Edge, Opera and Firefox */
2799
+ }
2800
+ }
2801
+
2802
+ &__RotationDropdown {
2803
+ min-width: 16rem;
2804
+ }
2805
+ }
2806
+
2807
+ &__name {
2808
+ font-size: 16px;
2809
+ max-width: 50%;
2810
+ color: $img-grey-color;
2811
+ text-align: center;
2812
+ white-space: nowrap;
2813
+ overflow: hidden;
2814
+ text-overflow: ellipsis;
2815
+ }
2816
+
2817
+ .button {
2818
+ min-height: 35px;
2819
+ background-color: $img-primary-button;
2820
+ border-color: $img-primary-button-hover;
2821
+ color: #ffffff;
2822
+ }
2823
+ }
2824
+
2825
+ &__image-cropper {
2826
+ --cropper-overlay-color: #f5f8fa;
2827
+ //--cropper-outline-color: #a5a5a573;
2828
+ padding-bottom: 30px;
2829
+ }
2830
+
2831
+ &__infoSection {
2832
+ font-size: 14px;
2833
+ max-width: 360px;
2834
+ padding: 0;
2835
+ margin: 0 rem(30) 0 0;
2836
+
2837
+ &__propertyEditable {
2838
+ margin-bottom: 31px;
2839
+ p {
2840
+ margin-bottom: 12px;
2841
+ font-size: 14px;
2842
+ }
2843
+ input, button {
2844
+ width: 100%;
2845
+ height: 40px;
2846
+ border: 1px solid #DEE2ED;
2847
+ border-radius: 3px;
2848
+ color: $img-main-text;
2849
+ padding-left: 20px;
2850
+ padding-right: 20px;
2851
+ display: flex;
2852
+ justify-content: space-between;
2853
+ font-size: 14px;
2854
+
2855
+ &:hover {
2856
+ color: $img-main-color;
2857
+ border-color: $img-main-color;
2858
+ }
2859
+ }
2860
+
2861
+ button {
2862
+ align-items: center;
2863
+ background-color: transparent;
2864
+ cursor: pointer;
2865
+ }
2866
+
2867
+ &__span, &__input {
2868
+ text-overflow: ellipsis;
2869
+ overflow: hidden;
2870
+ white-space: nowrap;
2871
+ }
2872
+
2873
+ &__span {
2874
+ color: $img-bleu-color;
2875
+ & + i {
2876
+ color: $img-bleu-color;
2877
+ font-weight: 600;
2878
+ }
2879
+ }
2880
+
2881
+ &__tooltips {
2882
+ margin-left: 10px;
2883
+ }
2884
+ }
2885
+
2886
+ &__property {
2887
+ &:nth-child(3), &:nth-child(4) {
2888
+ margin: 0;
2889
+ }
2890
+ p {
2891
+ font-size: 14px;
2892
+ display: inline-block;
2893
+ }
2894
+
2895
+ .mainColor {
2896
+ margin: 0!important;
2897
+ }
2898
+
2899
+ p:last-child {
2900
+ margin: 0 0 0 10px;
2901
+ color: #526384;
2902
+ }
2903
+ }
2904
+
2905
+ &__titleSEO {
2906
+ margin: 0 0 20px;
2907
+
2908
+ .mainColor {
2909
+ font-size: rem(18);
2910
+ font-weight: 500;
2911
+ }
2912
+ }
2913
+
2914
+ &__propertySEO {
2915
+ margin-bottom: 12px;
2916
+ p {
2917
+ font-size: 14px;
2918
+ display: inline-block;
2919
+ margin: 0;
2920
+ }
2921
+
2922
+ .mainColor {
2923
+ & ~ p {
2924
+ margin-left: 10px;
2925
+ color: $img-green-color;
2926
+ }
2927
+ }
2928
+ }
2929
+
2930
+ &__divider {
2931
+ display: block;
2932
+ width: 100%;
2933
+ border-bottom: 2px dashed #EFF1F6;
2934
+ margin: 30px 0;
2935
+ }
2936
+
2937
+ &__actions {
2938
+ height: 35px;
2939
+
2940
+ &__cancel {
2941
+ margin-right: 19px;
2942
+ background-color: white;
2943
+ border-color: #dbdbdb;
2944
+ color: $img-main-text;
2945
+ }
2946
+
2947
+ &__save {
2948
+ padding: 8px 18px;
2949
+ margin: 0!important;
2950
+ &--disable {
2951
+ cursor: not-allowed;
2952
+ }
2953
+ }
2954
+ }
2955
+ }
2956
+
2957
+ .dropdown-menu {
2958
+ left: -50%;
2959
+ }
2960
+ }
2961
+
2962
+ .wz-img-manager .marginBottom {
2963
+ margin-bottom: 20px;
2964
+ }
2965
+ $card-img-size: 100%;
2966
+ $card-img-size-small: 140px;
2967
+
2968
+ //.wz-img-manager useful to keep the css priority
2969
+ .wz-img-manager .addCssPriority .img-card {
2970
+ display: flex;
2971
+ flex-wrap: wrap;
2972
+ justify-content: center;
2973
+ padding: 0 0 rem(5);
2974
+ width: 100%;
2975
+ overflow: hidden;
2976
+
2977
+ &__container {
2978
+ width: 100%!important;
2979
+ height: auto!important;
2980
+ display: flex;
2981
+ border-radius: 3px;
2982
+ border: 1px solid $img-light-white-color;
2983
+ cursor: pointer;
2984
+ overflow: hidden;
2985
+ transition: .3s ease;
2986
+ position: relative;
2987
+ margin: 0 0 rem(10);
2988
+ &:before {
2989
+ content: '';
2990
+ display: block;
2991
+ padding-top: 100%;
2992
+ }
2993
+
2994
+ &.imgSelected {
2995
+
2996
+ &:after {
2997
+ z-index: 1000;
2998
+ content: '';
2999
+ display: block;
3000
+ position: absolute;
3001
+ width: 100%;
3002
+ height: 4px;
3003
+ background-color: $img-main-color;
3004
+ bottom: 0;
3005
+ left: 0;
3006
+ transform: translateZ(0);
3007
+ }
3008
+ }
3009
+
3010
+ &__valid {
3011
+ display: flex;
3012
+ position: absolute;
3013
+ top: 100%;
3014
+ left: 50%;
2694
3015
  transform: translate(-50%,0);
2695
3016
  justify-content: center;
2696
3017
  align-items: center;
@@ -3033,719 +3354,591 @@ $card-img-size-small: 140px;
3033
3354
  &__img {
3034
3355
  transform: scale(1.02) translate(-50%,-50%);
3035
3356
  }
3036
- &__config {
3037
- @include media('<tablet') {
3038
- display: none;
3039
- }
3040
- opacity: 1;
3041
- button {
3042
- transform: translateX(0);
3043
- &.size {
3044
- transition: transform .3s ease;
3045
- }
3046
- &.dl {
3047
- transition: transform .3s ease .15s;
3048
- }
3049
- &.edit {
3050
- transition: transform .3s ease .3s;
3051
- }
3052
- &.deleted {
3053
- transition: transform .3s ease .45s;
3054
- }
3055
- &.selected {
3056
- transition: transform .3s ease .6s;
3057
- }
3058
- }
3059
- }
3060
- }
3061
- }
3062
- }
3063
- }
3064
-
3065
- .wz-img-manager .addCssPriority .img-card .smallDisplay,.wz-img-manager .img-card .smallDisplay img {
3066
- width: $card-img-size-small;
3067
- height: $card-img-size-small;
3068
- }
3069
-
3070
- .wz-img-manager .addCssPriority .smallNameDisplay .img-card__nameContainer__name {
3071
- width: $card-img-size-small;
3072
- }
3073
- .wz-img-manager .wz-table {
3074
- width: 100%;
3075
-
3076
- &__head {
3077
- @include flexbox();
3078
- @include flex-flow(row nowrap);
3079
- width: 100%;
3080
- border-top: 1px solid $textarea-border-color;
3081
- border-bottom: 1px solid $textarea-border-color;
3082
- background-color: $gray-background;
3083
-
3084
- &__cell {
3085
- @include flexbox();
3086
- @include flex(1);
3087
- padding: 15px 20px;
3088
- font-size: 14px;
3089
- line-height: 20px;
3090
- color: $main-text;
3091
- font-weight: 600;
3092
-
3093
- &--checkbox {
3094
- @include flex(none);
3095
- width: 80px;
3096
- padding: 10px 20px 6px 20px;
3097
- > * {
3098
- transform: translateX(15px);
3099
- }
3100
- }
3101
-
3102
- &__search {
3103
- color: $main-text;
3104
- padding-right: 23px;
3105
- transition: background-image 0.3s ease-in-out;
3106
- cursor: text;
3107
-
3108
- &:hover {
3109
- color: $main-text;
3110
- }
3111
-
3112
- &--idle {
3113
- background: transparent
3114
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort' viewBox='0 0 320 512' class='svg-inline--fa fa-sort fa-w-10 fa-7x'%3E%3Cpath fill='currentColor' d='M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41zm255-105L177 64c-9.4-9.4-24.6-9.4-33.9 0L24 183c-15.1 15.1-4.4 41 17 41h238c21.4 0 32.1-25.9 17-41z'/%3E%3C/svg%3E")
3115
- center right / 14px 14px no-repeat;
3116
- transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3117
- cursor: pointer;
3118
-
3119
- &:hover {
3120
- transition: color 0.3s ease-in-out;
3121
- }
3122
- }
3123
-
3124
- &--up {
3125
- background: transparent
3126
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort-up' viewBox='0 0 320 512' class='svg-inline--fa fa-sort-up fa-w-10 fa-5x'%3E%3Cpath fill='currentColor' d='M279 224H41c-21.4 0-32.1-25.9-17-41L143 64c9.4-9.4 24.6-9.4 33.9 0l119 119c15.2 15.1 4.5 41-16.9 41z'/%3E%3C/svg%3E")
3127
- center right / 14px 14px no-repeat;
3128
- transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3129
- cursor: pointer;
3130
-
3131
- &:hover {
3132
- transition: color 0.3s ease-in-out;
3133
- }
3134
- }
3135
-
3136
- &--down {
3137
- background: transparent
3138
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort-down' viewBox='0 0 320 512' class='svg-inline--fa fa-sort-down fa-w-10 fa-7x'%3E%3Cpath fill='currentColor' d='M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41z'/%3E%3C/svg%3E")
3139
- center right / 14px 14px no-repeat;
3140
- transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3141
- cursor: pointer;
3142
-
3143
- &:hover {
3144
- transition: color 0.3s ease-in-out;
3145
- }
3146
- }
3147
- }
3148
-
3149
- &--center--left {
3150
- @include align-items(center);
3151
- @include justify-content(left);
3152
- }
3153
- &--center--center {
3154
- @include align-items(center);
3155
- @include justify-content(center);
3156
- }
3157
- &--center--right {
3158
- @include align-items(center);
3159
- @include justify-content(right);
3160
- }
3161
- }
3162
- }
3163
-
3164
- // TODO delete __search
3165
- &__search {
3166
- height: 100px;
3167
- margin-top: 10px;
3168
- }
3169
-
3170
- &__body {
3171
- width: 100%;
3172
- margin-top: -10px;
3173
-
3174
- &__loader {
3175
- position: relative;
3176
- min-height: 200px;
3177
- }
3178
-
3179
- &__line {
3180
- @include flexbox();
3181
- @include flex-flow(row nowrap);
3182
- width: 100%;
3183
- border-bottom: 1px solid $textarea-border-color;
3184
-
3185
- &__cell {
3186
- @include flexbox();
3187
- @include flex(1);
3188
- padding: 20px 20px 20px 20px;
3189
- font-size: 14px;
3190
- line-height: 25px;
3191
- color: $secondary-color;
3192
-
3193
- &--checkbox {
3194
- @include flexbox();
3195
- @include flex(none);
3196
- @include justify-content(center);
3197
- @include align-items(center);
3198
- width: 80px;
3199
- padding: 8px 20px;
3200
- }
3201
-
3202
- &--center--left {
3203
- @include align-items(center);
3204
- @include justify-content(left);
3205
- }
3206
- &--center--center {
3207
- @include align-items(center);
3208
- @include justify-content(center);
3209
- }
3210
- &--center--right {
3211
- @include align-items(center);
3212
- @include justify-content(right);
3357
+ &__config {
3358
+ @include media('<tablet') {
3359
+ display: none;
3360
+ }
3361
+ opacity: 1;
3362
+ button {
3363
+ transform: translateX(0);
3364
+ &.size {
3365
+ transition: transform .3s ease;
3366
+ }
3367
+ &.dl {
3368
+ transition: transform .3s ease .15s;
3369
+ }
3370
+ &.edit {
3371
+ transition: transform .3s ease .3s;
3372
+ }
3373
+ &.deleted {
3374
+ transition: transform .3s ease .45s;
3375
+ }
3376
+ &.selected {
3377
+ transition: transform .3s ease .6s;
3378
+ }
3379
+ }
3380
+ }
3381
+ }
3213
3382
  }
3214
- }
3215
3383
  }
3216
- }
3217
3384
  }
3218
- .wz-img-manager .wz-pagination {
3219
- width: 100%;
3220
- padding: 0;
3221
-
3222
- &__wrapper {
3223
- @include flexbox();
3224
- @include justify-content(flex-end);
3225
- padding: 0 17px 0 0;
3226
3385
 
3227
- @include media('<tablet') {
3228
- padding: 0;
3229
- justify-content: space-between;
3230
- }
3386
+ .wz-img-manager .addCssPriority .img-card .smallDisplay,.wz-img-manager .img-card .smallDisplay img {
3387
+ width: $card-img-size-small;
3388
+ height: $card-img-size-small;
3389
+ }
3231
3390
 
3232
- &__page {
3233
- margin-right: 30px;
3234
- padding: 4px 0 5px 0;
3391
+ .wz-img-manager .addCssPriority .smallNameDisplay .img-card__nameContainer__name {
3392
+ width: $card-img-size-small;
3393
+ }
3394
+ .wz-img-manager .wz-table {
3395
+ width: 100%;
3235
3396
 
3236
- @include media('<tablet') {
3237
- margin: 0 20px 20px 0;
3238
- }
3397
+ &__head {
3398
+ @include flexbox();
3399
+ @include flex-flow(row nowrap);
3400
+ width: 100%;
3401
+ border-top: 1px solid $textarea-border-color;
3402
+ border-bottom: 1px solid $textarea-border-color;
3403
+ background-color: $gray-background;
3239
3404
 
3405
+ &__cell {
3240
3406
  @include flexbox();
3407
+ @include flex(1);
3408
+ padding: 15px 20px;
3409
+ font-size: 14px;
3410
+ line-height: 20px;
3411
+ color: $main-text;
3412
+ font-weight: 600;
3241
3413
 
3242
- p {
3243
- margin: 4px 11px 4px 0;
3244
- font-size: 14px;
3245
- line-height: 24px;
3246
- color: $second-color;
3247
- }
3248
-
3249
- select {
3250
- width: 50px;
3251
- font-size: 14px;
3252
- line-height: 24px;
3253
- color: $second-color;
3254
- padding: 3px 26px 3px 15px;
3255
- border: 1px solid $border-form;
3256
- border-radius: 3px;
3257
- -webkit-appearance: none;
3258
- -moz-appearance: none;
3259
- text-indent: 0;
3260
- text-overflow: '';
3261
- background: transparent
3262
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort-down' viewBox='0 0 320 512' class='svg-inline--fa fa-sort-down fa-w-10 fa-7x'%3E%3Cpath fill='%23526384' d='M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41z'/%3E%3C/svg%3E")
3263
- top 8px right 12px / 10px 10px no-repeat;
3264
- }
3265
-
3266
- select::-ms-expand {
3267
- display: none;
3268
- }
3269
- }
3270
-
3271
- &__elements {
3272
- margin-right: 30px;
3273
- @include media('<tablet') {
3274
- display: none;
3275
- }
3276
-
3277
- p {
3278
- margin: 8px 0 9px 0;
3279
- font-size: 14px;
3280
- line-height: 24px;
3281
- color: $dark;
3414
+ &--checkbox {
3415
+ @include flex(none);
3416
+ width: 80px;
3417
+ padding: 10px 20px 6px 20px;
3418
+ > * {
3419
+ transform: translateX(15px);
3420
+ }
3282
3421
  }
3283
- }
3284
3422
 
3285
- &__arrows {
3286
- @include flexbox();
3287
-
3288
- &__arrow {
3289
- width: 40px;
3290
- height: 40px;
3291
- padding: 9px 14px;
3292
- border: 1px solid $border-form;
3293
- border-radius: 3px;
3294
- cursor: pointer;
3295
- display: flex;
3296
- align-items: center;
3423
+ &__search {
3424
+ color: $main-text;
3425
+ padding-right: 23px;
3426
+ transition: background-image 0.3s ease-in-out;
3427
+ cursor: text;
3297
3428
 
3298
- span {
3299
- display: inline-block;
3300
- width: 10px;
3301
- height: 15px;
3429
+ &:hover {
3430
+ color: $main-text;
3302
3431
  }
3303
3432
 
3304
- &--left {
3305
- margin-right: 10px;
3433
+ &--idle {
3434
+ background: transparent
3435
+ url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort' viewBox='0 0 320 512' class='svg-inline--fa fa-sort fa-w-10 fa-7x'%3E%3Cpath fill='currentColor' d='M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41zm255-105L177 64c-9.4-9.4-24.6-9.4-33.9 0L24 183c-15.1 15.1-4.4 41 17 41h238c21.4 0 32.1-25.9 17-41z'/%3E%3C/svg%3E")
3436
+ center right / 14px 14px no-repeat;
3437
+ transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3438
+ cursor: pointer;
3306
3439
 
3307
- span {
3308
- background: transparent
3309
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='chevron-left' viewBox='0 0 320 512' class='svg-inline--fa fa-chevron-left fa-w-10 fa-7x'%3E%3Cpath fill='%23526384' d='M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z'/%3E%3C/svg%3E")
3310
- center center / 10px 12px no-repeat;
3440
+ &:hover {
3441
+ transition: color 0.3s ease-in-out;
3311
3442
  }
3312
3443
  }
3313
3444
 
3314
- &--right {
3315
- span {
3316
- background: transparent
3317
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='chevron-right' viewBox='0 0 320 512' class='svg-inline--fa fa-chevron-right fa-w-10 fa-7x'%3E%3Cpath fill='%23526384' d='M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z'/%3E%3C/svg%3E")
3318
- center center / 10px 12px no-repeat;
3319
- }
3320
- }
3445
+ &--up {
3446
+ background: transparent
3447
+ url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort-up' viewBox='0 0 320 512' class='svg-inline--fa fa-sort-up fa-w-10 fa-5x'%3E%3Cpath fill='currentColor' d='M279 224H41c-21.4 0-32.1-25.9-17-41L143 64c9.4-9.4 24.6-9.4 33.9 0l119 119c15.2 15.1 4.5 41-16.9 41z'/%3E%3C/svg%3E")
3448
+ center right / 14px 14px no-repeat;
3449
+ transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3450
+ cursor: pointer;
3321
3451
 
3322
- &--disabled {
3323
- border-color: $background-color;
3324
- background-color: $background-color;
3452
+ &:hover {
3453
+ transition: color 0.3s ease-in-out;
3454
+ }
3325
3455
  }
3326
- }
3327
- }
3328
- }
3329
- }
3330
- .wz-img-manager .input-search.field {
3331
- padding: 10px 20px;
3332
- background-color: $gray-background;
3333
- @include media('<tablet') {
3334
- padding: 0!important;
3335
- background-color: $white;
3336
- }
3337
- &.small-padding {
3338
- padding: 10px 20px;
3339
- }
3340
- .input,
3341
- .input:focus,
3342
- .input.is-focused,
3343
- .input:active,
3344
- .input.is-active {
3345
- font-size: rem(14);
3346
- color: $main-text;
3347
- border: rem(1) solid $input-border-search;
3348
- box-shadow: none;
3349
- padding: rem(13.5) rem(20) rem(13.5) rem(48);
3350
- border-radius: rem(3);
3351
- margin: 0;
3352
- height: auto;
3353
- min-height: unset;
3354
-
3355
- &::placeholder {
3356
- color: $placeholder-color;
3357
- font-weight: normal;
3358
- }
3359
- }
3360
-
3361
- .input:focus,
3362
- .input.is-focused,
3363
- .input:active,
3364
- .input.is-active {
3365
- border-color: $wizishop-blue;
3366
- }
3367
-
3368
- .icon {
3369
- position: absolute;
3370
- top: 50%;
3371
- left: 20px;
3372
- font-size: rem(18);
3373
- transform: translateY(-50%);
3374
- pointer-events: none;
3375
- font-weight: 400;
3376
- color: $placeholder-color;
3377
- margin: 0;
3378
- width: rem(18);
3379
- height: rem(18);
3380
- }
3381
- }
3382
3456
 
3383
- .wz-img-manager .wz-img-manager__module:not(.wz-img-manager__module--window) .pexels-lib__search .input-search.field {
3384
- padding: 0;
3385
- background-color: transparent;
3386
- }
3387
- //.wz-img-manager useful to keep the css priority
3388
- .wz-img-manager .canva-btn {
3389
- background-color: $img-main-color;
3390
- border: 2px solid $img-main-color;
3391
- padding: 0;
3392
- height: fit-content;
3393
- color: white;
3394
- padding-left: rem(9);
3395
- transition: .3s ease;
3396
- margin: 0!important;
3397
- &:hover, &:focus {
3398
- border-color: darken($img-main-color, 15%);
3399
- }
3400
- > span {
3401
- &:first-child {
3402
- z-index: 2;
3403
- position: relative;
3404
- transform: translateX(7px);
3405
- }
3406
- }
3407
- &__logo {
3408
- z-index: 1;
3409
- }
3410
- }
3457
+ &--down {
3458
+ background: transparent
3459
+ url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort-down' viewBox='0 0 320 512' class='svg-inline--fa fa-sort-down fa-w-10 fa-7x'%3E%3Cpath fill='currentColor' d='M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41z'/%3E%3C/svg%3E")
3460
+ center right / 14px 14px no-repeat;
3461
+ transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3462
+ cursor: pointer;
3411
3463
 
3412
- .wz-img-manager .canva-btn .btnLoadingAnnimation {
3413
- background-color: $img-main-color;
3414
- cursor: not-allowed;
3415
- }
3464
+ &:hover {
3465
+ transition: color 0.3s ease-in-out;
3466
+ }
3467
+ }
3468
+ }
3416
3469
 
3417
- .wz-img-manager .canva.dropdown {
3418
- z-index: 9999;
3419
- .dropdown-menu {
3420
- display: none!important;
3421
- margin-top: 10px!important;
3422
- &:before {
3423
- content: '';
3424
- display: block;
3425
- position: absolute;
3426
- bottom: 100%;
3427
- left: 0;
3428
- width: 100%;
3429
- height: 10px;
3470
+ &--center--left {
3471
+ @include align-items(center);
3472
+ @include justify-content(left);
3473
+ }
3474
+ &--center--center {
3475
+ @include align-items(center);
3476
+ @include justify-content(center);
3477
+ }
3478
+ &--center--right {
3479
+ @include align-items(center);
3480
+ @include justify-content(right);
3430
3481
  }
3431
3482
  }
3483
+ }
3432
3484
 
3433
- .displayDropDownMenu {
3434
- display: block!important;
3435
- }
3485
+ // TODO delete __search
3486
+ &__search {
3487
+ height: 100px;
3488
+ margin-top: 10px;
3489
+ }
3436
3490
 
3437
- .dropdown-menu.dropDownShadow {
3438
- padding-bottom: 0;
3439
- padding-top: 0;
3440
- margin-top: 1px;
3491
+ &__body {
3492
+ width: 100%;
3493
+ margin-top: -10px;
3494
+
3495
+ &__loader {
3496
+ position: relative;
3497
+ min-height: 200px;
3441
3498
  }
3442
3499
 
3443
- .dropdown-menu {
3444
- min-width: 300px;
3445
- width: 300px;
3500
+ &__line {
3501
+ @include flexbox();
3502
+ @include flex-flow(row nowrap);
3503
+ width: 100%;
3504
+ border-bottom: 1px solid $textarea-border-color;
3446
3505
 
3447
- .dropdown-content {
3448
- padding-top: 0px;
3506
+ &__cell {
3507
+ @include flexbox();
3508
+ @include flex(1);
3509
+ padding: 20px 20px 20px 20px;
3510
+ font-size: 14px;
3511
+ line-height: 25px;
3512
+ color: $secondary-color;
3513
+
3514
+ &--checkbox {
3515
+ @include flexbox();
3516
+ @include flex(none);
3517
+ @include justify-content(center);
3518
+ @include align-items(center);
3519
+ width: 80px;
3520
+ padding: 8px 20px;
3449
3521
  }
3450
3522
 
3451
- .dropdown-item {
3452
- color: $img-grey-color;
3453
- display: flex;
3454
- justify-content: space-between;
3455
- align-items: center;
3456
- padding: 12px 20px;
3457
- margin: 0 0 5px;
3523
+ &--center--left {
3524
+ @include align-items(center);
3525
+ @include justify-content(left);
3526
+ }
3527
+ &--center--center {
3528
+ @include align-items(center);
3529
+ @include justify-content(center);
3530
+ }
3531
+ &--center--right {
3532
+ @include align-items(center);
3533
+ @include justify-content(right);
3534
+ }
3535
+ }
3536
+ }
3537
+ }
3538
+ }
3539
+
3540
+
3541
+ .wac {
3542
+ &-select {
3543
+ width: 100%;
3544
+ position: relative;
3545
+ height: 40px;
3546
+ border: 1px solid $border-form;
3547
+ margin: 0;
3548
+ border-radius: 3px;
3549
+ z-index: 2;
3550
+ background-color: $white;
3551
+ max-width: 100%;
3552
+ &:hover,
3553
+ &:focus {
3554
+ z-index: 4;
3555
+ }
3556
+ &__label {
3557
+ padding: 0;
3558
+ font-size: rem(14);
3559
+ line-height: rem(16);
3560
+ margin: 0 0 rem(12);
3561
+ font-weight: 500;
3562
+ }
3563
+ &__current {
3564
+ display: flex;
3565
+ width: 100%;
3566
+ height: 38px;
3567
+ justify-content: space-between;
3568
+ align-items: center;
3569
+ align-content: center;
3570
+ padding: 0 0 0 20px;
3571
+ color: $color-text-grey;
3572
+ font-size: rem(14);
3573
+ line-height: rem(16);
3574
+ cursor: pointer;
3575
+ white-space: nowrap;
3576
+ text-overflow: ellipsis;
3577
+ max-width: 100%;
3578
+ overflow: hidden;
3579
+ &--withSearch {
3580
+ padding: 0;
3581
+ span {
3582
+ &:not(.icon):not(:last-child) {
3583
+ display: block;
3584
+ width: 100%;
3585
+ height: rem(38);
3586
+ line-height: rem(38);
3587
+ padding: 0 20px;
3588
+ }
3589
+ &.icon {
3590
+ & + span {
3591
+ padding: 0;
3592
+ }
3593
+ }
3458
3594
  &:last-child {
3459
3595
  margin: 0;
3460
3596
  }
3461
-
3462
- p {
3463
- margin: 0;
3464
- line-height: rem(16);
3465
- }
3466
-
3467
- p:first-child {
3468
- color: #1D2A3B;
3469
- font-size: rem(14);
3597
+ }
3598
+ &.open-search {
3599
+ span {
3600
+ &:not(.icon):not(:last-child) {
3601
+ display: none;
3470
3602
  }
3471
-
3472
- p:last-child {
3473
- color: #526384;
3474
- font-size: rem(14);
3603
+ &.icon {
3604
+ display: none;
3475
3605
  }
3606
+ }
3476
3607
  }
3477
-
3478
- .dropdown-item:hover {
3479
- background-color: whitesmoke;
3480
- cursor: pointer;
3481
- color: black;
3608
+ }
3609
+ span.icon {
3610
+ max-width: 24px;
3611
+ margin: 0 10px 0 0;
3612
+ i {
3613
+ font-size: rem(17);
3482
3614
  }
3483
-
3484
- .dropdown-item.expectedSizes {
3485
- font-weight: 500;
3615
+ img {
3616
+ display: block;
3617
+ max-width: rem(24);
3486
3618
  }
3487
-
3488
- .dropdownTitle {
3489
- font-size: 14px;
3490
- background-color: $img-main-color;
3491
- padding: rem(9.5) 0;
3492
- text-align: center;
3493
-
3494
- p {
3495
- font-size: 14px;
3496
- color: white;
3497
- margin: 0;
3498
- font-weight: 500;
3499
- }
3619
+ &:empty {
3620
+ display: none;
3500
3621
  }
3501
-
3502
- .infoItem {
3503
- padding: 18px 20px 11px 20px;
3504
- line-height: 1.5;
3505
- font-weight: 500;
3506
-
3507
- p {
3508
- margin: 0;
3509
- font-size: rem(16);
3510
- line-height: rem(19);
3511
- font-weight: 500;
3622
+ }
3623
+ > span:not([class]):not(:last-child) {
3624
+ width: 100%;
3625
+ text-align: left;
3626
+ max-width: calc(100% - 58px);
3627
+ overflow: hidden;
3628
+ text-overflow: ellipsis;
3629
+ }
3630
+ span:last-child {
3631
+ width: 38px;
3632
+ min-width: 38px;
3633
+ height: 38px;
3634
+ margin: 0 0 0 20px;
3635
+ display: flex;
3636
+ justify-content: center;
3637
+ align-items: center;
3638
+ align-content: center;
3639
+ background-color: $select-icon-background;
3640
+ border-radius: 0 3px 3px 0;
3641
+ z-index: 3;
3642
+ i {
3643
+ font-size: rem(12);
3644
+ color: $second-color;
3645
+ }
3646
+ }
3647
+ &__search {
3648
+ position: relative;
3649
+ top: 0;
3650
+ left: 0;
3651
+ width: 100%;
3652
+ height: rem(38);
3653
+ display: flex;
3654
+ align-items: center;
3655
+ align-content: center;
3656
+ z-index: 2;
3657
+ padding: 0 0 0 rem(20);
3658
+ input {
3659
+ border: none;
3660
+ width: 100%;
3661
+ box-shadow: none;
3662
+ margin: 0 0 0 rem(10);
3663
+ padding: 0;
3664
+ height: rem(38);
3665
+ line-height: rem(38);
3666
+ &:focus {
3667
+ &::-webkit-input-placeholder { /* Chrome/Opera/Safari */
3668
+ opacity: 0;
3669
+ }
3670
+ &::-moz-placeholder { /* Firefox 19+ */
3671
+ opacity: 0;
3512
3672
  }
3673
+ &:-ms-input-placeholder { /* IE 10+ */
3674
+ opacity: 0;
3675
+ }
3676
+ &:-moz-placeholder { /* Firefox 18- */
3677
+ opacity: 0;
3678
+ }
3679
+
3680
+ }
3681
+ }
3682
+ }
3683
+ }
3684
+ .select-disabled {
3685
+ background-color: #f5f8fa;
3686
+ cursor: not-allowed;
3687
+ }
3688
+ &__content {
3689
+ position: absolute;
3690
+ top: 100%;
3691
+ margin-top: rem(14);
3692
+ left: -1px;
3693
+ width: auto;
3694
+ min-width: calc(100% - 38px);
3695
+ max-width: calc(100% + 2px);
3696
+ border: 1px solid $border-light;
3697
+ border-radius: 3px;
3698
+ display: flex;
3699
+ flex-direction: column;
3700
+ justify-content: flex-start;
3701
+ align-items: flex-start;
3702
+ background-color: $white;
3703
+ max-height: 260px;
3704
+ height: auto;
3705
+ visibility: visible;
3706
+ opacity: 1;
3707
+ box-shadow: 3px 3px 20px $select-box-shadow;
3708
+ padding: 10px;
3709
+ &.hidden {
3710
+ visibility: hidden;
3711
+ opacity: 0;
3712
+ & > * {
3713
+ opacity: 0;
3714
+ transition: 0s;
3715
+ }
3716
+ }
3717
+ .ps {
3718
+ max-height: 240px;
3719
+ }
3720
+ &.open,
3721
+ &.open.hidden {
3722
+ position: relative;
3723
+ left: auto;
3724
+ top: 0;
3725
+ transform: translateX(-1px);
3726
+ visibility: visible;
3727
+ opacity: 1;
3728
+ & > * {
3729
+ opacity: 1;
3730
+ transition: 0s;
3731
+ }
3732
+ }
3733
+ &__cta {
3734
+ background-color: $color-CTA-select;
3735
+ border: 1px solid $border-CTA-select;
3736
+ color: $main-text;
3737
+ font-size: rem(14);
3738
+ min-height: rem(40);
3739
+ display: flex;
3740
+ align-items: center;
3741
+ align-content: center;
3742
+ width: 100%;
3743
+ border-radius: 3px;
3744
+ cursor: pointer;
3745
+ transition: 0.3s ease;
3746
+ margin: 0 0 rem(10);
3747
+ padding: 0 20px;
3748
+ > div {
3749
+ display: flex;
3750
+ align-items: center;
3751
+ align-content: center;
3752
+ justify-content: flex-start;
3753
+ width: 100%;
3754
+ i {
3755
+ color: $wizishop-blue;
3756
+ margin: 0 8px 0 0;
3757
+ }
3758
+ strong {
3759
+ display: inline-block;
3760
+ margin: 0 20px 0 0;
3761
+ }
3513
3762
  }
3514
-
3515
- .dropdown-item-wrapper {
3516
- border: 1px solid #DEE2ED;
3517
- border-radius: 3px;
3518
- margin: 0 20px 5px 20px;
3763
+ &:hover,
3764
+ &:focus {
3765
+ background-color: darken($color-CTA-select, 10%);
3519
3766
  }
3520
- }
3521
- }
3522
-
3523
- .noTooltip .tooltip.is-tooltip-left:hover::before, .noTooltip .tooltip.is-tooltip-left:hover:not(.is-loading)::after {
3524
- display: none;
3525
- }
3526
- //.wz-img-manager useful to keep the css priority
3527
- .wz-img-manager .upload-list {
3528
- text-align: left;
3529
- font-size: 14px;
3530
- color: #23272B;
3531
-
3532
- &.smallDisplay {
3533
- .upload-list__box__cards__card {
3534
- width: 125px;
3535
- }
3536
- }
3537
-
3538
- &__scroll {
3767
+ }
3768
+ &__item {
3769
+ width: 100%;
3770
+ font-size: rem(14);
3771
+ line-height: rem(30);
3772
+ cursor: pointer;
3773
+ transition: 0.3s ease;
3539
3774
  position: relative;
3540
- height: 100%;
3541
-
3542
- &--smallDisplay {
3543
- max-height: 260px!important;
3544
-
3545
- .upload-list__box {
3546
- margin-bottom: 20px;
3547
- }
3775
+ display: flex;
3776
+ justify-content: flex-start;
3777
+ align-content: center;
3778
+ align-items: center;
3779
+ color: $second-color;
3780
+ > div {
3781
+ width: 100%;
3782
+ display: flex;
3783
+ align-items: center;
3784
+ align-content: center;
3548
3785
  }
3549
-
3550
- &--window {
3551
- max-height: none;
3786
+ .icon {
3787
+ width: 24px;
3788
+ margin: 0 10px 0 0;
3789
+ height: auto;
3790
+ max-height: 24px;
3552
3791
  }
3553
-
3554
- .ng-scroll-content {
3555
- margin-left: 0.5rem !important;
3556
- margin-right: 0.5rem !important;
3557
- min-width: calc(100% - 1rem) !important;
3558
- width: calc(100% - 1rem) !important;
3792
+ &:not(:last-child) {
3793
+ margin: 0 0 rem(10);
3559
3794
  }
3560
- }
3561
-
3562
- &__box {
3563
- margin: 0 0.8rem 30px 0.3rem;
3564
- padding: 30px;
3565
- background-color: $img-gray-background;
3566
- margin-right: 12px;
3567
- margin-left: 5px;
3568
- border-radius: 3px;
3569
-
3570
- &__container {
3571
- display: flex;
3572
- justify-content: space-between;
3573
- align-items: center;
3574
-
3575
- p {
3576
- display: inline;
3577
- }
3578
-
3579
- .dropdown {
3580
- vertical-align: baseline;
3581
- &:hover {
3582
- .dropdown-trigger i {
3583
- color: $img-main-color;
3584
- }
3585
- }
3586
- .dropdown-trigger {
3587
- display: inline;
3588
- i {
3589
- color: $img-secondary-text;
3590
- margin-left: 10px;
3591
- }
3592
- }
3593
-
3594
- .dropdown-menu {
3595
- padding: 0;
3596
- width: 370px;
3597
- left: -190px;
3598
- margin-top: 3px;
3599
-
3600
- .dropdown-item {
3601
- display: flex;
3602
- justify-content: left;
3603
- align-items: center;
3604
-
3605
- p {
3606
- margin: 0;
3607
- }
3608
-
3609
- p:first-child {
3610
- color: $img-main-text;
3611
- font-size: 14px;
3612
- }
3613
-
3614
- p:last-child {
3615
- color: $img-green-color;
3616
- font-size: 14px;
3617
- margin-left: 10px;
3618
- }
3619
- }
3620
- }
3621
- }
3795
+ &:empty {
3796
+ display: none;
3622
3797
  }
3623
-
3624
- &__cards {
3625
- padding-top: 15px;
3626
- margin-left: 5px;
3627
- display: flex;
3628
- justify-content: left;
3629
- flex-wrap: wrap;
3630
- align-items: center;
3631
- margin-right: -9px;
3632
- width: calc(100% + 24px);
3633
- transform: translateX(-12px);
3634
- &__card {
3635
- width: 198px;
3636
- margin: 0 12px 12px;
3637
- & > * {
3638
- width: 100%;
3639
- }
3640
-
3641
- &__btnBox {
3642
- text-align: center;
3643
- margin: rem(10) auto 0;
3644
-
3645
- &__btn {
3646
- height: 30px;
3647
- width: 30px;
3648
- font-size: 14px!important;
3649
-
3650
- cursor: default;
3651
-
3652
- &:focus {
3653
- box-shadow: none;
3654
- }
3655
- }
3656
- }
3657
- }
3798
+ &:first-child {
3799
+ border-width: 1px 0 1px;
3800
+ }
3801
+ &:hover,
3802
+ &:focus {
3803
+ background-color: $gray-background;
3804
+ color: $main-text;
3658
3805
  }
3806
+ > div {
3807
+ padding: 0 10px;
3808
+ &.selected {
3809
+ background-color: $gray-background;
3810
+ color: $main-text;
3811
+ }
3812
+ }
3813
+ }
3814
+ &__empty {
3815
+ display: flex;
3816
+ width: 100%;
3817
+ justify-content: center;
3818
+ align-items: center;
3819
+ padding: 10px;
3820
+ span {
3821
+ font-size: rem(16);
3822
+ font-weight: 400;
3823
+ text-align: center;
3824
+ color: $second-color;
3825
+ display: inline-block;
3826
+ line-height: rem(25);
3827
+ }
3828
+ }
3659
3829
  }
3830
+ }
3660
3831
  }
3832
+ .wz-img-manager .wz-pagination {
3833
+ width: 100%;
3834
+ padding: 0;
3661
3835
 
3662
- @media screen and (max-width: 768px) {
3663
- .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .upload-list__scroll {
3664
- max-height: none!important;
3836
+ &__wrapper {
3837
+ @include flexbox();
3838
+ @include justify-content(flex-end);
3839
+ padding: 0 17px 0 0;
3665
3840
 
3666
- .ng-scroll-content {
3667
- margin: 0 !important;
3668
- min-width: 100%!important;
3669
- width: 100%!important;
3670
- }
3841
+ @include media('<tablet') {
3842
+ padding: 0;
3843
+ justify-content: space-between;
3671
3844
  }
3672
- }
3673
- //.wz-img-manager useful to keep the css priority
3674
- .wz-img-manager .wz-loader {
3675
- &.is-small {
3676
- right: 0;
3677
- left: 0;
3678
- top: 0;
3679
- transform: scale(0.6);
3680
- }
3681
- margin-bottom: rem(80);
3682
3845
 
3683
- @keyframes rotate {
3684
- 0% {
3685
- transform: rotate(0deg);
3686
- }
3687
- 50% {
3688
- transform: rotate(180deg);
3689
- }
3690
- 100% {
3691
- transform: rotate(360deg);
3692
- }
3693
- }
3846
+ &__page {
3847
+ margin-right: 30px;
3848
+ padding: 4px 0 5px 0;
3694
3849
 
3695
- @keyframes rotate2 {
3696
- 0% {
3697
- transform: rotate(0deg);
3698
- border-top-color: $img-color-loader;
3699
- }
3700
- 50% {
3701
- transform: rotate(180deg);
3702
- border-top-color: $img-color-loader2;
3703
- }
3704
- 100% {
3705
- transform: rotate(360deg);
3706
- border-top-color: $img-color-loader;
3850
+ @include media('<tablet') {
3851
+ margin: 0 20px 20px 0;
3852
+ }
3853
+
3854
+ @include flexbox();
3855
+
3856
+ p {
3857
+ margin: 4px 11px 4px 0;
3858
+ font-size: 14px;
3859
+ line-height: 24px;
3860
+ color: $second-color;
3861
+ }
3862
+
3863
+ select {
3864
+ width: 50px;
3865
+ font-size: 14px;
3866
+ line-height: 24px;
3867
+ color: $second-color;
3868
+ padding: 3px 26px 3px 15px;
3869
+ border: 1px solid $border-form;
3870
+ border-radius: 3px;
3871
+ -webkit-appearance: none;
3872
+ -moz-appearance: none;
3873
+ text-indent: 0;
3874
+ text-overflow: '';
3875
+ background: transparent
3876
+ url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort-down' viewBox='0 0 320 512' class='svg-inline--fa fa-sort-down fa-w-10 fa-7x'%3E%3Cpath fill='%23526384' d='M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41z'/%3E%3C/svg%3E")
3877
+ top 8px right 12px / 10px 10px no-repeat;
3878
+ }
3879
+
3880
+ select::-ms-expand {
3881
+ display: none;
3882
+ }
3707
3883
  }
3708
- }
3709
3884
 
3710
- @mixin loaderDivMixin {
3711
- border-radius: 50%;
3712
- padding: rem(8);
3713
- border: rem(2) solid transparent;
3714
- animation: rotate linear 3.5s infinite;
3715
- }
3885
+ &__elements {
3886
+ margin-right: 30px;
3887
+ @include media('<tablet') {
3888
+ display: none;
3889
+ }
3716
3890
 
3717
- .loader {
3718
- position: relative;
3719
- margin: rem(75) auto;
3720
- width: rem(150);
3721
- height: rem(150);
3722
- display: block;
3723
- overflow: hidden;
3724
- div {
3725
- height: 100%;
3891
+ p {
3892
+ margin: 8px 0 9px 0;
3893
+ font-size: 14px;
3894
+ line-height: 24px;
3895
+ color: $dark;
3896
+ }
3726
3897
  }
3727
- }
3728
3898
 
3729
- /* loader 1 */
3730
- .loader1,
3731
- .loader1 div {
3732
- @include loaderDivMixin;
3733
- border-top-color: $img-color-loader;
3734
- border-bottom-color: $img-color-loader2;
3735
- }
3899
+ &__arrows {
3900
+ @include flexbox();
3736
3901
 
3737
- div:hover {
3738
- animation-play-state: paused;
3739
- }
3902
+ &__arrow {
3903
+ width: 40px;
3904
+ height: 40px;
3905
+ padding: 9px 14px;
3906
+ border: 1px solid $border-form;
3907
+ border-radius: 3px;
3908
+ cursor: pointer;
3909
+ display: flex;
3910
+ align-items: center;
3740
3911
 
3741
- .loader,
3742
- .loader * {
3743
- will-change: transform;
3744
- }
3912
+ span {
3913
+ display: inline-block;
3914
+ width: 10px;
3915
+ height: 15px;
3916
+ }
3745
3917
 
3746
- p {
3747
- margin-top: -50px;
3748
- font-weight: 500;
3918
+ &--left {
3919
+ margin-right: 10px;
3920
+
3921
+ span {
3922
+ background: transparent
3923
+ url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='chevron-left' viewBox='0 0 320 512' class='svg-inline--fa fa-chevron-left fa-w-10 fa-7x'%3E%3Cpath fill='%23526384' d='M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z'/%3E%3C/svg%3E")
3924
+ center center / 10px 12px no-repeat;
3925
+ }
3926
+ }
3927
+
3928
+ &--right {
3929
+ span {
3930
+ background: transparent
3931
+ url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='chevron-right' viewBox='0 0 320 512' class='svg-inline--fa fa-chevron-right fa-w-10 fa-7x'%3E%3Cpath fill='%23526384' d='M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z'/%3E%3C/svg%3E")
3932
+ center center / 10px 12px no-repeat;
3933
+ }
3934
+ }
3935
+
3936
+ &--disabled {
3937
+ border-color: $background-color;
3938
+ background-color: $background-color;
3939
+ }
3940
+ }
3941
+ }
3749
3942
  }
3750
3943
  }
3751
3944
  //.wz-img-manager useful to keep the css priority
@@ -3893,213 +4086,296 @@ $card-img-size-small: 140px;
3893
4086
  .wz-img-manager .img-tabs .columns.img-tabs__tabsFirst {
3894
4087
  margin: 0;
3895
4088
  }
3896
- .wz-img-manager .images-view {
3897
- text-align: left;
3898
4089
 
3899
- &.fullSize {
3900
- & + .images-view__scroll {
3901
- max-height: 1160px;
4090
+ .wrapper-tabs {
4091
+ .tabs {
4092
+ @include media('<tablet') {
4093
+ display: none!important;
4094
+ }
4095
+ }
4096
+ .select-mobile-page {
4097
+ @include media('>=tablet') {
4098
+ display: none;
4099
+ }
4100
+ padding: 20px 0;
4101
+ }
4102
+ }//.wz-img-manager useful to keep the css priority
4103
+ .wz-img-manager .canva-btn {
4104
+ background-color: $img-main-color;
4105
+ border: 2px solid $img-main-color;
4106
+ padding: 0;
4107
+ height: fit-content;
4108
+ color: white;
4109
+ padding-left: rem(9);
4110
+ transition: .3s ease;
4111
+ margin: 0!important;
4112
+ &:hover, &:focus {
4113
+ border-color: darken($img-main-color, 15%);
4114
+ }
4115
+ > span {
4116
+ &:first-child {
4117
+ z-index: 2;
4118
+ position: relative;
4119
+ transform: translateX(7px);
3902
4120
  }
3903
4121
  }
4122
+ &__logo {
4123
+ z-index: 1;
4124
+ }
4125
+ }
3904
4126
 
3905
- &__scroll {
3906
- position: relative;
3907
- height: 100%;
3908
- z-index: 1;
4127
+ .wz-img-manager .canva-btn .btnLoadingAnnimation {
4128
+ background-color: $img-main-color;
4129
+ cursor: not-allowed;
4130
+ }
3909
4131
 
3910
- &--full {
3911
- max-height: calc(100vh - 160px)!important;
3912
- min-height: calc(100vh - 160px) !important;
4132
+ .wz-img-manager .canva.dropdown {
4133
+ z-index: 9999;
4134
+ .dropdown-menu {
4135
+ display: none!important;
4136
+ margin-top: 10px!important;
4137
+ &:before {
4138
+ content: '';
4139
+ display: block;
4140
+ position: absolute;
4141
+ bottom: 100%;
4142
+ left: 0;
4143
+ width: 100%;
4144
+ height: 10px;
4145
+ }
4146
+ }
4147
+
4148
+ .displayDropDownMenu {
4149
+ display: block!important;
4150
+ }
4151
+
4152
+ .dropdown-menu.dropDownShadow {
4153
+ padding-bottom: 0;
4154
+ padding-top: 0;
4155
+ margin-top: 1px;
4156
+ }
4157
+
4158
+ .dropdown-menu {
4159
+ min-width: 300px;
4160
+ width: 300px;
4161
+
4162
+ .dropdown-content {
4163
+ padding-top: 0px;
4164
+ }
4165
+
4166
+ .dropdown-item {
4167
+ color: $img-grey-color;
4168
+ display: flex;
4169
+ justify-content: space-between;
4170
+ align-items: center;
4171
+ padding: 12px 20px;
4172
+ margin: 0 0 5px;
4173
+ &:last-child {
4174
+ margin: 0;
4175
+ }
4176
+
4177
+ p {
4178
+ margin: 0;
4179
+ line-height: rem(16);
4180
+ }
4181
+
4182
+ p:first-child {
4183
+ color: #1D2A3B;
4184
+ font-size: rem(14);
4185
+ }
4186
+
4187
+ p:last-child {
4188
+ color: #526384;
4189
+ font-size: rem(14);
4190
+ }
4191
+ }
4192
+
4193
+ .dropdown-item:hover {
4194
+ background-color: whitesmoke;
4195
+ cursor: pointer;
4196
+ color: black;
4197
+ }
4198
+
4199
+ .dropdown-item.expectedSizes {
4200
+ font-weight: 500;
4201
+ }
4202
+
4203
+ .dropdownTitle {
4204
+ font-size: 14px;
4205
+ background-color: $img-main-color;
4206
+ padding: rem(9.5) 0;
4207
+ text-align: center;
4208
+
4209
+ p {
4210
+ font-size: 14px;
4211
+ color: white;
4212
+ margin: 0;
4213
+ font-weight: 500;
4214
+ }
4215
+ }
4216
+
4217
+ .infoItem {
4218
+ padding: 18px 20px 11px 20px;
4219
+ line-height: 1.5;
4220
+ font-weight: 500;
4221
+
4222
+ p {
4223
+ margin: 0;
4224
+ font-size: rem(16);
4225
+ line-height: rem(19);
4226
+ font-weight: 500;
4227
+ }
4228
+ }
4229
+
4230
+ .dropdown-item-wrapper {
4231
+ border: 1px solid #DEE2ED;
4232
+ border-radius: 3px;
4233
+ margin: 0 20px 5px 20px;
3913
4234
  }
4235
+ }
4236
+ }
4237
+
4238
+ .noTooltip .tooltip.is-tooltip-left:hover::before, .noTooltip .tooltip.is-tooltip-left:hover:not(.is-loading)::after {
4239
+ display: none;
4240
+ }
4241
+ //.wz-img-manager useful to keep the css priority
4242
+ .wz-img-manager .upload-list {
4243
+ text-align: left;
4244
+ font-size: 14px;
4245
+ color: #23272B;
4246
+
4247
+ &.smallDisplay {
4248
+ .upload-list__box__cards__card {
4249
+ width: 125px;
4250
+ }
4251
+ }
4252
+
4253
+ &__scroll {
4254
+ position: relative;
4255
+ height: 100%;
3914
4256
 
3915
4257
  &--smallDisplay {
3916
- max-height: 275px!important;
3917
- @include media('<tablet') {
3918
- max-height: calc(100vh - 90px)!important;
3919
- min-height: calc(100vh - 90px) !important;
3920
- }
3921
- }
4258
+ max-height: 260px!important;
3922
4259
 
3923
- &--smallUploadDisplay {
3924
- max-height: 230px!important;
4260
+ .upload-list__box {
4261
+ margin-bottom: 20px;
4262
+ }
3925
4263
  }
3926
4264
 
3927
4265
  &--window {
3928
- max-height: unset!important;
3929
- }
3930
-
3931
- &--hide {
3932
- &--mosaic {
3933
- min-height: 100px !important;
3934
- &--small {
3935
- min-height: unset !important;
3936
- }
3937
- }
3938
- &--table {
3939
- min-height: 170px !important;
3940
- }
3941
-
4266
+ max-height: none;
3942
4267
  }
3943
4268
 
3944
4269
  .ng-scroll-content {
4270
+ margin-left: 0.5rem !important;
4271
+ margin-right: 0.5rem !important;
3945
4272
  min-width: calc(100% - 1rem) !important;
3946
4273
  width: calc(100% - 1rem) !important;
3947
- @include media('<tablet') {
3948
- min-width: 100%!important;
3949
- }
3950
4274
  }
3951
4275
  }
3952
4276
 
3953
- &__container {
3954
- display: flex;
3955
- justify-content: space-between;
3956
- margin: 0 0 rem(20);
3957
-
3958
- > div {
3959
- display: flex;
3960
- align-items: center;
3961
- .mainColor {
3962
- margin: 0;
3963
- }
3964
- }
3965
-
3966
- &--window {
3967
- margin: rem(30) 0 rem(20);
3968
- }
3969
-
3970
- &--uploadTab {
3971
- margin: 0 0 rem(20);
3972
- }
4277
+ &__box {
4278
+ margin: 0 0.8rem 30px 0.3rem;
4279
+ padding: 30px;
4280
+ background-color: $img-gray-background;
4281
+ margin-right: 12px;
4282
+ margin-left: 5px;
4283
+ border-radius: 3px;
3973
4284
 
3974
- &__boxAction {
3975
- width: 525px;
3976
- overflow: visible;
4285
+ &__container {
3977
4286
  display: flex;
3978
- position: relative;
3979
- justify-content: flex-end;
3980
- margin-right: 13px;
3981
- height: 40px;
4287
+ justify-content: space-between;
3982
4288
  align-items: center;
3983
- transform: translate(-41px,-3px);
3984
-
3985
- &__confirmSup {
3986
- display: flex;
3987
- justify-content: space-between;
3988
- align-items: center;
3989
- border-left: solid 1px #d8d8d8;
3990
- color: $img-grey-color;
3991
- padding-left: 1rem;
3992
- width: 0;
3993
- position: absolute;
3994
- opacity: 0;
3995
- transition: 0s;
3996
- visibility: hidden;
3997
- z-index: 2;
3998
4289
 
3999
- &--visible {
4000
- max-width: unset;
4001
- width: auto;
4002
- opacity: 1;
4003
- transition: 0s;
4004
- visibility: visible;
4290
+ p {
4291
+ display: inline;
4292
+ }
4005
4293
 
4006
- p {
4007
- transition: left .3s ease-in-out;
4008
- right: 100%;
4009
- left: auto;
4010
- white-space: nowrap;
4011
- margin-right: 30px;
4294
+ .dropdown {
4295
+ vertical-align: baseline;
4296
+ &:hover {
4297
+ .dropdown-trigger i {
4298
+ color: $img-main-color;
4012
4299
  }
4013
4300
  }
4014
-
4015
- &__cancel {
4016
- margin-right: 14px;
4017
- background-color: white;
4018
- border-color: #dbdbdb;
4019
- color: $img-main-text;
4020
- }
4021
-
4022
- &__text {
4023
- font-size: 14px;
4024
- position: absolute;
4025
- left: -126%;
4026
- transition: font-size .3s ease-in-out, left .3s ease-in-out;
4301
+ .dropdown-trigger {
4302
+ display: inline;
4303
+ i {
4304
+ color: $img-secondary-text;
4305
+ margin-left: 10px;
4306
+ }
4027
4307
  }
4028
- }
4029
4308
 
4030
- &__delBtn {
4031
- i {
4032
- margin-right: 13px!important;
4033
- }
4034
- }
4309
+ .dropdown-menu {
4310
+ padding: 0;
4311
+ width: 370px;
4312
+ left: -190px;
4313
+ margin-top: 3px;
4035
4314
 
4036
- &__import {
4037
- margin-right: 13px;
4038
- i {
4039
- margin-right: 13px!important;
4040
- }
4041
- }
4042
- }
4315
+ .dropdown-item {
4316
+ display: flex;
4317
+ justify-content: left;
4318
+ align-items: center;
4043
4319
 
4044
- &__buttonBox {
4045
- margin: 0;
4046
- width: rem(40);
4047
- height: rem(40);
4048
- border: solid $img-light-white-color;
4049
- border-width: 1px 0 1px 1px;
4320
+ p {
4321
+ margin: 0;
4322
+ }
4050
4323
 
4051
- border-radius: 3px 0 0 3px;
4052
- outline: none!important;
4324
+ p:first-child {
4325
+ color: $img-main-text;
4326
+ font-size: 14px;
4327
+ }
4053
4328
 
4054
- > div {
4055
- margin-top: 0;
4056
- margin-bottom: 0;
4057
- height: 40px;
4058
- &:nth-child(2) {
4059
- border: solid $img-light-white-color;
4060
- border-width: 1px 1px 1px 0;
4061
- transform: translateY(-1px);
4062
- border-radius: 0 3px 3px 0;
4329
+ p:last-child {
4330
+ color: $img-green-color;
4331
+ font-size: 14px;
4332
+ margin-left: 10px;
4333
+ }
4334
+ }
4063
4335
  }
4064
- div {
4065
- height: 38px;
4066
- margin: 0!important;
4067
- }
4068
- }
4069
-
4070
- .actifDisplayed {
4071
- color:$img-main-color;
4072
- }
4073
-
4074
- i {
4075
- margin: 0;
4076
4336
  }
4077
4337
  }
4078
4338
 
4079
4339
  &__cards {
4340
+ padding-top: 15px;
4341
+ margin-left: 5px;
4080
4342
  display: flex;
4081
- justify-content: space-between;
4343
+ justify-content: left;
4082
4344
  flex-wrap: wrap;
4083
4345
  align-items: center;
4084
- padding-top: 30px;
4085
- margin-right: calc(0.8rem - 20px);
4086
- margin-left: 0.3rem;
4087
- margin-bottom: 30px;
4346
+ margin-right: -9px;
4347
+ width: calc(100% + 24px);
4348
+ transform: translateX(-12px);
4349
+ &__card {
4350
+ width: 198px;
4351
+ margin: 0 12px 12px;
4352
+ & > * {
4353
+ width: 100%;
4354
+ }
4088
4355
 
4089
- }
4090
- }
4356
+ &__btnBox {
4357
+ text-align: center;
4358
+ margin: rem(10) auto 0;
4091
4359
 
4092
- &--pexels {
4093
- margin-top: -30px;
4094
- }
4360
+ &__btn {
4361
+ height: 30px;
4362
+ width: 30px;
4363
+ font-size: 14px!important;
4095
4364
 
4096
- .subHeaderActions .button i {
4097
- margin-right: 0;
4365
+ cursor: default;
4366
+
4367
+ &:focus {
4368
+ box-shadow: none;
4369
+ }
4370
+ }
4371
+ }
4372
+ }
4373
+ }
4098
4374
  }
4099
4375
  }
4100
4376
 
4101
4377
  @media screen and (max-width: 768px) {
4102
- .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .images-view__scroll {
4378
+ .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .upload-list__scroll {
4103
4379
  max-height: none!important;
4104
4380
 
4105
4381
  .ng-scroll-content {
@@ -4109,3 +4385,26 @@ $card-img-size-small: 140px;
4109
4385
  }
4110
4386
  }
4111
4387
  }
4388
+ $green: $really-bad-bad-bad-green !default;
4389
+ $primary: $primary-button !default;
4390
+ $light: $img-placeholder !default;
4391
+ $info: $wizishop-blue !default;
4392
+ $danger: $img-red-color !default;
4393
+ $dark: $img-dark !default;
4394
+
4395
+ $button-padding-vertical: rem(7) !default;
4396
+ $radius: rem(3) !default;
4397
+
4398
+ $button-color: white!default;
4399
+ $button-hover-color: white !default;
4400
+ $button-focus-color: white !default;
4401
+ $button-active-color: white !default;
4402
+ $button-background-color: $primary !default;
4403
+ $button-disabled-background-color: $primary !default;
4404
+ $button-border-color: $primary-button-hover !default;
4405
+ $button-hover-border-color: $primary-button-hover !default;
4406
+ $button-active-border-color: $primary-button-hover !default;
4407
+ $button-focus-border-color: $primary-button-hover !default;
4408
+ $button-disabled-border-color: $primary-button-hover !default;
4409
+
4410
+ $tag-radius: rem(20px)!default;