@wizishop/angular-components 0.0.224 → 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
  }
@@ -1080,139 +1239,118 @@ $wac-subtitle-color: #7A87A1!default;
1080
1239
  }
1081
1240
  }
1082
1241
  }
1083
- }.block-with-checkbox {
1084
- width: 100%;
1085
- display: flex;
1086
- align-items: center;
1087
- background-color: $wac-white;
1088
- box-shadow: 0px 2px 6px #0000000D;
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%;
1089
1248
  border-radius: 3px;
1090
- margin: 0 0 15px;
1091
- padding: 30px;
1092
- border: 2px solid transparent;
1093
- transition: .3s ease;
1094
- opacity: .45;
1095
- &.selected, &:not(.disabled):hover, &:not(.disabled):focus {
1096
- border-color: $wac-input-active-color;
1097
- opacity: 1!important;
1249
+
1250
+ @include media('<tablet') {
1251
+ @include padding(rem(20));
1098
1252
  }
1099
- &.firstWacRadioBLock:not(.disabled) {
1100
- opacity: 1!important;
1253
+
1254
+ &.no-padding {
1255
+ padding: 0;
1101
1256
  }
1102
- @include media('<tablet') {
1103
- padding: 20px;
1104
- flex-direction: column;
1105
- align-items: center;
1106
- justify-content: flex-start;
1257
+
1258
+ &.border-radius {
1259
+ border-radius: 5px;
1107
1260
  }
1108
- &__left {
1109
- width: 30px;
1110
- margin: 0 20px 0 0;
1111
- display: flex;
1112
- align-items: center;
1113
- cursor: pointer;
1114
- @include media('<tablet') {
1115
- margin: 0 0 20px;
1116
- }
1261
+
1262
+ &.sticky {
1263
+ position: sticky;
1264
+ top: 20px;
1117
1265
  }
1118
- &__center {
1119
- width: 100%;
1120
- cursor: pointer;
1266
+
1267
+ &.noFullHeight {
1268
+ height: auto;
1121
1269
  }
1122
- &:hover:not(.disabled), &:focus:not(.disabled) {
1123
- input + label {
1124
- &:before {
1125
- border-color: $wac-input-active-color !important;
1126
- }
1270
+
1271
+ &.stretch {
1272
+ display: flex;
1273
+ flex-wrap: wrap;
1274
+ .wac-block__content {
1275
+ display: flex;
1127
1276
  }
1128
1277
  }
1129
- }
1130
1278
 
1131
- .wac-radio-block {
1132
- width: 22px!important;
1133
- height: 22px;
1134
- input {
1135
- outline: 0 !important;
1136
- display: none;
1137
- & + label {
1138
- margin: 0 30px 0 0;
1139
- position: relative;
1140
- cursor: pointer;
1141
- display: block;
1142
- width: 22px;
1143
- height: 22px;
1144
- padding: 0!important;
1145
- &:before {
1146
- content: '';
1147
- display: block;
1148
- position: absolute;
1149
- width: 22px;
1150
- height: 22px;
1151
- border: 1px solid $wac-border-form;
1152
- border-radius: 23px;
1153
- top: 0;
1154
- left: 0;
1155
- }
1156
- &:after {
1157
- content: "";
1158
- display: block;
1159
- position: absolute;
1160
- width: 16px;
1161
- height: 16px;
1162
- border-radius: 23px;
1163
- background: $wac-input-active-color;
1164
- top: 50%;
1165
- left: 50%;
1166
- transform: translate(-50%, -50%);
1167
- opacity: 0;
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;
1168
1302
  }
1169
- &:before,
1170
- &:after {
1171
- outline: 0 !important;
1303
+ &.warning {
1304
+ color: $wac-orange-color;
1172
1305
  }
1173
- &:hover,
1174
- &:focus {
1175
- &:before {
1176
- border-color: $wac-input-active-color !important;
1177
- }
1306
+ &.danger {
1307
+ color: $wac-primary-button;
1178
1308
  }
1179
1309
  }
1180
- &:hover {
1181
- & + label {
1182
- color: $wac-input-radio-color-active-label;
1183
- &:before {
1184
- border-color: $wac-input-active-color !important;
1185
- }
1186
- }
1187
- &:not([disabled]) {
1188
- & + label {
1189
- &:before {
1190
- border-color: $wac-input-active-color !important;
1191
- }
1192
- }
1310
+ }
1311
+
1312
+ &:hover {
1313
+ box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
1314
+ }
1315
+
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;
1325
+
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;
1336
+ font-weight: 500;
1193
1337
  }
1194
1338
  }
1195
- &:checked + label {
1196
- color: $wac-input-radio-color-active-label;
1197
- &:before {
1198
- border-color: $wac-input-active-color!important;
1199
- }
1200
- &:after {
1201
- opacity: 1;
1339
+
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);
1202
1348
  }
1203
1349
  }
1204
- }
1205
-
1206
1350
 
1207
- .wac-radio__row {
1208
- min-width: 100%;
1209
- margin: 0;
1210
- height: 22px;
1211
- }
1212
-
1213
- label {
1214
- padding-left: 7px;
1215
- margin-right: 0;
1351
+ &:hover {
1352
+ box-shadow: none;
1353
+ }
1216
1354
  }
1217
1355
  }
1218
1356
  .wac-separator {
@@ -6370,163 +6508,74 @@ h4.wac-h4 {
6370
6508
  }
6371
6509
  }
6372
6510
  }
6373
-
6374
-
6375
6511
  .wac {
6376
- &-select {
6377
- width: 100%;
6512
+ &-select-in-text {
6513
+ width: auto;
6378
6514
  position: relative;
6379
- height: 40px;
6380
- border: 1px solid $wac-border-form;
6381
- margin: 0;
6382
- border-radius: 3px;
6383
- z-index: 2;
6384
- background-color: $wac-white;
6385
- max-width: 100%;
6515
+ display: flex;
6516
+ align-items: center;
6517
+ padding: 20px 0;
6386
6518
  &:hover,
6387
6519
  &:focus {
6388
6520
  z-index: 4;
6389
6521
  }
6390
- &__label {
6391
- padding: 0;
6522
+ &__prepend,
6523
+ &__after {
6392
6524
  font-size: rem(14);
6393
6525
  line-height: rem(16);
6394
- margin: 0 0 rem(12);
6395
- 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);
6396
6533
  }
6397
6534
  &__current {
6398
6535
  display: flex;
6399
- width: 100%;
6400
- height: 38px;
6536
+ width: auto;
6401
6537
  justify-content: space-between;
6402
6538
  align-items: center;
6403
6539
  align-content: center;
6404
- padding: 0 0 0 20px;
6405
- color: $wac-color-text-grey;
6406
6540
  font-size: rem(14);
6407
6541
  line-height: rem(16);
6542
+ color: $wac-main-text;
6408
6543
  cursor: pointer;
6409
6544
  white-space: nowrap;
6410
6545
  text-overflow: ellipsis;
6411
- max-width: 100%;
6412
- overflow: hidden;
6413
- &--withSearch {
6414
- padding: 0;
6415
- span {
6416
- &:not(.icon):not(:last-child) {
6417
- display: block;
6418
- width: 100%;
6419
- height: rem(38);
6420
- line-height: rem(38);
6421
- padding: 0 20px;
6422
- }
6423
- &.icon {
6424
- & + span {
6425
- padding: 0;
6426
- }
6427
- }
6428
- &:last-child {
6429
- margin: 0;
6430
- }
6431
- }
6432
- &.open-search {
6433
- span {
6434
- &:not(.icon):not(:last-child) {
6435
- display: none;
6436
- }
6437
- &.icon {
6438
- display: none;
6439
- }
6440
- }
6441
- }
6442
- }
6443
- span.icon {
6444
- max-width: 24px;
6445
- margin: 0 10px 0 0;
6446
- i {
6447
- font-size: rem(17);
6448
- }
6449
- img {
6546
+ font-weight: 500;
6547
+ position: relative;
6548
+ span {
6549
+ position: relative;
6550
+ white-space: nowrap;
6551
+ &:before {
6552
+ content: '';
6450
6553
  display: block;
6451
- max-width: rem(24);
6452
- }
6453
- &:empty {
6454
- display: none;
6455
- }
6456
- }
6457
- > span:not([class]):not(:last-child) {
6458
- width: 100%;
6459
- text-align: left;
6460
- max-width: calc(100% - 58px);
6461
- overflow: hidden;
6462
- text-overflow: ellipsis;
6463
- }
6464
- span:last-child {
6465
- width: 38px;
6466
- min-width: 38px;
6467
- height: 38px;
6468
- margin: 0 0 0 20px;
6469
- display: flex;
6470
- justify-content: center;
6471
- align-items: center;
6472
- align-content: center;
6473
- background-color: $wac-select-icon-background;
6474
- border-radius: 0 3px 3px 0;
6475
- z-index: 3;
6476
- i {
6477
- font-size: rem(12);
6478
- 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;
6479
6561
  }
6480
- }
6481
- &__search {
6482
- position: relative;
6483
- top: 0;
6484
- left: 0;
6485
- width: 100%;
6486
- height: rem(38);
6487
- display: flex;
6488
- align-items: center;
6489
- align-content: center;
6490
- z-index: 2;
6491
- padding: 0 0 0 rem(20);
6492
- input {
6493
- border: none;
6562
+ &:after {
6563
+ content: '';
6564
+ display: block;
6565
+ position: absolute;
6566
+ top: 100%;
6567
+ left: 0;
6494
6568
  width: 100%;
6495
- box-shadow: none;
6496
- margin: 0 0 0 rem(10);
6497
- padding: 0;
6498
- height: rem(38);
6499
- line-height: rem(38);
6500
- &:focus {
6501
- &::-webkit-input-placeholder { /* Chrome/Opera/Safari */
6502
- opacity: 0;
6503
- }
6504
- &::-moz-placeholder { /* Firefox 19+ */
6505
- opacity: 0;
6506
- }
6507
- &:-ms-input-placeholder { /* IE 10+ */
6508
- opacity: 0;
6509
- }
6510
- &:-moz-placeholder { /* Firefox 18- */
6511
- opacity: 0;
6512
- }
6513
-
6514
- }
6569
+ height: 14px;
6515
6570
  }
6516
6571
  }
6517
6572
  }
6518
- .select-disabled {
6519
- background-color: #f5f8fa;
6520
- cursor: not-allowed;
6521
- }
6522
6573
  &__content {
6523
6574
  position: absolute;
6524
6575
  top: 100%;
6525
6576
  margin-top: rem(14);
6526
- left: -1px;
6577
+ left: 0;
6527
6578
  width: auto;
6528
- min-width: calc(100% - 38px);
6529
- max-width: calc(100% + 2px);
6530
6579
  border: 1px solid $wac-border-light;
6531
6580
  border-radius: 3px;
6532
6581
  display: flex;
@@ -6534,18 +6583,11 @@ h4.wac-h4 {
6534
6583
  justify-content: flex-start;
6535
6584
  align-items: flex-start;
6536
6585
  background-color: $wac-white;
6537
- max-height: 260px;
6586
+ max-height: 400px;
6538
6587
  height: auto;
6539
6588
  visibility: visible;
6540
6589
  opacity: 1;
6541
6590
  box-shadow: 3px 3px 20px $wac-select-box-shadow;
6542
- padding: 10px;
6543
- .to-top & {
6544
- top: auto;
6545
- bottom: 100%;
6546
- margin-top: 0;
6547
- margin-bottom: rem(14);
6548
- }
6549
6591
  &.hidden {
6550
6592
  visibility: hidden;
6551
6593
  opacity: 0;
@@ -6554,61 +6596,23 @@ h4.wac-h4 {
6554
6596
  transition: 0s;
6555
6597
  }
6556
6598
  }
6557
- .ps {
6558
- max-height: 240px;
6559
- }
6560
6599
  &.open,
6561
6600
  &.open.hidden {
6562
6601
  position: relative;
6563
- left: auto;
6564
- top: 0;
6565
- transform: translateX(-1px);
6566
- visibility: visible;
6567
- opacity: 1;
6568
- & > * {
6569
- opacity: 1;
6570
- transition: 0s;
6571
- }
6572
- }
6573
- &__cta {
6574
- background-color: $wac-color-CTA-select;
6575
- border: 1px solid $wac-border-CTA-select;
6576
- color: $wac-main-text;
6577
- font-size: rem(14);
6578
- min-height: rem(40);
6579
- display: flex;
6580
- align-items: center;
6581
- align-content: center;
6582
- width: 100%;
6583
- border-radius: 3px;
6584
- cursor: pointer;
6585
- transition: 0.3s ease;
6586
- margin: 0 0 rem(10);
6587
- padding: 0 20px;
6588
- > div {
6589
- display: flex;
6590
- align-items: center;
6591
- align-content: center;
6592
- justify-content: flex-start;
6593
- width: 100%;
6594
- i {
6595
- color: $wac-wizishop-blue;
6596
- margin: 0 8px 0 0;
6597
- }
6598
- strong {
6599
- display: inline-block;
6600
- margin: 0 20px 0 0;
6601
- }
6602
- }
6603
- &:hover,
6604
- &:focus {
6605
- background-color: darken($wac-color-CTA-select, 10%);
6602
+ left: auto;
6603
+ top: 0;
6604
+ transform: translateX(-1px);
6605
+ visibility: visible;
6606
+ opacity: 1;
6607
+ & > * {
6608
+ opacity: 1;
6609
+ transition: 0s;
6606
6610
  }
6607
6611
  }
6608
6612
  &__item {
6609
6613
  width: 100%;
6610
6614
  font-size: rem(14);
6611
- line-height: rem(30);
6615
+ line-height: rem(40);
6612
6616
  cursor: pointer;
6613
6617
  transition: 0.3s ease;
6614
6618
  position: relative;
@@ -6616,21 +6620,18 @@ h4.wac-h4 {
6616
6620
  justify-content: flex-start;
6617
6621
  align-content: center;
6618
6622
  align-items: center;
6619
- color: $wac-second-color;
6623
+ font-weight: 400;
6620
6624
  > div {
6621
- width: 100%;
6622
- display: flex;
6623
- align-items: center;
6624
- 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
+ }
6625
6631
  }
6626
6632
  .icon {
6627
6633
  width: 24px;
6628
6634
  margin: 0 10px 0 0;
6629
- height: auto;
6630
- max-height: 24px;
6631
- }
6632
- &:not(:last-child) {
6633
- margin: 0 0 rem(10);
6634
6635
  }
6635
6636
  &:empty {
6636
6637
  display: none;
@@ -6643,28 +6644,6 @@ h4.wac-h4 {
6643
6644
  background-color: $wac-gray-background;
6644
6645
  color: $wac-main-text;
6645
6646
  }
6646
- > div {
6647
- padding: 0 10px;
6648
- &.selected {
6649
- background-color: $wac-gray-background;
6650
- color: $wac-main-text;
6651
- }
6652
- }
6653
- }
6654
- &__empty {
6655
- display: flex;
6656
- width: 100%;
6657
- justify-content: center;
6658
- align-items: center;
6659
- padding: 10px;
6660
- span {
6661
- font-size: rem(16);
6662
- font-weight: 400;
6663
- text-align: center;
6664
- color: $wac-second-color;
6665
- display: inline-block;
6666
- line-height: rem(25);
6667
- }
6668
6647
  }
6669
6648
  }
6670
6649
  }
@@ -7441,118 +7420,139 @@ div.wac-field-input-search {
7441
7420
  }
7442
7421
  }
7443
7422
  }
7444
- .wac-block {
7445
- background-color: $white;
7446
- @include padding(rem(30));
7447
- box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.05);
7448
- @include simple_transition();
7449
- height: 100%;
7423
+ .block-with-checkbox {
7424
+ width: 100%;
7425
+ display: flex;
7426
+ align-items: center;
7427
+ background-color: $wac-white;
7428
+ box-shadow: 0px 2px 6px #0000000D;
7450
7429
  border-radius: 3px;
7451
-
7452
- @include media('<tablet') {
7453
- @include padding(rem(20));
7454
- }
7455
-
7456
- &.no-padding {
7457
- padding: 0;
7458
- }
7459
-
7460
- &.border-radius {
7461
- border-radius: 5px;
7430
+ margin: 0 0 15px;
7431
+ padding: 30px;
7432
+ border: 2px solid transparent;
7433
+ transition: .3s ease;
7434
+ opacity: .45;
7435
+ &.selected, &:not(.disabled):hover, &:not(.disabled):focus {
7436
+ border-color: $wac-input-active-color;
7437
+ opacity: 1!important;
7462
7438
  }
7463
-
7464
- &.sticky {
7465
- position: sticky;
7466
- top: 20px;
7439
+ &.firstWacRadioBLock:not(.disabled) {
7440
+ opacity: 1!important;
7467
7441
  }
7468
-
7469
- &.noFullHeight {
7470
- height: auto;
7442
+ @include media('<tablet') {
7443
+ padding: 20px;
7444
+ flex-direction: column;
7445
+ align-items: center;
7446
+ justify-content: flex-start;
7471
7447
  }
7472
-
7473
- &.stretch {
7448
+ &__left {
7449
+ width: 30px;
7450
+ margin: 0 20px 0 0;
7474
7451
  display: flex;
7475
- flex-wrap: wrap;
7476
- .wac-block__content {
7477
- display: flex;
7452
+ align-items: center;
7453
+ cursor: pointer;
7454
+ @include media('<tablet') {
7455
+ margin: 0 0 20px;
7478
7456
  }
7479
7457
  }
7480
-
7481
- /*************************/
7482
- /* Titre INTERNE au bloc */
7483
- /*************************/
7484
- &__title {
7485
- text-transform: none;
7486
- font-size: rem(16);
7487
- font-weight: 500;
7488
- margin-bottom: rem(20);
7489
- color: $wac-main-text;
7490
-
7491
- &.no-uppercase {
7492
- text-transform: none;
7458
+ &__center {
7459
+ width: 100%;
7460
+ cursor: pointer;
7461
+ }
7462
+ &:hover:not(.disabled), &:focus:not(.disabled) {
7463
+ input + label {
7464
+ &:before {
7465
+ border-color: $wac-input-active-color !important;
7466
+ }
7493
7467
  }
7468
+ }
7469
+ }
7494
7470
 
7495
- &.is-simple {
7496
- text-transform: none;
7497
- font-weight: 500;
7498
- }
7499
- i {
7500
- font-size: 16px;
7501
- margin: 0 0 0 8px;
7502
- &.success {
7503
- color: $wac-green-color;
7471
+ .wac-radio-block {
7472
+ width: 22px!important;
7473
+ height: 22px;
7474
+ input {
7475
+ outline: 0 !important;
7476
+ display: none;
7477
+ & + label {
7478
+ margin: 0 30px 0 0;
7479
+ position: relative;
7480
+ cursor: pointer;
7481
+ display: block;
7482
+ width: 22px;
7483
+ height: 22px;
7484
+ padding: 0!important;
7485
+ &:before {
7486
+ content: '';
7487
+ display: block;
7488
+ position: absolute;
7489
+ width: 22px;
7490
+ height: 22px;
7491
+ border: 1px solid $wac-border-form;
7492
+ border-radius: 23px;
7493
+ top: 0;
7494
+ left: 0;
7504
7495
  }
7505
- &.warning {
7506
- color: $wac-orange-color;
7496
+ &:after {
7497
+ content: "";
7498
+ display: block;
7499
+ position: absolute;
7500
+ width: 16px;
7501
+ height: 16px;
7502
+ border-radius: 23px;
7503
+ background: $wac-input-active-color;
7504
+ top: 50%;
7505
+ left: 50%;
7506
+ transform: translate(-50%, -50%);
7507
+ opacity: 0;
7507
7508
  }
7508
- &.danger {
7509
- color: $wac-primary-button;
7509
+ &:before,
7510
+ &:after {
7511
+ outline: 0 !important;
7512
+ }
7513
+ &:hover,
7514
+ &:focus {
7515
+ &:before {
7516
+ border-color: $wac-input-active-color !important;
7517
+ }
7510
7518
  }
7511
7519
  }
7512
- }
7513
-
7514
- &:hover {
7515
- box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
7516
- }
7517
-
7518
- /*************************/
7519
- /* Titre EXTERNE au bloc */
7520
- /*************************/
7521
- &__external {
7522
- padding: 0;
7523
- background: transparent;
7524
- box-shadow: none;
7525
- height: calc(100% - 60px);
7526
- transition: none;
7527
-
7528
- .wac-block__title {
7529
- font-size: 1.875rem;
7530
- margin-bottom: 1.5rem;
7531
- margin-left: 10px;
7532
- line-height: 1.5625rem;
7533
- margin-top: 0.625rem;
7534
- font-weight: 400;
7535
- color: $wac-block-color;
7536
- &.is-simple {
7537
- text-transform: none;
7538
- font-weight: 500;
7520
+ &:hover {
7521
+ & + label {
7522
+ color: $wac-input-radio-color-active-label;
7523
+ &:before {
7524
+ border-color: $wac-input-active-color !important;
7525
+ }
7526
+ }
7527
+ &:not([disabled]) {
7528
+ & + label {
7529
+ &:before {
7530
+ border-color: $wac-input-active-color !important;
7531
+ }
7532
+ }
7539
7533
  }
7540
7534
  }
7541
-
7542
- .wac-block__content {
7543
- background-color: $wac-block-color-background;
7544
- padding: 1.875rem;
7545
- box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.1);
7546
- transition: none;
7547
- height: 100%;
7548
- &:hover {
7549
- box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
7535
+ &:checked + label {
7536
+ color: $wac-input-radio-color-active-label;
7537
+ &:before {
7538
+ border-color: $wac-input-active-color!important;
7539
+ }
7540
+ &:after {
7541
+ opacity: 1;
7550
7542
  }
7551
7543
  }
7544
+ }
7552
7545
 
7553
- &:hover {
7554
- box-shadow: none;
7555
- }
7546
+
7547
+ .wac-radio__row {
7548
+ min-width: 100%;
7549
+ margin: 0;
7550
+ height: 22px;
7551
+ }
7552
+
7553
+ label {
7554
+ padding-left: 7px;
7555
+ margin-right: 0;
7556
7556
  }
7557
7557
  }
7558
7558
  .wac-pagination {