@wizishop/img-manager 0.2.81 → 0.2.86

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 (41) 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 +276 -30
  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 +40 -9
  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/services/img-manager.service.js +11 -1
  14. package/esm2015/lib/wz-img-manager.module.js +11 -3
  15. package/esm2015/wizishop-img-manager.js +20 -17
  16. package/esm5/lib/components/img-tabs/img-tabs.component.js +40 -9
  17. package/esm5/lib/components/shared/select/call-to-action.model.js +1 -0
  18. package/esm5/lib/components/shared/select/select-items.dto.js +1 -0
  19. package/esm5/lib/components/shared/select/select.component.js +136 -0
  20. package/esm5/lib/directives/zindex-toggle.directive.js +54 -0
  21. package/esm5/lib/pipes/select/select-filters.pipe.js +20 -0
  22. package/esm5/lib/services/img-manager.service.js +11 -1
  23. package/esm5/lib/wz-img-manager.module.js +11 -3
  24. package/esm5/wizishop-img-manager.js +20 -17
  25. package/fesm2015/wizishop-img-manager.js +245 -11
  26. package/fesm2015/wizishop-img-manager.js.map +1 -1
  27. package/fesm5/wizishop-img-manager.js +256 -11
  28. package/fesm5/wizishop-img-manager.js.map +1 -1
  29. package/lib/components/img-tabs/img-tabs.component.d.ts +8 -4
  30. package/lib/components/shared/select/call-to-action.model.d.ts +6 -0
  31. package/lib/components/shared/select/select-items.dto.d.ts +8 -0
  32. package/lib/components/shared/select/select.component.d.ts +38 -0
  33. package/lib/directives/zindex-toggle.directive.d.ts +13 -0
  34. package/lib/pipes/select/select-filters.pipe.d.ts +5 -0
  35. package/lib/services/img-manager.service.d.ts +2 -1
  36. package/package.json +2 -1
  37. package/wizishop-img-manager-0.2.86.tgz +0 -0
  38. package/wizishop-img-manager.d.ts +19 -16
  39. package/wizishop-img-manager.metadata.json +1 -1
  40. package/wz-img-manager.scss +1927 -1489
  41. package/wizishop-img-manager-0.2.81.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);
@@ -791,6 +796,9 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
791
796
 
792
797
  .wz-img-manager .wz-img-manager__module:not(.wz-img-manager__module--window) .pexels-lib__scroll .ng-scroll-content {
793
798
  padding-right: 20px;
799
+ @include media('<tablet') {
800
+ padding: 0;
801
+ }
794
802
  }
795
803
 
796
804
  .tabs--notWindow ul {
@@ -874,6 +882,9 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
874
882
  &__pagination {
875
883
  margin-bottom: 0;
876
884
  transform: translateX(-20px);
885
+ @include media('<tablet') {
886
+ transform: none;
887
+ }
877
888
  }
878
889
  }
879
890
  }
@@ -953,234 +964,118 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
953
964
  margin-right: 33px;
954
965
  }
955
966
 
956
-
957
- .img-upload {
958
- position: relative;
959
- 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");
960
- border-radius: 3px;
961
- &:before {
962
- content: '';
963
- display: block;
964
- padding-top: 110.82%;
965
- }
966
- &--small {
967
- &:before {
968
- padding-top: 202px;
969
- }
970
- .img-upload {
971
- &__container {
972
- .blueColor {
973
- img {
974
- min-width: rem(30);
975
- }
976
- }
977
- &__or {
978
- margin: rem(10) 0;
979
- }
980
- &__text {
981
- padding: rem(8) rem(20);
967
+ .img-tabs__tabsFirst__list {
968
+ .mosaic__container__cards {
969
+ @include media('<tablet') {
970
+ width: calc(100% - 10px) !important;
971
+ transform: translateX(5px);
972
+ & > * {
973
+ width: calc(50% - 20px) !important;
974
+ margin: 0 10px 20px !important;
975
+ display: none!important;
976
+ &:nth-child(1), &:nth-child(2) {
977
+ display: block!important;
982
978
  }
983
979
  }
984
980
  }
985
981
  }
986
- &__container {
987
- position: absolute;
988
- top: 0;
982
+ }
983
+
984
+ .ng-scrollbar-wrapper {
985
+ @include media('<tablet') {
986
+ --vertical-scrollbar-size: 0!important;
987
+ }
988
+ }
989
+
990
+ .ng-scroll-viewport {
991
+ @include media('<tablet') {
992
+ overflow: scroll;
993
+ }
994
+ }
995
+ //.wz-img-manager useful to keep the css priority
996
+ .wz-img-manager .wz-loader {
997
+ &.is-small {
998
+ right: 0;
989
999
  left: 0;
990
- width: 100%;
991
- height: 100%;
992
- display: flex;
993
- flex-wrap: wrap;
994
- flex-direction: column;
995
- justify-content: center;
996
- align-items: center;
997
- &__loader {
998
- position: absolute;
999
- top: 50%;
1000
- left: 50%;
1001
- transform: translate(-50%,-50%);
1002
- max-width: 300px;
1003
- max-height: 300px;
1004
- display: flex;
1005
- flex-wrap: wrap;
1006
- flex-direction: column;
1007
- justify-content: center;
1008
- align-items: center;
1009
- }
1010
- .blueColor {
1011
- img {
1012
- min-width: rem(65);
1013
- display: block;
1014
- max-width: rem(65);
1015
- margin: 0 auto rem(15);
1016
- transform: translate(10px);
1017
- }
1018
- p {
1019
- color: $border-upload-color;
1020
- font-size: rem(16);
1021
- line-height: rem(19);
1022
- font-weight: 500;
1023
- margin: 0 auto rem(20);
1024
- }
1000
+ top: 0;
1001
+ transform: scale(0.6);
1002
+ }
1003
+ margin-bottom: rem(80);
1004
+
1005
+ @keyframes rotate {
1006
+ 0% {
1007
+ transform: rotate(0deg);
1025
1008
  }
1026
- &__or {
1027
- font-size: rem(14);
1028
- line-height: rem(16);
1029
- margin: 0 0 rem(20) !important;
1009
+ 50% {
1010
+ transform: rotate(180deg);
1030
1011
  }
1031
- &__text {
1032
- display: flex;
1033
- align-items: center;
1034
- justify-content: center;
1035
- width: auto;
1036
- border-radius: 3px;
1037
- padding: rem(12) rem(20);
1038
- color: $white;
1039
- font-size: rem(14);
1040
- line-height: rem(16);
1041
- white-space: nowrap;
1042
- background-color: $img-green-color;
1043
- transition: .3s ease;
1044
- font-weight: 500;
1045
- cursor: pointer;
1046
- i {
1047
- margin: 0 rem(6) 0 0;
1048
- font-weight: 500;
1049
- }
1050
- &:hover, &:focus {
1051
- background-color: darken($img-green-color, 15%);
1052
- }
1012
+ 100% {
1013
+ transform: rotate(360deg);
1053
1014
  }
1054
1015
  }
1055
- }
1056
- //.wz-img-manager useful to keep the css priority
1057
- .wz-img-manager .table-view {
1058
-
1059
-
1060
- &__row {
1061
- td {
1062
- vertical-align: middle;
1063
- }
1064
- &__container {
1065
- display: flex;
1066
- align-items: center;
1067
- width: 100%;
1068
-
1069
- &__imgContainer {
1070
- margin-right: 20px;
1071
- position: relative;
1072
- display: block;
1073
- min-width: 60px;
1074
- cursor: pointer;
1075
-
1076
- &::before {
1077
- content: '';
1078
- display: block;
1079
- padding-top: 100%;
1080
- }
1081
1016
 
1082
- &__img {
1083
- margin: 0!important;
1084
- position: absolute;
1085
- top: 50%;
1086
- left: 50%;
1087
- max-width: 100%;
1088
- max-height:100%;
1089
- width: auto;
1090
- height: auto;
1091
- transform: translate(-50%, -50%);
1092
- object-fit: contain;
1093
- }
1017
+ @keyframes rotate2 {
1018
+ 0% {
1019
+ transform: rotate(0deg);
1020
+ border-top-color: $img-color-loader;
1021
+ }
1022
+ 50% {
1023
+ transform: rotate(180deg);
1024
+ border-top-color: $img-color-loader2;
1025
+ }
1026
+ 100% {
1027
+ transform: rotate(360deg);
1028
+ border-top-color: $img-color-loader;
1029
+ }
1030
+ }
1094
1031
 
1095
- &.imgSelected {
1032
+ @mixin loaderDivMixin {
1033
+ border-radius: 50%;
1034
+ padding: rem(8);
1035
+ border: rem(2) solid transparent;
1036
+ animation: rotate linear 3.5s infinite;
1037
+ }
1096
1038
 
1097
- &:after {
1098
- z-index: 1000;
1099
- content: '';
1100
- display: block;
1101
- position: absolute;
1102
- width: 100%;
1103
- height: 4px;
1104
- background-color: $img-main-color;
1105
- bottom: 0;
1106
- left: 0;
1107
- transform: translateZ(0);
1108
- }
1109
- }
1039
+ .loader {
1040
+ position: relative;
1041
+ margin: rem(75) auto;
1042
+ width: rem(150);
1043
+ height: rem(150);
1044
+ display: block;
1045
+ overflow: hidden;
1046
+ div {
1047
+ height: 100%;
1048
+ }
1049
+ }
1110
1050
 
1111
- &__overlay {
1112
- position: absolute;
1113
- top: 25%;
1114
- left: 25%;
1115
- height: 100%;
1116
- width: 100%;
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;
1057
+ }
1117
1058
 
1118
- i {
1119
- font-size: 30px;
1120
- color: grey;
1121
- }
1122
- }
1123
- }
1059
+ div:hover {
1060
+ animation-play-state: paused;
1061
+ }
1124
1062
 
1125
- &__name {
1126
- display: inline-block;
1127
- background-color: transparent;
1128
- white-space: nowrap;
1129
- overflow: hidden;
1130
- text-overflow: ellipsis;
1131
- color: $main-text;
1132
- font-size: 14px;
1133
- cursor: initial;
1134
- }
1135
- }
1136
- }
1063
+ .loader,
1064
+ .loader * {
1065
+ will-change: transform;
1066
+ }
1137
1067
 
1138
- &__dropdown-options {
1139
- &__label {
1140
- &--disable {
1141
- cursor: not-allowed;
1142
- i {
1143
- cursor: not-allowed;
1144
- }
1145
- }
1146
- }
1147
- }
1068
+ p {
1069
+ margin-top: -50px;
1070
+ font-weight: 500;
1071
+ }
1148
1072
  }
1149
-
1150
- .wz-img-manager .table-view .checked {
1151
- color: $img-main-color;
1152
- }
1153
-
1154
- .wz-img-manager .table-view .checked.disabled {
1155
- color: grey;
1156
- }
1157
-
1158
-
1159
- .wz-img-manager .table-view .disabled {
1160
- cursor: not-allowed;
1161
- }
1162
-
1163
-
1164
- .wz-img-manager .is-wizi-hoverable .dropdown-trigger:before {
1165
- width: 5rem;
1166
- }
1167
-
1168
- .table-view .wzImgMngInput {
1169
- border-radius: 3px;
1170
- }
1171
-
1172
- .table-view .wzImgMngInput:active.desabled, .table-view .wzImgMngInput:focus.desabled {
1173
- border: solid transparent 1px;
1174
- }
1175
-
1176
- .wz-img-manager .table-view .dropdown-menu {
1177
- left: -165px;
1178
- }
1179
-
1180
- .grey {
1181
- color: $img-grey-color;
1182
- }
1183
- .wz-selector {
1073
+ .img-editor__infoSection__propertySEO__tooltips {
1074
+ i {
1075
+ font-size: rem(16);
1076
+ color: $main-text;
1077
+ }
1078
+ }.wz-selector {
1184
1079
  &__default {
1185
1080
  position: relative;
1186
1081
  &__base {
@@ -1251,250 +1146,795 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
1251
1146
  }
1252
1147
  }
1253
1148
  }
1254
- image-cropper {
1255
- max-height: 60vh;
1256
- }$green: $really-bad-bad-bad-green !default;
1257
- $primary: $primary-button !default;
1258
- $light: $img-placeholder !default;
1259
- $info: $wizishop-blue !default;
1260
- $danger: $img-red-color !default;
1261
- $dark: $img-dark !default;
1262
-
1263
- $button-padding-vertical: rem(7) !default;
1264
- $radius: rem(3) !default;
1265
-
1266
- $button-color: white!default;
1267
- $button-hover-color: white !default;
1268
- $button-focus-color: white !default;
1269
- $button-active-color: white !default;
1270
- $button-background-color: $primary !default;
1271
- $button-disabled-background-color: $primary !default;
1272
- $button-border-color: $primary-button-hover !default;
1273
- $button-hover-border-color: $primary-button-hover !default;
1274
- $button-active-border-color: $primary-button-hover !default;
1275
- $button-focus-border-color: $primary-button-hover !default;
1276
- $button-disabled-border-color: $primary-button-hover !default;
1149
+ .mosaic {
1150
+ width: 100%;
1151
+ display: flex;
1152
+ flex-wrap: wrap;
1153
+ position: relative;
1154
+ min-height: rem(512);
1277
1155
 
1278
- $tag-radius: rem(20px)!default;
1279
- .img-editor__infoSection__propertySEO__tooltips {
1280
- i {
1281
- font-size: rem(16);
1282
- color: $main-text;
1156
+ &--displayPexelsImg {
1157
+ min-height: unset;
1283
1158
  }
1284
- }.wz-img-manager .images-view {
1285
- text-align: left;
1286
1159
 
1287
- &.fullSize {
1288
- & + .images-view__scroll {
1289
- max-height: 1160px;
1160
+ &:not(.fullSize) {
1161
+ width: calc(100% + 24px);
1162
+ transform: translateX(-12px);
1163
+ .mosaic__container__cards {
1164
+ padding-bottom: 40px;
1165
+ > * {
1166
+ width: calc(25% - 24px);
1167
+ margin: 0 12px rem(24) 12px;
1168
+ @include media('>=desktop','<1300px') {
1169
+ width: calc(33.33% - 24px);
1170
+ margin: 0 12px rem(24) 12px;
1171
+ }
1290
1172
  }
1291
1173
  }
1292
-
1293
- &__scroll {
1294
- position: relative;
1295
- height: 100%;
1296
- z-index: 1;
1297
-
1298
- &--full {
1299
- max-height: calc(100vh - 160px)!important;
1300
- min-height: calc(100vh - 160px) !important;
1174
+ &.small {
1175
+ min-height: 0;
1176
+ .mosaic__container__loader {
1177
+ top: 0;
1178
+ transform: translateX(-50%);
1179
+ max-height: 200px;
1180
+ }
1181
+ .mosaic {
1182
+ &__container {
1183
+ &__cards {
1184
+ padding-bottom: 40px;
1185
+ > * {
1186
+ width: calc(12.5% - 24px);
1187
+ margin: 0 12px rem(24) 12px;
1188
+ @include media('>=1400px','<1600px') {
1189
+ width: calc(14% - 24px);
1190
+ margin: 0 12px rem(24) 12px;
1191
+ }
1192
+ @include media('>=1200px','<1400px') {
1193
+ width: calc(16.66% - 24px);
1194
+ margin: 0 12px rem(24) 12px;
1195
+ }
1196
+ @include media('>=desktop','<1200px') {
1197
+ width: calc(20% - 24px);
1198
+ margin: 0 12px rem(24) 12px;
1199
+ }
1200
+ }
1201
+ }
1301
1202
  }
1302
-
1303
- &--smallDisplay {
1304
- max-height: 275px!important;
1203
+ }
1204
+ }
1205
+ }
1206
+ &.fullSize {
1207
+ width: calc(100% + 24px);
1208
+ transform: translateX(-12px);
1209
+ @include media('<420px') {
1210
+ width: 100%;
1211
+ transform: none;
1212
+ }
1213
+ .mosaic__container__cards {
1214
+ > * {
1215
+ width: calc(16.66% - 24px);
1216
+ margin: 0 12px rem(24) 12px;
1217
+ @include media('>=1400px','<1600px') {
1218
+ width: calc(20% - 24px);
1219
+ margin: 0 12px rem(24) 12px;
1305
1220
  }
1306
-
1307
- &--smallUploadDisplay {
1308
- max-height: 230px!important;
1221
+ @include media('>=desktop','<1400px') {
1222
+ width: calc(25% - 24px);
1223
+ margin: 0 12px rem(24) 12px;
1309
1224
  }
1310
-
1311
- &--window {
1312
- max-height: unset!important;
1225
+ @include media('>=tablet','<desktop') {
1226
+ width: calc(33.33% - 24px);
1227
+ margin: 0 12px rem(24) 12px;
1313
1228
  }
1314
-
1315
- &--hide {
1316
- &--mosaic {
1317
- min-height: 100px !important;
1318
- &--small {
1319
- min-height: unset !important;
1320
- }
1321
- }
1322
- &--table {
1323
- min-height: 170px !important;
1324
- }
1325
-
1229
+ @include media('>=400px','<tablet') {
1230
+ width: calc(50% - 24px);
1231
+ margin: 0 12px rem(24) 12px;
1326
1232
  }
1327
-
1328
- .ng-scroll-content {
1329
- min-width: calc(100% - 1rem) !important;
1330
- width: calc(100% - 1rem) !important;
1233
+ @include media('<420px') {
1234
+ width: 100%;
1235
+ margin: 0 0 15px;
1331
1236
  }
1237
+ }
1332
1238
  }
1333
-
1334
- &__container {
1335
- display: flex;
1336
- justify-content: space-between;
1337
- margin: 0 0 rem(20);
1338
-
1339
- > div {
1340
- display: flex;
1341
- align-items: center;
1342
- .mainColor {
1343
- margin: 0;
1344
- }
1239
+ &.small {
1240
+ .mosaic__container__loader {
1241
+ top: 0;
1242
+ transform: translateX(-50%);
1243
+ max-height: 200px;
1345
1244
  }
1346
-
1347
- &--window {
1348
- margin: rem(30) 0 rem(20);
1245
+ .mosaic {
1246
+ &__search {
1247
+ display: none;
1248
+ @include media('<tablet') {
1249
+ display: block;
1250
+ margin: 0 0 20px;
1251
+ padding: 0;
1252
+ width: 100%;
1253
+ }
1349
1254
  }
1350
-
1351
- &--uploadTab {
1352
- margin: 0 0 rem(20);
1255
+ &__container {
1256
+ &__cards {
1257
+ > * {
1258
+ width: calc(10% - 24px);
1259
+ margin: 0 12px rem(24) 12px;
1260
+ @include media('>=1400px','<1600px') {
1261
+ width: calc(11.11% - 24px);
1262
+ margin: 0 12px rem(24) 12px;
1263
+ }
1264
+ @include media('>=desktop','<1400px') {
1265
+ width: calc(12.5% - 24px);
1266
+ margin: 0 12px rem(24) 12px;
1267
+ }
1268
+ @include media('>=tablet','<desktop') {
1269
+ width: calc(20% - 24px);
1270
+ margin: 0 12px rem(24) 12px;
1271
+ }
1272
+ @include media('>=500px','<tablet') {
1273
+ width: calc(33.33% - 24px);
1274
+ margin: 0 12px rem(24) 12px;
1275
+ }
1276
+ @include media('<500px') {
1277
+ width: calc(50% - 24px);
1278
+ margin: 0 12px rem(24) 12px;
1279
+ }
1280
+ }
1281
+ }
1353
1282
  }
1283
+ }
1284
+ }
1285
+ }
1286
+ &__search {
1287
+ width: calc(100% - 24px);
1288
+ margin: 0 auto rem(20);
1289
+ }
1290
+ &__pagination {
1291
+ width: 100%;
1292
+ }
1293
+ &__container {
1294
+ &__loader {
1295
+ position: absolute;
1296
+ top: 50%;
1297
+ left: 50%;
1298
+ transform: translate(-50%,-50%);
1299
+ max-width: 300px;
1300
+ max-height: 300px;
1301
+ display: flex;
1302
+ flex-wrap: wrap;
1303
+ flex-direction: column;
1304
+ justify-content: center;
1305
+ align-items: center;
1306
+ }
1307
+ &__cards {
1308
+ width: 100%;
1309
+ display: flex;
1310
+ flex-wrap: wrap;
1311
+ &--padding {
1312
+ padding-right: 20px;
1313
+ @include media('<tablet') {
1314
+ width: calc(100% + 24px);
1315
+ padding: 0;
1316
+ }
1317
+ }
1318
+ }
1319
+ }
1320
+ }
1354
1321
 
1355
- &__boxAction {
1356
- width: 525px;
1357
- overflow: visible;
1358
- display: flex;
1359
- position: relative;
1360
- justify-content: flex-end;
1361
- margin-right: 13px;
1362
- height: 40px;
1363
- align-items: center;
1364
- transform: translate(-41px,-3px);
1365
-
1366
- &__confirmSup {
1367
- display: flex;
1368
- justify-content: space-between;
1369
- align-items: center;
1370
- border-left: solid 1px #d8d8d8;
1371
- color: $img-grey-color;
1372
- padding-left: 1rem;
1373
- width: 0;
1374
- position: absolute;
1375
- opacity: 0;
1376
- transition: 0s;
1377
- visibility: hidden;
1378
- z-index: 2;
1379
-
1380
- &--visible {
1381
- max-width: unset;
1382
- width: auto;
1383
- opacity: 1;
1384
- transition: 0s;
1385
- visibility: visible;
1322
+ .mosaic__container__cards {
1323
+ z-index: 1;
1324
+ & + .mosaic__pagination {
1325
+ position: relative;
1326
+ z-index: 2;
1327
+ }
1328
+ }
1329
+ .wz-img-manager {
1386
1330
 
1387
- p {
1388
- transition: left .3s ease-in-out;
1389
- right: 100%;
1390
- left: auto;
1391
- white-space: nowrap;
1392
- margin-right: 30px;
1393
- }
1394
- }
1331
+ &__selectionHandler {
1332
+ margin-top: -50px;
1333
+ }
1395
1334
 
1396
- &__cancel {
1397
- margin-right: 14px;
1398
- background-color: white;
1399
- border-color: #dbdbdb;
1400
- color: $img-main-text;
1401
- }
1335
+ &__module {
1336
+ position: fixed;
1337
+ bottom: 0;
1338
+ left: 0;
1339
+ width: 100%;
1340
+ height: 0;
1341
+ transition: height .3s ease;
1342
+ z-index: 2147483647; // snackbar 10
1343
+ transform: translateZ(0);
1402
1344
 
1403
- &__text {
1404
- font-size: 14px;
1405
- position: absolute;
1406
- left: -126%;
1407
- transition: font-size .3s ease-in-out, left .3s ease-in-out;
1408
- }
1409
- }
1345
+ &:before {
1346
+ content: '';
1347
+ display: block;
1348
+ position: absolute;
1349
+ top: 0;
1350
+ left: 0;
1351
+ width: 100%;
1352
+ height: 3px;
1353
+ background-color: $img-main-color;
1354
+ z-index: 999;
1355
+ }
1410
1356
 
1411
- &__delBtn {
1412
- i {
1413
- margin-right: 13px!important;
1414
- }
1415
- }
1357
+ &--closed {
1358
+ height: 0;
1359
+ }
1416
1360
 
1417
- &__import {
1418
- margin-right: 13px;
1419
- i {
1420
- margin-right: 13px!important;
1421
- }
1422
- }
1361
+ // .wz-img-manager__module--small
1362
+ &--small {
1363
+ height: 320px;
1364
+ @include media('<tablet') {
1365
+ height: calc(100vh - 35px);
1366
+ }
1367
+ }
1368
+
1369
+ // .wz-img-manager__module--full
1370
+ &--full {
1371
+ height: calc(100vh - 50px);
1372
+ @include media('<tablet') {
1373
+ height: calc(100vh - 35px);
1374
+ }
1375
+ }
1376
+
1377
+ // .wz-img-manager__module--window
1378
+ &--window {
1379
+ position: relative;
1380
+ width: auto;
1381
+ bottom: unset;
1382
+ left: unset;
1383
+ z-index: 29!important;
1384
+ height: auto!important;
1385
+ padding-bottom: 6.25rem;
1386
+
1387
+ &:before {
1388
+ content: none;
1389
+ height: 0px;
1390
+ }
1391
+
1392
+ // .wz-img-manager__module--edit
1393
+ &--edit {
1394
+ .wrapper-tabs {
1395
+ display: none;
1423
1396
  }
1397
+ }
1398
+ }
1424
1399
 
1425
- &__buttonBox {
1426
- margin: 0;
1427
- width: rem(40);
1428
- height: rem(40);
1429
- border: solid $img-light-white-color;
1430
- border-width: 1px 0 1px 1px;
1400
+ // .wz-img-manager__module__header
1401
+ &__header {
1402
+ position: absolute;
1403
+ bottom: 100%;
1404
+ right: 30px;
1405
+ width: 101px;
1431
1406
 
1432
- border-radius: 3px 0 0 3px;
1433
- outline: none!important;
1407
+ @include media('<tablet') {
1408
+ width: 45px;
1409
+ right: 0;
1410
+ }
1434
1411
 
1435
- > div {
1436
- margin-top: 0;
1437
- margin-bottom: 0;
1438
- height: 40px;
1439
- &:nth-child(2) {
1440
- border: solid $img-light-white-color;
1441
- border-width: 1px 1px 1px 0;
1442
- transform: translateY(-1px);
1443
- border-radius: 0 3px 3px 0;
1444
- }
1445
- div {
1446
- height: 38px;
1447
- margin: 0!important;
1448
- }
1449
- }
1412
+ // .wz-img-manager__module__header button
1413
+ button {
1414
+ width: 45px;
1415
+ height: 35px;
1416
+ background-color: $img-main-color;
1417
+ transition: background-color .3s ease;
1418
+ border: none;
1419
+ box-shadow: none;
1420
+ cursor: pointer;
1421
+ outline: none!important;
1450
1422
 
1451
- .actifDisplayed {
1452
- color:$img-main-color;
1453
- }
1423
+ &:first-child {
1424
+ @include media('<tablet') {
1425
+ display: none;
1426
+ }
1427
+ }
1454
1428
 
1455
- i {
1456
- margin: 0;
1457
- }
1429
+ span {
1430
+ display: none;
1458
1431
  }
1459
1432
 
1460
- &__cards {
1461
- display: flex;
1462
- justify-content: space-between;
1463
- flex-wrap: wrap;
1464
- align-items: center;
1465
- padding-top: 30px;
1466
- margin-right: calc(0.8rem - 20px);
1467
- margin-left: 0.3rem;
1468
- margin-bottom: 30px;
1433
+ i {
1434
+ color: #fff;
1435
+ font-size: 20px;
1436
+ &:before {
1437
+ font-size: rem(20) !important;
1438
+ }
1469
1439
  }
1470
- }
1471
1440
 
1472
- &--pexels {
1473
- margin-top: -30px;
1474
- }
1441
+ &:hover, &:focus {
1442
+ background-color: darken($img-main-color, 15%);
1443
+ }
1475
1444
 
1476
- .subHeaderActions .button i {
1477
- margin-right: 0;
1445
+ // .wz-img-manager__module__header button:first-child
1446
+ &:first-child {
1447
+ border-radius: 3px 0 0 0;
1448
+ }
1449
+
1450
+ // .wz-img-manager__module__header button:last-child
1451
+ &:last-child {
1452
+ margin: 0 0 0 1px;
1453
+ border-radius: 0 3px 0 0;
1454
+ @include media('<tablet') {
1455
+ margin: 0;
1456
+ border-radius: 0;
1457
+ }
1458
+ }
1459
+ }
1478
1460
  }
1461
+ }
1479
1462
  }
1480
1463
 
1481
- @media screen and (max-width: 768px) {
1482
- .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .images-view__scroll {
1483
- max-height: none!important;
1464
+ .wz-img-manager__module .wz-block {
1465
+ background-color: #fff;
1466
+ box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
1467
+ padding: 0 0.575rem 0 1.075rem;
1484
1468
 
1485
- .ng-scroll-content {
1486
- margin: 0 !important;
1487
- min-width: 100%!important;
1488
- width: 100%!important;
1489
- }
1469
+ @include media('<tablet') {
1470
+ padding: 0 20px;
1490
1471
  }
1491
- }
1492
- $default-color-p-alert: #1e5568;
1493
- $success-color-p-alert: #11552e;
1494
- $warning-color-p-alert: #3a0505;
1495
- $primary-button: #e95656;
1496
- $link-color: #52aecd;
1497
- $green-color: #2ecc71;
1472
+
1473
+ &--window {
1474
+ padding: rem(30);
1475
+ overflow: hidden;
1476
+ max-width: 1450px;
1477
+ margin: 0 auto;
1478
+ }
1479
+ }
1480
+
1481
+ .wz-img-manager__module .wz-block:hover {
1482
+ box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.2);
1483
+ }
1484
+
1485
+ .nwb-snack-bar .notification {
1486
+ z-index: 10002!important;
1487
+ }
1488
+
1489
+ .nwb-snack-bar .column {
1490
+ box-sizing: border-box;
1491
+ }
1492
+
1493
+
1494
+ //.wz-img-manager useful to keep the css priority
1495
+ .wz-img-manager .table-view {
1496
+
1497
+
1498
+ &__row {
1499
+ td {
1500
+ vertical-align: middle;
1501
+ }
1502
+ &__container {
1503
+ display: flex;
1504
+ align-items: center;
1505
+ width: 100%;
1506
+
1507
+ &__imgContainer {
1508
+ margin-right: 20px;
1509
+ position: relative;
1510
+ display: block;
1511
+ min-width: 60px;
1512
+ cursor: pointer;
1513
+
1514
+ &::before {
1515
+ content: '';
1516
+ display: block;
1517
+ padding-top: 100%;
1518
+ }
1519
+
1520
+ &__img {
1521
+ margin: 0!important;
1522
+ position: absolute;
1523
+ top: 50%;
1524
+ left: 50%;
1525
+ max-width: 100%;
1526
+ max-height:100%;
1527
+ width: auto;
1528
+ height: auto;
1529
+ transform: translate(-50%, -50%);
1530
+ object-fit: contain;
1531
+ }
1532
+
1533
+ &.imgSelected {
1534
+
1535
+ &:after {
1536
+ z-index: 1000;
1537
+ content: '';
1538
+ display: block;
1539
+ position: absolute;
1540
+ width: 100%;
1541
+ height: 4px;
1542
+ background-color: $img-main-color;
1543
+ bottom: 0;
1544
+ left: 0;
1545
+ transform: translateZ(0);
1546
+ }
1547
+ }
1548
+
1549
+ &__overlay {
1550
+ position: absolute;
1551
+ top: 25%;
1552
+ left: 25%;
1553
+ height: 100%;
1554
+ width: 100%;
1555
+
1556
+ i {
1557
+ font-size: 30px;
1558
+ color: grey;
1559
+ }
1560
+ }
1561
+ }
1562
+
1563
+ &__name {
1564
+ display: inline-block;
1565
+ background-color: transparent;
1566
+ white-space: nowrap;
1567
+ overflow: hidden;
1568
+ text-overflow: ellipsis;
1569
+ color: $main-text;
1570
+ font-size: 14px;
1571
+ cursor: initial;
1572
+ }
1573
+ }
1574
+ }
1575
+
1576
+ &__dropdown-options {
1577
+ &__label {
1578
+ &--disable {
1579
+ cursor: not-allowed;
1580
+ i {
1581
+ cursor: not-allowed;
1582
+ }
1583
+ }
1584
+ }
1585
+ }
1586
+ }
1587
+
1588
+ .wz-img-manager .table-view .checked {
1589
+ color: $img-main-color;
1590
+ }
1591
+
1592
+ .wz-img-manager .table-view .checked.disabled {
1593
+ color: grey;
1594
+ }
1595
+
1596
+
1597
+ .wz-img-manager .table-view .disabled {
1598
+ cursor: not-allowed;
1599
+ }
1600
+
1601
+
1602
+ .wz-img-manager .is-wizi-hoverable .dropdown-trigger:before {
1603
+ width: 5rem;
1604
+ }
1605
+
1606
+ .table-view .wzImgMngInput {
1607
+ border-radius: 3px;
1608
+ }
1609
+
1610
+ .table-view .wzImgMngInput:active.desabled, .table-view .wzImgMngInput:focus.desabled {
1611
+ border: solid transparent 1px;
1612
+ }
1613
+
1614
+ .wz-img-manager .table-view .dropdown-menu {
1615
+ left: -165px;
1616
+ }
1617
+
1618
+ .grey {
1619
+ color: $img-grey-color;
1620
+ }
1621
+ .wz-img-manager .img-editor {
1622
+ &__scroll {
1623
+ position: relative;
1624
+ height: 100%;
1625
+
1626
+ &--full {
1627
+ max-height: calc(100vh - 90px)!important;
1628
+ min-height: calc(100vh - 90px) !important;
1629
+ }
1630
+
1631
+ &--smallDisplay {
1632
+ max-height: 275px!important;
1633
+ @include media('<tablet') {
1634
+ max-height: calc(100vh - 90px)!important;
1635
+ min-height: calc(100vh - 90px) !important;
1636
+ }
1637
+ }
1638
+
1639
+ &--window {
1640
+ max-height: none;
1641
+ }
1642
+
1643
+ .ng-scroll-content {
1644
+ margin-left: 0 !important;
1645
+ margin-right: 0 !important;
1646
+ min-width: calc(100% - 1rem) !important;
1647
+ width: calc(100% - 1rem) !important;
1648
+ }
1649
+ }
1650
+
1651
+ .columns {
1652
+ margin-right: 0.8rem;
1653
+ margin-left: rem(12);
1654
+ margin-top: 12px;
1655
+ margin-bottom: 0;
1656
+ width: calc(100% + 11px);
1657
+
1658
+ .column {
1659
+ padding-top: 0;
1660
+ padding-bottom: 0px;
1661
+ }
1662
+ }
1663
+
1664
+ &__head-container {
1665
+ display: flex;
1666
+ justify-content: flex-end;
1667
+ align-items: center;
1668
+ margin: 30px 30px 20px 0;
1669
+
1670
+ &__btnGroup {
1671
+ margin-right: 13px;
1672
+ opacity: 0;
1673
+ visibility: hidden;
1674
+ transition: opacity .3s ease-in-out;
1675
+
1676
+ &__visible {
1677
+ opacity: 1;
1678
+ visibility: visible;
1679
+ }
1680
+
1681
+ &__removeBtn {
1682
+ margin-right: 13px;
1683
+ }
1684
+ }
1685
+
1686
+ &__close {
1687
+ cursor: pointer;
1688
+ font-size: 14px;
1689
+ color: $img-grey-color;
1690
+ line-height: 40px;
1691
+ }
1692
+ }
1693
+
1694
+ &__container {
1695
+ padding: 0.75rem!important;
1696
+ display:flex;
1697
+ justify-content: center;
1698
+ align-items: center;
1699
+ background-color: $img-gray-background;
1700
+ margin: 0;
1701
+ transform: translateY(-16px);
1702
+
1703
+ &__toolsContainer {
1704
+ display: flex;
1705
+ justify-content: center;
1706
+ align-items: center;
1707
+ margin-bottom: 50px;
1708
+
1709
+ &__tool {
1710
+ color: $img-second-color;
1711
+ margin-right: 30px;
1712
+ text-align: center;
1713
+ cursor: pointer;
1714
+
1715
+ p {
1716
+ margin: 0!important;
1717
+ color: $img-main-text;
1718
+ font-size: rem(12);
1719
+ line-height: rem(14);
1720
+ }
1721
+
1722
+ i {
1723
+ font-size: rem(18);
1724
+ margin: 0 0 10px;
1725
+ }
1726
+
1727
+ &--button {
1728
+ background-color: $img-green-color;
1729
+ color: $img-white!important;
1730
+ padding: 10px;
1731
+ border-radius: 3px;
1732
+ transition: .3s ease;
1733
+ white-space: nowrap;
1734
+ display: flex;
1735
+ justify-content: center;
1736
+ align-items: center;
1737
+ position: absolute;
1738
+ top: 80px;
1739
+ left: 50%;
1740
+ transform: translateX(-50%);
1741
+ height: 35px;
1742
+ margin: 0;
1743
+ &:hover, &:focus {
1744
+ background-color: darken($img-green-color, 15%);
1745
+ color: $img-white!important;
1746
+ }
1747
+ p {
1748
+ color: $white!important;
1749
+ }
1750
+ i {
1751
+ margin: 0 5px 0 0;
1752
+ }
1753
+ }
1754
+ &:hover {
1755
+ color: $img-main-color;
1756
+ }
1757
+
1758
+ > * {
1759
+ -webkit-touch-callout: none; /* iOS Safari */
1760
+ -webkit-user-select: none; /* Safari */
1761
+ -khtml-user-select: none; /* Konqueror HTML */
1762
+ -moz-user-select: none; /* Old versions of Firefox */
1763
+ -ms-user-select: none; /* Internet Explorer/Edge */
1764
+ user-select: none; /* Non-prefixed version, currently
1765
+ supported by Chrome, Edge, Opera and Firefox */
1766
+ }
1767
+ }
1768
+
1769
+ &__RotationDropdown {
1770
+ min-width: 16rem;
1771
+ }
1772
+ }
1773
+
1774
+ &__name {
1775
+ font-size: 16px;
1776
+ max-width: 50%;
1777
+ color: $img-grey-color;
1778
+ text-align: center;
1779
+ white-space: nowrap;
1780
+ overflow: hidden;
1781
+ text-overflow: ellipsis;
1782
+ }
1783
+
1784
+ .button {
1785
+ min-height: 35px;
1786
+ background-color: $img-primary-button;
1787
+ border-color: $img-primary-button-hover;
1788
+ color: #ffffff;
1789
+ }
1790
+ }
1791
+
1792
+ &__image-cropper {
1793
+ --cropper-overlay-color: #f5f8fa;
1794
+ //--cropper-outline-color: #a5a5a573;
1795
+ padding-bottom: 30px;
1796
+ }
1797
+
1798
+ &__infoSection {
1799
+ font-size: 14px;
1800
+ max-width: 360px;
1801
+ padding: 0;
1802
+ margin: 0 rem(30) 0 0;
1803
+
1804
+ &__propertyEditable {
1805
+ margin-bottom: 31px;
1806
+ p {
1807
+ margin-bottom: 12px;
1808
+ font-size: 14px;
1809
+ }
1810
+ input, button {
1811
+ width: 100%;
1812
+ height: 40px;
1813
+ border: 1px solid #DEE2ED;
1814
+ border-radius: 3px;
1815
+ color: $img-main-text;
1816
+ padding-left: 20px;
1817
+ padding-right: 20px;
1818
+ display: flex;
1819
+ justify-content: space-between;
1820
+ font-size: 14px;
1821
+
1822
+ &:hover {
1823
+ color: $img-main-color;
1824
+ border-color: $img-main-color;
1825
+ }
1826
+ }
1827
+
1828
+ button {
1829
+ align-items: center;
1830
+ background-color: transparent;
1831
+ cursor: pointer;
1832
+ }
1833
+
1834
+ &__span, &__input {
1835
+ text-overflow: ellipsis;
1836
+ overflow: hidden;
1837
+ white-space: nowrap;
1838
+ }
1839
+
1840
+ &__span {
1841
+ color: $img-bleu-color;
1842
+ & + i {
1843
+ color: $img-bleu-color;
1844
+ font-weight: 600;
1845
+ }
1846
+ }
1847
+
1848
+ &__tooltips {
1849
+ margin-left: 10px;
1850
+ }
1851
+ }
1852
+
1853
+ &__property {
1854
+ &:nth-child(3), &:nth-child(4) {
1855
+ margin: 0;
1856
+ }
1857
+ p {
1858
+ font-size: 14px;
1859
+ display: inline-block;
1860
+ }
1861
+
1862
+ .mainColor {
1863
+ margin: 0!important;
1864
+ }
1865
+
1866
+ p:last-child {
1867
+ margin: 0 0 0 10px;
1868
+ color: #526384;
1869
+ }
1870
+ }
1871
+
1872
+ &__titleSEO {
1873
+ margin: 0 0 20px;
1874
+
1875
+ .mainColor {
1876
+ font-size: rem(18);
1877
+ font-weight: 500;
1878
+ }
1879
+ }
1880
+
1881
+ &__propertySEO {
1882
+ margin-bottom: 12px;
1883
+ p {
1884
+ font-size: 14px;
1885
+ display: inline-block;
1886
+ margin: 0;
1887
+ }
1888
+
1889
+ .mainColor {
1890
+ & ~ p {
1891
+ margin-left: 10px;
1892
+ color: $img-green-color;
1893
+ }
1894
+ }
1895
+ }
1896
+
1897
+ &__divider {
1898
+ display: block;
1899
+ width: 100%;
1900
+ border-bottom: 2px dashed #EFF1F6;
1901
+ margin: 30px 0;
1902
+ }
1903
+
1904
+ &__actions {
1905
+ height: 35px;
1906
+
1907
+ &__cancel {
1908
+ margin-right: 19px;
1909
+ background-color: white;
1910
+ border-color: #dbdbdb;
1911
+ color: $img-main-text;
1912
+ }
1913
+
1914
+ &__save {
1915
+ padding: 8px 18px;
1916
+ margin: 0!important;
1917
+ &--disable {
1918
+ cursor: not-allowed;
1919
+ }
1920
+ }
1921
+ }
1922
+ }
1923
+
1924
+ .dropdown-menu {
1925
+ left: -50%;
1926
+ }
1927
+ }
1928
+
1929
+ .wz-img-manager .marginBottom {
1930
+ margin-bottom: 20px;
1931
+ }
1932
+ $default-color-p-alert: #1e5568;
1933
+ $success-color-p-alert: #11552e;
1934
+ $warning-color-p-alert: #3a0505;
1935
+ $primary-button: #e95656;
1936
+ $link-color: #52aecd;
1937
+ $green-color: #2ecc71;
1498
1938
 
1499
1939
  .wz-alert {
1500
1940
  width: 100%;
@@ -1814,144 +2254,105 @@ $green-color: #2ecc71;
1814
2254
  }
1815
2255
  }
1816
2256
  }
1817
- .wz-img-manager {
1818
-
1819
- &__selectionHandler {
1820
- margin-top: -50px;
2257
+ .img-upload {
2258
+ position: relative;
2259
+ 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");
2260
+ border-radius: 3px;
2261
+ &:before {
2262
+ content: '';
2263
+ display: block;
2264
+ padding-top: 110.82%;
1821
2265
  }
1822
-
1823
- &__module {
1824
- position: fixed;
1825
- bottom: 0;
1826
- left: 0;
1827
- width: 100%;
1828
- height: 0;
1829
- transition: height .3s ease;
1830
- z-index: 2147483647; // snackbar 10
1831
- transform: translateZ(0);
1832
-
2266
+ &--small {
1833
2267
  &:before {
1834
- content: '';
1835
- display: block;
1836
- position: absolute;
1837
- top: 0;
1838
- left: 0;
1839
- width: 100%;
1840
- height: 3px;
1841
- background-color: $img-main-color;
1842
- z-index: 999;
1843
- }
1844
-
1845
- &--closed {
1846
- height: 0;
2268
+ padding-top: 202px;
1847
2269
  }
1848
-
1849
- // .wz-img-manager__module--small
1850
- &--small {
1851
- height: 320px;
2270
+ .img-upload {
2271
+ &__container {
2272
+ .blueColor {
2273
+ img {
2274
+ min-width: rem(30);
2275
+ }
2276
+ }
2277
+ &__or {
2278
+ margin: rem(10) 0;
2279
+ }
2280
+ &__text {
2281
+ padding: rem(8) rem(20);
2282
+ }
2283
+ }
1852
2284
  }
1853
-
1854
- // .wz-img-manager__module--full
1855
- &--full {
1856
- height: calc(100vh - 50px);
2285
+ }
2286
+ &__container {
2287
+ position: absolute;
2288
+ top: 0;
2289
+ left: 0;
2290
+ width: 100%;
2291
+ height: 100%;
2292
+ display: flex;
2293
+ flex-wrap: wrap;
2294
+ flex-direction: column;
2295
+ justify-content: center;
2296
+ align-items: center;
2297
+ &__loader {
2298
+ position: absolute;
2299
+ top: 50%;
2300
+ left: 50%;
2301
+ transform: translate(-50%,-50%);
2302
+ max-width: 300px;
2303
+ max-height: 300px;
2304
+ display: flex;
2305
+ flex-wrap: wrap;
2306
+ flex-direction: column;
2307
+ justify-content: center;
2308
+ align-items: center;
1857
2309
  }
1858
-
1859
- // .wz-img-manager__module--window
1860
- &--window {
1861
- position: relative;
1862
- width: auto;
1863
- bottom: unset;
1864
- left: unset;
1865
- z-index: 29!important;
1866
- height: auto!important;
1867
- padding-bottom: 6.25rem;
1868
-
1869
- &:before {
1870
- content: none;
1871
- height: 0px;
2310
+ .blueColor {
2311
+ img {
2312
+ min-width: rem(65);
2313
+ display: block;
2314
+ max-width: rem(65);
2315
+ margin: 0 auto rem(15);
2316
+ transform: translate(10px);
1872
2317
  }
1873
-
1874
- // .wz-img-manager__module--edit
1875
- &--edit {
1876
- .wrapper-tabs {
1877
- display: none;
1878
- }
2318
+ p {
2319
+ color: $border-upload-color;
2320
+ font-size: rem(16);
2321
+ line-height: rem(19);
2322
+ font-weight: 500;
2323
+ margin: 0 auto rem(20);
1879
2324
  }
1880
2325
  }
1881
-
1882
- // .wz-img-manager__module__header
1883
- &__header {
1884
- position: absolute;
1885
- bottom: 100%;
1886
- right: 30px;
1887
- width: 101px;
1888
-
1889
- // .wz-img-manager__module__header button
1890
- button {
1891
- width: 45px;
1892
- height: 35px;
1893
- background-color: $img-main-color;
1894
- transition: background-color .3s ease;
1895
- border: none;
1896
- box-shadow: none;
1897
- cursor: pointer;
1898
- outline: none!important;
1899
-
1900
- span {
1901
- display: none;
1902
- }
1903
-
1904
- i {
1905
- color: #fff;
1906
- font-size: 20px;
1907
- &:before {
1908
- font-size: rem(20) !important;
1909
- }
1910
- }
1911
-
1912
- &:hover, &:focus {
1913
- background-color: darken($img-main-color, 15%);
1914
- }
1915
-
1916
- // .wz-img-manager__module__header button:first-child
1917
- &:first-child {
1918
- border-radius: 3px 0 0 0;
1919
- }
1920
-
1921
- // .wz-img-manager__module__header button:last-child
1922
- &:last-child {
1923
- margin: 0 0 0 1px;
1924
- border-radius: 0 3px 0 0;
1925
- }
2326
+ &__or {
2327
+ font-size: rem(14);
2328
+ line-height: rem(16);
2329
+ margin: 0 0 rem(20) !important;
2330
+ }
2331
+ &__text {
2332
+ display: flex;
2333
+ align-items: center;
2334
+ justify-content: center;
2335
+ width: auto;
2336
+ border-radius: 3px;
2337
+ padding: rem(12) rem(20);
2338
+ color: $white;
2339
+ font-size: rem(14);
2340
+ line-height: rem(16);
2341
+ white-space: nowrap;
2342
+ background-color: $img-green-color;
2343
+ transition: .3s ease;
2344
+ font-weight: 500;
2345
+ cursor: pointer;
2346
+ i {
2347
+ margin: 0 rem(6) 0 0;
2348
+ font-weight: 500;
2349
+ }
2350
+ &:hover, &:focus {
2351
+ background-color: darken($img-green-color, 15%);
1926
2352
  }
1927
2353
  }
1928
2354
  }
1929
2355
  }
1930
-
1931
- .wz-img-manager__module .wz-block {
1932
- background-color: #fff;
1933
- box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
1934
- padding: 0 0.575rem 0 1.075rem;
1935
-
1936
- &--window {
1937
- padding: rem(30);
1938
- overflow: hidden;
1939
- max-width: 1450px;
1940
- margin: 0 auto;
1941
- }
1942
- }
1943
-
1944
- .wz-img-manager__module .wz-block:hover {
1945
- box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.2);
1946
- }
1947
-
1948
- .nwb-snack-bar .notification {
1949
- z-index: 10002!important;
1950
- }
1951
-
1952
- .nwb-snack-bar .column {
1953
- box-sizing: border-box;
1954
- }
1955
2356
  .wz-img-manager .dropdownWizi {
1956
2357
  padding: 10px;
1957
2358
 
@@ -2078,6 +2479,10 @@ $green-color: #2ecc71;
2078
2479
 
2079
2480
  &--smallDisplay {
2080
2481
  max-height: 275px!important;
2482
+ @include media('<tablet') {
2483
+ max-height: calc(100vh - 90px)!important;
2484
+ min-height: calc(100vh - 90px) !important;
2485
+ }
2081
2486
  }
2082
2487
  }
2083
2488
 
@@ -2101,11 +2506,20 @@ $green-color: #2ecc71;
2101
2506
  justify-content: space-between;
2102
2507
  margin-left: -5px;
2103
2508
 
2509
+ @include media('<tablet') {
2510
+ flex-wrap: wrap;
2511
+ }
2512
+
2104
2513
  // .pexels-lib__wrapper__result__column
2105
2514
  &__column {
2106
2515
  flex: 1;
2107
2516
  margin: 0 5px;
2108
2517
 
2518
+ @include media('<tablet') {
2519
+ width: calc(50% - 10px);
2520
+ flex: unset;
2521
+ }
2522
+
2109
2523
  // .pexels-lib__wrapper__result__column__element
2110
2524
  &__element {
2111
2525
  display: flex;
@@ -2171,255 +2585,362 @@ $green-color: #2ecc71;
2171
2585
  background-color: darken($img-green-color, 10%);
2172
2586
  }
2173
2587
 
2174
- &__div {
2588
+ &__div {
2589
+ display: flex;
2590
+ justify-content: space-between;
2591
+ align-items: center;
2592
+ }
2593
+
2594
+ &__spinner {
2595
+ display: inline-block;
2596
+ > * {
2597
+ margin-top: 10px;
2598
+ margin-right: 5px;
2599
+ }
2600
+
2601
+ }
2602
+ }
2603
+
2604
+ &__dropdown {
2605
+ .dropdown-content {
2606
+ padding: 3px 0;
2607
+
2608
+ .dropdown-item {
2609
+ display: flex;
2610
+ justify-content: space-between;
2611
+ align-items: center;
2612
+
2613
+ p {
2614
+ margin-top: 0;
2615
+ margin-bottom: 0;
2616
+ }
2617
+
2618
+ .iPortrait, .iLandscape {
2619
+ visibility: hidden;
2620
+ }
2621
+
2622
+ &:hover {
2623
+ i {
2624
+ visibility: unset;
2625
+ }
2626
+ }
2627
+ }
2628
+ }
2629
+
2630
+ .dropdown-content__wrapper:hover {
2631
+ .iOriginal {
2632
+ visibility: hidden;
2633
+ }
2634
+ }
2635
+
2636
+ }
2637
+ }
2638
+ }
2639
+ }
2640
+
2641
+ // .pexels-lib__wrapper__result-nb
2642
+ &-nb {
2643
+ font-size: 14px;
2644
+ margin-top: 30px;
2645
+ margin-bottom: 15px;
2646
+ font-weight: 600;
2647
+ line-height: 40px;
2648
+ @include media('<tablet') {
2649
+ margin: 20px auto;
2650
+ }
2651
+ }
2652
+ }
2653
+ }
2654
+
2655
+ &__alert {
2656
+ margin-right: 0.8rem;
2657
+ margin-left: 0.3rem;
2658
+ margin-top: 10px;
2659
+ }
2660
+ }
2661
+
2662
+ .wz-img-manager .pexels-lib .dropdown .dropdown-menu{
2663
+ min-width: 0;
2664
+ width: 100%;
2665
+ .dropdown-item:hover {
2666
+ background-color: #fafafa;
2667
+ cursor: pointer;
2668
+ }
2669
+ }
2670
+ .wz-img-manager .input-search.field {
2671
+ padding: 10px 20px;
2672
+ background-color: $gray-background;
2673
+ @include media('<tablet') {
2674
+ padding: 0!important;
2675
+ background-color: $white;
2676
+ }
2677
+ &.small-padding {
2678
+ padding: 10px 20px;
2679
+ }
2680
+ .input,
2681
+ .input:focus,
2682
+ .input.is-focused,
2683
+ .input:active,
2684
+ .input.is-active {
2685
+ font-size: rem(14);
2686
+ color: $main-text;
2687
+ border: rem(1) solid $input-border-search;
2688
+ box-shadow: none;
2689
+ padding: rem(13.5) rem(20) rem(13.5) rem(48);
2690
+ border-radius: rem(3);
2691
+ margin: 0;
2692
+ height: auto;
2693
+ min-height: unset;
2694
+
2695
+ &::placeholder {
2696
+ color: $placeholder-color;
2697
+ font-weight: normal;
2698
+ }
2699
+ }
2700
+
2701
+ .input:focus,
2702
+ .input.is-focused,
2703
+ .input:active,
2704
+ .input.is-active {
2705
+ border-color: $wizishop-blue;
2706
+ }
2707
+
2708
+ .icon {
2709
+ position: absolute;
2710
+ top: 50%;
2711
+ left: 20px;
2712
+ font-size: rem(18);
2713
+ transform: translateY(-50%);
2714
+ pointer-events: none;
2715
+ font-weight: 400;
2716
+ color: $placeholder-color;
2717
+ margin: 0;
2718
+ width: rem(18);
2719
+ height: rem(18);
2720
+ }
2721
+ }
2722
+
2723
+ .wz-img-manager .wz-img-manager__module:not(.wz-img-manager__module--window) .pexels-lib__search .input-search.field {
2724
+ padding: 0;
2725
+ background-color: transparent;
2726
+ }
2727
+ image-cropper {
2728
+ max-height: 60vh;
2729
+ }.wz-img-manager .images-view {
2730
+ text-align: left;
2731
+
2732
+ &.fullSize {
2733
+ & + .images-view__scroll {
2734
+ max-height: 1160px;
2735
+ }
2736
+ }
2737
+
2738
+ &__scroll {
2739
+ position: relative;
2740
+ height: 100%;
2741
+ z-index: 1;
2742
+
2743
+ &--full {
2744
+ max-height: calc(100vh - 160px)!important;
2745
+ min-height: calc(100vh - 160px) !important;
2746
+ }
2747
+
2748
+ &--smallDisplay {
2749
+ max-height: 275px!important;
2750
+ @include media('<tablet') {
2751
+ max-height: calc(100vh - 90px)!important;
2752
+ min-height: calc(100vh - 90px) !important;
2753
+ }
2754
+ }
2755
+
2756
+ &--smallUploadDisplay {
2757
+ max-height: 230px!important;
2758
+ }
2759
+
2760
+ &--window {
2761
+ max-height: unset!important;
2762
+ }
2763
+
2764
+ &--hide {
2765
+ &--mosaic {
2766
+ min-height: 100px !important;
2767
+ &--small {
2768
+ min-height: unset !important;
2769
+ }
2770
+ }
2771
+ &--table {
2772
+ min-height: 170px !important;
2773
+ }
2774
+
2775
+ }
2776
+
2777
+ .ng-scroll-content {
2778
+ min-width: calc(100% - 1rem) !important;
2779
+ width: calc(100% - 1rem) !important;
2780
+ @include media('<tablet') {
2781
+ min-width: 100%!important;
2782
+ }
2783
+ }
2784
+ }
2785
+
2786
+ &__container {
2787
+ display: flex;
2788
+ justify-content: space-between;
2789
+ margin: 0 0 rem(20);
2790
+
2791
+ > div {
2792
+ display: flex;
2793
+ align-items: center;
2794
+ .mainColor {
2795
+ margin: 0;
2796
+ }
2797
+ }
2798
+
2799
+ &--window {
2800
+ margin: rem(30) 0 rem(20);
2801
+ }
2802
+
2803
+ &--uploadTab {
2804
+ margin: 0 0 rem(20);
2805
+ }
2806
+
2807
+ &__boxAction {
2808
+ width: 525px;
2809
+ overflow: visible;
2810
+ display: flex;
2811
+ position: relative;
2812
+ justify-content: flex-end;
2813
+ margin-right: 13px;
2814
+ height: 40px;
2815
+ align-items: center;
2816
+ transform: translate(-41px,-3px);
2817
+
2818
+ &__confirmSup {
2175
2819
  display: flex;
2176
2820
  justify-content: space-between;
2177
2821
  align-items: center;
2178
- }
2179
-
2180
- &__spinner {
2181
- display: inline-block;
2182
- > * {
2183
- margin-top: 10px;
2184
- margin-right: 5px;
2185
- }
2186
-
2187
- }
2188
- }
2189
-
2190
- &__dropdown {
2191
- .dropdown-content {
2192
- padding: 3px 0;
2193
-
2194
- .dropdown-item {
2195
- display: flex;
2196
- justify-content: space-between;
2197
- align-items: center;
2198
-
2199
- p {
2200
- margin-top: 0;
2201
- margin-bottom: 0;
2202
- }
2822
+ border-left: solid 1px #d8d8d8;
2823
+ color: $img-grey-color;
2824
+ padding-left: 1rem;
2825
+ width: 0;
2826
+ position: absolute;
2827
+ opacity: 0;
2828
+ transition: 0s;
2829
+ visibility: hidden;
2830
+ z-index: 2;
2203
2831
 
2204
- .iPortrait, .iLandscape {
2205
- visibility: hidden;
2206
- }
2832
+ &--visible {
2833
+ max-width: unset;
2834
+ width: auto;
2835
+ opacity: 1;
2836
+ transition: 0s;
2837
+ visibility: visible;
2207
2838
 
2208
- &:hover {
2209
- i {
2210
- visibility: unset;
2839
+ p {
2840
+ transition: left .3s ease-in-out;
2841
+ right: 100%;
2842
+ left: auto;
2843
+ white-space: nowrap;
2844
+ margin-right: 30px;
2211
2845
  }
2212
- }
2213
2846
  }
2214
- }
2215
2847
 
2216
- .dropdown-content__wrapper:hover {
2217
- .iOriginal {
2218
- visibility: hidden;
2848
+ &__cancel {
2849
+ margin-right: 14px;
2850
+ background-color: white;
2851
+ border-color: #dbdbdb;
2852
+ color: $img-main-text;
2219
2853
  }
2220
- }
2221
2854
 
2855
+ &__text {
2856
+ font-size: 14px;
2857
+ position: absolute;
2858
+ left: -126%;
2859
+ transition: font-size .3s ease-in-out, left .3s ease-in-out;
2860
+ }
2222
2861
  }
2223
- }
2224
- }
2225
- }
2226
2862
 
2227
- // .pexels-lib__wrapper__result-nb
2228
- &-nb {
2229
- font-size: 14px;
2230
- line-height: 25px;
2231
- margin-top: 30px;
2232
- margin-bottom: 15px;
2233
- font-weight: 600;
2234
- line-height: 40px;
2235
- }
2236
- }
2237
- }
2863
+ &__delBtn {
2864
+ i {
2865
+ margin-right: 13px!important;
2866
+ }
2867
+ }
2238
2868
 
2239
- &__alert {
2240
- margin-right: 0.8rem;
2241
- margin-left: 0.3rem;
2242
- margin-top: 10px;
2243
- }
2244
- }
2869
+ &__import {
2870
+ margin-right: 13px;
2871
+ i {
2872
+ margin-right: 13px!important;
2873
+ }
2874
+ }
2875
+ }
2245
2876
 
2246
- .wz-img-manager .pexels-lib .dropdown .dropdown-menu{
2247
- min-width: 0;
2248
- width: 100%;
2249
- .dropdown-item:hover {
2250
- background-color: #fafafa;
2251
- cursor: pointer;
2252
- }
2253
- }
2254
- .mosaic {
2255
- width: 100%;
2256
- display: flex;
2257
- flex-wrap: wrap;
2258
- position: relative;
2259
- min-height: rem(512);
2877
+ &__buttonBox {
2878
+ margin: 0;
2879
+ width: rem(40);
2880
+ height: rem(40);
2881
+ border: solid $img-light-white-color;
2882
+ border-width: 1px 0 1px 1px;
2260
2883
 
2261
- &--displayPexelsImg {
2262
- min-height: unset;
2263
- }
2884
+ border-radius: 3px 0 0 3px;
2885
+ outline: none!important;
2264
2886
 
2265
- &:not(.fullSize) {
2266
- width: calc(100% + 24px);
2267
- transform: translateX(-12px);
2268
- .mosaic__container__cards {
2269
- padding-bottom: 40px;
2270
- > * {
2271
- width: calc(25% - 24px);
2272
- margin: 0 12px rem(24) 12px;
2273
- @include media('>=desktop','<1300px') {
2274
- width: calc(33.33% - 24px);
2275
- margin: 0 12px rem(24) 12px;
2276
- }
2277
- }
2278
- }
2279
- &.small {
2280
- min-height: 0;
2281
- .mosaic__container__loader {
2282
- top: 0;
2283
- transform: translateX(-50%);
2284
- max-height: 200px;
2285
- }
2286
- .mosaic {
2287
- &__container {
2288
- &__cards {
2289
- padding-bottom: 40px;
2290
- > * {
2291
- width: calc(12.5% - 24px);
2292
- margin: 0 12px rem(24) 12px;
2293
- @include media('>=1400px','<1600px') {
2294
- width: calc(14% - 24px);
2295
- margin: 0 12px rem(24) 12px;
2296
- }
2297
- @include media('>=1200px','<1400px') {
2298
- width: calc(16.66% - 24px);
2299
- margin: 0 12px rem(24) 12px;
2300
- }
2301
- @include media('>=desktop','<1200px') {
2302
- width: calc(20% - 24px);
2303
- margin: 0 12px rem(24) 12px;
2304
- }
2305
- }
2306
- }
2307
- }
2308
- }
2309
- }
2310
- }
2311
- &.fullSize {
2312
- width: calc(100% + 24px);
2313
- transform: translateX(-12px);
2314
- @include media('<420px') {
2315
- width: 100%;
2316
- transform: none;
2317
- }
2318
- .mosaic__container__cards {
2319
- > * {
2320
- width: calc(16.66% - 24px);
2321
- margin: 0 12px rem(24) 12px;
2322
- @include media('>=1400px','<1600px') {
2323
- width: calc(20% - 24px);
2324
- margin: 0 12px rem(24) 12px;
2325
- }
2326
- @include media('>=desktop','<1400px') {
2327
- width: calc(25% - 24px);
2328
- margin: 0 12px rem(24) 12px;
2329
- }
2330
- @include media('>=tablet','<desktop') {
2331
- width: calc(33.33% - 24px);
2332
- margin: 0 12px rem(24) 12px;
2333
- }
2334
- @include media('>=400px','<tablet') {
2335
- width: calc(50% - 24px);
2336
- margin: 0 12px rem(24) 12px;
2337
- }
2338
- @include media('<420px') {
2339
- width: 100%;
2340
- margin: 0 0 15px;
2341
- }
2342
- }
2343
- }
2344
- &.small {
2345
- .mosaic__container__loader {
2346
- top: 0;
2347
- transform: translateX(-50%);
2348
- max-height: 200px;
2349
- }
2350
- .mosaic {
2351
- &__search {
2352
- display: none;
2353
- }
2354
- &__container {
2355
- &__cards {
2356
- > * {
2357
- width: calc(10% - 24px);
2358
- margin: 0 12px rem(24) 12px;
2359
- @include media('>=1400px','<1600px') {
2360
- width: calc(11.11% - 24px);
2361
- margin: 0 12px rem(24) 12px;
2362
- }
2363
- @include media('>=desktop','<1400px') {
2364
- width: calc(12.5% - 24px);
2365
- margin: 0 12px rem(24) 12px;
2366
- }
2367
- @include media('>=tablet','<desktop') {
2368
- width: calc(20% - 24px);
2369
- margin: 0 12px rem(24) 12px;
2370
- }
2371
- @include media('>=500px','<tablet') {
2372
- width: calc(33.33% - 24px);
2373
- margin: 0 12px rem(24) 12px;
2374
- }
2375
- @include media('<500px') {
2376
- width: calc(50% - 24px);
2377
- margin: 0 12px rem(24) 12px;
2887
+ > div {
2888
+ margin-top: 0;
2889
+ margin-bottom: 0;
2890
+ height: 40px;
2891
+ &:nth-child(2) {
2892
+ border: solid $img-light-white-color;
2893
+ border-width: 1px 1px 1px 0;
2894
+ transform: translateY(-1px);
2895
+ border-radius: 0 3px 3px 0;
2896
+ }
2897
+ div {
2898
+ height: 38px;
2899
+ margin: 0!important;
2378
2900
  }
2379
2901
  }
2380
- }
2902
+
2903
+ .actifDisplayed {
2904
+ color:$img-main-color;
2905
+ }
2906
+
2907
+ i {
2908
+ margin: 0;
2909
+ }
2910
+ }
2911
+
2912
+ &__cards {
2913
+ display: flex;
2914
+ justify-content: space-between;
2915
+ flex-wrap: wrap;
2916
+ align-items: center;
2917
+ padding-top: 30px;
2918
+ margin-right: calc(0.8rem - 20px);
2919
+ margin-left: 0.3rem;
2920
+ margin-bottom: 30px;
2921
+
2381
2922
  }
2382
- }
2383
2923
  }
2384
- }
2385
- &__search {
2386
- width: calc(100% - 24px);
2387
- margin: 0 auto rem(20);
2388
- }
2389
- &__pagination {
2390
- width: 100%;
2391
- }
2392
- &__container {
2393
- &__loader {
2394
- position: absolute;
2395
- top: 50%;
2396
- left: 50%;
2397
- transform: translate(-50%,-50%);
2398
- max-width: 300px;
2399
- max-height: 300px;
2400
- display: flex;
2401
- flex-wrap: wrap;
2402
- flex-direction: column;
2403
- justify-content: center;
2404
- align-items: center;
2924
+
2925
+ &--pexels {
2926
+ margin-top: -30px;
2405
2927
  }
2406
- &__cards {
2407
- width: 100%;
2408
- display: flex;
2409
- flex-wrap: wrap;
2410
- &--padding {
2411
- padding-right: 20px;
2412
- }
2928
+
2929
+ .subHeaderActions .button i {
2930
+ margin-right: 0;
2413
2931
  }
2414
- }
2415
2932
  }
2416
2933
 
2417
- .mosaic__container__cards {
2418
- z-index: 1;
2419
- & + .mosaic__pagination {
2420
- position: relative;
2421
- z-index: 2;
2422
- }
2934
+ @media screen and (max-width: 768px) {
2935
+ .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .images-view__scroll {
2936
+ max-height: none!important;
2937
+
2938
+ .ng-scroll-content {
2939
+ margin: 0 !important;
2940
+ min-width: 100%!important;
2941
+ width: 100%!important;
2942
+ }
2943
+ }
2423
2944
  }
2424
2945
  $card-img-size: 100%;
2425
2946
  $card-img-size-small: 140px;
@@ -2814,6 +3335,9 @@ $card-img-size-small: 140px;
2814
3335
  transform: scale(1.02) translate(-50%,-50%);
2815
3336
  }
2816
3337
  &__config {
3338
+ @include media('<tablet') {
3339
+ display: none;
3340
+ }
2817
3341
  opacity: 1;
2818
3342
  button {
2819
3343
  transform: translateX(0);
@@ -2987,526 +3511,414 @@ $card-img-size-small: 140px;
2987
3511
  &--center--right {
2988
3512
  @include align-items(center);
2989
3513
  @include justify-content(right);
2990
- }
2991
- }
2992
- }
2993
- }
2994
- }
2995
- .wz-img-manager .wz-pagination {
2996
- width: 100%;
2997
- padding: 0;
2998
-
2999
- &__wrapper {
3000
- @include flexbox();
3001
- @include justify-content(flex-end);
3002
- padding: 0 17px 0 0;
3003
-
3004
- &__page {
3005
- margin-right: 30px;
3006
- padding: 4px 0 5px 0;
3007
-
3008
- @include flexbox();
3009
-
3010
- p {
3011
- margin: 4px 11px 4px 0;
3012
- font-size: 14px;
3013
- line-height: 24px;
3014
- color: $second-color;
3015
- }
3016
-
3017
- select {
3018
- width: 50px;
3019
- font-size: 14px;
3020
- line-height: 24px;
3021
- color: $second-color;
3022
- padding: 3px 26px 3px 15px;
3023
- border: 1px solid $border-form;
3024
- border-radius: 3px;
3025
- -webkit-appearance: none;
3026
- -moz-appearance: none;
3027
- text-indent: 0;
3028
- text-overflow: '';
3029
- background: transparent
3030
- 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")
3031
- top 8px right 12px / 10px 10px no-repeat;
3032
- }
3033
-
3034
- select::-ms-expand {
3035
- display: none;
3036
- }
3037
- }
3038
-
3039
- &__elements {
3040
- margin-right: 30px;
3041
-
3042
- p {
3043
- margin: 8px 0 9px 0;
3044
- font-size: 14px;
3045
- line-height: 24px;
3046
- color: $dark;
3047
- }
3048
- }
3049
-
3050
- &__arrows {
3051
- @include flexbox();
3052
-
3053
- &__arrow {
3054
- width: 40px;
3055
- height: 40px;
3056
- padding: 9px 14px;
3057
- border: 1px solid $border-form;
3058
- border-radius: 3px;
3059
- cursor: pointer;
3060
- display: flex;
3061
- align-items: center;
3062
-
3063
- span {
3064
- display: inline-block;
3065
- width: 10px;
3066
- height: 15px;
3067
- }
3068
-
3069
- &--left {
3070
- margin-right: 10px;
3071
-
3072
- span {
3073
- background: transparent
3074
- 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")
3075
- center center / 10px 12px no-repeat;
3076
- }
3077
- }
3078
-
3079
- &--right {
3080
- span {
3081
- background: transparent
3082
- 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")
3083
- center center / 10px 12px no-repeat;
3084
- }
3085
- }
3086
-
3087
- &--disabled {
3088
- border-color: $background-color;
3089
- background-color: $background-color;
3090
- }
3091
- }
3092
- }
3093
- }
3094
- }
3095
- .wz-img-manager .input-search.field {
3096
- padding: 10px 20px;
3097
- background-color: $gray-background;
3098
- &.small-padding {
3099
- padding: 10px 20px;
3100
- }
3101
- .input,
3102
- .input:focus,
3103
- .input.is-focused,
3104
- .input:active,
3105
- .input.is-active {
3106
- font-size: rem(14);
3107
- color: $main-text;
3108
- border: rem(1) solid $input-border-search;
3109
- box-shadow: none;
3110
- padding: rem(13.5) rem(20) rem(13.5) rem(48);
3111
- border-radius: rem(3);
3112
- margin: 0;
3113
- height: auto;
3114
- min-height: unset;
3115
-
3116
- &::placeholder {
3117
- color: $placeholder-color;
3118
- font-weight: normal;
3119
- }
3120
- }
3121
-
3122
- .input:focus,
3123
- .input.is-focused,
3124
- .input:active,
3125
- .input.is-active {
3126
- border-color: $wizishop-blue;
3127
- }
3128
-
3129
- .icon {
3130
- position: absolute;
3131
- top: 50%;
3132
- left: 20px;
3133
- font-size: rem(18);
3134
- transform: translateY(-50%);
3135
- pointer-events: none;
3136
- font-weight: 400;
3137
- color: $placeholder-color;
3138
- margin: 0;
3139
- width: rem(18);
3140
- height: rem(18);
3141
- }
3142
- }
3143
-
3144
- .wz-img-manager .wz-img-manager__module:not(.wz-img-manager__module--window) .pexels-lib__search .input-search.field {
3145
- padding: 0;
3146
- background-color: transparent;
3147
- }
3148
- //.wz-img-manager useful to keep the css priority
3149
- .wz-img-manager .canva-btn {
3150
- background-color: $img-main-color;
3151
- border: 2px solid $img-main-color;
3152
- padding: 0;
3153
- height: fit-content;
3154
- color: white;
3155
- padding-left: rem(9);
3156
- transition: .3s ease;
3157
- margin: 0!important;
3158
- &:hover, &:focus {
3159
- border-color: darken($img-main-color, 15%);
3160
- }
3161
- > span {
3162
- &:first-child {
3163
- z-index: 2;
3164
- position: relative;
3165
- transform: translateX(7px);
3166
- }
3167
- }
3168
- &__logo {
3169
- z-index: 1;
3514
+ }
3515
+ }
3170
3516
  }
3517
+ }
3171
3518
  }
3172
3519
 
3173
- .wz-img-manager .canva-btn .btnLoadingAnnimation {
3174
- background-color: $img-main-color;
3175
- cursor: not-allowed;
3176
- }
3177
-
3178
- .wz-img-manager .canva.dropdown {
3179
- z-index: 9999;
3180
- .dropdown-menu {
3181
- display: none!important;
3182
- margin-top: 10px!important;
3183
- &:before {
3184
- content: '';
3185
- display: block;
3186
- position: absolute;
3187
- bottom: 100%;
3188
- left: 0;
3189
- width: 100%;
3190
- height: 10px;
3191
- }
3192
- }
3193
3520
 
3194
- .displayDropDownMenu {
3195
- display: block!important;
3521
+ .wac {
3522
+ &-select {
3523
+ width: 100%;
3524
+ position: relative;
3525
+ height: 40px;
3526
+ border: 1px solid $border-form;
3527
+ margin: 0;
3528
+ border-radius: 3px;
3529
+ z-index: 2;
3530
+ background-color: $white;
3531
+ max-width: 100%;
3532
+ &:hover,
3533
+ &:focus {
3534
+ z-index: 4;
3196
3535
  }
3197
-
3198
- .dropdown-menu.dropDownShadow {
3199
- padding-bottom: 0;
3200
- padding-top: 0;
3201
- margin-top: 1px;
3536
+ &__label {
3537
+ padding: 0;
3538
+ font-size: rem(14);
3539
+ line-height: rem(16);
3540
+ margin: 0 0 rem(12);
3541
+ font-weight: 500;
3202
3542
  }
3203
-
3204
- .dropdown-menu {
3205
- min-width: 300px;
3206
- width: 300px;
3207
-
3208
- .dropdown-content {
3209
- padding-top: 0px;
3210
- }
3211
-
3212
- .dropdown-item {
3213
- color: $img-grey-color;
3214
- display: flex;
3215
- justify-content: space-between;
3216
- align-items: center;
3217
- padding: 12px 20px;
3218
- margin: 0 0 5px;
3543
+ &__current {
3544
+ display: flex;
3545
+ width: 100%;
3546
+ height: 38px;
3547
+ justify-content: space-between;
3548
+ align-items: center;
3549
+ align-content: center;
3550
+ padding: 0 0 0 20px;
3551
+ color: $color-text-grey;
3552
+ font-size: rem(14);
3553
+ line-height: rem(16);
3554
+ cursor: pointer;
3555
+ white-space: nowrap;
3556
+ text-overflow: ellipsis;
3557
+ max-width: 100%;
3558
+ overflow: hidden;
3559
+ &--withSearch {
3560
+ padding: 0;
3561
+ span {
3562
+ &:not(.icon):not(:last-child) {
3563
+ display: block;
3564
+ width: 100%;
3565
+ height: rem(38);
3566
+ line-height: rem(38);
3567
+ padding: 0 20px;
3568
+ }
3569
+ &.icon {
3570
+ & + span {
3571
+ padding: 0;
3572
+ }
3573
+ }
3219
3574
  &:last-child {
3220
3575
  margin: 0;
3221
3576
  }
3222
-
3223
- p {
3224
- margin: 0;
3225
- line-height: rem(16);
3226
- }
3227
-
3228
- p:first-child {
3229
- color: #1D2A3B;
3230
- font-size: rem(14);
3577
+ }
3578
+ &.open-search {
3579
+ span {
3580
+ &:not(.icon):not(:last-child) {
3581
+ display: none;
3231
3582
  }
3232
-
3233
- p:last-child {
3234
- color: #526384;
3235
- font-size: rem(14);
3583
+ &.icon {
3584
+ display: none;
3236
3585
  }
3586
+ }
3237
3587
  }
3238
-
3239
- .dropdown-item:hover {
3240
- background-color: whitesmoke;
3241
- cursor: pointer;
3242
- color: black;
3588
+ }
3589
+ span.icon {
3590
+ max-width: 24px;
3591
+ margin: 0 10px 0 0;
3592
+ i {
3593
+ font-size: rem(17);
3243
3594
  }
3244
-
3245
- .dropdown-item.expectedSizes {
3246
- font-weight: 500;
3595
+ img {
3596
+ display: block;
3597
+ max-width: rem(24);
3247
3598
  }
3248
-
3249
- .dropdownTitle {
3250
- font-size: 14px;
3251
- background-color: $img-main-color;
3252
- padding: rem(9.5) 0;
3253
- text-align: center;
3254
-
3255
- p {
3256
- font-size: 14px;
3257
- color: white;
3258
- margin: 0;
3259
- font-weight: 500;
3260
- }
3599
+ &:empty {
3600
+ display: none;
3261
3601
  }
3262
-
3263
- .infoItem {
3264
- padding: 18px 20px 11px 20px;
3265
- line-height: 1.5;
3266
- font-weight: 500;
3267
-
3268
- p {
3269
- margin: 0;
3270
- font-size: rem(16);
3271
- line-height: rem(19);
3272
- font-weight: 500;
3273
- }
3602
+ }
3603
+ > span:not([class]):not(:last-child) {
3604
+ width: 100%;
3605
+ text-align: left;
3606
+ max-width: calc(100% - 58px);
3607
+ overflow: hidden;
3608
+ text-overflow: ellipsis;
3609
+ }
3610
+ span:last-child {
3611
+ width: 38px;
3612
+ min-width: 38px;
3613
+ height: 38px;
3614
+ margin: 0 0 0 20px;
3615
+ display: flex;
3616
+ justify-content: center;
3617
+ align-items: center;
3618
+ align-content: center;
3619
+ background-color: $select-icon-background;
3620
+ border-radius: 0 3px 3px 0;
3621
+ z-index: 3;
3622
+ i {
3623
+ font-size: rem(12);
3624
+ color: $second-color;
3274
3625
  }
3626
+ }
3627
+ &__search {
3628
+ position: relative;
3629
+ top: 0;
3630
+ left: 0;
3631
+ width: 100%;
3632
+ height: rem(38);
3633
+ display: flex;
3634
+ align-items: center;
3635
+ align-content: center;
3636
+ z-index: 2;
3637
+ padding: 0 0 0 rem(20);
3638
+ input {
3639
+ border: none;
3640
+ width: 100%;
3641
+ box-shadow: none;
3642
+ margin: 0 0 0 rem(10);
3643
+ padding: 0;
3644
+ height: rem(38);
3645
+ line-height: rem(38);
3646
+ &:focus {
3647
+ &::-webkit-input-placeholder { /* Chrome/Opera/Safari */
3648
+ opacity: 0;
3649
+ }
3650
+ &::-moz-placeholder { /* Firefox 19+ */
3651
+ opacity: 0;
3652
+ }
3653
+ &:-ms-input-placeholder { /* IE 10+ */
3654
+ opacity: 0;
3655
+ }
3656
+ &:-moz-placeholder { /* Firefox 18- */
3657
+ opacity: 0;
3658
+ }
3275
3659
 
3276
- .dropdown-item-wrapper {
3277
- border: 1px solid #DEE2ED;
3278
- border-radius: 3px;
3279
- margin: 0 20px 5px 20px;
3660
+ }
3280
3661
  }
3662
+ }
3281
3663
  }
3282
- }
3283
-
3284
- .noTooltip .tooltip.is-tooltip-left:hover::before, .noTooltip .tooltip.is-tooltip-left:hover:not(.is-loading)::after {
3285
- display: none;
3286
- }
3287
- //.wz-img-manager useful to keep the css priority
3288
- .wz-img-manager .upload-list {
3289
- text-align: left;
3290
- font-size: 14px;
3291
- color: #23272B;
3292
-
3293
- &.smallDisplay {
3294
- .upload-list__box__cards__card {
3295
- width: 125px;
3664
+ .select-disabled {
3665
+ background-color: #f5f8fa;
3666
+ cursor: not-allowed;
3296
3667
  }
3297
- }
3298
-
3299
- &__scroll {
3668
+ &__content {
3669
+ position: absolute;
3670
+ top: 100%;
3671
+ margin-top: rem(14);
3672
+ left: -1px;
3673
+ width: auto;
3674
+ min-width: calc(100% - 38px);
3675
+ max-width: calc(100% + 2px);
3676
+ border: 1px solid $border-light;
3677
+ border-radius: 3px;
3678
+ display: flex;
3679
+ flex-direction: column;
3680
+ justify-content: flex-start;
3681
+ align-items: flex-start;
3682
+ background-color: $white;
3683
+ max-height: 260px;
3684
+ height: auto;
3685
+ visibility: visible;
3686
+ opacity: 1;
3687
+ box-shadow: 3px 3px 20px $select-box-shadow;
3688
+ padding: 10px;
3689
+ &.hidden {
3690
+ visibility: hidden;
3691
+ opacity: 0;
3692
+ & > * {
3693
+ opacity: 0;
3694
+ transition: 0s;
3695
+ }
3696
+ }
3697
+ .ps {
3698
+ max-height: 240px;
3699
+ }
3700
+ &.open,
3701
+ &.open.hidden {
3300
3702
  position: relative;
3301
- height: 100%;
3302
-
3303
- &--smallDisplay {
3304
- max-height: 260px!important;
3305
-
3306
- .upload-list__box {
3307
- margin-bottom: 20px;
3308
- }
3703
+ left: auto;
3704
+ top: 0;
3705
+ transform: translateX(-1px);
3706
+ visibility: visible;
3707
+ opacity: 1;
3708
+ & > * {
3709
+ opacity: 1;
3710
+ transition: 0s;
3309
3711
  }
3310
-
3311
- &--window {
3312
- max-height: none;
3712
+ }
3713
+ &__cta {
3714
+ background-color: $color-CTA-select;
3715
+ border: 1px solid $border-CTA-select;
3716
+ color: $main-text;
3717
+ font-size: rem(14);
3718
+ min-height: rem(40);
3719
+ display: flex;
3720
+ align-items: center;
3721
+ align-content: center;
3722
+ width: 100%;
3723
+ border-radius: 3px;
3724
+ cursor: pointer;
3725
+ transition: 0.3s ease;
3726
+ margin: 0 0 rem(10);
3727
+ padding: 0 20px;
3728
+ > div {
3729
+ display: flex;
3730
+ align-items: center;
3731
+ align-content: center;
3732
+ justify-content: flex-start;
3733
+ width: 100%;
3734
+ i {
3735
+ color: $wizishop-blue;
3736
+ margin: 0 8px 0 0;
3737
+ }
3738
+ strong {
3739
+ display: inline-block;
3740
+ margin: 0 20px 0 0;
3741
+ }
3313
3742
  }
3314
-
3315
- .ng-scroll-content {
3316
- margin-left: 0.5rem !important;
3317
- margin-right: 0.5rem !important;
3318
- min-width: calc(100% - 1rem) !important;
3319
- width: calc(100% - 1rem) !important;
3743
+ &:hover,
3744
+ &:focus {
3745
+ background-color: darken($color-CTA-select, 10%);
3746
+ }
3747
+ }
3748
+ &__item {
3749
+ width: 100%;
3750
+ font-size: rem(14);
3751
+ line-height: rem(30);
3752
+ cursor: pointer;
3753
+ transition: 0.3s ease;
3754
+ position: relative;
3755
+ display: flex;
3756
+ justify-content: flex-start;
3757
+ align-content: center;
3758
+ align-items: center;
3759
+ color: $second-color;
3760
+ > div {
3761
+ width: 100%;
3762
+ display: flex;
3763
+ align-items: center;
3764
+ align-content: center;
3765
+ }
3766
+ .icon {
3767
+ width: 24px;
3768
+ margin: 0 10px 0 0;
3769
+ height: auto;
3770
+ max-height: 24px;
3771
+ }
3772
+ &:not(:last-child) {
3773
+ margin: 0 0 rem(10);
3774
+ }
3775
+ &:empty {
3776
+ display: none;
3777
+ }
3778
+ &:first-child {
3779
+ border-width: 1px 0 1px;
3780
+ }
3781
+ &:hover,
3782
+ &:focus {
3783
+ background-color: $gray-background;
3784
+ color: $main-text;
3785
+ }
3786
+ > div {
3787
+ padding: 0 10px;
3788
+ &.selected {
3789
+ background-color: $gray-background;
3790
+ color: $main-text;
3791
+ }
3792
+ }
3793
+ }
3794
+ &__empty {
3795
+ display: flex;
3796
+ width: 100%;
3797
+ justify-content: center;
3798
+ align-items: center;
3799
+ padding: 10px;
3800
+ span {
3801
+ font-size: rem(16);
3802
+ font-weight: 400;
3803
+ text-align: center;
3804
+ color: $second-color;
3805
+ display: inline-block;
3806
+ line-height: rem(25);
3320
3807
  }
3808
+ }
3321
3809
  }
3810
+ }
3811
+ }
3812
+ .wz-img-manager .wz-pagination {
3813
+ width: 100%;
3814
+ padding: 0;
3322
3815
 
3323
- &__box {
3324
- margin: 0 0.8rem 30px 0.3rem;
3325
- padding: 30px;
3326
- background-color: $img-gray-background;
3327
- margin-right: 12px;
3328
- margin-left: 5px;
3329
- border-radius: 3px;
3330
-
3331
- &__container {
3332
- display: flex;
3333
- justify-content: space-between;
3334
- align-items: center;
3335
-
3336
- p {
3337
- display: inline;
3338
- }
3339
-
3340
- .dropdown {
3341
- vertical-align: baseline;
3342
- &:hover {
3343
- .dropdown-trigger i {
3344
- color: $img-main-color;
3345
- }
3346
- }
3347
- .dropdown-trigger {
3348
- display: inline;
3349
- i {
3350
- color: $img-secondary-text;
3351
- margin-left: 10px;
3352
- }
3353
- }
3354
-
3355
- .dropdown-menu {
3356
- padding: 0;
3357
- width: 370px;
3358
- left: -190px;
3359
- margin-top: 3px;
3360
-
3361
- .dropdown-item {
3362
- display: flex;
3363
- justify-content: left;
3364
- align-items: center;
3365
-
3366
- p {
3367
- margin: 0;
3368
- }
3816
+ &__wrapper {
3817
+ @include flexbox();
3818
+ @include justify-content(flex-end);
3819
+ padding: 0 17px 0 0;
3369
3820
 
3370
- p:first-child {
3371
- color: $img-main-text;
3372
- font-size: 14px;
3373
- }
3821
+ @include media('<tablet') {
3822
+ padding: 0;
3823
+ justify-content: space-between;
3824
+ }
3374
3825
 
3375
- p:last-child {
3376
- color: $img-green-color;
3377
- font-size: 14px;
3378
- margin-left: 10px;
3379
- }
3380
- }
3381
- }
3382
- }
3383
- }
3826
+ &__page {
3827
+ margin-right: 30px;
3828
+ padding: 4px 0 5px 0;
3384
3829
 
3385
- &__cards {
3386
- padding-top: 15px;
3387
- margin-left: 5px;
3388
- display: flex;
3389
- justify-content: left;
3390
- flex-wrap: wrap;
3391
- align-items: center;
3392
- margin-right: -9px;
3393
- width: calc(100% + 24px);
3394
- transform: translateX(-12px);
3395
- &__card {
3396
- width: 198px;
3397
- margin: 0 12px 12px;
3398
- & > * {
3399
- width: 100%;
3400
- }
3830
+ @include media('<tablet') {
3831
+ margin: 0 20px 20px 0;
3832
+ }
3401
3833
 
3402
- &__btnBox {
3403
- text-align: center;
3404
- margin: rem(10) auto 0;
3834
+ @include flexbox();
3405
3835
 
3406
- &__btn {
3407
- height: 30px;
3408
- width: 30px;
3409
- font-size: 14px!important;
3836
+ p {
3837
+ margin: 4px 11px 4px 0;
3838
+ font-size: 14px;
3839
+ line-height: 24px;
3840
+ color: $second-color;
3841
+ }
3410
3842
 
3411
- cursor: default;
3843
+ select {
3844
+ width: 50px;
3845
+ font-size: 14px;
3846
+ line-height: 24px;
3847
+ color: $second-color;
3848
+ padding: 3px 26px 3px 15px;
3849
+ border: 1px solid $border-form;
3850
+ border-radius: 3px;
3851
+ -webkit-appearance: none;
3852
+ -moz-appearance: none;
3853
+ text-indent: 0;
3854
+ text-overflow: '';
3855
+ background: transparent
3856
+ 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")
3857
+ top 8px right 12px / 10px 10px no-repeat;
3858
+ }
3412
3859
 
3413
- &:focus {
3414
- box-shadow: none;
3415
- }
3416
- }
3417
- }
3418
- }
3419
- }
3860
+ select::-ms-expand {
3861
+ display: none;
3862
+ }
3420
3863
  }
3421
- }
3422
-
3423
- @media screen and (max-width: 768px) {
3424
- .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .upload-list__scroll {
3425
- max-height: none!important;
3426
3864
 
3427
- .ng-scroll-content {
3428
- margin: 0 !important;
3429
- min-width: 100%!important;
3430
- width: 100%!important;
3431
- }
3432
- }
3433
- }
3434
- //.wz-img-manager useful to keep the css priority
3435
- .wz-img-manager .wz-loader {
3436
- &.is-small {
3437
- right: 0;
3438
- left: 0;
3439
- top: 0;
3440
- transform: scale(0.6);
3441
- }
3442
- margin-bottom: rem(80);
3865
+ &__elements {
3866
+ margin-right: 30px;
3867
+ @include media('<tablet') {
3868
+ display: none;
3869
+ }
3443
3870
 
3444
- @keyframes rotate {
3445
- 0% {
3446
- transform: rotate(0deg);
3447
- }
3448
- 50% {
3449
- transform: rotate(180deg);
3450
- }
3451
- 100% {
3452
- transform: rotate(360deg);
3871
+ p {
3872
+ margin: 8px 0 9px 0;
3873
+ font-size: 14px;
3874
+ line-height: 24px;
3875
+ color: $dark;
3876
+ }
3453
3877
  }
3454
- }
3455
3878
 
3456
- @keyframes rotate2 {
3457
- 0% {
3458
- transform: rotate(0deg);
3459
- border-top-color: $img-color-loader;
3460
- }
3461
- 50% {
3462
- transform: rotate(180deg);
3463
- border-top-color: $img-color-loader2;
3464
- }
3465
- 100% {
3466
- transform: rotate(360deg);
3467
- border-top-color: $img-color-loader;
3468
- }
3469
- }
3879
+ &__arrows {
3880
+ @include flexbox();
3470
3881
 
3471
- @mixin loaderDivMixin {
3472
- border-radius: 50%;
3473
- padding: rem(8);
3474
- border: rem(2) solid transparent;
3475
- animation: rotate linear 3.5s infinite;
3476
- }
3882
+ &__arrow {
3883
+ width: 40px;
3884
+ height: 40px;
3885
+ padding: 9px 14px;
3886
+ border: 1px solid $border-form;
3887
+ border-radius: 3px;
3888
+ cursor: pointer;
3889
+ display: flex;
3890
+ align-items: center;
3477
3891
 
3478
- .loader {
3479
- position: relative;
3480
- margin: rem(75) auto;
3481
- width: rem(150);
3482
- height: rem(150);
3483
- display: block;
3484
- overflow: hidden;
3485
- div {
3486
- height: 100%;
3487
- }
3488
- }
3892
+ span {
3893
+ display: inline-block;
3894
+ width: 10px;
3895
+ height: 15px;
3896
+ }
3489
3897
 
3490
- /* loader 1 */
3491
- .loader1,
3492
- .loader1 div {
3493
- @include loaderDivMixin;
3494
- border-top-color: $img-color-loader;
3495
- border-bottom-color: $img-color-loader2;
3496
- }
3898
+ &--left {
3899
+ margin-right: 10px;
3497
3900
 
3498
- div:hover {
3499
- animation-play-state: paused;
3500
- }
3901
+ span {
3902
+ background: transparent
3903
+ 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")
3904
+ center center / 10px 12px no-repeat;
3905
+ }
3906
+ }
3501
3907
 
3502
- .loader,
3503
- .loader * {
3504
- will-change: transform;
3505
- }
3908
+ &--right {
3909
+ span {
3910
+ background: transparent
3911
+ 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")
3912
+ center center / 10px 12px no-repeat;
3913
+ }
3914
+ }
3506
3915
 
3507
- p {
3508
- margin-top: -50px;
3509
- font-weight: 500;
3916
+ &--disabled {
3917
+ border-color: $background-color;
3918
+ background-color: $background-color;
3919
+ }
3920
+ }
3921
+ }
3510
3922
  }
3511
3923
  }
3512
3924
  //.wz-img-manager useful to keep the css priority
@@ -3565,6 +3977,9 @@ $card-img-size-small: 140px;
3565
3977
 
3566
3978
  &__canva {
3567
3979
  margin: 0 0 0 rem(30);
3980
+ @include media('<tablet') {
3981
+ display: none;
3982
+ }
3568
3983
  }
3569
3984
 
3570
3985
  &__tabsEdit {
@@ -3586,6 +4001,10 @@ $card-img-size-small: 140px;
3586
4001
  margin: rem(28) 0 0 0;
3587
4002
  padding: 0;
3588
4003
  max-width: 33.3%;
4004
+ @include media('<tablet') {
4005
+ max-width: 100%;
4006
+ margin: 0;
4007
+ }
3589
4008
  }
3590
4009
 
3591
4010
  &__list {
@@ -3596,6 +4015,10 @@ $card-img-size-small: 140px;
3596
4015
  }
3597
4016
  //height: calc(100vh - 70px);
3598
4017
  //height: 100vh;
4018
+ @include media('<tablet') {
4019
+ width: 100%;
4020
+ margin: 40px 0 0 0;
4021
+ }
3599
4022
  }
3600
4023
  }
3601
4024
 
@@ -3643,310 +4066,325 @@ $card-img-size-small: 140px;
3643
4066
  .wz-img-manager .img-tabs .columns.img-tabs__tabsFirst {
3644
4067
  margin: 0;
3645
4068
  }
3646
- .wz-img-manager .img-editor {
3647
- &__scroll {
4069
+
4070
+ .wrapper-tabs {
4071
+ .tabs {
4072
+ @include media('<tablet') {
4073
+ display: none!important;
4074
+ }
4075
+ }
4076
+ .select-mobile-page {
4077
+ @include media('>=tablet') {
4078
+ display: none;
4079
+ }
4080
+ padding: 20px 0;
4081
+ }
4082
+ }//.wz-img-manager useful to keep the css priority
4083
+ .wz-img-manager .canva-btn {
4084
+ background-color: $img-main-color;
4085
+ border: 2px solid $img-main-color;
4086
+ padding: 0;
4087
+ height: fit-content;
4088
+ color: white;
4089
+ padding-left: rem(9);
4090
+ transition: .3s ease;
4091
+ margin: 0!important;
4092
+ &:hover, &:focus {
4093
+ border-color: darken($img-main-color, 15%);
4094
+ }
4095
+ > span {
4096
+ &:first-child {
4097
+ z-index: 2;
3648
4098
  position: relative;
3649
- height: 100%;
4099
+ transform: translateX(7px);
4100
+ }
4101
+ }
4102
+ &__logo {
4103
+ z-index: 1;
4104
+ }
4105
+ }
3650
4106
 
3651
- &--full {
3652
- max-height: calc(100vh - 90px)!important;
3653
- min-height: calc(100vh - 90px) !important;
3654
- }
4107
+ .wz-img-manager .canva-btn .btnLoadingAnnimation {
4108
+ background-color: $img-main-color;
4109
+ cursor: not-allowed;
4110
+ }
3655
4111
 
3656
- &--smallDisplay {
3657
- max-height: 275px!important;
3658
- }
4112
+ .wz-img-manager .canva.dropdown {
4113
+ z-index: 9999;
4114
+ .dropdown-menu {
4115
+ display: none!important;
4116
+ margin-top: 10px!important;
4117
+ &:before {
4118
+ content: '';
4119
+ display: block;
4120
+ position: absolute;
4121
+ bottom: 100%;
4122
+ left: 0;
4123
+ width: 100%;
4124
+ height: 10px;
4125
+ }
4126
+ }
3659
4127
 
3660
- &--window {
3661
- max-height: none;
3662
- }
4128
+ .displayDropDownMenu {
4129
+ display: block!important;
4130
+ }
3663
4131
 
3664
- .ng-scroll-content {
3665
- margin-left: 0 !important;
3666
- margin-right: 0 !important;
3667
- min-width: calc(100% - 1rem) !important;
3668
- width: calc(100% - 1rem) !important;
3669
- }
4132
+ .dropdown-menu.dropDownShadow {
4133
+ padding-bottom: 0;
4134
+ padding-top: 0;
4135
+ margin-top: 1px;
3670
4136
  }
3671
4137
 
3672
- .columns {
3673
- margin-right: 0.8rem;
3674
- margin-left: rem(12);
3675
- margin-top: 12px;
3676
- margin-bottom: 0;
3677
- width: calc(100% + 11px);
4138
+ .dropdown-menu {
4139
+ min-width: 300px;
4140
+ width: 300px;
3678
4141
 
3679
- .column {
3680
- padding-top: 0;
3681
- padding-bottom: 0px;
4142
+ .dropdown-content {
4143
+ padding-top: 0px;
3682
4144
  }
3683
- }
3684
4145
 
3685
- &__head-container {
3686
- display: flex;
3687
- justify-content: flex-end;
3688
- align-items: center;
3689
- margin: 30px 30px 20px 0;
4146
+ .dropdown-item {
4147
+ color: $img-grey-color;
4148
+ display: flex;
4149
+ justify-content: space-between;
4150
+ align-items: center;
4151
+ padding: 12px 20px;
4152
+ margin: 0 0 5px;
4153
+ &:last-child {
4154
+ margin: 0;
4155
+ }
3690
4156
 
3691
- &__btnGroup {
3692
- margin-right: 13px;
3693
- opacity: 0;
3694
- visibility: hidden;
3695
- transition: opacity .3s ease-in-out;
4157
+ p {
4158
+ margin: 0;
4159
+ line-height: rem(16);
4160
+ }
3696
4161
 
3697
- &__visible {
3698
- opacity: 1;
3699
- visibility: visible;
4162
+ p:first-child {
4163
+ color: #1D2A3B;
4164
+ font-size: rem(14);
3700
4165
  }
3701
4166
 
3702
- &__removeBtn {
3703
- margin-right: 13px;
4167
+ p:last-child {
4168
+ color: #526384;
4169
+ font-size: rem(14);
3704
4170
  }
3705
4171
  }
3706
4172
 
3707
- &__close {
4173
+ .dropdown-item:hover {
4174
+ background-color: whitesmoke;
3708
4175
  cursor: pointer;
4176
+ color: black;
4177
+ }
4178
+
4179
+ .dropdown-item.expectedSizes {
4180
+ font-weight: 500;
4181
+ }
4182
+
4183
+ .dropdownTitle {
3709
4184
  font-size: 14px;
3710
- color: $img-grey-color;
3711
- line-height: 40px;
4185
+ background-color: $img-main-color;
4186
+ padding: rem(9.5) 0;
4187
+ text-align: center;
4188
+
4189
+ p {
4190
+ font-size: 14px;
4191
+ color: white;
4192
+ margin: 0;
4193
+ font-weight: 500;
4194
+ }
3712
4195
  }
3713
- }
3714
4196
 
3715
- &__container {
3716
- padding: 0.75rem!important;
3717
- display:flex;
3718
- justify-content: center;
3719
- align-items: center;
3720
- background-color: $img-gray-background;
3721
- margin: 0;
3722
- transform: translateY(-16px);
4197
+ .infoItem {
4198
+ padding: 18px 20px 11px 20px;
4199
+ line-height: 1.5;
4200
+ font-weight: 500;
3723
4201
 
3724
- &__toolsContainer {
3725
- display: flex;
3726
- justify-content: center;
3727
- align-items: center;
3728
- margin-bottom: 50px;
4202
+ p {
4203
+ margin: 0;
4204
+ font-size: rem(16);
4205
+ line-height: rem(19);
4206
+ font-weight: 500;
4207
+ }
4208
+ }
3729
4209
 
3730
- &__tool {
3731
- color: $img-second-color;
3732
- margin-right: 30px;
3733
- text-align: center;
3734
- cursor: pointer;
4210
+ .dropdown-item-wrapper {
4211
+ border: 1px solid #DEE2ED;
4212
+ border-radius: 3px;
4213
+ margin: 0 20px 5px 20px;
4214
+ }
4215
+ }
4216
+ }
3735
4217
 
3736
- p {
3737
- margin: 0!important;
3738
- color: $img-main-text;
3739
- font-size: rem(12);
3740
- line-height: rem(14);
3741
- }
4218
+ .noTooltip .tooltip.is-tooltip-left:hover::before, .noTooltip .tooltip.is-tooltip-left:hover:not(.is-loading)::after {
4219
+ display: none;
4220
+ }
4221
+ //.wz-img-manager useful to keep the css priority
4222
+ .wz-img-manager .upload-list {
4223
+ text-align: left;
4224
+ font-size: 14px;
4225
+ color: #23272B;
3742
4226
 
3743
- i {
3744
- font-size: rem(18);
3745
- margin: 0 0 10px;
3746
- }
4227
+ &.smallDisplay {
4228
+ .upload-list__box__cards__card {
4229
+ width: 125px;
4230
+ }
4231
+ }
3747
4232
 
3748
- &--button {
3749
- background-color: $img-green-color;
3750
- color: $img-white!important;
3751
- padding: 10px;
3752
- border-radius: 3px;
3753
- transition: .3s ease;
3754
- white-space: nowrap;
3755
- display: flex;
3756
- justify-content: center;
3757
- align-items: center;
3758
- position: absolute;
3759
- top: 80px;
3760
- left: 50%;
3761
- transform: translateX(-50%);
3762
- height: 35px;
3763
- margin: 0;
3764
- &:hover, &:focus {
3765
- background-color: darken($img-green-color, 15%);
3766
- color: $img-white!important;
3767
- }
3768
- p {
3769
- color: $white!important;
3770
- }
3771
- i {
3772
- margin: 0 5px 0 0;
3773
- }
3774
- }
3775
- &:hover {
3776
- color: $img-main-color;
3777
- }
4233
+ &__scroll {
4234
+ position: relative;
4235
+ height: 100%;
3778
4236
 
3779
- > * {
3780
- -webkit-touch-callout: none; /* iOS Safari */
3781
- -webkit-user-select: none; /* Safari */
3782
- -khtml-user-select: none; /* Konqueror HTML */
3783
- -moz-user-select: none; /* Old versions of Firefox */
3784
- -ms-user-select: none; /* Internet Explorer/Edge */
3785
- user-select: none; /* Non-prefixed version, currently
3786
- supported by Chrome, Edge, Opera and Firefox */
3787
- }
3788
- }
4237
+ &--smallDisplay {
4238
+ max-height: 260px!important;
3789
4239
 
3790
- &__RotationDropdown {
3791
- min-width: 16rem;
4240
+ .upload-list__box {
4241
+ margin-bottom: 20px;
3792
4242
  }
3793
4243
  }
3794
4244
 
3795
- &__name {
3796
- font-size: 16px;
3797
- max-width: 50%;
3798
- color: $img-grey-color;
3799
- text-align: center;
3800
- white-space: nowrap;
3801
- overflow: hidden;
3802
- text-overflow: ellipsis;
4245
+ &--window {
4246
+ max-height: none;
3803
4247
  }
3804
4248
 
3805
- .button {
3806
- min-height: 35px;
3807
- background-color: $img-primary-button;
3808
- border-color: $img-primary-button-hover;
3809
- color: #ffffff;
4249
+ .ng-scroll-content {
4250
+ margin-left: 0.5rem !important;
4251
+ margin-right: 0.5rem !important;
4252
+ min-width: calc(100% - 1rem) !important;
4253
+ width: calc(100% - 1rem) !important;
3810
4254
  }
3811
4255
  }
3812
4256
 
3813
- &__image-cropper {
3814
- --cropper-overlay-color: #f5f8fa;
3815
- //--cropper-outline-color: #a5a5a573;
3816
- padding-bottom: 30px;
3817
- }
4257
+ &__box {
4258
+ margin: 0 0.8rem 30px 0.3rem;
4259
+ padding: 30px;
4260
+ background-color: $img-gray-background;
4261
+ margin-right: 12px;
4262
+ margin-left: 5px;
4263
+ border-radius: 3px;
3818
4264
 
3819
- &__infoSection {
3820
- font-size: 14px;
3821
- max-width: 360px;
3822
- padding: 0;
3823
- margin: 0 rem(30) 0 0;
4265
+ &__container {
4266
+ display: flex;
4267
+ justify-content: space-between;
4268
+ align-items: center;
3824
4269
 
3825
- &__propertyEditable {
3826
- margin-bottom: 31px;
3827
4270
  p {
3828
- margin-bottom: 12px;
3829
- font-size: 14px;
4271
+ display: inline;
3830
4272
  }
3831
- input, button {
3832
- width: 100%;
3833
- height: 40px;
3834
- border: 1px solid #DEE2ED;
3835
- border-radius: 3px;
3836
- color: $img-main-text;
3837
- padding-left: 20px;
3838
- padding-right: 20px;
3839
- display: flex;
3840
- justify-content: space-between;
3841
- font-size: 14px;
3842
4273
 
4274
+ .dropdown {
4275
+ vertical-align: baseline;
3843
4276
  &:hover {
3844
- color: $img-main-color;
3845
- border-color: $img-main-color;
4277
+ .dropdown-trigger i {
4278
+ color: $img-main-color;
4279
+ }
4280
+ }
4281
+ .dropdown-trigger {
4282
+ display: inline;
4283
+ i {
4284
+ color: $img-secondary-text;
4285
+ margin-left: 10px;
4286
+ }
3846
4287
  }
3847
- }
3848
-
3849
- button {
3850
- align-items: center;
3851
- background-color: transparent;
3852
- cursor: pointer;
3853
- }
3854
-
3855
- &__span, &__input {
3856
- text-overflow: ellipsis;
3857
- overflow: hidden;
3858
- white-space: nowrap;
3859
- }
3860
4288
 
3861
- &__span {
3862
- color: $img-bleu-color;
3863
- & + i {
3864
- color: $img-bleu-color;
3865
- font-weight: 600;
3866
- }
3867
- }
4289
+ .dropdown-menu {
4290
+ padding: 0;
4291
+ width: 370px;
4292
+ left: -190px;
4293
+ margin-top: 3px;
3868
4294
 
3869
- &__tooltips {
3870
- margin-left: 10px;
3871
- }
3872
- }
4295
+ .dropdown-item {
4296
+ display: flex;
4297
+ justify-content: left;
4298
+ align-items: center;
3873
4299
 
3874
- &__property {
3875
- &:nth-child(3), &:nth-child(4) {
3876
- margin: 0;
3877
- }
3878
- p {
3879
- font-size: 14px;
3880
- display: inline-block;
3881
- }
4300
+ p {
4301
+ margin: 0;
4302
+ }
3882
4303
 
3883
- .mainColor {
3884
- margin: 0!important;
3885
- }
4304
+ p:first-child {
4305
+ color: $img-main-text;
4306
+ font-size: 14px;
4307
+ }
3886
4308
 
3887
- p:last-child {
3888
- margin: 0 0 0 10px;
3889
- color: #526384;
4309
+ p:last-child {
4310
+ color: $img-green-color;
4311
+ font-size: 14px;
4312
+ margin-left: 10px;
4313
+ }
4314
+ }
4315
+ }
3890
4316
  }
3891
4317
  }
3892
4318
 
3893
- &__titleSEO {
3894
- margin: 0 0 20px;
3895
-
3896
- .mainColor {
3897
- font-size: rem(18);
3898
- font-weight: 500;
3899
- }
3900
- }
3901
-
3902
- &__propertySEO {
3903
- margin-bottom: 12px;
3904
- p {
3905
- font-size: 14px;
3906
- display: inline-block;
3907
- margin: 0;
3908
- }
3909
-
3910
- .mainColor {
3911
- & ~ p {
3912
- margin-left: 10px;
3913
- color: $img-green-color;
3914
- }
3915
- }
3916
- }
4319
+ &__cards {
4320
+ padding-top: 15px;
4321
+ margin-left: 5px;
4322
+ display: flex;
4323
+ justify-content: left;
4324
+ flex-wrap: wrap;
4325
+ align-items: center;
4326
+ margin-right: -9px;
4327
+ width: calc(100% + 24px);
4328
+ transform: translateX(-12px);
4329
+ &__card {
4330
+ width: 198px;
4331
+ margin: 0 12px 12px;
4332
+ & > * {
4333
+ width: 100%;
4334
+ }
3917
4335
 
3918
- &__divider {
3919
- display: block;
3920
- width: 100%;
3921
- border-bottom: 2px dashed #EFF1F6;
3922
- margin: 30px 0;
3923
- }
4336
+ &__btnBox {
4337
+ text-align: center;
4338
+ margin: rem(10) auto 0;
3924
4339
 
3925
- &__actions {
3926
- height: 35px;
4340
+ &__btn {
4341
+ height: 30px;
4342
+ width: 30px;
4343
+ font-size: 14px!important;
3927
4344
 
3928
- &__cancel {
3929
- margin-right: 19px;
3930
- background-color: white;
3931
- border-color: #dbdbdb;
3932
- color: $img-main-text;
3933
- }
4345
+ cursor: default;
3934
4346
 
3935
- &__save {
3936
- padding: 8px 18px;
3937
- margin: 0!important;
3938
- &--disable {
3939
- cursor: not-allowed;
4347
+ &:focus {
4348
+ box-shadow: none;
4349
+ }
4350
+ }
3940
4351
  }
3941
4352
  }
3942
4353
  }
3943
4354
  }
4355
+ }
3944
4356
 
3945
- .dropdown-menu {
3946
- left: -50%;
4357
+ @media screen and (max-width: 768px) {
4358
+ .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .upload-list__scroll {
4359
+ max-height: none!important;
4360
+
4361
+ .ng-scroll-content {
4362
+ margin: 0 !important;
4363
+ min-width: 100%!important;
4364
+ width: 100%!important;
4365
+ }
3947
4366
  }
3948
4367
  }
4368
+ $green: $really-bad-bad-bad-green !default;
4369
+ $primary: $primary-button !default;
4370
+ $light: $img-placeholder !default;
4371
+ $info: $wizishop-blue !default;
4372
+ $danger: $img-red-color !default;
4373
+ $dark: $img-dark !default;
3949
4374
 
3950
- .wz-img-manager .marginBottom {
3951
- margin-bottom: 20px;
3952
- }
4375
+ $button-padding-vertical: rem(7) !default;
4376
+ $radius: rem(3) !default;
4377
+
4378
+ $button-color: white!default;
4379
+ $button-hover-color: white !default;
4380
+ $button-focus-color: white !default;
4381
+ $button-active-color: white !default;
4382
+ $button-background-color: $primary !default;
4383
+ $button-disabled-background-color: $primary !default;
4384
+ $button-border-color: $primary-button-hover !default;
4385
+ $button-hover-border-color: $primary-button-hover !default;
4386
+ $button-active-border-color: $primary-button-hover !default;
4387
+ $button-focus-border-color: $primary-button-hover !default;
4388
+ $button-disabled-border-color: $primary-button-hover !default;
4389
+
4390
+ $tag-radius: rem(20px)!default;