@wizishop/angular-components 0.0.114 → 0.0.115

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.
@@ -903,658 +903,265 @@ $wac-color-success-popup-alert: #6DCC95!default;
903
903
  }
904
904
 
905
905
  }
906
- .wac-calendar {
907
- position: relative;
908
- margin: 0 0 20px;
909
- width: 268px;
910
- &--open {
911
- z-index: 9;
912
- .wac-calendar {
913
- &__absolute {
914
- visibility: visible;
915
- opacity: 1;
916
- transition: 0.3s ease opacity 0.1s, 0s visibility linear 0s;
917
- }
918
- }
906
+ .wac-field-checkbox {
907
+ &__row {
908
+ position: relative;
909
+ min-width: 100%;
910
+ margin: 0;
919
911
  }
920
- &--edit {
921
- display: flex;
922
- justify-content: flex-start;
923
- align-items: center;
924
- align-content: center;
925
- & > * {
926
- display: inline-block;
927
- &:nth-child(2) {
928
- margin: 0 10px;
912
+ &--nowrap {
913
+ display: inline-block;
914
+ width: auto;
915
+ min-width: 0;
916
+ margin: 0 10px 10px 0;
917
+ .field {
918
+ &__row {
919
+ width: auto;
920
+ display: inline-block;
921
+ margin: 0;
929
922
  }
930
923
  }
931
924
  }
932
- &--no-margin {
933
- margin: 0;
934
- .wac-calendar__autoHide {
935
- margin: 0;
936
- }
937
- }
938
- &__label {
925
+
926
+ input[type='text'] {
927
+ height: 40px;
928
+ max-height: 40px;
929
+ padding: 0 20px;
930
+ line-height: 40px;
931
+ border: 1px solid $wac-border-form;
932
+ border-radius: 3px;
933
+ margin: 15px 0 10px !important;
939
934
  font-size: rem(14) !important;
940
- line-height: rem(16) !important;
941
- margin: 0 0 10px !important;
942
- color: $wac-color-text-grey !important;
943
- cursor: pointer;
944
- }
945
- &__autoHide {
946
- max-width: 300px;
947
- position: relative;
948
- }
949
- &__wrapper {
950
- &__input {
951
- border-radius: 3px;
952
- display: flex;
953
- justify-content: flex-start;
954
- align-items: center;
955
- align-content: center;
956
- min-width: 240px;
957
- max-width: 240px;
958
- padding: 7px 20px;
959
- border: 1px solid $wac-border-form;
960
- cursor: pointer;
961
- &__icon {
962
- width: 16px;
963
- margin: 0 10px 0 0;
964
- display: flex;
965
- justify-content: space-between;
966
- align-items: center;
967
- align-content: center;
968
- cursor: pointer;
969
- &:hover,
970
- &:focus {
971
- i {
972
- color: darken($wac-wizishop-blue, 15%);
973
- }
974
- }
975
- i {
976
- color: $wac-second-color;
977
- font-size: rem(18);
978
- transition: color 300ms ease;
979
- }
935
+ color: $wac-main-text;
936
+ &:focus {
937
+ border-color: $wac-wizishop-blue !important;
938
+ box-shadow: 0px 0px 4px $wac-checkbox-shadow !important;
939
+ &::-webkit-input-placeholder {
940
+ /* Chrome/Opera/Safari */
941
+ opacity: 0;
980
942
  }
981
- &__date {
982
- width: auto;
983
- white-space: nowrap;
984
- position: relative;
985
- color: $wac-main-text;
986
- font-size: rem(14);
987
- line-height: rem(24);
988
- margin: 0 15px 0 0;
989
- letter-spacing: 0.65px;
990
- &:after {
991
- content: '';
992
- display: block;
993
- position: absolute;
994
- width: 1px;
995
- height: 15px;
996
- background-color: $wac-input-border;
997
- top: 50%;
998
- right: -15px;
999
- transform: translateY(-50%);
1000
- }
943
+ &::-moz-placeholder {
944
+ /* Firefox 19+ */
945
+ opacity: 0;
1001
946
  }
1002
- &__time {
1003
- width: auto;
1004
- white-space: nowrap;
1005
- font-size: rem(14);
1006
- line-height: rem(24);
1007
- color: $wac-main-text;
1008
- margin: 0 15px;
1009
- letter-spacing: 1.3px;
947
+ &:-ms-input-placeholder {
948
+ /* IE 10+ */
949
+ opacity: 0;
1010
950
  }
1011
- &__close {
1012
- width: 10px;
1013
- cursor: pointer;
1014
- i {
1015
- font-size: 14px;
1016
- transition: color 300ms ease;
1017
- color: $wac-primary-button;
1018
- font-weight: 400;
951
+ &:-moz-placeholder {
952
+ /* Firefox 18- */
953
+ opacity: 0;
954
+ }
955
+ }
956
+ }
957
+ &.alone {
958
+ .is-checkradio[type='checkbox'] {
959
+ & + label {
960
+ padding-left: 9px;
961
+ margin-right: 0px;
962
+
963
+ &:before {
964
+ border-width: 1px;
965
+ width: 16px;
966
+ height: 16px;
967
+ border-radius: 2px;
1019
968
  }
1020
- &:hover,
1021
- &:focus {
1022
- i {
1023
- color: darken($wac-primary-button, 15%);
1024
- }
969
+ }
970
+ &:checked + label {
971
+ &:after {
972
+ top: 7px;
973
+ transform: scale(1.1) translateY(1px) translateX(6px) rotate(45deg);
1025
974
  }
1026
975
  }
1027
976
  }
1028
- &__editInPlace {
1029
- display: flex;
1030
- justify-content: space-between;
1031
- padding: 5px 0;
1032
- position: relative;
1033
- align-content: center;
1034
- align-items: center;
1035
- cursor: pointer;
1036
- max-width: 140px;
1037
- &:after {
1038
- position: absolute;
1039
- content: '';
1040
- border-bottom: dashed 1px $wac-calendar-primary;
1041
- width: 100%;
1042
- bottom: 0;
1043
- left: 0;
977
+ }
978
+
979
+ .is-checkradio[type='checkbox'] {
980
+ outline: 0 !important;
981
+ top: 0;
982
+ & + label {
983
+ font-size: rem(14);
984
+ line-height: 0;
985
+ color: $wac-input-radio-color-label;
986
+ white-space: nowrap;
987
+ padding: 0 8px;
988
+ margin-right: 0;
989
+ outline: 0 !important;
990
+ &:before {
991
+ width: 16px;
992
+ height: 16px;
993
+ border: 1px solid $wac-border-color;
994
+ top: 0;
995
+ transition: all 0.3s ease-in-out;
1044
996
  }
1045
- &__icon {
1046
- width: 12px;
1047
- margin: 0 5px 0 0;
1048
- display: flex;
1049
- justify-content: space-between;
1050
- align-items: center;
1051
- align-content: center;
1052
- i {
1053
- font-size: rem(14);
1054
- color: $wac-wizishop-blue;
1055
- transition: color 300ms ease;
1056
- }
997
+ &:after {
998
+ top: 2.3px !important;
999
+ left: 3px !important;
1000
+ width: 10px;
1001
+ height: 12px;
1002
+ border: none !important;
1003
+ background: transparent
1004
+ 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")
1005
+ center center / 8px 8px no-repeat;
1006
+ transform: scale(1) translateY(0px) translateX(0px) rotate(0deg) !important;
1007
+ transition: all 0.3s ease-in-out;
1057
1008
  }
1058
- &__date {
1059
- position: relative;
1060
- color: $wac-header-color;
1061
- font-size: rem(14);
1062
- width: auto;
1063
- transition: 300ms ease;
1064
- white-space: nowrap;
1009
+ span {
1010
+ margin: 0 0 0 rem(16);
1011
+ display: inline-block;
1065
1012
  }
1066
1013
  &:hover,
1067
1014
  &:focus {
1068
- .wac-calendar {
1069
- &__wrapper {
1070
- &__editInPlace {
1071
- &__date {
1072
- color: darken($wac-header-color, 30%);
1073
- }
1074
- &__icon {
1075
- i {
1076
- color: darken($wac-wizishop-blue, 15%);
1077
- }
1078
- }
1079
- }
1080
- }
1015
+ &:before {
1016
+ border-color: $wac-input-active-color !important;
1081
1017
  }
1082
1018
  }
1019
+ &:before,
1020
+ &:after {
1021
+ outline: 0 !important;
1022
+ }
1083
1023
  }
1084
- &__select {
1085
- border-radius: 3px;
1086
- display: flex;
1087
- justify-content: flex-start;
1088
- align-items: center;
1089
- align-content: center;
1090
- min-width: 220px;
1091
- max-width: 220px;
1092
- padding: 11px 19px;
1093
- border: 1px solid $wac-input-border;
1094
- cursor: pointer;
1095
- background: $wac-white no-repeat center right 15px
1096
- url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2210%22%20height%3D%226.032%22%3E%3Cpath%20data-name%3D%22Arrow%20copie%203%22%20d%3D%22M0%20.016L5%204.65l5-4.634v1.378L5%206.028%200%201.394V.02z%22%20fill%3D%22%231e2e43%22%20fill-rule%3D%22evenodd%22/%3E%3C/svg%3E);
1097
- &__icon {
1098
- width: 16px;
1099
- margin: 0 10px 0 0;
1100
- display: flex;
1101
- justify-content: space-between;
1102
- align-items: center;
1103
- align-content: center;
1104
- cursor: pointer;
1105
- &:hover,
1106
- &:focus {
1107
- i {
1108
- color: darken($wac-second-color, 15%);
1109
- }
1110
- }
1111
- i {
1112
- font-size: rem(18);
1113
- font-weight: 400;
1114
- color: $wac-second-color;
1115
- transition: color 300ms ease;
1024
+ &:hover {
1025
+ & + label {
1026
+ color: $wac-input-radio-color-active-label;
1027
+ &:before {
1028
+ border-color: $wac-input-active-color !important;
1116
1029
  }
1117
- }
1118
- &__date {
1119
- width: auto;
1120
- position: relative;
1121
- color: $wac-header-color;
1122
- font-size: rem(14);
1123
- white-space: nowrap;
1124
- margin: 0;
1125
1030
  &:after {
1126
- display: none;
1031
+ border-color: $wac-white !important;
1127
1032
  }
1128
1033
  }
1129
- &__close {
1130
- width: 10px;
1131
- cursor: pointer;
1132
- i {
1133
- font-size: 14px;
1134
- transition: color 300ms ease;
1135
- color: $wac-primary-button;
1136
- }
1137
- &:hover,
1138
- &:focus {
1139
- i {
1140
- color: darken($wac-primary-button, 15%);
1034
+ &:not([disabled]) {
1035
+ & + label {
1036
+ &:before {
1037
+ border-color: $wac-input-active-color !important;
1141
1038
  }
1142
1039
  }
1143
1040
  }
1144
1041
  }
1042
+ &:checked + label {
1043
+ color: $wac-input-radio-color-active-label;
1044
+ &:before {
1045
+ border: 1px solid $wac-input-active-color;
1046
+ background-color: $wac-input-active-color;
1047
+ transition: all 0.3s ease-in-out;
1048
+ }
1049
+ &:after {
1050
+ left: 7px;
1051
+ top: 8px;
1052
+ transition: all 0.3s ease-in-out;
1053
+ }
1054
+ }
1145
1055
  }
1146
- &__absolute {
1056
+
1057
+ }
1058
+ .wac-state {
1059
+ width: 12px;
1060
+ height: 12px;
1061
+ position: relative;
1062
+
1063
+ &:before,
1064
+ &:after {
1147
1065
  position: absolute;
1148
- top: 100%;
1066
+ content: '';
1067
+ border-radius: 45px;
1068
+ }
1069
+
1070
+ &:before {
1071
+ width: 100%;
1072
+ height: 100%;
1073
+ left: 0;
1074
+ top: 0;
1075
+ border-width: 1px;
1076
+ border-style: solid;
1077
+ }
1078
+
1079
+ &:after {
1080
+ width: 6px;
1081
+ height: 6px;
1082
+ top: 50%;
1149
1083
  left: 50%;
1150
- transform: translateX(-50%);
1151
- visibility: hidden;
1152
- opacity: 0;
1153
- transition: 0.3s ease opacity, 0s visibility 0.31s;
1154
- border: 1px solid $wac-border-light;
1155
- background-color: $wac-white;
1156
- box-shadow: 3px 3px 20px $wac-calendar-box-shadow;
1157
- border-radius: 3px;
1158
- max-width: 268px;
1159
- min-width: 268px;
1160
- &.bottom {
1161
- transform: translateX(-50%) translateY(10px);
1162
- }
1163
- &.top {
1164
- top: auto;
1165
- bottom: 100%;
1166
- transform: translateX(-50%) translateY(-10px);
1084
+ transform: translate(-50%, -50%);
1085
+ }
1086
+
1087
+ &.success {
1088
+ &:before {
1089
+ border-color: $wac-green-color;
1167
1090
  }
1168
- &.left {
1169
- transform: translateY(-50%) translateX(-10px);
1170
- left: auto;
1171
- right: 100%;
1172
- top: 50%;
1091
+
1092
+ &:after {
1093
+ background-color: $wac-green-color;
1173
1094
  }
1174
- &.right {
1175
- transform: translateY(-50%) translateX(10px);
1176
- left: 100%;
1177
- top: 50%;
1095
+ }
1096
+
1097
+ &.warning {
1098
+ &:before {
1099
+ border-color: $wac-warning-color;
1178
1100
  }
1179
- &.left-top {
1180
- left: auto;
1181
- right: 100%;
1182
- top: auto;
1183
- bottom: 0;
1184
- transform: translateY(-10px) translateX(-10px);
1101
+
1102
+ &:after {
1103
+ background-color: $wac-warning-color;
1185
1104
  }
1186
- &.left-bottom {
1187
- left: auto;
1188
- right: 100%;
1189
- top: 0;
1190
- transform: translateY(10px) translateX(-10px);
1105
+ }
1106
+
1107
+ &.error {
1108
+ &:before {
1109
+ border-color: $wac-primary-button;
1191
1110
  }
1192
- &.right-top {
1193
- left: 100%;
1194
- top: auto;
1195
- bottom: 0;
1196
- transform: translateY(-10px) translateX(10px);
1111
+
1112
+ &:after {
1113
+ background-color: $wac-primary-button;
1197
1114
  }
1198
- &.right-bottom {
1199
- left: 100%;
1200
- top: 0;
1201
- transform: translateY(10px) translateX(10px);
1115
+ }
1116
+ }
1117
+ .wac-delete {
1118
+ width: 40px;
1119
+ height: 40px;
1120
+
1121
+ &__wrapper {
1122
+ @include flexbox();
1123
+ @include justify-content(center);
1124
+ @include align-items(center);
1125
+ width: 100%;
1126
+ height: 100%;
1127
+ border-radius: 3px;
1128
+ background-color: transparent;
1129
+ transition: background-color 0.3s ease-in-out;
1130
+
1131
+ i {
1132
+ color: $wac-border-form;
1133
+ font-size: 14px;
1134
+ line-height: 23px;
1135
+ transition: color 0.3s ease-in-out;
1202
1136
  }
1203
- & > * > * {
1204
- width: 265px;
1137
+
1138
+ &:hover {
1139
+ background-color: $wac-primary-button;
1140
+ transition: background-color 0.3s ease-in-out;
1141
+
1142
+ i {
1143
+ color: $wac-white;
1144
+ transition: color 0.3s ease-in-out;
1145
+ }
1205
1146
  }
1206
- &__time {
1207
- position: relative;
1208
- background-color: $wac-white;
1209
- padding: 20px;
1210
- width: 100%;
1147
+ }
1148
+ }
1149
+
1150
+ .wac-switch {
1151
+ input {
1152
+ display: none;
1153
+ &:checked + label {
1211
1154
  &:before {
1212
- content: '';
1213
- width: 100%;
1214
- height: 5px;
1215
- bottom: 100%;
1216
- margin-bottom: -2px;
1217
- display: block;
1218
- position: absolute;
1219
- left: 0;
1220
- background-color: $wac-white;
1155
+ background-color: $wac-bleu-color;
1221
1156
  }
1222
- &__wrapper {
1223
- width: 100% !important;
1224
- display: flex;
1225
- align-items: center;
1226
- align-content: center;
1227
- justify-content: center;
1228
- min-height: 42px;
1229
- position: relative;
1230
- &:before {
1231
- content: '';
1232
- display: block;
1233
- background-color: $wac-wizishop-blue;
1234
- width: 4px;
1235
- height: 4px;
1236
- border-radius: 50%;
1237
- position: absolute;
1238
- top: 50%;
1239
- left: 50%;
1240
- transform: translate(-50%, -50%);
1241
- margin-top: -4px;
1242
- }
1243
- &:after {
1244
- content: '';
1245
- display: block;
1246
- background-color: $wac-wizishop-blue;
1247
- width: 4px;
1248
- height: 4px;
1249
- border-radius: 50%;
1250
- position: absolute;
1251
- top: 50%;
1252
- left: 50%;
1253
- transform: translate(-50%, -50%);
1254
- margin-top: 4px;
1255
- }
1256
- &__hours,
1257
- &__minutes {
1258
- position: relative;
1259
- width: 100px;
1260
- display: flex;
1261
- flex-wrap: nowrap;
1262
- &__left,
1263
- &__right {
1264
- width: 100%;
1265
- display: flex;
1266
- flex-wrap: nowrap;
1267
- justify-content: center;
1268
- flex-direction: column;
1269
- align-items: center;
1270
- align-content: center;
1271
- }
1272
- &__btn {
1273
- display: flex;
1274
- justify-content: center;
1275
- flex-direction: column;
1276
- align-items: center;
1277
- align-content: center;
1278
- width: 40px;
1279
- height: 20px;
1280
- background-color: $wac-gray-background;
1281
- box-shadow: none;
1282
- border: none;
1283
- cursor: pointer;
1284
- transition: 0.3s ease;
1285
- &:hover,
1286
- &:focus {
1287
- background-color: $wac-wizishop-blue;
1288
- i {
1289
- color: $wac-white;
1290
- }
1291
- }
1292
- &:first-child {
1293
- margin: 0 0 2px;
1294
- }
1295
- i {
1296
- font-size: rem(10);
1297
- color: $wac-second-color;
1298
- margin: 0;
1299
- }
1300
- }
1301
-
1302
- input::-webkit-outer-spin-button,
1303
- input::-webkit-inner-spin-button {
1304
- -webkit-appearance: none;
1305
- margin: 0;
1306
- }
1307
-
1308
- /* Firefox */
1309
- input[type='number'] {
1310
- -moz-appearance: textfield;
1311
- }
1312
-
1313
- input {
1314
- border: none;
1315
- text-align: center;
1316
- font-size: rem(24);
1317
- color: $wac-wizishop-blue;
1318
- padding: 0;
1319
- line-height: 1.4;
1320
- margin: 0;
1321
- width: 100%;
1322
- }
1323
- }
1324
- &__hours {
1325
- margin: 0 10px 0 0;
1326
- }
1327
- &__minutes {
1328
- margin: 0 0 0 10px;
1329
- }
1330
- }
1331
- }
1332
- }
1333
- }
1334
-
1335
- .datetimepicker-dummy .datetimepicker-clear-button {
1336
- top: -3px !important;
1337
- }
1338
-
1339
- .datetimepicker-dummy .datetimepicker-dummy-wrapper {
1340
- border: 1px solid $wac-border-color;
1341
- border-radius: rem(3);
1342
-
1343
- &:hover,
1344
- &:focus {
1345
- border: 1px solid $wac-wizishop-blue;
1346
- }
1347
- }
1348
-
1349
-
1350
- .datetimepicker {
1351
- box-shadow: none !important;
1352
- &-wrapper {
1353
- border: none !important;
1354
- box-shadow: none;
1355
- background: $wac-white;
1356
- }
1357
- }
1358
-
1359
- .datepicker {
1360
- .datepicker {
1361
- &-nav {
1362
- background: $wac-white !important;
1363
- color: $wac-main-text !important;
1364
- padding: 15px !important;
1365
- }
1366
- }
1367
- }
1368
-
1369
- .datetimepicker .datepicker-nav .datepicker-nav-month,
1370
- .datetimepicker .datepicker-nav .datepicker-nav-year {
1371
- color: $wac-main-text !important;
1372
- font-weight: 500 !important;
1373
- &:hover,
1374
- &:focus {
1375
- color: $wac-wizishop-blue !important;
1376
- }
1377
- }
1378
-
1379
- .datepicker-nav-year {
1380
- font-weight: 500 !important;
1381
- }
1382
-
1383
- .datetimepicker .datepicker-nav .datepicker-nav-previous,
1384
- .datetimepicker .datepicker-nav .datepicker-nav-next {
1385
- border-radius: 3px;
1386
- color: $wac-main-text !important;
1387
- width: 25px !important;
1388
- height: 25px !important;
1389
- display: flex;
1390
- justify-content: center;
1391
- align-items: center;
1392
- align-content: center;
1393
- border: 1px solid $wac-border-light;
1394
- transition: 0.3s ease;
1395
- > svg {
1396
- display: none !important;
1397
- }
1398
- }
1399
-
1400
- .datetimepicker .datepicker-nav .datepicker-nav-previous {
1401
- background: $wac-white
1402
- url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='chevron-left' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512' class='svg-inline--fa fa-chevron-left fa-w-10 fa-2x'%3E%3Cpath fill='currentColor' 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' class=''%3E%3C/path%3E%3C/svg%3E")
1403
- center center no-repeat !important;
1404
- background-size: 6px auto !important;
1405
- &:hover,
1406
- &:focus {
1407
- border-color: $wac-wizishop-blue !important;
1408
- }
1409
- }
1410
-
1411
- .datetimepicker .datepicker-nav .datepicker-nav-next {
1412
- background: $wac-white
1413
- url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='chevron-right' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512' class='svg-inline--fa fa-chevron-right fa-w-10 fa-2x'%3E%3Cpath fill='currentColor' 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' class=''%3E%3C/path%3E%3C/svg%3E")
1414
- center center no-repeat !important;
1415
- background-size: 6px auto !important;
1416
- &:hover,
1417
- &:focus {
1418
- border-color: $wac-wizishop-blue !important;
1419
- }
1420
- }
1421
-
1422
- .wac-calendar__absolute {
1423
- .datetimepicker .datepicker-body .datepicker-weekdays {
1424
- padding: 0 15px;
1425
- }
1426
- .datepicker-weekdays {
1427
- height: 14px;
1428
- margin: 0 0 rem(12);
1429
- .datepicker-date {
1430
- font-size: rem(12);
1431
- white-space: nowrap;
1432
- line-height: 1;
1433
- padding: 0 !important;
1434
- color: $wac-secondary-color !important;
1435
- }
1436
- }
1437
- .datepicker-days {
1438
- padding: 0 15px !important;
1439
- }
1440
- .datetimepicker.is-primary .datepicker-body .datepicker-dates .datepicker-days .datepicker-date .date-item.is-active {
1441
- background-color: $wac-wizishop-blue;
1442
- }
1443
- .datetimepicker.is-primary .datepicker-body .datepicker-dates .datepicker-days .datepicker-date .date-item:hover {
1444
- border-color: $wac-wizishop-blue;
1445
- }
1446
- }
1447
-
1448
- .datetimepicker .datetimepicker-footer {
1449
- display: none;
1450
- }
1451
- .wac-state {
1452
- width: 12px;
1453
- height: 12px;
1454
- position: relative;
1455
-
1456
- &:before,
1457
- &:after {
1458
- position: absolute;
1459
- content: '';
1460
- border-radius: 45px;
1461
- }
1462
-
1463
- &:before {
1464
- width: 100%;
1465
- height: 100%;
1466
- left: 0;
1467
- top: 0;
1468
- border-width: 1px;
1469
- border-style: solid;
1470
- }
1471
-
1472
- &:after {
1473
- width: 6px;
1474
- height: 6px;
1475
- top: 50%;
1476
- left: 50%;
1477
- transform: translate(-50%, -50%);
1478
- }
1479
-
1480
- &.success {
1481
- &:before {
1482
- border-color: $wac-green-color;
1483
- }
1484
-
1485
- &:after {
1486
- background-color: $wac-green-color;
1487
- }
1488
- }
1489
-
1490
- &.warning {
1491
- &:before {
1492
- border-color: $wac-warning-color;
1493
- }
1494
-
1495
- &:after {
1496
- background-color: $wac-warning-color;
1497
- }
1498
- }
1499
-
1500
- &.error {
1501
- &:before {
1502
- border-color: $wac-primary-button;
1503
- }
1504
-
1505
- &:after {
1506
- background-color: $wac-primary-button;
1507
- }
1508
- }
1509
- }
1510
- .wac-delete {
1511
- width: 40px;
1512
- height: 40px;
1513
-
1514
- &__wrapper {
1515
- @include flexbox();
1516
- @include justify-content(center);
1517
- @include align-items(center);
1518
- width: 100%;
1519
- height: 100%;
1520
- border-radius: 3px;
1521
- background-color: transparent;
1522
- transition: background-color 0.3s ease-in-out;
1523
-
1524
- i {
1525
- color: $wac-border-form;
1526
- font-size: 14px;
1527
- line-height: 23px;
1528
- transition: color 0.3s ease-in-out;
1529
- }
1530
-
1531
- &:hover {
1532
- background-color: $wac-primary-button;
1533
- transition: background-color 0.3s ease-in-out;
1534
-
1535
- i {
1536
- color: $wac-white;
1537
- transition: color 0.3s ease-in-out;
1538
- }
1539
- }
1540
- }
1541
- }
1542
-
1543
- .wac-switch {
1544
- input {
1545
- display: none;
1546
- &:checked + label {
1547
- &:before {
1548
- background-color: $wac-bleu-color;
1549
- }
1550
- &:after {
1551
- transform: translateY(-50%) translateX(24px) rotate(180deg);
1552
- }
1553
- > span {
1554
- .disable {
1555
- display: none;
1556
- }
1557
- .enable {
1157
+ &:after {
1158
+ transform: translateY(-50%) translateX(24px) rotate(180deg);
1159
+ }
1160
+ > span {
1161
+ .disable {
1162
+ display: none;
1163
+ }
1164
+ .enable {
1558
1165
  display: block;
1559
1166
  }
1560
1167
  }
@@ -4079,930 +3686,1323 @@ span.wac-tooltip {
4079
3686
  transition: background-color 0.3s ease-in-out;
4080
3687
  }
4081
3688
  }
4082
- &.opacity {
4083
- background-color: $wac-green-opacity;
4084
- border-color: $wac-green-opacity;
4085
- &:hover, &:focus {
4086
- background-color: $wac-green-color;
4087
- border-color: $wac-green-color;
4088
- }
3689
+ &.opacity {
3690
+ background-color: $wac-green-opacity;
3691
+ border-color: $wac-green-opacity;
3692
+ &:hover, &:focus {
3693
+ background-color: $wac-green-color;
3694
+ border-color: $wac-green-color;
3695
+ }
3696
+ }
3697
+ &.disabled {
3698
+ background-color: $wac-green-color-disabled;
3699
+ border-color: $wac-green-color-disabled;
3700
+ transition: 0s;
3701
+ cursor: default;
3702
+
3703
+ .wac-button__wrapper, .wac-button__animation {
3704
+ color: $wac-white;
3705
+ }
3706
+
3707
+ &:hover,
3708
+ &:focus,
3709
+ &.hover,
3710
+ &.focus {
3711
+ background-color: $wac-green-color-disabled;
3712
+ }
3713
+ }
3714
+ }
3715
+
3716
+ &.is-light {
3717
+ background-color: transparent;
3718
+ border-color: $wac-border-color;
3719
+ transition: background-color 0.3s ease-in-out;
3720
+
3721
+ .wac-button__loader {
3722
+ background-color: $wac-hover-btn-grey;
3723
+ }
3724
+
3725
+ .wac-button__wrapper, .wac-button__animation {
3726
+ color: $wac-secondary-color;
3727
+ }
3728
+
3729
+ &:hover,
3730
+ &.hover {
3731
+ background-color: $wac-hover-btn-grey;
3732
+ transition: background-color 0.3s ease-in-out;
3733
+ }
3734
+
3735
+ &.is-loading {
3736
+ &:hover,
3737
+ &.hover {
3738
+ background-color: transparent;
3739
+ transition: background-color 0.3s ease-in-out;
3740
+ }
3741
+ }
3742
+ }
3743
+
3744
+ &.disabled {
3745
+ background-color: $wac-disabled-button-background;
3746
+ border-color: $wac-border-form;
3747
+
3748
+ .wac-button__wrapper, .wac-button__animation {
3749
+ color: $wac-disabled-button-text;
3750
+ }
3751
+ }
3752
+
3753
+ &.is-outlined {
3754
+ &:hover,
3755
+ &.hover {
3756
+ .wac-button__wrapper, .wac-button__animation {
3757
+ color: $wac-white;
3758
+ transition: color 0.3s ease-in-out;
3759
+ }
3760
+ }
3761
+ }
3762
+
3763
+ &__loader {
3764
+ position: absolute;
3765
+ left: -1px;
3766
+ top: 0;
3767
+ height: 100%;
3768
+ z-index: 1;
3769
+ transition: width 0.3s ease-in-out;
3770
+ overflow: hidden;
3771
+
3772
+ span {
3773
+ position: absolute;
3774
+ left: 20px;
3775
+ top: 7px;
3776
+ color: $wac-white;
3777
+ overflow: hidden;
3778
+ text-overflow: clip;
3779
+ font-size: 14px;
3780
+ line-height: 26px;
3781
+ white-space: nowrap;
3782
+ z-index: 3;
3783
+
3784
+ i {
3785
+ margin-right: 1.4px;
3786
+ }
3787
+ }
3788
+
3789
+ &.outlined {
3790
+ z-index: 4;
3791
+ }
3792
+ }
3793
+
3794
+ &.alone {
3795
+ .wac-button__loader span {
3796
+ left: 14.6px;
3797
+ }
3798
+ }
3799
+
3800
+ &.opacity {
3801
+ min-width: rem(40);
3802
+ min-height: rem(40);
3803
+
3804
+ &.alone {
3805
+ display: flex;
3806
+ align-items: center;
3807
+ justify-content: center;
3808
+ }
3809
+
3810
+ &.is-success {
3811
+ i {
3812
+ color: $wac-green-color!important;
3813
+ }
3814
+ &:hover, &:focus {
3815
+ i {
3816
+ color: $wac-white!important;
3817
+ }
3818
+ }
3819
+ }
3820
+
3821
+ &.is-danger {
3822
+ i {
3823
+ color: $wac-primary-button!important;
3824
+ }
3825
+ &:hover, &:focus {
3826
+ i {
3827
+ color: $wac-white!important;
3828
+ }
3829
+ }
3830
+ }
3831
+ }
3832
+ }
3833
+ .wac-wrapper-blocs {
3834
+ &.sidebar {
3835
+ width: calc(100% + 30px);
3836
+ transform: translateX(-15px);
3837
+ display: flex;
3838
+ flex-wrap: nowrap;
3839
+ align-items: flex-start;
3840
+ align-content: flex-start;
3841
+ & > :first-child {
3842
+ @include media('>=desktop') {
3843
+ width: 100%;
3844
+ }
3845
+ }
3846
+ & > :last-child:not(:first-child) {
3847
+ min-width: 340px;
4089
3848
  }
4090
- &.disabled {
4091
- background-color: $wac-green-color-disabled;
4092
- border-color: $wac-green-color-disabled;
4093
- transition: 0s;
4094
- cursor: default;
4095
-
4096
- .wac-button__wrapper, .wac-button__animation {
4097
- color: $wac-white;
4098
- }
4099
-
4100
- &:hover,
4101
- &:focus,
4102
- &.hover,
4103
- &.focus {
4104
- background-color: $wac-green-color-disabled;
4105
- }
3849
+ & > * {
3850
+ margin: 0 15px;
4106
3851
  }
4107
3852
  }
3853
+ }
3854
+ .wac-dropdown {
3855
+ display: inline-block;
3856
+ width: 40px;
3857
+ height: 40px;
4108
3858
 
4109
- &.is-light {
4110
- background-color: transparent;
4111
- border-color: $wac-border-color;
4112
- transition: background-color 0.3s ease-in-out;
3859
+ &__wrapper {
3860
+ @include flexbox();
3861
+ @include justify-content(center);
3862
+ @include align-items(center);
3863
+ width: 100%;
3864
+ height: 100%;
3865
+ position: relative;
4113
3866
 
4114
- .wac-button__loader {
4115
- background-color: $wac-hover-btn-grey;
3867
+ &__icon {
3868
+ font-size: 30px;
3869
+ line-height: 18px;
3870
+ color: $wac-second-color;
3871
+ transition: color 0.3s ease, transform 0.3s ease;
4116
3872
  }
4117
3873
 
4118
- .wac-button__wrapper, .wac-button__animation {
4119
- color: $wac-secondary-color;
4120
- }
3874
+ &__sublevel {
3875
+ position: absolute;
3876
+ min-width: 160px;
3877
+ top: 100%;
3878
+ right: 0;
3879
+ z-index: -1;
3880
+ opacity: 0;
3881
+ background-color: $wac-white;
3882
+ border-radius: rem(3);
3883
+ box-shadow: 0px 2px 5px $wac-info-box-shadow;
3884
+ visibility: hidden;
3885
+ transition: opacity 0.15s ease, z-index 0.15s ease, visibility 0s linear .16s;
4121
3886
 
4122
- &:hover,
4123
- &.hover {
4124
- background-color: $wac-hover-btn-grey;
4125
- transition: background-color 0.3s ease-in-out;
4126
- }
3887
+ &__container {
3888
+ padding: 10px 10px;
3889
+ border: 1px solid $wac-border-color;
3890
+ border-radius: 3px;
4127
3891
 
4128
- &.is-loading {
4129
- &:hover,
4130
- &.hover {
4131
- background-color: transparent;
4132
- transition: background-color 0.3s ease-in-out;
3892
+ &__item {
3893
+ padding: 5.7px 10px;
3894
+ font-size: 14px;
3895
+ line-height: 24px;
3896
+ color: $wac-second-color;
3897
+ cursor: pointer;
3898
+ transition: background-color 0.3s ease, color 0.3s ease;
3899
+ display: flex;
3900
+ justify-content: flex-start;
3901
+ align-items: center;
3902
+ align-content: center;
3903
+
3904
+ i {
3905
+ min-width: 15px;
3906
+ margin-right: 5px;
3907
+ text-align: center;
3908
+ }
3909
+ span {
3910
+ white-space: nowrap;
3911
+ }
3912
+
3913
+ &:hover {
3914
+ background-color: $wac-gray-background;
3915
+ transition: background-color 0.3s ease, color 0.3s ease;
3916
+ color: $wac-input-active-color;
3917
+ }
3918
+ }
4133
3919
  }
4134
3920
  }
4135
- }
4136
3921
 
4137
- &.disabled {
4138
- background-color: $wac-disabled-button-background;
4139
- border-color: $wac-border-form;
3922
+ &:hover {
3923
+ .wac-dropdown__wrapper__icon {
3924
+ color: $wac-wizishop-blue;
3925
+ transform: rotate(90deg);
3926
+ transition: color 0.3s ease, transform 0.3s ease;
3927
+ }
4140
3928
 
4141
- .wac-button__wrapper, .wac-button__animation {
4142
- color: $wac-disabled-button-text;
3929
+ .wac-dropdown__wrapper__sublevel {
3930
+ visibility: visible;
3931
+ opacity: 1;
3932
+ z-index: 2;
3933
+ transition: visibility 0s ease 0s, opacity 0.3s ease .1s;
3934
+ }
4143
3935
  }
4144
3936
  }
4145
-
4146
- &.is-outlined {
4147
- &:hover,
4148
- &.hover {
4149
- .wac-button__wrapper, .wac-button__animation {
4150
- color: $wac-white;
4151
- transition: color 0.3s ease-in-out;
3937
+ }
3938
+ h1.wac-h1 {
3939
+ font-size: rem(30);
3940
+ line-height: rem(35);
3941
+ font-weight: 600;
3942
+ color: $wac-main-text;
3943
+ @include media('<desktop') {
3944
+ font-size: rem(22);
3945
+ line-height: rem(30);
3946
+ }
3947
+ }
3948
+ .wac-header-page {
3949
+ width: 100%;
3950
+ background-color: transparent;
3951
+ position: relative;
3952
+ z-index: 2;
3953
+ &__maxWidth {
3954
+ width: 100%;
3955
+ margin: 0 auto;
3956
+ &__top {
3957
+ width: 100%;
3958
+ display: flex;
3959
+ justify-content: space-between;
3960
+ align-items: center;
3961
+ margin: 0 0 27px;
3962
+ @include media('<tablet') {
3963
+ flex-wrap: wrap;
3964
+ justify-content: flex-start;
3965
+ align-items: flex-start;
3966
+ margin: 0;
3967
+ }
3968
+ &__left {
3969
+ width: auto;
3970
+ display: flex;
3971
+ align-items: center;
3972
+ align-content: center;
3973
+ margin: 0 10px 0 0;
3974
+ @include media('<tablet') {
3975
+ width: 100%;
3976
+ margin: 0 0 30px;
3977
+ }
3978
+ a {
3979
+ display: flex;
3980
+ min-width: 40px;
3981
+ height: 40px;
3982
+ border-radius: 3px;
3983
+ border: 1px solid $wac-border-light;
3984
+ margin: 0 20px 0 0;
3985
+ transition: 0.3s ease;
3986
+ justify-content: center;
3987
+ align-items: center;
3988
+ i {
3989
+ font-size: rem(12);
3990
+ font-weight: 400;
3991
+ color: $wac-second-color;
3992
+ }
3993
+ &:hover,
3994
+ &:focus {
3995
+ background-color: $wizishop-blue;
3996
+ border-color: $wizishop-blue;
3997
+ i {
3998
+ color: $white;
3999
+ }
4000
+ }
4001
+ & + * {
4002
+ @include media('>=tablet') {
4003
+ white-space: nowrap;
4004
+ }
4005
+ }
4006
+ }
4007
+ }
4008
+ &__right {
4009
+ width: 100%;
4010
+ display: flex;
4011
+ justify-content: flex-end;
4012
+ align-items: center;
4013
+ align-content: center;
4014
+ margin: 0 0 0 10px;
4015
+ @include media('<tablet') {
4016
+ width: 100%;
4017
+ margin: 0;
4018
+ justify-content: center;
4019
+ }
4020
+ > * {
4021
+ &:not(:last-child) {
4022
+ margin: 0 20px 0 0;
4023
+ }
4024
+ }
4152
4025
  }
4153
4026
  }
4154
4027
  }
4155
-
4156
- &__loader {
4157
- position: absolute;
4158
- left: -1px;
4159
- top: 0;
4160
- height: 100%;
4161
- z-index: 1;
4162
- transition: width 0.3s ease-in-out;
4163
- overflow: hidden;
4164
-
4165
- span {
4166
- position: absolute;
4167
- left: 20px;
4168
- top: 7px;
4169
- color: $wac-white;
4170
- overflow: hidden;
4171
- text-overflow: clip;
4172
- font-size: 14px;
4173
- line-height: 26px;
4174
- white-space: nowrap;
4175
- z-index: 3;
4176
-
4177
- i {
4178
- margin-right: 1.4px;
4179
- }
4180
- }
4181
-
4182
- &.outlined {
4183
- z-index: 4;
4184
- }
4028
+ }
4029
+ h2.wac-h2 {
4030
+ font-size: rem(18);
4031
+ line-height: rem(21);
4032
+ font-weight: 500;
4033
+ color: $wac-main-text;
4034
+ }a.wac-link {
4035
+ position: relative;
4036
+ color: $wac-link-color;
4037
+ display: inline-block;
4038
+ transition: 0.3s ease;
4039
+ font-size: rem(14);
4040
+ line-height: rem(16);
4041
+ &:before {
4042
+ content: '';
4043
+ display: block;
4044
+ position: absolute;
4045
+ width: 100%;
4046
+ max-width: 0;
4047
+ height: 1px;
4048
+ border-radius: 3px;
4049
+ background-color: darken($wac-link-color, 15%);
4050
+ left: 0;
4051
+ bottom: -2px;
4052
+ transition: 0.3s ease;
4053
+ }
4054
+ &:hover,
4055
+ &:focus {
4056
+ color: darken($wac-link-color, 15%);
4057
+ &:before {
4058
+ max-width: 100%;
4059
+ }
4060
+ }
4061
+ }
4062
+ h3.wac-h3 {
4063
+ font-size: rem(16);
4064
+ line-height: rem(19);
4065
+ font-weight: 500;
4066
+ color: $wac-main-text;
4067
+ &.grey {
4068
+ color: $wac-second-color;
4185
4069
  }
4070
+ }
4071
+ .wac-multiple-search-plus {
4186
4072
 
4187
- &.alone {
4188
- .wac-button__loader span {
4189
- left: 14.6px;
4190
- }
4191
- }
4073
+ &__wrapper {
4074
+ margin: rem(14) 0;
4075
+ width: fit-content;
4192
4076
 
4193
- &.opacity {
4194
- min-width: rem(40);
4195
- min-height: rem(40);
4077
+ &__block {
4196
4078
 
4197
- &.alone {
4198
4079
  display: flex;
4199
4080
  align-items: center;
4200
- justify-content: center;
4201
- }
4081
+ justify-content: space-between;
4082
+ align-content: center;
4083
+ color: $wac-white;
4084
+ font-size: rem(14);
4085
+ line-height: rem(16);
4086
+ border-radius: rem(3);
4087
+ padding: rem(8) rem(15);
4088
+ font-weight: 500;
4089
+ transition: 0.3s ease;
4090
+ margin: rem(10) 0;
4202
4091
 
4203
- &.is-success {
4204
- i {
4205
- color: $wac-green-color!important;
4092
+ .wac-text {
4093
+ margin: 0;
4206
4094
  }
4207
- &:hover, &:focus {
4208
- i {
4209
- color: $wac-white!important;
4210
- }
4095
+
4096
+ :nth-child(n){
4097
+ padding: 0 3px;
4211
4098
  }
4212
- }
4213
4099
 
4214
- &.is-danger {
4215
4100
  i {
4216
- color: $wac-primary-button!important;
4101
+ color: $wac-white;
4102
+ font-weight: 400;
4103
+ margin: 0 0 0 rem(15);
4104
+ font-size: rem(13);
4105
+ cursor: pointer;
4217
4106
  }
4218
- &:hover, &:focus {
4107
+
4108
+ &.default {
4109
+ background-color: $wac-tag-default;
4110
+ border: 1px solid $wac-border-light;
4111
+ color: $wac-second-color;
4112
+ font-weight: 400;
4219
4113
  i {
4220
- color: $wac-white!important;
4114
+ color: $wac-border-form;
4115
+ }
4116
+ &.hover:hover,
4117
+ &.hover:focus {
4118
+ background-color: darken($wac-tag-default, 15%);
4119
+ color: $wac-main-text;
4120
+ i {
4121
+ color: $wac-main-text;
4122
+ }
4221
4123
  }
4222
4124
  }
4125
+
4223
4126
  }
4224
4127
  }
4128
+
4225
4129
  }
4226
- .wac-wrapper-blocs {
4227
- &.sidebar {
4228
- width: calc(100% + 30px);
4229
- transform: translateX(-15px);
4230
- display: flex;
4231
- flex-wrap: nowrap;
4232
- align-items: flex-start;
4233
- align-content: flex-start;
4234
- & > :first-child {
4235
- @include media('>=desktop') {
4236
- width: 100%;
4237
- }
4238
- }
4239
- & > :last-child:not(:first-child) {
4240
- min-width: 340px;
4241
- }
4242
- & > * {
4243
- margin: 0 15px;
4244
- }
4245
- }
4246
- }
4247
- .wac-dropdown {
4248
- display: inline-block;
4249
- width: 40px;
4250
- height: 40px;
4251
4130
 
4131
+ .wac-multiple-search {
4132
+ width: 100%;
4133
+ min-height: 50px;
4134
+ border-radius: 3px;
4135
+ background-color: $wac-white;
4136
+ position: relative;
4137
+ z-index: 2;
4138
+ border: 1px solid $wac-border-light;
4139
+ transition: 0.3s ease;
4140
+ &.open {
4141
+ border-color: $wac-wizishop-blue;
4142
+ }
4252
4143
  &__wrapper {
4253
- @include flexbox();
4254
- @include justify-content(center);
4255
- @include align-items(center);
4256
- width: 100%;
4257
- height: 100%;
4258
4144
  position: relative;
4259
-
4260
- &__icon {
4261
- font-size: 30px;
4262
- line-height: 18px;
4263
- color: $wac-second-color;
4264
- transition: color 0.3s ease, transform 0.3s ease;
4145
+ display: flex;
4146
+ justify-content: space-between;
4147
+ align-items: stretch;
4148
+ align-content: stretch;
4149
+ flex-wrap: nowrap;
4150
+ @include media('<tablet') {
4151
+ padding: 0 12px;
4265
4152
  }
4266
-
4267
- &__sublevel {
4268
- position: absolute;
4269
- min-width: 160px;
4270
- top: 100%;
4271
- right: 0;
4272
- z-index: -1;
4273
- opacity: 0;
4274
- background-color: $wac-white;
4275
- border-radius: rem(3);
4276
- box-shadow: 0px 2px 5px $wac-info-box-shadow;
4277
- visibility: hidden;
4278
- transition: opacity 0.15s ease, z-index 0.15s ease, visibility 0s linear .16s;
4279
-
4280
- &__container {
4281
- padding: 10px 10px;
4282
- border: 1px solid $wac-border-color;
4153
+ &__left {
4154
+ width: auto;
4155
+ display: flex;
4156
+ justify-content: space-between;
4157
+ align-content: center;
4158
+ align-items: center;
4159
+ flex-wrap: nowrap;
4160
+ position: relative;
4161
+ min-height: 50px;
4162
+ transition: background-color 0.3s ease;
4163
+ background-color: $wac-select-icon-background;
4164
+ &__background {
4165
+ position: absolute;
4166
+ width: 100%;
4167
+ left: 0;
4168
+ top: 0;
4169
+ height: 100%;
4170
+ opacity: 0;
4171
+ z-index: 4;
4172
+ transition: opacity 0.3s ease;
4173
+ cursor: pointer;
4174
+ }
4175
+ > span {
4176
+ color: $wac-second-color;
4177
+ white-space: nowrap;
4178
+ font-size: rem(14);
4179
+ line-height: rem(16);
4180
+ margin: 0 40px 0 20px;
4181
+ transition: 0.3s ease;
4182
+ position: relative;
4183
+ z-index: 2;
4184
+ cursor: pointer;
4185
+ @include media('<tablet') {
4186
+ text-indent: -9999999px;
4187
+ margin: 0;
4188
+ width: 11px;
4189
+ }
4190
+ }
4191
+ > i {
4192
+ transition: 0.3s ease;
4193
+ position: relative;
4194
+ z-index: 2;
4195
+ cursor: pointer;
4196
+ &:nth-child(2) {
4197
+ font-size: rem(10);
4198
+ color: $wac-main-text;
4199
+ margin: 0 20px 0 0;
4200
+ @include media('<tablet') {
4201
+ margin: 0 10px 0 0;
4202
+ }
4203
+ }
4204
+ }
4205
+ &__select {
4206
+ position: absolute;
4207
+ top: 50px;
4208
+ width: 100%;
4209
+ left: 0;
4210
+ margin-top: 11px;
4211
+ background-color: $wac-white;
4212
+ z-index: 3;
4213
+ box-shadow: 3px 3px 20px $wac-multiple-search-box-shadow;
4283
4214
  border-radius: 3px;
4284
-
4285
- &__item {
4286
- padding: 5.7px 10px;
4287
- font-size: 14px;
4288
- line-height: 24px;
4289
- color: $wac-second-color;
4290
- cursor: pointer;
4291
- transition: background-color 0.3s ease, color 0.3s ease;
4292
- display: flex;
4293
- justify-content: flex-start;
4294
- align-items: center;
4295
- align-content: center;
4296
-
4297
- i {
4298
- min-width: 15px;
4299
- margin-right: 5px;
4300
- text-align: center;
4215
+ border: 1px solid $wac-border-light;
4216
+ padding: 10px;
4217
+ min-width: 340px;
4218
+ &__item {
4219
+ display: inline-flex;
4220
+ width: 100%;
4221
+ font-size: rem(14);
4222
+ line-height: rem(30);
4223
+ cursor: pointer;
4224
+ transition: 0.3s ease;
4225
+ position: relative;
4226
+ padding: 0 10px;
4227
+ .wac-text {
4228
+ margin: 0;
4301
4229
  }
4302
- span {
4303
- white-space: nowrap;
4230
+ :nth-child(n) {
4231
+ padding: 2px;
4304
4232
  }
4305
-
4306
- &:hover {
4233
+ &:nth-child(2n) {
4307
4234
  background-color: $wac-gray-background;
4308
- transition: background-color 0.3s ease, color 0.3s ease;
4309
- color: $wac-input-active-color;
4235
+ }
4236
+ &:not(:last-child) {
4237
+ margin: 0 0 rem(10);
4238
+ }
4239
+ span {
4240
+ color: $wac-main-text;
4241
+ font-size: rem(12);
4242
+ text-align: left;
4243
+ }
4244
+ &:hover,
4245
+ &:focus {
4246
+ background-color: darken($wac-gray-background, 15%);
4247
+ color: $wac-main-text;
4310
4248
  }
4311
4249
  }
4312
4250
  }
4313
- }
4314
-
4315
- &:hover {
4316
- .wac-dropdown__wrapper__icon {
4317
- color: $wac-wizishop-blue;
4318
- transform: rotate(90deg);
4319
- transition: color 0.3s ease, transform 0.3s ease;
4320
- }
4321
-
4322
- .wac-dropdown__wrapper__sublevel {
4323
- visibility: visible;
4324
- opacity: 1;
4325
- z-index: 2;
4326
- transition: visibility 0s ease 0s, opacity 0.3s ease .1s;
4251
+ &:hover,
4252
+ &:focus,
4253
+ &.open {
4254
+ background-color: $wac-hover-multiple-search;
4327
4255
  }
4328
4256
  }
4329
- }
4330
- }
4331
- h1.wac-h1 {
4332
- font-size: rem(30);
4333
- line-height: rem(35);
4334
- font-weight: 600;
4335
- color: $wac-main-text;
4336
- @include media('<desktop') {
4337
- font-size: rem(22);
4338
- line-height: rem(30);
4339
- }
4340
- }
4341
- .wac-header-page {
4342
- width: 100%;
4343
- background-color: transparent;
4344
- position: relative;
4345
- z-index: 2;
4346
- &__maxWidth {
4347
- width: 100%;
4348
- margin: 0 auto;
4349
- &__top {
4257
+ &__right {
4350
4258
  width: 100%;
4351
- display: flex;
4352
- justify-content: space-between;
4353
- align-items: center;
4354
- margin: 0 0 27px;
4355
- @include media('<tablet') {
4356
- flex-wrap: wrap;
4357
- justify-content: flex-start;
4358
- align-items: flex-start;
4359
- margin: 0;
4259
+ min-height: 50px;
4260
+ position: relative;
4261
+ form {
4262
+ width: 100%;
4360
4263
  }
4361
- &__left {
4362
- width: auto;
4363
- display: flex;
4364
- align-items: center;
4365
- align-content: center;
4366
- margin: 0 10px 0 0;
4264
+ input {
4265
+ background: transparent;
4266
+ border: none;
4267
+ color: $wac-main-text;
4268
+ font-size: rem(14);
4269
+ height: 50px;
4270
+ line-height: 50px;
4271
+ padding: 0 20px 0 48px;
4272
+ font-weight: 400;
4273
+ width: 100%;
4367
4274
  @include media('<tablet') {
4368
- width: 100%;
4369
- margin: 0 0 30px;
4275
+ padding: 0 0 0 10px;
4370
4276
  }
4371
- a {
4372
- display: flex;
4373
- min-width: 40px;
4374
- height: 40px;
4375
- border-radius: 3px;
4376
- border: 1px solid $wac-border-light;
4377
- margin: 0 20px 0 0;
4378
- transition: 0.3s ease;
4379
- justify-content: center;
4380
- align-items: center;
4381
- i {
4382
- font-size: rem(12);
4383
- font-weight: 400;
4384
- color: $wac-second-color;
4277
+ &::-webkit-input-placeholder {
4278
+ /* Chrome/Opera/Safari */
4279
+ color: $wac-multiple-search-input-color;
4280
+ opacity: 1;
4281
+ font-weight: 400;
4282
+ @include media('<tablet') {
4283
+ font-size: rem(11);
4385
4284
  }
4386
- &:hover,
4387
- &:focus {
4388
- background-color: $wizishop-blue;
4389
- border-color: $wizishop-blue;
4390
- i {
4391
- color: $white;
4392
- }
4285
+ }
4286
+ &::-moz-placeholder {
4287
+ /* Firefox 19+ */
4288
+ color: $wac-multiple-search-input-color;
4289
+ opacity: 1;
4290
+ font-weight: 400;
4291
+ @include media('<tablet') {
4292
+ font-size: rem(11);
4393
4293
  }
4394
- & + * {
4395
- @include media('>=tablet') {
4396
- white-space: nowrap;
4397
- }
4294
+ }
4295
+ &:-ms-input-placeholder {
4296
+ /* IE 10+ */
4297
+ color: $wac-multiple-search-input-color;
4298
+ opacity: 1;
4299
+ font-weight: 400;
4300
+ @include media('<tablet') {
4301
+ font-size: rem(11);
4302
+ }
4303
+ }
4304
+ &:-moz-placeholder {
4305
+ /* Firefox 18- */
4306
+ color: $wac-multiple-search-input-color;
4307
+ opacity: 1;
4308
+ font-weight: 400;
4309
+ @include media('<tablet') {
4310
+ font-size: rem(11);
4311
+ }
4312
+ }
4313
+ &:focus {
4314
+ & + button i {
4315
+ color: $wac-main-text;
4316
+ }
4317
+ &::-webkit-input-placeholder {
4318
+ /* Chrome/Opera/Safari */
4319
+ color: $wac-white;
4320
+ opacity: 1;
4321
+ }
4322
+ &::-moz-placeholder {
4323
+ /* Firefox 19+ */
4324
+ color: $wac-white;
4325
+ opacity: 1;
4326
+ }
4327
+ &:-ms-input-placeholder {
4328
+ /* IE 10+ */
4329
+ color: $wac-white;
4330
+ opacity: 1;
4331
+ }
4332
+ &:-moz-placeholder {
4333
+ /* Firefox 18- */
4334
+ color: $wac-white;
4335
+ opacity: 1;
4398
4336
  }
4399
4337
  }
4400
4338
  }
4401
- &__right {
4402
- width: 100%;
4339
+ button {
4403
4340
  display: flex;
4404
- justify-content: flex-end;
4405
4341
  align-items: center;
4406
4342
  align-content: center;
4407
- margin: 0 0 0 10px;
4408
- @include media('<tablet') {
4409
- width: 100%;
4410
- margin: 0;
4411
- justify-content: center;
4343
+ justify-content: center;
4344
+ width: 18px;
4345
+ height: 18px;
4346
+ border-radius: 3px;
4347
+ position: absolute;
4348
+ left: 20px;
4349
+ top: 50%;
4350
+ transform: translateY(-50%);
4351
+ border: none;
4352
+ cursor: pointer;
4353
+ background-color: $wac-white;
4354
+ i {
4355
+ font-size: rem(18);
4356
+ color: $wac-color-icon-search-multiple-search;
4357
+ transition: 0.3s ease;
4412
4358
  }
4413
- > * {
4414
- &:not(:last-child) {
4415
- margin: 0 20px 0 0;
4359
+ &:hover {
4360
+ i {
4361
+ color: $wac-wizishop-blue !important;
4416
4362
  }
4417
4363
  }
4418
4364
  }
4419
4365
  }
4420
4366
  }
4421
- }
4422
- h2.wac-h2 {
4423
- font-size: rem(18);
4424
- line-height: rem(21);
4425
- font-weight: 500;
4426
- color: $wac-main-text;
4427
- }a.wac-link {
4428
- position: relative;
4429
- color: $wac-link-color;
4430
- display: inline-block;
4431
- transition: 0.3s ease;
4432
- font-size: rem(14);
4433
- line-height: rem(16);
4434
- &:before {
4435
- content: '';
4436
- display: block;
4367
+ &__error {
4437
4368
  position: absolute;
4438
- width: 100%;
4439
- max-width: 0;
4440
- height: 1px;
4441
- border-radius: 3px;
4442
- background-color: darken($wac-link-color, 15%);
4443
- left: 0;
4444
- bottom: -2px;
4445
- transition: 0.3s ease;
4446
- }
4447
- &:hover,
4448
- &:focus {
4449
- color: darken($wac-link-color, 15%);
4450
- &:before {
4451
- max-width: 100%;
4452
- }
4369
+ top: 100%;
4370
+ margin-top: 10px;
4371
+ width: auto;
4372
+ right: 0;
4373
+ height: 30px;
4374
+ line-height: 30px;
4375
+ text-align: center;
4376
+ background-color: $wac-multiple-search-error;
4377
+ color: $wac-white;
4378
+ font-size: rem(16);
4379
+ font-weight: 500;
4380
+ white-space: nowrap;
4381
+ padding: 0 20px;
4382
+ border-radius: 3px;
4453
4383
  }
4454
4384
  }
4455
- h3.wac-h3 {
4456
- font-size: rem(16);
4457
- line-height: rem(19);
4385
+ h4.wac-h4 {
4386
+ font-size: rem(14);
4387
+ line-height: rem(16);
4458
4388
  font-weight: 500;
4459
4389
  color: $wac-main-text;
4460
4390
  &.grey {
4461
4391
  color: $wac-second-color;
4462
4392
  }
4463
4393
  }
4464
- .wac-multiple-search-plus {
4394
+ .wac-alert {
4395
+ width: 100%;
4396
+ background-color: transparentize($wac-link-color, 0.85);
4397
+ color: $wac-link-color;
4398
+ border-radius: 3px;
4399
+ display: flex;
4400
+ flex-wrap: nowrap;
4401
+ justify-content: space-between;
4402
+ padding: 20px;
4403
+ &.success {
4404
+ background-color: transparentize($wac-green-color, 0.85);
4405
+ p {
4406
+ color: $wac-p-alert-color-success;
4407
+ > * {
4408
+ color: $wac-p-alert-color-success;
4409
+ }
4410
+ }
4411
+ i {
4412
+ color: $wac-green-color;
4413
+ }
4414
+ }
4415
+ &.warning {
4416
+ background-color: transparentize($wac-primary-button, 0.85);
4417
+ p {
4418
+ color: $wac-p-alert-color-warning;
4419
+ > * {
4420
+ color: $wac-p-alert-color-warning;
4421
+ }
4422
+ }
4423
+ i {
4424
+ color: $wac-primary-button;
4425
+ }
4426
+ }
4427
+ &.alert {
4428
+ background-color: transparentize($wac-orange-color, 0.85);
4429
+ p {
4430
+ color: $wac-p-alert-color-alert;
4431
+ > * {
4432
+ color: $wac-p-alert-color-alert;
4433
+ }
4434
+ }
4435
+ i {
4436
+ color: $wac-orange-color;
4437
+ }
4438
+ }
4439
+ p {
4440
+ width: 100%;
4441
+ font-size: rem(14);
4442
+ line-height: rem(25);
4443
+ margin: 0;
4444
+ padding: 0;
4445
+ color: $wac-p-alert-color-default;
4446
+ > * {
4447
+ color: $wac-p-alert-color-default;
4448
+ }
4449
+ }
4450
+ i {
4451
+ width: auto;
4452
+ margin: 0 10px 0 0;
4453
+ color: inherit;
4454
+ font-size: rem(14);
4455
+ line-height: rem(25);
4456
+ }
4465
4457
 
4458
+ .wac-button i {
4459
+ color: $wac-white;
4460
+ }
4461
+ }
4462
+ .wac-calendar {
4463
+ position: relative;
4464
+ margin: 0 0 20px;
4465
+ width: 268px;
4466
+ &--open {
4467
+ z-index: 9;
4468
+ .wac-calendar {
4469
+ &__absolute {
4470
+ visibility: visible;
4471
+ opacity: 1;
4472
+ transition: 0.3s ease opacity 0.1s, 0s visibility linear 0s;
4473
+ }
4474
+ }
4475
+ }
4476
+ &--edit {
4477
+ display: flex;
4478
+ justify-content: flex-start;
4479
+ align-items: center;
4480
+ align-content: center;
4481
+ & > * {
4482
+ display: inline-block;
4483
+ &:nth-child(2) {
4484
+ margin: 0 10px;
4485
+ }
4486
+ }
4487
+ }
4488
+ &--no-margin {
4489
+ margin: 0;
4490
+ .wac-calendar__autoHide {
4491
+ margin: 0;
4492
+ }
4493
+ }
4494
+ &__label {
4495
+ font-size: rem(14) !important;
4496
+ line-height: rem(16) !important;
4497
+ margin: 0 0 10px !important;
4498
+ color: $wac-color-text-grey !important;
4499
+ cursor: pointer;
4500
+ }
4501
+ &__autoHide {
4502
+ max-width: 300px;
4503
+ position: relative;
4504
+ }
4466
4505
  &__wrapper {
4467
- margin: rem(14) 0;
4468
- width: fit-content;
4469
-
4470
- &__block {
4471
-
4506
+ &__input {
4507
+ border-radius: 3px;
4472
4508
  display: flex;
4509
+ justify-content: flex-start;
4473
4510
  align-items: center;
4474
- justify-content: space-between;
4475
4511
  align-content: center;
4476
- color: $wac-white;
4477
- font-size: rem(14);
4478
- line-height: rem(16);
4479
- border-radius: rem(3);
4480
- padding: rem(8) rem(15);
4481
- font-weight: 500;
4482
- transition: 0.3s ease;
4483
- margin: rem(10) 0;
4484
-
4485
- .wac-text {
4486
- margin: 0;
4512
+ min-width: 240px;
4513
+ max-width: 240px;
4514
+ padding: 7px 20px;
4515
+ border: 1px solid $wac-border-form;
4516
+ cursor: pointer;
4517
+ &__icon {
4518
+ width: 16px;
4519
+ margin: 0 10px 0 0;
4520
+ display: flex;
4521
+ justify-content: space-between;
4522
+ align-items: center;
4523
+ align-content: center;
4524
+ cursor: pointer;
4525
+ &:hover,
4526
+ &:focus {
4527
+ i {
4528
+ color: darken($wac-wizishop-blue, 15%);
4529
+ }
4530
+ }
4531
+ i {
4532
+ color: $wac-second-color;
4533
+ font-size: rem(18);
4534
+ transition: color 300ms ease;
4535
+ }
4487
4536
  }
4488
-
4489
- :nth-child(n){
4490
- padding: 0 3px;
4537
+ &__date {
4538
+ width: auto;
4539
+ white-space: nowrap;
4540
+ position: relative;
4541
+ color: $wac-main-text;
4542
+ font-size: rem(14);
4543
+ line-height: rem(24);
4544
+ margin: 0 15px 0 0;
4545
+ letter-spacing: 0.65px;
4546
+ &:after {
4547
+ content: '';
4548
+ display: block;
4549
+ position: absolute;
4550
+ width: 1px;
4551
+ height: 15px;
4552
+ background-color: $wac-input-border;
4553
+ top: 50%;
4554
+ right: -15px;
4555
+ transform: translateY(-50%);
4556
+ }
4491
4557
  }
4492
-
4493
- i {
4494
- color: $wac-white;
4495
- font-weight: 400;
4496
- margin: 0 0 0 rem(15);
4497
- font-size: rem(13);
4498
- cursor: pointer;
4558
+ &__time {
4559
+ width: auto;
4560
+ white-space: nowrap;
4561
+ font-size: rem(14);
4562
+ line-height: rem(24);
4563
+ color: $wac-main-text;
4564
+ margin: 0 15px;
4565
+ letter-spacing: 1.3px;
4499
4566
  }
4500
-
4501
- &.default {
4502
- background-color: $wac-tag-default;
4503
- border: 1px solid $wac-border-light;
4504
- color: $wac-second-color;
4505
- font-weight: 400;
4567
+ &__close {
4568
+ width: 10px;
4569
+ cursor: pointer;
4506
4570
  i {
4507
- color: $wac-border-form;
4571
+ font-size: 14px;
4572
+ transition: color 300ms ease;
4573
+ color: $wac-primary-button;
4574
+ font-weight: 400;
4508
4575
  }
4509
- &.hover:hover,
4510
- &.hover:focus {
4511
- background-color: darken($wac-tag-default, 15%);
4512
- color: $wac-main-text;
4576
+ &:hover,
4577
+ &:focus {
4513
4578
  i {
4514
- color: $wac-main-text;
4579
+ color: darken($wac-primary-button, 15%);
4515
4580
  }
4516
4581
  }
4517
4582
  }
4518
-
4519
- }
4520
- }
4521
-
4522
- }
4523
-
4524
- .wac-multiple-search {
4525
- width: 100%;
4526
- min-height: 50px;
4527
- border-radius: 3px;
4528
- background-color: $wac-white;
4529
- position: relative;
4530
- z-index: 2;
4531
- border: 1px solid $wac-border-light;
4532
- transition: 0.3s ease;
4533
- &.open {
4534
- border-color: $wac-wizishop-blue;
4535
- }
4536
- &__wrapper {
4537
- position: relative;
4538
- display: flex;
4539
- justify-content: space-between;
4540
- align-items: stretch;
4541
- align-content: stretch;
4542
- flex-wrap: nowrap;
4543
- @include media('<tablet') {
4544
- padding: 0 12px;
4545
4583
  }
4546
- &__left {
4547
- width: auto;
4584
+ &__editInPlace {
4548
4585
  display: flex;
4549
4586
  justify-content: space-between;
4587
+ padding: 5px 0;
4588
+ position: relative;
4550
4589
  align-content: center;
4551
4590
  align-items: center;
4552
- flex-wrap: nowrap;
4553
- position: relative;
4554
- min-height: 50px;
4555
- transition: background-color 0.3s ease;
4556
- background-color: $wac-select-icon-background;
4557
- &__background {
4591
+ cursor: pointer;
4592
+ max-width: 140px;
4593
+ &:after {
4558
4594
  position: absolute;
4595
+ content: '';
4596
+ border-bottom: dashed 1px $wac-calendar-primary;
4559
4597
  width: 100%;
4598
+ bottom: 0;
4560
4599
  left: 0;
4561
- top: 0;
4562
- height: 100%;
4563
- opacity: 0;
4564
- z-index: 4;
4565
- transition: opacity 0.3s ease;
4566
- cursor: pointer;
4567
4600
  }
4568
- > span {
4569
- color: $wac-second-color;
4570
- white-space: nowrap;
4571
- font-size: rem(14);
4572
- line-height: rem(16);
4573
- margin: 0 40px 0 20px;
4574
- transition: 0.3s ease;
4575
- position: relative;
4576
- z-index: 2;
4577
- cursor: pointer;
4578
- @include media('<tablet') {
4579
- text-indent: -9999999px;
4580
- margin: 0;
4581
- width: 11px;
4601
+ &__icon {
4602
+ width: 12px;
4603
+ margin: 0 5px 0 0;
4604
+ display: flex;
4605
+ justify-content: space-between;
4606
+ align-items: center;
4607
+ align-content: center;
4608
+ i {
4609
+ font-size: rem(14);
4610
+ color: $wac-wizishop-blue;
4611
+ transition: color 300ms ease;
4582
4612
  }
4583
4613
  }
4584
- > i {
4585
- transition: 0.3s ease;
4614
+ &__date {
4586
4615
  position: relative;
4587
- z-index: 2;
4588
- cursor: pointer;
4589
- &:nth-child(2) {
4590
- font-size: rem(10);
4591
- color: $wac-main-text;
4592
- margin: 0 20px 0 0;
4593
- @include media('<tablet') {
4594
- margin: 0 10px 0 0;
4595
- }
4596
- }
4616
+ color: $wac-header-color;
4617
+ font-size: rem(14);
4618
+ width: auto;
4619
+ transition: 300ms ease;
4620
+ white-space: nowrap;
4597
4621
  }
4598
- &__select {
4599
- position: absolute;
4600
- top: 50px;
4601
- width: 100%;
4602
- left: 0;
4603
- margin-top: 11px;
4604
- background-color: $wac-white;
4605
- z-index: 3;
4606
- box-shadow: 3px 3px 20px $wac-multiple-search-box-shadow;
4607
- border-radius: 3px;
4608
- border: 1px solid $wac-border-light;
4609
- padding: 10px;
4610
- min-width: 340px;
4611
- &__item {
4612
- display: inline-flex;
4613
- width: 100%;
4614
- font-size: rem(14);
4615
- line-height: rem(30);
4616
- cursor: pointer;
4617
- transition: 0.3s ease;
4618
- position: relative;
4619
- padding: 0 10px;
4620
- .wac-text {
4621
- margin: 0;
4622
- }
4623
- :nth-child(n) {
4624
- padding: 2px;
4625
- }
4626
- &:nth-child(2n) {
4627
- background-color: $wac-gray-background;
4628
- }
4629
- &:not(:last-child) {
4630
- margin: 0 0 rem(10);
4631
- }
4632
- span {
4633
- color: $wac-main-text;
4634
- font-size: rem(12);
4635
- text-align: left;
4636
- }
4637
- &:hover,
4638
- &:focus {
4639
- background-color: darken($wac-gray-background, 15%);
4640
- color: $wac-main-text;
4622
+ &:hover,
4623
+ &:focus {
4624
+ .wac-calendar {
4625
+ &__wrapper {
4626
+ &__editInPlace {
4627
+ &__date {
4628
+ color: darken($wac-header-color, 30%);
4629
+ }
4630
+ &__icon {
4631
+ i {
4632
+ color: darken($wac-wizishop-blue, 15%);
4633
+ }
4634
+ }
4635
+ }
4641
4636
  }
4642
4637
  }
4643
4638
  }
4644
- &:hover,
4645
- &:focus,
4646
- &.open {
4647
- background-color: $wac-hover-multiple-search;
4648
- }
4649
4639
  }
4650
- &__right {
4651
- width: 100%;
4652
- min-height: 50px;
4653
- position: relative;
4654
- form {
4655
- width: 100%;
4656
- }
4657
- input {
4658
- background: transparent;
4659
- border: none;
4660
- color: $wac-main-text;
4661
- font-size: rem(14);
4662
- height: 50px;
4663
- line-height: 50px;
4664
- padding: 0 20px 0 48px;
4665
- font-weight: 400;
4666
- width: 100%;
4667
- @include media('<tablet') {
4668
- padding: 0 0 0 10px;
4669
- }
4670
- &::-webkit-input-placeholder {
4671
- /* Chrome/Opera/Safari */
4672
- color: $wac-multiple-search-input-color;
4673
- opacity: 1;
4674
- font-weight: 400;
4675
- @include media('<tablet') {
4676
- font-size: rem(11);
4677
- }
4678
- }
4679
- &::-moz-placeholder {
4680
- /* Firefox 19+ */
4681
- color: $wac-multiple-search-input-color;
4682
- opacity: 1;
4683
- font-weight: 400;
4684
- @include media('<tablet') {
4685
- font-size: rem(11);
4686
- }
4687
- }
4688
- &:-ms-input-placeholder {
4689
- /* IE 10+ */
4690
- color: $wac-multiple-search-input-color;
4691
- opacity: 1;
4692
- font-weight: 400;
4693
- @include media('<tablet') {
4694
- font-size: rem(11);
4640
+ &__select {
4641
+ border-radius: 3px;
4642
+ display: flex;
4643
+ justify-content: flex-start;
4644
+ align-items: center;
4645
+ align-content: center;
4646
+ min-width: 220px;
4647
+ max-width: 220px;
4648
+ padding: 11px 19px;
4649
+ border: 1px solid $wac-input-border;
4650
+ cursor: pointer;
4651
+ background: $wac-white no-repeat center right 15px
4652
+ url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2210%22%20height%3D%226.032%22%3E%3Cpath%20data-name%3D%22Arrow%20copie%203%22%20d%3D%22M0%20.016L5%204.65l5-4.634v1.378L5%206.028%200%201.394V.02z%22%20fill%3D%22%231e2e43%22%20fill-rule%3D%22evenodd%22/%3E%3C/svg%3E);
4653
+ &__icon {
4654
+ width: 16px;
4655
+ margin: 0 10px 0 0;
4656
+ display: flex;
4657
+ justify-content: space-between;
4658
+ align-items: center;
4659
+ align-content: center;
4660
+ cursor: pointer;
4661
+ &:hover,
4662
+ &:focus {
4663
+ i {
4664
+ color: darken($wac-second-color, 15%);
4695
4665
  }
4696
4666
  }
4697
- &:-moz-placeholder {
4698
- /* Firefox 18- */
4699
- color: $wac-multiple-search-input-color;
4700
- opacity: 1;
4667
+ i {
4668
+ font-size: rem(18);
4701
4669
  font-weight: 400;
4702
- @include media('<tablet') {
4703
- font-size: rem(11);
4704
- }
4670
+ color: $wac-second-color;
4671
+ transition: color 300ms ease;
4705
4672
  }
4706
- &:focus {
4707
- & + button i {
4708
- color: $wac-main-text;
4709
- }
4710
- &::-webkit-input-placeholder {
4711
- /* Chrome/Opera/Safari */
4712
- color: $wac-white;
4713
- opacity: 1;
4714
- }
4715
- &::-moz-placeholder {
4716
- /* Firefox 19+ */
4717
- color: $wac-white;
4718
- opacity: 1;
4719
- }
4720
- &:-ms-input-placeholder {
4721
- /* IE 10+ */
4722
- color: $wac-white;
4723
- opacity: 1;
4724
- }
4725
- &:-moz-placeholder {
4726
- /* Firefox 18- */
4727
- color: $wac-white;
4728
- opacity: 1;
4729
- }
4673
+ }
4674
+ &__date {
4675
+ width: auto;
4676
+ position: relative;
4677
+ color: $wac-header-color;
4678
+ font-size: rem(14);
4679
+ white-space: nowrap;
4680
+ margin: 0;
4681
+ &:after {
4682
+ display: none;
4730
4683
  }
4731
4684
  }
4732
- button {
4733
- display: flex;
4734
- align-items: center;
4735
- align-content: center;
4736
- justify-content: center;
4737
- width: 18px;
4738
- height: 18px;
4739
- border-radius: 3px;
4740
- position: absolute;
4741
- left: 20px;
4742
- top: 50%;
4743
- transform: translateY(-50%);
4744
- border: none;
4685
+ &__close {
4686
+ width: 10px;
4745
4687
  cursor: pointer;
4746
- background-color: $wac-white;
4747
4688
  i {
4748
- font-size: rem(18);
4749
- color: $wac-color-icon-search-multiple-search;
4750
- transition: 0.3s ease;
4689
+ font-size: 14px;
4690
+ transition: color 300ms ease;
4691
+ color: $wac-primary-button;
4751
4692
  }
4752
- &:hover {
4693
+ &:hover,
4694
+ &:focus {
4753
4695
  i {
4754
- color: $wac-wizishop-blue !important;
4696
+ color: darken($wac-primary-button, 15%);
4755
4697
  }
4756
4698
  }
4757
4699
  }
4758
4700
  }
4759
4701
  }
4760
- &__error {
4702
+ &__absolute {
4761
4703
  position: absolute;
4762
4704
  top: 100%;
4763
- margin-top: 10px;
4764
- width: auto;
4765
- right: 0;
4766
- height: 30px;
4767
- line-height: 30px;
4768
- text-align: center;
4769
- background-color: $wac-multiple-search-error;
4770
- color: $wac-white;
4771
- font-size: rem(16);
4772
- font-weight: 500;
4773
- white-space: nowrap;
4774
- padding: 0 20px;
4705
+ left: 50%;
4706
+ transform: translateX(-50%);
4707
+ visibility: hidden;
4708
+ opacity: 0;
4709
+ transition: 0.3s ease opacity, 0s visibility 0.31s;
4710
+ border: 1px solid $wac-border-light;
4711
+ background-color: $wac-white;
4712
+ box-shadow: 3px 3px 20px $wac-calendar-box-shadow;
4775
4713
  border-radius: 3px;
4776
- }
4777
- }
4778
- h4.wac-h4 {
4779
- font-size: rem(14);
4780
- line-height: rem(16);
4781
- font-weight: 500;
4782
- color: $wac-main-text;
4783
- &.grey {
4784
- color: $wac-second-color;
4785
- }
4786
- }
4787
- .wac-alert {
4788
- width: 100%;
4789
- background-color: transparentize($wac-link-color, 0.85);
4790
- color: $wac-link-color;
4791
- border-radius: 3px;
4792
- display: flex;
4793
- flex-wrap: nowrap;
4794
- justify-content: space-between;
4795
- padding: 20px;
4796
- &.success {
4797
- background-color: transparentize($wac-green-color, 0.85);
4798
- p {
4799
- color: $wac-p-alert-color-success;
4800
- > * {
4801
- color: $wac-p-alert-color-success;
4802
- }
4714
+ max-width: 268px;
4715
+ min-width: 268px;
4716
+ &.bottom {
4717
+ transform: translateX(-50%) translateY(10px);
4803
4718
  }
4804
- i {
4805
- color: $wac-green-color;
4719
+ &.top {
4720
+ top: auto;
4721
+ bottom: 100%;
4722
+ transform: translateX(-50%) translateY(-10px);
4806
4723
  }
4807
- }
4808
- &.warning {
4809
- background-color: transparentize($wac-primary-button, 0.85);
4810
- p {
4811
- color: $wac-p-alert-color-warning;
4812
- > * {
4813
- color: $wac-p-alert-color-warning;
4814
- }
4724
+ &.left {
4725
+ transform: translateY(-50%) translateX(-10px);
4726
+ left: auto;
4727
+ right: 100%;
4728
+ top: 50%;
4815
4729
  }
4816
- i {
4817
- color: $wac-primary-button;
4730
+ &.right {
4731
+ transform: translateY(-50%) translateX(10px);
4732
+ left: 100%;
4733
+ top: 50%;
4818
4734
  }
4819
- }
4820
- &.alert {
4821
- background-color: transparentize($wac-orange-color, 0.85);
4822
- p {
4823
- color: $wac-p-alert-color-alert;
4824
- > * {
4825
- color: $wac-p-alert-color-alert;
4826
- }
4735
+ &.left-top {
4736
+ left: auto;
4737
+ right: 100%;
4738
+ top: auto;
4739
+ bottom: 0;
4740
+ transform: translateY(-10px) translateX(-10px);
4827
4741
  }
4828
- i {
4829
- color: $wac-orange-color;
4742
+ &.left-bottom {
4743
+ left: auto;
4744
+ right: 100%;
4745
+ top: 0;
4746
+ transform: translateY(10px) translateX(-10px);
4830
4747
  }
4831
- }
4832
- p {
4833
- width: 100%;
4834
- font-size: rem(14);
4835
- line-height: rem(25);
4836
- margin: 0;
4837
- padding: 0;
4838
- color: $wac-p-alert-color-default;
4839
- > * {
4840
- color: $wac-p-alert-color-default;
4748
+ &.right-top {
4749
+ left: 100%;
4750
+ top: auto;
4751
+ bottom: 0;
4752
+ transform: translateY(-10px) translateX(10px);
4753
+ }
4754
+ &.right-bottom {
4755
+ left: 100%;
4756
+ top: 0;
4757
+ transform: translateY(10px) translateX(10px);
4758
+ }
4759
+ & > * > * {
4760
+ width: 265px;
4761
+ }
4762
+ &__time {
4763
+ position: relative;
4764
+ background-color: $wac-white;
4765
+ padding: 20px;
4766
+ width: 100%;
4767
+ &:before {
4768
+ content: '';
4769
+ width: 100%;
4770
+ height: 5px;
4771
+ bottom: 100%;
4772
+ margin-bottom: -2px;
4773
+ display: block;
4774
+ position: absolute;
4775
+ left: 0;
4776
+ background-color: $wac-white;
4777
+ }
4778
+ &__wrapper {
4779
+ width: 100% !important;
4780
+ display: flex;
4781
+ align-items: center;
4782
+ align-content: center;
4783
+ justify-content: center;
4784
+ min-height: 42px;
4785
+ position: relative;
4786
+ &:before {
4787
+ content: '';
4788
+ display: block;
4789
+ background-color: $wac-wizishop-blue;
4790
+ width: 4px;
4791
+ height: 4px;
4792
+ border-radius: 50%;
4793
+ position: absolute;
4794
+ top: 50%;
4795
+ left: 50%;
4796
+ transform: translate(-50%, -50%);
4797
+ margin-top: -4px;
4798
+ }
4799
+ &:after {
4800
+ content: '';
4801
+ display: block;
4802
+ background-color: $wac-wizishop-blue;
4803
+ width: 4px;
4804
+ height: 4px;
4805
+ border-radius: 50%;
4806
+ position: absolute;
4807
+ top: 50%;
4808
+ left: 50%;
4809
+ transform: translate(-50%, -50%);
4810
+ margin-top: 4px;
4811
+ }
4812
+ &__hours,
4813
+ &__minutes {
4814
+ position: relative;
4815
+ width: 100px;
4816
+ display: flex;
4817
+ flex-wrap: nowrap;
4818
+ &__left,
4819
+ &__right {
4820
+ width: 100%;
4821
+ display: flex;
4822
+ flex-wrap: nowrap;
4823
+ justify-content: center;
4824
+ flex-direction: column;
4825
+ align-items: center;
4826
+ align-content: center;
4827
+ }
4828
+ &__btn {
4829
+ display: flex;
4830
+ justify-content: center;
4831
+ flex-direction: column;
4832
+ align-items: center;
4833
+ align-content: center;
4834
+ width: 40px;
4835
+ height: 20px;
4836
+ background-color: $wac-gray-background;
4837
+ box-shadow: none;
4838
+ border: none;
4839
+ cursor: pointer;
4840
+ transition: 0.3s ease;
4841
+ &:hover,
4842
+ &:focus {
4843
+ background-color: $wac-wizishop-blue;
4844
+ i {
4845
+ color: $wac-white;
4846
+ }
4847
+ }
4848
+ &:first-child {
4849
+ margin: 0 0 2px;
4850
+ }
4851
+ i {
4852
+ font-size: rem(10);
4853
+ color: $wac-second-color;
4854
+ margin: 0;
4855
+ }
4856
+ }
4857
+
4858
+ input::-webkit-outer-spin-button,
4859
+ input::-webkit-inner-spin-button {
4860
+ -webkit-appearance: none;
4861
+ margin: 0;
4862
+ }
4863
+
4864
+ /* Firefox */
4865
+ input[type='number'] {
4866
+ -moz-appearance: textfield;
4867
+ }
4868
+
4869
+ input {
4870
+ border: none;
4871
+ text-align: center;
4872
+ font-size: rem(24);
4873
+ color: $wac-wizishop-blue;
4874
+ padding: 0;
4875
+ line-height: 1.4;
4876
+ margin: 0;
4877
+ width: 100%;
4878
+ }
4879
+ }
4880
+ &__hours {
4881
+ margin: 0 10px 0 0;
4882
+ }
4883
+ &__minutes {
4884
+ margin: 0 0 0 10px;
4885
+ }
4886
+ }
4841
4887
  }
4842
4888
  }
4843
- i {
4844
- width: auto;
4845
- margin: 0 10px 0 0;
4846
- color: inherit;
4847
- font-size: rem(14);
4848
- line-height: rem(25);
4849
- }
4889
+ }
4850
4890
 
4851
- .wac-button i {
4852
- color: $wac-white;
4891
+ .datetimepicker-dummy .datetimepicker-clear-button {
4892
+ top: -3px !important;
4893
+ }
4894
+
4895
+ .datetimepicker-dummy .datetimepicker-dummy-wrapper {
4896
+ border: 1px solid $wac-border-color;
4897
+ border-radius: rem(3);
4898
+
4899
+ &:hover,
4900
+ &:focus {
4901
+ border: 1px solid $wac-wizishop-blue;
4853
4902
  }
4854
4903
  }
4855
- .wac-field-checkbox {
4856
- &__row {
4857
- position: relative;
4858
- min-width: 100%;
4859
- margin: 0;
4904
+
4905
+
4906
+ .datetimepicker {
4907
+ box-shadow: none !important;
4908
+ &-wrapper {
4909
+ border: none !important;
4910
+ box-shadow: none;
4911
+ background: $wac-white;
4860
4912
  }
4861
- &--nowrap {
4862
- display: inline-block;
4863
- width: auto;
4864
- min-width: 0;
4865
- margin: 0 10px 10px 0;
4866
- .field {
4867
- &__row {
4868
- width: auto;
4869
- display: inline-block;
4870
- margin: 0;
4871
- }
4913
+ }
4914
+
4915
+ .datepicker {
4916
+ .datepicker {
4917
+ &-nav {
4918
+ background: $wac-white !important;
4919
+ color: $wac-main-text !important;
4920
+ padding: 15px !important;
4872
4921
  }
4873
4922
  }
4923
+ }
4874
4924
 
4875
- input[type='text'] {
4876
- height: 40px;
4877
- max-height: 40px;
4878
- padding: 0 20px;
4879
- line-height: 40px;
4880
- border: 1px solid $wac-border-form;
4881
- border-radius: 3px;
4882
- margin: 15px 0 10px !important;
4883
- font-size: rem(14) !important;
4884
- color: $wac-main-text;
4885
- &:focus {
4886
- border-color: $wac-wizishop-blue !important;
4887
- box-shadow: 0px 0px 4px $wac-checkbox-shadow !important;
4888
- &::-webkit-input-placeholder {
4889
- /* Chrome/Opera/Safari */
4890
- opacity: 0;
4891
- }
4892
- &::-moz-placeholder {
4893
- /* Firefox 19+ */
4894
- opacity: 0;
4895
- }
4896
- &:-ms-input-placeholder {
4897
- /* IE 10+ */
4898
- opacity: 0;
4899
- }
4900
- &:-moz-placeholder {
4901
- /* Firefox 18- */
4902
- opacity: 0;
4903
- }
4904
- }
4925
+ .datetimepicker .datepicker-nav .datepicker-nav-month,
4926
+ .datetimepicker .datepicker-nav .datepicker-nav-year {
4927
+ color: $wac-main-text !important;
4928
+ font-weight: 500 !important;
4929
+ &:hover,
4930
+ &:focus {
4931
+ color: $wac-wizishop-blue !important;
4905
4932
  }
4906
- &.alone {
4907
- .is-checkradio[type='checkbox'] {
4908
- & + label {
4909
- padding-left: 9px;
4910
- margin-right: 0px;
4933
+ }
4911
4934
 
4912
- &:before {
4913
- border-width: 1px;
4914
- width: 16px;
4915
- height: 16px;
4916
- border-radius: 2px;
4917
- }
4918
- }
4919
- &:checked + label {
4920
- &:after {
4921
- top: 7px;
4922
- transform: scale(1.1) translateY(1px) translateX(6px) rotate(45deg);
4923
- }
4924
- }
4925
- }
4935
+ .datepicker-nav-year {
4936
+ font-weight: 500 !important;
4937
+ }
4938
+
4939
+ .datetimepicker .datepicker-nav .datepicker-nav-previous,
4940
+ .datetimepicker .datepicker-nav .datepicker-nav-next {
4941
+ border-radius: 3px;
4942
+ color: $wac-main-text !important;
4943
+ width: 25px !important;
4944
+ height: 25px !important;
4945
+ display: flex;
4946
+ justify-content: center;
4947
+ align-items: center;
4948
+ align-content: center;
4949
+ border: 1px solid $wac-border-light;
4950
+ transition: 0.3s ease;
4951
+ > svg {
4952
+ display: none !important;
4926
4953
  }
4954
+ }
4927
4955
 
4928
- .is-checkradio[type='checkbox'] {
4929
- outline: 0 !important;
4930
- top: 0;
4931
- & + label {
4932
- font-size: rem(14);
4933
- line-height: 0;
4934
- color: $wac-input-radio-color-label;
4956
+ .datetimepicker .datepicker-nav .datepicker-nav-previous {
4957
+ background: $wac-white
4958
+ url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='chevron-left' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512' class='svg-inline--fa fa-chevron-left fa-w-10 fa-2x'%3E%3Cpath fill='currentColor' 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' class=''%3E%3C/path%3E%3C/svg%3E")
4959
+ center center no-repeat !important;
4960
+ background-size: 6px auto !important;
4961
+ &:hover,
4962
+ &:focus {
4963
+ border-color: $wac-wizishop-blue !important;
4964
+ }
4965
+ }
4966
+
4967
+ .datetimepicker .datepicker-nav .datepicker-nav-next {
4968
+ background: $wac-white
4969
+ url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='chevron-right' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512' class='svg-inline--fa fa-chevron-right fa-w-10 fa-2x'%3E%3Cpath fill='currentColor' 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' class=''%3E%3C/path%3E%3C/svg%3E")
4970
+ center center no-repeat !important;
4971
+ background-size: 6px auto !important;
4972
+ &:hover,
4973
+ &:focus {
4974
+ border-color: $wac-wizishop-blue !important;
4975
+ }
4976
+ }
4977
+
4978
+ .wac-calendar__absolute {
4979
+ .datetimepicker .datepicker-body .datepicker-weekdays {
4980
+ padding: 0 15px;
4981
+ }
4982
+ .datepicker-weekdays {
4983
+ height: 14px;
4984
+ margin: 0 0 rem(12);
4985
+ .datepicker-date {
4986
+ font-size: rem(12);
4935
4987
  white-space: nowrap;
4936
- padding: 0 8px;
4937
- margin-right: 0;
4938
- outline: 0 !important;
4939
- &:before {
4940
- width: 16px;
4941
- height: 16px;
4942
- border: 1px solid $wac-border-color;
4943
- top: 0;
4944
- transition: all 0.3s ease-in-out;
4945
- }
4946
- &:after {
4947
- top: 2.3px !important;
4948
- left: 3px !important;
4949
- width: 10px;
4950
- height: 12px;
4951
- border: none !important;
4952
- background: transparent
4953
- 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")
4954
- center center / 8px 8px no-repeat;
4955
- transform: scale(1) translateY(0px) translateX(0px) rotate(0deg) !important;
4956
- transition: all 0.3s ease-in-out;
4957
- }
4958
- span {
4959
- margin: 0 0 0 rem(16);
4960
- display: inline-block;
4961
- }
4962
- &:hover,
4963
- &:focus {
4964
- &:before {
4965
- border-color: $wac-input-active-color !important;
4966
- }
4967
- }
4968
- &:before,
4969
- &:after {
4970
- outline: 0 !important;
4971
- }
4972
- }
4973
- &:hover {
4974
- & + label {
4975
- color: $wac-input-radio-color-active-label;
4976
- &:before {
4977
- border-color: $wac-input-active-color !important;
4978
- }
4979
- &:after {
4980
- border-color: $wac-white !important;
4981
- }
4982
- }
4983
- &:not([disabled]) {
4984
- & + label {
4985
- &:before {
4986
- border-color: $wac-input-active-color !important;
4987
- }
4988
- }
4989
- }
4990
- }
4991
- &:checked + label {
4992
- color: $wac-input-radio-color-active-label;
4993
- &:before {
4994
- border: 1px solid $wac-input-active-color;
4995
- background-color: $wac-input-active-color;
4996
- transition: all 0.3s ease-in-out;
4997
- }
4998
- &:after {
4999
- left: 7px;
5000
- top: 8px;
5001
- transition: all 0.3s ease-in-out;
5002
- }
4988
+ line-height: 1;
4989
+ padding: 0 !important;
4990
+ color: $wac-secondary-color !important;
5003
4991
  }
5004
4992
  }
4993
+ .datepicker-days {
4994
+ padding: 0 15px !important;
4995
+ }
4996
+ .datetimepicker.is-primary .datepicker-body .datepicker-dates .datepicker-days .datepicker-date .date-item.is-active {
4997
+ background-color: $wac-wizishop-blue;
4998
+ }
4999
+ .datetimepicker.is-primary .datepicker-body .datepicker-dates .datepicker-days .datepicker-date .date-item:hover {
5000
+ border-color: $wac-wizishop-blue;
5001
+ }
5002
+ }
5005
5003
 
5004
+ .datetimepicker .datetimepicker-footer {
5005
+ display: none;
5006
5006
  }
5007
5007
 
5008
5008