@wizishop/angular-components 0.0.223 → 0.0.226

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.
@@ -394,74 +394,163 @@ $wac-subtitle-color: #7A87A1!default;
394
394
  }
395
395
  }
396
396
  }
397
+
398
+
397
399
  .wac {
398
- &-select-in-text {
399
- width: auto;
400
+ &-select {
401
+ width: 100%;
400
402
  position: relative;
401
- display: flex;
402
- align-items: center;
403
- padding: 20px 0;
403
+ height: 40px;
404
+ border: 1px solid $wac-border-form;
405
+ margin: 0;
406
+ border-radius: 3px;
407
+ z-index: 2;
408
+ background-color: $wac-white;
409
+ max-width: 100%;
404
410
  &:hover,
405
411
  &:focus {
406
412
  z-index: 4;
407
413
  }
408
- &__prepend,
409
- &__after {
414
+ &__label {
415
+ padding: 0;
410
416
  font-size: rem(14);
411
417
  line-height: rem(16);
412
- color: $wac-main-text;
413
- }
414
- &__prepend {
415
- margin: 0 rem(4) 0 0;
416
- }
417
- &__after {
418
- margin: 0 0 0 rem(4);
418
+ margin: 0 0 rem(12);
419
+ font-weight: 500;
419
420
  }
420
421
  &__current {
421
422
  display: flex;
422
- width: auto;
423
+ width: 100%;
424
+ height: 38px;
423
425
  justify-content: space-between;
424
426
  align-items: center;
425
427
  align-content: center;
428
+ padding: 0 0 0 20px;
429
+ color: $wac-color-text-grey;
426
430
  font-size: rem(14);
427
431
  line-height: rem(16);
428
- color: $wac-main-text;
429
432
  cursor: pointer;
430
433
  white-space: nowrap;
431
434
  text-overflow: ellipsis;
432
- font-weight: 500;
433
- position: relative;
434
- span {
435
- position: relative;
436
- white-space: nowrap;
437
- &:before {
438
- content: '';
439
- display: block;
440
- position: absolute;
441
- bottom: -3px;
442
- left: 0;
443
- width: 100%;
444
- height: 1.5px;
445
- 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' stroke='%23e95656' stroke-width='1' stroke-dasharray='3%2c 6' stroke-dashoffset='4' stroke-linecap='square'/%3e%3c/svg%3e");
446
- background-position: left top;
435
+ max-width: 100%;
436
+ overflow: hidden;
437
+ &--withSearch {
438
+ padding: 0;
439
+ span {
440
+ &:not(.icon):not(:last-child) {
441
+ display: block;
442
+ width: 100%;
443
+ height: rem(38);
444
+ line-height: rem(38);
445
+ padding: 0 20px;
446
+ }
447
+ &.icon {
448
+ & + span {
449
+ padding: 0;
450
+ }
451
+ }
452
+ &:last-child {
453
+ margin: 0;
454
+ }
447
455
  }
448
- &:after {
449
- content: '';
456
+ &.open-search {
457
+ span {
458
+ &:not(.icon):not(:last-child) {
459
+ display: none;
460
+ }
461
+ &.icon {
462
+ display: none;
463
+ }
464
+ }
465
+ }
466
+ }
467
+ span.icon {
468
+ max-width: 24px;
469
+ margin: 0 10px 0 0;
470
+ i {
471
+ font-size: rem(17);
472
+ }
473
+ img {
450
474
  display: block;
451
- position: absolute;
452
- top: 100%;
453
- left: 0;
475
+ max-width: rem(24);
476
+ }
477
+ &:empty {
478
+ display: none;
479
+ }
480
+ }
481
+ > span:not([class]):not(:last-child) {
482
+ width: 100%;
483
+ text-align: left;
484
+ max-width: calc(100% - 58px);
485
+ overflow: hidden;
486
+ text-overflow: ellipsis;
487
+ }
488
+ span:last-child {
489
+ width: 38px;
490
+ min-width: 38px;
491
+ height: 38px;
492
+ margin: 0 0 0 20px;
493
+ display: flex;
494
+ justify-content: center;
495
+ align-items: center;
496
+ align-content: center;
497
+ background-color: $wac-select-icon-background;
498
+ border-radius: 0 3px 3px 0;
499
+ z-index: 3;
500
+ i {
501
+ font-size: rem(12);
502
+ color: $wac-second-color;
503
+ }
504
+ }
505
+ &__search {
506
+ position: relative;
507
+ top: 0;
508
+ left: 0;
509
+ width: 100%;
510
+ height: rem(38);
511
+ display: flex;
512
+ align-items: center;
513
+ align-content: center;
514
+ z-index: 2;
515
+ padding: 0 0 0 rem(20);
516
+ input {
517
+ border: none;
454
518
  width: 100%;
455
- height: 14px;
519
+ box-shadow: none;
520
+ margin: 0 0 0 rem(10);
521
+ padding: 0;
522
+ height: rem(38);
523
+ line-height: rem(38);
524
+ &:focus {
525
+ &::-webkit-input-placeholder { /* Chrome/Opera/Safari */
526
+ opacity: 0;
527
+ }
528
+ &::-moz-placeholder { /* Firefox 19+ */
529
+ opacity: 0;
530
+ }
531
+ &:-ms-input-placeholder { /* IE 10+ */
532
+ opacity: 0;
533
+ }
534
+ &:-moz-placeholder { /* Firefox 18- */
535
+ opacity: 0;
536
+ }
537
+
538
+ }
456
539
  }
457
540
  }
458
541
  }
542
+ .select-disabled {
543
+ background-color: #f5f8fa;
544
+ cursor: not-allowed;
545
+ }
459
546
  &__content {
460
547
  position: absolute;
461
548
  top: 100%;
462
549
  margin-top: rem(14);
463
- left: 0;
550
+ left: -1px;
464
551
  width: auto;
552
+ min-width: calc(100% - 38px);
553
+ max-width: calc(100% + 2px);
465
554
  border: 1px solid $wac-border-light;
466
555
  border-radius: 3px;
467
556
  display: flex;
@@ -469,11 +558,18 @@ $wac-subtitle-color: #7A87A1!default;
469
558
  justify-content: flex-start;
470
559
  align-items: flex-start;
471
560
  background-color: $wac-white;
472
- max-height: 400px;
561
+ max-height: 260px;
473
562
  height: auto;
474
563
  visibility: visible;
475
564
  opacity: 1;
476
565
  box-shadow: 3px 3px 20px $wac-select-box-shadow;
566
+ padding: 10px;
567
+ .to-top & {
568
+ top: auto;
569
+ bottom: 100%;
570
+ margin-top: 0;
571
+ margin-bottom: rem(14);
572
+ }
477
573
  &.hidden {
478
574
  visibility: hidden;
479
575
  opacity: 0;
@@ -482,6 +578,9 @@ $wac-subtitle-color: #7A87A1!default;
482
578
  transition: 0s;
483
579
  }
484
580
  }
581
+ .ps {
582
+ max-height: 240px;
583
+ }
485
584
  &.open,
486
585
  &.open.hidden {
487
586
  position: relative;
@@ -495,10 +594,45 @@ $wac-subtitle-color: #7A87A1!default;
495
594
  transition: 0s;
496
595
  }
497
596
  }
597
+ &__cta {
598
+ background-color: $wac-color-CTA-select;
599
+ border: 1px solid $wac-border-CTA-select;
600
+ color: $wac-main-text;
601
+ font-size: rem(14);
602
+ min-height: rem(40);
603
+ display: flex;
604
+ align-items: center;
605
+ align-content: center;
606
+ width: 100%;
607
+ border-radius: 3px;
608
+ cursor: pointer;
609
+ transition: 0.3s ease;
610
+ margin: 0 0 rem(10);
611
+ padding: 0 20px;
612
+ > div {
613
+ display: flex;
614
+ align-items: center;
615
+ align-content: center;
616
+ justify-content: flex-start;
617
+ width: 100%;
618
+ i {
619
+ color: $wac-wizishop-blue;
620
+ margin: 0 8px 0 0;
621
+ }
622
+ strong {
623
+ display: inline-block;
624
+ margin: 0 20px 0 0;
625
+ }
626
+ }
627
+ &:hover,
628
+ &:focus {
629
+ background-color: darken($wac-color-CTA-select, 10%);
630
+ }
631
+ }
498
632
  &__item {
499
633
  width: 100%;
500
634
  font-size: rem(14);
501
- line-height: rem(40);
635
+ line-height: rem(30);
502
636
  cursor: pointer;
503
637
  transition: 0.3s ease;
504
638
  position: relative;
@@ -506,18 +640,21 @@ $wac-subtitle-color: #7A87A1!default;
506
640
  justify-content: flex-start;
507
641
  align-content: center;
508
642
  align-items: center;
509
- font-weight: 400;
643
+ color: $wac-second-color;
510
644
  > div {
511
- padding: 0 20px;
512
- min-width: 100%;
513
- &.selected {
514
- background-color: $wac-hover-multiple-search;
515
- color: $wac-main-text;
516
- }
645
+ width: 100%;
646
+ display: flex;
647
+ align-items: center;
648
+ align-content: center;
517
649
  }
518
650
  .icon {
519
651
  width: 24px;
520
652
  margin: 0 10px 0 0;
653
+ height: auto;
654
+ max-height: 24px;
655
+ }
656
+ &:not(:last-child) {
657
+ margin: 0 0 rem(10);
521
658
  }
522
659
  &:empty {
523
660
  display: none;
@@ -530,6 +667,28 @@ $wac-subtitle-color: #7A87A1!default;
530
667
  background-color: $wac-gray-background;
531
668
  color: $wac-main-text;
532
669
  }
670
+ > div {
671
+ padding: 0 10px;
672
+ &.selected {
673
+ background-color: $wac-gray-background;
674
+ color: $wac-main-text;
675
+ }
676
+ }
677
+ }
678
+ &__empty {
679
+ display: flex;
680
+ width: 100%;
681
+ justify-content: center;
682
+ align-items: center;
683
+ padding: 10px;
684
+ span {
685
+ font-size: rem(16);
686
+ font-weight: 400;
687
+ text-align: center;
688
+ color: $wac-second-color;
689
+ display: inline-block;
690
+ line-height: rem(25);
691
+ }
533
692
  }
534
693
  }
535
694
  }
@@ -1014,96 +1173,183 @@ $wac-subtitle-color: #7A87A1!default;
1014
1173
  font-weight: 500;
1015
1174
  }
1016
1175
 
1017
- &__button {
1018
- height: rem(40);
1019
- width: fit-content;
1020
- margin-left: auto;
1021
-
1022
- &__mobile {
1023
- @include media('>=1024px') {
1024
- display: none;
1025
- }
1026
- }
1027
-
1028
- &__notMobile {
1029
- @include media('<1024px') {
1030
- display: none;
1031
- }
1032
- }
1176
+ &__button {
1177
+ height: rem(40);
1178
+ width: fit-content;
1179
+ margin-left: auto;
1180
+
1181
+ &__mobile {
1182
+ @include media('>=1024px') {
1183
+ display: none;
1184
+ }
1185
+ }
1186
+
1187
+ &__notMobile {
1188
+ @include media('<1024px') {
1189
+ display: none;
1190
+ }
1191
+ }
1192
+
1193
+ }
1194
+
1195
+ }
1196
+ &__content {
1197
+ width: 100%;
1198
+ display: flex;
1199
+ flex-wrap: wrap;
1200
+ align-items: flex-start;
1201
+ align-content: flex-start;
1202
+ justify-content: flex-start;
1203
+ &__item {
1204
+ white-space: nowrap;
1205
+ margin: 0 10px 10px 0;
1206
+ border: 1px solid $wac-border-form;
1207
+ border-radius: 2px;
1208
+ color: $wac-second-color;
1209
+ height: rem(40);
1210
+ display: flex;
1211
+ justify-content: center;
1212
+ align-items: center;
1213
+ padding: 0 20px;
1214
+ transition: .3s ease;
1215
+ font-size: rem(16);
1216
+ line-height: rem(19);
1217
+ font-weight: 500;
1218
+ cursor: pointer;
1219
+ &:hover, &:focus {
1220
+ border: 1px solid $wac-main-text;
1221
+ }
1222
+ > i {
1223
+ color: $wac-green-color;
1224
+ max-width: 0;
1225
+ display: block;
1226
+ transition: .3s ease;
1227
+ overflow: hidden;
1228
+ }
1229
+ &.active {
1230
+ color: $wac-main-text;
1231
+ > i {
1232
+ max-width: unset;
1233
+ margin: 0 0 0 10px;
1234
+ }
1235
+ }
1236
+ &:first-child {
1237
+ margin-left: 18px;
1238
+ }
1239
+ }
1240
+ }
1241
+ }
1242
+ }.wac-block {
1243
+ background-color: $white;
1244
+ @include padding(rem(30));
1245
+ box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.05);
1246
+ @include simple_transition();
1247
+ height: 100%;
1248
+ border-radius: 3px;
1249
+
1250
+ @include media('<tablet') {
1251
+ @include padding(rem(20));
1252
+ }
1253
+
1254
+ &.no-padding {
1255
+ padding: 0;
1256
+ }
1257
+
1258
+ &.border-radius {
1259
+ border-radius: 5px;
1260
+ }
1261
+
1262
+ &.sticky {
1263
+ position: sticky;
1264
+ top: 20px;
1265
+ }
1266
+
1267
+ &.noFullHeight {
1268
+ height: auto;
1269
+ }
1270
+
1271
+ &.stretch {
1272
+ display: flex;
1273
+ flex-wrap: wrap;
1274
+ .wac-block__content {
1275
+ display: flex;
1276
+ }
1277
+ }
1278
+
1279
+ /*************************/
1280
+ /* Titre INTERNE au bloc */
1281
+ /*************************/
1282
+ &__title {
1283
+ text-transform: none;
1284
+ font-size: rem(16);
1285
+ font-weight: 500;
1286
+ margin-bottom: rem(20);
1287
+ color: $wac-main-text;
1288
+
1289
+ &.no-uppercase {
1290
+ text-transform: none;
1291
+ }
1292
+
1293
+ &.is-simple {
1294
+ text-transform: none;
1295
+ font-weight: 500;
1296
+ }
1297
+ i {
1298
+ font-size: 16px;
1299
+ margin: 0 0 0 8px;
1300
+ &.success {
1301
+ color: $wac-green-color;
1302
+ }
1303
+ &.warning {
1304
+ color: $wac-orange-color;
1305
+ }
1306
+ &.danger {
1307
+ color: $wac-primary-button;
1308
+ }
1309
+ }
1310
+ }
1311
+
1312
+ &:hover {
1313
+ box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
1314
+ }
1033
1315
 
1034
- }
1316
+ /*************************/
1317
+ /* Titre EXTERNE au bloc */
1318
+ /*************************/
1319
+ &__external {
1320
+ padding: 0;
1321
+ background: transparent;
1322
+ box-shadow: none;
1323
+ height: calc(100% - 60px);
1324
+ transition: none;
1035
1325
 
1036
- }
1037
- &__content {
1038
- width: 100%;
1039
- display: flex;
1040
- flex-wrap: wrap;
1041
- align-items: flex-start;
1042
- align-content: flex-start;
1043
- justify-content: flex-start;
1044
- &__item {
1045
- white-space: nowrap;
1046
- margin: 0 10px 10px 0;
1047
- border: 1px solid $wac-border-form;
1048
- border-radius: 2px;
1049
- color: $wac-second-color;
1050
- height: rem(40);
1051
- display: flex;
1052
- justify-content: center;
1053
- align-items: center;
1054
- padding: 0 20px;
1055
- transition: .3s ease;
1056
- font-size: rem(16);
1057
- line-height: rem(19);
1326
+ .wac-block__title {
1327
+ font-size: 1.875rem;
1328
+ margin-bottom: 1.5rem;
1329
+ margin-left: 10px;
1330
+ line-height: 1.5625rem;
1331
+ margin-top: 0.625rem;
1332
+ font-weight: 400;
1333
+ color: $wac-block-color;
1334
+ &.is-simple {
1335
+ text-transform: none;
1058
1336
  font-weight: 500;
1059
- cursor: pointer;
1060
- &:hover, &:focus {
1061
- border: 1px solid $wac-main-text;
1062
- }
1063
- > i {
1064
- color: $wac-green-color;
1065
- max-width: 0;
1066
- display: block;
1067
- transition: .3s ease;
1068
- overflow: hidden;
1069
- }
1070
- &.active {
1071
- color: $wac-main-text;
1072
- > i {
1073
- max-width: unset;
1074
- margin: 0 0 0 10px;
1075
- }
1076
- }
1077
- &:first-child {
1078
- margin-left: 18px;
1079
- }
1080
1337
  }
1081
1338
  }
1082
- }
1083
- }.wac-back {
1084
- width: 40px;
1085
- height: 40px;
1086
-
1087
- &__wrapper {
1088
- @include flexbox();
1089
- @include justify-content(center);
1090
- @include align-items(center);
1091
- width: 100%;
1092
- height: 100%;
1093
- border-radius: 3px;
1094
- border: 1px solid $wac-border-light;
1095
- background-color: transparent;
1096
- transition: border-color 0.3s ease-in-out;
1097
1339
 
1098
- i {
1099
- color: $wac-second-color;
1100
- font-size: 11px;
1101
- line-height: 14px;
1340
+ .wac-block__content {
1341
+ background-color: $wac-block-color-background;
1342
+ padding: 1.875rem;
1343
+ box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.1);
1344
+ transition: none;
1345
+ height: 100%;
1346
+ &:hover {
1347
+ box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
1348
+ }
1102
1349
  }
1103
1350
 
1104
1351
  &:hover {
1105
- border-color: $wac-back-border-hover;
1106
- transition: border-color 0.3s ease-in-out;
1352
+ box-shadow: none;
1107
1353
  }
1108
1354
  }
1109
1355
  }
@@ -1129,6 +1375,24 @@ $wac-subtitle-color: #7A87A1!default;
1129
1375
  &:not(.no-responsive) {
1130
1376
  max-width: 100%;
1131
1377
  overflow: hidden;
1378
+ .wac-breadcrumbs {
1379
+ &__wrapper {
1380
+ @include media('<tablet') {
1381
+ width: auto;
1382
+ overflow-x: scroll;
1383
+ }
1384
+ }
1385
+ &__item {
1386
+ @include media('<tablet') {
1387
+ width: auto;
1388
+ min-width: unset;
1389
+ max-width: unset;
1390
+ .name {
1391
+ white-space: nowrap;
1392
+ }
1393
+ }
1394
+ }
1395
+ }
1132
1396
  }
1133
1397
  }
1134
1398
 
@@ -1136,13 +1400,6 @@ $wac-subtitle-color: #7A87A1!default;
1136
1400
  width: 100%;
1137
1401
  display: flex;
1138
1402
  align-items: center;
1139
-
1140
- @include media('<tablet') {
1141
- :not(.no-responsive) & {
1142
- width: auto;
1143
- overflow-x: scroll;
1144
- }
1145
- }
1146
1403
  }
1147
1404
 
1148
1405
  &__item {
@@ -1176,16 +1433,6 @@ $wac-subtitle-color: #7A87A1!default;
1176
1433
  height: 5px;
1177
1434
  }
1178
1435
  }
1179
- @include media('<tablet') {
1180
- :not(.no-responsive) & {
1181
- width: auto;
1182
- min-width: unset;
1183
- max-width: unset;
1184
- .name {
1185
- white-space: nowrap;
1186
- }
1187
- }
1188
- }
1189
1436
  .round {
1190
1437
  min-width: 30px;
1191
1438
  height: 30px;
@@ -4015,117 +4262,30 @@ span.wac-tooltip {
4015
4262
  }
4016
4263
  }
4017
4264
  }
4018
- .wac-block {
4019
- background-color: $white;
4020
- @include padding(rem(30));
4021
- box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.05);
4022
- @include simple_transition();
4023
- height: 100%;
4024
- border-radius: 3px;
4025
-
4026
- @include media('<tablet') {
4027
- @include padding(rem(20));
4028
- }
4029
-
4030
- &.no-padding {
4031
- padding: 0;
4032
- }
4033
-
4034
- &.border-radius {
4035
- border-radius: 5px;
4036
- }
4037
-
4038
- &.sticky {
4039
- position: sticky;
4040
- top: 20px;
4041
- }
4042
-
4043
- &.noFullHeight {
4044
- height: auto;
4045
- }
4046
-
4047
- &.stretch {
4048
- display: flex;
4049
- flex-wrap: wrap;
4050
- .wac-block__content {
4051
- display: flex;
4052
- }
4053
- }
4054
-
4055
- /*************************/
4056
- /* Titre INTERNE au bloc */
4057
- /*************************/
4058
- &__title {
4059
- text-transform: none;
4060
- font-size: rem(16);
4061
- font-weight: 500;
4062
- margin-bottom: rem(20);
4063
- color: $wac-main-text;
4265
+ .wac-back {
4266
+ width: 40px;
4267
+ height: 40px;
4064
4268
 
4065
- &.no-uppercase {
4066
- text-transform: none;
4067
- }
4269
+ &__wrapper {
4270
+ @include flexbox();
4271
+ @include justify-content(center);
4272
+ @include align-items(center);
4273
+ width: 100%;
4274
+ height: 100%;
4275
+ border-radius: 3px;
4276
+ border: 1px solid $wac-border-light;
4277
+ background-color: transparent;
4278
+ transition: border-color 0.3s ease-in-out;
4068
4279
 
4069
- &.is-simple {
4070
- text-transform: none;
4071
- font-weight: 500;
4072
- }
4073
4280
  i {
4074
- font-size: 16px;
4075
- margin: 0 0 0 8px;
4076
- &.success {
4077
- color: $wac-green-color;
4078
- }
4079
- &.warning {
4080
- color: $wac-orange-color;
4081
- }
4082
- &.danger {
4083
- color: $wac-primary-button;
4084
- }
4085
- }
4086
- }
4087
-
4088
- &:hover {
4089
- box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
4090
- }
4091
-
4092
- /*************************/
4093
- /* Titre EXTERNE au bloc */
4094
- /*************************/
4095
- &__external {
4096
- padding: 0;
4097
- background: transparent;
4098
- box-shadow: none;
4099
- height: calc(100% - 60px);
4100
- transition: none;
4101
-
4102
- .wac-block__title {
4103
- font-size: 1.875rem;
4104
- margin-bottom: 1.5rem;
4105
- margin-left: 10px;
4106
- line-height: 1.5625rem;
4107
- margin-top: 0.625rem;
4108
- font-weight: 400;
4109
- color: $wac-block-color;
4110
- &.is-simple {
4111
- text-transform: none;
4112
- font-weight: 500;
4113
- }
4114
- }
4115
-
4116
- .wac-block__content {
4117
- background-color: $wac-block-color-background;
4118
- padding: 1.875rem;
4119
- box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.1);
4120
- transition: none;
4121
- height: 100%;
4122
- &:hover {
4123
- box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
4124
- }
4281
+ color: $wac-second-color;
4282
+ font-size: 11px;
4283
+ line-height: 14px;
4125
4284
  }
4126
4285
 
4127
4286
  &:hover {
4128
- box-shadow: none;
4287
+ border-color: $wac-back-border-hover;
4288
+ transition: border-color 0.3s ease-in-out;
4129
4289
  }
4130
4290
  }
4131
4291
  }
@@ -6348,163 +6508,74 @@ h4.wac-h4 {
6348
6508
  }
6349
6509
  }
6350
6510
  }
6351
-
6352
-
6353
6511
  .wac {
6354
- &-select {
6355
- width: 100%;
6512
+ &-select-in-text {
6513
+ width: auto;
6356
6514
  position: relative;
6357
- height: 40px;
6358
- border: 1px solid $wac-border-form;
6359
- margin: 0;
6360
- border-radius: 3px;
6361
- z-index: 2;
6362
- background-color: $wac-white;
6363
- max-width: 100%;
6515
+ display: flex;
6516
+ align-items: center;
6517
+ padding: 20px 0;
6364
6518
  &:hover,
6365
6519
  &:focus {
6366
6520
  z-index: 4;
6367
6521
  }
6368
- &__label {
6369
- padding: 0;
6522
+ &__prepend,
6523
+ &__after {
6370
6524
  font-size: rem(14);
6371
6525
  line-height: rem(16);
6372
- margin: 0 0 rem(12);
6373
- font-weight: 500;
6526
+ color: $wac-main-text;
6527
+ }
6528
+ &__prepend {
6529
+ margin: 0 rem(4) 0 0;
6530
+ }
6531
+ &__after {
6532
+ margin: 0 0 0 rem(4);
6374
6533
  }
6375
6534
  &__current {
6376
6535
  display: flex;
6377
- width: 100%;
6378
- height: 38px;
6536
+ width: auto;
6379
6537
  justify-content: space-between;
6380
6538
  align-items: center;
6381
6539
  align-content: center;
6382
- padding: 0 0 0 20px;
6383
- color: $wac-color-text-grey;
6384
6540
  font-size: rem(14);
6385
6541
  line-height: rem(16);
6542
+ color: $wac-main-text;
6386
6543
  cursor: pointer;
6387
6544
  white-space: nowrap;
6388
6545
  text-overflow: ellipsis;
6389
- max-width: 100%;
6390
- overflow: hidden;
6391
- &--withSearch {
6392
- padding: 0;
6393
- span {
6394
- &:not(.icon):not(:last-child) {
6395
- display: block;
6396
- width: 100%;
6397
- height: rem(38);
6398
- line-height: rem(38);
6399
- padding: 0 20px;
6400
- }
6401
- &.icon {
6402
- & + span {
6403
- padding: 0;
6404
- }
6405
- }
6406
- &:last-child {
6407
- margin: 0;
6408
- }
6409
- }
6410
- &.open-search {
6411
- span {
6412
- &:not(.icon):not(:last-child) {
6413
- display: none;
6414
- }
6415
- &.icon {
6416
- display: none;
6417
- }
6418
- }
6419
- }
6420
- }
6421
- span.icon {
6422
- max-width: 24px;
6423
- margin: 0 10px 0 0;
6424
- i {
6425
- font-size: rem(17);
6426
- }
6427
- img {
6546
+ font-weight: 500;
6547
+ position: relative;
6548
+ span {
6549
+ position: relative;
6550
+ white-space: nowrap;
6551
+ &:before {
6552
+ content: '';
6428
6553
  display: block;
6429
- max-width: rem(24);
6430
- }
6431
- &:empty {
6432
- display: none;
6433
- }
6434
- }
6435
- > span:not([class]):not(:last-child) {
6436
- width: 100%;
6437
- text-align: left;
6438
- max-width: calc(100% - 58px);
6439
- overflow: hidden;
6440
- text-overflow: ellipsis;
6441
- }
6442
- span:last-child {
6443
- width: 38px;
6444
- min-width: 38px;
6445
- height: 38px;
6446
- margin: 0 0 0 20px;
6447
- display: flex;
6448
- justify-content: center;
6449
- align-items: center;
6450
- align-content: center;
6451
- background-color: $wac-select-icon-background;
6452
- border-radius: 0 3px 3px 0;
6453
- z-index: 3;
6454
- i {
6455
- font-size: rem(12);
6456
- color: $wac-second-color;
6554
+ position: absolute;
6555
+ bottom: -3px;
6556
+ left: 0;
6557
+ width: 100%;
6558
+ height: 1.5px;
6559
+ 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' stroke='%23e95656' stroke-width='1' stroke-dasharray='3%2c 6' stroke-dashoffset='4' stroke-linecap='square'/%3e%3c/svg%3e");
6560
+ background-position: left top;
6457
6561
  }
6458
- }
6459
- &__search {
6460
- position: relative;
6461
- top: 0;
6462
- left: 0;
6463
- width: 100%;
6464
- height: rem(38);
6465
- display: flex;
6466
- align-items: center;
6467
- align-content: center;
6468
- z-index: 2;
6469
- padding: 0 0 0 rem(20);
6470
- input {
6471
- border: none;
6562
+ &:after {
6563
+ content: '';
6564
+ display: block;
6565
+ position: absolute;
6566
+ top: 100%;
6567
+ left: 0;
6472
6568
  width: 100%;
6473
- box-shadow: none;
6474
- margin: 0 0 0 rem(10);
6475
- padding: 0;
6476
- height: rem(38);
6477
- line-height: rem(38);
6478
- &:focus {
6479
- &::-webkit-input-placeholder { /* Chrome/Opera/Safari */
6480
- opacity: 0;
6481
- }
6482
- &::-moz-placeholder { /* Firefox 19+ */
6483
- opacity: 0;
6484
- }
6485
- &:-ms-input-placeholder { /* IE 10+ */
6486
- opacity: 0;
6487
- }
6488
- &:-moz-placeholder { /* Firefox 18- */
6489
- opacity: 0;
6490
- }
6491
-
6492
- }
6569
+ height: 14px;
6493
6570
  }
6494
6571
  }
6495
6572
  }
6496
- .select-disabled {
6497
- background-color: #f5f8fa;
6498
- cursor: not-allowed;
6499
- }
6500
6573
  &__content {
6501
6574
  position: absolute;
6502
6575
  top: 100%;
6503
6576
  margin-top: rem(14);
6504
- left: -1px;
6577
+ left: 0;
6505
6578
  width: auto;
6506
- min-width: calc(100% - 38px);
6507
- max-width: calc(100% + 2px);
6508
6579
  border: 1px solid $wac-border-light;
6509
6580
  border-radius: 3px;
6510
6581
  display: flex;
@@ -6512,18 +6583,11 @@ h4.wac-h4 {
6512
6583
  justify-content: flex-start;
6513
6584
  align-items: flex-start;
6514
6585
  background-color: $wac-white;
6515
- max-height: 260px;
6586
+ max-height: 400px;
6516
6587
  height: auto;
6517
6588
  visibility: visible;
6518
6589
  opacity: 1;
6519
6590
  box-shadow: 3px 3px 20px $wac-select-box-shadow;
6520
- padding: 10px;
6521
- .to-top & {
6522
- top: auto;
6523
- bottom: 100%;
6524
- margin-top: 0;
6525
- margin-bottom: rem(14);
6526
- }
6527
6591
  &.hidden {
6528
6592
  visibility: hidden;
6529
6593
  opacity: 0;
@@ -6532,9 +6596,6 @@ h4.wac-h4 {
6532
6596
  transition: 0s;
6533
6597
  }
6534
6598
  }
6535
- .ps {
6536
- max-height: 240px;
6537
- }
6538
6599
  &.open,
6539
6600
  &.open.hidden {
6540
6601
  position: relative;
@@ -6548,45 +6609,10 @@ h4.wac-h4 {
6548
6609
  transition: 0s;
6549
6610
  }
6550
6611
  }
6551
- &__cta {
6552
- background-color: $wac-color-CTA-select;
6553
- border: 1px solid $wac-border-CTA-select;
6554
- color: $wac-main-text;
6555
- font-size: rem(14);
6556
- min-height: rem(40);
6557
- display: flex;
6558
- align-items: center;
6559
- align-content: center;
6560
- width: 100%;
6561
- border-radius: 3px;
6562
- cursor: pointer;
6563
- transition: 0.3s ease;
6564
- margin: 0 0 rem(10);
6565
- padding: 0 20px;
6566
- > div {
6567
- display: flex;
6568
- align-items: center;
6569
- align-content: center;
6570
- justify-content: flex-start;
6571
- width: 100%;
6572
- i {
6573
- color: $wac-wizishop-blue;
6574
- margin: 0 8px 0 0;
6575
- }
6576
- strong {
6577
- display: inline-block;
6578
- margin: 0 20px 0 0;
6579
- }
6580
- }
6581
- &:hover,
6582
- &:focus {
6583
- background-color: darken($wac-color-CTA-select, 10%);
6584
- }
6585
- }
6586
6612
  &__item {
6587
6613
  width: 100%;
6588
6614
  font-size: rem(14);
6589
- line-height: rem(30);
6615
+ line-height: rem(40);
6590
6616
  cursor: pointer;
6591
6617
  transition: 0.3s ease;
6592
6618
  position: relative;
@@ -6594,21 +6620,18 @@ h4.wac-h4 {
6594
6620
  justify-content: flex-start;
6595
6621
  align-content: center;
6596
6622
  align-items: center;
6597
- color: $wac-second-color;
6623
+ font-weight: 400;
6598
6624
  > div {
6599
- width: 100%;
6600
- display: flex;
6601
- align-items: center;
6602
- align-content: center;
6625
+ padding: 0 20px;
6626
+ min-width: 100%;
6627
+ &.selected {
6628
+ background-color: $wac-hover-multiple-search;
6629
+ color: $wac-main-text;
6630
+ }
6603
6631
  }
6604
6632
  .icon {
6605
6633
  width: 24px;
6606
6634
  margin: 0 10px 0 0;
6607
- height: auto;
6608
- max-height: 24px;
6609
- }
6610
- &:not(:last-child) {
6611
- margin: 0 0 rem(10);
6612
6635
  }
6613
6636
  &:empty {
6614
6637
  display: none;
@@ -6621,28 +6644,6 @@ h4.wac-h4 {
6621
6644
  background-color: $wac-gray-background;
6622
6645
  color: $wac-main-text;
6623
6646
  }
6624
- > div {
6625
- padding: 0 10px;
6626
- &.selected {
6627
- background-color: $wac-gray-background;
6628
- color: $wac-main-text;
6629
- }
6630
- }
6631
- }
6632
- &__empty {
6633
- display: flex;
6634
- width: 100%;
6635
- justify-content: center;
6636
- align-items: center;
6637
- padding: 10px;
6638
- span {
6639
- font-size: rem(16);
6640
- font-weight: 400;
6641
- text-align: center;
6642
- color: $wac-second-color;
6643
- display: inline-block;
6644
- line-height: rem(25);
6645
- }
6646
6647
  }
6647
6648
  }
6648
6649
  }