@wizishop/img-manager 0.2.78 → 0.2.79

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -954,145 +954,306 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
954
954
  }
955
955
 
956
956
 
957
- .wz-img-manager {
958
-
959
- &__selectionHandler {
960
- margin-top: -50px;
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%;
961
965
  }
962
-
963
- &__module {
964
- position: fixed;
965
- bottom: 0;
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);
982
+ }
983
+ }
984
+ }
985
+ }
986
+ &__container {
987
+ position: absolute;
988
+ top: 0;
966
989
  left: 0;
967
990
  width: 100%;
968
- height: 0;
969
- transition: height .3s ease;
970
- z-index: 2147483647; // snackbar 10
971
- transform: translateZ(0);
972
-
973
- &:before {
974
- content: '';
975
- display: block;
991
+ height: 100%;
992
+ display: flex;
993
+ flex-wrap: wrap;
994
+ flex-direction: column;
995
+ justify-content: center;
996
+ align-items: center;
997
+ &__loader {
976
998
  position: absolute;
977
- top: 0;
978
- left: 0;
979
- width: 100%;
980
- height: 3px;
981
- background-color: $img-main-color;
982
- z-index: 999;
983
- }
984
-
985
- &--closed {
986
- height: 0;
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;
987
1009
  }
988
-
989
- // .wz-img-manager__module--small
990
- &--small {
991
- height: 320px;
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
+ }
992
1025
  }
993
-
994
- // .wz-img-manager__module--full
995
- &--full {
996
- height: calc(100vh - 50px);
1026
+ &__or {
1027
+ font-size: rem(14);
1028
+ line-height: rem(16);
1029
+ margin: 0 0 rem(20) !important;
997
1030
  }
998
-
999
- // .wz-img-manager__module--window
1000
- &--window {
1001
- position: relative;
1031
+ &__text {
1032
+ display: flex;
1033
+ align-items: center;
1034
+ justify-content: center;
1002
1035
  width: auto;
1003
- bottom: unset;
1004
- left: unset;
1005
- z-index: 29!important;
1006
- height: auto!important;
1007
- padding-bottom: 6.25rem;
1008
-
1009
- &:before {
1010
- content: none;
1011
- height: 0px;
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;
1012
1049
  }
1013
-
1014
- // .wz-img-manager__module--edit
1015
- &--edit {
1016
- .wrapper-tabs {
1017
- display: none;
1018
- }
1050
+ &:hover, &:focus {
1051
+ background-color: darken($img-green-color, 15%);
1019
1052
  }
1020
1053
  }
1054
+ }
1055
+ }
1056
+ //.wz-img-manager useful to keep the css priority
1057
+ .wz-img-manager .table-view {
1021
1058
 
1022
- // .wz-img-manager__module__header
1023
- &__header {
1024
- position: absolute;
1025
- bottom: 100%;
1026
- right: 30px;
1027
- width: 101px;
1028
-
1029
- // .wz-img-manager__module__header button
1030
- button {
1031
- width: 45px;
1032
- height: 35px;
1033
- background-color: $img-main-color;
1034
- transition: background-color .3s ease;
1035
- border: none;
1036
- box-shadow: none;
1037
- cursor: pointer;
1038
- outline: none!important;
1039
1059
 
1040
- span {
1041
- display: none;
1060
+ &__row {
1061
+ td {
1062
+ vertical-align: middle;
1042
1063
  }
1064
+ &__container {
1065
+ display: flex;
1066
+ align-items: center;
1067
+ width: 100%;
1043
1068
 
1044
- i {
1045
- color: #fff;
1046
- font-size: 20px;
1047
- &:before {
1048
- font-size: rem(20) !important;
1049
- }
1050
- }
1069
+ &__imgContainer {
1070
+ margin-right: 20px;
1071
+ position: relative;
1072
+ display: block;
1073
+ min-width: 60px;
1074
+ cursor: pointer;
1051
1075
 
1052
- &:hover, &:focus {
1053
- background-color: darken($img-main-color, 15%);
1054
- }
1076
+ &::before {
1077
+ content: '';
1078
+ display: block;
1079
+ padding-top: 100%;
1080
+ }
1055
1081
 
1056
- // .wz-img-manager__module__header button:first-child
1057
- &:first-child {
1058
- border-radius: 3px 0 0 0;
1059
- }
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
+ }
1060
1094
 
1061
- // .wz-img-manager__module__header button:last-child
1062
- &:last-child {
1063
- margin: 0 0 0 1px;
1064
- border-radius: 0 3px 0 0;
1065
- }
1066
- }
1067
- }
1068
- }
1069
- }
1095
+ &.imgSelected {
1070
1096
 
1071
- .wz-img-manager__module .wz-block {
1072
- background-color: #fff;
1073
- box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
1074
- padding: 0 0.575rem 0 1.075rem;
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
+ }
1075
1110
 
1076
- &--window {
1077
- padding: rem(30);
1078
- overflow: hidden;
1079
- max-width: 1450px;
1080
- margin: 0 auto;
1081
- }
1082
- }
1111
+ &__overlay {
1112
+ position: absolute;
1113
+ top: 25%;
1114
+ left: 25%;
1115
+ height: 100%;
1116
+ width: 100%;
1083
1117
 
1084
- .wz-img-manager__module .wz-block:hover {
1085
- box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.2);
1086
- }
1118
+ i {
1119
+ font-size: 30px;
1120
+ color: grey;
1121
+ }
1122
+ }
1123
+ }
1087
1124
 
1088
- .nwb-snack-bar .notification {
1089
- z-index: 10002!important;
1125
+ &__name {
1126
+ display: inline-block;
1127
+ background-color: transparent;
1128
+ white-space: nowrap;
1129
+ overflow: hidden;
1130
+ text-overflow: ellipsis;
1131
+ color: $main-text;
1132
+ font-size: 14px;
1133
+ cursor: initial;
1134
+ }
1135
+ }
1136
+ }
1137
+
1138
+ &__dropdown-options {
1139
+ &__label {
1140
+ &--disable {
1141
+ cursor: not-allowed;
1142
+ i {
1143
+ cursor: not-allowed;
1144
+ }
1145
+ }
1146
+ }
1147
+ }
1090
1148
  }
1091
1149
 
1092
- .nwb-snack-bar .column {
1093
- box-sizing: border-box;
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 {
1184
+ &__default {
1185
+ position: relative;
1186
+ &__base {
1187
+ position: relative;
1188
+ height: rem(32);
1189
+ input {
1190
+ font-size: rem(14);
1191
+ line-height: rem(24);
1192
+ color: $img-second-color;
1193
+ border: 1px solid $border-form;
1194
+ border-radius: 2px;
1195
+ height: rem(32);
1196
+ padding: 3px 26px 3px 15px;
1197
+ cursor: pointer;
1198
+ &:focus {
1199
+ cursor: text;
1200
+ padding: 3px 7px;
1201
+ & + i {
1202
+ opacity: 0;
1203
+ }
1204
+ }
1205
+ }
1206
+ i {
1207
+ position: absolute;
1208
+ font-size: rem(10);
1209
+ height: 6px;
1210
+ color: $img-second-color;
1211
+ right: 12px;
1212
+ top: 50%;
1213
+ transform: translateY(-125%);
1214
+ cursor: pointer;
1215
+ }
1216
+ }
1217
+ &__absolute {
1218
+ position: absolute;
1219
+ bottom: 100%;
1220
+ left: 0;
1221
+ border-radius: 2px 2px 0 0;
1222
+ background-color: $white;
1223
+ transform: translateY(1px);
1224
+ &__wrapper {
1225
+ width: 100%;
1226
+ display: flex;
1227
+ flex-direction: column;
1228
+ &:last-child {
1229
+ > div {
1230
+ border-bottom: 1px solid $border-form;
1231
+ }
1232
+ }
1233
+ &__item {
1234
+ padding: 3px 15px;
1235
+ width: 100%;
1236
+ color: $img-second-color;
1237
+ font-size: rem(14);
1238
+ line-height: rem(24);
1239
+ border-left: 1px solid $border-form;
1240
+ border-right: 1px solid $border-form;
1241
+ border-top: 1px solid $border-form;
1242
+ transition: .3s ease;
1243
+ cursor: pointer;
1244
+ text-align: center;
1245
+ &:hover, &:focus, &.selected {
1246
+ background-color: $wizishop-blue;
1247
+ color: $white;
1248
+ }
1249
+ }
1250
+ }
1251
+ }
1252
+ }
1094
1253
  }
1095
- $green: $really-bad-bad-bad-green !default;
1254
+ image-cropper {
1255
+ max-height: 60vh;
1256
+ }$green: $really-bad-bad-bad-green !default;
1096
1257
  $primary: $primary-button !default;
1097
1258
  $light: $img-placeholder !default;
1098
1259
  $info: $wizishop-blue !default;
@@ -1115,199 +1276,65 @@ $button-focus-border-color: $primary-button-hover !default;
1115
1276
  $button-disabled-border-color: $primary-button-hover !default;
1116
1277
 
1117
1278
  $tag-radius: rem(20px)!default;
1118
- //.wz-img-manager useful to keep the css priority
1119
- .wz-img-manager .canva-btn {
1120
- background-color: $img-main-color;
1121
- border: 2px solid $img-main-color;
1122
- padding: 0;
1123
- height: fit-content;
1124
- color: white;
1125
- padding-left: rem(9);
1126
- transition: .3s ease;
1127
- margin: 0!important;
1128
- &:hover, &:focus {
1129
- border-color: darken($img-main-color, 15%);
1130
- }
1131
- > span {
1132
- &:first-child {
1133
- z-index: 2;
1134
- position: relative;
1135
- transform: translateX(7px);
1136
- }
1137
- }
1138
- &__logo {
1139
- z-index: 1;
1140
- }
1141
- }
1142
-
1143
- .wz-img-manager .canva-btn .btnLoadingAnnimation {
1144
- background-color: $img-main-color;
1145
- cursor: not-allowed;
1146
- }
1279
+ .img-editor__infoSection__propertySEO__tooltips {
1280
+ i {
1281
+ font-size: rem(16);
1282
+ color: $main-text;
1283
+ }
1284
+ }.wz-img-manager .images-view {
1285
+ text-align: left;
1147
1286
 
1148
- .wz-img-manager .canva.dropdown {
1149
- z-index: 9999;
1150
- .dropdown-menu {
1151
- display: none!important;
1152
- margin-top: 10px!important;
1153
- &:before {
1154
- content: '';
1155
- display: block;
1156
- position: absolute;
1157
- bottom: 100%;
1158
- left: 0;
1159
- width: 100%;
1160
- height: 10px;
1287
+ &.fullSize {
1288
+ & + .images-view__scroll {
1289
+ max-height: 1160px;
1161
1290
  }
1162
1291
  }
1163
1292
 
1164
- .displayDropDownMenu {
1165
- display: block!important;
1166
- }
1293
+ &__scroll {
1294
+ position: relative;
1295
+ height: 100%;
1296
+ z-index: 1;
1167
1297
 
1168
- .dropdown-menu.dropDownShadow {
1169
- padding-bottom: 0;
1170
- padding-top: 0;
1171
- margin-top: 1px;
1172
- }
1298
+ &--full {
1299
+ max-height: calc(100vh - 160px)!important;
1300
+ min-height: calc(100vh - 160px) !important;
1301
+ }
1173
1302
 
1174
- .dropdown-menu {
1175
- min-width: 300px;
1176
- width: 300px;
1303
+ &--smallDisplay {
1304
+ max-height: 275px!important;
1305
+ }
1177
1306
 
1178
- .dropdown-content {
1179
- padding-top: 0px;
1307
+ &--smallUploadDisplay {
1308
+ max-height: 230px!important;
1180
1309
  }
1181
1310
 
1182
- .dropdown-item {
1183
- color: $img-grey-color;
1184
- display: flex;
1185
- justify-content: space-between;
1186
- align-items: center;
1187
- padding: 12px 20px;
1188
- margin: 0 0 5px;
1189
- &:last-child {
1190
- margin: 0;
1191
- }
1311
+ &--window {
1312
+ max-height: unset!important;
1313
+ }
1192
1314
 
1193
- p {
1194
- margin: 0;
1195
- line-height: rem(16);
1315
+ &--hide {
1316
+ &--mosaic {
1317
+ min-height: 100px !important;
1318
+ &--small {
1319
+ min-height: unset !important;
1320
+ }
1196
1321
  }
1197
-
1198
- p:first-child {
1199
- color: #1D2A3B;
1200
- font-size: rem(14);
1322
+ &--table {
1323
+ min-height: 170px !important;
1201
1324
  }
1202
1325
 
1203
- p:last-child {
1204
- color: #526384;
1205
- font-size: rem(14);
1206
- }
1207
1326
  }
1208
1327
 
1209
- .dropdown-item:hover {
1210
- background-color: whitesmoke;
1211
- cursor: pointer;
1212
- color: black;
1328
+ .ng-scroll-content {
1329
+ min-width: calc(100% - 1rem) !important;
1330
+ width: calc(100% - 1rem) !important;
1213
1331
  }
1332
+ }
1214
1333
 
1215
- .dropdown-item.expectedSizes {
1216
- font-weight: 500;
1217
- }
1218
-
1219
- .dropdownTitle {
1220
- font-size: 14px;
1221
- background-color: $img-main-color;
1222
- padding: rem(9.5) 0;
1223
- text-align: center;
1224
-
1225
- p {
1226
- font-size: 14px;
1227
- color: white;
1228
- margin: 0;
1229
- font-weight: 500;
1230
- }
1231
- }
1232
-
1233
- .infoItem {
1234
- padding: 18px 20px 11px 20px;
1235
- line-height: 1.5;
1236
- font-weight: 500;
1237
-
1238
- p {
1239
- margin: 0;
1240
- font-size: rem(16);
1241
- line-height: rem(19);
1242
- font-weight: 500;
1243
- }
1244
- }
1245
-
1246
- .dropdown-item-wrapper {
1247
- border: 1px solid #DEE2ED;
1248
- border-radius: 3px;
1249
- margin: 0 20px 5px 20px;
1250
- }
1251
- }
1252
- }
1253
-
1254
- .noTooltip .tooltip.is-tooltip-left:hover::before, .noTooltip .tooltip.is-tooltip-left:hover:not(.is-loading)::after {
1255
- display: none;
1256
- }
1257
- .wz-img-manager .images-view {
1258
- text-align: left;
1259
-
1260
- &.fullSize {
1261
- & + .images-view__scroll {
1262
- max-height: 1160px;
1263
- }
1264
- }
1265
-
1266
- &__scroll {
1267
- position: relative;
1268
- height: 100%;
1269
- z-index: 1;
1270
-
1271
- &--full {
1272
- max-height: calc(100vh - 160px)!important;
1273
- min-height: calc(100vh - 160px) !important;
1274
- }
1275
-
1276
- &--smallDisplay {
1277
- max-height: 275px!important;
1278
- }
1279
-
1280
- &--smallUploadDisplay {
1281
- max-height: 230px!important;
1282
- }
1283
-
1284
- &--window {
1285
- max-height: unset!important;
1286
- }
1287
-
1288
- &--hide {
1289
- &--mosaic {
1290
- min-height: 100px !important;
1291
- &--small {
1292
- min-height: unset !important;
1293
- }
1294
- }
1295
- &--table {
1296
- min-height: 170px !important;
1297
- }
1298
-
1299
- }
1300
-
1301
- .ng-scroll-content {
1302
- min-width: calc(100% - 1rem) !important;
1303
- width: calc(100% - 1rem) !important;
1304
- }
1305
- }
1306
-
1307
- &__container {
1308
- display: flex;
1309
- justify-content: space-between;
1310
- margin: 0 0 rem(20);
1334
+ &__container {
1335
+ display: flex;
1336
+ justify-content: space-between;
1337
+ margin: 0 0 rem(20);
1311
1338
 
1312
1339
  > div {
1313
1340
  display: flex;
@@ -1462,335 +1489,87 @@ $tag-radius: rem(20px)!default;
1462
1489
  }
1463
1490
  }
1464
1491
  }
1465
- .wz-img-manager .img-editor {
1466
- &__scroll {
1467
- position: relative;
1468
- height: 100%;
1469
-
1470
- &--full {
1471
- max-height: calc(100vh - 90px)!important;
1472
- min-height: calc(100vh - 90px) !important;
1473
- }
1474
-
1475
- &--smallDisplay {
1476
- max-height: 275px!important;
1477
- }
1478
-
1479
- &--window {
1480
- max-height: none;
1481
- }
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;
1482
1498
 
1483
- .ng-scroll-content {
1484
- margin-left: 0 !important;
1485
- margin-right: 0 !important;
1486
- min-width: calc(100% - 1rem) !important;
1487
- width: calc(100% - 1rem) !important;
1488
- }
1499
+ .wz-alert {
1500
+ width: 100%;
1501
+ background-color: transparentize($link-color, 0.85);
1502
+ color: $link-color;
1503
+ border-radius: 3px;
1504
+ display: flex;
1505
+ flex-wrap: nowrap;
1506
+ justify-content: space-between;
1507
+ padding: 20px;
1508
+ &.success {
1509
+ background-color: transparentize($green-color, 0.85);
1510
+ p {
1511
+ color: $success-color-p-alert;
1512
+ > * {
1513
+ color: $success-color-p-alert;
1514
+ }
1489
1515
  }
1490
-
1491
- .columns {
1492
- margin-right: 0.8rem;
1493
- margin-left: rem(12);
1494
- margin-top: 12px;
1495
- margin-bottom: 0;
1496
- width: calc(100% + 11px);
1497
-
1498
- .column {
1499
- padding-top: 0;
1500
- padding-bottom: 0px;
1501
- }
1516
+ i {
1517
+ color: $green-color;
1502
1518
  }
1503
-
1504
- &__head-container {
1505
- display: flex;
1506
- justify-content: flex-end;
1507
- align-items: center;
1508
- margin: 30px 30px 20px 0;
1509
-
1510
- &__btnGroup {
1511
- margin-right: 13px;
1512
- opacity: 0;
1513
- visibility: hidden;
1514
- transition: opacity .3s ease-in-out;
1515
-
1516
- &__visible {
1517
- opacity: 1;
1518
- visibility: visible;
1519
- }
1520
-
1521
- &__removeBtn {
1522
- margin-right: 13px;
1523
- }
1524
- }
1525
-
1526
- &__close {
1527
- cursor: pointer;
1528
- font-size: 14px;
1529
- color: $img-grey-color;
1530
- line-height: 40px;
1531
- }
1519
+ }
1520
+ &.warning {
1521
+ background-color: transparentize($primary-button, 0.85);
1522
+ p {
1523
+ color: $warning-color-p-alert;
1524
+ > * {
1525
+ color: $warning-color-p-alert;
1526
+ }
1532
1527
  }
1528
+ i {
1529
+ color: $primary-button;
1530
+ }
1531
+ }
1532
+ p {
1533
+ width: 100%;
1534
+ font-size: rem(14);
1535
+ line-height: rem(25);
1536
+ margin: 0;
1537
+ padding: 0;
1538
+ color: $default-color-p-alert;
1539
+ > * {
1540
+ color: $default-color-p-alert;
1541
+ }
1542
+ }
1543
+ i {
1544
+ width: auto;
1545
+ margin: 0 10px 0 0;
1546
+ color: inherit;
1547
+ font-size: rem(14);
1548
+ line-height: rem(25);
1549
+ }
1550
+ }
1551
+ // Warning: in webcomponent (for wizishop-com project) the following style are added by styles-handler.js script (hard-coded)
1552
+ .wz-img-manager .img-selection {
1553
+ background-color: white;
1554
+ margin-left: 1.875rem;
1555
+ margin-right: 1.875rem;
1556
+ transition: height .3s ease;
1557
+ //height: 0;
1558
+ display: flex;
1559
+ align-items: center;
1533
1560
 
1534
- &__container {
1535
- padding: 0.75rem!important;
1536
- display:flex;
1537
- justify-content: center;
1538
- align-items: center;
1539
- background-color: $img-gray-background;
1540
- margin: 0;
1541
- transform: translateY(-16px);
1542
-
1543
- &__toolsContainer {
1544
- display: flex;
1545
- justify-content: center;
1546
- align-items: center;
1547
- margin-bottom: 50px;
1548
-
1549
- &__tool {
1550
- color: $img-second-color;
1551
- margin-right: 30px;
1552
- text-align: center;
1553
- cursor: pointer;
1561
+ &--visible {
1562
+ height: 250px;
1563
+ margin: 0 0 40px;
1564
+ }
1565
+ }
1554
1566
 
1555
- p {
1556
- margin: 0!important;
1557
- color: $img-main-text;
1558
- font-size: rem(12);
1559
- line-height: rem(14);
1560
- }
1561
-
1562
- i {
1563
- font-size: rem(18);
1564
- margin: 0 0 10px;
1565
- }
1566
-
1567
- &--button {
1568
- background-color: $img-green-color;
1569
- color: $img-white!important;
1570
- padding: 10px;
1571
- border-radius: 3px;
1572
- transition: .3s ease;
1573
- white-space: nowrap;
1574
- display: flex;
1575
- justify-content: center;
1576
- align-items: center;
1577
- position: absolute;
1578
- top: 80px;
1579
- left: 50%;
1580
- transform: translateX(-50%);
1581
- height: 35px;
1582
- margin: 0;
1583
- &:hover, &:focus {
1584
- background-color: darken($img-green-color, 15%);
1585
- color: $img-white!important;
1586
- }
1587
- p {
1588
- color: $white!important;
1589
- }
1590
- i {
1591
- margin: 0 5px 0 0;
1592
- }
1593
- }
1594
- &:hover {
1595
- color: $img-main-color;
1596
- }
1597
-
1598
- > * {
1599
- -webkit-touch-callout: none; /* iOS Safari */
1600
- -webkit-user-select: none; /* Safari */
1601
- -khtml-user-select: none; /* Konqueror HTML */
1602
- -moz-user-select: none; /* Old versions of Firefox */
1603
- -ms-user-select: none; /* Internet Explorer/Edge */
1604
- user-select: none; /* Non-prefixed version, currently
1605
- supported by Chrome, Edge, Opera and Firefox */
1606
- }
1607
- }
1608
-
1609
- &__RotationDropdown {
1610
- min-width: 16rem;
1611
- }
1612
- }
1613
-
1614
- &__name {
1615
- font-size: 16px;
1616
- max-width: 50%;
1617
- color: $img-grey-color;
1618
- text-align: center;
1619
- white-space: nowrap;
1620
- overflow: hidden;
1621
- text-overflow: ellipsis;
1622
- }
1623
-
1624
- .button {
1625
- min-height: 35px;
1626
- background-color: $img-primary-button;
1627
- border-color: $img-primary-button-hover;
1628
- color: #ffffff;
1629
- }
1630
- }
1631
-
1632
- &__image-cropper {
1633
- --cropper-overlay-color: #f5f8fa;
1634
- //--cropper-outline-color: #a5a5a573;
1635
- padding-bottom: 30px;
1636
- }
1637
-
1638
- &__infoSection {
1639
- font-size: 14px;
1640
- max-width: 360px;
1641
- padding: 0;
1642
- margin: 0 rem(30) 0 0;
1643
-
1644
- &__propertyEditable {
1645
- margin-bottom: 31px;
1646
- p {
1647
- margin-bottom: 12px;
1648
- font-size: 14px;
1649
- }
1650
- input, button {
1651
- width: 100%;
1652
- height: 40px;
1653
- border: 1px solid #DEE2ED;
1654
- border-radius: 3px;
1655
- color: $img-main-text;
1656
- padding-left: 20px;
1657
- padding-right: 20px;
1658
- display: flex;
1659
- justify-content: space-between;
1660
- font-size: 14px;
1661
-
1662
- &:hover {
1663
- color: $img-main-color;
1664
- border-color: $img-main-color;
1665
- }
1666
- }
1667
-
1668
- button {
1669
- align-items: center;
1670
- background-color: transparent;
1671
- cursor: pointer;
1672
- }
1673
-
1674
- &__span, &__input {
1675
- text-overflow: ellipsis;
1676
- overflow: hidden;
1677
- white-space: nowrap;
1678
- }
1679
-
1680
- &__span {
1681
- color: $img-bleu-color;
1682
- & + i {
1683
- color: $img-bleu-color;
1684
- font-weight: 600;
1685
- }
1686
- }
1687
-
1688
- &__tooltips {
1689
- margin-left: 10px;
1690
- }
1691
- }
1692
-
1693
- &__property {
1694
- &:nth-child(3), &:nth-child(4) {
1695
- margin: 0;
1696
- }
1697
- p {
1698
- font-size: 14px;
1699
- display: inline-block;
1700
- }
1701
-
1702
- .mainColor {
1703
- margin: 0!important;
1704
- }
1705
-
1706
- p:last-child {
1707
- margin: 0 0 0 10px;
1708
- color: #526384;
1709
- }
1710
- }
1711
-
1712
- &__titleSEO {
1713
- margin: 0 0 20px;
1714
-
1715
- .mainColor {
1716
- font-size: rem(18);
1717
- font-weight: 500;
1718
- }
1719
- }
1720
-
1721
- &__propertySEO {
1722
- margin-bottom: 12px;
1723
- p {
1724
- font-size: 14px;
1725
- display: inline-block;
1726
- margin: 0;
1727
- }
1728
-
1729
- .mainColor {
1730
- & ~ p {
1731
- margin-left: 10px;
1732
- color: $img-green-color;
1733
- }
1734
- }
1735
- }
1736
-
1737
- &__divider {
1738
- display: block;
1739
- width: 100%;
1740
- border-bottom: 2px dashed #EFF1F6;
1741
- margin: 30px 0;
1742
- }
1743
-
1744
- &__actions {
1745
- height: 35px;
1746
-
1747
- &__cancel {
1748
- margin-right: 19px;
1749
- background-color: white;
1750
- border-color: #dbdbdb;
1751
- color: $img-main-text;
1752
- }
1753
-
1754
- &__save {
1755
- padding: 8px 18px;
1756
- margin: 0!important;
1757
- &--disable {
1758
- cursor: not-allowed;
1759
- }
1760
- }
1761
- }
1762
- }
1763
-
1764
- .dropdown-menu {
1765
- left: -50%;
1766
- }
1767
- }
1768
-
1769
- .wz-img-manager .marginBottom {
1770
- margin-bottom: 20px;
1771
- }
1772
- // Warning: in webcomponent (for wizishop-com project) the following style are added by styles-handler.js script (hard-coded)
1773
- .wz-img-manager .img-selection {
1774
- background-color: white;
1775
- margin-left: 1.875rem;
1776
- margin-right: 1.875rem;
1777
- transition: height .3s ease;
1778
- //height: 0;
1779
- display: flex;
1780
- align-items: center;
1781
-
1782
- &--visible {
1783
- height: 250px;
1784
- margin: 0 0 40px;
1785
- }
1786
- }
1787
-
1788
- .drag__img {
1789
- max-width: 100px;
1790
- max-height: 100px;
1791
- border: 1px solid #dce0e3;
1792
- background-color: white;
1793
- }
1567
+ .drag__img {
1568
+ max-width: 100px;
1569
+ max-height: 100px;
1570
+ border: 1px solid #dce0e3;
1571
+ background-color: white;
1572
+ }
1794
1573
 
1795
1574
  .img_box {
1796
1575
  overflow: hidden;
@@ -1926,373 +1705,423 @@ $tag-radius: rem(20px)!default;
1926
1705
  .trash {
1927
1706
  display: none!important;
1928
1707
  }
1929
- //.wz-img-manager useful to keep the css priority
1930
- .wz-img-manager .img-tabs {
1931
- background-color: white;
1932
- padding-left: 0;
1933
- padding-right: 0;
1934
- padding-top: 0;
1935
-
1936
- .tabs {
1937
- margin: 0;
1938
- display: flex;
1939
- align-items: center;
1940
- overflow: visible!important;
1941
-
1942
- &--notWindow {
1943
- padding: rem(20) rem(30) rem(20);
1944
- margin-left: -1.075rem;
1945
- margin-right: -0.575rem;
1946
- margin-bottom: 0;
1947
- }
1948
-
1949
- ul {
1950
- width: auto;
1951
- border: none;
1952
- li {
1953
- a {
1954
- padding: 0 0 rem(10);
1955
- margin: 0 rem(30) 0 0;
1956
- position: relative;
1957
- line-height: rem(16);
1958
- border: none;
1959
- color: $secondary-color;
1960
- transition: color .3s ease;
1961
- font-size: rem(14);
1962
- font-weight: 400;
1963
- }
1964
- &.is-active {
1965
- a {
1966
- color: $main-text;
1967
- &:after {
1968
- content: '';
1969
- display: block;
1970
- position: absolute;
1971
- width: 100%;
1972
- height: 2px;
1973
- background-color: $img-main-color;
1974
- bottom: 0;
1975
- left: 0;
1976
- }
1977
- }
1978
- }
1979
- }
1708
+ .wz-img-manager .is-checkradio[type='checkbox'] {
1709
+ outline: 0 !important;
1710
+ & + label {
1711
+ font-size: rem(14);
1712
+ line-height: rem(24);
1713
+ color: $input-radio-color-label;
1714
+ padding-left: 26px;
1715
+ outline: 0 !important;
1716
+ &:before {
1717
+ width: 16px;
1718
+ height: 16px;
1719
+ border: 1px solid $border-color;
1720
+ top: 4px;
1721
+ transition: all 0.3s ease-in-out;
1980
1722
  }
1981
- }
1982
-
1983
- &__canva {
1984
- margin: 0 0 0 rem(30);
1985
- }
1986
-
1987
- &__tabsEdit {
1988
- > .column {
1989
- padding: 0!important;
1723
+ &:after {
1724
+ top: 6.3px !important;
1725
+ left: 3px !important;
1726
+ width: 10px;
1727
+ height: 12px;
1728
+ border: none !important;
1729
+ background: transparent
1730
+ url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='check' viewBox='0 0 512 512' class='svg-inline--fa fa-check fa-w-16 fa-5x'%3E%3Cpath fill='%23ffffff' d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'/%3E%3C/svg%3E")
1731
+ center center / 8px 8px no-repeat;
1732
+ transform: scale(1) translateY(0px) translateX(0px) rotate(0deg) !important;
1733
+ transition: all 0.3s ease-in-out;
1990
1734
  }
1991
- }
1992
-
1993
- &__tabsFirst {
1994
- height: 100vh;
1995
-
1996
- &--window {
1997
- height: auto;
1998
- display: flex;
1999
- justify-content: flex-start;
1735
+ &:hover,
1736
+ &:focus {
1737
+ &:before {
1738
+ border-color: $input-active-color !important;
1739
+ }
2000
1740
  }
2001
-
2002
- &__upload {
2003
- margin: rem(28) 0 0 0;
2004
- padding: 0;
2005
- max-width: 33.3%;
1741
+ &:before,
1742
+ &:after {
1743
+ outline: 0 !important;
2006
1744
  }
2007
-
2008
- &__list {
2009
- padding: 0;
2010
- margin: rem(28) 0 0 rem(60);
2011
- &--upload {
2012
- margin: rem(28) 0 0 rem(48);
1745
+ }
1746
+ &:hover {
1747
+ & + label {
1748
+ color: $input-radio-color-active-label;
1749
+ &:before {
1750
+ border-color: $input-active-color !important;
1751
+ }
1752
+ &:after {
1753
+ border-color: $white !important;
2013
1754
  }
2014
- //height: calc(100vh - 70px);
2015
- //height: 100vh;
2016
1755
  }
2017
- }
2018
-
2019
- @media screen and (max-width: 768px) {
2020
- .img-tabs__tabsFirst__upload {
2021
- margin-right: 0;
2022
- margin-bottom: 0;
2023
- margin-top: 20px!important;
1756
+ &:not([disabled]) {
1757
+ & + label {
1758
+ &:before {
1759
+ border-color: $input-active-color !important;
1760
+ }
1761
+ }
2024
1762
  }
2025
1763
  }
2026
-
2027
- &__tabsSecond {
2028
- min-height: 100vh !important;
2029
- margin-left: 0px;
2030
- margin-right: 0px;
2031
- margin-bottom: 0px;
2032
-
2033
- .column {
2034
- padding: 0.75rem 0 0.75rem 0;
1764
+ &:checked + label {
1765
+ color: $input-radio-color-active-label;
1766
+ &:before {
1767
+ border: 1px solid $input-active-color;
1768
+ background-color: $input-active-color;
1769
+ transition: all 0.3s ease-in-out;
2035
1770
  }
2036
- }
2037
-
2038
- &__tabsThird {
2039
- min-height: 100vh !important;
2040
- margin-left: 0px;
2041
- margin-right: 0px;
2042
- margin-bottom: 0px;
2043
-
2044
- .column {
2045
- padding: 0.75rem 0 0.75rem 0;
1771
+ &:after {
1772
+ left: 7px;
1773
+ top: 8px;
1774
+ transition: all 0.3s ease-in-out;
2046
1775
  }
2047
1776
  }
2048
1777
  }
2049
1778
 
2050
- @media screen and (max-width: 768px) {
2051
- .img-tabs__tabsFirst {
2052
- margin-top: 0;
2053
- }
2054
-
2055
- .img-tabs__tabsFirst--small {
2056
- height: 270px;
2057
- }
2058
- }
2059
-
2060
- .wz-img-manager .img-tabs .columns.img-tabs__tabsFirst {
2061
- margin: 0;
2062
- }
2063
- .img-upload {
2064
- position: relative;
2065
- 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");
2066
- border-radius: 3px;
2067
- &:before {
2068
- content: '';
2069
- display: block;
2070
- padding-top: 110.82%;
1779
+ .wz-img-manager .field {
1780
+ &__row {
1781
+ min-width: 100%;
1782
+ margin: 0 0 10px;
2071
1783
  }
2072
- &--small {
2073
- &:before {
2074
- padding-top: 202px;
1784
+ &--nowrap {
1785
+ display: inline-block;
1786
+ width: auto;
1787
+ min-width: 0;
1788
+ margin: 0 10px 10px 0;
1789
+ .field {
1790
+ &__row {
1791
+ width: auto;
1792
+ display: inline-block;
1793
+ margin: 0;
1794
+ }
2075
1795
  }
2076
- .img-upload {
2077
- &__container {
2078
- .blueColor {
2079
- img {
2080
- min-width: rem(30);
2081
- }
2082
- }
2083
- &__or {
2084
- margin: rem(10) 0;
1796
+ }
1797
+ &.alone {
1798
+ .is-checkradio[type='checkbox'] {
1799
+ & + label {
1800
+ padding: 0;
1801
+ &:before {
1802
+ border-width: 1px;
1803
+ width: 16px;
1804
+ height: 16px;
1805
+ border-radius: 2px;
2085
1806
  }
2086
- &__text {
2087
- padding: rem(8) rem(20);
1807
+ }
1808
+ &:checked + label {
1809
+ &:after {
1810
+ top: 7px;
1811
+ transform: scale(1.1) translateY(1px) translateX(6px) rotate(45deg);
2088
1812
  }
2089
1813
  }
2090
1814
  }
2091
1815
  }
2092
- &__container {
2093
- position: absolute;
2094
- top: 0;
1816
+ }
1817
+ .wz-img-manager {
1818
+
1819
+ &__selectionHandler {
1820
+ margin-top: -50px;
1821
+ }
1822
+
1823
+ &__module {
1824
+ position: fixed;
1825
+ bottom: 0;
2095
1826
  left: 0;
2096
1827
  width: 100%;
2097
- height: 100%;
2098
- display: flex;
2099
- flex-wrap: wrap;
2100
- flex-direction: column;
2101
- justify-content: center;
2102
- align-items: center;
2103
- &__loader {
1828
+ height: 0;
1829
+ transition: height .3s ease;
1830
+ z-index: 2147483647; // snackbar 10
1831
+ transform: translateZ(0);
1832
+
1833
+ &:before {
1834
+ content: '';
1835
+ display: block;
2104
1836
  position: absolute;
2105
- top: 50%;
2106
- left: 50%;
2107
- transform: translate(-50%,-50%);
2108
- max-width: 300px;
2109
- max-height: 300px;
2110
- display: flex;
2111
- flex-wrap: wrap;
2112
- flex-direction: column;
2113
- justify-content: center;
2114
- align-items: center;
1837
+ top: 0;
1838
+ left: 0;
1839
+ width: 100%;
1840
+ height: 3px;
1841
+ background-color: $img-main-color;
1842
+ z-index: 999;
2115
1843
  }
2116
- .blueColor {
2117
- img {
2118
- min-width: rem(65);
2119
- display: block;
2120
- max-width: rem(65);
2121
- margin: 0 auto rem(15);
2122
- transform: translate(10px);
2123
- }
2124
- p {
2125
- color: $border-upload-color;
2126
- font-size: rem(16);
2127
- line-height: rem(19);
2128
- font-weight: 500;
2129
- margin: 0 auto rem(20);
2130
- }
2131
- }
2132
- &__or {
2133
- font-size: rem(14);
2134
- line-height: rem(16);
2135
- margin: 0 0 rem(20) !important;
2136
- }
2137
- &__text {
2138
- display: flex;
2139
- align-items: center;
2140
- justify-content: center;
2141
- width: auto;
2142
- border-radius: 3px;
2143
- padding: rem(12) rem(20);
2144
- color: $white;
2145
- font-size: rem(14);
2146
- line-height: rem(16);
2147
- white-space: nowrap;
2148
- background-color: $img-green-color;
2149
- transition: .3s ease;
2150
- font-weight: 500;
2151
- cursor: pointer;
2152
- i {
2153
- margin: 0 rem(6) 0 0;
2154
- font-weight: 500;
2155
- }
2156
- &:hover, &:focus {
2157
- background-color: darken($img-green-color, 15%);
2158
- }
2159
- }
2160
- }
2161
- }
2162
- //.wz-img-manager useful to keep the css priority
2163
- .wz-img-manager .wz-loader {
2164
- &.is-small {
2165
- right: 0;
2166
- left: 0;
2167
- top: 0;
2168
- transform: scale(0.6);
2169
- }
2170
- margin-bottom: rem(80);
2171
1844
 
2172
- @keyframes rotate {
2173
- 0% {
2174
- transform: rotate(0deg);
2175
- }
2176
- 50% {
2177
- transform: rotate(180deg);
2178
- }
2179
- 100% {
2180
- transform: rotate(360deg);
1845
+ &--closed {
1846
+ height: 0;
2181
1847
  }
2182
- }
2183
1848
 
2184
- @keyframes rotate2 {
2185
- 0% {
2186
- transform: rotate(0deg);
2187
- border-top-color: $img-color-loader;
2188
- }
2189
- 50% {
2190
- transform: rotate(180deg);
2191
- border-top-color: $img-color-loader2;
1849
+ // .wz-img-manager__module--small
1850
+ &--small {
1851
+ height: 320px;
2192
1852
  }
2193
- 100% {
2194
- transform: rotate(360deg);
2195
- border-top-color: $img-color-loader;
1853
+
1854
+ // .wz-img-manager__module--full
1855
+ &--full {
1856
+ height: calc(100vh - 50px);
2196
1857
  }
2197
- }
2198
1858
 
2199
- @mixin loaderDivMixin {
2200
- border-radius: 50%;
2201
- padding: rem(8);
2202
- border: rem(2) solid transparent;
2203
- animation: rotate linear 3.5s infinite;
2204
- }
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;
2205
1868
 
2206
- .loader {
2207
- position: relative;
2208
- margin: rem(75) auto;
2209
- width: rem(150);
2210
- height: rem(150);
2211
- display: block;
2212
- overflow: hidden;
2213
- div {
2214
- height: 100%;
1869
+ &:before {
1870
+ content: none;
1871
+ height: 0px;
1872
+ }
1873
+
1874
+ // .wz-img-manager__module--edit
1875
+ &--edit {
1876
+ .wrapper-tabs {
1877
+ display: none;
1878
+ }
1879
+ }
2215
1880
  }
2216
- }
2217
1881
 
2218
- /* loader 1 */
2219
- .loader1,
2220
- .loader1 div {
2221
- @include loaderDivMixin;
2222
- border-top-color: $img-color-loader;
2223
- border-bottom-color: $img-color-loader2;
2224
- }
1882
+ // .wz-img-manager__module__header
1883
+ &__header {
1884
+ position: absolute;
1885
+ bottom: 100%;
1886
+ right: 30px;
1887
+ width: 101px;
2225
1888
 
2226
- div:hover {
2227
- animation-play-state: paused;
2228
- }
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;
2229
1899
 
2230
- .loader,
2231
- .loader * {
2232
- will-change: transform;
2233
- }
1900
+ span {
1901
+ display: none;
1902
+ }
2234
1903
 
2235
- p {
2236
- margin-top: -50px;
2237
- font-weight: 500;
2238
- }
2239
- }
2240
- // .pexels-lib
2241
- //.wz-img-manager useful to keep the css priority
2242
- .wz-img-manager .pexels-lib {
2243
- width: 100%;
1904
+ i {
1905
+ color: #fff;
1906
+ font-size: 20px;
1907
+ &:before {
1908
+ font-size: rem(20) !important;
1909
+ }
1910
+ }
2244
1911
 
2245
- &__scroll {
2246
- position: relative;
2247
- max-height: calc(100vh - 50px)!important;
2248
- height: 100%;
1912
+ &:hover, &:focus {
1913
+ background-color: darken($img-main-color, 15%);
1914
+ }
2249
1915
 
2250
- &--smallDisplay {
2251
- max-height: 275px!important;
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
+ }
1926
+ }
2252
1927
  }
2253
1928
  }
1929
+ }
2254
1930
 
2255
- &__search {
2256
- margin: 30px 0;
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;
2257
1935
 
2258
- &--smallDisplay {
2259
- margin-top: 10px;
1936
+ &--window {
1937
+ padding: rem(30);
1938
+ overflow: hidden;
1939
+ max-width: 1450px;
1940
+ margin: 0 auto;
2260
1941
  }
2261
- }
2262
-
2263
- // .pexels-lib__wrapper
2264
- &__wrapper {
2265
- margin: 30px 0;
1942
+ }
2266
1943
 
2267
- // .pexels-lib__wrapper__result
2268
- &__result {
2269
- width: calc(100% + 10px);
2270
- display: flex;
2271
- flex-direction: row;
2272
- justify-content: space-between;
2273
- margin-left: -5px;
1944
+ .wz-img-manager__module .wz-block:hover {
1945
+ box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.2);
1946
+ }
2274
1947
 
2275
- // .pexels-lib__wrapper__result__column
2276
- &__column {
2277
- flex: 1;
2278
- margin: 0 5px;
1948
+ .nwb-snack-bar .notification {
1949
+ z-index: 10002!important;
1950
+ }
2279
1951
 
2280
- // .pexels-lib__wrapper__result__column__element
2281
- &__element {
2282
- display: flex;
2283
- position: relative;
1952
+ .nwb-snack-bar .column {
1953
+ box-sizing: border-box;
1954
+ }
1955
+ .wz-img-manager .dropdownWizi {
1956
+ padding: 10px;
2284
1957
 
2285
- // .pexels-lib__wrapper__result__column__element:hover
2286
- &:hover {
2287
- // .pexels-lib__wrapper__result__column__element:hover .pexels-lib__wrapper__result__column__element__wrapper
2288
- .pexels-lib__wrapper__result__column__element__wrapper {
2289
- opacity: 1;
2290
- transition: opacity .3s ease-in-out;
1958
+ &.is-hoverable {
1959
+ .rotate {
1960
+ i {
1961
+ @include simple_transition();
1962
+ transform: rotate(90deg);
1963
+ cursor: pointer;
2291
1964
  }
2292
- }
1965
+ }
1966
+ &:hover,
1967
+ &:active {
1968
+ .rotate:not(.rotate--disable) {
1969
+ i {
1970
+ @include simple_transition();
1971
+ transform: rotate(0deg);
1972
+ }
1973
+ }
1974
+ }
1975
+ }
2293
1976
 
2294
- // .pexels-lib__wrapper__result__column__element:not(:last-child)
2295
- &:not(:last-child) {
1977
+ &:not(.is-hoverable) {
1978
+ .rotate {
1979
+ i {
1980
+ @include simple_transition();
1981
+ transform: rotate(90deg);
1982
+ }
1983
+ }
1984
+ }
1985
+
1986
+ .dropdown-item.active-item {
1987
+ background-color: #F5F8FA;
1988
+
1989
+ p, i {
1990
+ color: #1D2A3B;
1991
+ }
1992
+ }
1993
+
1994
+ .dropdown-item {
1995
+ margin-left: 10px;
1996
+ margin-right: 10px;
1997
+ cursor: pointer;
1998
+
1999
+ i {
2000
+ margin-right: 8px;
2001
+ }
2002
+ p, i {
2003
+ color: #526384;
2004
+ display: inline-block;
2005
+ }
2006
+
2007
+ p {
2008
+ margin-top: 0;
2009
+ margin-bottom: 0;
2010
+ }
2011
+
2012
+ > * {
2013
+ -webkit-touch-callout: none; /* iOS Safari */
2014
+ -webkit-user-select: none; /* Safari */
2015
+ -khtml-user-select: none; /* Konqueror HTML */
2016
+ -moz-user-select: none; /* Old versions of Firefox */
2017
+ -ms-user-select: none; /* Internet Explorer/Edge */
2018
+ user-select: none; /* Non-prefixed version, currently
2019
+ supported by Chrome, Edge, Opera and Firefox */
2020
+ }
2021
+
2022
+ &:hover {
2023
+ background-color: #F5F8FA;
2024
+ p, i {
2025
+ color: $img-main-color;
2026
+ }
2027
+ }
2028
+ }
2029
+
2030
+ .dropdown-content {
2031
+ &:before {
2032
+ content: '';
2033
+ display: block;
2034
+ position: absolute;
2035
+ bottom: 100%;
2036
+ left: 90%;
2037
+ transform: translateX(-50%) translateY(5px);
2038
+ width: 0;
2039
+ height: 0;
2040
+ border-style: solid;
2041
+ border-width: 0 6px 8px 6px;
2042
+ border-color: transparent transparent #fff transparent;
2043
+ z-index: 2;
2044
+ }
2045
+ &:after {
2046
+ content: '';
2047
+ display: block;
2048
+ position: absolute;
2049
+ bottom: 100%;
2050
+ left: 90%;
2051
+ transform: translateX(-50%) translateY(4px);
2052
+ width: 0;
2053
+ height: 0;
2054
+ border-style: solid;
2055
+ border-width: 0 6px 8px 6px;
2056
+ border-color: transparent transparent #dddddd transparent;
2057
+ opacity: 0.5;
2058
+ z-index: 1;
2059
+ }
2060
+ }
2061
+
2062
+ .dropdown-menu {
2063
+ top: 80%;
2064
+ }
2065
+ }
2066
+
2067
+ .dropdownWizi:not(.is-hoverable) {
2068
+ cursor: not-allowed;
2069
+ }// .pexels-lib
2070
+ //.wz-img-manager useful to keep the css priority
2071
+ .wz-img-manager .pexels-lib {
2072
+ width: 100%;
2073
+
2074
+ &__scroll {
2075
+ position: relative;
2076
+ max-height: calc(100vh - 50px)!important;
2077
+ height: 100%;
2078
+
2079
+ &--smallDisplay {
2080
+ max-height: 275px!important;
2081
+ }
2082
+ }
2083
+
2084
+ &__search {
2085
+ margin: 30px 0;
2086
+
2087
+ &--smallDisplay {
2088
+ margin-top: 10px;
2089
+ }
2090
+ }
2091
+
2092
+ // .pexels-lib__wrapper
2093
+ &__wrapper {
2094
+ margin: 30px 0;
2095
+
2096
+ // .pexels-lib__wrapper__result
2097
+ &__result {
2098
+ width: calc(100% + 10px);
2099
+ display: flex;
2100
+ flex-direction: row;
2101
+ justify-content: space-between;
2102
+ margin-left: -5px;
2103
+
2104
+ // .pexels-lib__wrapper__result__column
2105
+ &__column {
2106
+ flex: 1;
2107
+ margin: 0 5px;
2108
+
2109
+ // .pexels-lib__wrapper__result__column__element
2110
+ &__element {
2111
+ display: flex;
2112
+ position: relative;
2113
+
2114
+ // .pexels-lib__wrapper__result__column__element:hover
2115
+ &:hover {
2116
+ // .pexels-lib__wrapper__result__column__element:hover .pexels-lib__wrapper__result__column__element__wrapper
2117
+ .pexels-lib__wrapper__result__column__element__wrapper {
2118
+ opacity: 1;
2119
+ transition: opacity .3s ease-in-out;
2120
+ }
2121
+ }
2122
+
2123
+ // .pexels-lib__wrapper__result__column__element:not(:last-child)
2124
+ &:not(:last-child) {
2296
2125
  margin-bottom: 10px;
2297
2126
  }
2298
2127
 
@@ -2422,242 +2251,95 @@ $tag-radius: rem(20px)!default;
2422
2251
  cursor: pointer;
2423
2252
  }
2424
2253
  }
2425
- //.wz-img-manager useful to keep the css priority
2426
- .wz-img-manager .upload-list {
2427
- text-align: left;
2428
- font-size: 14px;
2429
- color: #23272B;
2254
+ .mosaic {
2255
+ width: 100%;
2256
+ display: flex;
2257
+ flex-wrap: wrap;
2258
+ position: relative;
2259
+ min-height: rem(512);
2430
2260
 
2431
- &.smallDisplay {
2432
- .upload-list__box__cards__card {
2433
- width: 125px;
2434
- }
2261
+ &--displayPexelsImg {
2262
+ min-height: unset;
2435
2263
  }
2436
2264
 
2437
- &__scroll {
2438
- position: relative;
2439
- height: 100%;
2440
-
2441
- &--smallDisplay {
2442
- max-height: 260px!important;
2443
-
2444
- .upload-list__box {
2445
- margin-bottom: 20px;
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
+ }
2446
2305
  }
2306
+ }
2447
2307
  }
2448
-
2449
- &--window {
2450
- max-height: none;
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;
2451
2325
  }
2452
-
2453
- .ng-scroll-content {
2454
- margin-left: 0.5rem !important;
2455
- margin-right: 0.5rem !important;
2456
- min-width: calc(100% - 1rem) !important;
2457
- width: calc(100% - 1rem) !important;
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;
2458
2341
  }
2459
- }
2460
-
2461
- &__box {
2462
- margin: 0 0.8rem 30px 0.3rem;
2463
- padding: 30px;
2464
- background-color: $img-gray-background;
2465
- margin-right: 12px;
2466
- margin-left: 5px;
2467
- border-radius: 3px;
2468
-
2469
- &__container {
2470
- display: flex;
2471
- justify-content: space-between;
2472
- align-items: center;
2473
-
2474
- p {
2475
- display: inline;
2476
- }
2477
-
2478
- .dropdown {
2479
- vertical-align: baseline;
2480
- &:hover {
2481
- .dropdown-trigger i {
2482
- color: $img-main-color;
2483
- }
2484
- }
2485
- .dropdown-trigger {
2486
- display: inline;
2487
- i {
2488
- color: $img-secondary-text;
2489
- margin-left: 10px;
2490
- }
2491
- }
2492
-
2493
- .dropdown-menu {
2494
- padding: 0;
2495
- width: 370px;
2496
- left: -190px;
2497
- margin-top: 3px;
2498
-
2499
- .dropdown-item {
2500
- display: flex;
2501
- justify-content: left;
2502
- align-items: center;
2503
-
2504
- p {
2505
- margin: 0;
2506
- }
2507
-
2508
- p:first-child {
2509
- color: $img-main-text;
2510
- font-size: 14px;
2511
- }
2512
-
2513
- p:last-child {
2514
- color: $img-green-color;
2515
- font-size: 14px;
2516
- margin-left: 10px;
2517
- }
2518
- }
2519
- }
2520
- }
2521
- }
2522
-
2523
- &__cards {
2524
- padding-top: 15px;
2525
- margin-left: 5px;
2526
- display: flex;
2527
- justify-content: left;
2528
- flex-wrap: wrap;
2529
- align-items: center;
2530
- margin-right: -9px;
2531
- width: calc(100% + 24px);
2532
- transform: translateX(-12px);
2533
- &__card {
2534
- width: 198px;
2535
- margin: 0 12px 12px;
2536
- & > * {
2537
- width: 100%;
2538
- }
2539
-
2540
- &__btnBox {
2541
- text-align: center;
2542
- margin: rem(10) auto 0;
2543
-
2544
- &__btn {
2545
- height: 30px;
2546
- width: 30px;
2547
- font-size: 14px!important;
2548
-
2549
- cursor: default;
2550
-
2551
- &:focus {
2552
- box-shadow: none;
2553
- }
2554
- }
2555
- }
2556
- }
2557
- }
2558
- }
2559
- }
2560
-
2561
- @media screen and (max-width: 768px) {
2562
- .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .upload-list__scroll {
2563
- max-height: none!important;
2564
-
2565
- .ng-scroll-content {
2566
- margin: 0 !important;
2567
- min-width: 100%!important;
2568
- width: 100%!important;
2569
- }
2570
- }
2571
- }
2572
- .mosaic {
2573
- width: 100%;
2574
- display: flex;
2575
- flex-wrap: wrap;
2576
- position: relative;
2577
- min-height: rem(512);
2578
-
2579
- &--displayPexelsImg {
2580
- min-height: unset;
2581
- }
2582
-
2583
- &:not(.fullSize) {
2584
- width: calc(100% + 24px);
2585
- transform: translateX(-12px);
2586
- .mosaic__container__cards {
2587
- padding-bottom: 40px;
2588
- > * {
2589
- width: calc(25% - 24px);
2590
- margin: 0 12px rem(24) 12px;
2591
- @include media('>=desktop','<1300px') {
2592
- width: calc(33.33% - 24px);
2593
- margin: 0 12px rem(24) 12px;
2594
- }
2595
- }
2596
- }
2597
- &.small {
2598
- min-height: 0;
2599
- .mosaic__container__loader {
2600
- top: 0;
2601
- transform: translateX(-50%);
2602
- max-height: 200px;
2603
- }
2604
- .mosaic {
2605
- &__container {
2606
- &__cards {
2607
- padding-bottom: 40px;
2608
- > * {
2609
- width: calc(12.5% - 24px);
2610
- margin: 0 12px rem(24) 12px;
2611
- @include media('>=1400px','<1600px') {
2612
- width: calc(14% - 24px);
2613
- margin: 0 12px rem(24) 12px;
2614
- }
2615
- @include media('>=1200px','<1400px') {
2616
- width: calc(16.66% - 24px);
2617
- margin: 0 12px rem(24) 12px;
2618
- }
2619
- @include media('>=desktop','<1200px') {
2620
- width: calc(20% - 24px);
2621
- margin: 0 12px rem(24) 12px;
2622
- }
2623
- }
2624
- }
2625
- }
2626
- }
2627
- }
2628
- }
2629
- &.fullSize {
2630
- width: calc(100% + 24px);
2631
- transform: translateX(-12px);
2632
- @include media('<420px') {
2633
- width: 100%;
2634
- transform: none;
2635
- }
2636
- .mosaic__container__cards {
2637
- > * {
2638
- width: calc(16.66% - 24px);
2639
- margin: 0 12px rem(24) 12px;
2640
- @include media('>=1400px','<1600px') {
2641
- width: calc(20% - 24px);
2642
- margin: 0 12px rem(24) 12px;
2643
- }
2644
- @include media('>=desktop','<1400px') {
2645
- width: calc(25% - 24px);
2646
- margin: 0 12px rem(24) 12px;
2647
- }
2648
- @include media('>=tablet','<desktop') {
2649
- width: calc(33.33% - 24px);
2650
- margin: 0 12px rem(24) 12px;
2651
- }
2652
- @include media('>=400px','<tablet') {
2653
- width: calc(50% - 24px);
2654
- margin: 0 12px rem(24) 12px;
2655
- }
2656
- @include media('<420px') {
2657
- width: 100%;
2658
- margin: 0 0 15px;
2659
- }
2660
- }
2342
+ }
2661
2343
  }
2662
2344
  &.small {
2663
2345
  .mosaic__container__loader {
@@ -2731,1205 +2413,1523 @@ $tag-radius: rem(20px)!default;
2731
2413
  }
2732
2414
  }
2733
2415
  }
2734
- //.wz-img-manager useful to keep the css priority
2735
- .wz-img-manager .table-view {
2416
+ $card-img-size: 100%;
2417
+ $card-img-size-small: 140px;
2736
2418
 
2419
+ //.wz-img-manager useful to keep the css priority
2420
+ .wz-img-manager .addCssPriority .img-card {
2421
+ display: flex;
2422
+ flex-wrap: wrap;
2423
+ justify-content: center;
2424
+ padding: 0 0 rem(5);
2425
+ width: 100%;
2426
+ overflow: hidden;
2737
2427
 
2738
- &__row {
2739
- td {
2740
- vertical-align: middle;
2428
+ &__container {
2429
+ width: 100%!important;
2430
+ height: auto!important;
2431
+ display: flex;
2432
+ border-radius: 3px;
2433
+ border: 1px solid $img-light-white-color;
2434
+ cursor: pointer;
2435
+ overflow: hidden;
2436
+ transition: .3s ease;
2437
+ position: relative;
2438
+ margin: 0 0 rem(10);
2439
+ &:before {
2440
+ content: '';
2441
+ display: block;
2442
+ padding-top: 100%;
2741
2443
  }
2742
- &__container {
2743
- display: flex;
2744
- align-items: center;
2745
- width: 100%;
2746
-
2747
- &__imgContainer {
2748
- margin-right: 20px;
2749
- position: relative;
2750
- display: block;
2751
- min-width: 60px;
2752
- cursor: pointer;
2753
2444
 
2754
- &::before {
2755
- content: '';
2756
- display: block;
2757
- padding-top: 100%;
2758
- }
2445
+ &.imgSelected {
2759
2446
 
2760
- &__img {
2761
- margin: 0!important;
2762
- position: absolute;
2763
- top: 50%;
2764
- left: 50%;
2765
- max-width: 100%;
2766
- max-height:100%;
2767
- width: auto;
2768
- height: auto;
2769
- transform: translate(-50%, -50%);
2770
- object-fit: contain;
2447
+ &:after {
2448
+ z-index: 1000;
2449
+ content: '';
2450
+ display: block;
2451
+ position: absolute;
2452
+ width: 100%;
2453
+ height: 4px;
2454
+ background-color: $img-main-color;
2455
+ bottom: 0;
2456
+ left: 0;
2457
+ transform: translateZ(0);
2458
+ }
2459
+ }
2460
+
2461
+ &__valid {
2462
+ display: flex;
2463
+ position: absolute;
2464
+ top: 100%;
2465
+ left: 50%;
2466
+ transform: translate(-50%,0);
2467
+ justify-content: center;
2468
+ align-items: center;
2469
+ width: auto;
2470
+ background-color: $img-green-color;
2471
+ border-radius: 3px;
2472
+ padding: 5px;
2473
+ transition: .3s ease;
2474
+ i {
2475
+ font-size: rem(10);
2476
+ color: $white;
2477
+ margin: 0 5px 0 0;
2478
+ }
2479
+ span {
2480
+ color: $white;
2481
+ font-weight: 500;
2482
+ font-size: rem(10);
2483
+ }
2484
+ }
2485
+
2486
+ &:hover, &:focus {
2487
+ .img-card__container {
2488
+ &__valid {
2489
+ transform: translate(-50%, -40px);
2490
+ }
2491
+ }
2492
+ }
2493
+
2494
+ &__img {
2495
+ width: auto!important;
2496
+ height: auto!important;
2497
+ background-color: white;
2498
+ margin: auto;
2499
+ transition: .3s ease;
2500
+ position: absolute;
2501
+ object-fit: contain;
2502
+ max-width: 100%;
2503
+ max-height: 100%;
2504
+ top: 50%;
2505
+ left: 50%;
2506
+ transform: translate(-50%,-50%);
2507
+ }
2508
+
2509
+ &__config {
2510
+ position: relative;
2511
+ top: 10px;
2512
+ left: 10px;
2513
+ transform: none;
2514
+ z-index: 9999;
2515
+ width: 30px;
2516
+ opacity: 0;
2517
+ transition: .3s ease;
2518
+
2519
+ button {
2520
+ box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
2521
+ margin: 0;
2522
+ width: 30px;
2523
+ height: 30px;
2524
+ box-sizing: content-box;
2525
+ border-radius: 3px;
2526
+ border: none;
2527
+ color: #fff;
2528
+ transform: translateX(-40px);
2529
+ will-change: transform;
2530
+ cursor: pointer;
2531
+ padding: 0;
2532
+ display: flex;
2533
+ justify-content: center;
2534
+ align-content: center;
2535
+ align-items: center;
2536
+
2537
+ i {
2538
+ font-size: 16px;
2539
+ color: #fff;
2540
+ position: relative;
2541
+ z-index: 3;
2771
2542
  }
2772
2543
 
2773
- &.imgSelected {
2544
+ &:before {
2545
+ content: '';
2546
+ display: block;
2547
+ position: absolute;
2548
+ top: 0;
2549
+ left: 0;
2550
+ border-radius: 3px;
2551
+ width: 100%;
2552
+ height: 100%;
2553
+ z-index: 2;
2554
+ }
2774
2555
 
2775
- &:after {
2776
- z-index: 1000;
2777
- content: '';
2778
- display: block;
2779
- position: absolute;
2780
- width: 100%;
2781
- height: 4px;
2782
- background-color: $img-main-color;
2783
- bottom: 0;
2784
- left: 0;
2785
- transform: translateZ(0);
2786
- }
2556
+ span {
2557
+ position: absolute;
2558
+ left: 100%;
2559
+ display: flex;
2560
+ justify-content: center;
2561
+ align-items: center;
2562
+ align-content: center;
2563
+ height: 100%;
2564
+ margin-left: -10px;
2565
+ width: auto;
2566
+ padding: 0 10px 0 0;
2567
+ color: #fff;
2568
+ text-transform: capitalize;
2569
+ font-size: 14px;
2570
+ border-radius: 0 3px 3px 0;
2571
+ max-width: 0;
2572
+ overflow: hidden;
2573
+ z-index: 1;
2574
+ transition: .3s ease;
2575
+ box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
2576
+ white-space: nowrap;
2787
2577
  }
2788
2578
 
2789
- &__overlay {
2790
- position: absolute;
2791
- top: 25%;
2792
- left: 25%;
2793
- height: 100%;
2794
- width: 100%;
2579
+ &:not(:last-child) {
2580
+ margin: 0 0 5px;
2581
+ }
2582
+ &.size {
2583
+ background-color: #1E2E43;
2584
+ transition: transform .3s ease .6s;
2585
+ span, &:before {
2586
+ background-color: #1E2E43;
2587
+ }
2588
+ }
2589
+ &.dl {
2590
+ background-color: $img-bleu-action;
2591
+ transition: transform .3s ease .45s;
2592
+ span, &:before {
2593
+ background-color: $img-bleu-action;
2594
+ }
2595
+ }
2596
+ &.edit {
2597
+ background-color: $img-orange-color;
2598
+ transition: transform .3s ease .3s;
2599
+ span, &:before {
2600
+ background-color: $img-orange-color;
2601
+ }
2602
+ }
2603
+ &.deleted {
2604
+ background-color: $img-red-color;
2605
+ transition: transform .3s ease .15s;
2606
+ span, &:before {
2607
+ background-color: $img-red-color;
2608
+ }
2609
+ }
2610
+ &.selected {
2611
+ background-color: #fff;
2612
+ border-color: $img-light-white-color;
2613
+ transition: transform .3s ease;
2614
+ span, &:before {
2615
+ background-color: #fff;
2616
+ color: $img-grey-color;
2617
+ }
2795
2618
 
2796
- i {
2797
- font-size: 30px;
2798
- color: grey;
2799
- }
2619
+ i {
2620
+ color: $img-light-white-color;
2621
+ }
2622
+ .checked {
2623
+ color: $img-bleu-color;
2624
+ }
2800
2625
  }
2626
+ &:hover, &:focus {
2627
+ border-radius: 3px 0 0 3px;
2628
+ &:before {
2629
+ border-radius: 3px 0 0 3px;
2630
+ }
2631
+ span {
2632
+ transition: max-width 1s ease, margin-left .3s ease;
2633
+ max-width: 1000px;
2634
+ margin-left: -1px;
2635
+ padding-left: 4px;
2636
+ will-change: transform, margin;
2637
+ }
2638
+ }
2639
+ }
2640
+ }
2641
+
2642
+ &__overlay {
2643
+ position: absolute;
2644
+ top: 0;
2645
+ left: 0;
2646
+ height: 100%;
2647
+ width: 100%;
2648
+ display: flex;
2649
+ justify-content: center;
2650
+ align-items: center;
2651
+
2652
+ i {
2653
+ font-size: 100px;
2654
+ color: grey;
2655
+ }
2656
+
2657
+ &--smallDisplay {
2658
+ i {
2659
+ font-size: 75px;
2801
2660
  }
2661
+ }
2662
+ }
2802
2663
 
2803
- &__name {
2804
- display: inline-block;
2805
- background-color: transparent;
2806
- white-space: nowrap;
2807
- overflow: hidden;
2808
- text-overflow: ellipsis;
2809
- color: $main-text;
2810
- font-size: 14px;
2811
- cursor: initial;
2664
+ &__delete {
2665
+ position: absolute;
2666
+ top: 0;
2667
+ left: 0;
2668
+ width: 100%;
2669
+ height: 100%;
2670
+ background-color: rgba(0,0,0,.45);
2671
+ display: flex;
2672
+ flex-direction: column;
2673
+ justify-content: center;
2674
+ align-items: center;
2675
+ padding: 15px;
2676
+ visibility: hidden;
2677
+ transform: translateY(100%);
2678
+ opacity: 0;
2679
+ z-index: 9999;
2680
+ transition: visibility 0s linear .35s, opacity .3s ease, transform .3s ease;
2681
+ &.show {
2682
+ transform: translateY(0);
2683
+ opacity: 1;
2684
+ visibility: visible;
2685
+ transition: visibility 0s linear, opacity .3s ease .05s, transform .3s ease .05s;
2686
+ }
2687
+ > span {
2688
+ font-size: rem(14);
2689
+ color: $img-white;
2690
+ font-weight: 600;
2691
+ text-align: center;
2692
+ display: inline-block;
2693
+ margin: 0 0 10px;
2694
+ }
2695
+ > div {
2696
+ display: flex;
2697
+ > button {
2698
+ padding: 7px 12px;
2699
+ font-size: rem(14);
2700
+ color: $img-white;
2701
+ background-color: $img-red-color;
2702
+ font-weight: 600;
2703
+ border: none;
2704
+ margin: 0 0 0 5px;
2705
+ text-transform: capitalize;
2706
+ transition: .3s ease;
2707
+ &:hover, &:focus {
2708
+ background-color: darken($img-red-color, 15%);
2709
+ }
2710
+ &:first-child {
2711
+ background-color: $img-main-color;
2712
+ margin: 0 5px 0 0;
2713
+ &:hover, &:focus {
2714
+ background-color: darken($img-main-color, 15%);
2715
+ }
2716
+ }
2812
2717
  }
2718
+ }
2813
2719
  }
2814
2720
  }
2815
2721
 
2816
- &__dropdown-options {
2817
- &__label {
2818
- &--disable {
2819
- cursor: not-allowed;
2820
- i {
2821
- cursor: not-allowed;
2822
- }
2722
+ &__nameContainer {
2723
+ text-align: center;
2724
+ overflow: hidden;
2725
+ max-width: 100%;
2726
+ min-width: 100%;
2727
+ position: relative;
2728
+ width: auto;
2729
+ display: flex;
2730
+ justify-content: center;
2731
+ align-items: center;
2732
+ min-height: rem(16);
2733
+
2734
+ &.focus {
2735
+ overflow: visible;
2736
+ }
2737
+
2738
+ > span {
2739
+ padding: 0 rem(10);
2740
+ font-size: rem(12);
2741
+ line-height: rem(14);
2742
+ color: $img-grey-color;
2743
+ width: auto;
2744
+ white-space: nowrap;
2745
+ overflow: hidden;
2746
+ text-overflow: ellipsis;
2747
+ text-align: center;
2748
+ display: inline-block;
2749
+ transition: .3s ease;
2750
+ pointer-events: none;
2751
+ max-width: 100%;
2752
+ }
2753
+
2754
+ &__name {
2755
+ margin: 0;
2756
+ padding: 5px;
2757
+ font-size: rem(12);
2758
+ color: $img-grey-color;
2759
+ line-height: rem(14);
2760
+ text-align: center;
2761
+ width: 100%;
2762
+ min-width: 100%;
2763
+ white-space: nowrap;
2764
+ overflow: hidden;
2765
+ text-overflow: ellipsis;
2766
+ transition: .3s ease;
2767
+ cursor: initial;
2768
+ max-width: 100%;
2769
+ position: absolute;
2770
+ top: 0;
2771
+ left: 0;
2772
+ opacity: 0;
2773
+ &:focus {
2774
+ opacity: 1;
2775
+ transform: translateY(-5px);
2776
+ & + span {
2777
+ opacity: 0;
2778
+ }
2779
+ }
2780
+ }
2781
+ }
2782
+
2783
+ &:hover, &:focus {
2784
+ z-index: 3;
2785
+ .img-card {
2786
+ &__nameContainer {
2787
+ overflow: visible;
2788
+ &__name {
2789
+ color: #52AECD;
2790
+ transform: translateY(-5px);
2791
+ }
2823
2792
  }
2793
+
2794
+ &__container {
2795
+ border-color: $wizishop-blue;
2796
+ &__img {
2797
+ transform: scale(1.02) translate(-50%,-50%);
2798
+ }
2799
+ &__config {
2800
+ opacity: 1;
2801
+ button {
2802
+ transform: translateX(0);
2803
+ &.size {
2804
+ transition: transform .3s ease;
2805
+ }
2806
+ &.dl {
2807
+ transition: transform .3s ease .15s;
2808
+ }
2809
+ &.edit {
2810
+ transition: transform .3s ease .3s;
2811
+ }
2812
+ &.deleted {
2813
+ transition: transform .3s ease .45s;
2814
+ }
2815
+ &.selected {
2816
+ transition: transform .3s ease .6s;
2817
+ }
2818
+ }
2819
+ }
2820
+ }
2824
2821
  }
2825
2822
  }
2826
- }
2823
+ }
2824
+
2825
+ .wz-img-manager .addCssPriority .img-card .smallDisplay,.wz-img-manager .img-card .smallDisplay img {
2826
+ width: $card-img-size-small;
2827
+ height: $card-img-size-small;
2828
+ }
2829
+
2830
+ .wz-img-manager .addCssPriority .smallNameDisplay .img-card__nameContainer__name {
2831
+ width: $card-img-size-small;
2832
+ }
2833
+ .wz-img-manager .wz-table {
2834
+ width: 100%;
2835
+
2836
+ &__head {
2837
+ @include flexbox();
2838
+ @include flex-flow(row nowrap);
2839
+ width: 100%;
2840
+ border-top: 1px solid $textarea-border-color;
2841
+ border-bottom: 1px solid $textarea-border-color;
2842
+ background-color: $gray-background;
2843
+
2844
+ &__cell {
2845
+ @include flexbox();
2846
+ @include flex(1);
2847
+ padding: 15px 20px;
2848
+ font-size: 14px;
2849
+ line-height: 20px;
2850
+ color: $main-text;
2851
+ font-weight: 600;
2852
+
2853
+ &--checkbox {
2854
+ @include flex(none);
2855
+ width: 80px;
2856
+ padding: 10px 20px 6px 20px;
2857
+ > * {
2858
+ transform: translateX(15px);
2859
+ }
2860
+ }
2861
+
2862
+ &__search {
2863
+ color: $main-text;
2864
+ padding-right: 23px;
2865
+ transition: background-image 0.3s ease-in-out;
2866
+ cursor: text;
2867
+
2868
+ &:hover {
2869
+ color: $main-text;
2870
+ }
2871
+
2872
+ &--idle {
2873
+ background: transparent
2874
+ 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")
2875
+ center right / 14px 14px no-repeat;
2876
+ transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
2877
+ cursor: pointer;
2878
+
2879
+ &:hover {
2880
+ transition: color 0.3s ease-in-out;
2881
+ }
2882
+ }
2883
+
2884
+ &--up {
2885
+ background: transparent
2886
+ 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")
2887
+ center right / 14px 14px no-repeat;
2888
+ transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
2889
+ cursor: pointer;
2890
+
2891
+ &:hover {
2892
+ transition: color 0.3s ease-in-out;
2893
+ }
2894
+ }
2895
+
2896
+ &--down {
2897
+ background: transparent
2898
+ 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")
2899
+ center right / 14px 14px no-repeat;
2900
+ transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
2901
+ cursor: pointer;
2902
+
2903
+ &:hover {
2904
+ transition: color 0.3s ease-in-out;
2905
+ }
2906
+ }
2907
+ }
2908
+
2909
+ &--center--left {
2910
+ @include align-items(center);
2911
+ @include justify-content(left);
2912
+ }
2913
+ &--center--center {
2914
+ @include align-items(center);
2915
+ @include justify-content(center);
2916
+ }
2917
+ &--center--right {
2918
+ @include align-items(center);
2919
+ @include justify-content(right);
2920
+ }
2921
+ }
2922
+ }
2827
2923
 
2828
- .wz-img-manager .table-view .checked {
2829
- color: $img-main-color;
2830
- }
2924
+ // TODO delete __search
2925
+ &__search {
2926
+ height: 100px;
2927
+ margin-top: 10px;
2928
+ }
2831
2929
 
2832
- .wz-img-manager .table-view .checked.disabled {
2833
- color: grey;
2834
- }
2930
+ &__body {
2931
+ width: 100%;
2932
+ margin-top: -10px;
2835
2933
 
2934
+ &__loader {
2935
+ position: relative;
2936
+ min-height: 200px;
2937
+ }
2836
2938
 
2837
- .wz-img-manager .table-view .disabled {
2838
- cursor: not-allowed;
2839
- }
2939
+ &__line {
2940
+ @include flexbox();
2941
+ @include flex-flow(row nowrap);
2942
+ width: 100%;
2943
+ border-bottom: 1px solid $textarea-border-color;
2840
2944
 
2945
+ &__cell {
2946
+ @include flexbox();
2947
+ @include flex(1);
2948
+ padding: 20px 20px 20px 20px;
2949
+ font-size: 14px;
2950
+ line-height: 25px;
2951
+ color: $secondary-color;
2841
2952
 
2842
- .wz-img-manager .is-wizi-hoverable .dropdown-trigger:before {
2843
- width: 5rem;
2844
- }
2953
+ &--checkbox {
2954
+ @include flexbox();
2955
+ @include flex(none);
2956
+ @include justify-content(center);
2957
+ @include align-items(center);
2958
+ width: 80px;
2959
+ padding: 8px 20px;
2960
+ }
2845
2961
 
2846
- .table-view .wzImgMngInput {
2847
- border-radius: 3px;
2962
+ &--center--left {
2963
+ @include align-items(center);
2964
+ @include justify-content(left);
2965
+ }
2966
+ &--center--center {
2967
+ @include align-items(center);
2968
+ @include justify-content(center);
2969
+ }
2970
+ &--center--right {
2971
+ @include align-items(center);
2972
+ @include justify-content(right);
2973
+ }
2974
+ }
2975
+ }
2976
+ }
2848
2977
  }
2978
+ .wz-img-manager .wz-pagination {
2979
+ width: 100%;
2980
+ padding: 0;
2849
2981
 
2850
- .table-view .wzImgMngInput:active.desabled, .table-view .wzImgMngInput:focus.desabled {
2851
- border: solid transparent 1px;
2852
- }
2982
+ &__wrapper {
2983
+ @include flexbox();
2984
+ @include justify-content(flex-end);
2985
+ padding: 0 17px 0 0;
2853
2986
 
2854
- .wz-img-manager .table-view .dropdown-menu {
2855
- left: -165px;
2856
- }
2987
+ &__page {
2988
+ margin-right: 30px;
2989
+ padding: 4px 0 5px 0;
2857
2990
 
2858
- .grey {
2859
- color: $img-grey-color;
2860
- }
2861
- image-cropper {
2862
- max-height: 60vh;
2863
- }.img-editor__infoSection__propertySEO__tooltips {
2864
- i {
2865
- font-size: rem(16);
2866
- color: $main-text;
2867
- }
2868
- }$default-color-p-alert: #1e5568;
2869
- $success-color-p-alert: #11552e;
2870
- $warning-color-p-alert: #3a0505;
2871
- $primary-button: #e95656;
2872
- $link-color: #52aecd;
2873
- $green-color: #2ecc71;
2991
+ @include flexbox();
2874
2992
 
2875
- .wz-alert {
2876
- width: 100%;
2877
- background-color: transparentize($link-color, 0.85);
2878
- color: $link-color;
2879
- border-radius: 3px;
2880
- display: flex;
2881
- flex-wrap: nowrap;
2882
- justify-content: space-between;
2883
- padding: 20px;
2884
- &.success {
2885
- background-color: transparentize($green-color, 0.85);
2886
- p {
2887
- color: $success-color-p-alert;
2888
- > * {
2889
- color: $success-color-p-alert;
2993
+ p {
2994
+ margin: 4px 11px 4px 0;
2995
+ font-size: 14px;
2996
+ line-height: 24px;
2997
+ color: $second-color;
2890
2998
  }
2891
- }
2892
- i {
2893
- color: $green-color;
2894
- }
2895
- }
2896
- &.warning {
2897
- background-color: transparentize($primary-button, 0.85);
2898
- p {
2899
- color: $warning-color-p-alert;
2900
- > * {
2901
- color: $warning-color-p-alert;
2999
+
3000
+ select {
3001
+ width: 50px;
3002
+ font-size: 14px;
3003
+ line-height: 24px;
3004
+ color: $second-color;
3005
+ padding: 3px 26px 3px 15px;
3006
+ border: 1px solid $border-form;
3007
+ border-radius: 3px;
3008
+ -webkit-appearance: none;
3009
+ -moz-appearance: none;
3010
+ text-indent: 0;
3011
+ text-overflow: '';
3012
+ background: transparent
3013
+ 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")
3014
+ top 8px right 12px / 10px 10px no-repeat;
2902
3015
  }
2903
- }
2904
- i {
2905
- color: $primary-button;
2906
- }
2907
- }
2908
- p {
2909
- width: 100%;
2910
- font-size: rem(14);
2911
- line-height: rem(25);
2912
- margin: 0;
2913
- padding: 0;
2914
- color: $default-color-p-alert;
2915
- > * {
2916
- color: $default-color-p-alert;
2917
- }
2918
- }
2919
- i {
2920
- width: auto;
2921
- margin: 0 10px 0 0;
2922
- color: inherit;
2923
- font-size: rem(14);
2924
- line-height: rem(25);
2925
- }
2926
- }
2927
- .wz-img-manager .is-checkradio[type='checkbox'] {
2928
- outline: 0 !important;
2929
- & + label {
2930
- font-size: rem(14);
2931
- line-height: rem(24);
2932
- color: $input-radio-color-label;
2933
- padding-left: 26px;
2934
- outline: 0 !important;
2935
- &:before {
2936
- width: 16px;
2937
- height: 16px;
2938
- border: 1px solid $border-color;
2939
- top: 4px;
2940
- transition: all 0.3s ease-in-out;
2941
- }
2942
- &:after {
2943
- top: 6.3px !important;
2944
- left: 3px !important;
2945
- width: 10px;
2946
- height: 12px;
2947
- border: none !important;
2948
- background: transparent
2949
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='check' viewBox='0 0 512 512' class='svg-inline--fa fa-check fa-w-16 fa-5x'%3E%3Cpath fill='%23ffffff' d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'/%3E%3C/svg%3E")
2950
- center center / 8px 8px no-repeat;
2951
- transform: scale(1) translateY(0px) translateX(0px) rotate(0deg) !important;
2952
- transition: all 0.3s ease-in-out;
2953
- }
2954
- &:hover,
2955
- &:focus {
2956
- &:before {
2957
- border-color: $input-active-color !important;
3016
+
3017
+ select::-ms-expand {
3018
+ display: none;
2958
3019
  }
2959
3020
  }
2960
- &:before,
2961
- &:after {
2962
- outline: 0 !important;
2963
- }
2964
- }
2965
- &:hover {
2966
- & + label {
2967
- color: $input-radio-color-active-label;
2968
- &:before {
2969
- border-color: $input-active-color !important;
2970
- }
2971
- &:after {
2972
- border-color: $white !important;
3021
+
3022
+ &__elements {
3023
+ margin-right: 30px;
3024
+
3025
+ p {
3026
+ margin: 8px 0 9px 0;
3027
+ font-size: 14px;
3028
+ line-height: 24px;
3029
+ color: $dark;
2973
3030
  }
2974
3031
  }
2975
- &:not([disabled]) {
2976
- & + label {
2977
- &:before {
2978
- border-color: $input-active-color !important;
3032
+
3033
+ &__arrows {
3034
+ @include flexbox();
3035
+
3036
+ &__arrow {
3037
+ width: 40px;
3038
+ height: 40px;
3039
+ padding: 9px 14px;
3040
+ border: 1px solid $border-form;
3041
+ border-radius: 3px;
3042
+ cursor: pointer;
3043
+ display: flex;
3044
+ align-items: center;
3045
+
3046
+ span {
3047
+ display: inline-block;
3048
+ width: 10px;
3049
+ height: 15px;
3050
+ }
3051
+
3052
+ &--left {
3053
+ margin-right: 10px;
3054
+
3055
+ span {
3056
+ background: transparent
3057
+ 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")
3058
+ center center / 10px 12px no-repeat;
3059
+ }
3060
+ }
3061
+
3062
+ &--right {
3063
+ span {
3064
+ background: transparent
3065
+ 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")
3066
+ center center / 10px 12px no-repeat;
3067
+ }
3068
+ }
3069
+
3070
+ &--disabled {
3071
+ border-color: $background-color;
3072
+ background-color: $background-color;
2979
3073
  }
2980
3074
  }
2981
3075
  }
2982
3076
  }
2983
- &:checked + label {
2984
- color: $input-radio-color-active-label;
2985
- &:before {
2986
- border: 1px solid $input-active-color;
2987
- background-color: $input-active-color;
2988
- transition: all 0.3s ease-in-out;
2989
- }
2990
- &:after {
2991
- left: 7px;
2992
- top: 8px;
2993
- transition: all 0.3s ease-in-out;
3077
+ }
3078
+ .wz-img-manager .input-search.field {
3079
+ padding: 10px 20px;
3080
+ background-color: $gray-background;
3081
+ &.small-padding {
3082
+ padding: 10px 20px;
3083
+ }
3084
+ .input,
3085
+ .input:focus,
3086
+ .input.is-focused,
3087
+ .input:active,
3088
+ .input.is-active {
3089
+ font-size: rem(14);
3090
+ color: $main-text;
3091
+ border: rem(1) solid $input-border-search;
3092
+ box-shadow: none;
3093
+ padding: rem(13.5) rem(20) rem(13.5) rem(48);
3094
+ border-radius: rem(3);
3095
+ margin: 0;
3096
+ height: auto;
3097
+ min-height: unset;
3098
+
3099
+ &::placeholder {
3100
+ color: $placeholder-color;
3101
+ font-weight: normal;
2994
3102
  }
2995
3103
  }
2996
- }
2997
3104
 
2998
- .wz-img-manager .field {
2999
- &__row {
3000
- min-width: 100%;
3001
- margin: 0 0 10px;
3105
+ .input:focus,
3106
+ .input.is-focused,
3107
+ .input:active,
3108
+ .input.is-active {
3109
+ border-color: $wizishop-blue;
3002
3110
  }
3003
- &--nowrap {
3004
- display: inline-block;
3005
- width: auto;
3006
- min-width: 0;
3007
- margin: 0 10px 10px 0;
3008
- .field {
3009
- &__row {
3010
- width: auto;
3011
- display: inline-block;
3012
- margin: 0;
3013
- }
3014
- }
3111
+
3112
+ .icon {
3113
+ position: absolute;
3114
+ top: 50%;
3115
+ left: 20px;
3116
+ font-size: rem(18);
3117
+ transform: translateY(-50%);
3118
+ pointer-events: none;
3119
+ font-weight: 400;
3120
+ color: $placeholder-color;
3121
+ margin: 0;
3122
+ width: rem(18);
3123
+ height: rem(18);
3015
3124
  }
3016
- &.alone {
3017
- .is-checkradio[type='checkbox'] {
3018
- & + label {
3019
- padding: 0;
3020
- &:before {
3021
- border-width: 1px;
3022
- width: 16px;
3023
- height: 16px;
3024
- border-radius: 2px;
3025
- }
3026
- }
3027
- &:checked + label {
3028
- &:after {
3029
- top: 7px;
3030
- transform: scale(1.1) translateY(1px) translateX(6px) rotate(45deg);
3031
- }
3125
+ }
3126
+
3127
+ .wz-img-manager .wz-img-manager__module:not(.wz-img-manager__module--window) .pexels-lib__search .input-search.field {
3128
+ padding: 0;
3129
+ background-color: transparent;
3130
+ }
3131
+ //.wz-img-manager useful to keep the css priority
3132
+ .wz-img-manager .canva-btn {
3133
+ background-color: $img-main-color;
3134
+ border: 2px solid $img-main-color;
3135
+ padding: 0;
3136
+ height: fit-content;
3137
+ color: white;
3138
+ padding-left: rem(9);
3139
+ transition: .3s ease;
3140
+ margin: 0!important;
3141
+ &:hover, &:focus {
3142
+ border-color: darken($img-main-color, 15%);
3143
+ }
3144
+ > span {
3145
+ &:first-child {
3146
+ z-index: 2;
3147
+ position: relative;
3148
+ transform: translateX(7px);
3032
3149
  }
3033
3150
  }
3034
- }
3151
+ &__logo {
3152
+ z-index: 1;
3153
+ }
3035
3154
  }
3036
- .wz-img-manager .dropdownWizi {
3037
- padding: 10px;
3038
3155
 
3039
- &.is-hoverable {
3040
- .rotate {
3041
- i {
3042
- @include simple_transition();
3043
- transform: rotate(90deg);
3044
- cursor: pointer;
3045
- }
3046
- }
3047
- &:hover,
3048
- &:active {
3049
- .rotate:not(.rotate--disable) {
3050
- i {
3051
- @include simple_transition();
3052
- transform: rotate(0deg);
3053
- }
3054
- }
3055
- }
3156
+ .wz-img-manager .canva-btn .btnLoadingAnnimation {
3157
+ background-color: $img-main-color;
3158
+ cursor: not-allowed;
3159
+ }
3160
+
3161
+ .wz-img-manager .canva.dropdown {
3162
+ z-index: 9999;
3163
+ .dropdown-menu {
3164
+ display: none!important;
3165
+ margin-top: 10px!important;
3166
+ &:before {
3167
+ content: '';
3168
+ display: block;
3169
+ position: absolute;
3170
+ bottom: 100%;
3171
+ left: 0;
3172
+ width: 100%;
3173
+ height: 10px;
3174
+ }
3056
3175
  }
3057
3176
 
3058
- &:not(.is-hoverable) {
3059
- .rotate {
3060
- i {
3061
- @include simple_transition();
3062
- transform: rotate(90deg);
3063
- }
3064
- }
3177
+ .displayDropDownMenu {
3178
+ display: block!important;
3065
3179
  }
3066
3180
 
3067
- .dropdown-item.active-item {
3068
- background-color: #F5F8FA;
3181
+ .dropdown-menu.dropDownShadow {
3182
+ padding-bottom: 0;
3183
+ padding-top: 0;
3184
+ margin-top: 1px;
3185
+ }
3069
3186
 
3070
- p, i {
3071
- color: #1D2A3B;
3187
+ .dropdown-menu {
3188
+ min-width: 300px;
3189
+ width: 300px;
3190
+
3191
+ .dropdown-content {
3192
+ padding-top: 0px;
3072
3193
  }
3073
- }
3074
3194
 
3075
- .dropdown-item {
3076
- margin-left: 10px;
3077
- margin-right: 10px;
3078
- cursor: pointer;
3195
+ .dropdown-item {
3196
+ color: $img-grey-color;
3197
+ display: flex;
3198
+ justify-content: space-between;
3199
+ align-items: center;
3200
+ padding: 12px 20px;
3201
+ margin: 0 0 5px;
3202
+ &:last-child {
3203
+ margin: 0;
3204
+ }
3079
3205
 
3080
- i {
3081
- margin-right: 8px;
3206
+ p {
3207
+ margin: 0;
3208
+ line-height: rem(16);
3209
+ }
3210
+
3211
+ p:first-child {
3212
+ color: #1D2A3B;
3213
+ font-size: rem(14);
3214
+ }
3215
+
3216
+ p:last-child {
3217
+ color: #526384;
3218
+ font-size: rem(14);
3219
+ }
3082
3220
  }
3083
- p, i {
3084
- color: #526384;
3085
- display: inline-block;
3221
+
3222
+ .dropdown-item:hover {
3223
+ background-color: whitesmoke;
3224
+ cursor: pointer;
3225
+ color: black;
3086
3226
  }
3087
3227
 
3088
- p {
3089
- margin-top: 0;
3090
- margin-bottom: 0;
3228
+ .dropdown-item.expectedSizes {
3229
+ font-weight: 500;
3091
3230
  }
3092
3231
 
3093
- > * {
3094
- -webkit-touch-callout: none; /* iOS Safari */
3095
- -webkit-user-select: none; /* Safari */
3096
- -khtml-user-select: none; /* Konqueror HTML */
3097
- -moz-user-select: none; /* Old versions of Firefox */
3098
- -ms-user-select: none; /* Internet Explorer/Edge */
3099
- user-select: none; /* Non-prefixed version, currently
3100
- supported by Chrome, Edge, Opera and Firefox */
3232
+ .dropdownTitle {
3233
+ font-size: 14px;
3234
+ background-color: $img-main-color;
3235
+ padding: rem(9.5) 0;
3236
+ text-align: center;
3237
+
3238
+ p {
3239
+ font-size: 14px;
3240
+ color: white;
3241
+ margin: 0;
3242
+ font-weight: 500;
3243
+ }
3101
3244
  }
3102
3245
 
3103
- &:hover {
3104
- background-color: #F5F8FA;
3105
- p, i {
3106
- color: $img-main-color;
3246
+ .infoItem {
3247
+ padding: 18px 20px 11px 20px;
3248
+ line-height: 1.5;
3249
+ font-weight: 500;
3250
+
3251
+ p {
3252
+ margin: 0;
3253
+ font-size: rem(16);
3254
+ line-height: rem(19);
3255
+ font-weight: 500;
3107
3256
  }
3108
3257
  }
3109
- }
3110
3258
 
3111
- .dropdown-content {
3112
- &:before {
3113
- content: '';
3114
- display: block;
3115
- position: absolute;
3116
- bottom: 100%;
3117
- left: 90%;
3118
- transform: translateX(-50%) translateY(5px);
3119
- width: 0;
3120
- height: 0;
3121
- border-style: solid;
3122
- border-width: 0 6px 8px 6px;
3123
- border-color: transparent transparent #fff transparent;
3124
- z-index: 2;
3125
- }
3126
- &:after {
3127
- content: '';
3128
- display: block;
3129
- position: absolute;
3130
- bottom: 100%;
3131
- left: 90%;
3132
- transform: translateX(-50%) translateY(4px);
3133
- width: 0;
3134
- height: 0;
3135
- border-style: solid;
3136
- border-width: 0 6px 8px 6px;
3137
- border-color: transparent transparent #dddddd transparent;
3138
- opacity: 0.5;
3139
- z-index: 1;
3259
+ .dropdown-item-wrapper {
3260
+ border: 1px solid #DEE2ED;
3261
+ border-radius: 3px;
3262
+ margin: 0 20px 5px 20px;
3140
3263
  }
3141
3264
  }
3142
-
3143
- .dropdown-menu {
3144
- top: 80%;
3145
- }
3146
3265
  }
3147
3266
 
3148
- .dropdownWizi:not(.is-hoverable) {
3149
- cursor: not-allowed;
3150
- }.wz-img-manager .input-search.field {
3151
- padding: 10px 20px;
3152
- background-color: $gray-background;
3153
- &.small-padding {
3154
- padding: 10px 20px;
3155
- }
3156
- .input,
3157
- .input:focus,
3158
- .input.is-focused,
3159
- .input:active,
3160
- .input.is-active {
3161
- font-size: rem(14);
3162
- color: $main-text;
3163
- border: rem(1) solid $input-border-search;
3164
- box-shadow: none;
3165
- padding: rem(13.5) rem(20) rem(13.5) rem(48);
3166
- border-radius: rem(3);
3167
- margin: 0;
3168
- height: auto;
3169
- min-height: unset;
3267
+ .noTooltip .tooltip.is-tooltip-left:hover::before, .noTooltip .tooltip.is-tooltip-left:hover:not(.is-loading)::after {
3268
+ display: none;
3269
+ }
3270
+ //.wz-img-manager useful to keep the css priority
3271
+ .wz-img-manager .upload-list {
3272
+ text-align: left;
3273
+ font-size: 14px;
3274
+ color: #23272B;
3170
3275
 
3171
- &::placeholder {
3172
- color: $placeholder-color;
3173
- font-weight: normal;
3276
+ &.smallDisplay {
3277
+ .upload-list__box__cards__card {
3278
+ width: 125px;
3174
3279
  }
3175
3280
  }
3176
3281
 
3177
- .input:focus,
3178
- .input.is-focused,
3179
- .input:active,
3180
- .input.is-active {
3181
- border-color: $wizishop-blue;
3182
- }
3282
+ &__scroll {
3283
+ position: relative;
3284
+ height: 100%;
3183
3285
 
3184
- .icon {
3185
- position: absolute;
3186
- top: 50%;
3187
- left: 20px;
3188
- font-size: rem(18);
3189
- transform: translateY(-50%);
3190
- pointer-events: none;
3191
- font-weight: 400;
3192
- color: $placeholder-color;
3193
- margin: 0;
3194
- width: rem(18);
3195
- height: rem(18);
3196
- }
3197
- }
3286
+ &--smallDisplay {
3287
+ max-height: 260px!important;
3198
3288
 
3199
- .wz-img-manager .wz-img-manager__module:not(.wz-img-manager__module--window) .pexels-lib__search .input-search.field {
3200
- padding: 0;
3201
- background-color: transparent;
3202
- }
3203
- .wz-img-manager .wz-pagination {
3204
- width: 100%;
3205
- padding: 0;
3289
+ .upload-list__box {
3290
+ margin-bottom: 20px;
3291
+ }
3292
+ }
3206
3293
 
3207
- &__wrapper {
3208
- @include flexbox();
3209
- @include justify-content(flex-end);
3210
- padding: 0 17px 0 0;
3294
+ &--window {
3295
+ max-height: none;
3296
+ }
3211
3297
 
3212
- &__page {
3213
- margin-right: 30px;
3214
- padding: 4px 0 5px 0;
3298
+ .ng-scroll-content {
3299
+ margin-left: 0.5rem !important;
3300
+ margin-right: 0.5rem !important;
3301
+ min-width: calc(100% - 1rem) !important;
3302
+ width: calc(100% - 1rem) !important;
3303
+ }
3304
+ }
3215
3305
 
3216
- @include flexbox();
3306
+ &__box {
3307
+ margin: 0 0.8rem 30px 0.3rem;
3308
+ padding: 30px;
3309
+ background-color: $img-gray-background;
3310
+ margin-right: 12px;
3311
+ margin-left: 5px;
3312
+ border-radius: 3px;
3217
3313
 
3218
- p {
3219
- margin: 4px 11px 4px 0;
3220
- font-size: 14px;
3221
- line-height: 24px;
3222
- color: $second-color;
3223
- }
3314
+ &__container {
3315
+ display: flex;
3316
+ justify-content: space-between;
3317
+ align-items: center;
3224
3318
 
3225
- select {
3226
- width: 50px;
3227
- font-size: 14px;
3228
- line-height: 24px;
3229
- color: $second-color;
3230
- padding: 3px 26px 3px 15px;
3231
- border: 1px solid $border-form;
3232
- border-radius: 3px;
3233
- -webkit-appearance: none;
3234
- -moz-appearance: none;
3235
- text-indent: 0;
3236
- text-overflow: '';
3237
- background: transparent
3238
- 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")
3239
- top 8px right 12px / 10px 10px no-repeat;
3240
- }
3319
+ p {
3320
+ display: inline;
3321
+ }
3241
3322
 
3242
- select::-ms-expand {
3243
- display: none;
3244
- }
3245
- }
3323
+ .dropdown {
3324
+ vertical-align: baseline;
3325
+ &:hover {
3326
+ .dropdown-trigger i {
3327
+ color: $img-main-color;
3328
+ }
3329
+ }
3330
+ .dropdown-trigger {
3331
+ display: inline;
3332
+ i {
3333
+ color: $img-secondary-text;
3334
+ margin-left: 10px;
3335
+ }
3336
+ }
3246
3337
 
3247
- &__elements {
3248
- margin-right: 30px;
3338
+ .dropdown-menu {
3339
+ padding: 0;
3340
+ width: 370px;
3341
+ left: -190px;
3342
+ margin-top: 3px;
3249
3343
 
3250
- p {
3251
- margin: 8px 0 9px 0;
3252
- font-size: 14px;
3253
- line-height: 24px;
3254
- color: $dark;
3255
- }
3256
- }
3344
+ .dropdown-item {
3345
+ display: flex;
3346
+ justify-content: left;
3347
+ align-items: center;
3257
3348
 
3258
- &__arrows {
3259
- @include flexbox();
3349
+ p {
3350
+ margin: 0;
3351
+ }
3260
3352
 
3261
- &__arrow {
3262
- width: 40px;
3263
- height: 40px;
3264
- padding: 9px 14px;
3265
- border: 1px solid $border-form;
3266
- border-radius: 3px;
3267
- cursor: pointer;
3268
- display: flex;
3269
- align-items: center;
3353
+ p:first-child {
3354
+ color: $img-main-text;
3355
+ font-size: 14px;
3356
+ }
3357
+
3358
+ p:last-child {
3359
+ color: $img-green-color;
3360
+ font-size: 14px;
3361
+ margin-left: 10px;
3362
+ }
3363
+ }
3364
+ }
3365
+ }
3366
+ }
3367
+
3368
+ &__cards {
3369
+ padding-top: 15px;
3370
+ margin-left: 5px;
3371
+ display: flex;
3372
+ justify-content: left;
3373
+ flex-wrap: wrap;
3374
+ align-items: center;
3375
+ margin-right: -9px;
3376
+ width: calc(100% + 24px);
3377
+ transform: translateX(-12px);
3378
+ &__card {
3379
+ width: 198px;
3380
+ margin: 0 12px 12px;
3381
+ & > * {
3382
+ width: 100%;
3383
+ }
3384
+
3385
+ &__btnBox {
3386
+ text-align: center;
3387
+ margin: rem(10) auto 0;
3270
3388
 
3271
- span {
3272
- display: inline-block;
3273
- width: 10px;
3274
- height: 15px;
3275
- }
3389
+ &__btn {
3390
+ height: 30px;
3391
+ width: 30px;
3392
+ font-size: 14px!important;
3276
3393
 
3277
- &--left {
3278
- margin-right: 10px;
3394
+ cursor: default;
3279
3395
 
3280
- span {
3281
- background: transparent
3282
- 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")
3283
- center center / 10px 12px no-repeat;
3284
- }
3396
+ &:focus {
3397
+ box-shadow: none;
3398
+ }
3399
+ }
3400
+ }
3401
+ }
3285
3402
  }
3403
+ }
3404
+ }
3286
3405
 
3287
- &--right {
3288
- span {
3289
- background: transparent
3290
- 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")
3291
- center center / 10px 12px no-repeat;
3292
- }
3293
- }
3406
+ @media screen and (max-width: 768px) {
3407
+ .wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .upload-list__scroll {
3408
+ max-height: none!important;
3294
3409
 
3295
- &--disabled {
3296
- border-color: $background-color;
3297
- background-color: $background-color;
3410
+ .ng-scroll-content {
3411
+ margin: 0 !important;
3412
+ min-width: 100%!important;
3413
+ width: 100%!important;
3298
3414
  }
3299
- }
3300
3415
  }
3301
- }
3302
3416
  }
3303
- .wz-img-manager .wz-table {
3304
- width: 100%;
3417
+ //.wz-img-manager useful to keep the css priority
3418
+ .wz-img-manager .wz-loader {
3419
+ &.is-small {
3420
+ right: 0;
3421
+ left: 0;
3422
+ top: 0;
3423
+ transform: scale(0.6);
3424
+ }
3425
+ margin-bottom: rem(80);
3305
3426
 
3306
- &__head {
3307
- @include flexbox();
3308
- @include flex-flow(row nowrap);
3309
- width: 100%;
3310
- border-top: 1px solid $textarea-border-color;
3311
- border-bottom: 1px solid $textarea-border-color;
3312
- background-color: $gray-background;
3427
+ @keyframes rotate {
3428
+ 0% {
3429
+ transform: rotate(0deg);
3430
+ }
3431
+ 50% {
3432
+ transform: rotate(180deg);
3433
+ }
3434
+ 100% {
3435
+ transform: rotate(360deg);
3436
+ }
3437
+ }
3313
3438
 
3314
- &__cell {
3315
- @include flexbox();
3316
- @include flex(1);
3317
- padding: 15px 20px;
3318
- font-size: 14px;
3319
- line-height: 20px;
3320
- color: $main-text;
3321
- font-weight: 600;
3439
+ @keyframes rotate2 {
3440
+ 0% {
3441
+ transform: rotate(0deg);
3442
+ border-top-color: $img-color-loader;
3443
+ }
3444
+ 50% {
3445
+ transform: rotate(180deg);
3446
+ border-top-color: $img-color-loader2;
3447
+ }
3448
+ 100% {
3449
+ transform: rotate(360deg);
3450
+ border-top-color: $img-color-loader;
3451
+ }
3452
+ }
3322
3453
 
3323
- &--checkbox {
3324
- @include flex(none);
3325
- width: 80px;
3326
- padding: 10px 20px 6px 20px;
3327
- > * {
3328
- transform: translateX(15px);
3329
- }
3330
- }
3454
+ @mixin loaderDivMixin {
3455
+ border-radius: 50%;
3456
+ padding: rem(8);
3457
+ border: rem(2) solid transparent;
3458
+ animation: rotate linear 3.5s infinite;
3459
+ }
3331
3460
 
3332
- &__search {
3333
- color: $main-text;
3334
- padding-right: 23px;
3335
- transition: background-image 0.3s ease-in-out;
3336
- cursor: text;
3461
+ .loader {
3462
+ position: relative;
3463
+ margin: rem(75) auto;
3464
+ width: rem(150);
3465
+ height: rem(150);
3466
+ display: block;
3467
+ overflow: hidden;
3468
+ div {
3469
+ height: 100%;
3470
+ }
3471
+ }
3337
3472
 
3338
- &:hover {
3339
- color: $main-text;
3340
- }
3473
+ /* loader 1 */
3474
+ .loader1,
3475
+ .loader1 div {
3476
+ @include loaderDivMixin;
3477
+ border-top-color: $img-color-loader;
3478
+ border-bottom-color: $img-color-loader2;
3479
+ }
3341
3480
 
3342
- &--idle {
3343
- background: transparent
3344
- 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")
3345
- center right / 14px 14px no-repeat;
3346
- transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3347
- cursor: pointer;
3481
+ div:hover {
3482
+ animation-play-state: paused;
3483
+ }
3348
3484
 
3349
- &:hover {
3350
- transition: color 0.3s ease-in-out;
3351
- }
3352
- }
3485
+ .loader,
3486
+ .loader * {
3487
+ will-change: transform;
3488
+ }
3353
3489
 
3354
- &--up {
3355
- background: transparent
3356
- 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")
3357
- center right / 14px 14px no-repeat;
3358
- transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3359
- cursor: pointer;
3490
+ p {
3491
+ margin-top: -50px;
3492
+ font-weight: 500;
3493
+ }
3494
+ }
3495
+ //.wz-img-manager useful to keep the css priority
3496
+ .wz-img-manager .img-tabs {
3497
+ background-color: white;
3498
+ padding-left: 0;
3499
+ padding-right: 0;
3500
+ padding-top: 0;
3360
3501
 
3361
- &:hover {
3362
- transition: color 0.3s ease-in-out;
3363
- }
3364
- }
3502
+ .tabs {
3503
+ margin: 0;
3504
+ display: flex;
3505
+ align-items: center;
3506
+ overflow: visible!important;
3365
3507
 
3366
- &--down {
3367
- background: transparent
3368
- 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")
3369
- center right / 14px 14px no-repeat;
3370
- transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3371
- cursor: pointer;
3508
+ &--notWindow {
3509
+ padding: rem(20) rem(30) rem(20);
3510
+ margin-left: -1.075rem;
3511
+ margin-right: -0.575rem;
3512
+ margin-bottom: 0;
3513
+ }
3372
3514
 
3373
- &:hover {
3374
- transition: color 0.3s ease-in-out;
3515
+ ul {
3516
+ width: auto;
3517
+ border: none;
3518
+ li {
3519
+ a {
3520
+ padding: 0 0 rem(10);
3521
+ margin: 0 rem(30) 0 0;
3522
+ position: relative;
3523
+ line-height: rem(16);
3524
+ border: none;
3525
+ color: $secondary-color;
3526
+ transition: color .3s ease;
3527
+ font-size: rem(14);
3528
+ font-weight: 400;
3529
+ }
3530
+ &.is-active {
3531
+ a {
3532
+ color: $main-text;
3533
+ &:after {
3534
+ content: '';
3535
+ display: block;
3536
+ position: absolute;
3537
+ width: 100%;
3538
+ height: 2px;
3539
+ background-color: $img-main-color;
3540
+ bottom: 0;
3541
+ left: 0;
3542
+ }
3375
3543
  }
3376
3544
  }
3377
3545
  }
3546
+ }
3547
+ }
3378
3548
 
3379
- &--center--left {
3380
- @include align-items(center);
3381
- @include justify-content(left);
3382
- }
3383
- &--center--center {
3384
- @include align-items(center);
3385
- @include justify-content(center);
3386
- }
3387
- &--center--right {
3388
- @include align-items(center);
3389
- @include justify-content(right);
3549
+ &__canva {
3550
+ margin: 0 0 0 rem(30);
3551
+ }
3552
+
3553
+ &__tabsEdit {
3554
+ > .column {
3555
+ padding: 0!important;
3556
+ }
3557
+ }
3558
+
3559
+ &__tabsFirst {
3560
+ height: 100vh;
3561
+
3562
+ &--window {
3563
+ height: auto;
3564
+ display: flex;
3565
+ justify-content: flex-start;
3566
+ }
3567
+
3568
+ &__upload {
3569
+ margin: rem(28) 0 0 0;
3570
+ padding: 0;
3571
+ max-width: 33.3%;
3572
+ }
3573
+
3574
+ &__list {
3575
+ padding: 0;
3576
+ margin: rem(28) 0 0 rem(60);
3577
+ &--upload {
3578
+ margin: rem(28) 0 0 rem(48);
3390
3579
  }
3580
+ //height: calc(100vh - 70px);
3581
+ //height: 100vh;
3391
3582
  }
3392
3583
  }
3393
3584
 
3394
- // TODO delete __search
3395
- &__search {
3396
- height: 100px;
3397
- margin-top: 10px;
3585
+ @media screen and (max-width: 768px) {
3586
+ .img-tabs__tabsFirst__upload {
3587
+ margin-right: 0;
3588
+ margin-bottom: 0;
3589
+ margin-top: 20px!important;
3590
+ }
3398
3591
  }
3399
3592
 
3400
- &__body {
3401
- width: 100%;
3402
- margin-top: -10px;
3593
+ &__tabsSecond {
3594
+ min-height: 100vh !important;
3595
+ margin-left: 0px;
3596
+ margin-right: 0px;
3597
+ margin-bottom: 0px;
3403
3598
 
3404
- &__loader {
3405
- position: relative;
3406
- min-height: 200px;
3599
+ .column {
3600
+ padding: 0.75rem 0 0.75rem 0;
3407
3601
  }
3602
+ }
3408
3603
 
3409
- &__line {
3410
- @include flexbox();
3411
- @include flex-flow(row nowrap);
3412
- width: 100%;
3413
- border-bottom: 1px solid $textarea-border-color;
3604
+ &__tabsThird {
3605
+ min-height: 100vh !important;
3606
+ margin-left: 0px;
3607
+ margin-right: 0px;
3608
+ margin-bottom: 0px;
3414
3609
 
3415
- &__cell {
3416
- @include flexbox();
3417
- @include flex(1);
3418
- padding: 20px 20px 20px 20px;
3419
- font-size: 14px;
3420
- line-height: 25px;
3421
- color: $secondary-color;
3610
+ .column {
3611
+ padding: 0.75rem 0 0.75rem 0;
3612
+ }
3613
+ }
3614
+ }
3422
3615
 
3423
- &--checkbox {
3424
- @include flexbox();
3425
- @include flex(none);
3426
- @include justify-content(center);
3427
- @include align-items(center);
3428
- width: 80px;
3429
- padding: 8px 20px;
3616
+ @media screen and (max-width: 768px) {
3617
+ .img-tabs__tabsFirst {
3618
+ margin-top: 0;
3619
+ }
3620
+
3621
+ .img-tabs__tabsFirst--small {
3622
+ height: 270px;
3623
+ }
3624
+ }
3625
+
3626
+ .wz-img-manager .img-tabs .columns.img-tabs__tabsFirst {
3627
+ margin: 0;
3628
+ }
3629
+ .wz-img-manager .img-editor {
3630
+ &__scroll {
3631
+ position: relative;
3632
+ height: 100%;
3633
+
3634
+ &--full {
3635
+ max-height: calc(100vh - 90px)!important;
3636
+ min-height: calc(100vh - 90px) !important;
3430
3637
  }
3431
3638
 
3432
- &--center--left {
3433
- @include align-items(center);
3434
- @include justify-content(left);
3639
+ &--smallDisplay {
3640
+ max-height: 275px!important;
3435
3641
  }
3436
- &--center--center {
3437
- @include align-items(center);
3438
- @include justify-content(center);
3642
+
3643
+ &--window {
3644
+ max-height: none;
3439
3645
  }
3440
- &--center--right {
3441
- @include align-items(center);
3442
- @include justify-content(right);
3646
+
3647
+ .ng-scroll-content {
3648
+ margin-left: 0 !important;
3649
+ margin-right: 0 !important;
3650
+ min-width: calc(100% - 1rem) !important;
3651
+ width: calc(100% - 1rem) !important;
3443
3652
  }
3444
- }
3445
3653
  }
3446
- }
3447
- }
3448
- $card-img-size: 100%;
3449
- $card-img-size-small: 140px;
3450
3654
 
3451
- //.wz-img-manager useful to keep the css priority
3452
- .wz-img-manager .addCssPriority .img-card {
3453
- display: flex;
3454
- flex-wrap: wrap;
3455
- justify-content: center;
3456
- padding: 0 0 rem(5);
3457
- width: 100%;
3458
- overflow: hidden;
3655
+ .columns {
3656
+ margin-right: 0.8rem;
3657
+ margin-left: rem(12);
3658
+ margin-top: 12px;
3659
+ margin-bottom: 0;
3660
+ width: calc(100% + 11px);
3459
3661
 
3460
- &__container {
3461
- width: 100%!important;
3462
- height: auto!important;
3463
- display: flex;
3464
- border-radius: 3px;
3465
- border: 1px solid $img-light-white-color;
3466
- cursor: pointer;
3467
- overflow: hidden;
3468
- transition: .3s ease;
3469
- position: relative;
3470
- margin: 0 0 rem(10);
3471
- &:before {
3472
- content: '';
3473
- display: block;
3474
- padding-top: 100%;
3662
+ .column {
3663
+ padding-top: 0;
3664
+ padding-bottom: 0px;
3475
3665
  }
3666
+ }
3476
3667
 
3477
- &.imgSelected {
3668
+ &__head-container {
3669
+ display: flex;
3670
+ justify-content: flex-end;
3671
+ align-items: center;
3672
+ margin: 30px 30px 20px 0;
3478
3673
 
3479
- &:after {
3480
- z-index: 1000;
3481
- content: '';
3482
- display: block;
3483
- position: absolute;
3484
- width: 100%;
3485
- height: 4px;
3486
- background-color: $img-main-color;
3487
- bottom: 0;
3488
- left: 0;
3489
- transform: translateZ(0);
3490
- }
3491
- }
3674
+ &__btnGroup {
3675
+ margin-right: 13px;
3676
+ opacity: 0;
3677
+ visibility: hidden;
3678
+ transition: opacity .3s ease-in-out;
3492
3679
 
3493
- &__valid {
3494
- display: flex;
3495
- position: absolute;
3496
- top: 100%;
3497
- left: 50%;
3498
- transform: translate(-50%,0);
3499
- justify-content: center;
3500
- align-items: center;
3501
- width: auto;
3502
- background-color: $img-green-color;
3503
- border-radius: 3px;
3504
- padding: 5px;
3505
- transition: .3s ease;
3506
- i {
3507
- font-size: rem(10);
3508
- color: $white;
3509
- margin: 0 5px 0 0;
3510
- }
3511
- span {
3512
- color: $white;
3513
- font-weight: 500;
3514
- font-size: rem(10);
3515
- }
3516
- }
3680
+ &__visible {
3681
+ opacity: 1;
3682
+ visibility: visible;
3683
+ }
3517
3684
 
3518
- &:hover, &:focus {
3519
- .img-card__container {
3520
- &__valid {
3521
- transform: translate(-50%, -40px);
3685
+ &__removeBtn {
3686
+ margin-right: 13px;
3522
3687
  }
3523
- }
3524
3688
  }
3525
3689
 
3526
- &__img {
3527
- width: auto!important;
3528
- height: auto!important;
3529
- background-color: white;
3530
- margin: auto;
3531
- transition: .3s ease;
3532
- position: absolute;
3533
- object-fit: contain;
3534
- max-width: 100%;
3535
- max-height: 100%;
3536
- top: 50%;
3537
- left: 50%;
3538
- transform: translate(-50%,-50%);
3690
+ &__close {
3691
+ cursor: pointer;
3692
+ font-size: 14px;
3693
+ color: $img-grey-color;
3694
+ line-height: 40px;
3539
3695
  }
3696
+ }
3540
3697
 
3541
- &__config {
3542
- position: relative;
3543
- top: 10px;
3544
- left: 10px;
3545
- transform: none;
3546
- z-index: 9999;
3547
- width: 30px;
3548
- opacity: 0;
3549
- transition: .3s ease;
3698
+ &__container {
3699
+ padding: 0.75rem!important;
3700
+ display:flex;
3701
+ justify-content: center;
3702
+ align-items: center;
3703
+ background-color: $img-gray-background;
3704
+ margin: 0;
3705
+ transform: translateY(-16px);
3550
3706
 
3551
- button {
3552
- box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
3553
- margin: 0;
3554
- width: 30px;
3555
- height: 30px;
3556
- box-sizing: content-box;
3557
- border-radius: 3px;
3558
- border: none;
3559
- color: #fff;
3560
- transform: translateX(-40px);
3561
- will-change: transform;
3707
+ &__toolsContainer {
3708
+ display: flex;
3709
+ justify-content: center;
3710
+ align-items: center;
3711
+ margin-bottom: 50px;
3712
+
3713
+ &__tool {
3714
+ color: $img-second-color;
3715
+ margin-right: 30px;
3716
+ text-align: center;
3562
3717
  cursor: pointer;
3563
- padding: 0;
3564
- display: flex;
3565
- justify-content: center;
3566
- align-content: center;
3567
- align-items: center;
3568
3718
 
3569
- i {
3570
- font-size: 16px;
3571
- color: #fff;
3572
- position: relative;
3573
- z-index: 3;
3574
- }
3719
+ p {
3720
+ margin: 0!important;
3721
+ color: $img-main-text;
3722
+ font-size: rem(12);
3723
+ line-height: rem(14);
3724
+ }
3575
3725
 
3576
- &:before {
3577
- content: '';
3578
- display: block;
3579
- position: absolute;
3580
- top: 0;
3581
- left: 0;
3582
- border-radius: 3px;
3583
- width: 100%;
3584
- height: 100%;
3585
- z-index: 2;
3586
- }
3726
+ i {
3727
+ font-size: rem(18);
3728
+ margin: 0 0 10px;
3729
+ }
3587
3730
 
3588
- span {
3589
- position: absolute;
3590
- left: 100%;
3731
+ &--button {
3732
+ background-color: $img-green-color;
3733
+ color: $img-white!important;
3734
+ padding: 10px;
3735
+ border-radius: 3px;
3736
+ transition: .3s ease;
3737
+ white-space: nowrap;
3591
3738
  display: flex;
3592
3739
  justify-content: center;
3593
3740
  align-items: center;
3594
- align-content: center;
3595
- height: 100%;
3596
- margin-left: -10px;
3597
- width: auto;
3598
- padding: 0 10px 0 0;
3599
- color: #fff;
3600
- text-transform: capitalize;
3601
- font-size: 14px;
3602
- border-radius: 0 3px 3px 0;
3603
- max-width: 0;
3604
- overflow: hidden;
3605
- z-index: 1;
3606
- transition: .3s ease;
3607
- box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
3608
- white-space: nowrap;
3609
- }
3610
-
3611
- &:not(:last-child) {
3612
- margin: 0 0 5px;
3613
- }
3614
- &.size {
3615
- background-color: #1E2E43;
3616
- transition: transform .3s ease .6s;
3617
- span, &:before {
3618
- background-color: #1E2E43;
3741
+ position: absolute;
3742
+ top: 80px;
3743
+ left: 50%;
3744
+ transform: translateX(-50%);
3745
+ height: 35px;
3746
+ margin: 0;
3747
+ &:hover, &:focus {
3748
+ background-color: darken($img-green-color, 15%);
3749
+ color: $img-white!important;
3619
3750
  }
3620
- }
3621
- &.dl {
3622
- background-color: $img-bleu-action;
3623
- transition: transform .3s ease .45s;
3624
- span, &:before {
3625
- background-color: $img-bleu-action;
3751
+ p {
3752
+ color: $white!important;
3626
3753
  }
3627
- }
3628
- &.edit {
3629
- background-color: $img-orange-color;
3630
- transition: transform .3s ease .3s;
3631
- span, &:before {
3632
- background-color: $img-orange-color;
3754
+ i {
3755
+ margin: 0 5px 0 0;
3633
3756
  }
3634
3757
  }
3635
- &.deleted {
3636
- background-color: $img-red-color;
3637
- transition: transform .3s ease .15s;
3638
- span, &:before {
3639
- background-color: $img-red-color;
3640
- }
3758
+ &:hover {
3759
+ color: $img-main-color;
3641
3760
  }
3642
- &.selected {
3643
- background-color: #fff;
3644
- border-color: $img-light-white-color;
3645
- transition: transform .3s ease;
3646
- span, &:before {
3647
- background-color: #fff;
3648
- color: $img-grey-color;
3649
- }
3650
3761
 
3651
- i {
3652
- color: $img-light-white-color;
3653
- }
3654
- .checked {
3655
- color: $img-bleu-color;
3656
- }
3657
- }
3658
- &:hover, &:focus {
3659
- border-radius: 3px 0 0 3px;
3660
- &:before {
3661
- border-radius: 3px 0 0 3px;
3662
- }
3663
- span {
3664
- transition: max-width 1s ease, margin-left .3s ease;
3665
- max-width: 1000px;
3666
- margin-left: -1px;
3667
- padding-left: 4px;
3668
- will-change: transform, margin;
3669
- }
3762
+ > * {
3763
+ -webkit-touch-callout: none; /* iOS Safari */
3764
+ -webkit-user-select: none; /* Safari */
3765
+ -khtml-user-select: none; /* Konqueror HTML */
3766
+ -moz-user-select: none; /* Old versions of Firefox */
3767
+ -ms-user-select: none; /* Internet Explorer/Edge */
3768
+ user-select: none; /* Non-prefixed version, currently
3769
+ supported by Chrome, Edge, Opera and Firefox */
3670
3770
  }
3671
- }
3771
+ }
3772
+
3773
+ &__RotationDropdown {
3774
+ min-width: 16rem;
3775
+ }
3672
3776
  }
3673
3777
 
3674
- &__overlay {
3675
- position: absolute;
3676
- top: 0;
3677
- left: 0;
3678
- height: 100%;
3679
- width: 100%;
3680
- display: flex;
3681
- justify-content: center;
3682
- align-items: center;
3778
+ &__name {
3779
+ font-size: 16px;
3780
+ max-width: 50%;
3781
+ color: $img-grey-color;
3782
+ text-align: center;
3783
+ white-space: nowrap;
3784
+ overflow: hidden;
3785
+ text-overflow: ellipsis;
3786
+ }
3683
3787
 
3684
- i {
3685
- font-size: 100px;
3686
- color: grey;
3687
- }
3788
+ .button {
3789
+ min-height: 35px;
3790
+ background-color: $img-primary-button;
3791
+ border-color: $img-primary-button-hover;
3792
+ color: #ffffff;
3793
+ }
3794
+ }
3688
3795
 
3689
- &--smallDisplay {
3690
- i {
3691
- font-size: 75px;
3796
+ &__image-cropper {
3797
+ --cropper-overlay-color: #f5f8fa;
3798
+ //--cropper-outline-color: #a5a5a573;
3799
+ padding-bottom: 30px;
3800
+ }
3801
+
3802
+ &__infoSection {
3803
+ font-size: 14px;
3804
+ max-width: 360px;
3805
+ padding: 0;
3806
+ margin: 0 rem(30) 0 0;
3807
+
3808
+ &__propertyEditable {
3809
+ margin-bottom: 31px;
3810
+ p {
3811
+ margin-bottom: 12px;
3812
+ font-size: 14px;
3692
3813
  }
3693
- }
3694
- }
3814
+ input, button {
3815
+ width: 100%;
3816
+ height: 40px;
3817
+ border: 1px solid #DEE2ED;
3818
+ border-radius: 3px;
3819
+ color: $img-main-text;
3820
+ padding-left: 20px;
3821
+ padding-right: 20px;
3822
+ display: flex;
3823
+ justify-content: space-between;
3824
+ font-size: 14px;
3695
3825
 
3696
- &__delete {
3697
- position: absolute;
3698
- top: 0;
3699
- left: 0;
3700
- width: 100%;
3701
- height: 100%;
3702
- background-color: rgba(0,0,0,.45);
3703
- display: flex;
3704
- flex-direction: column;
3705
- justify-content: center;
3706
- align-items: center;
3707
- padding: 15px;
3708
- visibility: hidden;
3709
- transform: translateY(100%);
3710
- opacity: 0;
3711
- z-index: 9999;
3712
- transition: visibility 0s linear .35s, opacity .3s ease, transform .3s ease;
3713
- &.show {
3714
- transform: translateY(0);
3715
- opacity: 1;
3716
- visibility: visible;
3717
- transition: visibility 0s linear, opacity .3s ease .05s, transform .3s ease .05s;
3718
- }
3719
- > span {
3720
- font-size: rem(14);
3721
- color: $img-white;
3722
- font-weight: 600;
3723
- text-align: center;
3724
- display: inline-block;
3725
- margin: 0 0 10px;
3726
- }
3727
- > div {
3728
- display: flex;
3729
- > button {
3730
- padding: 7px 12px;
3731
- font-size: rem(14);
3732
- color: $img-white;
3733
- background-color: $img-red-color;
3734
- font-weight: 600;
3735
- border: none;
3736
- margin: 0 0 0 5px;
3737
- text-transform: capitalize;
3738
- transition: .3s ease;
3739
- &:hover, &:focus {
3740
- background-color: darken($img-red-color, 15%);
3741
- }
3742
- &:first-child {
3743
- background-color: $img-main-color;
3744
- margin: 0 5px 0 0;
3745
- &:hover, &:focus {
3746
- background-color: darken($img-main-color, 15%);
3826
+ &:hover {
3827
+ color: $img-main-color;
3828
+ border-color: $img-main-color;
3747
3829
  }
3748
- }
3749
3830
  }
3750
- }
3751
- }
3752
- }
3753
3831
 
3754
- &__nameContainer {
3755
- text-align: center;
3756
- overflow: hidden;
3757
- max-width: 100%;
3758
- min-width: 100%;
3759
- position: relative;
3760
- width: auto;
3761
- display: flex;
3762
- justify-content: center;
3763
- align-items: center;
3764
- min-height: rem(16);
3832
+ button {
3833
+ align-items: center;
3834
+ background-color: transparent;
3835
+ cursor: pointer;
3836
+ }
3765
3837
 
3766
- &.focus {
3767
- overflow: visible;
3768
- }
3838
+ &__span, &__input {
3839
+ text-overflow: ellipsis;
3840
+ overflow: hidden;
3841
+ white-space: nowrap;
3842
+ }
3769
3843
 
3770
- > span {
3771
- padding: 0 rem(10);
3772
- font-size: rem(12);
3773
- line-height: rem(14);
3774
- color: $img-grey-color;
3775
- width: auto;
3776
- white-space: nowrap;
3777
- overflow: hidden;
3778
- text-overflow: ellipsis;
3779
- text-align: center;
3780
- display: inline-block;
3781
- transition: .3s ease;
3782
- pointer-events: none;
3783
- max-width: 100%;
3784
- }
3844
+ &__span {
3845
+ color: $img-bleu-color;
3846
+ & + i {
3847
+ color: $img-bleu-color;
3848
+ font-weight: 600;
3849
+ }
3850
+ }
3785
3851
 
3786
- &__name {
3787
- margin: 0;
3788
- padding: 5px;
3789
- font-size: rem(12);
3790
- color: $img-grey-color;
3791
- line-height: rem(14);
3792
- text-align: center;
3793
- width: 100%;
3794
- min-width: 100%;
3795
- white-space: nowrap;
3796
- overflow: hidden;
3797
- text-overflow: ellipsis;
3798
- transition: .3s ease;
3799
- cursor: initial;
3800
- max-width: 100%;
3801
- position: absolute;
3802
- top: 0;
3803
- left: 0;
3804
- opacity: 0;
3805
- &:focus {
3806
- opacity: 1;
3807
- transform: translateY(-5px);
3808
- & + span {
3809
- opacity: 0;
3810
- }
3852
+ &__tooltips {
3853
+ margin-left: 10px;
3854
+ }
3811
3855
  }
3812
- }
3813
- }
3814
3856
 
3815
- &:hover, &:focus {
3816
- z-index: 3;
3817
- .img-card {
3818
- &__nameContainer {
3819
- overflow: visible;
3820
- &__name {
3821
- color: #52AECD;
3822
- transform: translateY(-5px);
3823
- }
3857
+ &__property {
3858
+ &:nth-child(3), &:nth-child(4) {
3859
+ margin: 0;
3860
+ }
3861
+ p {
3862
+ font-size: 14px;
3863
+ display: inline-block;
3824
3864
  }
3825
3865
 
3826
- &__container {
3827
- border-color: $wizishop-blue;
3828
- &__img {
3829
- transform: scale(1.02) translate(-50%,-50%);
3830
- }
3831
- &__config {
3832
- opacity: 1;
3833
- button {
3834
- transform: translateX(0);
3835
- &.size {
3836
- transition: transform .3s ease;
3837
- }
3838
- &.dl {
3839
- transition: transform .3s ease .15s;
3840
- }
3841
- &.edit {
3842
- transition: transform .3s ease .3s;
3843
- }
3844
- &.deleted {
3845
- transition: transform .3s ease .45s;
3846
- }
3847
- &.selected {
3848
- transition: transform .3s ease .6s;
3849
- }
3850
- }
3851
- }
3866
+ .mainColor {
3867
+ margin: 0!important;
3852
3868
  }
3869
+
3870
+ p:last-child {
3871
+ margin: 0 0 0 10px;
3872
+ color: #526384;
3873
+ }
3853
3874
  }
3854
- }
3855
- }
3856
3875
 
3857
- .wz-img-manager .addCssPriority .img-card .smallDisplay,.wz-img-manager .img-card .smallDisplay img {
3858
- width: $card-img-size-small;
3859
- height: $card-img-size-small;
3860
- }
3876
+ &__titleSEO {
3877
+ margin: 0 0 20px;
3861
3878
 
3862
- .wz-img-manager .addCssPriority .smallNameDisplay .img-card__nameContainer__name {
3863
- width: $card-img-size-small;
3864
- }
3865
- .wz-selector {
3866
- &__default {
3867
- position: relative;
3868
- &__base {
3869
- position: relative;
3870
- height: rem(32);
3871
- input {
3872
- font-size: rem(14);
3873
- line-height: rem(24);
3874
- color: $img-second-color;
3875
- border: 1px solid $border-form;
3876
- border-radius: 2px;
3877
- height: rem(32);
3878
- padding: 3px 26px 3px 15px;
3879
- cursor: pointer;
3880
- &:focus {
3881
- cursor: text;
3882
- padding: 3px 7px;
3883
- & + i {
3884
- opacity: 0;
3879
+ .mainColor {
3880
+ font-size: rem(18);
3881
+ font-weight: 500;
3885
3882
  }
3886
3883
  }
3887
- }
3888
- i {
3889
- position: absolute;
3890
- font-size: rem(10);
3891
- height: 6px;
3892
- color: $img-second-color;
3893
- right: 12px;
3894
- top: 50%;
3895
- transform: translateY(-125%);
3896
- cursor: pointer;
3897
- }
3898
- }
3899
- &__absolute {
3900
- position: absolute;
3901
- bottom: 100%;
3902
- left: 0;
3903
- border-radius: 2px 2px 0 0;
3904
- background-color: $white;
3905
- transform: translateY(1px);
3906
- &__wrapper {
3907
- width: 100%;
3908
- display: flex;
3909
- flex-direction: column;
3910
- &:last-child {
3911
- > div {
3912
- border-bottom: 1px solid $border-form;
3884
+
3885
+ &__propertySEO {
3886
+ margin-bottom: 12px;
3887
+ p {
3888
+ font-size: 14px;
3889
+ display: inline-block;
3890
+ margin: 0;
3891
+ }
3892
+
3893
+ .mainColor {
3894
+ & ~ p {
3895
+ margin-left: 10px;
3896
+ color: $img-green-color;
3897
+ }
3913
3898
  }
3914
3899
  }
3915
- &__item {
3916
- padding: 3px 15px;
3917
- width: 100%;
3918
- color: $img-second-color;
3919
- font-size: rem(14);
3920
- line-height: rem(24);
3921
- border-left: 1px solid $border-form;
3922
- border-right: 1px solid $border-form;
3923
- border-top: 1px solid $border-form;
3924
- transition: .3s ease;
3925
- cursor: pointer;
3926
- text-align: center;
3927
- &:hover, &:focus, &.selected {
3928
- background-color: $wizishop-blue;
3929
- color: $white;
3930
- }
3900
+
3901
+ &__divider {
3902
+ display: block;
3903
+ width: 100%;
3904
+ border-bottom: 2px dashed #EFF1F6;
3905
+ margin: 30px 0;
3906
+ }
3907
+
3908
+ &__actions {
3909
+ height: 35px;
3910
+
3911
+ &__cancel {
3912
+ margin-right: 19px;
3913
+ background-color: white;
3914
+ border-color: #dbdbdb;
3915
+ color: $img-main-text;
3916
+ }
3917
+
3918
+ &__save {
3919
+ padding: 8px 18px;
3920
+ margin: 0!important;
3921
+ &--disable {
3922
+ cursor: not-allowed;
3923
+ }
3924
+ }
3931
3925
  }
3932
- }
3933
3926
  }
3934
- }
3927
+
3928
+ .dropdown-menu {
3929
+ left: -50%;
3930
+ }
3931
+ }
3932
+
3933
+ .wz-img-manager .marginBottom {
3934
+ margin-bottom: 20px;
3935
3935
  }